Home

Advertisement

March 14th, 2009


05:47 pm - Making a Choice on Haskell

I've finally decided whether I want to keep using Haskell. I've updated the small program I wrote in the language and included my updated thoughts in the comments. You can read them in HTML or PDF.

You can also, of course, download the source code.


Current Mood: [mood icon] satisfied

(Leave a comment)

January 18th, 2009


11:42 pm - Taking a Second Look at Haskell: A Thread Pool for the Command Line

Every now and then I do something just to try it out. I wrote a little program in Haskell and turned into a mini-essay using Haskell's literate programming support.


Current Mood: [mood icon] satisfied

(Leave a comment)

November 16th, 2008


03:49 pm - Defining "Less Than"

Sudden changes of opinion are funny.

Everyone knows that more information can change your mind, but when it happens all at once it's like opening a door that doesn't lead where you expected.
read more . . .  )
Current Mood: [mood icon] amused

(Leave a comment)

July 16th, 2008


09:52 pm - A Trivial Un-Object System for Scheme

You could say I'm a casual user of Scheme. At least, I've mostly used it for prototyping and system scripts. But I decided, to use it and to learn from it, that I'd make something a little different: an un-object system.
read more . . .  )
Current Mood: [mood icon] mellow

(3 comments | Leave a comment)

June 20th, 2008


01:23 am - How It Works vs How to Work With It

There was, by my modest standards, a huge response to my last post. I noticed two things about the comments here and on reddit:

  1. My guess about what gcc does when you declare a return type but don't return anything was wrong.
  2. Some readers thought I was saying that UH doesn't teach undergraduates anything about C or pointers or assembly.

Number one wasn't much of a surprise, but number two had me scratching my head. I decided to do another post explaining the difference between what I meant and what came across to some readers.

The short version is in the title: There's a difference between knowing how something works and knowing how you should work with it.
read more . . .  )
Current Mood: [mood icon] restless

(Leave a comment)

May 17th, 2008


10:29 pm - Two Semesters of C

When I was an undergraduate at UH, they made a big deal about Java being the default language of the department. Unless the class had to have some other language, we used Java.

But so far I've only had one graduate class with Java. The rest have let me use whatever I want1, or told me to use C.
read more . . .  )
Current Mood: [mood icon] thankful

Tags: , ,

(22 comments | Leave a comment)

April 4th, 2008


02:58 pm - Website Concepts

When a nontechnical friend asks for technical advice because they have a concept for a website, should I warn them about nontechnical difficulties?

By "concept," I mean a very short description of what they want to create. "YouTube for orthodontists" is a concept. "Like Google, but you can vote on the links" is a concept.1
read more . . .  )
Current Mood: [mood icon] discontent

Tags: , ,

(Leave a comment)

February 20th, 2008


01:09 am - Caucus

I went to the Democratic caucus tonight.

I'm glad I went. It was a lot of fun, and it's probably the only time a national race will be close enough for long enough that Hawaii matters.
read more . . .  )
Current Mood: [mood icon] tired

(Leave a comment)

February 17th, 2008


03:33 pm - Number Sequence Zendo

I saw the Zendo board game on reddit, as well as a link in the comments to a list of variants, and it gave me an idea.

The basic idea behind Zendo is:

  1. One person is the "master" who makes up a secret rule.

  2. The master starts by showing the players one example that follows the rule and one that doesn't (telling them which is which).

  3. Players try to figure out the rule by

    1. Giving examples to the master who tells them whether or not the example follows the rule

    2. Guessing the rule. If the guess is wrong, the master either gives an example that follows the guessed rule but not the actual rule or gives an example that follows the actual rule but not the guessed rule.

    Exchanges between the master and a player are seen by all players.


read more . . .  )
Current Mood: [mood icon] hungry

(Leave a comment)

January 28th, 2008


01:53 am - Artificial Evil

I recently came across a very odd attempt to justify torture:

I asked what was the least bad, bad thing that could happen, and suggested that it was getting a dust speck in your eye that irritated you for a fraction of a second, barely long enough to notice, before it got blinked away. And conversely, a very bad thing to happen, if not the worst thing, would be getting tortured for 50 years.

Now, would you rather that a googolplex people got dust specks in their eyes, or that one person was tortured for 50 years? . . .

Most people chose the dust specks over the torture. Many were proud of this choice, and indignant that anyone should choose otherwise: "How dare you condone torture!"

-- Eliezer Yudkowsky, "Circular Altruism" (links added)

Yudkowsky is an artificial intelligence researcher for the Singularity Institute writing on a blog run by Oxford. He's not just advocating torture on the Internet -- he's trying to help create a "superintelligence" that will, if it works the way he hopes, choose the torture over the dust.
read more . . .  )
Current Mood: [mood icon] surprised

(4 comments | Leave a comment)

December 31st, 2007


12:06 am - Jest 1.0

The version 1.0 release of jest (my software estimator) is available for download. The biggest difference from the beta versions is that the license has changed to GPLv3.
read more . . .  )
Current Mood: [mood icon] pleased

Tags: ,

(1 comment | Leave a comment)

September 27th, 2007


04:03 pm - Markdown-Python Wrapped Tables Extension

I've been using markdown syntax for a while, and I (very) recently switched from the reference interpreter to markdown-python which has some nice extensions1.

One extension I wanted to use was for tables, but when I tried it I found out that it won't let you put multiple lines in a table cell. (I mean multiple lines in the markdown. I assume you can force multiple lines in the HTML by using <br/>.)

So, I wrote my own extension called "wtables."2
read more . . .  )
Current Mood: [mood icon] satisfied

Tags:

(Leave a comment)

September 21st, 2007


12:37 pm - A Substantive Look at Strategy Letter VI

The other day I posted a quick nitpick of Joel Spolsky's Strategy Letter VI. The response was overwhelming (one person) and negative.

Now, I reserve my right to complain about bad analogies -- even when they appear in grand, sweeping theories about something else. But my anonymous visitor has a point. I really should address Joel's main idea:
read more . . .  )
Current Mood: [mood icon] indifferent

(1 comment | Leave a comment)

September 18th, 2007


09:45 pm - A Minor Problem with Strategy Letter VI

I just saw Strategy Letter VI from Joel Spolsky, and I have one minor nitpick that I feel compelled to post:
read more . . .  )
Current Mood: [mood icon] amused

(2 comments | Leave a comment)

September 4th, 2007


10:42 am - R6RS Ratified

The nice thing about standards is that you have so many to choose from.

-- Andrew S. Tanenbaum

They were a little late announcing it, and I'm a little late saying anything about it, but r6rs has been ratified.
read more . . .  )
Current Mood: [mood icon] gloomy

Tags: ,

(Leave a comment)

August 27th, 2007


10:38 am - The Grad Student

I've gone back to UHM, and last week was my very first as a graduate student.

One class, ICS 613 Software Engineering, required us to create an engineering log on Blogger. In general, I'll be putting things related to that class on Blogger and everything else here.
read more . . .  )
Current Mood: [mood icon] busy

Tags:

(1 comment | Leave a comment)

August 12th, 2007


03:40 pm - Why I Voted No

Today I sent in my ballot on r6rs ratification. I voted no, and decided to also post the explanation required on the ballot here. Rather than simply copy and paste in the S-expression ballot, I edited this into a format better suited to a website. I also changed the mailing list links to point to the specific message rather than the whole thread. The words are the same:
read more . . .  )
Current Mood: [mood icon] numb

Tags: ,

(4 comments | Leave a comment)

July 28th, 2007


08:37 am - I'm a Member of the R6RS Electorate

I've been knocked out by a flu the past few days, and one of the emails that piled up was a notice that I'm a member of the R6RS electorate, voting on whether to ratify the current draft of a new Scheme standard.
read more . . .  )
Current Mood: [mood icon] surprised

Tags: ,

(2 comments | Leave a comment)

July 14th, 2007


10:42 am - HOSEF Looking for a New Partner

The Hawaii Open Source Education Foundation is looking for a new workshop and class partner. I don't know all the details, but basically the partner provides space and gets a shared computer lab.

Contact HOSEF if that sounds interesting.


Current Mood: [mood icon] hopeful
Tags:

(Leave a comment)

June 27th, 2007


10:25 pm - Think First, Then Program Into a Language

There are some impressive things in GNU cat. I'm not geeky enough to read the source code of all, or even most, of the programs I use, but one day I took a quick look at the source of cat. I was reminded of it the other day, when I saw yet another antiblub article on reddit.
read more . . .  )
Current Mood: [mood icon] thoughtful

(5 comments | Leave a comment)

Brian Jaress's Blog

> Recent Entries
> Archive
> Friends
> User Info
> previous 20 entries

Links
Kathy's Facebook
The LP Reader (Lisa)
Good Math, Bad Math
This Itch of Writing
Terence Tao
> previous 20 entries
> Go to Top
LiveJournal.com

Advertisement