Do you think Elon Musk has $260b in the bank? Because there seems to be a widespread concept that billionaires should spend their cash to fix the world at a snap of a finger. The argument being, why would anyone need any more than a few hundred millions to live a good life till the […]
This equation is intriguing, isn’t it? But no, it has nothing to do with Artificial Intelligence. And this post was not written by ChatGPT either. This equation defines the geopolitical strategic playbook run by several nation states for the last 50 years. Let me explain.
This blog is running on a tiny Linux VPS with 1GB RAM, 1 CPU Core and a 25GB SSD with Debian 10 installed. Thanks to a proper WordPress setup this VPS will handle itself just fine even with substantial traffic. This article describes my setup. Moreover, it costs me only $5 per month. That’s like […]
When you move content, change domains or create aliases on the web, you often use a redirect, like a URL rewrite in your webserver config, to tell browsers that the link should point to something else — but what if you want to move an API that handles POST requests? URL rewrites are useful, because […]
So you are sitting at your home, you stacked your fridge, you have your home supplies (toilet paper!), some books, some games and the things to keep you entertained during the quarantine. You can’t really move outside, more so if the situation gets worse. However, your money can. You can actively protect your money from […]
Hello world!
Welcome to my blog. It’s not my first, but I hope it’s my last. 10 years ago, when everything on the Web 2.0 was new and exciting, I started a blog. After about a year I let it die & moved on to different things. Now I think it was a mistake. It would have […]
UTF-8 is the best way to deal with text, and I hope everyone can agree with that. Anyway, while Perl handles any character beautifully within variables, things get messy when you want to save and load these characters into a file, for example. God forbid it’s JSON, then you’re in for a wild ride. But […]
When you toss a coin, you place it in a certain starting position on your fingers, you apply a certain force with your thumb to the particular edge of the coin, it starts rotating within a specific air pressure and movement, only to fall on a surface with a given elasticity and friction. An algorithm, […]
Electric cars & global balance of power
An anecdote has it that during the Industrial Revolution, electric cars lost to petrol over the range of travel — many cheap workers had to be transported to the factories and back, from rural areas. Electric transportation didn’t work outside of big cities, hence production & research focused on the more universal combustion engines. Fast-forward 100 years, […]
Don’t use IDs in CSS
This article originally appeared on my first blog, f055.net In CSS, you can assign styles to elements in 3 ways: either by a direct reference to an HTML tag, or by a class attribute, or finally, by the id attribute. Each of these approaches has it’s pros and cons, but in this article, I’ll highlight why you should avoid […]