Jesse's profileBoring, Possibly TediousPhotosBlogListsMore Tools Help

Blog


    5/28/2009

    Apocalypse Haikus

    I was reading about North Korea today and was inspired to write a haiku:
    North Korean 'fun'
    does not involve flat noodles
    mushroom cloud over Seoul
    And as I was reading through a requirements document I listened to the NPR 24hr program stream and heard two people talking about accidental nuclear war. I brainstormed with a coworker for a while to come up with some themes about nuclear devastation. He asked me why and I said I wanted some material for Haikus. When he got done laughing at me, we came up with the following list:
     
    • wasteland
    • hungry/food
    • sad/lonely
    • frightened
    • radiation (bonus for mentioning iodine)
    • shelter
    • supplies/medicine

    So here they are, not necessarily in that order ;)

    after the world ends
    slow mutants shuffle about
    the dead are lucky
     
    long pork is tasty
    when the other choice is dirt
    sorry little sis
     
    I'm so tired tonight
    still hiding from cannibals
    must not fall asleep
     
    hair has fallen out
    tempurature high glands swollen
    pray for iodine
     
    avoid toxic rain
    for safety sake forced to live
    in collapsed ruins
     
    old man trading meds
    for women or strong children
    now he has crushed skull
     
    snow blind from searching
    alone on this blistered earth
    family gone away
    Happy Thursday everyone!!
    5/27/2009

    Japanimation

    I'm taking my girlfriend to Japan for two weeks at the end of July. We found a great deal on tickets and a little hotel in Kyoto to keep our stuff in while we're hauling ass all over the south side of the big island with JR passes. Molly is really into theater, so we're going to hit  Kabuki play, a Bunraku play, maybe a traditional dance or two. Might be interesting to see a Japanese baseball game or Sumo match, depending if the season is right. We're going to try to visit a hot springs while we're there too, and try to visit a lot of cultural landmarks in Kyoto, Hiroshima, and Tokyo. I'm so excited! I can't wait tear it up Japan-style!

    Open letter to the people I encountered on the ride to work

    Contrary to the way this might sound, I actually had a great--if chilly--ride this morning, but I have some greets for my fellow commuting homeys because the stars were aligned for craziness...
    Dear Nissan-driving Young Turk of Winnetka Avenue,
     
    You're in the that big a hurry? Really? Not only did you fail to yield the right-of-way to every pedestrian in your path, you ran a stop sign so that you could beat me to the other side of the street--except "beat" in this case means "made me slam on my brakes to avoid being hit while crossing an otherwise empty street in the crosswalk on my bike". I was shocked when you stopped at the red light--and then un-shocked when right-hooked in front of the elderly woman trying to use the crosswalk when the light changed.
     
    Dear dude who owns the $1500 road bike wearing $500 of fancy bike gear,
     
    Oil your chain you dumb mothertrucker. That horrible metal-on-metal screech is the sound of your expensive transmission eating itself alive. This wouldn't happen, of course, if you didn't put your rig back in storage every year after your ceremonial three attempts to ride to work.
     
    Dear tiny girl with all the facial piercings riding slowly to avoid the wind,
     
    Yes, I was wearing shorts and a t-shirt in 50 degree weather, but I have 100 pounds on your skinny ass. Don't wear a baby-doll tee and rolled up jeans when you have 1% body fat and we won't have to swerve to avoid running over your frozen carcass.
     
    Dear downtown cyclists who run every red light and act as unpredictably as possible,
     
    Thanks for making everyone's ride more dangerous! We understand that you can't be bothered to obey simple traffic laws like stopping at red lights and staying in the bike lane--you provide a valuable example for us all when you're hit by cars and become statistics.
     
    And finally:
     
    Dear high school chick  who took a header on 42nd after shouting "look at me, no hands!" on Sunday,
     
    I didn't see you today, but I definitely thought of your example on the way to work this morning. The angle of your shoulder plus your anguished screams made me assume you had badly dislocated it. I hope your ambulance ride to the hospital wasn't too painful--I know what a bad dislocation is like for all involved. I hope you will keep both hands on your handlebars in the future--especially while riding down hill as fast as possible like you were. Maybe you'll also put on a helmet next time? On the plus side, your accident really filled me and Molly with a sense of community; at least six cars stopped immediately to come to your aid. We're moving a few blocks away and that really speaks well of the area :)
    5/25/2009

    Bikes and biking

    So I'm trying to bike to work whenever possible. I'm really out of shape right now, so it's a tiring experience almost every time. It's a little over 15.5 miles here from my girlfriend's apartment, and a little over 18 miles from the new place we're moving to in June. We're moving to Plymouth (just a few miles from her current place), so we are surrounded by some really great bike trails. I can take trails all the way into downtown Minneapolis, dedicated bike lanes to Franklin, then then it's pretty much a straight shot to my office from there. It's a really nice ride without too many killer hills or deadly pit vipers. I can't wait until the Luce Line interconnect is done so I don't have to ride through the office parks on 55 to get between trails, but even if it's not done this season I'll be fine with the rest of the ride as good as it is.
     
    To put it into perspective, I used to commute to Boston Scientific from downtown Saint Paul, which was about 12miles. The first couple of times I road that I thought I was going to die, but I got used to it within a month. Right now I just a little more sweaty and tired than I will a month from now. Well, maybe more sweaty a month from now with the coming summer heat, but definitely not so tired.
     
    My girlfriend has been riding the same bike since she was in middle school or something, and the list of stuff to rehab it this season was too long to justify keeping it, so we went to Eric's Bike Shop in Maple Grove and picked out a new one. Everyone there was super helpful, and she quickly fell in love with the first bike she tried. It's funny when someone rides a nice bike after years of avoiding biking because their bike sucked (only they didn't know it). They get so excited! So we brought it home, filled up our water bottles, and went on a 15 mile ride. She set the pace, and I was really proud that she went so far on our first ride out. We were just tooling around on the trails in Plymouth looking for some place to eat.
     
    Sidebar: We stopped at a target to get some spray-on sunblock because her skin is so fair and we decided to try one of the new throwback pops. I get rashes when I drink HFCS, and these particular pops are regular flavors with real sugar instead of HFCS. I really liked the Mountain Dew. It was very smooth and sweet. After drinking only sugared pop in Thailand for a year, and then reacting so badly to HFCS when I got back to the US, I'm definitely excited about more mainstream flavors using sugar!
     
    Back to the ride: We were both really tired when we got home, and she got more and more sore as the night went on. Poor legs! Her little stubs haven't worked that hard in a really long time. I was already pooped because I'd ridden about 50 miles earlier in the day, and even though we only went 15, I was getting saddle sore because it took about the same time to go 15 at her pace as it did for me to go 50. She knows she's slow ;) I'm not expecting her to get much faster--I'm just really enjoying riding for pleasure as a good form of exercise for both of us to get used to. We're close to some great trails and parks where we're moving next month, so we're both really excited about a nice long bike season this year.

    Luce Line Regional Trail rocks!

    Went riding this weekend with a friend on the Luce Line regional trail. A bridge was out about 15 miles in, but it was easy enough to walk around. The Quiet and the wildlife on the mostly crushed-limestone-paved trail is really nice--especially in the morning. There are also a lot of port-a-potties and maps, or at least there are in the first 20 miles of the trail. Luce Line goes from about 1/2 mile east of Highway 100 out west to Cosmo, MN--about 70 miles. The official eastern trailhead is off Vicksburg Lane in Plymouth, but the Three Rivers paved trail goes from there due east to that last 1/2 mile past 100. Later this year a 1/2 mile trail upgrade will finally connect the "dead end" of the eastern-most leg of the trail to Wirth Parkway and the Grand Rounds trail system. Can't wait, because that particular 1/2 mile is the only gap in my 15 (soon to be 18) mile commute where I have to cut through office parks and go off-road because Highway 55 doesn't believe in pedestrian access ;)
     
    Anyhow, it was a lot of fun, and I will definitely ride it again soon. I got a new 100oz Camelbak and some of the camel caffeinated electrolyte pills that make your water taste like orange soda. Definitely a tasty way to ride.
    5/19/2009

    I just used a data URI for the first time in five years

    So I decided that web development was a huge disgusting ghetto about five years ago when I was using an early beta version of FF 1.0 and it supported about 10x more CSS and W3C standards than IE6. I was working on a project that could have benefited from RFC2397 data URIs, and I'd been running the FF beta for a few months, so I decided to build the app I was working on against it. This was one of my earliest brushes with building a web client, and my only previous development was building a hybrid with lots of jscript and dhtml on top of the InfoPath 1.0 beta (which was actually pretty sweet, considering IE6 underpinned everything I was doing). Anyhow, data URIs worked perfectly, and I was able to encode all manner of data into a single HTML payload for delivery to clients. Then I tried it on IE6. Almost nothing worked. It was laughable how terrible it looked and how much was missing. I couldn't believe that data URIs--which had been out for almost five years at the time--were unsupported on Microsoft's <2yr old flagship browser. We ended up moving the entire client into an XSL-FO implementation and using FOP to crank out PDFs. I feel like we did it almost out of spite, because we were pretty disillusioned with MS's browser compat story as a team. Anyhow, I haven't done much web since then--except locally-generated reports for smart clients through the WebBrowser control (thanks to everyone I pester about CSS, javascript, and DHTML during these "phases" :). As it happens, I had another opportunity to use the WebBrowser control in an environment where IE8 is present on the client, and I was amazed at how compliant it was--and a little shocked that a decade after the standard was created, the IE team finally got around to implementing data URIs. Well, better late than never, and it definitely helped my app. Thanks guys! <omitted_sarcasm_about_next_ten_years_of_ten-year-old_features_goes_here/>

    .NET WebBrowser control + IE8 == AW C'MON IE TEAM!!

    I'm a fan of the .net WebBrowser control. I used all the hacks and patches and shims that have been out forever until they finally released a sweet little supported one like in the 2.0 framework that worked just like the web bridge used in InfoPath. However, I have now been through two browser revs with it, and it's been a different kind of balls each time. Here's how WebBrowser works by default after installing IE8: It works just like IE7. WTF? All I'm saying is that it didn't work like that when you went from IE6 to IE7, so what's up with that? There are two ways around this: the way that works, and the way that is stupid and doesn't work.
     
    Way the first: The Way That Does Not Work
    Create the key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_NATIVE_DOCUMENT_MODE and add a DWORD value using the name of your WebBrowser control-consuming application's EXE and set the data to integer 70000 and you'll get IE7 standards mode (if you can manage not to dick up your doctype). Set the data to integer 80000 and you'll get IE8 standards mode. I could not get this to work at all, even after following the careful instructions offered on the IEBlog for managing these settings.
     
    What's that? A setting that you need to apply for every user? And it doesn't even work after all that PITA goodness? And nowhere on that page to they mention the way that just works? And it only makes sense for legacy apps and doesn't matter for new development? That's our IE team! Some day they will realize that no matter how much cruft is out there today, there will be 10x more tomorrow if all they ever do is add to the problem.
     
    Way the second: The Way That Just Works
    Drop <meta http-equiv="X-UA-Compatible" content="IE=8"/> into the head and have a valid doctype and you will experience IE8 and CSS 2.1 nirvana. Thank you and COME AGAIN!
    5/7/2009

    Windows 7 is even better than Phantoms, yo!

    Just replaced the shittiest, slowest operating system I've ever run in my life (Vista Business 32bit) with the fastest, best-looking operating system I've run in my life--Windows 7 64bit RC (which you can download free from here) on my ThinkPad X61 Tablet PC. Instead of a side-by-side comparison of my performance miseries with Vista, I'll just jot down a short list of things that are ridiculously fast:
     
    • Boots, logs in, and is ready to run apps so fast I can hardly stand it
    • Standby and resume honestly feel instantaneous
    • Hibernate is not only fast to shutdown, but takes ~8 seconds to resume
    • IT TOOK 19.5 MINUTES TO INSTALL!!
    • Fewer clicks to do anything
    • Switching between internal/external monitors is ridiculously easy
    • Recognized all my weird ThinkPad hardware--even enrolled my into biometric logon with my fingerprint reader after the mandatory first-visit to Windows Update
    • Docks/undocks from my ultrabase like a fricken champ

    It's just so fast and snappy I can't even recognize my little tablet. By comparison, each of these things has either been an ongoing sluggish mess in Vista or only worked half the time. Boot/shutdown and hibernate/resume were so godawful slow that I avoided them at all cost. Suspend/resume on vista almost takes as long as boot/shutdown does on Windows 7. Well, I couldn't be happier. Heres a short list of really cool features that are new to Win7 that I love already:

    • Fewer clicks to do common laptop tasks like switching monitors and networks
    • The new task bar ("superbar"?) is really nice. It looks like the MacOS X dock without all the annoying animation and poofing. It replaces the QuickLaunch bar; you can pin any running application to the bar, so that you can launch it again later after it's closed. In this manner, a QuickLaunch-like list of icons builds up over time, only it also represents graphically when one or more instances of that application is actually running. Windows 7-aware apps can also provide shortcuts to things like frequently used documents or features that you can access by right-clicking or left-tugging on the icon.
    • Left-tugging is a new input concept that happens to be very stylus-friendly for tablet users like me. You can left-tug on the title bar of a window to dock it to different parts of the screen, or to maximize or restore it. Left-tugging also works to show the app menus on the taskbar.
    • Everything tablet works better. The handwriting system automatically learns your style and handles messy text better out-of-the-box. Pen flicks seem easier to perform than in Vista. Still learning about new tablet features.

    The only things not working yet are my tablet buttons and automatic screen orientation changes. I assume I need an applet or something from Lenovo to make the OS aware of the buttons. I'll see if there is one available for Vista 64 that might work.