Daily Archives: July 28, 2005

Recent Coding

I’ve been busy coding lately. Here’s what I’m up to:

  • A Haskell binding to OpenLDAP. I’ve got the groundwork laid (I can connect and bind to a LDAP server by now). Next up: searching. After that, the rest should be fairly easy. ETA about 1 week. Development sources: fetch with darcs get http://darcs.complete.org/ldap-haskell. See also the related haskell-cafe thread.
  • Packaged up and uploaded hsffig to Debian. hsffig will parse C .h files and automatically generate Haskell bindings and prototypes for them. It requires zero human assistance. Very, very, very cool. A little rough yet, but this is exciting stuff. Check out the source package with darcs get http://darcs.complete.org/debian/hsffig.
  • Packaged up and uploaded libcdk5, the latest version of the Curses Development Kit (CDK). CDK is a much more high-level tool than ncurses, and lets you say things like “show a dialog box” instead of “draw a border from 3,20 to 3,70 and make it gray”. Check out Debian source package with darcs get http://darcs.complete.org/debian/libcdk5.
  • Updated my MissingH Haskell library so it now builds and runs properly on Windows platforms. I now remember how much I detest them. (Urgh, drive letters complicate path manipulation in millions of annoying ways.)

Energy policy? What energy policy?

So am I the only one that thinks that our (American) energy policy is absolutely, completely insane?

We all know we have some problems:

  • Environmental damange and global warming
  • Rising oil costs and dwindling oil supply
  • Dependence on foreign energy sources

So, what did our great stewards of democracy in Washington decide to do?

Well, first they approved massive subsidies for oil companies. Next, they decided to spend money researching underwater oil drilling. They put all their effort into getting a little bit of oil out of Alaska. And they sign some sort of treaty that really commits nobody to anything with India, China, Australia, and some other people.

So, I want to go up there and ask them:

You are doing all of this WHY???

The world is going to be moving away from oil, and the sooner we join it, the better.

Otherwise, instead of depending on Saudi oil, we will depend on Japanese hybrids and Chinese solar panels, because nobody here cared to spend money to research non-oil products.