Hello, World!
Today’s hacks come remotely, on the first day of my long trek to Cleveland. As many debian readers know, debian URLs are usually transmitted over IRC or email with some snappy abbreviations. Usually, you’ll see something like:
Feel free to check out information about frob at wiki.d.o/Frob
or something like:
I have uploaded package bar onto mentors.d.n for review
What bugs me most about this is that I have to expand URLs by hand. Which is lame. Enter libolla
(a fitting name as well as a graceful nod to my alma mater John Carroll University’s crest).
When LD_PRELOAD’d, it’ll intercept and expand calls to getaddrinfo
transparently. It seems to work fine on SSH, and chrome (but I can’t test well, since I’m not on a real line).
This was all hacked up in a few hours I had to spare, and without any sort of internet love, so I’m willing to bet there are some bits that can be cleaned up (after all, the name of the blog is “Peace, Love and C++”, not “Peace, Love and C” - I don’t clam to be a c expert ;) )
So, feel free to fork the project on github (or as I can now do - http://g.c/paultag/libolla)
Now, I just need to find a way to globally pre-load this for apps that I start in my DE. Should be easy enough fiddling with some env-var files.