Skip to content

{ Category Archives } binary

the binary numeral system is a positional notation with a base of 2 [technobabble]

Old Mac CDs #1: Apple Chronicle

Starting up a new feature which, in the spirit of this blog, will not even pretend to have a regular update schedule. I’ll be taking a look at some old Macintosh CDs I find lying around, giving you pictures and descriptions of content and all that good stuff. I’m planning on sticking to CDs bundled […]

So I’m using EPSON Scan,…

… but one part of the interface kind of confuses me:

Google Chrome logo development

The voodoo of gcc, Part II

This is a direct follow-up to my previous post on gcc optimizations. The main code example, integer division by 7, came from a session of the Compilers class I took this semester. The professor was demonstrating the use of gcc to show example assembly for certain operations: arithmetic, branching, etc. We were all expecting something […]

The voodoo of gcc, Part I

Here’s a stupid bit of x86 assembly code, using AT&T style: divideBySeven: pushl %ebp movl %esp, %ebp movl 8(%ebp), %edx movl %edx, %eax sarl $31, %edx movl $7, %ebx idivl %ebx popl %ebp ret What does this do? Well, the label should give you a pretty good idea. Converting it into C, we get: int […]

nostrangerstolove.java

Submission to the practice problem of the 17th Annual University of Evansville High School Programming Contest:

Atom feed for Folklore.org’s Newton stories

I mentioned last post that ten stories were added to Folklore.org’s hidden Newton section. Well, since then, another one has been added. I’m kind of annoyed by the fact that the feed for that section still doesn’t work, so I need to remember to go the index myself to check for new stories. So, I […]

Borogoves

Went through the old posts and spruced everything up so that they at least look no worse than they did in the old theme, I think. Had an oddity with my image styling with Safari 3 and rows of thumbnails, like in this post, where the images load fine the first time, but after the […]

Folklore.org shows signs of life

Posting about this will have limited effectiveness, seeing as I’d put an upper limit of two on my readership total, but by that reasoning I’d never post anything. And I really need to get around to writing regularly. I love Folklore.org. Folklore.org is a web site devoted to collective historical storytelling. It captures and presents […]

Functions I one day hope to use in a program, Part I

int fuword(const user_addr_t addr); man page [fetch(9)] The fetch functions are designed to copy small amounts of data from user-space. . . . fuword() Fetches a word of data from the user-space address addr. Also acceptable are the related functions fubyte and fulong. I’d probably have to be working at the kernel level to do […]