istream_iterator

Posted on Fri 18 June 2021 in tech • Tagged with programming, chunked, iterator, c++

Although c++ is already imbued with the kitchen sink, it seems to lack a chunked character iterator for input streams.

Here is a little repository to implement that: Block Iterator

An example looks like any istream iterator idiom:

constexpr auto N = 3;
const auto example = "AAABBBCCC";
std::istringstream ss(example …

Continue reading

Twenty Spheres

Posted on Mon 17 May 2021 in tech • Tagged with programming, graphics, c++

twenty speheres

A little c++ shader toy that I wrote for rendering a light model. Twenty Spheres This program is based on a classic computer graphics problem.

Yes...15 spheres are shown here!


dnsmasq adblock fetcher using python

Posted on Wed 23 December 2020 in tech • Tagged with programming, python, adblocker

If you are using Pi Hole or Unifi Edgerouter for Ad Blocking via a host file, check out fetch_blocker. This is a straightforward python script to pull the Steven Black Hosts consolidated adblocker list and convert it to dnsmasq format.


Post an order on Binance using Python

Posted on Sat 19 December 2020 in tech • Tagged with programming, python, tech, bitcoin, tutorial, crypto

Tutorial: Post an order on Binance using Python


Continue reading

maven cpu utilization

Posted on Wed 16 December 2020 in tech • Tagged with programming, maven, java, rants

Maven sucking only half the CPU

Apache Maven cpu utilization is far too low.

A large project with hundreds of build files and tests should use 100% of the cpu easily. Something is wrong!


Migrated off of travis-ci

Posted on Mon 07 September 2020 in tech • Tagged with programming, continuous integration

I migrated all of my builds off of travis-ci. I've never really liked travis-ci, it is slow and offers little added value over and above the infrastructure that is already required to build and connect with it. On the other hand, GitHub offers a wide array of tools enabling development …


Continue reading