Archive for the 'Science and Technology' Category

Blog, uncluttered

Tuesday, November 11th, 2008

If you’re reading my site, you’re most likely using an RSS aggregator. If you’re not, get thee to Google Reader, stat.

Google Reader has a cool feature that lets you share with others items in the feeds that you read (and you can event comment as you share!). It also has a bookmarklet to let you similarly share any page on the web. Within Google Reader, you can easily see you friends’ shared items.

In the event you don’t use Google Reader, you can still access my shared items by subscribing to my automatically-generated Shared Items blog. (The most recently shared items also show up in a gadget in my blog sidebar.)

Why care about my shared items? With shared items, I don’t have to debate whether an interesting site merits a whole entry in my blog or a mass mailing to all of my Internet friends/acquaintances/stale contacts. I can point you to articles that, for some reason or another, I found interesting: maybe I agree with them, maybe I don’t; maybe they opened my eyes, maybe they left me incredulous. At any rate, placing these items in a separate repository allows my own blog to focus on original content about my life and my thoughts—much in keeping with the Slow Blogging article I recently shared.

It cleans things up for me as a blogger, and for you as my audience. Check it out!

Financial Gedankenexperiment

Wednesday, September 24th, 2008

A friend at work suggested the following thought experiment with regards to the current financial crisis:

We are currently considering a $700B bailout for Wall Street. Assume that the value of the homes being foreclosed because of the crisis is the same order of magnitude (more on this below, but that’s tangential to the thought experiment).

An alternative solution could be for the government to take the money that it is about to give to Wall Street, and instead buy out all the bad debt directly from citizens: in other words, give people with bad debts the money to purchase their homes outright. If you prefer, give them just enough money to bring their debt down to a manageable level, and leave them to pay the rest off. Depending on how the numbers work out, this could be cheaper or about the same as the Wall Street bailout. For the sake of argument, assume this alternative is cheaper. Question: why not implement this?

Under these assumptions, this bailout costs taxpayers less than the Wall Street solution. The beneficiaries of the government largesse would be individuals rather than corporations. The profit from the bailout would not go to the companies that would remain solvent and still require payment of their loans; the profit would go to individuals who have part or all of their debt paid off (though the companies would continue to stay afloat because any remaining consumer debt would now be serviceable).

I doubt this proposal would fly, however. I suspect people would resent that neighbors who got into debt over their heads are now being rewarded with a handout from the government that enables them to own too-expensive-for-their-means houses, while responsible folks who bought only as much house as they could afford receive no such gift and are stuck with more debt for less floor space.

But how is this different than the corporate handout? The companies that issued loans to risky borrowers are rewarded with the higher profits of the bubble and the government cash to survive the crash. Responsible companies that did not profiteer from questionable loans did not get the extravagant bubble profits and need no government handouts to survive the crisis.

Something seems wrong, no? Discuss.

[Here's a back-of-the-envelope calculation: One source cites approximately 300,000 foreclosures in August, so estimate twelve times that for the year: 3,600,000 foreclosures. The mean home price in the US is $212,000. Multiplying these two figures, we can estimate that the current value of foreclosed properties is about $763B (actually, slightly higher, since a large fraction occur in CA, where the mean house cost is higher). If we say that only half the mortgage debt needs to paid off for the remaining debt to be viable, we arrive at a $380B bailout, cheaper than but still the same order of magnitude as the current plan in DC.]

UPDATE: DailyKos came out with its own estimate of the numbers, lower than the one I present above.

Webcation 2.0

Sunday, September 14th, 2008

Somewhere between a vacation and a staycation lies the webcation. On a webcation, one is not completely disconnected from daily life as in vacations of yore; neither is one staying near home, as in a staycation. A webcation is a web-enabled vacation where one checks personal e-mail and the news thanks to the ever-present Wi-Fi hotspots and cell phone data networks. Webcations often take the form of road or bike trips made possible by Web 2.0 features: researching tourist information on the go from one’s cell phone, looking up traffic and maps on Google, downloading apps and blogging from the car….

Next stop: Crater Lake, OR

Waiting for the iGuest

Friday, September 12th, 2008

I’ve set up a guest account on my Linux boxes using xguest. The Mac has a Guest account. I’m guessing most Windows machines do, too.

So why doesn’t the iPhone?

The iPhone is still enough of a curiosity and non-ubiquitous tool that people are always asking to look at it, use it, fondle it. I’m happy to oblige my friends, but I wish there were away to squirrel away my private data, open applications, and email. You know, a guest mode.

How about it, Apple?

WordPress upgrade

Friday, September 12th, 2008

A week or two ago, I finally upgraded WordPress from 1.5.x to 2.6.2. After the upgrade, I had problems with the layout of the initial page, and problems logging in. Removing the inScript plugin directory and disabling wpPaginate (and updating the Giraffe theme) seemed to fix things. In the meantime, I got many spam comments.

The spam should have been cleared now, and the blog working as normal. Let me know if you encounter any problems….

BTW, I recommend the WordPress Automatic Update plugin. It does make life simpler.

Joining the iHordes

Thursday, August 21st, 2008

I am a Linux guy. I have a computer that works well. I tweak it and customize it easily. I look under the hood and change things. I can understand how it works. If I need more functionality, I get new software for free, or write my own. Hell, I can even give it back to the community. Like the beater car that greasy-jeaned high-school student is always working on, my computing solution is always a work in progress.

But now I’ve been given an in with the cool kids. Two weeks ago, Knox gave me an iPhone. It is sleek and elegant; the UI is a marvel (go Apple!). Now I, too, can carry this latest status symbol and oh-so-nonchalantly check the Internet on the bus. Now I, too, can pass for the sexy hipster in the Mac commercials.

I feel out of my element.

I don’t like ostentation and, frankly, I’m often not an early adopter: I just don’t have time to mess around with everything so that it works to my satisfaction. My Linux setup is enough; everything else, I’ll use once other people figure out how to make it work.

The phone itself will be useful, of course. You can use it as a phone or a music player, you can track your location in real time and get directions, check the weather or the stocks, email chat take pictures write notes—many things you could do on a real computer though not quite as well but that is alright because you’re on the go and that’s the price you pay for portability, right?

Sure… but what if you’re not productive or hip enough because your phone doesn’t do x, y, or z? Like the rich kids at school, you just throw Daddy’s money at the problem. You can buy and download “Apps” for iPhone right from the device, most for well under $10 (and, in fairness, many of them are free). That in itself is just so weird to me, that the basic software you need to be productive would be proprietary.

Peeking under the hood? Forget about it. You can’t mount the iPhone under Linux; you need to be running iTunes or some other Apple software in order for your computer to recognize the device and access the filesystem. In fact, that is the only way to change the iTunes account the iPhone uses to buy apps. It is also the only way to sync your music or contacts. Hello, Apple? I feel like a second-rate member of your clique.

Making your own software? Just let the mechanics handle that: while the SDK is available for free, developers must pony up $99 to join the Developer Program where they can actually access documentation and be permitted to upload applications to a real iPhone, and then apply to be permitted to sell the apps in the country club App Store. Sure, $99 may not be a lot to someone with the means to get an iPhone in the first place, but it’s an additional disincentive to make the device “yours”, as is the mere existence of an approval process (to say nothing of the backlog) that prevents you from sharing your apps with others as you see fit. For goodness sake, tinkering and sharing were crucial in reaching our technological state!

There is a future for smart phones like the iPhone, no question about it. I’ll spend some time making this my own (do I need to jailbreak it? ugh), and I am excited that this is moving me even more into the Cloud. (I’ve been resisting the Cloud because it wasn’t quite ready for my needs, but it’s getting there.) I can’t wait for the Android phones, though, which will be open source. When they’re ripe, my Mac hubby can get the iPhone and I’ll go back among the nerds where I belong.

User-generated content

Sunday, July 27th, 2008

The New York Times on the history of user innovation (a.k.a hacking):

The most successful incubators of user innovation, researchers say, combine fairly large numbers of users and a technology that has a modular or open design. Those design characteristics create a common workbench, or technology platform, for user innovators to tinker with and build on, whether Web software or an “accidental platform” like the Model T, noted Marco Iansiti, a professor at the Harvard Business School.

The idea of creating modular platforms that allow users to synthesize more functionality is certainly familiar from Unix design principles. It is interesting to reflect how the idea existed before the silicon age (and arguably, could have been prevalent before the proliferation of ready-made products that characterizes post-WWII America).

Marriage Equity

Sunday, June 15th, 2008

Our marriage is less than a month away. Life feels full, as we try to juggle wedding tasks (the meeting of the parents went well), errands we want to get done beforehand (the picket fence is still an abstraction), and relaxation (hah!)

Obviously, I have marriage on the brain, but it seems like I’m not the only one. The New York Times has a retrospective on four years of gay marriage in Massachusetts, complete with a multimedia feature. Then, same-sex marriages are held up as examples of more equitable and non-gender-based power dynamics. And finally, in a shocking development, it seems that heterosexuals themselves are discovering equitable marriage roles.

These last two leave me shaking my head. Obviously in a same-sex marriage gender is not part of the power dynamics, but why should the power dynamics be affected by gender in the first place? And is it really that novel that some straight couples eschew gender roles? I certainly grew up with the expectation that both partners in a marriage share responsibilities equally, and that’s the norm among my friends, too.

Airport Express: Linux and Mac

Sunday, April 6th, 2008

Knox got an Airport Express for his Mac. For now, we’ll use it as our music streaming solution, though my eventual goal is to get something like a Squeezebox or Sonos.

Setting up the AEX to work with the Mac was mostly simple, with one caveat: to get onto our existing wireless network, we had to provide the hex version of our 64-bit ASCII WEP key as the 40-bit WEP key the Mac dialog was asking for.

For Linux, it’s slightly more involved. I found out about raop_play, a simplistic music client that, most importantly, includes a driver such that ALSA applications can stream music to a virtual audio card which actually gets streamed to the AEX. Pretty nifty.

I followed Nils Winkler’s instructions for setting up raop_play. Here’s the additional stuff I had to do to get this to work:

  • Before compiling, install the following packages libsamplerate-devel fltk fltk-devel libid3tag-devel fltk-fluid

  • Delete the line #include <linux/config.h> in drivers/alsa_raoppcm.c

  • Patch the kernel module source

  • Create Nils’s suggested scripts: load_airport_express_driver, start_airport_express, and stop_airport_express. Modify start_airport_express to have the IP address of the AEX.

At this point, the basic infrastructure was working:

  • Run start_airport_express

  • Verify the sound “card” is installed: cat /proc/asound/cards

  • Play some music: sudo mplayer -ao alsa:device=hw=1.0 some_song.mp3

Unfortunately, I couldn’t run as non-root. My devices on /dev/snd look like this:

 drwxr-xr-x   2 root root        180 2008-04-06 07:44 .
 drwxr-xr-x  14 root root       5200 2008-04-06 07:44 ..
 crw-rw----+  1 root root     116, 6 2008-04-06 07:42 controlC0
 crw-rw----   1 root root     116, 8 2008-04-06 07:44 controlC1
 crw-rw----+  1 root root     116, 5 2008-04-06 07:42 pcmC0D0c
 crw-rw----+  1 root root     116, 4 2008-04-06 07:42 pcmC0D0p
 crw-rw----   1 root root     116, 7 2008-04-06 07:44 pcmC1D0p
 crw-rw----+  1 root root     116, 3 2008-04-06 07:42 seq
 crw-rw----+  1 root root     116, 2 2008-04-06 07:42 timer

The C1 entries are used raop_play, but you’ll notice they don’t have a + in the permissions column. Why is that? What does the + mean? Tell me if you know!

On a hunch, though, I chowned controlC1 and pcmC1d0p to my user group—and I could play as non-root.

Well, mostly. I can stream music from applications that let me select the ALSA device, such as mplayer and xmss. Unfortunately, I don’t see how to configure rhythmbox to use raop_player. (Tell me if you know!)

Ghost sounds

Thursday, March 27th, 2008

You know the movies where they take the DNA of long-deceased person or dinosaur and bring them back to life?

Scientists have done this with some of the earliest audio recordings.