Current activities

I’ve decided it might be neat to write a compiler, so I’m going to try writing a lisp compiler, from the ground up. I’m going to start from assembly language, and write my own assembler, and work my way up, building more abstractions and more safety into the assembler until eventually it becomes more of a compiler, and more features into the compiler until I get happy with it. It’ll be self-hosting all-the-while, and probably more-or-less impossible to port to another architecture. Not sure about the platform aspect, though. It won’t be Common Lisp, because that sucks, but it’ll be something along those lines. Most of the same features, none of the all-caps, silly-names weirdness. Probably a number of conventions taken from Java/C#/etc. since that’s what languages are doing nowadays. That is, if I get that far with it.

In the meanwhile, I’m terribly depressed. I was on Lamictal, which was helping quite a lot, but after about 5 weeks of treatment I got a tiny little rash, which apparently can be a first sign of a more serious, deadly rash. My doctor took me off it immediately, which I think was overly conservative. So for the past week I’ve been off my rocker. We’ll see tomorrow if he gets me on something else that will help.

In related news, I am still single.


New Tetris version

I fixed the arrow keys and made some other minor improvements to my Tetris game. I’m not bothering with release notes. Bleah.


Neuroses and things

Why is it that it’s so hard to flirt until you stop caring about it? Why is it that it’s so hard to make friends while you’re lonely? Why is it that it’s so hard to find a partner until you’re no longer desperate for one?


New LojGloss version

I’ve added parsing support to LojGloss.

Lojban is a language created by people, for people. The grammar is unambiguous—any sentence can only be interpreted in one way, grammatically. You can still have ambiguity and vagueness in meaning, just not in the grammar. My program will take any valid lojban and show you how it looks grammatically. It’ll also show you the meaning of words that it knows about. Can this much be said for any other language? No. (Unless there’s some other conlang that does this. In which case Lojban has an order of magnitude more speakers, at least.)

Update: It doesn’t work. Oops. Gismu support is borked, and I’m looking into it. In the meanwhile, 1.4 is still serviceable.


Umm, a game

I made a program based on Tetris (but not in any trademark-infringing way). Check it out.


A title, you say?

Ugh, I’ve been so depressed lately. It’s starting to feel more like a nuisance than a problem. (But that’s probably just the alcohol talking.)

Haha!


An idea for a new forum

I just had this idea for a new way to organize discussions. You’d start out normally, with a short essay stating a position with supporting arguments. Then people add comments disagreeing with certain parts of the essay. Disagreements fall into one of two categories: people who disagree with logical steps made in the argument, or people who disagree with the premises of the argument. (Agreeing/expanding, free associating, joking, or topic changes could all be handled like normal comments.)

People’s disagreements would be responded to by expanding upon the original text, either by editing it, or by adding an explanation that’s linked from the original text. (You could also respond in comments, but there are various reasons why that’s less than ideal. If you’re going to use a system like this, you’ll end up learning when to edit and when to comment.) The link would be in a superscript, like Wikipedia’s links to footnotes and references. The linked explanation would be shown in a column to the right of the original, using a bit of fancy javascript or somethin’. Responses to the elucidation could be shown below it in the new column. (This would end up involving some horizontal scrolling, unfortunately. There are some things that could be done to make this less annoying.) Links to elaborations that have responses could be colored differently so that people that want to just read through the various responses could find them. Also, there could be a link at the bottom of each response to the next response, either in document order, or in chronological order.

The disagreements themselves could be moved from the bottom comment area, to a new section linked to from the part of the text they’re disagreeing with. (This would be more or less useful depending on the length of the text.)

The idea of discussion participants trying to modify position statements in response to each other’s changes, instead of commenting back and forth without updating the original statements, is an idea I learned from Robin Hanson, which he called “reflective equilibrium”. I think it has the potential to make discussions more productive and less error-prone, but making it practical for general use is problematic. In general, the implementation would need to be friendly to ad hoc use by mildly interested participants. If it’s complicated, it’s going to scare people off, and people who do participate won’t be as involved as they could have been with a simpler system. If it has a steep or high learning curve, it’s going to shrink the pool of people who will end up being drawn into discussions. Naive implementations just won’t work.

Truth Mapping) is one such implementation. (I’ll set aside the primary weakness of the site, which is that the initial argument must be stated in terms of the logical steps of the argument. That’s not practical for widespread use, and may not even be practical for more specialized use.) It work like this: you see an argument you disagree with, and you add a comment (critique, in its terminology) stating the disagreement. The author of the argument responds with a comment. At that point, you’re out of comments. All further discussion has to take place by editing those two comments. Now, in theory, this ought to work. Any objections made to your reply could be addressed by changing the original reply to address them preemptively (or apparently so, in retrospect). But in practice, this doesn’t happen. At the Truth Mapping site, most of the arguments I saw (which is quite few—the place has been mostly empty for years) took place by appending replies to the bottom of comments, which defeats the purpose of the format pretty soundly.

Why do the participants resist the RE (reflective equilibrium) format? What makes it inconvenient and unnatural? Is is just a lack of familiarity with the format, or is it something about the way people want to have discussions? If so, can these habits be subverted?

My hunch with my latest idea is that there a certain kinds of inquiries that happen in discussions that are awkward and inefficient with pure RE, that are better served by the back-and-forth of normal conversation. One such inquiry happens as follows: I respond to an argument, the arguer responds, I edit my response to address the points made. But the arguer still feels his objections are valid as they stand, despite my attempts to address them. What happens next? With pure RE, the answer isn’t clear. The only obvious thing to do is to ask the person to clarify or expand upon their response to my reply.

If limited in certain ways, this back and forth might not defeat the purpose of using RE in the first place. But there is a danger that it will. I guess the only thing to do is to implement this system and try it out. (I implemented my last system, but it never got used. Let’s hope this one turn out a little better.)


The Noonday Demon (index)

The Noonday Demon is my three part series about Andrew Solomon’s book of the same name, and my own experiences with depression and related matters. This post is an index to the parts.

Part 1
Part 2
Part 3 is in progress


The Noonday Demon (pt 2)

Welcome to part two of this three part series on depression. (Index to other parts.) This would be part of part 1 except that Wordpress decided it wanted to cut off my post after it was halfway through.

Solomon, of course, faces severe apathy at the worst of his depression. I think the extent of this is best illustrated by a quote from the book:

Continue reading »


The Noonday Demon (pt 1)

This is part one of a three part series on depression. (Index to other parts.)

I’ve not been very active recently on this blog. I’m not entirely sure why. I’ve had the same problem with my other interests and chores, too. They’ve mostly been remaining undone.

I have had a low level of energy, true. I’ve had trouble focusing. But those are just symptoms, too. What is the cause? How can I make sense of this state? Is it ADHD? Is it depression?

For a long time, I thought it was ADHD. So many of the symptoms fit. But the remedies don’t seem to, and the accounts of people with ADHD didn’t really strike a chord with me at all. So after a while, I began to suspect that depression would more accurately describe my problem. (Especially after I was diagnosed with depression by a psychiatrist.)

So, a few days ago, I had a truly marvelous and unprecented idea. Why not read about depression? After all, I realized, I really didn’t know that much about it. Despite having lived with it since I was a teenager, I had somehow never actually read any book about it. So I strolled over to Barnes and Noble to take a look.

I picked up a book called The Noonday Demon, by Andrew Solomon. I read a couple dozen pages, and found it compelling enough to buy. (At $17 for ~550 pages, it’s not a bad value, either.) Solomon writes quite poetically, and though I found his anecdotes tended to draw on a bit excessively, they did a good job of illustrating what it feels like to go through depression. His factual writing is elegant and interesting, and taught me quite a bit about depression that I’m very glad to know.

(If you’re interested in the book, you might like to know that it covers, primarily, unipolar major depression, with many mentions and a few discussions of bipolar disorder. It doesn’t really cover atypical depression or dysthymia.)

Continue reading »