[04-Dec-2018 23:16:41 America/Chicago] PHP Fatal error: Call to undefined function add_action() in /home/barbbran/public_html/wp-content/themes/founder/inc/customizer.php on line 4 [05-Dec-2018 02:14:42 America/Chicago] PHP Fatal error: Call to undefined function add_action() in /home/barbbran/public_html/wp-content/themes/founder/inc/customizer.php on line 4 [05-Dec-2018 03:36:12 America/Chicago] PHP Fatal error: Call to undefined function add_action() in /home/barbbran/public_html/wp-content/themes/founder/inc/customizer.php on line 4 [05-Dec-2018 18:54:41 America/Chicago] PHP Fatal error: Call to undefined function add_action() in /home/barbbran/public_html/wp-content/themes/founder/inc/customizer.php on line 4 Time! Skip to content →

Time!

time
Minutes to seconds to milliseconds to Javascript...where does it all end?

Today was all about time, in more ways than one.

The first thing we did was sit in on the morning budget meeting. (Though “stand in” would be a more appropriate phrase, as there weren’t nearly enough chairs.) The speed and keenness with which stories were analyzed, even at a broad level, was beautiful to see.

Then we were released to our sections. Real work! For the Washington Post! Hell yes!

After everyone introduced themselves to me (by way of name and favorite kind of cheese), my supervisor gave me my first assignment: sports. Sports?! Sports. My heart beat in my ears. I know nothing about sports. Nothing. And it’s not for lack of trying. I’ve just never really encountered a sport that made sense to my brain.

But I was told to do something interactive with Javascript to a print graphic about stats. I was told there was a template. Hooray! But the template was for the page itself, and the graphic was all up to me. Fortunately, my “professional partner” in the program pointed me in the right direction and helped me with the sticky math bits (math is another thing that, though I’ve tried, doesn’t stick in my head well). And then I learned that he was leaving on vacation…about six hours ago. For a week. There are plenty of other talented people I can lean on, but it still makes me a little nervous!

The worst bit was converting minutes and seconds (in the 00:00 format) to seconds in Javascript. It doesn’t sound hard, but it is. The colon meant I’d have to either use regex or a string splitter to break the timestamp into two parts, multiply the first by 60 (to get seconds) and then add them together. I’ve worked so much in jQuery lately that writing in plain JS threw me for a loop. (Not to mention that I kept trying to write Python instead of JS.) I stayed after nearly everyone else left, knowing that if I didn’t make *some* progress, I’d be screwed when deadline rolled around the next day. (Let’s face it, I can spend a whole day just making something look pretty.)

Finally, I left when a co-worker I knew from Twitter and ONA passed my desk and told me, “I’m sure this isn’t the first time I’ll say this, but you don’t literally have to sleep here.”

Instead, I came back to the place I’m staying and worked on it. And I’m happy to report that I’ve made progress! So now my poor, still-on-California-time body is going to collapse and get up early for more interactive Javascripty sports goodness tomorrow.

PS: Since I’m still living off of granola bars, I put out the call for cute guys in DC to take me for sushi. I’m disappointed to report that so far the only response has been from people not actually anywhere near DC. :-p

Published in A Cowgirl in D.C.

One Comment

Comments are closed.