Sunday, April 12, 2009

nothing ever changes when you're acting your age

OK. I've long since dropped the ball on the Friday videos thing and I won't waste time apologizing for it yet again.

But here's a little bit of awesomeness in both song and cinematography that I'd completely forgotten about until imeem tossed out the band name tonight:

"Head over Heels" by Tears for Fears



This was one of the first tapes that I owned when I was a kidlet, and I used to drift off to sleep to this song and the slow mellow groove that followed it up on the way high tech Sony personal cassette player that I'd ganked from my poor father's ever-shrinking gadget collection. I recall finally catching the video on a Friday Night Videos run (not sure why MTV never really picked it up and ran with it), and it's got plenty of amusing, surreal WTF? moments even now that I watch it again decades later.

Absolute favorite part: Around 1:28, where the synth dude (dressed in biker leathers) steps up to the counter, the chick ducks, a keyboard flies down from the rafters, and he engages in a one-fingered solo performed live from The Uncanny Valley.

Monday, April 6, 2009

liquid breathing

I ended up watching some of the old Seaquest DSV episodes online via Netflix this weekend. Yeah, it's corny, but Bob Ballard showed up at the end of each show to give a 30 second "how this applies to real life ocean exploration" pitch. The man has got some interesting ideas... check out his TED talk to get an overview.

In one of these talks, he mentioned that someone had recently been down to 2200 ft (presumably he meant in submersible), and that kind of caught my attention.

Recreational divers usually call it quits around 100-130 ft because after that, oxygen actually starts to become toxic at the 80% nitrogen/almost-20 oxygen mix we breathe. Going deeper means having to use a "trimix", where a 3rd gas (apparently helium) is substituted in to reduce the oxygen to nonlethal levels. The depth record for this was set at 1100ft (330m) in 2005 by Pascal Bernabé (check out his account of the trip). The next record depth requires the use of an Atmospheric Diving System, which is basically a hardsuit... 2000 ft (609m) by a Navy diver in 2007.

It all reminded me of The Abyss and how liquid breathing had been a scifi idea for a long time. The official name is perfluorocarbon, and it turns that it does indeed work and mice have been able to breathe in it for long periods of time. The downside is that it strips out another liquid that's in your lungs and you end up basically suffocating if it's ever removed. The other problem with "The Abyss" scenario is that at high pressures, other biological process in the body start to do whacky things... protiens go nuts, tissues start ripping. Not good.

So while that might cap the ability to dive to 6000m and meet alien lifeforms, the perfluorocarbons are still medically interesting in other ways. It's got potential for use as artificial blood, accelerating flushing out of nitrogen after decompression sickness (the bends), washing out the lungs, and it's currently used in eye surgery in several different ways.

That's some interesting stuff discovered for a 10 second quip about diving records. :)

Wednesday, April 1, 2009

vmware setup

Probably worth talking about the vmware setup here, too.

First off, I'm using VMWare Player. I snagged images for Debian 5.0, Ubuntu 9.whateverthehellthey'reonnow, and Fedora 10 from ThoughtPolice. Gave each one of them static private IPs, and setup their net interfaces to use a bridge instead of NAT so I could have full network access to them directly from the Debian "ohmygodit'sstillrunningetchtesting!!!" laptop. I also setup a shared folder on the host XP machine, and have each of the images smbmounting it on boot so I can easily move files around. Currently considering setting up Active Directory on the host and mucking around with pam_ldap auth off of it, but not motivated enough to find the XP64 install cdrom at the moment. Machines are using a MySQL 5.0 server running on the XP host (and, by the way... MySQL admin on windows is an absolute pain in the butt).

The Q7760 proc seems to be handling it all in stride despite being a tad old, and 4GB mem appears to be sufficient for the Rube Goldbergesque virtual network I've created. Disk space usage has gone up, but with 1.5TB drives at $120 now, expanding that shouldn't be a problem.

Yay virtualization. :)

back to rails

So, back to rails. Got yet-another-project that seems like it should be right up rails' alley. Did a little bit of refresher reading tonight, and it seems like if I'd understood helpers, routing, and js templates better I might have avoided painting myself into a couple of corners during the last explorations in RoR-land.

Or maybe it's just because now I have a better understanding of javascript and don't regard partials as dark voodoo anymore.

Any rate, we'll see how this works out.

For the dev environment, I've decided to keep the XP64 desktop, but am currently running a series of VMware instances through Player to find a distro to work on. Will probably stick with Debian. I think I'm going to run with Netbeans as the IDE for now, but we'll see if that starts cramping my style and gets the hose or not.

bb development

So, it turns out that you have 2 choices for blackberry development: java (j2me) or javascript (Blackberry MDS).

The Java option gives you access to various features on the phone, one of the big selling points being backgrounded threads, which means you can do something similar to what the G1 does via XMPP (theoretically, I haven't dug too far into the doco yet). The MDS option basically allows you to create a browser application that relies on a web service to operate (ie, you could create a BB MDS app that basically manages an Amazon Web Services account).

Both options open up some interesting prospects for applications.

The big question now is do I want to control my cylon army from the phone through XMPP or a web service?