Alan's amusing and surprising homepage
Finding problems, solving problems, writing software.
There's one pattern that, nowadays, I find amusing; the productivity mantra is repeated everywhere. Everybody wants to get more productive, every company is trying to make their employees more productive. Robotics, AI: everything calls for it. From Wikipedia: Productivity describes various measures of the efficiency of production. A productivity measure
Really. Stop (ab)using just strings and integers! Yes, they're the building blocks of whatever you do. But if you abuse them, you're not taking full advantage of your Object Oriented programming language. Let me explain with some concrete example. For the sake of conciseness, I'll use Python here, but
I seem very ancientwisdom-oriented these days. Sometimes you've got a system user on your linux server that's used to run a specific service; it's a good practice to employ those users to achieve privilege separation, since it limits the impact of many security breaches. It's security 101, really. If you've
This is another old trick, but I like to tell the world about such amenities. I often find people writing command lines such as: ssh email@example.com or, worse ssh firstname.lastname@example.org or maybe it was ssh email@example.com yes,