Weekly Head Voices #136: Slightly more than nothing much.

The majestic view from Bodega onto the Dornier cellar and the Hottentots-Holland mountain behind it.

Welcome back peeps! Make yourselves at home.

It seemed that nothing much happened during most of the week, but I started writing anyway. It turns out there was slightly more than nothing much. Writing stuff down does have its perks.

vimium

Pro-tip of the week: Install vimium. It’s a chrome extension which enables you to SURF THE INFORMATION HIGHWAY with just a bunch of keyboard shortcuts.

I avoided this for the longest time because it has the word “vim” in its name, but I was wrong.

I can now waste time on reddit, twitch and youtube 73% more efficiently, every day.

nerd works

As far as I can remember, my work week was pretty straight-forward.

I started implementing PDF reports again, but for a different application. wkhtmltopdf is now magically broken in different ways from the previous time. Compared to bundling and maintaining a stripped-down TeXLive, or paying the $995 license for pdftk with which PDF forms can be programmatically filled in, this is the best choice at the moment.

Remember, there are no answers, only choices, even when baking PDFs.

For Most Major Sideproject (MMS) I unfortunately had to do some front-end programming. I say unfortunately, because the back-end is all machine learning and cleverness, and then I smash my little programming clown car into the idiot brick wall that is web frontends. At least react makes the crash slightly less painful, and this time react-router helped me to get my URLs synchronised with app state fairly easily.

Ok maybe it’s not that bad.

My new Robotdyn Arduino SAMD21 M0 boards arrived! This is arduino, but with a 32bit ARM Cortex M0+ instead of the Atmel 328p on the UNO boards. After some more hours of struggling to get Arduinos talking to each other via XBEE radios, I now know much more about programming these gadgets than I ever wanted to.

Mostly due to the very-badly-documented-and-seemingly-unsupported itead arduino-xbee interface boards I’m using, I am closer but have not yet received any cigars. (pro-tip: That extra top 3.3V jumper does more than just control level shifting. It also connects A0, RTS and DIN together. If you think you’re going to use A0 for RTS, your xbee will mysteriously hardware reset every 5 seconds. However, if you disconnect the jumper, your board will hardware reset every 5 seconds no matter what you do. Pro-tip: Don’t buy itead.)

new beer warlord

On Wednesday I tasted a new craft beer (this does not happen very often anymore, as I’ve had almost all of them) during a Top Secret Business Meeting. It’s the War Lord IPA by Darling Brew:

This might even be more metal than their Bone Crusher <INSERT HEAVY METAL GUITAR RIFF HERE>, which is extremely high praise. As IPAs go, I will definitely make this choice again, perhaps  even in the very near future.

part of the weekend never dies

On Saturday and Sunday morning (overnight parties are the BEST parties) we had long-time friends over for a dinner party.

Something like 25 years ago we did the Magoebaskloof hiking trail together. There’s nothing like sharing meals of dried soya (just add water, INDISTINGUISHABLE from meat the packet said), dried mash (“smash” I believe) and dried vegetables during days of hiking through the forest for getting to know each other better.

Besides the hiking, and many student parties, there was also the little matter of me meeting my life partner through this connection. Not unimportant.

Anyways, craft beer (King’s Blockhouse IPA, nice and strong), great local wine (a Chardonnay-Pinot Noir blend which more or less satisfies my “expensive Chardonnay” criterion) and brilliant food (chicken, extremely slow over the fire) acted as the culinary backdrop for naturally flowing and energising conversation.

Thank you long-time friends!

Late morning Sunday we left for a family lunch at Bodega, restaurant at Dornier vineyard. This restaurant has made previous appearances in WHV #76 (July 1, 2014) and WHV #102 (January 20, 2016).

Again I can do nothing other than award it the WHV three thumbs up award! Wine-food-scenery-climate combinations really are amazing.

(I just noticed that the wine which was paired with my Mauritian (no, no Martian fish yet) seabass, and blew me away, also blew me away in 2014. It’s the Donatus White, Semillon-Chenin Blanc blend. External memories FTW.)

let us ponder: wa

Westerners are often very individualistic.

We are brought up with the mission to “be yourself”.

In Japan, there is “wa” (和) which wikipedia describes as: … harmony. It implies a peaceful unity and conformity within a social group, in which members prefer the continuation of a harmonious community over their personal interests. (emphasis mine)

I understand that this has a different set of downsides to our individualism, but group harmony sure sounds nice. Perhaps in the future society we are going to start building soon, we could somehow combine “wa” with a deep respect for the scientific method, and in this way finally transform into the Star Trek Federation that we were promised.

bises

Have a productive but especially harmonious week kids! I hope to see you again soon.

 

2 thoughts on “Weekly Head Voices #136: Slightly more than nothing much.”

  1. Yo!

    We generate a huge amount of PDF reports (tens of thousands monthly). We recently ditched wkhtmltopdf because it’s old and crappy. We favored headless chrome PDF rendering using AWS Lambda functions – trivial to get a PoC going with some googling.

    For those edge cases where we depend on intense formatting we use DocRaptor (a glorified REST wrapper for PrinceXML, the gold standard for generating PDFs), but DocRaptor is pricey.

    1. Thank you very much for the tip!

      Coincidentally, yesterday I did indeed run into a rather troublesome wkhtmltopdf issue: The default builds don’t support SVG, which we require for our OpenGL exports. I would have to rebuild wkhtmltopdf and qt on Windows, so instead I chose chromium. :)

      (unfortunately this adds quite a few megabytes to our already large install. I’ll investigate something like electron-pdf in the future as a possible replacement.)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.