Grocery Store
I went to the grocery store for toilet paper. Supplies at home are at crisis levels. I returned with mango juice, four apples, and a half gallon of milk. No toilet paper. I'm going to try again today.
All posts
Looking for something specific? Try or the full archive.
I went to the grocery store for toilet paper. Supplies at home are at crisis levels. I returned with mango juice, four apples, and a half gallon of milk. No toilet paper. I'm going to try again today.
If I'd been thinking about my week in Atlanta, I might have parsed it faster when a non-native-English-speaking coworker asked me, "Where you was?" It took me a moment to figure out what in the world he meant. I've gotta get that printed on a t-shirt.
I nailed the second phone interview, no complexity analysis questions, and my solution to the lone algorithm problem was both exact and unique enough that the interviewer hadn't seen it before. Next a manager calls, then maybe a fourth interview out in San Francisco. We'll see.
I love being a programmer. Two very different jobs at once: C and Objective-C on the iPhone by day, masquerading as a Java server developer by night. Meanwhile managers stare at bar graphs that can't match the beauty of a graphical debugger. Damn kids, get off my lawn.
I was wrong. It happens. Turns out libxml2 has a push mechanism that does exactly what I wanted: feed the SAX parser data as it arrives instead of buffering. Wrap it in some Objective-C and now stories appear in my iPhone app as the XML downloads. Tada.
Parsing a poorly documented binary protocol in my evening job, I hit a message that ended in a stray 0x00 that didn't fit the spec. As I drifted off to sleep it hit me: the two extra bytes I'd noticed last week. The real question: do I bill them for falling asleep on the problem?
I need a SAX parser, fine, there are plenty. But I need a *streaming* one, able to take data as it arrives over a slow, high-latency network and update the UI before all the XML lands. And I can't find one. I guess I write my own? I thought this was standardized years ago.
Two weeks into this project and there isn't a single defined feature or a single piece of data to work with. Most projects at least have the decency to start out well before floundering. Not this one. It skipped straight to floundering. Shoot me now.