How difficult is it to misuse the code you write?
I found these "misuse levels" over at technovelty, which they originally ripped from Rusty Russel's Bleeding Edge Page, which is a page you should definitely check out if you haven't.
Anyway, I found these "misuse levels" both hilarious to read and at the same time somewhat concerning, as I started thinking "Where does my code really go on this list?"
- Impossible to get wrong
- Compiler/linker won't let you get it wrong
- Compiler/linker warns if you get it wrong
- Simplest use is correct
- The name tells you how to use it
- Do it right or breaks at runtime
- Follow the convention and you will get it right
- Read the documentation and you will get it right
- Read the implementation and you will get it right
- Read the correct mailing list and you will get it right
- Read the documentation and you will get it wrong
- Follow the convention and you will get it wrong
- Do it right and it will break at runtime
- The name tells you how not to use it
- The obvious use is wrong
- Compiler/linker will warn you if you get it right
- Compiler/linker won't let you get it right
- Impossible to get right
Norwegian Windows edition on suicide mission
So I downloaded this Debian netinstall image... and Windows went suicidal?
Vista file transfer estimates: WTF?
In Windows XP, it seemed like the estimated transfer time of files in a folder, when copying that folder from one place to another, was estimated purely based on the sum of the file sizes and the current transfer speed. It also seemed to have a preference for transferring the larger files first.
Motorized Madness
I rarely post just a link, but this casemod is just too awesome:
http://www.thebestcasescenario.com/forum/showpost.php?p=172860&postcount=377
Screen size calculator
Today I found out I want to replace one of my 20" 4:3 LCD screens with a widescreen, to watch movies on a bigger surface. However, I didn't want to reduce my vertical screen space.
What I mean is that a 20" widescreen is, necessarily, shorter vertically than my 4:3 screen, meaning I get to see less of vertically oriented webpages, word documents, spreadsheets... basically everything except movies are designed for a screen with a relatively large vertical size.
Thus, getting a 20" widescreen was completely out of the question. So I grabbed my calculator, and then thought... why bother? Someone must have done this before.
Exactly. The link below provides a "TV Aspect Ratio Calculator", which works just as well for LCD screens. Using 20", 4:3 as input, my widescreen needs to be 24.5392 inches to fit my needs. Thus, we're going for 26"
SMS Message Recieved Confirmation – IMPLEMENT IT PROPERLY
Okay. If you have a cell phone, you've probably sent an SMS or two. I hate writing them, but sometimes they're useful. When you're on the subway and the connection goes in and out constantly, when you're in a meeting, sending something which needs to be remembered or simply when you need to say something to someone you can't stand talking to.
Yay. Blog.
Yes, I finally submit to the pressure. This is a blog. But I'm still not making a bloody facebook profile! Get off my back about it!