Home ::
::  Blog
::  Photos
::  About
::  Contact

«« :: 2008 Jan :: »»


[No comments] 2008 jan 24 (thu) 9:40  :: 

It's been cold and rainy here in Pasadena for the last couple dyas and the forecast is that it's gonna be that way through the end of the week. Last night as I walked back to Union Station on the way home the wind was whipping my umbrella around something fierce.

Early this morning I heard really heavy rain on the roof. This morning as I waited for the train at Del Mar Station I got a treat - there is snow on the San Gabriel mountains just north of Pasadena. I haven't lived here long enough to know how unusual that is (who knows, maybe it happens all the time), but I thought it was unusual enough to snap this photo for your enjoyment.

Snow on the San Gabriels

Yeah, I know, all you Oregonians and Washingtonians are scoffing, but it's a treat for us down here in Southern Cali to actually get some weather once in awhile.

 

[No comments] 2008 jan 24 (thu) 9:35  :: 

Or at least Jim Wallis of Sojourners magazine says so. He was interviewed by Jon Stewart on The Daily Show the other day and declared that...

"The dominance of the religious right over our politics is finally finished".

<embed FlashVars="videoId=148211" src='http://www.thedailyshow.com/sitewide/video_player/view/default/swf.jhtml' quality='high' bgcolor='#cccccc' width='332' height='316' name='comedy_central_player' align='middle' allowScriptAccess='always' allownetworking='external' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>

He was also plugging his new book, The Great Awakening, but that was the takeaway quote. I really really hope it turns out to be true.

I am ashamed to admit that I don't watch The Daily Show every evening. I wish I could but Una and I chose not to have cable - it's expensive and we hardly ever watch TV since the internet is so much more interesting. So I heard about this from Revolution in Jesusland, an great blog by a liberal guy who writes about a great awakening among religious conservatives that will hopefully bring some fresh change to our culture and politics.

 

1 comments 2008 jan 8 (tue) 13:39  :: 

I just discovered a little chunk of code that made me laugh out loud. Seriously, a coworker came over to ask what was going on and I had to explain it. In case you're wondering too, the chunk of code is called AsciiDammit.py.

One of the banes of a web programmer's existence is dealing with user input, which can come in almost any form. You have to allow for malicious hackers who try to crash your site using strangely-formatted text, sure, but you also have to allow for users who write text in Microsoft apps like Word, which can also crash your site.

Microsoft, for their own insidious reasons, uses non-standard codes to represent things like "smart quotes", short and long dashes, etc. These codes cause errors in other programs unless they are converted, so every web programmer who hasn't sold out to The Man has to scrub user input before doing anything else with it.

Bless Leonard Richardson! He wrote a little Python class that handles this chore (and perfectly captures my feelings about this whole chore) called "AsciiDammit.py". I love it! The class also has a function called htmlDammit(), that works one HTML with "smart quotes" in it. Genius!

P.S. If you're interesting in alternatives to Word, there were a couple good articles about cool alternatives the other day.

UPDATE (2008-2-6): I just figured out that the Leonard Richardson behind ASCII, Dammit! is the same Leonard Richardson who wrote RESTful Web Services and the most excellent HTML parsing lib BeautifulSoup, His site is chock full 'o interesting stuff, like a script that turns a ReST-formatted text into presentation slides. I wanna be like Leonard when I grow up. :)

1 comments
 

[No comments] 2008 jan 3 (thu) 13:53  :: 

Was just down at Las Galas in Little Tokyo, enjoying a chicken bowl and some free wifi, courtesy of Little Tokyo Unplugged. Would've written this posting from there, but my sister IM-ed me and we chatted about stuff while I ate. Just another example of what's cool about free municipal wifi. I was consulted by other museum staff when they were talking about it, and I pushed hard for the idea. They did a good job, except for the login screen - it works for web browsers but will be a problem for browserless devices like Skype phones and the like. Anyway, free wireless is not such a huge thing yet, but we'll be seeing more and more wifi-capable devices in the future, and having wifi is another reason to visit a place. I wish there was an org like the Personal Telco Project down here in LA tho..

 

[No comments] 2008 jan 3 (thu) 12:42  :: 

still xmas in union station

One of the things I enjoy most about my commute is walking through the lobby of Union Station. It's a really great public space and worth walking out of my way.

Yesterday I got an extra treat: they still have the Christmas decorations up, so I snapped a couple pictures.

I have some more photos tagged 'unionstation' on my Flickr account.

 

[No comments] 2008 jan 3 (thu) 12:32  :: 

That's right, my back loves my new EeePC. I used to go to work every day with my 12in Powerbook in a shoulder bag. I ride the Gold Line and walk about 4-5 blocks between Union Station and Little Tokyo, and by the end my back hurt a bit. Didn't really bother me since my back is always kinda sore. But now I take my EeePC, and my back isn't sore (or as sore).

My 12in PowerBook was already pretty light compared to my old 15in Pismo PowerBook, which was much lighter than my desktop, etc. That's just one nice thing about the EeePC. Lately I've been having these little panic moments where I think I've forgotten my laptop, followed by satisfaction moments when I realize that I DO in fact have my computer with me.

Some more nice things:

The EeePC is pretty rugged. It uses a smalled LCD and the display lid is thicker than any other laptop I've seen. Even on my PowerBook, you can see little ripples in the LCD when you touch the back of the display (the side with the aluminum), but not with the EeePC. The display hinges are also really sturdy. The EeePC uses flash memory instead of a hard drive, so I don't have to worry about bumping it or setting down hard. The battery is a little loose, but the mechanism for locking it in is pretty solid so I'm not worried about that.

The EeePC is small enough that you can use it to read while standing. I've done this a couple times while waiting for the train, and I could see myself doing the same while standing if I couldn't get a seat. It wouldn't work for strap-dangling, but the Gold Line trains have places between cars where you can lean against the wall.

When I was a kid I used to read books while walking to and from school. EeePC works for that too. :)

One of the first things I did with my EeeP (right after opening up the warranty-voiding memory slot cover :) was to install Ubuntu Linux on it. I have to report that this is working out awesomely. And surprisingly for a long-time Mac fan, I have to say that I like the look of the GNOME desktop even more than OS X. It looks great on the EeePC's screen.

My eeePC came with 512MB of RAM. It used to freeze up while accessing the internal flash drive when opening apps like the Synaptic Package Manager - I think it was reading/writing to swap. I ordered a 2GB RAM card which was finally delivered last night, and the EeePC seems more stable, though time will tell. Now when I load Synaptic the drive access light blinks a couple times but that's all. We'll have to see how it acts after a couple hours of use.

There are a few things I'd change if I change if I could: The biggest thing is the power adapter - I'm afraid I'm gonna lose it someday so it'd be better if it was something more standard. I also wish the battery lasts longer. At least the adapter is small and the cable is pretty long. The most awesome hack would be if the USB ports could accept power as well as send, so you could charge it from your desktop.

Another thing that I don't like is that I have to unmount the SD card whenever I suspend. I suspect this is something that can be resolved - there's probably a way to make the OS unmount the SD card automatically on suspend, but I haven't found that yet. I've gotten around it by changing the power settings. Most of the time, when I close the lid I just want to move around a bit. I've changed it so that when I close the lid while on battery power it just dims the screen instead of suspending.

The EeePC runs pretty hot, which stands to reason since it has a 900MHz processor and is running the same software as my computer at work. After it's been on for awhile you feel the heat pouring out of the vents. You want to be really careful not to block the air vents so you don't fry the electronics inside. But this is just something I just keep in mind and it hasn't been a problem - so far.

Overall though, the EeePC is an amazing little device. A couple days ago somebody told me that it looked like something they'd expect a spy to use. Getting a laptop really changed how I thought about computing, and this changes it even more.

 

[No comments] 2008 jan 1 (tue) 23:44  :: 

Hey everyone, I hope all of you have a really blessed 2008.

We've all got a lot of challenges in store for us this year, individually and collectively as a city, state, country, and planet. Let's each do our best to make this world a better place for each other, wherever we find ourselves, using whatever tools or abilities God has provided us to work with.

I love the way Garrison Keillor signs off his weekly Writer's Almanac show on NPR:

Be well, do good work, and keep in touch.

 

«« :: 2008 Jan :: »»