flak rss random

Nerds the musical

Nerds is a live musical comedy. I’d say it was somewhere between awesome and really awesome.

Act One roughly follows a similar track as the movie Pirates of Silicon Valley although with less attention paid to historical accuracy. It’s a comedy, not a biography, but it gets a lot right. Various video screens showing era correct screenshots and logos were a nice touch. Act Two covers events up to today, but without even the pretension of accuracy. (The original script was apparently from 2007; it’s been updated to include the iPhone and death of Steve Jobs.)

Favorite part was probably the unveiling of Windows. Previously, Gates and Allen had tried to introduce DOS with a rap song but with bungled rhymes; e.g., “MS-DOS is lots of fun; we made it for every...body“). Then Jobs and Wozniak introduce the Mac (complete with the 1984 commercial showing on screen, but on stage is Wozniak in a crop top throwing the hammer). Finally, Gates steals all of Jobs’s cool ideas, leading to Windows 95. Gates and Allen run out on stage and launch into a Beastie Boys style number with tons of style.

Least favorite parts were probably the love interests for Gates and Jobs. It felt rather forced, especially the sex crazed band geek style stereotype chasing Gates around. Does every musical need the main character to have a love interest, just because it’s a musical? Allen and Wozniak both stuck around far longer than in real life, but that’s forgivable in the interest of plot streamlining. The love stories, on the other hand, were an unnecessary and awkward complication.

Posted 20 Dec 2013 22:09 by tedu Updated: 20 Dec 2013 22:09
Tagged: event moviereview philly

erroneous delayed shipment notification

Not really a failing of the email format, but of its contents. Last weekend I ordered a new iPhone for my dad. It was supposed to arrive today. Yesterday, Apple sends me an email that it’s going to ship soon and will arrive next week. That’s no good. I call Apple and talk to a real person on the phone, who confirms the phone is in Apple’s warehouse, they’re going to ship it real soon now, and I should expect it next week. That’s too late, so I cancel the order, but it’s too late for that too, so instead it’s converted to a return request. Today the phone arrived after all. What a waste of time and frustration.

I looked up the tracking number after it arrived. It was shipped UPS ground from a nearby warehouse last night. It’s close by (and presorted, etc.), so even ground shipments arrive in one day. Apparently Apple’s actual shipping logistics program knows this, which is why I was originally promised a delivery date of today. (Or conversely, it explains why the software knew it could meet the promised deadline even with a last minute ground shipment.) But Apple’s email the customer software doesn’t know this.

Instead, I imagine the notifier was triggered when my phone was being taken off the shelf and prepared for shipment. It then looks up my order in the database, sees ground shipping, and then just slaps the usual 3-5 day bracket around the delivery estimate. The problem is the 3-5 day window from the front page of ups.com doesn’t apply to this route. (ups.com even has a shipping calculator which will tell you that this ground shipment only takes one day. I don’t know where Apple’s email notifier gets its misinformation.)

Root cause analysis: don’t use two databases when only one has the correct information.

Posted 19 Dec 2013 21:40 by tedu Updated: 19 Dec 2013 21:40
Tagged: business mailfail rants

state of deception

From The New Yorker, State of Deception covers the development of the NSA domestic spy program, with more of a focus on the history and politics than the technical details.

The article itself starts with James Clapper’s assertion that the NSA doesn’t spy on Americans. One can fault him for lying, but we should consider this came only after Dianne Feinstein instructed her peers not to ask any questions she didn’t want to know the answer to. It’s Clapper’s job to tell the truth when asked, but Feinstein is responsible for extracting and discerning the truth from a potentially uncooperative witness. That is why the Senate Select Committee on Intelligence was created, no? To look into, over, and after the intelligence agencies despite their own reluctance? Checks and balances don’t work when the check abrogates their duty.

A true gem of a quote from Feinstein: “It’s not a surveillance program—it is a data-collection program.” And people wonder how Clapper got away with such shifty answers. (People also probably wonder how Feinstein keeps getting elected. That’s easy. She opposes gun ownership by anyone except herself. No, she’s not my favorite Senator, why do you ask?)

The hero of the article is Senator Ron Wyden from Oregon. A more amusing quote comes from a book by his father about the disastrous Bay of Pigs mission. “Waterloo staged by the Marx Brothers.”

Posted 18 Dec 2013 05:40 by tedu Updated: 18 Dec 2013 05:40
Tagged: magreview politics quote

my stack protector wasn't working

A little while ago I asked is your stack protector working? It was supposed to be a rhetorical question. It wasn’t. In a major failing to consider all the possibilities, I overlooked the fact that I was testing i386 and not amd64. It didn’t take long for Peter Philipp to test amd64. Back to the drawing board.

more...

Posted 16 Dec 2013 03:22 by tedu Updated: 10 Oct 2014 00:34
Tagged: c openbsd programming

Puffy is bigger than you

Looks a lot like Puffy, no?

Posted 15 Dec 2013 00:33 by tedu Updated: 15 Dec 2013 00:33
Tagged: openbsd quote

logging the foreground process in X11

Inspired by a similar New Old Thing post, Logging the foreground process as it changes, I thought I’d try my hand at a similar tool for X11. (No doubt such a thing already exists, didn’t look.) I’m not interested in the process that’s running on the CPU, which is closer to top’s job, but the name of the window I’m looking at.

The basic structure is pretty similar to the Windows sample program. We ask the X11 server for focus change events and print them out. We also have to ask for window creation events so we can track new windows as they show up. Here’s the source: windowlistener.c

A few other things to note. I spend most of my time in an xterm, so just knowing I switched between three different xterms doesn’t tell me much. Fortunately, it’s pretty easy to give each xterm a title that changes to reflect the current directory or file being edited. OpenBSD’s sample .kshrc file (/etc/ksh.kshrc) sets up aliases for common commands like cd and ssh that reset the xterm title. vim can do the same by adding set title to .vimrc, and then you’ll want to create an alias that resets the title after exiting vim.

Exercises: Add timestamps. Add a timeout and poll the current window title, so that title changes without focus changes (editing a new file) are detected.

Posted 13 Dec 2013 06:32 by tedu Updated: 24 Dec 2023 17:16
Tagged: c programming x11

Windows USB craziness

I’ve noticed this before, but since I just bought a new USB hub I was able to reconfirm. With science. Windows apparently treats every USB device/port combo as a unique device for which it needs to install drivers (which also requires searching the great driver database in the cloud). I plug my keyboard into port 1, tick tock tick tock, the driver is installed. Unplug, plug it into port 2, tick tock tick tock all over again. It’s the same keyboard that was plugged into port 1 seven seconds ago! It’s the same hub! Why does it need a special driver? It doesn’t, of course, but Windows still insists on searching for a new driver even though it looked less than thirty seconds ago. Plugging the keyboard back into port 1 doesn’t trigger a search, of course. Now it remembers! Why are these lookups being cached with a key that involves the port? Isn’t the whole point of USB that I can plug anything into any port?

Posted 07 Dec 2013 23:16 by tedu Updated: 07 Dec 2013 23:16
Tagged: rants software

Antiviral

The movie’s premise is that in the near future people will pay money to be infected with viruses from celebrities. “From their body to yours.” You can tell it’s the near future because it looks like today except everything is white. The movie starts off as a possible parody commentary on the cult of celebrity and famous for being famous, but then integrates an actual plotline and turns into a corporate espionage thriller. There’s also some cool ideas about copy protection. Well produced, scripted, and paced. Keeps the overt messaging to a minimum while still being thought provoking. And not just entertaining, but educational. I learned that multicolored tulip flowers are the result of infection with a plant virus.

Posted 03 Dec 2013 14:05 by tedu Updated: 03 Dec 2013 14:05
Tagged: moviereview

i disregard your request

I hate Sprint with the burning fury of a thousand suns, but I have to admit their latest ad series featuring James Earl Jones and Malcolm McDowell is fantastic. My favorite is Steve’s Facebook Post.

Posted 01 Dec 2013 19:42 by tedu Updated: 01 Dec 2013 19:42
Tagged: business quote

flak is back

Last night, a flak link escaped into the twitterverse where it was discovered by a “Google-HTTP-Java-Client/1.17.0-rc (gzip)” (whatever that is), which then proceeded to send flak a serious of cruel and unusual requests. Like the unique snowflake it is, flak’s HTTP parsing is rather delicate. In this case, sending a cookie without a value invoked the dreaded “table index is nil” error and crashed the process. Now, flak cannot be laid low by any one rogue request because it is powered by a whole host of processes, but after the relentless onslaught of four such requests, everything was dead.

Bug fixed. Another related bug found and fixed. And we’re back online. Until the next bug.

Posted 30 Nov 2013 16:50 by tedu Updated: 30 Nov 2013 18:14
Tagged: flak software web