Latest Tweet
- Remember folks: the blue mini neon sour gummi worms are best. 2 weeks ago
- More updates...
Categories
Tags
academia alcohol animals boyfriend cooking databases email forwards family Flickr food friends health Lexington Linux list Mario math movies music news OS X Perl photos PHP politics programming quizzes Rails rants reading Ruby screenshots shopping Sims sports themes tutorials Twilight is ridiculous vehicles video games videos weather Web development work zombies again-
Recent Comments
-
Random Quote
Minds are like parachutes; they work best when open.
— Lord Thomas Dewar Syndication
All posts RSS feed
Tag Archives: programming
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 [...]
the pain of Facebook application development
For the past few days, I’ve been trying to create a Facebook application for interacting with Github. I hoped to spend my time mainly on the Github portion, figuring out how to post wall posts on Facebook about recent Github activity, etc. However, I’ve instead argued with the various Facebook APIs. I [...]
two new programming projects
I’ve gone on a programming project binge today, coding first in C# on a project to add an enforceable Implements attribute to class members, then in PHP to write a Github application for Facebook. I’m interested in co-developing the Facebook app, too, and have emailed a few of my programmer friends at UK to [...]
heap sort in ML
This past semester for my programming languages class, we had to implement heap sort in Standard ML. This is my implementation, which I release under the GNU General Public License v3. I split the code into two separate files: shared.ml and heap_sort.ml, where shared.ml contains functions that might be of use with [...]
giving up on the day, possibly due to frozen milk
I probably ought to go to bed and as soon as I take a shower (which will happen promptly after I finish this post…), I will. I don’t know why I have such a time getting to bed, but I always seem to drag my feet about it. Tony commented once that he’s [...]
the wily C# shuffle
My programming languages professor is quite the wily one. For our last programming assignment in there, we’re to write a fraction class in both Java and Smalltalk, as part of our coverage of object-oriented languages. I asked if I could do C# and Smalltalk, since I really like C# and, darn it, everyone [...]
how I made my languages professor twitch
Today in programming languages, the professor started going over Lisp. I was surprised to learn that function names are case insensitive in Lisp, so if you declare a function called incrementAll, you can invoke it by calling INCREMENTALL, incrementall, or any other case variant. I forgot about this because I’m not used to [...]
proof by failure of imagination
In programming languages today, someone had to answer this question:
Prove the contention on page 40 that when a CLU iterator terminates, indicating to its parent for loop that there are no more values, the iterator’s activation record is actually at the top of the stack.
— Advanced Programming Language Design by Raphael Finkel, p. 61
The guy’s [...]
first graduate classes
My first day of graduate classes were Thursday, and I must say having gone through them has made me feel better about this semester overall. Before Thursday, I had been stressing out because this is my first semester of graduate school and I plan on working 20 hours/week. Full-time for graduate students is [...]
convenient file searching with Ruby, grep, and file