danielsenhwong.com

Archive for August, 2009

family weddings and ironing

without comments

I’m headed up to Philadelphia for a family wedding tomorrow, and I’ll be back in DC Sunday evening.  One of my second cousins is getting married, and I’m the representative for my immediate family, since my parents are in Seattle and my sister is at school in Vermont.

It’s always intimidating to go to these family functions, because my extended family on my mom’s side is absolutely huge.  Apparently I have 59 cousins of some flavor, most are second cousins (my mom’s uncle’s children’s children — I think that’s second cousins, but I’m not sure how it translates into English).  I have, I think, only six first cousins on my mom’s side.  Only.  Anyway, Philadelphia in particular is intimidating because a large number of my cousins live there, and every time I’ve gone to visit, I’ve had to re-learn everyone’s names because I can’t keep them straight in my head, and they’re all about my age and therefore change as rapidly as I do in the years between visits.  So this weekend will be fun.

Additionally, I finally opened and used the iron and ironing board I bought when I first moved to DC, thinking that I’d need them because I’d likely be looking for work for quite some time.  Turns out I got the first job I interviewed for, and lab work being what it is — a hazardous environment for nice clothes — I haven’t needed to use an iron in a year.  Well, I take that back.  I’ve needed to use it; I just haven’t because I didn’t need to wear ironed clothes.  A wedding kind of changes that.

It's a cute little iron, but rather useless.

It's a cute little iron, but rather useless.

The last iron I owned was this tiny little Rowenta travel iron I bought for college, since my first-year dorm room was 96 sq. ft., along with a tiny tabletop ironing board.  I bought it not only because it was cheap and I had no money, but because I felt that I couldn’t justify a more expensive iron.  I could not have been more wrong.

I didn’t realize that the weight of an iron made that big of a difference in the amount of effort it would take to actually take the wrinkles out of a shirt.  That, and I had no idea when this thing was up to the right temperature.  All of these things made me severely dislike not only the iron, but the act of ironing itself, just because it took so much of my time just to look presentable.

Anyway, it took me only 15 minutes to iron the shirts I just did with my new iron.  These exact same shirts took nearly an hour with the dinky little thing I used to have.  The lesson: don’t cheap out on things that are supposed to help you do things faster and more efficiently.

Written by dan

August 28th, 2009 at 2:25 am

Posted in Personal

web design, and differences in browser rendering

without comments

Admittedly, it has been a while since I last really truly developed a website.

Funding at Columbia University page screenshot, 27Aug2009

Funding at Columbia University page screenshot, 27Aug2009

The FaCU site wasn’t so much of a site as it was a page, and really, I feel I could have done a better job if I weren’t so ridiculously busy Senior year, and if I were more up to speed on using CSS to lay out websites.

Every time I’ve done this, beginning seven years ago, I’ve hit this block around how to manage the layout of a site.  The old way, working with browsers that didn’t correctly render CSS styling code, a lot of people dealt with the problem by using <table> hacks, using these tags to generate a website layout composed of “invisible boxes”.  All fine and good, except that it made changing even the smallest design element on the site was a huge undertaking, because every box was made to align and fit together like intricate pieces of a puzzle, and adjusting the thickness of one border or the geometry of one cell within the table, even by one pixel, required tweaking of every element around it, sometimes even going back and re-generating images or other graphics.

Current Garfield Messenger website screenshot

Current Garfield Messenger website screenshot, 27Aug2009

My first effort at using CSS to lay out a website was in high school, when it became my project to design and build a website for the high school newspaper.  I used it to learn not only PHP and how to interact with a MySQL database, but really everything that would be involved in developing a website.  It never became as full-featured as I wanted it to be, and it was eventually wiped out in favor of something less complex, and then again more recently for a WordPress-backed system.

Long story short, I tried to learn CSS in high school, found it supported by the various browsers available at the time in a very inconsistent manner (between browsers), and ditched it because it was too confusing to figure out how do exactly what I wanted with it.

Capstone Industries - iQueue Dispenser System

Capstone Industries - iQueue Dispenser System

I came back to CSS during my Senior year at Columbia while I was working on not only the FaCU website, but also the website for my Senior Design Project.  I tried to adhere to only the most widely available fonts, and the lowest common resolution for both sites.  The result: fairly ugly sites, but they get the job done.

Fast forward to today, when I’m now working on moving all of the lab’s most commonly used inventory books into a user-friendly digital form.  CSS has better support across every browser, and everything just makes more sense now.  No idea why.

Still, CSS is still rendered with quite a few annoying quirks.  Take, for instance, the following page layout:

Lab inventory site

Lab inventory site

Renders just fine in Chrome, Firefox, and IE8.  The left navigation panel and the main content to the left are spaced and positioned properly.  In IE7, the main content title renders where it should, but the table appears at the bottom, under the navigation block.  In Opera, the positioning offset I used to place the content area to the right of the navigation pane doesn’t appear to be necessary, so there’s a giant gap where there shouln’t be one.

A better situation than I was working with seven years ago, but still irritating.

Written by dan

August 27th, 2009 at 10:10 pm

OMG Spam.

without comments

I signed in to the admin section of my blog today, and the following message was waiting for me:

Akismet has protected your site from 208 spam comments already, and there are 103 comments in your spam queue right now.

What. The. Hell.

Well, on the plus side, Akismet is working beautifully!

Written by dan

August 27th, 2009 at 4:29 pm

Posted in Uncategorized

CD Track List

without comments

Analyze this for me:

  1. Hush Sound – As You Cry
  2. Ok Go – You’re So Damn Hot
  3. Travis – Indefinitely
  4. O.A.R. – Black Rock
  5. Ok Go – 1000 Miles Per Hour
  6. Blues Traveler – Girl Inside my Head
  7. Death Cab For Cutie – A Movie Script Ending
  8. Guster – Amsterdam
  9. The Zutons – Valerie
  10. Death Cab for Cutie – Why’d You Want to Live Here
  11. Ok Go – C-C-C-Cinnamon Lips
  12. O.A.R – Ladanay
  13. Yellowcard – Lights and Sounds
  14. Maroon 5 – “Back at Your Door”
  15. The Zutons – Tired of Hanging Around
  16. The Magnetic Fields – Fido, Your Leash is Too Long
  17. O.A.R. – Conquering Fools
  18. Radiohead – Vegetable
  19. Ok Go – There’s a Fire
  20. The Submarines – You, Me, and the Bourgeoisie
  21. Dandy Warhols – Minnesoter

Written by dan

August 27th, 2009 at 4:03 pm

Posted in Personal

Tagged with , ,

DC isn’t all that bad, really

without comments

I came across a post on DCist today; the post was published a little over a week ago, but I think th news is still pretty awesome. Apparently, cell phone service will be available in the 20 busiest stations in the DC Metro system. Beginning in mid-October for customers of the four largest cell phone service providers (AT&T, Verizon, Sprint, and T-mobile), with service in te other 26 stations within a year.

Better than New York, but the system doesn’t run 24/7.

Written by dan

August 25th, 2009 at 7:51 pm

Posted in Uncategorized

Recent local abundance of luck

without comments

Things haven’t been going particularly well for most of the summer, at least with regard to work in the lab, and I had been fairly annoyed by it all. Some of it was likely due to the fact that I was exhausted from moving from Alexandria to Pentagon City gradually and without the melp of movers, but most of it was the direct result of inefficiencies in the lab finally becoming apparent.

Luckily, I wasn’t alone in my frustration, and consequently, had help from my intern in trying to address some of the issues we were having.

Oddly enough, as inappropriate as venting my frustrations about work at work probably is, it helped a lot, not only to sort o my feelings about it and finding a solution, but I think also made me a little less scary and distant to my intern.

Since then, things in the lab have actually been working pretty well — well, at least until today, when I discovered a problem with the protocol I was using. I can still use some of the data that I generated; just not all of it.

What actually prompted me to write this post was actually what happened to me on the way home — a “no passengers” train pulled into the Gallery Place station and turned into the train I needed, saving me the 10 minute wait for the next train home since it was 8:30 pm.

Written by dan

August 24th, 2009 at 8:25 pm

Posted in Work

Tagged with , , ,