Energize

https://transporter.wilcoxfamily.net

I wrote this for a final presentation in 2006 for Boston University’s MET CS 770: Object Oriented Analysis and Design class, under professor Suresh Kalathur. The objective was to model a “real world” system in software.

Deciding what to model was a challenge. An elevator system was tempting. And then, based on my nearly-compulsive reading of the Star Trek: The Next Generation Technical Manual by Michael Okuda and Rick Sternbach, I realized Star Trek’s transporter system would be ideal. I was still thinking about how to demonstrate the model, when my coworker Ravi Gopalan suggested I look at Adobe Flex.

I was nearly instantly hooked with what Flex could do, running inside the Flash Player (the very thing that would doom Flex not many years later). With it, I could create a beautiful, interactive display that would have been painful (but not entirely impossible) to create in the Web browsers of 2006. I sank 40 hours (5 to 10 times what was needed) into the project, and even had my kids, dressed in Star Trek uniforms, enter the room at the end of my presentation saying I had beamed them into the wrong room.

And, for reasons that are fair and just, Flex died. No one wanted a horrifically insecure Web plugin, and browsers got truly standardized and more powerful. I kept my archive, and swore that someday I would get around to converting it to modern HTML5 or whatever was the standard when I did it.

Twenty years later (19 years, 51 weeks, and 1 day), I took a few minutes in a company-sponsored hackathon to have Claude Opus 5 do what I had never gotten around to. To my delight, with a tinge of horror, it took only minutes, most of which was spent on the Node build and testing, to get a perfect translation on the very first pass. I spent a few more hours tweaking, fixing some minor pre-existing bugs, and adding a few effects and features I had never gotten around to. (Software is never finished, just abandoned.)

Like Q at the end of “Deja Q,” (TNG s3:e13), “Heeeeeeeeeee’s back!”

—Doug Wilcox, November 2026 (Veracode Hackathon 28: Page Break)

Engage.

English Spelling: Why It’s Such a Nightmare

Christopher Lloyd as The Calico Kid in Best of the West, 1981.

It’s funny what odd things one remembers. When I was 13, I liked a probably not-well-known, one-season comedy series called Best of the West. One of the few quotes I do remember was this conversation between The Calico Kid played by Christopher Lloyd and the town Doc Kullens played by Tom Ewell. I always remember it when thinking about language learning and how difficult English spelling must be to learn.

https://youtu.be/rtO6DuKfhIk?si=-C2ZMhISOVLgVqoy&t=967

Best of the West, Season 1 Episode 15: “The Calico Kid Goes to School”

Tom Ewell (Doc Kullens): Spell laugh.

Christopher Lloyd (The Calico Kid): Laugh. [spelling it out] L-A-L-F.

Tom Ewell (Doc Kullens): [Takes a long, slow drink from his hip flask] No.

Christopher Lloyd (The Calico Kid): How can that be? Calf is [spelling it out] C-A-L-F.

Tom Ewell (Doc Kullens): Yes.

Christopher Lloyd (The Calico Kid): Half is [spelling it out] H-A-L-F.

Tom Ewell (Doc Kullens): Yes.

Christopher Lloyd (The Calico Kid): Then laugh should be …

Christopher Lloyd (The Calico Kid): [interrupting; spelling it out] L-A-U-G-H.

Christopher Lloyd (The Calico Kid): No!

Tom Ewell (Doc Kullens): Yes.

Christopher Lloyd (The Calico Kid): Why?

Tom Ewell (Doc Kullens): Spite.

Watching Pandemics—in Film

(Additional updates on January 31, 2021)

One of the things we’re doing to pass the time is winding down the day with a “good” pandemic flick. So far, we’re only gotten through two. I’ll update this post as we get through more. Spoiler alert: I’ll be careful not to give too much away, but can’t guarantee a no-spoiler review.

First up was The Andromeda Strain (1971, IMDB score: 7.2). Two films and one miniseries have been based on this early novel by Michael Crichton, and this is generally considered the best of them. If nothing else, it’s the one that adheres closest to the book.

In today’s every-film-is-a-blockbuster world, one tends to forget that, due to technical, economic, and other constraints, films were often extremely poorly paced, chaotic, and somewhat boring. There’s almost no background score for the film, and what’s there is entirely forgettable. Though the sterile technique is relatively good in this, it’s far from perfect; science is only so-so. Performances are decent, and one item of note is that this is probably the last time in film that a supermodel prototype was not used for a female scientist. It also reminded us that people used to smoke.

Outbreak (1995, IMDB score: 6.6) Horrible sterile technique, mostly poor science (although some good basic virology) and an entire military branch that refuses to obey orders. Excellent makeup for disease effects. (Bonus: Ebola-type viruses cause one’s hair to lose its curl as the disease progresses. Who knew?) Dustin Hoffman and cast provide credible performances while behaving incredibly, although the basic scenario is plausible. There’s a conspiracy-driven sub plot that doesn’t quite fit. Hoffman seems schizoid when it comes to protecting the world from an Ebola-type outbreak. He’s determined to cure it, but becomes positively reckless in his investigation.

We then tackled The Hot Zone, a National Geographic miniseries based on Richard Preston’s excellent account of the same name. (2019, IMDB score: 7.3). This was an only-moderately dramatized version of real events, with which I was familiar from reading Preston’s book. This scored extremely well on the science, and captures the horror of viral hemorrhagic fevers. The world can be very grateful that this strain only affected monkeys.

(Updated on January 31, 2021.) It took us a while, but we finally returned to another pandemic film: Contagion (2011, IMDB score: 6.7). This film deals with a global pandemic of a mutated zoonotic virus with a rapid, 25% mortality rate and an R0 of 4, a true “doomsday scenario.” What’s impressive is how much of the societal effects this film gets right, as we now have a case study of a pandemic with a mostly low but widely varied mortality rate (highly affected by age) and an R0 that ranges from 1.4 to 3.9 (according to Medscape). There are food shortages and hoarding, social media propagators of disinformation, and a CDC sometimes hamstrung by politics. The scenes of empty stores, shopping malls, and gyms were particularly poignant. The precautions taken by scientists are sound, and feel very real, and the science is pretty good, if slightly vague, until the end, where a single act becomes a deus ex machina. Our own experiences have made this film seem far more authentic than we would have realized; I don’t think we would have appreciated it as much in 2011.

Kid Conversations this Morning

NaNi:

While I was getting ready to go to work this morning, Naomi stood in front of the refrigerator, and said, “Dad, watch what I have learned.” She opened the refrigerator, and demonstrated how she could press the switch in the front to turn the refrigerator light off. She proudly announced, “I figured out how this works. See,” she closed the refrigerator door slowly, “when you close the door, it presses this switch, and the light goes off.”

“Good investigation, Naomi,” I praised. “My little engineer.”

“Just like her daddy,” she responded, with her usual smile.

David:

David was watching an online episode of “Bleach” anime at the computer. “So, watching some Shōjo manga?” I asked, sneakily.

Unusually, I fooled him. “Yes,” he replied, “Wait! NOOOOOO!”

(Laughter)

How Adam-12 Ruined My Squeaky-Clean Reputation

Courtesy of Netflix streaming over our Xbox 360, my son David (primarily) and I have been enjoying watching Adam-12, the police television series that started the year I was born, and ran for seven years thereafter, and much longer in syndication. Adam-12 was one of my favorite televisions programs when I was a kid, and I remain impressed by its lasting quality, straightforward, honest characters, and clear moral implications. (Director Jack Webb, of Dragnet fame, was clearly not an “everybody’s-doing-it” kind of guy, even in the ’60s.)

Officers Pete Malloy (Martin Milner) and Jim Reed (Kent McCord) from the Adam-12 television series.
Officers Pete Malloy (Martin Milner) and Jim Reed (Kent McCord) from the Adam-12 television series.

In 1978, I was in Mrs. Lovell’s third grade class at Parkview Elementary School, in Easton, Massachusetts.

One day we were reviewing vocabulary with a small reading group after a multiple-choice exercise. The vocabulary word in discussion was heroine, and, among the possible definitions was a medicine.

When the correct answer was given by another student, I suggested, a medicine, getting me quite a troubled look from Mrs. Lovell, who then asked, “Do any of you know what he is referring to?” “Drugs,” answered Dennis, with an implication of disgust.

I’d never heard the female version of hero, but Adam-12 had provided me with an excellent education in the dangers of illegal drug use. In my eight-year-old mind, heroin was a drug, and one obtained medicines at the drugstore, so a drug such as heroin perhaps could be classified as a medicine.

I was too embarrassed by the reactions of my teacher and peers to explain this logic, and the incident eventually became eclipsed by even worse incidents of faux pas that we shall consign to the horrible depths of “the junior high years.”

Adam-12 photograph courtesy of http://www.kentmccord.com.

To Boldly Go: Star Trek Online

A couple of weeks ago marked a watershed moment in MMORPGs: Star Trek Online wrapped up its mostly-open-beta program, and went live with its early-access-for-preorders launch. Delighted with the quality of the game, we sprung for a lifetime membership, which is approximately as costly as paying per-month for a year and a half. (I wish World of WarCraft would offer such a deal.)

The boys and I have been hooked. (Isaac, the weasel, has remained several levels ahead of me, and is about to get a promotion that will give him access to even better ships.) The game features space exploration and combat, and ground exploration and combat. The missions are described as “episodes,” and, like the plots of a television series, often require following unexpected developments and changing tasks as the plot unfolds across planetary surfaces and space. Each player captains his or her own starship, outfitting it with weapons, equipment that gives bonuses, and senior officers who also provide special abilities. I’ve attached a couple of screen shots of the gorgeously-rendered space exploration scenes below. The planets are beautiful, often including moving cloud layers that partly cover the ground below, as well as appropriate atmospheric illumination by the planet’s star, depending on one’s location in orbit.

The USS Naomi, approaching a planet within the Delta Volaris sector.
The USS Naomi, approaching a planet within the Delta Volaris sector.

(My first ship is named the USS Nichelle.)

The USS Naomi, exploring a system in the Delta Volaris sector.
The USS Naomi, exploring a system in the Delta Volaris sector.

Ground locations are often also highly detailed, with a wide variety of plants and terrain. Some of the outdoor ground locations (there are also caves, and starbase and other complex interiors) sometimes seem very reminiscent of the ToS set locations, although generally with more detail than the show’s budget allowed.

Combat and exploration are both integral to the game. Combat is far more skill-intensive than most MMORPGs, particularly as one commands an “away team” to whom orders must be given, and as space combat works in three dimensions and often against multiple enemies. Some missions automatically draft the cooperation of other players, and nearly everything can be accomplished by choice as a teamwork exercise. Like the best MMOs available, there are also large PVP combat areas where players can earn even more rewards.

The game is still in early release, and is apparently only going to get better, but it still shows some weaknesses of an early release with higher-than-expected levels of demand on its servers, and some frustratingly common bugs, such as the game locking up.

Overall, though, our romps through the Star Trek universe have been delightful, with much future enjoyment anticipated.

Addendum, Stardate 201002.18: I am fully convinced that this game was worth every penny. Even my beloved World of WarCraft has never captured me with this intensity.

Beaming out after an away mission.
Beaming out after an away mission.

Rescuing diplomats taken hostage; the end of a truly well-crafted mission series.
Rescuing diplomats taken hostage; the end of a truly well-crafted mission series.

Beautiful environments abound: This is Regulus.
Beautiful environments abound: This is Regulus.

Scanning with my tricorder. What could be better?
Scanning with my tricorder. What could be better?

Approaching Starbase 114.
Approaching Starbase 114.

Gin, Television, and Social Surplus

While I am working on posts about “The Weaker Vessel,” and “Verbal/Emotional Abuse” (and looking into how a ‘bot hacked my BLOG files to include hidden Spam links), here’s a bit to get you thinking:

Clay Shirky published a lightly edited transcript of his speech at a recent Web 2.0 conference, entitled, “Gin, Television, and Social Surplus.”

You will definitely want to read the whole post, but here are a few noteworthy excerpts:

Starting with the Second World War a whole series of things happened–rising GDP per capita, rising educational attainment, rising life expectancy and, critically, a rising number of people who were working five-day work weeks. For the first time, society forced onto an enormous number of its citizens the requirement to manage something they had never had to manage before–free time.

And what did we do with that free time? Well, mostly we spent it watching TV.

How much television do we watch?

[H]ow big is that surplus? So if you take Wikipedia as a kind of unit, all of Wikipedia, the whole project–every page, every edit, every talk page, every line of code, in every language that Wikipedia exists in–that represents something like the cumulation of 100 million hours of human thought. I worked this out with Martin Wattenberg at IBM; it’s a back-of-the-envelope calculation, but it’s the right order of magnitude, about 100 million hours of thought.

And television watching? Two hundred billion hours, in the U.S. alone, every year. Put another way, now that we have a unit, that’s 2,000 Wikipedia projects a year spent watching television. Or put still another way, in the U.S., we spend 100 million hours every weekend, just watching the ads. This is a pretty big surplus. People asking, “Where do they find the time?” when they’re looking at things like Wikipedia don’t understand how tiny that entire project is, as a carve-out of this asset that’s finally being dragged into what Tim calls an architecture of participation.

This reminds me, I was listening to “This American Life,” episode 328, “What I Learned from Television.” In a live broadcast, Ira Glass announces to the audience that average Americans watch 29 hours of television a week. There is a loud, collective gasp from the audience, which is composed of course, of not merely NPR listeners, but NPR listeners who paid to go out and see a live presentation of the radio program. Twenty-nine hours is the average? Suddenly I don’t feel so bad about playing World of WarCraft.

As Shirky writes,

In this same conversation with the TV producer I was talking about World of WarCraft guilds, and as I was talking, I could sort of see what she was thinking: “Losers. Grown men sitting in their basement pretending to be elves.”

At least they’re doing something.

But I digress.

As I write this, our pastor is speaking on “Reflections from the Back of a Bike,” noting how we prefer to ride in a car metaphorically driven by the pastor, instead of providing our own power on a bicycle, comparing the early church’s prayer to “speak the Word of God with boldness” as recorded in Acts 4:29 to our typical prayers of, well, whatever; of how we fail to really act on our belief in an Almighty God and actually serve Him with actions, every hour of our lives. How we need to embrace the mission of Christ and actually do something to reflect what we say we believe.

To be honest, I have heard many such sermons over the years, but this one is different. It’s Scriptural. It isn’t designed to evoke an emotional response. Its success won’t be measured by the number of people who raise their hands or “go forward” to the altar. Its success will, rather, be measured by how we let Christ give us boldness to use our associations and talents and burdens to change others’ lives. It’s real. It’s a reflection of how he actually lives in following Christ.

And the Word of God convicts me, that I ought to be so focused.


P.S.: Shirky makes some fascinating conclusions based on analyses of both current society and the Industrial Revolution, getting into such subjects as cognitive surplus, shared information projects, and participatory media. It’s one of the few must-read pieces I’ve encountered in the past year. He wraps up with a look into this gem (which in this context of excerpts seems disconnected, but in reality is not):

I was having dinner with a group of friends about a month ago, and one of them was talking about sitting with his four-year-old daughter watching a DVD. And in the middle of the movie, apropos nothing, she jumps up off the couch and runs around behind the screen. That seems like a cute moment. Maybe she’s going back there to see if Dora is really back there or whatever. But that wasn’t what she was doing. She started rooting around in the cables. And her dad said, “What you doing?” And she stuck her head out from behind the screen and said, “Looking for the mouse.”