Tag Archives: Linux

merge sort, the eater of nodes

I’m so tickled to have completed an assignment for my Linux kernel class. The specification was as follows: Modify the algorithm that allocates a file descriptor for the open() and socket() calls. Implement a per-process variable availableFileDescriptor whose value is always the number of the first available file descriptor. Make sure that when a process [...]
Posted in Class, Daily life | Also tagged , | Leave a comment

Grub Error 13 and 17 together

I just encountered a Grub Error 13 and a Grub Error 17 all for seemingly no reason. I fixed the problem, but thought I could save others undue headache. The Setup I have Ubuntu Linux installed on one hard drive which fdisk calls /dev/hda and Windows XP installed on a second hard drive called /dev/hdb. [...]
Posted in Linux | Also tagged , | 2 Comments

grad party, friend code, KDE 4

Oy, what a week!  I’ve worked at Lexmark every day since Monday, getting things finalized there and today was my last day.  My manager took me out to lunch with about twelve coworkers, which was very pleasant, getting to sit around and have a real lunch with these folks, instead of just grabbing a chicken [...]
Posted in Daily life | Also tagged , , , | Leave a comment | Current music Ponderosa by Tricky

chmodding and Ruby

Recently, I switched from a Powerbook to a Macbook, and to copy my files from one to the other, I used a pen drive. Since my pen drive has a FAT file system, it treats everything as being executable. This, however, is not the case on a UNIX-like file system like OS X. In order to save myself the hassle of manually chmodding thousands of files, I wrote this Ruby script.
Posted in Linux, OS X, Programming | Also tagged , , | 2 Comments

IBM swag and a roach-squashin’

I was trying to edit an old post, ‘PHP and forms’, this morning but I kept getting “Service Temporarily Unavailable.” Every time in the past that I have tried to edit that particular entry, I’ve gotten the same result. I don’t know if it’s Wordpress or Dreamhost or what, but it’s annoying as [...]
Posted in 3till7.net, Daily life | Also tagged , | 6 Comments

.bash_profile

eval `/opt/local/bin/lesspipe.sh` function dir_access_color { local DIR="${1-$PWD}" COLOR=0 [[ -r "$DIR" ]] && COLOR=1 # red [[ -w "$DIR" ]] && COLOR=2 # green tput -S <<<$'bold\nsetaf '"$COLOR" }
Posted in Config files | Also tagged | Leave a comment | Current music Maria Jose by Federico Aubele

impartial review of Microsoft product… by Microsoft?

Get the Facts is a Microsoft site I just stumbled upon through a Digg post, and I just can’t believe it. From the site: This site is dedicated to helping IT professionals compare Windows and Linux on key platform considerations such as reliability, security, and total cost of ownership. Honestly, do you really expect a company [...]
Posted in Opinions | Also tagged | 1 Comment

Sun’s advice to Microsoft

Hahaha, this tickles me to death. In Jonathan Schwartz’s blog, he writes: So what’s my view on this interview in Fortune—in which one of Sun’s business partners claims the open source community is trampling their patent portfolio? You would be wise to listen to the customers you’re threatening to sue—they can leave you, especially if you [...]
Posted in Opinions | Also tagged | Leave a comment

put up or shut up

I’ve been so disgusted since yesterday evening when I found out that Microsoft is alleging Linux of patent infringement, but today a few articles have calmed me down: This is, to me, Darl II: “Our precious IP is worth beeelions, and you must honor our sacred intellectual property, which is behind this curtain. We can’t exactly [...]
Posted in Opinions | Also tagged , , | 3 Comments | Current music What Ever Happened by The Strokes

blogs and books

I was eating leftovers of last night’s shepherd’s pie but I wasn’t paying much attention, just kind of guiding the spoon to my mouth while I read online. Then I noticed the taste, and my brain had this conversation with itself: Wait, what? What is this I’m eating? Am I eating shit?? [...]
Posted in 3till7.net, Class, Daily life | Also tagged , | 10 Comments | Current music Ain't Going Down til the Sun by Garth Brooks