Register / Log in
14
December

There are occasional times when you create a custom control in Visual Studio where you do some specific painting.  Sometimes, you need to do some different painting when the window is being displayed in the form designer than during the actual execution of the program. I found myself needing this kind of a thing today [...]

08
December

The Black Window of Death

Written by RB Whitaker. View Comments Posted in: Uncategorized

I was just talking to my brother, who is studying engineering, about some of the programming he does, and he used the term “Black Window of Death” to describe a console window. I have to say that while I can’t completely agree with him, console windows are often black windows of death indeed.  There are occasional [...]

03
December

Bad Code Offsets

Written by Dave Kennedy. View Comments Posted in: Uncategorized
Tagged with , , ,

Bad Code Offsets, they’re kinda like Carbon Offsets. The announcement of the project essentially says “bad code is lame, let’s collectively work to guard against it”, only, it’s being marketed better. Today’s update on the project announces how much money has been raised, what projects are getting what money, and how you can get $500 [...]

02
December

Deleting Files of a Certain Size in Linux

Written by Dave Kennedy. View Comments Posted in: Operating Systems
Tagged with , , , , ,

ls -l | awk ‘{if ($5 == 100) {print $8}}’ | xargs rm A short, simple, and sweet bash command for removing files of a certain size. In this case, the size is 100 bytes. This was something I needed today, so I thought I’d post it. So what’s going on here? ls -l lists [...]