Friday, December 15, 2006
Tuesday, December 12, 2006
Today was the busiest day of the year at work. We also came frighteningly close to a large (though not total) meltdown. My role in this was mostly canary ("Uh, guys, these systems don't look good..."), a bit of Chicken Little ("No, really, the sky is falling, and we need this team in the war room now."), a dash of resolver ("Well, the problem isn't here, and it's not there, so let's look thataways."), with a topping of reassurance ("Yes, the graphs look good now, we really can stop panicking now, thanks, now let me step out of the way while you manager types affix blame.").
Alas, I ended up spending the entire day in the war room and got no work done. Bleh. I also like to talk in italics. So sue me.
Speaking of suing, the SeaTacChristmas holiday tree fiasco amazes me. Basic gist: Rabbi wants a menorah included in holiday decorations at the airport, is met with typical bureaucratic "I'm going to answer in the way that involves the least amount of work for me" responses ("Your request is important to us, please stand by"). He gets fed up, threatens a federal lawsuit if they don't comply within 48 hours. Bureaucrats panic, consult lawyer, lawyer says you'd better take them down or prepare to include symbols of every possible faith including demonic worship, etc. So the trees come down.
Is anyone surprised by this? Apparently, Rabbi Elazar Bogomilsky, who had threatened the lawsuit, was.
Either the parties involved are truly nefarious and disingenuous, or they're idiots. I find both plausible. Taking DAC's law into account ("Never attribute to malice that which can be attributed to stupidity"), I'll say they're idiots all around.
Alas, I ended up spending the entire day in the war room and got no work done. Bleh. I also like to talk in italics. So sue me.
Speaking of suing, the SeaTac
Is anyone surprised by this? Apparently, Rabbi Elazar Bogomilsky, who had threatened the lawsuit, was.
Either the parties involved are truly nefarious and disingenuous, or they're idiots. I find both plausible. Taking DAC's law into account ("Never attribute to malice that which can be attributed to stupidity"), I'll say they're idiots all around.
Sunday, December 3, 2006
I have a cold. Nothing terribly bad, but it's kinda gross to be around me right now and I'm likely contagious.
Alas, I cannot stay home from work tomorrow. I'm on-call from noon Monday until noon Wednesday. Normally, an on-call shift is the ideal time to stay home (you're not going to get much work done anywhere you are). During December, however, my team is required to have our on-call present in the "war room" during peak traffic hours -- a crowded place with a bunch of graphs projected on the walls. I don't expect this to be pleasant for myself or anyone around me.
Fortunately, I've found a mask which will filter out most of the germs. It looks a bit silly, though -- more like I'm about to do some carpentry rather than the surgical-style mask I was looking for.
Alas, I cannot stay home from work tomorrow. I'm on-call from noon Monday until noon Wednesday. Normally, an on-call shift is the ideal time to stay home (you're not going to get much work done anywhere you are). During December, however, my team is required to have our on-call present in the "war room" during peak traffic hours -- a crowded place with a bunch of graphs projected on the walls. I don't expect this to be pleasant for myself or anyone around me.
Fortunately, I've found a mask which will filter out most of the germs. It looks a bit silly, though -- more like I'm about to do some carpentry rather than the surgical-style mask I was looking for.
Friday, December 1, 2006
Law & Order: Minor Debt Claims, by a bunch of UQ law students.
March of the Engineers, by the same guilty clan.
And the ATMs? They can be a bit vicious down under.
March of the Engineers, by the same guilty clan.
And the ATMs? They can be a bit vicious down under.
Tuesday, November 28, 2006
Apparently the commute yesterday around Seattle was so bad that rush hour lasted until well after midnight. The trip from Seattle to Tacoma -- usually about 30 minutes or so -- required five hours.
For those of us who take the ferry, though, it was a normal, though chilly, commute. (Well, aside from having to get around the crowds swarming Qwest Field for the Monday night football game.)
For those of us who take the ferry, though, it was a normal, though chilly, commute. (Well, aside from having to get around the crowds swarming Qwest Field for the Monday night football game.)
Tuesday, October 31, 2006
Sunday, October 29, 2006
Random silliness related to a new project I'm working on at home: visualizing the keep-out regions for an ATX motherboard for a case I'm working on.
(A higher quality video is available here, but $)@(*#$ LiveJournal won't let you link to videos if they're not on YouTube or Google).
Tuesday, October 24, 2006
Proptronics
What I never realized was just how expensive these things are.
That 42" corrugated plasma TV? Box Props wants $76.95. A 60" box-o-vision from Proptronics will set you back $123 ($133 if you want a static color image on it). Complete computer systems with the latest Cellulose processor will run you $46-$95, depending on configuration.
At least the laptop is somewhat affordable -- $13.95. I don't think I've seen one that clunky since the late 80s/early 90s, though.
Sunday, October 22, 2006
Technology sucks
Apparently, the good folks at Apple have coded up a way to simulate CD scratches into iTunes 7. Songs which were intact before -- as well as those purchased on iTunes -- are now skipping. <sigh> Or maybe it's a ploy to push me over to Zune.
I'm guessing the Victrola emulator had to be deferred to version 8.
Also, I'm on-call again this weekend. We've reduced the number of folks available for on-call by half, which means the rest of us are now on-call twice as often. Oh, and now we can't do anything -- including rebooting a dead host -- without filling out a bunch of paperwork and getting it approved by a manager. Only 304 days, 2 hours, 23 minutes, 51.25 seconds until I can go to another job...
I'm guessing the Victrola emulator had to be deferred to version 8.
Also, I'm on-call again this weekend. We've reduced the number of folks available for on-call by half, which means the rest of us are now on-call twice as often. Oh, and now we can't do anything -- including rebooting a dead host -- without filling out a bunch of paperwork and getting it approved by a manager. Only 304 days, 2 hours, 23 minutes, 51.25 seconds until I can go to another job...
Monday, October 9, 2006
More as a reminder to myself; this place apparently has all sorts of oddball fasteners, screws, etc.:
http://www.tacomascrew.com/
http://www.tacomascrew.com/
Monday, October 2, 2006
My younger coworkers who ask me how I could forget to update my here/away status on IM and who laugh at the plain-vanilla stock ringtone I use on my cell phone (it just beeps a few times) are also guilty.
For those who are into retro-internet, Firefox still supports Gopher. I even discovered a few active sites, like this one.
Sunday, October 1, 2006
I love this movie.
Let x equal the quantity of all quantities of x.
Let x equal the cold.
It is cold in December.
The months of cold equal November through February.
There are four months of cold and four of heat, leaving four months of indeterminate temperature.
In February, it snows.
In March, the lake is a lake of ice.
In September, the students come back and the bookstores are full.
Let x equal the month of full bookstores.
The number of books approaches infinity as the number of months of cold approaches four.
I will never be as cold now as I will in the future.
The future of cold is infinite.
The future of heat is the future of cold.
The bookstores are infinite and so are never full except in September.
Wednesday, September 20, 2006
Halloween costumes I'd never let my teenage daughter1 wear #6573:
Circuit Breaker, from Transformers

1 Hypothetical -- I didn't run out and adopt one in the last couple of weeks...
Circuit Breaker, from Transformers
1 Hypothetical -- I didn't run out and adopt one in the last couple of weeks...
Saturday, September 16, 2006
Friday, September 15, 2006
For those in Seattle: If you ever get a chance, I recommend seeing a performance by the Squirrel Butter duo. Yes, those percussion sounds are all generated by her feet.
Monday, September 11, 2006
I've updated my tidal calendar creator so that the UI doesn't suck as much, it outputs PNGs instead of SVGs that nobody can really read, and autoscales according to the data received (rather than hardcoding -3ft and +18ft, which is only reasonable for Puget Sound).
It's also much slower, alas... generating PNGs is not easy. Also, I threw in an expensive antialiasing call in there to make things prettier.
Oh, and because I forgot to mention it earlier: the source code is also up there for the curious. You'll also need the location database I generate for this.
It's also much slower, alas... generating PNGs is not easy. Also, I threw in an expensive antialiasing call in there to make things prettier.
Oh, and because I forgot to mention it earlier: the source code is also up there for the curious. You'll also need the location database I generate for this.
Sunday, September 10, 2006
Silly xtide tricks
Working on automagically rendering tidal calendars. It's a work in progress -- the scale is optimized for one location (Eagle Harbor, Bainbridge Island), you need an SVG enabled browser to see the results, the interface sucks, and a number of important disclaimers ("NOT FOR NAVIGATION") and credits are missing, but...
http://kanga.org/~dacut/tidecal.cgi
http://kanga.org/~dacut/tidecal.cgi
Tuesday, September 5, 2006
The pains of REST
No, I'm not talking about sleep. Rather, some ranting about REST originally sent to a work alias.
I felt the need to actually write a bit of code this weekend, but wanted a distraction from actual work. I decided to try writing a C/C++ interface into S3 (with the ultimate goal of making a filesystem driver, but that's more than a weekend). This also gave me a chance to take a good look at REST.
After hacking on this for about 10 hours, I don't get it. Why is this an appealing "protocol"? (I put protocol in quotes because REST is all about not having a protocol, piggybacking entirely on top of HTTP.)
The major disasters I encountered:
1. What would have been about 10 lines of code interfacing into the Sun RPC library exploded into a mess thousands of lines of code getting libcurl (HTTP library) talking to libxml (XML parsing library).
2. Application errors and transport errors are completely indistinguishable. HTTP error codes are used for both. I spent 2+ hours debugging my "list buckets" implementation, trying to figure out why S3 was sending a 302 code back to me ("Location moved? This isn't in their list of errors..."). Breaking out ethereal and comparing its output vs. the S3 sample client finally revealed that S3's documentation is not entirely up-to-date, and the HTTP server I was talking to wasn't the actual S3 application server.
3. HTTP has a massive forest of possible states (chunked encoding, keep alive connections, continuation responses, etc.), but only a subset of these should be applicable to a given call. With REST, you need to deal with all of these if you want a robust client.
4. There are 3,527 different ways of encoding the same data, and you have to do it properly for this day of the week. For example, all requests into AWS have to be signed with your secret key; the request to be signed includes a subset of the HTTP headers and the date. In this case, the date must be in the form, "Tue, 05 Sep 2006 10:42:33 GMT". You duplicate this in the Date: HTTP header. Unless you have an X-Amz-Date header, in which case you use that. Unless you have an expiration date, in which case you use an integer representing the number of seconds since the epoch, and you put that in the HTTP request line. When S3 returns a date to you, it's another beast entirely: "2006-09-05T10:42:33".
It seems like REST came about because people didn't like any of the existing protocols (ok), but realized that designing a protocol is hard (yes) so they just threw it out the window entirely (uh oh) and just started hacking on code without any regard for the consequences (cries).
I felt the need to actually write a bit of code this weekend, but wanted a distraction from actual work. I decided to try writing a C/C++ interface into S3 (with the ultimate goal of making a filesystem driver, but that's more than a weekend). This also gave me a chance to take a good look at REST.
After hacking on this for about 10 hours, I don't get it. Why is this an appealing "protocol"? (I put protocol in quotes because REST is all about not having a protocol, piggybacking entirely on top of HTTP.)
The major disasters I encountered:
1. What would have been about 10 lines of code interfacing into the Sun RPC library exploded into a mess thousands of lines of code getting libcurl (HTTP library) talking to libxml (XML parsing library).
2. Application errors and transport errors are completely indistinguishable. HTTP error codes are used for both. I spent 2+ hours debugging my "list buckets" implementation, trying to figure out why S3 was sending a 302 code back to me ("Location moved? This isn't in their list of errors..."). Breaking out ethereal and comparing its output vs. the S3 sample client finally revealed that S3's documentation is not entirely up-to-date, and the HTTP server I was talking to wasn't the actual S3 application server.
3. HTTP has a massive forest of possible states (chunked encoding, keep alive connections, continuation responses, etc.), but only a subset of these should be applicable to a given call. With REST, you need to deal with all of these if you want a robust client.
4. There are 3,527 different ways of encoding the same data, and you have to do it properly for this day of the week. For example, all requests into AWS have to be signed with your secret key; the request to be signed includes a subset of the HTTP headers and the date. In this case, the date must be in the form, "Tue, 05 Sep 2006 10:42:33 GMT". You duplicate this in the Date: HTTP header. Unless you have an X-Amz-Date header, in which case you use that. Unless you have an expiration date, in which case you use an integer representing the number of seconds since the epoch, and you put that in the HTTP request line. When S3 returns a date to you, it's another beast entirely: "2006-09-05T10:42:33".
It seems like REST came about because people didn't like any of the existing protocols (ok), but realized that designing a protocol is hard (yes) so they just threw it out the window entirely (uh oh) and just started hacking on code without any regard for the consequences (cries).
Sunday, September 3, 2006
I'm sure that this is some internet phenomenon which happened way back when, but this is the first I've heard of it.
Amazon.com (all hail the company) recommended a DVD called Bikini Calculus to me today. (No, I don't know why. Yes, my recommendations are all messed up because I have to test the site frequently. At least, that sounds like a plausible explanation to me.) Yes, it's two girls in bikinis. Giving a tutorial on the calculus of a single variable.
There's even a snippet on Google Video.
I'm undecided whether it's amusing, sexist, or effective. Probably all three to varying degrees.
Amazon.com (all hail the company) recommended a DVD called Bikini Calculus to me today. (No, I don't know why. Yes, my recommendations are all messed up because I have to test the site frequently. At least, that sounds like a plausible explanation to me.) Yes, it's two girls in bikinis. Giving a tutorial on the calculus of a single variable.
There's even a snippet on Google Video.
I'm undecided whether it's amusing, sexist, or effective. Probably all three to varying degrees.
On Tuesday, my laptop started acting flaky. Well, ok, it's been flaky for awhile, but I just attributed that to Amazon's weird setup. This was flakiness in ways I've never before observed.
And then it bluescreened. Hard. Upon bootup.
I took it down to deskside, the folks who support user computers. They confirmed that the hard drive was toast. "But don't worry, you can have this new laptop."
Insert paniced look on dacut's face here. I mean, shiny new laptop is good, but it doesn't have my files. And I don't back up my files because I currently have nowhere to back them up to in a way that doesn't violation our IT security policy. The one place I can put them -- my desktop -- is perpetually full. Oh, yeah... I'm also lazy.
Thankfully, they managed to recover most of my documents. I don't really care about the rest.
I'm currently working on an interface to S3 that will let me mount a bucket there as a filesystem. If necessity is the mother of invention, panic is the drug which induces labor...
And then it bluescreened. Hard. Upon bootup.
I took it down to deskside, the folks who support user computers. They confirmed that the hard drive was toast. "But don't worry, you can have this new laptop."
Insert paniced look on dacut's face here. I mean, shiny new laptop is good, but it doesn't have my files. And I don't back up my files because I currently have nowhere to back them up to in a way that doesn't violation our IT security policy. The one place I can put them -- my desktop -- is perpetually full. Oh, yeah... I'm also lazy.
Thankfully, they managed to recover most of my documents. I don't really care about the rest.
I'm currently working on an interface to S3 that will let me mount a bucket there as a filesystem. If necessity is the mother of invention, panic is the drug which induces labor...
Subscribe to:
Posts (Atom)