Month: August 2018
Shipping roulette: sometimes its 00
So earlier I wrote (and was mocked for) the issue with the wifi-powered desk-lamp and the interference with the bluetooth keyboard. To improve that, I hacked up a video cable I had and removed its ferrite filter. (And yes, a wifi-powered desk lamp that interferes with a bluetooth keyboard is a bit of a first…
I gave my debugger a std
Tired of doing a ‘p/x *this’ only to be confounded by a bunch of gibberish about std:: etc? Maybe you want to add this to your ~/.gdbinit: cat ~/.gdbinit python import sys sys.path.insert(0, ‘/usr/share/gcc-8/python’) from libstdcxx.v6.printers import register_libstdcxx_printers register_libstdcxx_printers (None) end Now when you print a string or a list or deque, it works. What…
What a wicked NAT we weave: detangling the cloud
Cloud has 3 levels of address translation. Shocking I know. But… Believe it or not, this is the chain of events for a stream that arrives at your service in the cloud. The sequence ends up being: Client->LoadBalancer->Ingress->Sidecar->Service and, LoadBalancer does a NAT, Ingress and Sidecar are proxies, so, well, Service never sees the IP…
The great e-bike heist. And then there was none
Earlier I wrote about my shiny new e-bike. It was great, I have ridden it to work every day since it arrived. Upgrades (like the 3-D printed thermos holder, suspension seat post) made it even better. I gotta say you should get one. And now, someone else (may his sphincter develop taste buds) has mine.…
Disco mornings
The year was 1977. I was in grade 1. Ontario introduced this new thing called the ‘Health Hustle’.