Posts in the Personal Category

Jackals and HYDEsim

Published 18 years, 3 months past

Long-time readers (and Jeremy) probably remember HYDEsim, the big-boom ‘simulator’ I hacked together using the Google Maps API and some information in my personal reading library.

Well, with North Korea setting off something that might have been a nuclear device, it’s starting to show up in the darndest places.  Everyone’s favorite millenial talk show host, Glenn Beck, not only mentioned it on his radio program this past Monday, but also put a link on the main page of his site for a couple of days.  Then it got Farked.  I suppose it’s only a matter of time now before it gets Slashdotted as well.

With the increased attention, some old criticisms have arisen, as well as some misunderstandings.  For example, on Fark, someone said:

I thought it was funny how people are playing with this and think they were “safe” if they weren’t in the circle.

Here’s a mockup I did of the kind of blast damage you could expect from a single 1980’s era Russian ICBM carrying 10 MIRV warheads, each capable of 750KT yield.

Oh my yes.  That’s something that the HYDEsim code can theoretically support, since every detonation point is an object and there’s no limit on the number of objects you can have, but I never managed to add this capability.  That’s because trying to figure out the UI for placing the MIRV impact points broke my head, and when I considered how to set all that in the URI parameters (for direct linking), a tiny wisp of smoke curled out of my left ear.  Still, one of these days I should probably at least add a “MIRV ring impact” option so the young’n’s can get an idea of what had us all scared back in the old days.

The interesting challenge is that a strategic nuclear strike of that variety is going to involve a whole bunch of optimum-altitude air bursts.  HYDEsim takes the simpler—and also, in this darkened day and age, more realistic—approach of calculating the effects of a ground burst.  The difference is in no sense trivial: a ground burst has a lot of energy, both thermal and radiological, absorbed by the ground (oddly enough!).  On the other hand, its highest overpressure distances are actually greater.

This is because shock energy drops with distance, of course.  An optimum-altitude air burst would be a mile or two above the ground, so the highest pressures would be directly beneath the explosion, and would be smaller than if the same weapon exploded on the ground.  With an air burst there’s less ground and man-made clutter to attenuate the shock waves as they spread out, so the total area taking some degree of damage due to overpressure is actually greater.  (There are also very complex interactions between the shock waves in the air and those reflected off the ground, but those are way beyond my ability to simulate in JavaScript.)

Also, direct thermal radiation is spread over a much greater area with an air burst than with a ground burst—again, there’s less stuff in the way.  The amount of fallout depends on the “cleanliness” of the warhead, but for an air burst it can actually be expected to be less than a groundburst.

People also claim that radiological energy (X-rays, neutron radiation, gamma radiation, etc.) will be the deadliest factor of all.  Actually, it’s just the opposite, unless you’re discussing something like a neutron bomb.  The amount of harmful direct-effect radiation that comes directly from the explosion is far, far smaller than the thermal energy.  And yes, I know thermal radiation is direct-effect, but there’s a large practical difference between heat and other forms of radiation.

Put another way, if you’re close enough to an exploding nuclear warhead that the amount of radiation emitted by the explosion would ordinarily kill you, the odds are overwhelmingly high that the amount of shock wave and thermal energy arriving at your position will ensure that there won’t be time for you to worry about the radiation effects.  Or anything else, really.

Remember: I’m talking there about direct radiation, not the EMP or fallout.  That’s a whole separate problem, and one HYDEsim doesn’t address, to the apparent disgust of another Farker:

The site is useless without fallout and thermal damage.

Well, I don’t know about useless, but it’s admittedly not as representative of the totality of nuclear-weapons damage as it might otherwise be.  Of course, HYDEsim is not specifically about nuclear detonations, as I showed when I mapped the Hertfordshire oil refinery explosion and djsunkid mapped the Halifax explosion of 1917.  But I certainly admit that the vast majority of explosions in the range the tool covers are going to be from nuclear weapons.

The problem with mapping fallout is that it’s kind of weather dependent, just for starters; just a few miles-per-hour difference in wind speed can drastically alter the fallout pattern, and the position of the jet stream plays a role too.  Also, the amount of fallout is dependent on the kind of detonation—anyone who was paying attention during the Cold War will remember the difference between “dirty” and “clean” nuclear warheads.  (For those of you who came late: to get a “dirty” warhead, you configure a device to reduce the explosive power but generate a lot more fallout.)

Thermal effects are something I should add, but it’s trickier than you might expect.  There’s actually an area around the explosion where there are no fires, because the shock effects snuff them out.  Beyond that, there’s a ring of fire (cue Johnny Cash).  So it’s not nearly as simple as charting overpressure, which is itself not totally simple.

And then there’s there whole “how to combine thermal-effect and overpressure rings in a way that doesn’t become totally confusing” problem.  Get ambitious, and then you have the “plus the show fallout plume without making everything a total muddle” follow-on problem.  Ah well, life’s empty without a challenge, right?

Okay, so I went through all that and didn’t actually get to my point, which is this:  I’ve been rather fascinated to see how the tool gets used.  When it was first published, there was a very high percentage of the audience who just went, “Cooool!”.  That’s still the case.  It’s the same thing that draws eyes to a traffic accident; it’s horrible, but we still want to see.

However, I also got some pushback from conservative types:  how dare I publish such a thing, when it could only be useful to terrorists?!?!?  Rather than play to the audience and inform them that I simply hate freedom, I mentioned that it was desirable to have people like you and me better understand the threats we face.  It’s not like the terrorists can’t figure this stuff out anyway.

Now I’ve seen a bunch of people from the same ideological camp use HYDEsim to mock the North Koreans’ test, which apparently misfired and only achieved a yield of about 0.5KT.  Others have taken that figure and plotted it in American cities, giving some scale to the dimension of this particular threat.  Still others have done that, but with the yield the North Koreans had attempted to reach (thought to be 4KT), or even with yields up to 50KT.  In most cases, these last are shown in conjunction with commentary to the effect of “now do you understand why this is a problem?”.

This is why I do what I do, whether it’s write books or publish articles or speak at conferences or build tools or just post entries here:  to help people learn more about their world, and to help them share what they know and think and believe with others.  Sometimes that’s worth saying again, if only to remind myself.


Hospitality

Published 18 years, 3 months past

Carolyn’s been eating a lot of ice cream and watching a lot of videos the past few days, and we’re sort of concerned that she’s going to get entirely too used to both.

This is all happening because on Thursday, she had her tonsils and adenoids surgically removed.  I imagine that it’s never easy for a parent to have a child go into an operating room, but it seems like there’s something extra difficult when it’s a little girl who’s not yet three.  I know that much younger children go into operating rooms every day; my sister underwent her first operation at the age of six months.  As I grew up, visiting hospitals became a regular feature of my life, and I have little fear of hospitals or doctors to this day.  Needles, yes.  Those terrify me.  But not hospitals.

It’s just as well, because last Tuesday, I ended up in the emergency room with a broken big toe.  This was the result of an unfortunate interaction between my foot and the island in our kitchen, and at first I didn’t even think it was serious.  There wasn’t much pain, no swelling or discoloration, and I could still move my toe just fine.  One of the lessons I learned as a child is, “If you can move it, then it must not be broken”.  Turns out that’s wildly incorrect.  It’s entirely possible to move a broken appendage and not even have it hurt that much.  At first.  Eventually, though, the toe stiffens up and it starts to hurt like there’s no tomorrow.

So I went on crutches two days before my daughter went in for surgery, less than a week after Kat came off crutches, which she’d been issued after breaking an ankle a few weeks back.  She’s still wearing an Aircast most of the time.  It’s been a laugh a minute in our house, let me tell you.  (Though I must admit I’m jealous of her Aircast.  It totally looks like a jet-boot from Star Trek, right down to having what look like little reaction boosters on the back.)

So now Kat and I are hobbling around, whereas Carolyn is just about back to normal.  In fact, she was running around laughing, singing, and playing pool within a few hours of the surgery.  We figured we’d have to go back to signing with her while her throat healed, but nope, no need.  The original plan was to keep her in the hospital overnight for observation, but about six hours after surgery, the doctor told us to go home.  They’d never seen anything like it, they said, and especially not in a child so young.  Sometimes I think she just might be a superhero-in-waiting, kind of like the invincible teenager on Heroes, most of which I watched on the emergency room’s TV while waiting to have my foot examined.

I suppose most every parent thinks their kid is super, but seriously, she’s an ironclad trooper.  In a weird way, I’m inordinately proud of her, which is kind of like being proud of her for having brown hair, but there it is anyway.  I fervently hope she rebounds just as powerfully and positively from all life’s injuries.

Anyway, given that she’s technically in recovery and we’d already planned for cold soft foods and lots of videos, we just went with the plan.  Now we’re all caught up on recent episodes of The Backyardigans and have been through most of her Signing Time videos (her choice!), and are starting to think about how to wean her back to one show every third day or so.  We’re currently hoping that going back to pre-school does the trick.  Wish us luck.


Running Toward Austin

Published 18 years, 4 months past

I swear I haven’t forgotten the W3C thing.  Life has just gotten very (and largely unexpectedly) overwhelming of late, and I’ve been falling further and further behind on everything.  To make matters worse, the ideas I want to put forth regarding the W3C are really too long for a single post, no matter how much time I have available.  In fact, I think it’ll take three posts.  I hope to write those soon.  Then again, I’ve been hoping that about a lot of things recently, as my tax attorney and at least two editors can attest.

Before I let it slip any further away, though, I do want to belatedly mention that An Event Apart Austin is open for registration.  Also, this is a great opportunity to mention actual timely news: we’ve just this evening announced that our special guest speaker in Austin will be none other than Molly Holzschlag, who will be giving a talk on designing from the content out.

Don’t miss it, ya’ll!


Five Years Ago

Published 18 years, 4 months past

Kat and I don’t really drink alcohol, so when we check into a hotel, we typically refuse the minibar key.  That way, we know that anything missing from the minibar has nothing to do with us.  Early on our morning of 11 September 2001, Kat was doing her best to break into the minibar in our hotel room in Sunnyvale, California.

“Kat”, I said hollowly, standing behind her, “I’m not sure this is really a valid coping mechanism.”

“What are you talking about?” she snapped.  “This is a perfectly valid coping mechanism!”

Not too much later, feeling the desperate need to be around other people, we went down to the hotel lobby, where several had clustered around the lounge television in silent horror.  There we discovered that the hotel management agreed with Kat: they were serving free drinks from the bar.  I was struck that day by how few drinks people actually consumed.  It was as if we were all so numbed that alcohol offered little further benefit.

What I remember most about that day is the confusion.  When we first turned on the TV, having been woken by a phone call from a friend, the crawl on CNN claimed a bomb had gone off outside the State Department.  There was a blurred image above it that I had trouble resolving for several seconds, before I finally realized it was the plume of smoke coming off of the Pentagon.  And when we saw the footage of the towers on fire, the South Tower being hit by a plane, and then both collapses, the images came one right after another in rapid sequence.  There was no extended period of horror for us, no building from one stage to the next.  We were literally jolted awake and passed in a very few minutes from Before to After.  It was difficult to grasp.  Almost impossible.

That afternoon, we drove almost aimlessly around Silicon Valley, listening to NPR even though they were covering the same few known facts in an endless loop, just like every other media outlet.  The difference was that with NPR, we did not have to watch the same few known videos in an endless loop.

We stopped for lunch, tried to talk about other things, and found we could not.  We kept going over what had happened, what we thought, what we feared.  Trying to clear up some of the confusion, trying to sift a little order out of the chaos, trying to steel ourselves for the possibility of worse to come.

We were a long way from home and family, but we were incredibly fortunate in that we were together.  It was an indescribable blessing in a day that seemed almost incapable of admitting them.  We clung together under an open blue California sky, so very much like the one over New York City, and each helped the other keep moving onward, one tentative step at a time.


Left Behind

Published 18 years, 5 months past

As I ambled up Concourse C this afternoon, I spotted someone who looked an awful lot like Dennis Kucinich coming the other way.  I thought for a moment about stopping him for a bit of congratulatory chat—he’s pretty far to the left of even me, but I admire his staunch refusal to compromise his principles no matter how unpopular they may be—but he didn’t have a welcoming air about him.  Maybe he was having an off day, or maybe he’s always like that, but I figured a politician would always be open to meeting “the public”.  It seemed like something that would go with the career choice, but perhaps not.

About ten minutes after I saw him, there was an announcement over the public address system calling for Dennis Kucinich to return to gate C-24 for a lost item.

So I guess that even if he wasn’t having an off day when I saw him, he did later.  Based on where I saw him and the timing of the announcement, he was very likely beyond the secure area when it was made.  I’m not sure it’s possible to get through security on a used ticket; it seems like too much of a security risk to do so.  Then again, how would we know?

I wonder what it was he left on the plane.  (Let the political jokes take flight!)

P.S.  “Search all bags for liquids etc. at the gate” has become “search the bags of occasional random passengers at the gate”, at least in Cleveland.  So either the rules are already relaxing, or they’re still firming up.  I kind of hope it’s the latter, though neither one really appeals.


Insecurities

Published 18 years, 5 months past

Last night, I returned from a week in Ojai, CA.  The rules for my return were just a touch different than when I left.

For a moment on Thursday, I was seriously concerned, because the news reports made it seem like no books, iPods, laptops, or other time-fillers would be allowed on any flights in the U.S., and I was facing a flight home of four or more hours.  Even worse, that meant I’d have to send my laptop through the baggage handling system.  I was frankly far more concerned at the potential for damage or loss there than I was over the possibility that someone might blow up my plane.

Fortunately, things settled down and the truth emerged: no gels, liquids, or creams.  Everything else is still permitted.

Although this isn’t true if you’re flying from the U.K. to the U.S.  I was planning to be in London this November, but faced with the prospect of eight hours in a metal tube with nothing but the in-flight movies to occupy my attention, I’m starting to reconsider.  I mean, come on: for my flight out to LAX, the movie was direct-to-video Dr. Dolittle 3.  In comparison, their showing She’s the Man on the return flight almost seemed like a blessing.  At least it was based on Shakespeare.

So anyway, the new security rules do actually improve a couple of things.  For one, getting through the security checkpoint at LAX (terminal 6) in the middle of a Friday afternoon was a breeze, because the most anyone had was a briefcase, so there was a lot less struggling with bags and such.  Also, the sudden lack of competition for overhead luggage space meant that boarding was quite smooth, with few if any aisle backups.

The downside, though, is that there is a final complete search of travelers’ bags at the gate (at least in LAX), and that part needs a lot of work.  Instead of feeding people through the screening by rows, the way planes are usually boarded, they just told everyone to line up for screening.  But they weren’t actually ready to let anyone on the plane, so the screening area was immediately clogged with already-screened passengers (with no real tracking of who’d actually been screened), which brought everything to a halt.  It was a good ten minutes before the plane was open for boarding and the process unclogged.

Don’t get me wrong: if you’re going to search everyone for gels and such, doing it at the gate makes a lot more sense than doing it at the main security checkpoint.  All I’m saying is that it needs to be done with a little bit of thought.  As it was, the screening process at my gate was marginally less organized than an Easter Egg hunt conducted by a crowd of severely ADHD pre-schoolers.  It’d be nice to see that improved before I get back on a plane. (That would be tomorrow, as it happens, so I’m not terribly hopeful.)

All this leaves aside the basic lack of common sense the whole situation evinces.  Even if there were no more airport security than existed on 10 September 2001, the odds of my dying on a plane, whether by accident or design, would be several orders of magnitude smaller than the chances I’ll be killed driving to the airport.  (This was triply true in my case, as I had to drive from outside Los Angeles to LAX in the middle of the day.)  With the security that existed before this past week, my survival odds on the plane were greater still.  I’m not saying we should just take away all the security, but personally, since Thursday I thought of at least two ways to take down a plane that the current system would be highly unlikely to catch.

At least, I think that’s so.  It’s hard to be sure, because airport security is like the ultimate closed-source application.  I can’t just say, “Hey, here’s a way to get a bomb past airport security using a medium-size ball of twine and 17 Hello Kitty stickers; how can we address this?” because then maybe I’ve given an idea to the Bad Guys, as though the Bad Guys haven’t been thinking about this a lot longer and harder than I have.  The black hats know all about the system’s weaknesses, but we common users have no way to check for bugs without being hauled off to jail—or, if we simply speculate aloud on possible weaknesses and ways to patch them, get accused of giving aid and comfort to the enemy, whatever the hell that means.  (Oh, that’s right: it means doing anything the current administration doesn’t like, including criticism of their decisions and actions.  Sorry, I just forgot for a moment.)

Anyway, ze frank and New Scientist said it better than I can, so I’ll just shut up now and let you check them out.  Just make sure neither has any liquids or gels on them.


When It Rains…

Published 18 years, 5 months past

I’ve been largely offline for the last couple of days due to an inexplicable failure of my DSL modem.  I was certain that it was another case of the DSLAM dying on me—it’s happened a few times in the past—and when the Covad techs claimed it had to be a modem failure, I was deeply skeptical.  Score one for the topical experts: they were right, and I was not.

While I waited for the replacement modem that I was sure wouldn’t change anything, I was using dialup.  Man, I never want to do that again.  Talk about sipping the Internet through a cocktail straw.  To make it even worse, I was tethered.  To a phone jack.  There was no wifi infusing the house, letting me work anywhere.  It was like having lost a perceptual sense.  It was wrong and confining and I didn’t like it.  No more of that, thanks.  If the Republicans are so hot to amend the Constitution, how about they be useful for a change and add “the Right to Unfetter’d Bandwidth”?

So.  Nothing much happened CSS-wise while I was gone, did it?  No controversies or anything?  Good.

While I may have been getting my bits by carrier pigeon, the AEA team was able to assemble and post a full schedule for An Event Apart Seattle, which includes a session by Kelly Goto on “Designing for Lifestyle”:

As design migrates from the web to mobile devices, our approach must also shift. Learn how companies are using ethnographic-based research to design smarter interfaces.

I’ve seen Kelly speak in the past, and she’s always funny, smart, and relevant.  I’m really looking forward to hearing what she has to say about ethnography and design.

I’ll be offering updated versions of my highest-rated talks in New York, “Hard-Core CSS” and “One True Layout”, and Jeffrey will be talking about selling standards to difficult clients (especially when the client is a boss) and the importance of writing to good design.  All this and Stan too!  If you’re fixin’ to come see us, the early bird deadline is still a ways off, but don’t wait too long.


S5Project.org

Published 18 years, 5 months past

Over the past year-plus-a-half, S5 has grown from a small hack of a compact slide show script written by Tantek Çelik into a relatively complex bit of work.  In the beginning, there was simply a way to take a single document and turn it into a series of slides.  I added basic keyboard controls, a navigation menu, and the ability to have the navigation controls show and hide, and then threw it out into the public eye.  People loved it, and with a lot of help from a lot of people, all manner of features were added: slide bookmarks, much better keyboard controls, incremental progress, a notes view, and more.

Despite all this community involvement, though, the code base was in a single set of hands: mine.  Anything that was added to the “official” S5 code was done by me, as time and understanding allowed.  As anyone could have predicted, this has slowed the advancement of S5 over time, and of late it’s brought advancement to a near standstill as I’ve struggled to keep up with other demands.  The only thing I’ve added since 1.2a2 is the ability to blank the screen by hitting the “B” key, and that change has yet to become public.

Of course, the code is explicitly in the public domain, so anyone can add to S5—and many have.  ZohoShow, for example, outputs S5 1.1 code.  I’ve seen S5 used for product tours of medical software and board games.  Jonathon Snook added a “live preview” version of the notes view, which I totally want to see in the primary code base.  David Goodger made a bunch of useful Docutils-compatibility additions that I never managed to fold in.  I also know of four different implementations of remote-control functionality, where one person runs a slide show and changes are reflected in remote copies.  This is a feature perfect for distance learning, corporate netconferences, and other situations.

And all this time, there was still no way to have those enhancements, or any others, “come home” to the source of S5 unless I did it myself.  Until now.

Thanks to Ryan King, we now have S5 Project, which will be the official home of S5.  Besides the blog and mailing list S5-discuss, there will be a wiki, a source code repository, and a bug-and-feature-request tracking system.  If you’re an S5 hacker, or even a frequent user, please do join the mailing list (I know, I know—another one?) or at least subscribe to the S5Project RSS feed to keep track of what’s going on.  I expect the mailing list to become the place for coders to talk about additions they want to make and bugs they’re trying to squash, even after the bug-tracking software gets set up, and it will be a primary source of content for the wiki-to-come.

While it’s been the case that anyone may add to S5 in their own way, for whatever purpose they see fit, now there will truly be community access to what’s always been a community project.  I hope you’ll join us there!


Browse the Archive

Earlier Entries

Later Entries