Geekiness and Nerdiness, and Other Surprises

Object-oriented programming is littered with long terms that refer to very simple ideas. A lot of the time when you try to find out what they mean, you have to read through multiple pages of wordy explanation that either assumes objects are a foreign concept to you, or just talks so much about theory and […]

read more

You’ve probably encountered a situation where a “Read/Load more” link takes up as much space as it hides. Maybe a comment is six lines long and it obscures the last one. Come on guys, it’s not hard to do properly. With n as the number of lines you want to show, what should be done […]

read more

First, the necessary context: an axonometric projection is a type of parallel projection, basically meaning there’s no perspective. Further, it’s a type of orthographic projection, meaning there’s none of the distortion present in an oblique projection (which I hate with a passion). The final necessary context is that the view is rotated to reveal all […]

read more

Since this site runs WordPress, I was receiving huge amounts of spam. At first I tolerated it, but recently it became too much. I had to start adding more and more phrases to the blacklist, but it still persisted. Fortunately, there was one very useful fact I noticed: it was all coming from the same […]

read more

Look at any discussion over some shortcoming of Python syntax, and somebody is bound to mention the following guideline: There should be one– and preferably only one –obvious way to do it. Basically, it goes like this: Person: why doesn’t Python have support for <feature x>? This is pretty basic. Python advocate: <feature x> is […]

read more

Usvsth3m used to have a tool where you could make your own 2048 games with various text and images. This no longer works (probably due to their move away from particular site), but you can do the same thing yourself. First, go to https://github.com/gabrielecirulli/2048 then press the green “Clone or download” button, and press “Download […]

read more

A minor annoyance for me has been when trying to extract multiple Garry’s mod addons, they have to be done one at a time. So, I wrote a wrapper called “gmads.exe” that allows multiple addons to be extracted at once. Simply select all gmas to extract and drag them on to the program. Because it […]

read more

It’s happened to all of us. (Vagueness intensifies) You’ve walked out of the cinema, and you can’t help but think “that needed more explosions”. Similarly, we’ve all written a PHP script and thought much the same thing. Right? …right? Now there’s a solution. This all-new PHP function, needsMoreExplosions(), will solve all your problems by exploding […]

read more