Archive for the 'General' Category

Television: still stupid after all these years

Sunday, September 28th, 2008

Sharon and I recently moved to a new house, which resulted in a switch from Speakeasy DSL to RCN cable. As a result, we now have a TV signal coming into our house. Strangely, I don’t think I have ever lived in a building with a cable connection, except for a 6 month stint in graduate school when I was busy enough building robots that I don’t remember what room my roommates had the TV in.
But now, I get to explore television as a visitor from the mid-80s. Here’s what I remember from 1984 or so:

  • The Jeffersons: a show about a family with the last name “Jefferson”
  • Rhoda: a show about a woman named “Rhoda”
  • The Dukes of Hazzard: a show about a family with the last name “Duke” who live in Hazzard County. To liven things up, these Dukes engage in hazardous motoring in an orange car. This makes the name of the show a pun.

Now, show titles are abbreviated: CSI, ER, 24, NCIS. I don’t know what these shows are about, but from the ads I’ve seen, they’re about law enforcement and medical emergencies. We now have multiple editions, like CSI: Miami and CSI: New York. There appear to be a lot of shows about law enforcement, but that may be just an illusion induced by shows with opaque titles like Naruto (from a tv.com summary, I gather: a demon fox, an evil spirit trapped inside a baby, and “shinobi,” which is a word I don’t know). With the exception of the evil spirit trapped in the baby, which is creepy, these are trends that I expect to see in America, the land of the fearful, where Sarah Palin gets airtime. I’m happy to report that despite 150 channels, I don’t feel like I’ve missed much in the last 20 years.

However, I did discover something new that I didn’t expect: the glorification of the mistreatment of kids. One instantiation is “The Principal’s Office.” Pitched as a reality TV show on TruTV (I guess “tru” is the reality TV version of “true”), the episode I saw followed a high school principal around the halls as he caught kids beating on each other. The kids were taken to the principal’s office, where he yelled at them, and the kids squirmed in a mix of resentment and embarrassment. It’s obvious that the presence of a camera escalates the conflict between the kids and the principal, so we can safely assume that the goal of the show isn’t to document a good principal at work. All that leaves is a man yelling at kids. The “man yelling” part doesn’t bother me in the least, but I don’t like the “at kids” part. “Hey, troubled kid, if you let us humiliate you on national TV, we’ll give you $200.” (Review from the Boston Globe with some more details.)

The second show is one on FuelTV called Camp Woodward. It’s a thinly disguised advertisement for a sports camp in Pennsylvania that focuses on skateboarding, BMX and rollerblading. In the episode fraction I saw, one of the counselors explains that when he’s at home in Florida skateboarding by himself, he doesn’t throw tantrums, but when he’s trying to teach kids to skate, if he can’t land tricks, he gets angry and swears. Another section of the show details the tribulations of a 13-year-old who thinks his $100 for food has been stolen by rollerbladers. After being berated by his mom via cell phone, he finds his money in his shorts pocket. He repeats the lesson that he has learned that you should deposit all your money at the camp canteen as soon as you can, lest someone steal it.

Both of these shows mystify me– I don’t understand why suffering kids are now fair game for entertainment.

Morbid prediction: a reality show with the following theme will be produced in the next decade: life of a child soldier or life in a refugee camp. I think that’s the bottom, and I don’t see what else is going to stop us.

I retract all scoffing remarks regarding Nanosolar

Thursday, December 20th, 2007

Historically, I have spent a fair amount of time deriding Nanosolar for claiming that they would build a 430 MW/year solar cell factory by the end of 2007.

On the one hand, they have only 10 days to prove me wrong. I don’t think they will have ramped production up to 430 MW/year. On the other hand, they are shipping a thin film module created through a printing process. That alone is an impressive feat. They win the prize, soaring above the Aonian Mount, while pursuing things unattempted yet in prose or rhyme (well, maybe attempted in rhyme).

Nanosolar is claiming module costs of 1 $/W; the US solar industry is now selling around 5 $/W.

It looks like they have beaten:

  • Ascent Solar (thin film, CIGS, probaby through vacuum deposition)
  • Konarka (thin film, printed, organic cells)
  • Heliovolt (thin film, printed, CIGS cells)
  • SoloPower (thin film, CIGS, but electroplated, not printed)
  • Miasole (thin film, CIGS, but not printed)
  • Solyndra (thin-film CIGS, unknown process, but they’re hiring people with semiconductor process experience)

But have they hit grid parity? Maybe.

First off, $/W is a dumb metric. The W refers to the peak power, so if you buy a panel that peaks at 200 W for $800, you’re paying $4/W. It’s stupid, but it’s easy to measure, and it’s easy for journalists to quote.

A better metric is $/kWh, where kWh is a unit of energy. That’s harder to talk about, because you have to talk about average production over the course of a year, which changes with location, weather, age of the panel, and so on.

The sun that hits the ground peaks around 1000 W/m^2; you might get 20% of that on average, once you factor in night, clouds, and the like.

There are about 10,000 hours in a year, so I’d expect 200 W * 10,000 hours * 10% efficiency = 200 kWh/year for a square meter. In Massachusetts, where I live, that’s worth about $40 ($0.20 per kWh). (Did I get those calculations right?)

Conventional panels of around 10% efficiency are about $1500/m^2 (say, 2 Evergreen 200 W panels for $750 each?). Given panel life of about 20 years and the added expense of installation, an inverter, and maintenance, I think solar is still off from grid parity by a factor of 2-4 in Massachusetts (not counting Nanosolar).

If Nanosolar is telling the truth, they may have just hit grid parity.

DIY solar computer system, part 1

Friday, December 7th, 2007

Like a lot of semi-urban computer enthusiasts who plan on living for a few decades after the onset of global warming, I have a few computers that are always on, and I wish that I could find an economically viable way of reducing the emissions generated as a side effect of the power they require. Also, when the hard times come and grid power gets flaky or drops out entirely, it would make the local warlord happy if I could use a computer to calculate optimal irrigation ditch depths, or the like. (Note to self: learn to use abacus while leisure time still exists.)

Typically, solar arrays in urban or suburban areas are tied by an inverter to the local power grid. Such inverters cost a few thousand dollars; they both allow excess power to be released to other consumers and enable the use of AC appliances without any modifications. I live in a rented property, so installing a large solar array on the roof with an inverter in the basement is not an option. But, maybe I could run a smaller array without an inverter for DC loads only.

DC vs. AC
Computers, generally designed to connect to AC power, have as their first component a switching power supply that turns AC from the wall into DC. If I had a solar array, it would output DC, which would be converted to AC by the inverter, and then back to DC by each computer’s power supply, losing energy at each step. I call this “dumb”– why not just run the computers off of the DC directly?

The problem is that if you run the computers just off DC from the solar panel, the computers die when the sun is occluded by a cloud or a planet (at night, for example).

An alternative architecture
The system I’m building has a 24 V DC power supply fed from the grid at its core. This will run in parallel with whatever solar panel I eventually set up. For starters, I have replaced the ATX power supply that came with my desktop with a DC/DC converter from Ituner.com. I then power that from a beautiful DIN-mount Sola SDN 10-24-100P supply that I got off Ebay for $33.00 ($45.82 with shipping).

Sola SDN 10-24-100P power supply

For the DC/DC converter, I looked at the pico-PSU, but rejected it in favor of the slightly larger M2-ATX-HV.

The DC-DC converter strapped in place

The M2-ATX-HV had a few advantages:

  • My PC has an ATX12V power supply; I wasn’t sure that it would run with a standard ATX supply. ATX12V has a second connector with 4 pins, which the M2-ATX-HV provides.
  • The HV version allows a wider input voltage. The Sola supply is nominally a 24 V supply, but I want to be able to run off both 12 V and 24 V supplies, plus a few volts on either side.
  • Slightly higher power– with its original supply, my PC idled around 85 W, and I could get it to draw 150 W by ripping a CD while keeping both cores busy, one transcoding a variable bit rate mp3 to constant bit rate, the other compiling the Python interpreter. For reference, the CD drive used around 35 W. The DC/DC converter I got is rated for 140 W. As a pleasant surprise, the new supply is substantially more efficient, and the system, including the loss in the Sola supply, now draws only 65 W at idle.
  • The M2-ATX-HV is a bit bigger, but my PC case is pretty large, so that wasn’t a concern. Including all the cables and shipping, I paid $96.40 for the M2-ATX-HV– about $30 for the advantages listed above.

    Side view, case open, 24 V DC supply

    Stage 1 complete
    The DC system has been working reasonably well for a few weeks now. Next, I have to find a cheap way to test current sharing with a solar panel, as I don’t want to commit the full $700 or whatever for a 180 W panel until I have more evidence that it will work. I’m off to the beach to start collecting sand for a little homebrewed Czochralski action.

    Pope and Bacon a dangerous combo

    Saturday, October 27th, 2007

    After meeting Ubuntu zealots Alan Pope and Jono Bacon at Fosscamp this morning, I made the mistake of leaving my laptop screen unlocked within the range of these two dangerous characters while I went to the bathroom. What’s worse, I left a terminal window with a root prompt open on the desktop. (I don’t remember why– I think I was installing some software earlier.) When I got back, this so-called “Pope” had blown up the font size on my terminal window and added “rm -rf /” at the root prompt.

    It was good for a laugh. Unfortunately, I didn’t have the poise to take a screenshot.

    Later, it was revealed that the Bacon, not Pope, was the instigator, or so says Pope.

    Note for the non-haX0rs in the audience (I guess that’s you, mom): “rm -rf /” is a command that recursively deletes all files in your filesystem. Incidentally, I did once execute that command on an OS X server that I was maintaining a few years ago. I needed to reinstall OS X for some reason, so I tried executing the legendary command. It was pretty sweet– various programs on the desktop crashed, services disappeared, and the machine was eventually rendered unbootable.

    Anyway, I won’t make the mistake of leaving my laptop unprotected when Bacon is on this side of the Atlantic.

    One other interesting note from Fosscamp– I talked to Ubuntu Linux founder Mark Shuttleworth for a few minutes after one of the morning sessions; he mentioned that the Dell Linux machines that I was so excited about a few months ago were actually Dell’s idea. I had assumed that the whole Dell Ideastorm business was more of a marketing exercise, while Dell and Canonical had actually been planning Dell PCs with Linux for a while. I guess I was wrong.

    Jarhead by Anthony Swofford and State of War by James Risen

    Sunday, April 30th, 2006

    I read two books this week: Jarhead and State of War.

    Jarhead is a memoir covering the author’s work as a Marine fighting in the 1991 Gulf War. It contains a lot of profanity and crude expressions, but I suspect this is an honest recollection of the war. Jarhead evoked a sympathetic mood in describing the Marine’s experiences and yet still describes the emotional chaos and devastation convincingly.

    Risen’s book, State of War, was largely a recounting of the failures of the CIA between the late 90’s and late 2005. Most of the information was already reported in the New York Times. Two chapters contained stories that I had not heard before: “The Hunt for WMD” and “A Rogue Operation.”

    The first described a CIA mission in which Sawsan Alhaddad, an anesthesiologist living in Ohio who had left Iraq in 1979, was sent to Iraq in 2002 to convince her brother to try to escape Baghdad to defect to the US or at least tell her what he knew about Iraqi WMD. Her brother, Saad Tawfiq, was “a key figure in Saddam Hussein’s clandestine nuclear weapons program” (p. 88). Tawfiq told his sister that Iraq had had no WMD program since June of 1991, when the uranium refinement system they had been working on was dismantled, loaded onto 150 trucks, and driven into the desert to be hidden. The hidden equipment was revealed to UN inspectors 3 months later, according to Risen.

    The final chapter in the book is called “A Rogue Operation,” but the operation described does not seem to be rogue. It describes the CIA’s attempt to leak flawed plans for a nuclear detonation system to Iran through an unidentified Russian scientist who had defected to the US at the end of the Cold War. The scientist likely succeeded in leaking the plans to Iran; he also suggested subtly to the Iranians that the plans were flawed. (”If you try to create a similar device you will need to ask some practical questions.” (p. 205)). Perhaps that sentence could be described as “rogue,” but the rest of the operation was carried out as intended.

    My only complaint about Risen’s book, other than the lack of source attribution, which is perhaps necessary, is his weak description of a file transfer that betrayed all of the CIA’s agents in Iran in 2004. A CIA agent “sent a secret data flow to one of the Iranian agents . . .” (p. 193). She “didn’t think twice when she began her latest download.” But if she was sending information out to agents, this would be an upload, not a download. Was it that she was receiving a secret data flow, but revealing it to all of the agents? The crux of the agents’ betrayal is described as, “She had sent information to one Iranian agent meant for the entire spy network; the data could be used to identify virtually every spy the CIA had inside Iran.” This doesn’t make sense– how could identities be betrayed if the information was sent to fewer people than it should have been? My best guess is that Risen means that she uploaded a set of unique messages to one spy, when the intent was for each spy to receive one unique message. But what CIA agent would send a spy a message that contains his or her identity?

    “Dear Saad Tawfiq, spy for the United States,

    Please send us information about WMD. Also, have you seen OBL? We *really* need to find that guy. Please advise.

    The CIA.”

    Book review: Who Controls the Internet? by Goldsmith and Wu

    Saturday, April 22nd, 2006

    Longtime readers of this site will be loath to discover another tedious book review of a soft technical book, but perhaps there are a few new readers who have some life left yet. Read on, unknowing vanguard of the newly alienated!

    Jack Goldsmith and Tim Wu, both law professors, wrote Who Controls the Internet: Illusions of a Borderless World (Oxford University Press, 226 pp., $28.00) to present their answer to the question of “whether the technological changes of the last decade . . . have had a lasting effect on how nations, and their peoples, govern themselves” (p. 180). They make a compelling case that the optimistic hope that the internet would erase national boundaries has been replaced by a reality of local control leveraged through governmental pressure on intermediaries, at least in the case of large multinational companies.

    Goldsmith and Wu cite the changing attitude of Yahoo’s Jerry Yang between mid-2000 and the fall of 2005. In 2000, Yang was defiant toward French regulations that prohibit the sale of Nazi goods: “Asking us to filter access to our sites according to the nationality of web surfers is very naive” (p. 6). Five years later, Yahoo, in compliance with Chinese law, collaborated with the Chinese government to identify a dissident journalist, Shi Tao, through his Yahoo email account. Said Yang, “To be doing business in China, or anywhere else in the world, we have to comply with local law” (p. 10). The information that prompted Chinese authorities to jail Tao, like the Nazi paraphrenalia offered for auction in 2000, was found on one of Yahoo’s servers in the United States. The situations are not exactly analogous, but Yang’s change in attitude is what’s important.

    The enforcement pattern illustrated by Goldsmith and Wu is one in which local authorities pressure local intermediaries, generally ISPs, to control the content flowing over their wires. Search engines are also targeted, with Google.fr and Google.de cited as examples. Additionally, large multinational companies doing business over the internet need local law enforcement on their side. The capture of criminals is enacted as some local police officer pointing a gun at a would-be h4X0r and asking him or her to come quietly (as normal people are asleep at this hour). This is the major point that Goldsmith and Wu get right.
    I’m not convinced by their thesis relating to free speech laws racing to match the lowest common denominator– I think that this is exactly what is occurring, but they disagree. In describing a case involving Australian libel laws and a wealthy Australian named Joseph Gutnick, Goldsmith and Wu suggest that wsj.com can choose not do business in Australia if they don’t want to be subject to Australian laws. “Compliance with Australian libel laws . . . is a cost of doing business in Australia” (p. 157).

    Goldsmith and Wu assume that publishing on the internet works like publishing newspapers. In traditional publishing, newspapers read in Australia are printed and distributed in Australia; the printers and distributors are work in Australia. In internet publishing, documents are stored on a central server, and copies are transmitted to whichever computers request them. The server is maintained, at least in part, by people who work in the country where the server is hosted. Where a website does business is determined only by the consumers whose interests lead them to request the site using their web browser.

    I could imagine a restricted case of the argument, in which we limit ourselves to the consideration of only subscription sites where local caches are used. If wsj.com maintained a server in Australia and charged subscribers to access it, that would be a compelling argument, but this does not describe the vast majority of the traffic on the internet. Most sites do not require subscription, and while many high-bandwidth publishers do maintain caches around the globe, most domains reside on only one server in one country.

    Is it really nothing new that multi-national corporations need to either limit their speech to everyone or pay for communications filtering (in the form of IP geolocation)? In the case where people pay for permission to see content, as with the bulk of wsj.com, there is a business relationship formed. But consider a Z-list blogger such as myself who might decide to stain his soul by displaying Google ads for high-value keywords (exchange-traded funds, for example). When Goldsmith’s Australian cousin who likes reading the Z-list finds this review on Google and feels that I have besmirched his family name by disagreeing with his lawyer cousin, do I need to invest in geolocation filtering? Or will Google.com.au just do it for me? Preemptively, perhaps?

    As one might expect from Oxford University Press, the mechanics of the book (rectangular pages, clear type) are well executed, save one typo in the last paragraph on page 160: missing period (or spurious capitalization) between “costly” and “But.” The cover, with its ghostly green pixel trails and monospaced subtitle, uses the imagery of the The Matrix, or was it the cover to Stephen Levy’s Crypto, published in 2000? Goldsmith and Wu’s book is printed on acid-free paper, but not on recycled paper. Crashing the Gate, by Jerome Armstrong and Markos Moulitsas Zuniga, which was published just a few days earlier, is of similar cost ($0.128/page vs. $0.124/page for Goldsmith and Wu), and target market, but it’s printed on “100 percent post-consumer-waste recycled” paper. Perhaps Oxford was concentrating its efforts on the editing, rather than the physical production of the book.

    Unfortunately, the editing of the book could be better. We can be certain of this because an “adapted” subset of the book appeared in the January/February 2006 issue of Legal Affairs, and it was better. The improvement I noticed first was that the book’s strange assertion that “Apple came in Icelandic” (p. 50), which mistakes the company for its product, appeared as “Apple software came in Icelandic” in Legal Affairs (p. 42).

    In general, the prose in Legal Affairs flows more smoothly and tells a more precise story. Consider these two sentences from the book: “Net geo-identification services are still relatively new but are starting to have their effects on e-commerce. Online fraud, and in particular online identity theft, has been a big challenge for e-commerce, causing firms and consumers to lose billions of dollars each year” (p. 61).

    The corresponding sentences in Legal Affairs read: “Internet geo-identification services are still nascent, but they are starting to have effects on e-commerce. Online identity theft in the U.S. causes firms and consumers to lose billions of dollars each year.”

    That’s a decrease of more than 20% in number of words for the same content and a 50% reduction in usage of the word “e-commerce.” Note also the substitution of “nascent” for “relatively new” and the omission of “their” as a descriptor of “effects” in the first sentence. It’s unfortunate that the more permanent version (the book) couldn’t be the better version.

    Who Controls the Internet nails the most important points of support for its thesis. I would have liked to see more information about the rise of ICANN and the history of the organizations that preceded it. The central argument of the book convinced me that the idea that the decentralized architecture of the internet would ensure decentralized control of the internet was wrong; as Goldsmith and Wu claim, we are at “the beginning of a technological version of the cold war” (p. 184).

    Green Mountain Engineering

    Saturday, April 8th, 2006

    Yesterday, I received an email from Eerik Hantsoo saying that Green Mountain Engineering is hiring. I had never heard of them before, even though I live just a few miles away. From their website, they sound like exactly the sort of company that I have been trying to find.

    Then I thought that as soon as my friend mentions to them that I’m interested, they’ll try to prefilter me using Google. (At least, that’s what I would do.) They’ll find this blog, and then they’ll read this post.

    So, welcome Green Mountain Engineering people. I’m prefiltering you as well, and so far, I’m impressed. I’ve been trying to find a job for a while now that involves hardcore engineering but is good for the world; that seems like what you do.

    To save you the effort, I’ve precompiled and categorized some relevant Google results for you below.

    Some links of which I’m proud:

    My trip to Tanzania to teach a class on embedded systems to the Tanzania National Radiation Commission, sponsored by the International Atomic Energy Agency.

    A description of a presentation I gave with a “playfully rebellious undertone” that won second place at BarCampNYC.

    My electric Porsche 914.

    An article that quotes me in the Boston Globe.

    An article I wrote about a solar oven that I built (pages 4 and 5 of the PDF).

    Mildly embarassing (and particularly low audio quality too):

    An interview with Mike Goelzer and me at BarcampNYC.

    Not me at all:

    Brandon Stafford, the NASCAR “tire specialist.”

    The South African Brandon Stafford.

    Building my own secure mail, file, and web server

    Wednesday, March 29th, 2006

    After multiple complaints from an irritating associate of mine, I am building a secure server for my various secure computing needs. The complaints have focused on the fact that I have a Gmail account. While I generally agree that allowing a company to host all of my personal email, where it can be indexed, queried, and sold to various individuals and companies around the world, is a bad idea, so far, the worst side effect has been all the Google ads for Dallas real estate. Like I think Kennedy’s really dead!

    All the same, I’ve been thinking it would be fun to buy a rackmount server, install OpenBSD, apache, qmail, roundcube, and sshd. I’ll install my public key in sshd so my remote logins and file transfers would be encrypted. I’ll generate an SSL certificate to encrypt the roundcube exchanges. The machine will be colocated at the InterNAP datacenter in Somerville, if I get a reasonably good deal on rack space. Then I just have to guard against physical intrusions into the server and convince everyone who emails me to use GPG, and maybe I’ll finally drop back off the CIA’s radar.

    Maybe an encrypted filesystem will be necessary as well. I realize that the US government could just subpoena the bejesus out of me, but at least then I’d know what they were getting. (In reality, this will never occur; I’m just preparing for the day when I actually have something useful to encrypt.)
    Comments about the security holes I’m missing are welcome from those who are not the irritating associate.

    How to install OS X Tiger 10.4 on an old iBook with no DVD drive

    Monday, March 13th, 2006

    You need another Mac with a DVD drive. I’ll call that the desktop, although it could be another iBook. Note that this is probably only worth doing if you’ve added 512 MB of RAM to your old iBook. Without extra RAM, Tiger runs painfully slowly.

    1. Put the Tiger install DVD in the desktop. Restart it, and hold down the T key as it boots. Once you see a yellow firewire symbol on the screen, you can release the T key. You have just booted your desktop in what is called “target disk mode.”
    2. Connect the two machines with a firewire cable.
    3. Reboot the old iBook with the option key held down. This will allow you to choose the boot disk.
    4. It will take a while for the Tiger DVD to appear– you’ll see the iBook and desktop hard drives right away; the Tiger DVD will take a minute to show up.
    5. Select the Tiger DVD, and click the arrow icon to continue.
    6. Install Tiger as you would normally on a machine with a DVD drive.

    George Packer’s The Assassins’ Gate and the war in Iraq

    Sunday, February 26th, 2006

    I’ve just been reading a book by George Packer about the war in Iraq called “The Assassins’ Gate.” This is a terrible name for the book, but after the first three chapters, which are dry but important background, the book is quite good. The penultimate chapter is one of the best descriptions of the war that I’ve read. One paragraph particularly struck me:

    In the media, Iraq generated words as bitter as any event in modern American history. But most Americans didn’t turn against other citizens, any more than they joined together in a common cause. Iraq was a strangely distant war. It was always hard to picture the place; the war didn’t enter the popular imagination in songs that everyone soon knew by heart, in the manner of previous wars. The one slender American novel that the war has inspired so far, “Checkpoint,” by Nicholson Baker—a dialogue over lunch in a Washington hotel room between two old friends, one of whom is preparing to assassinate President Bush—has nothing to do with Iraq and everything to do with the ugliness of politics in this country. Michael Moore, the left’s answer to Rush Limbaugh, made a hugely successful movie, “Fahrenheit 9/11,” in which Saddam’s Iraq was portrayed in a crudely fantastical light—a happy place where children flew kites. Iraq provided a blank screen onto which Americans projected anything they wanted, in part because so few Americans had anything directly at stake there. The war’s proponents and detractors spoke of the conflict largely in theoretical terms: imperialism, democracy, unilateralism, weapons of mass destruction, preëmption, terrorism, totalitarianism, neoconservatism, appeasement. The exceptions were the soldiers and their families, who carried almost the entire weight of the war.

    I was both excited and slightly disappointed to learn that the chapter originally appeared in the New Yorker last summer.

    I think that the core of the problem is described very well by the sentence, “Iraq provided a blank screen onto which Americans projected anything they wanted, in part because so few Americans had anything directly at stake there.”

    I think that’s why the US is so divided over the war– we mostly don’t know what is happening there, so we pull together scraps that support our instincts.

    What a mess.