Why should the government fund space exploration?
This article (via /.) is meant to discuss whether space exploration is worth the cost, but discusses government-funded space exploration almost exclusively. This makes sense; the discussion as to whether whether commercial and other private space exploration is worth the cost is more one for the boardroom, not the New York Times. And it's an interesting question; I'm pretty libertarian, and government-funded anything tends to raise my hackles -- and to be perfectly honest, many of the arguments mentioned by the contributors to the article sound pretty weak.
But one does stand out.
I asked guests on The Space Show, students, and people in space-related fields what inspired or motivated them to start a space business or pursue their science education, over 80 percent said they were inspired and motivated because of our having gone to the moon.
When I was a kid, like most boys then, I wanted to be an astronaut. I grew out of it, but my interest in science -- which eventually led to my career in technology -- started then.
It's hardly scientific to point at the decline in space exploration in the West and the decline in the number of science graduates, and the contrasting rises in both in -- say - China -- and claim some kind of correlation. But it does make you think.
If space exploration increases children's interest in science, and causes long-term benefits to the economy that are not directly captured (or, I think capturable) by the explorers, then perhaps that's a good reason for state spending in that area.
Of course -- as you might have realised by my use of the word "West" above, it's not directly captured by the funding country either. British children like me were inspired by American space exploration. Would they be inspired by Chinese space exploration?
I'll leave that one open.
Dear lazyweb: what is is about Linux and WPA?
I don't think I really have enough of a readership for this blog to get an answer to this, but... perhaps someone passing by will know. Why is WPA support invariably so bad in Linux-based OSes?
Three examples:
Despite having been a Linux user since 1992, I held off on switching my primary laptop, an aging Fujitsu-Siemens machine, from Windows for many years because no distribution I could find supported WPA out of the box with any kind of user interface I was willing to spend the time learning. This is not because I'm lazy -- I'm willing to put in weeks to learn web server configuration details, and years to learn programming languages. These things are inherently difficult and cannot be reasonably simplified. But connecting to an encrypted wireless network? Sure, the underlying tech is as complex as it gets, but if Microsoft can make it easy to use then why did it take so long for anything usable to get into any Linux distro? Sigh. Well, anyway, I eventually tried out Ubuntu 7.10, Gutsy Gibbon, and was delighted to discover that its support was OK. Not as good as Windows XP's, but good enough for me to switch the old lappy over, which I did sometime last autumn, and have never regretted. So, standard defined in 2004 or so, decent support in mid-2007. Hmm.
So along came my new Eee, just before Christmas, and for some reason I have difficulties connecting to my work or home networks. Why? Well, I banged my head against it for a while, and eventually discovered that there was a bug in the scripts used for WPA connections that meant it could not connect if you had a key with a space in it. A bit of digging around on the Eee Wiki helped me sort that one out, but seriously...
Anyhow, I posted earlier on today that I'd not been able to connect my OLPC XO to my work or home networks. No prizes for guessing what the problem was... from the Laptop.org wiki (found via):
WPA is not working from the User Interface in Build 650! Some OLPCs (including in the G1G1 program) cannot connect to wireless routers protected with the WPA protocol. Although the networks are visible from the OLPC, the stall when user enters a password.
The first solution they suggest is to switch off WPA. Right. Sorry, but I'm not Bruce Schneier, and there's no way I'm switching to WEP. It's almost enough to send me into some kind of Fake Steve Jobsesque rant.
Luckily, some kind soul has worked out a hack to work around the problem, so I'll try that. [UPDATE, posted from XO: it works!]
But seriously -- what is the problem? Linux is a great OS, but WPA support seems to be seriously messed up. It can't just be a driver problem, because both the XO and the Eee have OSes built for them by the hardware manufacturers. Does anyone out there know?
New gadget!
My OLPC XO arrived today. First impressions:
- It's quite big!
- Nice build quality - not as good as the Eee, but then it costs half as much.
- The "rabbit ear" wifi antennae are incredibly cute.
- It boots bit slowly compared to the Eee.
- My first attempt at connecting to wifi failed -- I could easily find out the first steps of what to do, but was foiled when the dialog where you enter the network key refused to close when I hit OK
More later.
Eee, day 2
My second day with the Eee has been much better than the first.
It has connected happily to every wifi network I've pointed it at, it stayed in
standby overnight without problems (though that did drain 70% of its battery power),
and although there is no Remote Desktop icon on the default menu, it is installed
in the default OS, so a quick Home-T (to pop up a terminal) followed by a rdesktop -f 192.168.0.7
allowed me to connect to my media center PC and use the Eee as a glorified remote
control. (If you use the command line above without having used an RDP client on
Linux before, you should know that it's control-alt-enter to exit full-screen mode
and get back to the local desktop). It's also happily displayed every web page
I've visited, though the tiny screen has been problematic with a few --
Google Reader is particularly bad.
The most positive thing? I'm writing this post on the Eee. While I'm still struggling a bit with the tiny keyboard, it's usable -- and getting more so as I adjust.
I think my next step will be to install some interesting development environments on it, so that I can play with them on the to go. I'm thinking Django, Erlang and Squeak. Is there anything else I should be looking at?
Eee PC
I received my Eee PC today. Its a lovely little gadget, but my first impression is that it's not ready for prime-time yet.
The machine itself is very neat -- quite tiny, and beautifully-built considering the cost. A quick poke around the applications shows lots of useful-looking stuff. But in order to use the device, you really have to be on the Internet. And, for me, that was when things started going wrong.
I wanted to connect to a WPA network; however, when I tried to connect to it, the machine stuck in a "Pending" state. A quick poke around the details in the connection dialog showed a weird error -- a message saying something like "Invalid parameter: XXX" where XXX was the second word of the two-word network passphrase. Sudden thought -- perhaps the system was trying to call some kind of command with the passphrase unquoted on the command line? A poke around the EeeUser forums showed that there is a problem with WPA passwords with spaces, and someone has written a simple patch to work around it. The fix was, as I suspected, to add some quotes to a couple of shell scripts; thanks due to EeeUser forum member Cmiller82, who packaged everything up nicely so that it was easy enough for a fairly-experienced Linux user to fix.
That all looked sensible, and I applied the patch, restarted the machine, and tried to reconnect. The old error disappeared -- but it still stuck in "Pending", and now appeared to be failing to be able to get a DHCP lease. Even worse, when I left the machine alone for a while, it hung completely! Even the trackpad refused to work. Time to press the power switch for a few seconds to force it to power down.
Once the machine came up again, I tried reconnecting -- and, mirabile dictu, it worked!
So, we'll see how it stands up to the next few days' work. But... silly bugs in the scripts that make up the operating system? Patching shell scripts by hand to get WPA working? Random hangs? Not a great start.
I think I'll hold off recommending one of these to my mother for a couple more revisions of the OS and hardware. After all, it's been more than a decade since she wrote her last compiler.
Screencast
I spent some of today putting together a minimal screencast, Resolver One in One Minute. It works quite well as a minimal introduction to our product (he said, preening) but what really surprised me was how good it looks on YouTube -- even after a downscaling of at least 50%!
Here it is, for your viewing pleasure:
Patronising messages
A quick rant -- why is it that Microsoft's "genuine advantage validation tool" feels the need to "show me some of the many advantages of using genuine software" after it has determined that my copy of Windows is legitimate? Seriously, can anyone think of a case where that wouldn't piss users off? I hate to think what it says if it finds out that you're using a pirated copy.
When Resolver starts selling software over the web, I will add a checkbox at the end of the checkout process. It will appear only if the customer's IP address belongs to Microsoft or to one of certain entertainment companies, it will be checked by default, it will be in large, friendly letters, and it will read "tell me about some of the benefits of not using stolen credit cards to buy software online."
View from a launched rocket
SpaceX test-launched their liquid-fueled rocket on Tuesday, and have made available this awesome camera feed from the rocket itself; the view from the second stage as the vehicle takes off and flies to 188km above the earth. It's aching to be mashed up with music... (Update: that video link no longer works, but there's a copy on this Techcrunch post -- you can see the wobble set in at about the 6 minute mark.)
More information about the launch at space.com; their article is a bit downbeat, but the live webcast was fantastic to watch. SpaceX aborted their first launch attempt after ignition; being able to do that is extremely impressive in itself. They then managed to refuel the vehicle and successfully launch it an hour later; being able to do that is incredible. So the first stage went very well. After that, separating the first stage from the second seemed to go well, but then the second stage... exhibited a couple of bugs. To be perfectly honest, I've experienced times when software has spun out of control and crashed on me halfway through the second client demo, and it's usually turned out OK soon after.
Of course, because we practice exteme programming at Resolver, we have full functional and unit test suites for our code -- so our client demos never crash.
Feelix Growing
The grind of applying for patents for Resolver (about which more later) has slowed down work on my own robots, but my partner Lola has been rushing ahead with her ever-so-slightly more professional approach... I'm very proud of her :-)
UPDATE 26 Feb: For some unknown reason, Google has made this post its #1 hit when you search for Feelix Growing. If you've just come here looking for that, here's the homepage for the project: Feelix Growing.
UPDATE 27 Feb: No longer #1. Phew.