I came for the article, I stayed for the comments

Posted on 9 October 2008 in Uncategorized

An OK but somewhat oversimplified post on short selling leads to a fascinating discussion on the topic from market practitioners. Well worth reading to the end, you'll wind up holding at least two irrefutable but mutually contradictory opinions about the issue...

A bit of fun

Posted on 29 September 2008 in Uncategorized

This week's unofficial meme on the Unofficial Planet Python seems to be to name the programming languages you've learned. Here's Eric Florenzano's list (hat tip) -- it looks like the meme was started by Corey Goldberg -- and here's my list:

  • BASIC (an odd ICL dialect, then Spectrum, Commodore, Amstrad, BBC, and QuickBasic)
  • Z80 Assembler
  • Pascal
  • C
  • Hypertalk (remember that? Answer 'Are you sure?' with 'Yes' or 'No'. If it is 'Yes' then...)
  • Logo
  • Prolog
  • LISP
  • C++
  • ML
  • Modula-3
  • Neil (proprietary, probably still in use at IST)
  • Java
  • JavaScript
  • C#
  • Python

Hmm. It looks like I've slowed down. Time to pick up that Erlang tutorial again...

Off to BoS

Posted on 2 September 2008 in Uncategorized

Tomorrow I'm off to Boston for the Business of Software conference, organised by Neil Davidson of Red Gate software and... hosted? Branded? In some obscure way connected to? ...the inimitable Joel Spolsky. I'm particularly looking forward to meeting those two characters; I was lucky enough to sit next to Neil at a Cambridge dinner earlier this year, and had a very interesting chat, and Joel is someone whose blog I've been following since before I knew the word "blog". For added fun, Alex Papadimoulis of the Daily WTF will also be there -- I have to wonder whether he's looking for ideas for further commercialising that site, or if he's building up the business that is his day job...

So, good attendees -- and a fantastic set of talks, with speakers ranging from Seth Godin to Richard Stallman. It should be great.

Workaround for Vista stupidity

Posted on 1 July 2008 in Uncategorized

When I run certain command-line tools from a command prompt in Windows Vista, it displays the results in a separate window. This separate window disappears when the tool exits. This is the most mind-bogglingly stupid behaviour I have encountered so far in an operating system famed for its mind-boggling stupidity. However, there is a workaround -- you need to start a shell as the Administrator user (not just as an Administrator).

Here's some more detail:

  • If you are not the Administrator user (even if you are a member of the Administrators group) then when you run a command-line tool that requires admin privileges, you need to click on one of Vista's never-ending stream of "this program wants access to your computer" messages. This is pretty sensible, annoying though it can be.
  • It then opens a new command-line window in which you can interact with the program. I can see no value in this whatsoever; the window is not highlighted in any way, so it's not to make it clear to you that this is a potentially dangerous program. Potential reasons welcome in the comments.
  • The real stupidity, however, shows itself when the program exits. Because then the window closes -- taking with it all of the information the tool displayed for you. foo /help suddenly becomes totally useless. Error messages? Forget about them.
  • And to make it worse, if you try to redirect the standard output or error of the program to a file or to more or anything else, you get nothing -- it still goes into the disappearing window.

After spending quite literally hours trying to debug a problem with the Python easy_install script, which was quite sensibly logging the details of the problem into a window that Vista promptly closed, I discovered a workaround:

H:\>runas /user:Administrator cmd
Enter the password for Administrator:
Attempting to start cmd as user "DRX\Administrator" ...


And up comes a new command prompt. Anything you run in there will put the standard output and error into the command line it was started from, just as any sane user would have expected in the first place.

Making a fool of yourself in public

Posted on 6 May 2008 in Uncategorized

On the Business of Software Blog, Neil Davidson recommends using your fear of making yourself look stupid by failing publicly as a way to motivate yourself to work as hard as you need to work on your startup. Sounds right to me. When I was in my early 20s I saw the mortality rates for smokers and decided that I would give up at the age of 30. In order to make sure that I stuck to that, over the years I told pretty much every one of my friends that I was going to quit then, which meant that I really could not back down. The result is that on the night of my 30th birthday party I quit, and (bar one or two particularly drunken evenings) I've not touched a cigarette since.