Red Echo

January 27, 2012

Ava just got an Acer Aspire One, the 522 model. We installed Ubuntu 11.10, which is very pretty and which has an install procedure about as easy as it could possibly be. The machine worked fine for about a day, then started locking up, seemingly at random. Oh no!

Ava eventually noticed that the lock-up happened when the machine connected to the network. After poking at it for several hours and going through a handful of reinstalls, I found this page which explains the problem and offers a simple fix:

In fact, every time you try to connect to a wireless network, your netbook may freeze, the only option being a hard reset !

It seems that this bug comes from a conflict between the ethernet and the wireless adapter.

But the good news is that there is a very simple tip to avoid this bug : you need to setup a specific boot order, where the network boot is used first. With this setup, the ethernet adapter will be configured in a way that there won’t be any conflict with the wifi adpater at the time of wireless network connexion.

Ah, what a relief. The fix works perfectly.

January 23, 2012

Surprising, unexpected victory for “the right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures”: the U.S. Supreme Court has ruled that the cops do, in fact, need a warrant before they can just stick a GPS logger on your car.

This is pretty far out in “well, duh” territory, but after a couple decades watching law enforcement agencies get everything they ask for in the name of various imaginary wars on various imaginary bogeymen, it’s awfully satisfying to see them take a rebuff for once.

I’ve been hearing references to the Parisian tunnel explorers for years, but this Wired profile covers them in some nice depth. They sound like a great bunch; I love their decentralized, do-it-yourself style. Too bad Seattle is too young a city to have anything like the tunnel system they get to explore, and America too phobic about imaginary terrorists hiding under the bed to take the legal risk.

January 22, 2012

Machining a PCB using a CNC mill – cleaner and faster than photoresist and chemical etching.

January 20, 2012

Strange to think that string-copying functions are still a subject of active debate in 2012, but here’s a clearly-written, well-thought-out survey of the current options and a proposed solution to their various buffer-overrun risks and performance constraints:

This is a look at the various means in C to copy strings, and their safety and performance implications. What is surprising is that all of the available implementations, even the venerable *BSD strl functions have serious issues.

To preface, I am only going to cover null-terminated strings, because that is what the libc runtime, which is the foundation that every language ultimately reaches down to in the end, is built around.

I will also cover a new proposed alternative to address the problems I’ve mentioned at the end of this article.

SOPA is dead

Lamar Smith, the chief sponsor of SOPA, said on Friday that he is pulling the bill “until there is wider agreement on a solution.” His statement is full of exactly the sort of self-serving nonsense you’d expect from a career politician who is trying to make a graceful exit without admitting that he made a mistake, but this battle is clearly over.

January 19, 2012

Looks like it worked

This infographic shows the overnight change in congressional supporters vs opponents of SOPA/PIPA. The effect of the blackout was a net shift of 85 votes to the side of the angels, which is now ahead by 36 votes.

The MPAA will keep on trying, of course, and we need to keep up the pressure. Here is the letter I sent to senator Maria Cantwell.

Senator Cantwell -

Thanks for your opposition to PIPA. As our world becomes more technology-driven, speech increasingly occurs through the Internet. The architecture of the Internet must be protected from the short-sighted meddling of big media corporations if our First Amendment rights of free speech are to remain meaningful.

I urge you to keep on resisting the MPAA’s attempts to abuse the democratic process. Rather than adapt to the new world of electronic distribution, they are trying to strongarm the US government into protecting their old-fashioned business models, and they will undoubtedly keep on trying regardless of the cost to our fundamental freedoms. Please stand firm and continue to protect our rights of free speech!

your constituent, and fellow Real Networks alum -
Mars Saxman

And here’s the similar note I sent to representative Jim McDermott, who appears to be leaning toward the anti-SOPA side but hasn’t come out strongly against it:

Congressman McDermott -

I’m glad to hear that you are not inclined to support SOPA. While violation of copyright licensing terms may well be a concern for those businesses which still depend on obsolete pre-digital content distribution models, this relatively minor regulatory issue in no way justifies the vast, chilling censorship regime SOPA would create across the public Internet.

As our world becomes more technology-driven, more of our speech occurs through the Internet. The architecture of the Internet must be protected from the short-sighted meddling of big media corporations if our First Amendment rights of free speech are to remain meaningful.

I urge you to vote against SOPA, and to resist its successors as well – it seems likely that SOPA will fail, but I’m sure that the MPAA will try again. Please keep on looking past their short-sighted profit-seeking motives and protect our fundamental freedoms of speech.

Thank you, from one of your constituents.

Mars Saxman

January 18, 2012

Internet censorship

It’s neat watching almost every site I visit regularly either shut down or at least put up some special censorship-related graphics to promote the anti-SOPA/PIPA protests. Even Google has gotten in on the act – I’d hoped they wouldn’t wuss out, and watching them put some muscle into the debate makes me feel like I chose the right place to work.

I miss the old days, when the politicians had no idea what to do with us and pretty much let us alone. I can think of nothing positive that legislature has ever accomplished for the Internet. I’m sad that we have to stoop to their level, and dirty ourselves by dealing with their corrupt process, just to maintain our ability to do what we do; but this is the world we’re stuck with, and as revolutionary as the Internet is we can’t entirely escape the fact that our wires run through their dirt.

I’m going to make the best of a bad deal, and do my part to protest the nightmare that is SOPA/PIPA. If we make enough noise, perhaps we can scare them enough that they’ll think twice before accepting those MPAA bribes next time.

Join me?

January 17, 2012

Welcome to the future: Makerbot Playsets are a set of 3D models for dolls and dollhouse accessories. Why buy your kids toys from a store when you can print them yourself at home, using free models downloaded from the Internet?

January 16, 2012

I took advantage of the holiday to go skiing with Kevin M. at Crystal Mountain. The recent snow meant the slopes were covered with seven inches of fresh powder, and the flakes kept falling all day.

This was the strongest season opener I can remember – I felt good and skied fast all day. Despite the holiday weekend, there were no significant crowds – we skied almost straight on to the lifts, waiting one or two chairs at most.

We struck a compromise between Kevin’s interest in deep powder and my preference for steep, smooth, fast runs, and both had a good day. I got to try out some of the new terrain Crystal opened up when they built the Northway chair a couple of years ago; we skipped the new gondola, though.

I wore my new ski pants and they performed well. I did find one change I need to make – I neglected the fly topstitching, and it makes the whole thing gape a bit. That’ll be easy enough to fix. Aside from that I have no complaints: the pants are comfortable and useful, and they kept me warm all day.

I was disappointed to learn that the traditional wire hangers for lift tickets are obsolete – I was careful to include a D-ring in the waistband of my new pants so that I’d have somewhere to clip the ticket! Oh, well, apparently all the ski resorts have gone RFID now, so you just brush your pocket against a sensor when you get on the base lift, and that’s that.

January 15, 2012


Beloved wife and her cat enjoying the snow. Flakes have been falling all day, and it’s sticking – there’s a good inch or two piled up out there now. This is a good day to stay inside with some hot tea.

Ava wanted some plywood pieces for an art project she is working on, so we walked over to ALTSpace and I helped her learn how to use the table saw. She was a little intimidated but got the hang of it quickly.

We took the cat over with us, where he entertained himself by patrolling the workbenches hunting for dust-bunnies. Despite persistently demanding that we open up his favorite window so he could stick his head out and watch the weather, he was not at all interested in the physical reality of snow when we put him out into it. There’s something really adorable about harmless kitty indignation.

January 11, 2012

Shorter work weeks

This Fast Company article makes a case for shorter work weeks as a sensible, even inevitable solution to economic contraction. This echoes a thought that’s been circling my mind during the political debate over the last year or two. Every candidate goes on and on about their plan for “creating jobs”, and every tax issue is debated in terms of its impact on “job creators”. Economic growth seems to be defined in terms of the number of 40-hour full-time jobs available. Everyone seems to ignore the fact that there’s no fundamental reason the amount of work available should correlate neatly to the number of people who need to support themselves. Economies do not scale in a linear fashion.

The computer industry, in particular, is all about sub-linear scaling. This is particularly important as the big story of the last 30 years has been the spread of computing into all other industries, and into practically all areas of life. This spread will continue for the forseeable future; it’s not going to be possible to talk about a “computer industry” for much longer, because it will be nothing more than the economy itself. How do we keep on “creating jobs” in a world where the dominant technological trend derives its value from automating away any trace of manual, repetitive work?

It seems clear to me that we as a society are either going to have find some way to invent meaningless work for people to do, so that we can justify giving them enough money to live on, or we are going to have to increase the number of people who can have a share of the remaining work by reducing the amount of work each person does. Redefining the standard full-time work week downward sounds like a reasonable way to accomplish the latter.

I’d be delighted to have a shorter work week, actually. I love the work I do, and intend to keep on doing it for years or decades to come, but there are quite a lot of other things I’d also like to do. I’d happily accept a reduced salary if it freed up a corresponding amount of time to pursue reading, making, adventuring, and socializing.

January 10, 2012

Why there is no pink light

Minute Physics explains why the color pink is an illusion and where the perception of the color pink comes from.

January 9, 2012

Motorcycles, commuting, electricity

I ride my motorcycle to work every day. The last few winters have included stretches of freezing temperatures with icy or snowy roads, so I’d expected that I’d have to spend a month or so driving or taking the bus instead, but so far the weather has remained mild.

There are no assigned spaces in the Google parking garage, but as a motorcyclist I can fit into otherwise-inaccessible spaces, so I always slide my bike in to a certain half-width slot next to the door. It happens to be right next to the bank of EV charging stations. Seeing that line of Leafs and Volts every morning has gotten me thinking….

I’ve looked at commercial electric bikes, of course, and either the Brammo Enertia or the Zero S would make a great commuter. There’s just no way I’m spending $10k-plus on a motorcycle no matter how cool it is, and electric motorcycles haven’t been around long enough for a used market to develop. I might be able to talk myself into considering a used Zero S if it were even half the price, but it’ll be five or ten years before that’s an option.

In the meantime, I’ve been thinking about building an electric trike for Burning Man, using bits of mountain bike frames, a pair of deep-cycle batteries, and a 24-volt motor. But what if I took it further? I could mount six batteries, a beefier controller, and a 72-volt motor onto the frame of some cheap bike from Craigslist, preferably one with a blown engine, for a total parts cost around $2500. This is not a novel concept; there are dozens of tutorials on the web showing off various conversions, and you can buy all the difficult bits of electrical engineering as commercial modules. Most of the work would be in the fabrication, and I’ve got a workshop with a MIG welder handy…

Once I’ve got this electric bike, then, it’s easy to see how to charge it at work, but what to do at home? I could roll it up into the alley behind my apartment and throw a cord out the window, perhaps. Or I could rig up a charging station out in front of ALTSpace.

That suggests an interesting problem. How do I secure this charging station? Electricity costs money, and if I stick an EV charging station on the sidewalk, people other than me are going to plug their cars into it, and I’ll end up paying. It clearly needs some kind of lock. But what if people could just pay to use the charger, using something like those fancy parking meters the City of Seattle installed a few years ago?

Perhaps this is a way to help drive the build-out of EV charging infrastructure. There’s currently a weak incentive for people to install EV charging stations for their customers, but the incentive could be much stronger if the chargers would pay for themselves. I imagine the installation cost might be on the order of $1000 per unit. Car owners would park, pay for some number of kilowatt-hours, plug in, and go about their business. The station owner would pick some markup over the base per-kWH rate. It would obviously take a long time to pay for the charger given current levels of EV penetration, but it might be enough of a boost to get a few ecologically-minded property owners to sign on. There’s also a potential marketing boost; EV owners are likely to be well-off compared to the population at large, and sticking an EV charging station in front of your business is a good way to get them to come to your shop instead of someone else’s.

Postscript: well, what do you know, I’m not the first one to think of this.

January 5, 2012

My Hometown Is Better Than Yours

A series of photos with captions explaining why Seattle is objectively superior to the place you grew up. With comments such as

In the ’60s, the federal government tried to confiscate this mountain range under the principle that it’s not fair for one city to have so much view.

and

Seattle invented bricks and mortar in the 5th century BC. Then in the 20th century AD, it invented Amazon.com and made them obsolete.

January 4, 2012

I’ve been reading Two Sides of the Moon, a dual autobiography of the space race. Dave Scott tells his story from the American side of things, and Alexei Leonov shares a Russian perspective.

I was a gung-ho space nut in the ’80s, so Scott’s half of the book covers familiar ground. It’s competent and friendly, but pedestrian; I don’t think I would recommend it as a stand-alone read. Paired up with Leonov’s account, though, it’s a lot of fun. Nobody in America really knew what the Russians were doing during the space race, and we never heard much about the cosmonauts or the progress of their space program – just the propaganda highlights. Scott and Leonov trade chapters back and forth, in roughly chronological order, and getting to watch each other’s space program through foreign eyes is what really makes the book work.

As a child of the Cold War I grew up thinking of the USSR as an oppressive wasteland run by power-mad hypocrites; their space accomplishments were scary and threatening. Through Leonov’s eyes, you see the pride and straightforward human enthusiasm that went into it all. The political posturing is miles away; what matters in this tale is the ingenuity, courage, and resourcefulness that made the milestone flights happen.

January 2, 2012

at the local

December 30, 2011

Thinking about projects for next year

When I got in to work this morning, the office was dark and there was nobody around. Google apparently considers both New Year’s Eve *and* New Year’s Day to be holidays, and since those events fall on weekend days this year, we end up with a four-day weekend. Well, okay. I did a little work but it’s hard to get much done when there is nobody around to review your code.

I’m back home now, thinking about walking over to ALTSpace to do some more work on the dress for Jeanine. I brought a muslin down to Sacramento for an in-person fitting, and it came out reasonably well. I had to add another bust dart and take in the existing one, but overall size and style worked out nicely.

I spent some of the long hours on the drive home thinking about the projects I want to work on in the upcoming year. As far as Burning Man goes, I haven’t thought much about whether I’ll go, but in any case it seems like a good year to avoid getting involved in a big project. I have a few mid-sized projects that have been rolling around in the back of my head for a few years, and this might be the summer to tackle them.

Specifically, I’m still thinking about that laser angel costume. After doing the motorcycle seat last summer, I feel confident I can handle the leather sewing involved in the armor pieces, and after a year’s worth of high-current LED projects I have some new ideas for the lighting effects. I’ve also learned how to work with laser-cut acrylic, which could add a lot of sparkle and shape to the design.

The other project vying for priority is the Playa-Time clock system. I think I would try to recruit a group to help me build this one, since it’s very much the sort of work that can be parallelized. Besides, it somehow seems fitting that a custom time zone for the playa ought to be created by a group rather than an individual.

December 25, 2011

Christmas with family in California

I’ve come down to Sacramento for the annual family Christmas. Ava brought her cat, Oedipuss, whose curiosity and positive attitude make a well-tempered traveler. We had Christmas dinner on the 23rd, as has become usual for us; there are many other families tied in to ours now and it’s easier for us to shift back a day than for all of those others to accommodate us.

Mom hosted the dinner but we all produced it – different people took on each course. Ava and I stopped at the Pike Place Market on the way out and picked up a whole steelhead, which we baked with dill and lemon. Others prepared an onion-mushroom consomme, kale-pomegranate salad, roast ham – I can’t even remember all the courses. It’s really nice to watch the family grow up and continue to become more a small community of adults and less a mob of children. Reminds me a little of my burner community in Seattle…

We’ll be visiting in Sacramento for a couple more days. We don’t have much planned but I’m sure we will find ways to hang out with family. This afternoon I took a nap on my mom’s living room floor and now we’re doing the laptop zombie line on the couch with Carolyn and Jeanine. Come to think of it, this might be a good time to make Jeanine try on that muslin I mocked up and see about adjusting its fit.

George R. R. Martin knows what he is doing. A couple of chapters after I nearly threw the whole story out in disgust, a trip east to check in on Daenerys went surprisingly well. She has her travails, of course, but I’ve begun to wonder whether her branch of the story – largely disconnected from the rest – was included specifically to give the reader a break from the misery of self-immolating Westeros.

December 21, 2011

I started reading George R. R. Martin’s unfinished seven-volume series “A Song of Ice and Fire” a couple of weeks ago, and I’ve made it part way through book three, “A Storm of Swords”. The first book was delightful; the writing sparkled, and it’s always fun to discover a well-imagined fantasy world. As the story has unwound, though, it has become almost unbearably grim, a relentless litany of betrayal and misfortune, and I’m not sure I will bother to finish it.

The dark tone may be a function of the story’s great length, as book three is only approaching the middle of the tale, and one expects the tension to build up toward some climax. There’s a flow to a good story, like there’s a flow to music. You build up to a small peak, ebb back for a rest, build up to a bigger peak, ebb back again, until you push across the crest, then all the threads of the tale cascade together as you ride down the far side.

In “Song of Ice and Fire”, though, there’s plenty of tension, but never a moment to stop and breathe. Every glimpse of apparent peace just sets someone up for a new betrayal; every near accomplishment is merely preparation for a greater catastrophe. I find myself detaching from the characters, unable to care about their troubles and hopes, because the author seems determined to inflict so much pain on them that there will be nothing left to celebrate when the conflicts are finally resolved.

Part of what made the first book so much fun was the strength of the author’s novel perspective on the whole fantasy-adventure idea, but it’s come to seem less like he’s reinventing fantasy and more like he’s simply demolishing it. Let go of romance, he seems to say, let go of all those pretty myths; forget all those notions about the Knights of the Round Table. Let me show you what it’s really like. It was fun, at first, but it’s grown stale. The misery has become predictable and is no longer interesting, and I’m growing impatient for the payoff. What is it I’m supposed to be enjoying about this story? Why should I slog through thousands more pages of this if the characters I like are only going to fail, suffer, and die? If the author wants to keep the story going he needs to start throwing in some surprises where things actually go right for a change.

I’ve started using a new Galaxy Nexus phone in place of the old Blackberry Curve I got from Ava. The touchscreen keyboard is better than I expected. It’s still weird not to be able to feel the button click, but the touch pads are much bigger than the physical keys I’m used to, so it’s not actually any harder to hit the letters I aim for. I’ve stuck with the Blackberry this long largely because I didn’t like the idea of a touchscreen, but it’s really not so bad.

December 20, 2011

In honor of Kim Jong-il’s passing, here’s a retrospective gallery of DJ Dear Leader’s most memorable performances.

December 14, 2011

This enormous digital clock kit looks like it would make a good base for the “playa-time” project I’ve been wanting to set up at Burning Man some year. 9.4″ x 2.7″ is pretty big – it’d be easy to see, even up on a 10′ pole.

December 8, 2011

I like psychedelic trance music. I like it a lot. I listen to hours of it every day at work, in fact, and have done so for years. I used to maintain a constantly growing collection of albums, but these days I mostly just listen to Radio Progressive or Divbyzero.

A friend with similar tastes related a conversation he had with his wife. “Why do you like psytrance so much?”, she asked; “it’s so driving and repetitive!”. “Exactly-” he replied, “it’s so driving and repetitive!”

Good psytrance really is driving and repetitive, but that’s just the foundation. The steady pulse of the 4/4 kick and the robotic throb of the rolling 16th-note bassline that define the style free the composer up to go completely nuts in the higher registers. When it’s really hitting the mark it feels you are riding some giant machine, surfing on a railway engine as it roars down the track. Underfoot it’s massive power and rumbling vibration, overhead it’s all lightning and meteors, a crackling network of interlocking arpeggios hissing and sparking and melting together. It’s power and clarity and unstoppable energy, and at its best it completely swallows you up.

Of course all music ebbs and flows, but the most satisfying moments when listening to psytrance are the points where it feels like the music has found a steady state: the entire sonic spectrum is full, the machine is powered up and roaring away, throttle wide open. I stand in front of the PA system and it feels like standing in the waves at the beach – endless, they roll in, lift you up, push you back, pull you forward, and all you can do is ride.

December 6, 2011

I was rummaging through my fabric bins hoping for inspiration on Saturday and saw a small piece of some quilted material, a cotton/dacron/cotton sandwich, left over from a pair of pants I made several years ago. The idea of a short vest for Ava popped into mind, and I proceeded to stitch it up, using a bit of embroidered silk for collar trim. It’s a neat little high-waisted thing, lined, with four silver buttons and an inner pocket. I’ll try to get a picture later, if I can convince Ava to model it. A quick, simple project was a nice break after the highly technical ski pants.

December 4, 2011

Ava and I are going to get a little Christmas tree later tonight – we’re planning to put it on our coffee table. I spent a couple of hours with a soldering iron this afternoon getting ready, and now we have a ten-foot string of animated lights to wrap around it. Yes, that’s right: each light is driven by its own 20 MHz RISC processor. Technological overkill? Certainly – but it was also cheaper than running them all on a single controller would have been.

November 30, 2011

I finished the ski pants last night, fancy trapezoidal belt loops and all. That was really rather a lot of work, but I’m delighted with the result. Now I want to go back and spiff up last year’s jacket to match – redo the collar, I think, and add a lining.

I’ll be showing them off at the ALTSpace open house tonight!

7.0″ TFT display, 24-bit RGB, 800×480 pixels. Might be useful for that dual-screen, eight-core microcontroller-driven laptop concept I keep flirting with.

November 29, 2011

awesome jetpack video

Yves Rossy is at it again, flying in formation with a couple of fighter-jets using a custom built delta-wing jetpack. It’s like watching a guy on a motorcycle race a couple of Formula-1 cars, except they’re all flying.

November 28, 2011

I got my motorcycle back today. It was a bit cold out but perfectly clear, and it was nice to ride around a little after work. The rear brake lever is adjusted a little strangely but the brake works fine. The new tire looks exactly as it should, and the new clutch works smoothly. Now that I have the machine back in hand – four weeks later! – I can finally replace the munched headlight with the eBay replacement that has been sitting on my shelf collecting dust.

I spent a couple more hours on the ski pants tonight. This project has definitely taken longer than I expected, but these pants are also the most complex garment I’ve ever constructed, and I’m pushing the finish level as hard as I know how. I want this garment to last for at least five seasons, and I want to feel comfortable and look stylish the whole time, so I’m taking my time getting it right. Tonight I inserted some darts into the waistband, stitched the inner seam down, and got about halfway through the belt loops (ballistic nylon trapezoids, lined with supplex – no raw edges exposed anywhere!). One more evening should be enough to finish the belt loops and cuffs.

Next Page »