Brizzled: Brian Clapper's Blog 2010-02-20T22:29:32Z Brian M. Clapper bmc@clapper.org http://brizzled.clapper.org:80 Programming Command-line Completion in Scala http://brizzled.clapper.org:80/id/99 2010-02-20T22:29:32Z

Experimenting with a pattern-matching technique for tab completion.

Brian M. Clapper bmc@clapper.org
Parsing Markdown in Scala http://brizzled.clapper.org:80/id/98 2010-02-10T16:33:10Z

Adventures in simple markup, via Scala.

Brian M. Clapper bmc@clapper.org
Loving Scala 2.8 http://brizzled.clapper.org:80/id/97 2010-02-05T09:22:38Z

I've begun converting my Scala code to use Scala 2.8, and I have to say, it's great.

Brian M. Clapper bmc@clapper.org
Good Skeptical Podcasts http://brizzled.clapper.org:80/id/96 2010-02-04T10:36:38Z

Some skeptic-oriented podcasts I like.

Brian M. Clapper bmc@clapper.org
How Not to Design a Database http://brizzled.clapper.org:80/id/95 2010-02-03T14:11:26Z

A (very) brief description of a production database gone awry.

Brian M. Clapper bmc@clapper.org
Beginning Scala considered useful http://brizzled.clapper.org:80/id/94 2009-08-17T14:07:51Z

I picked up a copy of Beginning Scala a week ago, and I'm finding it to be a useful complement to Programming in Scala.

Brian M. Clapper bmc@clapper.org
C# is now a better language than Java http://brizzled.clapper.org:80/id/93 2009-07-30T22:22:30Z

I'm currently teaching myself C#. As a long-time Java programmer, I am finding that C# now beats the pants off Java, the language. This is a little depressing, frankly, but not all that surprising.

Brian M. Clapper bmc@clapper.org
SBT: A Scala-based Simple Build Tool http://brizzled.clapper.org:80/id/92 2009-07-19T08:31:03Z

Awhile ago, I embarked on an effort to build yet another build tool, this one in Scala. I shelved that effort, and I've switched to SBT, instead.

Brian M. Clapper bmc@clapper.org
A spam poem http://brizzled.clapper.org:80/id/91 2009-05-21T08:43:14Z

A spam "poem", consisting entirely of subject lines from my junk email folder.

Brian M. Clapper bmc@clapper.org
Mac OS X, iTerm, bash key bindings, and muscle memory http://brizzled.clapper.org:80/id/90 2009-05-16T11:17:37Z

How to get iTerm, on Mac OS X, to map Command-F (not Option-F) to bash's "forward-word", and similar tricks.

Brian M. Clapper bmc@clapper.org
Readline support in Scala's REPL http://brizzled.clapper.org:80/id/89 2009-04-29T13:33:44Z

Scala's REPL is useful, but if you're used to readline, you'll find it lacking and frustrating. Scala 2.8 is enhancing the REPL, but in the meantime, here's a handy trick.

Brian M. Clapper bmc@clapper.org
Scala and Python: An informal TCP performance benchmark http://brizzled.clapper.org:80/id/88 2009-03-09T19:13:14Z

I've been using Python in a large-scale, high-throughput, high-availability network application. The JVM seems easier to scale than CPython, at least for what we're doing.

Brian M. Clapper bmc@clapper.org
A Scala build tool http://brizzled.clapper.org:80/id/87 2009-02-12T12:24:56Z

I've decided to write a build tool in Scala, because I really don't like Ant.

July, 2009, Update: No, I haven't. I'm using SBT, instead.

Brian M. Clapper bmc@clapper.org
When the furnace goes out http://brizzled.clapper.org:80/id/86 2009-01-21T17:04:51Z

Primitive heat, but modern Internet access. Bizarre.

Brian M. Clapper bmc@clapper.org
Interpreting Java http://brizzled.clapper.org:80/id/85 2009-01-08T13:19:44Z

In nearly nine years of programming Java, it never really occurred to me to use it in an interpretive fashion. However, after programming Python for the last year, I don't know how I lived without a Java-based interpreter.

Brian M. Clapper bmc@clapper.org
eventter: A lightweight notification framework http://brizzled.clapper.org:80/id/84 2009-01-07T18:10:28Z

Mark Chadwick writes a cool and simple broadcast-UDP notification framework, and we find interesting uses for it at the office.

Brian M. Clapper bmc@clapper.org
Comments enabled http://brizzled.clapper.org:80/id/83 2008-12-29T18:39:32Z

For some time now, this blog and its immediate predecessor did not accept comments. I've decided to accept comments again.

Brian M. Clapper bmc@clapper.org
Wrapping an executable inside a Mac OS X application http://brizzled.clapper.org:80/id/82 2008-10-22T18:47:16Z

I installed Wireshark on my MacBook Pro via MacPorts, because the prebuilt Wireshark package didn't work on my machine, due to some dynamic library version conflict. However, I still wanted a Wireshark icon I could drop into my dock, to permit single-click launching of Wireshark. Long-time Mac enthusiasts no doubt could wrap a "naked" executable in their sleep, but doing so was a new exercise to me. This article describes what I did.

Brian M. Clapper bmc@clapper.org
Getting Subversion and git to play well together http://brizzled.clapper.org:80/id/81 2008-09-10T14:09:28Z

I decide to use git-svn as a bridge between git and Subversion, and it works out well.

Brian M. Clapper bmc@clapper.org
Making XML-RPC calls from a Google App Engine application http://brizzled.clapper.org:80/id/80 2008-08-25T12:37:28Z

Google App Engine (GAE) is a useful platform on which to develop Python-based web applications. But a GAE application runs in a sandbox that prevents it from opening a socket, which makes the standard Python xmlrpclib module inoperable.

Fortunately, there's a simple solution to this problem.

Brian M. Clapper bmc@clapper.org
One case for git http://brizzled.clapper.org:80/id/79 2008-08-19T21:09:01Z

The more I play with git, the more I like the idea of distributed source control. Here's one scenario where it just seems more ... natural.

Brian M. Clapper bmc@clapper.org
Adding Page caching to a GAE application http://brizzled.clapper.org:80/id/78 2008-08-14T23:31:59Z

I wrote blogging software that runs on Google App Engine (GAE); this blog is actually hosted at GAE. To increase performance, and reduce the number of "you're using too much CPU" errors, I added a two-level page cache to the blogging software. This article describes one way to add a page cache to a blogging engine.

Brian M. Clapper bmc@clapper.org
Writing Blogging Software for Google App Engine http://brizzled.clapper.org:80/id/77 2008-08-06T20:11:01Z

As noted previously, I recently rehosted this blog on Google's App Engine (GAE). Writing a small, but functional, blog engine is a useful exercise in learning a web framework. I wrote blog software to learn more about Django, and I ported it to App Engine to learn more about App Engine.

In this article, I recreate the steps necessary to build a blogging engine that runs under GAE.

Brian M. Clapper bmc@clapper.org
Now blogging on App Engine http://brizzled.clapper.org:80/id/76 2008-08-03T22:06:32Z

Over this weekend, I decided to rehost this blog on Google's App Engine by porting my blogging software to App Engine. It's a well-defined project that I can use to learn more about how App Engine works.

Brian M. Clapper bmc@clapper.org
Why is Python more fun than Java? http://brizzled.clapper.org:80/id/75 2008-07-27T22:05:42Z

For nearly nine years, I worked almost exclusively in Java. For me, Java was a productivity enhancer, over C and C++, and I greatly enjoyed working in it. Lately, however, I've been programming in Python almost exclusively, and I'm having so much fun with it that I have little desire to go back to programming in Java. I've been mulling over why I find programming in Python to be so much more fun . In this article, I am going to capture and explore some of those thoughts.

Brian M. Clapper bmc@clapper.org
Serving a website from S3 http://brizzled.clapper.org:80/id/74 2008-07-27T15:35:17Z

My friend and colleague, J.J. Geewax, wrote an interesting blog article on serving a web site from an S3 bucket. Good stuff.

Brian M. Clapper bmc@clapper.org
Django blog http://brizzled.clapper.org:80/id/73 2008-07-27T13:10:23Z

Some observations from running this blog under Django, on a VPS.

Brian M. Clapper bmc@clapper.org
And we're back http://brizzled.clapper.org:80/id/72 2008-07-27T00:09:09Z

And my blog, such as it is, returns to life.

Brian M. Clapper bmc@clapper.org
Brizzled http://brizzled.clapper.org:80/id/4 2008-07-26T15:18:49Z

The definition of "Brizzled".

Brian M. Clapper bmc@clapper.org
Python, sys.path and EasyInstall http://brizzled.clapper.org:80/id/2 2008-03-17T23:03:11Z

Solving a chicken-and-egg problem with sys.path and EasyInstall.

Brian M. Clapper bmc@clapper.org
Gun Nuts http://brizzled.clapper.org:80/id/71 2007-08-12T23:46:17Z

On guns and a certain type of gun nut.

Brian M. Clapper bmc@clapper.org
Unintended Consequences http://brizzled.clapper.org:80/id/69 2007-08-10T21:37:06Z

Is my MacBook Pro's screen going completely wacky? Or is something else going on?

Brian M. Clapper bmc@clapper.org
ENODICK, reprise http://brizzled.clapper.org:80/id/67 2007-07-30T08:00:14Z

More on virtual sex in Second Life.

Brian M. Clapper bmc@clapper.org
ENODICK http://brizzled.clapper.org:80/id/66 2007-07-16T13:24:50Z

The peculiarities of virtual sex in Second Life, with an emphasis on the word "why?"

Brian M. Clapper bmc@clapper.org
Error Message of the Day http://brizzled.clapper.org:80/id/65 2007-07-12T13:16:24Z

An especially stupid error message.

Brian M. Clapper bmc@clapper.org
No comment http://brizzled.clapper.org:80/id/64 2007-06-20T10:39:49Z

Why I have decided to disable comments on this blog.

Brian M. Clapper bmc@clapper.org
A flood of bad meat http://brizzled.clapper.org:80/id/63 2007-06-16T21:39:57Z

Another rant on spam.

Brian M. Clapper bmc@clapper.org
Barack Ozappa http://brizzled.clapper.org:80/id/61 2007-04-06T09:42:21Z

Barack Obama's voice sounds like ...

Brian M. Clapper bmc@clapper.org
SpotlightFS http://brizzled.clapper.org:80/id/60 2007-02-03T23:10:33Z

MacFUSE and SpotlightFS.

Brian M. Clapper bmc@clapper.org
Waterless Urinals, Pointless Pipes and Organized Labor http://brizzled.clapper.org:80/id/52 2006-04-05T15:42:30Z

Stupid union tricks.

Brian M. Clapper bmc@clapper.org
H5N1: It's What's for Dinner (not) http://brizzled.clapper.org:80/id/50 2006-03-21T12:42:40Z

Yet another odd (okay, stupid) reaction to the avian flu threat.

Brian M. Clapper bmc@clapper.org
WAP! Ow! http://brizzled.clapper.org:80/id/49 2006-03-10T00:58:08Z

WAPs, WEP, WPA, Windows, Linux, MacOS X--and now my head hurts.

Brian M. Clapper bmc@clapper.org
Pipe Bomb? No, Punk Band. http://brizzled.clapper.org:80/id/47 2006-03-03T17:31:46Z

Another example of how irrational fears make us stupid.

Brian M. Clapper bmc@clapper.org
Hateful and Hypocritical http://brizzled.clapper.org:80/id/44 2006-03-01T00:45:26Z

I'm intolerant of intolerance. Read on...

Brian M. Clapper bmc@clapper.org
Don't look now, but I think we're being watched... http://brizzled.clapper.org:80/id/45 2006-02-11T00:15:01Z

Does video surveillance really make us safer? (You can probably imagine my answer...)

Brian M. Clapper bmc@clapper.org
The "I" word http://brizzled.clapper.org:80/id/39 2006-01-25T23:15:16Z

Impeaching George W. Bush

Brian M. Clapper bmc@clapper.org
No spam for me, thanks http://brizzled.clapper.org:80/id/37 2006-01-24T00:53:15Z

Bill Gates says spam will be "solved" in two years. Is he right?

Brian M. Clapper bmc@clapper.org
Elements of Stylus http://brizzled.clapper.org:80/id/7 2006-01-03T00:15:00Z

I bought a Wacom Graphire 4, and it's fantastic!

Brian M. Clapper bmc@clapper.org
Happy Birthday, Robert Negus http://brizzled.clapper.org:80/id/21 2005-12-21T01:15:00Z

Happy birthday wishes for my late and much-missed father-in-law.

Brian M. Clapper bmc@clapper.org
Sanity Clause http://brizzled.clapper.org:80/id/33 2005-12-11T22:51:00Z

The high price of Santa photos.

Brian M. Clapper bmc@clapper.org
In General http://brizzled.clapper.org:80/id/14 2005-12-11T00:45:00Z

I am a generalist. (Here's what I mean by that.)

Brian M. Clapper bmc@clapper.org
Flood Control http://brizzled.clapper.org:80/id/31 2005-10-28T20:37:00Z

The photofloods arrive.

Brian M. Clapper bmc@clapper.org
War Stories: Deadlocks and Semaphores http://brizzled.clapper.org:80/id/8 2005-10-08T00:11:00Z

A programming war story involving deadlocks and semaphores.

Brian M. Clapper bmc@clapper.org
The Macabre World of Disney http://brizzled.clapper.org:80/id/15 2005-09-27T11:59:00Z

Disney lobomotizes a doll.

Brian M. Clapper bmc@clapper.org