Code, musings and more| bert-hubert.blogspot.com
Hi,| bert hubert finally blogs
Like the previous post on this somewhat dormant blog, I want to share an oddity I discovered that no search engine could really find for me - even though once I found what the problem was, it turns out I was by no means the first person to discover this.| bert hubert finally blogs
PowerDNS products rely heavily on Lua, and we mostly use the most excellent LuaWrapper to seamlessly share data and code between Lua and C++. LuaWrapper is such a fundamental part of our products that we took over maintenance of LuaWrapper when the genius original author Pierre Krieger moved on to other things.| bert hubert finally blogs
A small post to document an arcane subject: how to quickly do a comparison of DNS names in canonical order. First, to recap, what is DNS canonical ordering? It is case insensitive, but 8 bit, based on the labels that make up the DNS name in reverse order.| bert hubert finally blogs
(I’d like to thank Dirk Peeters who taught me most things RFP and Remco van Mook for commenting on and improving this post.)| bert hubert finally blogs
This post is for open source developers and all other people working on open source, while trying to make a living. You may also get referred to this page if you made an open source developer unhappy with your demands.| bert hubert finally blogs
When developing, quite frequently we run into the situation where we want to delay an action a little bit, perhaps for half a second. If your software is not highly concurrent, this is as easy as a call to one of the more granular sleep() calls now available.| bert hubert finally blogs
At PowerDNS, we've frequently run into this problem: a program has a complicated amount of state and configuration which determines how queries are processed, which happens non-stop. Meanwhile, occasionally we need to change this configuration, while everything is running.| bert hubert finally blogs
This post is mostly so other people can save themselves the two days of pain PowerDNS just went through.| bert hubert finally blogs
Over the past years, I've done a fewprojects outside the main PowerDNS tree, and for all of them I've used C++2011. A wonderful mark of how big of an improvement C++2011 is, is how much pain you feel when you return to programming in 'regular' C++.| bert hubert finally blogs
I like cooking, and I like to share that joy. If you can’t cook however, your first efforts are likely to be mediocre, which is not very encouraging. “Why bother?!”.| bert hubert finally blogs
A brief post - I've long been unhappy with the media's reporting on science. It appears that news sites aren't there to disseminate truth and educate the populace, but to sell advertisement and clicks. Took me long enough to find that out.| bert hubert finally blogs
(this post contains| bert hubert finally blogs
So this post has been brewing for years now, but this short movie triggered me to finally write it up:| bert hubert finally blogs
People often ask me which C++ and programming books I recommend, perhaps because PowerDNS has a reputation for being "readable C++". This post is intended as my answer to this question, and also contains some broader notes on programming. If you have any additions or favorites I missed, please drop me a note, I intend to keep this page updated as new books come out!| bert hubert finally blogs
Many developers, me included, dread that moment. Someone sits down with you and wants to know how many "hours" each step of the project will take. And of course the thing is, if you are doing something that has been done many times before, you might be able to provide a detailed estimate. People that build houses work like this, but they still often get it wrong. And typically, what we are doing is new - otherwise people'd be using an off the shelf solution!| bert hubert finally blogs
When programming, it is often convenient to emit debugging output, and it is very easy to do so in textual format using printf, syslog, console.log and their friends. And once emitted, there are ample tools to analyse our textual output, or even to graph it (gnuplot comes to mind).| bert hubert finally blogs
I tremendously enjoy the television program “How it’s made”. And even though it is unlikely I’ll ever fabricate a baseball bat, at least I’ve learned how it’s done. This post is intended to similarly transfer that sense of wonder, but not about sports equipment, but about the analysis of the veritable code of life: DNA.| bert hubert finally blogs
So, there are four DNA 'characters', or nucleotides, or bases: A, C, G and T. Says the Wikipedia: '"A" stands for Adenine and pairs with the "T", which stands for Thymine. The "C" stands for Cytosine and pairs with the "G", Guanine'.| bert hubert finally blogs
When processing bug reports, or when people doubt the output of your tools, it is tremendously helpful to know the provenance of the binaries. One way of doing this is to embed the git hash in your code.| bert hubert finally blogs
THIS POST HAS BEEN MOVED TO A NEW LOCATION: https://berthub.eu/articles/posts/help-my-sin-is-slow-and-my-fpu-is-inaccurate/ WHERE IT HAS ALSO BEEN UPDATED WITH NEW 2021 RESULTS.| bert hubert finally blogs
So, you or your company invented something radical & new: congratulations! This has happened to me twice, once with PowerDNS and once with Fox-IT. Both times my products had unique features, and both struggled to gain market acceptance initially. Potential customers told us things that were wrong with our product, we’d fix them, and they’d come up with new reasons not to buy our stuff.| bert hubert finally blogs
"Doe eens normaal man (in 7 stappen naar een betere politiek)" van Kustaw Bessems en Dirk Jacob Nieuwboer Laat ik beginnen met zeggen...| bert-hubert.blogspot.com
Code, musings and more| bert-hubert.blogspot.com
Code, musings and more| bert-hubert.blogspot.com
When we pick technologies (languages, compilers, CPUs, computers, routing platforms, databases etc), we need ones that are able to deal wit...| bert-hubert.blogspot.com
Innovation is fascinating. It brings us (by definition) all improvements in technology. Simultaneously, it proceeds at a snail’s pace. An ...| bert-hubert.blogspot.com