Monthly Archives: May 2011

Boolean Functions

Boolean functions are very simple. If B = {FALSE, TRUE } then a Boolean function of n variables has domain Bn and range B; that is f: Bn → B. This limits the number of possible functions. For example, there … Continue reading

Posted in Programming | Tagged | Leave a comment

Huffman Coding

Over at Harder, Better, Faster, Stronger, Steven Pigeon has a nice post on Huffman codes. He explains how Huffman codes operate and works through a pencil and paper example. Because he doesn't give a real implementation and because the usual … Continue reading

Posted in Programming | Tagged | Leave a comment

Heaps and Priority Queues

In a previous post, I talked about FIFO queues and gave an implementation. Now I want to talk about another type of queue: the priority queue. In these queues every element has a priority and elements are removed from the … Continue reading

Posted in Programming | Tagged | Leave a comment

Sedach on Lisp Macros

Via Loper OS, here's Vladimir Sedach on Lisp macros. He points out that the purpose of programming is automation and that once having realized that the next question is, “How can we automate our programming?” Sedach goes on to argue … Continue reading

Posted in General | Tagged | Leave a comment

Cleaning Up My Emacs Environment

While I was installing magit the other day, I decided it was a good time to do a little digital house cleaning. I keep all my important file groups—writing, software development, blogging, and personal—in Git repositories. Oddly, given that these … Continue reading

Posted in General | 6 Comments

Magit

One of the first things I did when I started using Emacs was to install the git.el package that interfaces with Git. I chose git.el because it worked the same as the rest of the Emacs source control interfaces. There's … Continue reading

Posted in Programming | Leave a comment

Mean!

This is just mean. Mean, but funny. It's also awe-inspiring in the same disturbing way that someone who memorizes the Boston phone directory is.

Posted in Programming | Tagged | Leave a comment

Google Code University

Recently, via Hacker News, I came across this link to Google Code University. The University consists of introductions to a variety of subject matter in software development and Web programming. Some are internal courses that Google uses to train their … Continue reading

Posted in Programming | Leave a comment

Setting the Babel Evaluate Confirm Status

Because Babel provides a facility to execute arbitrary code, it presents a security risk. Code blocks are evaluated when a document is exported as well as when a user explicitly asks for evaluation by typing C-c C-c in the block. … Continue reading

Posted in Programming | Tagged | 1 Comment

Kicking the Hornet's Nest

Bloomberg Businessweek has an article up entitled Sony: The Company That Kicked the Hornet's Nest. It's about the break in and Sony's penchant for suing and prosecuting “hackers.” There's not much new in the article (although their telling of the … Continue reading

Posted in General | Leave a comment