Following an interview question that was extremely hard I went to `man lstat’ and tried to code up a test just based on system documentation. It was not entirely successful, however after a tip-off from an online resource I came up with this.
Author Archive
I’m very, very early on in the effort of this graphics/game test. But essentially I wanted to write down where I’m at with Xcode, OpenGL and learning C++.
Learning C++ by starting with OpenGL is very stupid. I admit this. It’s the wrong way to start out. It’s like learning how to […]
Going through the Oreilly book Practical C++ Programming, which may be an arguable title, and I’m just trying to go through all of the examples and save them somewhere so I know where I left off the next time I’m feeling recklessly productive.
Specifically, Chapter 4 asks
Exercise 4-2: Write a program to print a block E […]
I ran into a 1994 post from Jeff Liebermann, very funny, very interesting read because he’s ranting about computer support. It has historical significance because he’s talking about the early days of the net and PCs. He’s talking about 2400 baud modems, 3.5 floppy drives, losing the CMOS disk geometry on an IDE […]
Gentoo 2006.0 was released today. Of note, is a new GUI installer on the live cd. Here are some screenshots of the installer. (click read on)
Swat, a nice PHP toolkit at silverorange.com has caught my attention a few times.
First, they (or someone in their group) designed the firefox and thunderbird vector icons. Next, they’ve released a few webapps (PHP). I ran into a demo they have online that showcases some widgets they’ve built.
It’s a fantastic little page full of good […]
[ “H”, “A”, “L” ].collect {|x| puts x.succ }
Prints out:
HAL, plus one letter up, equals IBM. Pretty funny.
A while ago I ordered a Ruby book entitled, “Programming Ruby by Dave Thomas” off amazon (bookpool was close on price). I read the first few chapters, got hung up on syntax and my interest was peaked.
One week later, a coworker says “Hey! Dave Thomas is speaking at NovaJUG!” (northern virginia java […]
I ran into a weird error with Thunderbird. When I would reply to all in an email, some people were CC’d. When I hit send, I got a relay error. I restarted courier-imap and did all sorts of stuff and eventually decided to update all my mail software on my gentoo server.
It was […]
When you paste a block of text into a Putty window, many times you’ll get an increasing number of leading tabs. Not so if you use gnome-terminal (IIRC). Quite annoying in a Windows world.
Strip tabs and spaces out from current position to the end of the file with:
:.,$s/^[<tab>]*\s*//
Or perhaps you only want a […]