RIP: Michael S. Hart, founder of Project Gutenberg

September 8, 2011 | Gutenberg Gems | By: Mark VandeWettering

Dan alerted me to the fact that Project Gutenberg founder Michael Hart passed away. On the Project Gutenberg site, Dr. Gregory Newby wrote a very nice obituary:

Michael S. Hart – Gutenberg.

I also liked this quote from Hart:

“One thing about eBooks that most people haven’t thought much is that eBooks are the very first thing that we’re all able to have as much as we want other than air. Think about that for a moment and you realize we are in the right job.”

I’m a huge fan of Project Gutenberg. I’ve enjoyed many classic books in their collection, from the stories of Conan Doyle, to Robert Louis Stevenson, to Lewis Carroll, Bram Stoker, Mark Twain, Charles Dickens… And on and on, as far as the public domain can take me. It’s hard to overestimate the value to public literacy that Project Gutenberg provides, and it could provide much more as a resource if people used it more. Thanks to Michael Hart, what a great contribution to humanity, and what a great legacy.

Are ‘ham’ operators going the way of 8-tracks and VCRs?

September 7, 2011 | Amateur Radio, Rants and Raves | By: Mark VandeWettering

Jeff, KE9V pointed at the following article via Twitter:

Are ‘ham’ operators going the way of 8-tracks and VCRs?

The author actually meanders a bit (into the why we call it “ham radio”, for some odd reason, but his main point seems to be this:

As National Public Radio found last March, amateur radio is an experience that can’t be duplicated surfing the Internet. That’s why when NPR attended a ham radio convention in St. Louis, a reporter found teens carrying on the hobby. As one 15-year-old said, Facebook and texting are fun, but it can’t match making friends with a $200 radio for which you don’t have to pay a monthly fee.

I groaned a bit inside, because this is complete balderdash.

Okay, it’s not complete balderdash. I am not one to tell teens (or anyone else) what is fun and what is not fun: they are capable of figuring that out for themselves. I’ve no doubt that the teens they interviewed at a ham radio convention thought ham radio was fun, otherwise, they probably wouldn’t have been there. But I also suspect that if you took away a teen’s mobile phone and replaced it with a $200 HT, you’d find that even those attending the conference would probably be more than a little upset.

The reason is obvious: a mobile phone and an HT aren’t interchangeable. They don’t do the same thing.

Most notably, an HT is a ham radio, and radios like that are almost exclusively for communicating with other hams. If you want to communicate with someone who isn’t a ham, a ham radio isn’t really all that valuable. At best, it requires a clumsy relay. In practice, it just isn’t done. You’d just fire up your phone and call them. Or text them. Or email them. Or Twitter. Or Facebook. Or post something to a blog. You’d send them a picture. Or a link to a YouTube video. If you really want to communicate with someone, I’d submit that the Internet provides a much richer environment than amateur radio.

Okay, but let’s say you do want to talk to hams. Isn’t ham radio the most obvious way to communicate with other hams?

Well, I’d submit the answer is mostly no. If your goal is to communicate, all of the ways that I mentioned above are still excellent, reliable, high bandwidth means of communication. Even if you toss in the requirement that the communication be free, the wide availability of WiFi in many areas (from coffee shops to libraries) makes conventional Internet a very attractive means of communication.

If you accept this, then it does seem that amateur radio is going to go the way of the Dodo.

But I don’t believe it will, because ham radio does provide some things that the conventional Internet doesn’t.

First of all, it relies somewhat less on infrastructure, so it provides a backup in times of emergency. This capability is widely trumpeted as the (primary?) virtue of amateur radio, and as justification for our spectrum allotment. Our pool of self-trained emergency communicators can provide some valuable assistance to local communities in case of emergency as a kind of failsafe.

Secondly, even in non-emergency cases, ham radio can provide some capabilities which would be difficult to reproduce using more conventional wired or wireless technology. Repeaters can provide broad coverage in areas not well served by cell towers. HT’s and small HF rigs can enable people hiking and camping in remote areas to communicate.

But primarily, ham radio is a kind of sport: an active pastime. A form of recreation. We do it because we like to do it. It provides us an interesting opportunity to achieve mastery. Mastery makes us feel better. The activity provides a means to connect with other humans and relate to them about our shared interests.

The invention of the motorboat didn’t end surfing or swimming. The invention of canned tuna fish didn’t end fishing. The invention of cars didn’t end walking or running. Depending on the emergency, skills like walking, fishing or swimming may save your life, but that’s still not why people do them: they do them because it’s fun.

As long as ham radio continues to be fun, ham radio will continue.

Sprites mods – CP/M on an AVR

September 5, 2011 | electronics, Hacking, Hardware | By: Mark VandeWettering

I’ve always been fascinated by emulation and virtual machines, as well as retro-computing: resurrecting the old machines of my past. I never owned an old CP/M machine, but there are still some neat projects where people construct there own, and simulators like SIMH and YAZE-AG are good software simulators. But what I always wondered was whether a small microcontroller like an Atmel AVR could simulate an 8080 or Z80 fast enough to simulate these older machines.

And of course, today I found a link to someone who did just that. With a remarkably simple chunk of hardware. One AVR, a dynamic RAM, and an SD card to serve as a mass storage device. The combination is good enough to run Zork. I’m suitably impressed. The design and code are all GPL.

Sprites mods – CP/M on an AVR – Intro.

Roger G3XBM recommends Boy’s Book of Crystal Sets

September 4, 2011 | Amateur Radio | By: Mark VandeWettering

Roger has found another real gem of a link: a great book called The Boy’s Book of Crystal Sets. Flipping through it, it seems awesome, and Roger recommends it as an influential book of his youth. Worth checking out.

Roger G3XBM’s Amateur Radio Blog: Boy’s Book of Crystal Sets.

More ARISSat-1 recordings…

September 2, 2011 | Amateur Radio, Amateur Satellite | By: Mark VandeWettering

Got a short recording of ARISSat-1 this evening. Not 100% sure, but it may have transitioned into low power mode at the end of this recording, I seemed to lose carrier and couldn’t reacquire the satellite. In any case, here’s the recording, and the one decoded SSTV image (not too exciting, but pretty clear).

ARISSat-1 recording, Sep 02, 2011

ARISSat-1 and the ISS over California

September 2, 2011 | Amateur Radio, Amateur Satellite, Amateur Science | By: Mark VandeWettering

I got a tweet from twisst, the ISS pass prediction robot yesterday indicating that I’d have a good pass around 8:25PM. While I am fighting off a cold, the weather was beautiful and nice, and so I ran some path predictions to see what the path looked like, and also checked on ARISSat-1’s path to see how it was doing. I hadn’t recorded ARISSat-1 since it’s first launch weeks ago, and hoped that in spite of it’s rapidly increasing battery problems, that it would still be in sunlight, and would therefore still have a strong signal. ARRISSat-1 would lead the ISS by about 23 minutes, rising around 8:02 or so, but since I have a tall horizon to the north where it would rise, I wouldn’t expect to pick up a good signal until it cleared the hills, about 8:06 or so.

It turned out to be a really good pass: I got three different SSTV images, and some really clear audio telemetry. The first SSTV image and the last were pretty marginal, but the middle one was really clear (sad, since it was the least interesting). When I first recorded ARISSat-1 shortly after launch, I had periodic fades which I hypothesized as tumbling of the satellite: those appear to be entirely gone. I’ll have to try again to see if I can get a better and more interesting SSTV image.

After ARISSAT-1 set, I waited until 8:25 to see if the ISS would come up. I tuned into 145.825 (the ISS packet radio frequency) and waited with my iPhone camera ready. By then, it was surprisingly dark, so my camera recorded mostly just blackness, but toward the end of the clip, you can see a faint dot in the recording (and very little else). Not too exciting, but I left the audio from the radio playing in the background, so you can hear the digital packet signals being echoed through the ISS. The ISS was predicted to peak at magnitude -3.1, which made it brighter than any star in the sky, and it was very easy to see.

Here’s the resulting video. WARNING, spoiler: I forgot to edit out the “secret word” in this recording. Blame it on the cold medicine I’m on.

I’ll probably try to record another pass soon. Stay tuned.

Wireless Bluetooth RS232 TTL Transceiver Module – Free Shipping – DealExtreme

August 31, 2011 | electronics | By: Mark VandeWettering

No commentary, I just found a reference to this module in this cool article on making a VGA scoreboard. The author intends to send information to an AVR using this module, and the price and capability seems pretty good.

Wireless Bluetooth RS232 TTL Transceiver Module – Free Shipping – DealExtreme.

Donald Michie, Alan Turing, Martin Gardner, and Tic Tac Toe

August 28, 2011 | Computer Science, Cryptography, Games and Diversions | By: Mark VandeWettering

As anyone who reads my blog with any regularity will tell you, I like to read and learn new things. The problem with being self taught and also easily distracted means that you often learn a great deal, but don’t always perceive the connections and scope of what you are learning. I found another example today while surfing.

Years ago, I remember reading one of Martin Gardner’s Mathematical Games columns (from March, 1962, in case you want to look it up) where he described an interesting machine for playing tic-tac-toe. It was made entirely out of matchboxes, each one of which had a tic tac toe position on the top. Inside was a collection of colored beads. Each color specified a possible legal move for the position on top. The idea was that you’d play a game by drawing these beads from the appropriate box, and making the appropriate move. At the end of the game, you’d remove the bead from the last box that sent you along the losing path. Eventually, all the losing moves get removed, and the machine plays perfect tic-tac-toe. Gardner showed how this same idea could be used to create a matchbox computer to play hexapawn, a simple game played with six pawns on a 3×3 board.

I really haven’t given it much thought since then. Many of you have probably read this article in one of the collections of Gardner’s columns.

But today, I was surfing through links and reread some of the details. I found that the machine was called MENACE (Matchbox Educable Naughts and Crosses Engine) and was invented in 1960 by a gentleman named Donald Michie. And it turns out that he’s a pretty interesting guy.

He was a colleague and friend of Alan Turing, and worked with him at Bletchley Park. Apparently Michie, Turing and Jack Good were all involved in the British code breaking efforts, and in the creation of Collosus, the first digital programmable computer which was used to crack the German “Tunny” teleprinter code. (Good and Michie were apparently two of the authors of the General Report on Tunny, a report on the cracking of the code which has only in recent years become declassified). None of this work could have been known by Martin Gardner at the time of this publication. Of course, this was also true of Turing’s work as well.

Turing made a huge impact in several related disciplines: in mathematical logic and computation, in his wartime efforts in code breaking, and in his role in creating some of the first digital computers. Turing also became interested in mathematics in biology, writing about the chemical foundations of morphogenesis and predicting oscillatory chemical reactions. Michie received a doctorate in biology from Oxford, but returned to have a profound and lasting influence on artificial intelligence. Oh, and that modest little paper on Tic Tac Toe? One of the first instances of reinforcement learning.

Very cool, to discover that the little bit of reading you did as a teen, which seemed like an insignificant game at the time, actually has profound threads which stretch out into lots of different areas.

Donald Michie’s Home Page
Trial and Error, the paper describing MENACE

Don Henley on the PROTECT IP Act

August 26, 2011 | Intellectual Property | By: Mark VandeWettering

Today I noticed an editorial by founding member of the Eagles, Don Henley asking for the passage of the PROTECT IP Act currently stalled in the U.S. Senate.

The basic of idea of the PROTECT IP act is that the Attorney General or private intellectual property rights holders can ask the court to issue an injunction against foreign “rogue” sites whose primary purpose is to engage in intellectual property violations. When such an injunction is granted, search engines, Internet providers, credit card companies, and ad networks would be required to cut off all access to these sites.

There are perhaps some arguments to be made for such an approach, but Henley doesn’t seem to find them. Instead, he seemingly wants to engage in dramatic hyperbole. He begins with a claim that foreign websites trafficking in “American arts and entertainment products” cost the U.S. 58 billion dollars annually and 373,000 lost jobs, with 16 billion dollars in lost earnings and 2.6 billion dollars in lost tax revenue. Wow! That does seem serious.

But where do these numbers come from? Apparently from this study this study by IPI.org. These numbers are apparently drawn from a study which examined data from 2005. But where did they get these numbers? By numbers which are for the most part reported by industry groups that represent rights holders, rather than by any actual statistics on piracy costs. For instance, the IPI study highlights numbers from the Business Software Alliance, a group which has been widely criticized for methodology which exaggerates the cost of infringement on copyrighted software.

But we could argue about what those numbers are all day. I’m not going to really try to argue them because I doubt any meaningful numbers exist. I certainly have none that I would propose.

What is really disturbing is that it can’t possibly work. The PROTECT IP Act requires that DNS servers and search engines remove the information and routes that would allow American citizens to reach these foreign infringing websites. In other words, it requires them to censor websites. And in the words of John Gilmore,

The Net interprets censorship as damage and routes around it.

If domestic name servers start to censor individual websites, all we will have done will be to create a market for offshore name servers and search engines which aren’t censored. The Internet is supposed to allow every end point to talk to every other end point. That is what it is for.

This article lists eight different ways to circumvent the PROTECT IP Act. It’s easy. Really easy. Provide incentive to anyone, and it will be even easier. It’s not like every downloader needs to be smart. As Mike Godwin said, all you need is one smart cow, the rest will follow him out the open gate. It’s not clear that the PROTECT IP Act will recover even a single dollar of lost revenue, or create one job.

Unless of course, you consider the government jobs it creates. The Congressional Budget Office estimates that enforcement of the law will cost about $10 million annually, and will require the Justice Department to hire 48 people. It should be noted that this does not include the cost to tech companies for whom compliance with the Act is simply an expense.

But what really irks me about Henley is this paragraph:

Critics of this pending legislation need to be honest about the company they keep and why they essentially aid and abet these criminal endeavors. The Electronic Frontier Foundation (EFF), a civil liberties group, claims such a bill would “break the Internet,” while Google Executive Chairman Eric Schmidt says it sets “a disastrous precedent” for freedom of speech. No one has the freedom to commit or abet crimes on the Internet. Stopping crime on the Internet is not, as EFF says, “censorship.” There is no First Amendment right to infringe intellectual property rights.

It begins with an intended slur: if you object to the PROTECT IP Act, you are aiding criminals, as if there were no reason to object to it. You could object to it on the grounds that the MPAA and the RIAA have consistently misrepresented their losses. That they have continued to successfully lobby for increasingly expansive and draconian remedies against infringers. That legislation like the PROTECT IP Act do signficant damage to fundamental principles like “presumption of innocence”, “burden of proof” and “freedom of speech”. And from my view, that it cannot possibly work without creating greater damage than it prevents.

Google CEO Eric Schmidt said it thusly:

“I would be very, very careful if I were a government about arbitrarily [implementing] simple solutions to complex problems,” he said. “So, ‘let’s whack off the DNS’. Okay, that seems like an appealing solution but it sets a very bad precedent because now another country will say ‘I don’t like free speech so I’ll whack off all those DNSs’ – that country would be China.

“It doesn’t seem right. I would be very, very careful about that stuff. If [the UK government] do it the wrong way it could have disastrous precedent setting in other areas.”

In the United States, we are supposed to consider even bigger issues than money and jobs.

Don Henley: Internet theft is a job-killer, too – USATODAY.com.

Mag 7 Star Atlas Project

August 25, 2011 | Astronomy | By: Mark VandeWettering

Tom mentioned that a new supernova had been found in M101, a spiral galaxy in Ursa Major. While I used to be a bit of a telescope maker, and could generally find my way around the sky, I wasn’t one hundred percent certain I knew where to find M101. So, I turned to my copy of
Uranometria 2000. And… I still didn’t know really. The charts in that book are good for star hopping at the eye piece of a telescope, but less so for just finding your way around the sky.

In digging around for a decent online map, I found a link to the Mag 7 Star Atlas Project by Andrew L. Johnson. It’s a very nice 21 page atlas, which is very pretty, and is excellent for both visual use, and use with small telescopes or binoculars. And it’s licensed under the Creative Commons too! Win!

Below is a JPEG of the first chart, rendered at 2K wide. The actual atlas is in PDF format, so will print out at the full device resolution, and will look even nicer.

Here’s the link:
Mag 7 Star Atlas Project : Andrew L. Johnson : Free Download & Streaming : Internet Archive.

Q: Should blogs make font choices for you, or not?

August 25, 2011 | Blogging, Web Development, Web Programming | By: Mark VandeWettering

I’ve been making some minor tweeks to the excellent 1024 px WordPress theme that I started using a few weeks ago. I found a small issue with the CSS for images that are supposed to be center (a priority mistake meant it didn’t work) and I’ve made a few other minor tweaks. I finally got around to considering some questions regarding fonts, and I thought I’d ask you, my readers, give me the benefit of your opinions.

The 1024px stylesheet listed Verdana, Tahoma, Arial, and sans-serif as the search order for fonts. Not a bad list really, I think Verdana is an excellent screen font, with excellent legibility and good weight. Since my eyes have become somewhat presbyopic, and I spend a great deal of time reading stuff on screen, I’ve become somewhat more sensitive to these kind of issues.

But there are a couple of problems with the defaults.

First of all, Verdana and Tahoma (which are truly excellent, it must be said) aren’t really universal. I believe that they are installed by default on Windows and Mac OS, but not on most of the Linux installations that I have seen. On most Linux boxes, I end up using Dejavu Sans as a substitute.

If you don’t have either Verdana or Tahoma, this theme falls back onto Arial. I do have Arial installed on most of my systems, because lots of things need Arial or Helvetica. But here’s the thing: Arial is really ugly. It’s not pretty even in print, but it’s just wonky to use on screen. Sadly, this is what I get a lot of the time.

And, of course, if you don’t have any of those three, it falls to the browser default sans-serif, whatever the system default is, or whatever you’ve chosen.

Okay. So, I thought that perhaps i should just leave it up to you. I’ve all the font selections from the theme’s stylesheet. Whatever default you configure is what you get.

And yet, I’m not happy with that either. It appears (for instance) that on Mobile Safari, the default is always a serif font, and you can’t change it. That’s not very good: I think serif fonts are virtually by definition harder to read on screen. Mobile Safari does support Verdana. I could actually make a special style sheet just for my blog, but that seems to be a slippery slope.

So, the question is: do you think web page authors (and in particular, blog authors) should make font choices for you? If so, what choices are reasonable? If not, are there drawbacks?

Feel free to leave a comment below.

Addendum: Okay, I shifted back to specifying fonts. By default, mobile browsers like Safari on the iPad and iPhone seem to resort to a serif font, which on a tiny screen is simply not a good idea. The list I came up with was Verdana, Tahoma, DejaVu Sans, and then whatever “sans-serif” is. Arial is just too ugly to use.

Some thoughts as Steve Jobs resigns as CEO of Apple…

August 24, 2011 | Rants and Raves | By: Mark VandeWettering

Breaking news: Silicon Valley pioneer Steve Jobs has stepped down as CEO of Apple, and Tim Cook will be stepping up from his previous role as chief operating officer to become CEO.

This post talks a bit about my employer, Pixar Animation Studios, but in no way should be construed as anything but my own opinion. I cannot, and do not desire to speak for them.

Without doubt, TV, papers, blogs and everyone else will be spending time over the next few days looking both forward and back over his career and predicting what the future holds for Apple and Steve himself. I won’t peer into my crystal ball for either: I have no special insight with regards to either, but in the twenty years I spent at Pixar, I did have a view from the side lines, so I thought I might offer a bit of perspective.

Anyone who has talked to me for any period of time knows that I’m not a typical fan boy. I have an inherent skepticism about the rich and powerful. We have a culture in the U.S. which tells us that the those who are successful must be different from the rest of humanity. They simply must be smarter, or braver, or more creative or more insightful than the rest of humanity. I don’t believe it. The fact is that while all those factors play some role in success, good old fashioned luck also plays a role. You could be smart, diligently apply all the advice you got from all the smart people you know, and you won’t necessarily become the next Mark Zuckerberg, Sergey Brin, Bill Gates or (yes) Steve Jobs. I suspect that there are alternative universes where Steve Jobs isn’t even Steve Jobs: where a seemingly meaningless event occurred in his alternate existence, and Apple doesn’t get formed. I’m also one of those lefty socialists who doesn’t believe that there is necessarily a link between that which is good and that which is profitable.

But in spite of those caveats: I still think Steve is a remarkable leader. Perhaps uniquely so.

I’ve worked at Pixar since 1991, and in those early days Steve was seen regularly around our campus. I was just a beginning programmer back then, in my first real job, and I couldn’t help but be intimidated (not a usual emotion for me). He was a force of nature. He was ruthless and uncompromising in his pursuit of his vision, and seemed to have little patience for those who didn’t share it. But I’ve experienced the reality distortion field first hand, and it’s very real.

Here’s the thing: he really does have a vision. A bold vision. An inspired vision. And he has an amazing talent for surrounding himself with people who could help in achieve that vision.

The success of Apple and Pixar both required a bit of luck. You can look back to individual things that occurred, and had things worked out a bit differently, perhaps neither would have become the iconic brands that they both have become. But there is no doubt in my mind that Steve’s leadership was essential to the success of both.

Pixar and Apple share a simple principle: that producing good products is the way to build a good company. For Pixar as a film studio, story matters. For Apple as a producer of computers and consumer products, design matters. Both companies try to produce stuff that is simply insanely great. There is a certain respect that both companies have for consumers. Both believe that it is important to put out good products. Customers can tell the difference. Your second best work is not sufficient. Only your best can change the world for the better.

And yes, before everyone piles on, there are lots of things that I don’t particularly like about Apple, not the least of which is my aforementioned skepticism about anybody or anything which becomes too powerful or influential. I don’t really want Apple (or Facebook, or Google) serving as mediator for all my interactions with my fellow man. My support of open source and the culture of sharing is in conflict with the universe that Apple and Steve himself would probably desire. But whatever philosophical differences I have with Apple, I’m reassured that Apple at least has a philosophy, and whatever failings it might have: it’s forward looking, and centered around producing the kinds of products that people want to buy.

Tim Cook, you’ve got some big shoes to fill.

To Steve Jobs, thanks for challenging not just your companies but the entire computer industry to “think different”. You’re going out on top. Best wishes for health and long life.

How-To: Coffee Can Radar

August 23, 2011 | Amateur Science, electronics | By: Mark VandeWettering

This is awesome! MIT has created an interesting course as part of the their Open Course Ware project: it describes how radar can work, and as a final project, students were expected to build an test a simple radar system. Their description:

Are you interested in building and testing your own imaging radar system? MIT Lincoln Laboratory offers this 3-week course in the design, fabrication, and test of a laptop-based radar sensor capable of measuring Doppler, range, and forming synthetic aperture radar (SAR) images. You do not have to be a radar engineer but it helps if you are interested in any of the following; electronics, amateur radio, physics, or electromagnetics. It is recommended that you have some familiarity with MATLAB®. Teams of three students will receive a radar kit and will attend a total of 5 sessions spanning topics from the fundamentals of radar to SAR imaging.

I haven’t read a lot of this, but I’m bookmarking it for future perusal.

MAKE | How-To: Coffee Can Radar.

Real Sound Cookery – Make a contact mic with baking soda and cream of tartar. | leafcutterjohn.com

August 22, 2011 | Amateur Science, electronics, Music | By: Mark VandeWettering

A couple of months ago, Collin’s Lab featured a story about making your own piezoelectric crystals from Rochelle salt. Collin stopped short of making an actual microphone though: he just demonstrated that the salt crystal would generate a series of voltage spikes when whacked with the handle of a screwdriver. Leafcutter John followed pretty much the same recipe to make crystals of his own, and then clamped the crystal between the jaws of a little panvise, and hooked it to an audio amplifier. When a small music box was held near the crystal, a surprisingly high fidelity recording resulted. Check it out!

Real Sound Cookery – Make a contact mic with baking soda and cream of tartar. | leafcutterjohn.com.

Yawcam – Yet Another Webcam Software

August 22, 2011 | Link of the Day | By: Mark VandeWettering

At various times, I’ve wanted to set up a little webcam server, but hadn’t really found a program which combines ease of use with versatility. But today, I found a mention for the program “Yawcam”, a Windows only webcam software written in Java, and decided to give it a try. Bingo! It works pretty well! It’s free, it provides a wide variety of capabilities (including image snaps, video streaming, and a built in webserver). The only real downside is I wish it wasn’t on Windows. It’s “donationware”, check it out if you are in need of something like that.

Yawcam – Yet Another Webcam Software.

Addendum: Here’s a picture of Scrappy!