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

Power of 4

Posted on Sat 15 August 2020 in tech • Tagged with math, squares, numeracy, programming

This one line solution bests 100% of Java submissions on leetcode.

I have to out myself. When I was a junior programmer I would have been strongly morally opposed to a solution like this. First of all, that was three decades ago and back then many types of cpus did …


Continue reading

The simple math behind the extraordinary benefit of 8 sided dice for diceware

Posted on Thu 14 May 2020 in tech • Tagged with unix, diceware, security, programming

Most diceware implementations use 6-sided dice or D6. It would be easy to knee jerk assume that the marginal difference between 6 and 8 sided dice is negligible. However, in that case, one would be forgetting that we are dealing with exponential counting here and small numbers really add up …


Continue reading