Network Neturality

There is debate in congress on how to implement network neutrality without keeping companies from innovating. But how would one construct these regulations?

I really fear a law that gives the government control of how people can set up and interconnect networks of computers.

I think the solution to these problems is is simple. Prohibit network operators from introducing artificial scarcity into their networks. Is this too vague to become a regulation? Personally, I like the idea of vague regulations. It gives the laywers something to do.

Apple, Inc.

Since Apple Corps, Ltd did not ask for an injunction against Apple’s name change, I can only assume that Apple and Apple have come to an agreement.

Apple’s trademarks lawyers are pretty smart. If they can convince a judge that the operating system OS-9 is in a different market than the operating system OS/9 then they should have no problem with Cisco. Still, it is amazing how Apple feels it can push around other companies.

Hmm. Maybe Apple and Apple don’t have an agreement? Maybe Steve is playing the same game with Apple Corps as Cisco? I call this the “If we can’t use it, then no on can” attack.

Lame December Post

Here it is: the last day of the last month of 2006. Just to keep a promise to write once a month in this journal I decided to write something.

I want to thank Olivier Galibert and R. Belmont for SDLMESS. You guys got me back working on MESS again. I had forgotten how much fun it was.

Diecom light gun in MESS

MESS bug #971 is a feature request for adding a Diecom light gun adaptor emulation to mess. It was committed this morning. Woo, hoo!

But I’d like to take a moment to explain some of the deficiencies of my emulation. As is usual, I only implement enough of the converter box to get the two written games working: Iron Forest and Medieval Madness.

Here is how the games work. When the light gun trigger is pressed, the CoCo clocks the device to state 6 and waits for the start of a video frame. After vertical retrace, all of the palette registers are set to white and the device is clocked to state 7. This starts the 9 bit timer. The 9 bits are timed to roll-over every horizontal refresh. At every horizontal refresh the device is polled to determine if there was a “hit”. A “hit”" is when the gun senses the light of a white pixel on the screen. Further more, when a hit is detected the internal timer is stopped automatically. Clocking the device’s state from 8 to 15 make the nine bits of timer data available to the CoCo. A low timer value says the hit was early in the scan line, a high timer value says the hit was late in the scan line.

Since the CoCo is counting off scan lines it knows the vertical axis of the hit. Since the CoCo reads the nine bit timer value it knows the horizontal axis of the hit. Thus the hit is pin-pointed on the screen.

Let me describe another method of using the device, one which isn’t emulated. This other method is what is used in the Nintendo Entertainments System’s Duck Hunt game. When the gun’s trigger is pressed the screen is blacked out and at the end of the frame, the device is queried for a hit. If there was a hit, then the game player must have been pointing the gun at a bright light source (not the TV) so the game registers a miss. If there was no hit, an object is painted white at the start of the next video frame, then at the end of the frame the device is queried for another hit. This is not emulated because I do not sample the video buffer, looking for a bright light. I score a “hit” whenever the device is sampled and scan line matches the mouse vertical position.

If people start writing new games and they want to use the second method I will add it to the emulation.

Arbitrary GDB

Just now I read about a new release of Xcode for Mac OS X. In part of the new release notes was this:

    opening a maliciously-crafted DWARF binary with GDB could lead to arbitrary code execution.

That is the funniest thing I have read in a long time. Every GDB session leads to arbitrary code execution.

John Hodgman

A few weeks ago I went to the John Hodgman book signing/performance in San Francisco. He was fantastic. Jonathan Coulton was also very good. Here is a little bit of video I took:

Asking for forgivness

> >Would it upset you in any way if I registered MacMESS.org?
>
> No, I don’t have any objection as long as you do use the name
> for sites related to MacMESS.

I am guessing a personal blog under macmess.org would be against this term he set out for me. So I hope a sub domain is enough separation.

Welcome to my new blog. I’ll be copying all of the old content to this new blog. But it’ll take some time, there is no “export” in my old blog software.

My Summer Vacation

Last week I spent my Summer vacation in the Sequoia national forrest. I went to diabetes camp; family camp. My youngest daughter was diagnosed about three years ago, it was quite a life altering event.

In my youth I went to a camp called Camp Odyssey. It was somewhere in the Sierra Nevada mountains near a lake called Ice House Lake. I can never remembered exactly where it was, but I went for three years in a row. It was so much fun.

This year my wife informs me that we are going to diebetes camp. The drive to Bear Skin Meadows was going to be about five hours. I knew about regular camp, but I had no idea what to expect in this situation. The idea of Family Camp seemed kind of weird. But it turned out to be another life altering event.

At camp we were about thirty families spread out over a couple of acres. We were grouped to about four or five families per deck. The sleeping arrangements were 40 x 40 foot decks with a small covered area for storage. We slept under the stars. Thankfully, there was no rain. In fact the weather was perfect the whole week.

The schedule was very planned, but not ridged. Usually after breakfast the parents would separate from their children (both diabetic and non-diabetic). The parents would go for an 90 minute education class and the kids had a rotating schedule of swimming, sports and games, archery, crafts, and drama. Then a communal snack, then more education for the parents and another event for the children. Then lunch was served, then free time where parents could do one of the above activities with their children, or go off camp. Later would be another snack and then dinner.

On some nights the children would be taken back to the decks by their counselors and other staff would stay with the parents and we could talk in the dining hall.
Parents come with their children to family diabetes camp because there is no way we would ever think of leaving our children in the charge of strangers. Usually friends and family have to go thru a twenty to thirty minute teaching lesson before we will leave our diabetic child with them. And forget about sleep overs. But at Bear Skin Meadows the first night everyone is gathered around the stage and the counselors are introduced and the children in their group are called down. And then they go off. For me this caused a little bit of panic. Who are these teenagers and young adults taking my diabetic child? The camp director tells everyone that 90% of the counselors have diabetes and they are all trained in emergency procedures, they all have “low bags” that include blood glucose checking kits and candy. After a week of this schedule and being around the staff and counselors I can attest that this is true. I have never before been around a group of young adults that have my implicit trust.

I’ve found a place where, for a week each summer, I don’t have to worry about my daughter’s diabetes.