brndn, echo park, los angeles, california, united states, the world, the universe

advice 5 cents

June 10, 2011

Detecting cables being plugged/unplugged from a Linux box

I wanted to get notified whenever a network or USB cable was physically plugged in or unplugged from my machine. On Linux, there are a number of ways to skin this cat, but D-Bus seemed like a reasonable (and reasonably modern) way to go. It's a sort of introspectable message bus for the system, and various standard components (notably the HAL and the NetworkManager) are willing to talk to it.

There are D-Bus APIs for Python and Ruby, among others. The ruby-dbus gem is an odd bird, but I got it to work, after some pain.


#!/usr/bin/env ruby

require 'rubygems'
require 'pp'
require 'dbus'

$system_bus = DBus::SystemBus.instance

# For the given dbus service, grab the chosen object and apply one of its interfaces
# A strange API.
def dbus_interface (dbus_path, dbus_obj=nil, dbus_iface=nil)
  dbus_obj   ||= "/" + dbus_path.gsub(".", "/")
  dbus_iface ||= dbus_path
  puts("Dbus service path: #{dbus_path}\n  obj: #{dbus_obj}\n  interface: #{dbus_iface}")
  o = $system_bus.service(dbus_path).object(dbus_obj)
  o.introspect
  o.default_iface = dbus_iface
  o
end

def nth_wired_device (n)
  # GetDevices returns a list of lists; first element has what we want
  devices = dbus_interface("org.freedesktop.NetworkManager").GetDevices[0]
  dbus_interface("org.freedesktop.NetworkManager", devices[n],
                 "org.freedesktop.NetworkManager.Device.Wired")
end

def detect_wired_network_evts
  # Get the wired network device otherwise known as eth0
  d = nth_wired_device(0)

  d.on_signal("PropertiesChanged") do |info|
    puts "Network wire properties changed.  Changed properties:\n   "
    pp info
  end

  # Show properties of the wired device
  #d.default_iface = "org.freedesktop.DBus.Properties"
  #pp d.GetAll("org.freedesktop.NetworkManager.Device.Wired")
  # If plugged in, shows e.g. 
  #     [{"Carrier"=>true, "HwAddress"=>"6C:62:6D:46:A0:D0", "Speed"=>1000}]

  # Show more general properties of the network device
  #d.default_iface = "org.freedesktop.DBus.Properties"
  #pp d.GetAll("org.freedesktop.NetworkManager.Device")
end

def detect_hal_device_events
  hal_o = dbus_interface("org.freedesktop.Hal", "/org/freedesktop/Hal/Manager",
                         "org.freedesktop.Hal.Manager")
  hal_o.on_signal("DeviceAdded") do |u|
    puts "HAL device added: #{u}"
  end
  hal_o.on_signal("DeviceRemoved") do |u|
    puts "HAL device removed: #{u}"
  end
end

detect_wired_network_evts
detect_hal_device_events

main = DBus::Main.new
main << $system_bus
main.run

September 25, 2009

Boring Technicalities of Code Signing

For posterity, here is an embed of some discoveries about code signing certificates.  What I've been trying to do lately is to sign and distribute an Office plugin, using the ClickOnce installer system for VSTO (Visual Studio Tools for Office).

Short story: don't use Thawte certificates until they start including something called an AIA in their code signatures.

Long story: http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/44841131-58e7-4b8a-add2-a9cff869b82e/

Error:  "Customized functionality in this application will not work because the certificate used to sign the deployment manifest for MyPlugin.vsto is not trusted."

Solution: Use VeriSign.  (Or someone else -- I now just need to figure out which other vendors are doing it right.)

September 14, 2009

Chrome, one year along

From what I've seen, it looks like Google's done a pretty lackluster job of promoting the Chrome browser amongst the general public. But of those precious few end-users who DO know what the heck Chrome is, many of them don't seem to care much.   Here's why I think it's worth caring about, from strictly user (as opposed to a geek -- or a market) perspective:
  • If you run Windows, you probably find it slow.  (Windows 7 may help with this . . . at least initially.  Then we'll see.)  But Chrome is a free piece of software that will probably make some of your most frequent actions faster, all day. Window opening; web app performance; eating little RAM; and other factors should contribute to making the same amount of work faster, on the same machine.
  • Opening a browser window -- how often do you do this at work? My frequency is going up and up. 5 times an hour? 10 times an hour? 20 sometimes? Might be 500 times a week. In IE, it takes many seconds to get a web page window loaded and ready to type in, even if you set your home page to blank (as I always, always do). And Firefox, sadly, has been getting heavy.  (Or perhaps it was like this all along, and Chrome is making me notice it.)  Opening a Chrome window just takes NO TIME -- it's more like a piece of the OS, like a file explorer window, but faster. It comes up NOW. And it goes away NOW. Once you get used to it, waiting for FireFox or IE to boot seems like a bother. You use the web more, because using the web suddenly gets cheaper. 
  • I know an IT professional who, every time he wanted to use one of these newfangled "search engine" things, would open an IE window, then (with one finger) type "G-O-O-G-L-E-.-C-O-M" and press return. Then he would find the mouse pointer. Then he would use it to click inside the provided search box and begin typing a query.  Total time: 15 seconds?  (a few hundred times a week?  He did it this way for years, and still might.)  There's no need for this. There's no need, actually, to ever see the Google homepage itself at all, and it shocks me that folks still do.  Do not have a homepage!  Open a browser window (perhaps with a keyboard shortcut or by using Spotlight (command+space, then type the first few letters of the name of your browser) and just start typing what you want.  And you will get it.  Chrome is built around doing just this.  (And the other browsers will let you -- Firefox quite well.) 
  • Web app performance . . . isn't just an overclocker fetish. Serious javascript-heavy apps are starting to appear in lots of places, not just in the GOOG domain (Wave is a BIG app), but in Apple's online apps (Sproutcore framework), Zoho, and many others. And these apps work better and come up faster in a good browser. Even embedded web apps (Flash/Flex/Silverlight/etc) may use javascript bridges. Blogs and forums are getting more and more javascripty. And with a fast Javascript engine, more features of (increasingly) more web pages just start to feel, subjectively, faster and more useful. You use it more, because it's cheaper (in terms of your time and attention). 
  • For some objective measures: on a lame corporate laptop, I ran the Sunspider browser benchmark with a score under 1000ms in Chrome; around 3500ms in Firefox, and around 35000ms in IE7. (I get about 5000ms in IE8 on my VMWare Virtual Win XP box running on a Mac.) And in the beta channel version of Chrome, they just made Javascript about 20% faster again. 
  • Windows and tabs are cheaper in Chrome, memory-wise, than in other browsers.
    • And they free ALL their memory when they close. This is really important for end-users, though it's a geeky detail. Browser memory-creep is more and more of a problem since a given browser may be running, in one form or another, for many many hours, or even many days.  This is a result of the fact that we're using the web more.
  • UI stuff is important to me, but I won't say too much about that here except:
    • UI-wise, tabs will help us manage many windows as we begin to use the web for more and more things.  Chrome has a better way to do them, UI-wise. 
    • The omnibar is one place for google searching, URL typing, and history searching.  I suspect that more and more end-users will start to rely this, once they realize it's there and what it's actually doing for them.
  • Constant updates. Chrome's use of the clever google updater means almost continuous -- but INVISIBLE -- updates. The updates are very small because of Google's new binary-diff technology, and they are pushed out very frequently. This translates into safety and stability.  The browser just takes care of itself, which is a nice feeling for such an important application.
  • Extensions: are coming. But it's funny; it turns out I can live without most of my Firefox extensions. One thing I like is to have bookmarks sync-ed among my browsers on any machine I use. But this is built into Chrome (though I'm not sure if this feature has been rolled out to all users yet).
A note about Safari: Safari on Windows is also really fast. But I just don't like it as much. The omnibar is not as good; the tab system is more old-fashioned; and it seems more quirky/non-compatible/crashy on Windows than on the Mac. It doesn't have Chrome's excellent memory management and memory partitioning between all tabs. But it's still a better option than IE for daily use.

Update: Play Nintendo in the browser.  Chrome: a very playable 45fps.  Safari: unplayable at 11fps . Firefox unplayable at about 8 fps.

September 09, 2009

ēno interactive whiteboard

No relation to Brian Eno.

The people in our Houston office decided to buy three of these "interactive whiteboards":

http://www.polyvision.com/ProductSolutions/enointeractivewhiteboard/tabid/157/Default.aspx

It's mostly just a whiteboard; also a magnet board, which seems nice; and also, it's anoto-dotted, which means that each point of the surface has tiny markings which a special pen (with a tiny camera in the tip) can see, so the pen can know "where" on the board it's writing at the time.

So you hang this board up, and then shine a projector on it whenever you feel like doing something digital.  You use their bluetooth pen at those times.

There are some significant hurdles for something like this to succeed.

They speak highly of their durable surface (lifetime guarantee, etc. etc.), but I wonder how it REALLY holds up.  No, but REALLY.  If the the bluetooth pen stops being able to see the tiny dots properly, the game stops.  How many times can you accidentally write on this surface with a permanent Sharpie and get it clean again?  Those dots really are tiny.

Another question: how does the projector get calibrated so it can register physical space (inches on the board) against pixel space?  Does the machine driving the projector need some software?  Does said software work on Mac? On *nix?  Does it have a cumbersome installer?

I guess all these questions roll up into one fundamental usability (and sociality) question: will people ever turn on the projector, after some initial honeymoon period?  Or does the ēno just default to being an expensive whiteboard?

September 04, 2009

AT&T: short rant


I was just reading in the NY Times about the stresses on AT&T's network from the iPhone.  But that really does nothing to explain why I started seeing 1 bar (or less) ALL THE TIME, in a lot of places in the city where I used to have fine service -- such as my own kitchen.  This is not a load problem!  My wife's non-iPhone has been falling into the same holes in coverage as my iPhone.

If AT&T would give some straight information about exactly what's going on -- where are the towers; what are the upgrades; who is affected? what is the timeframe? -- I would feel like they had things under control.  But it's  all shrouded in mystery.  Or mysterious incompetence.  Hard to tell.  

Dear large corporations: the way that people talk endlessly on the intertubes about openness?  Those folks might be idiots -- but even if they are, they STILL might be on to something.  Let that sink in for a second.

August 12, 2009

Precipitate

Here's a handy thing I use about 3 times a day and thought I should not hide under a bushel.  

Precipitate.

Puts all your Google Docs (and Google Bookmarks, if you have those) in your Spotlight index.  I use Spotlight for everything from app launching to doing simple math (try it) to looking up words in the dictionary, thesaurus, or wikipedia (try it).  Now I also use it for searching and launching my cloud docs as well.

Precipitate is open source.  And if I get a bee in my bonnet, I'm going to dig into it and extend the bookmarks feature.  Instead of indexing just the names/titles of my Google Bookmarks, I want it to index the CONTENTS of those pages.  So then, whatever I bookmark would  go into the Spotlight hopper with everything else.


June 29, 2009

Updating Java: Boring Topic, Exciting Results

Eclipse, NetBeans, GWT, and other Java-dependent software just got better and way faster on my Mac OS X machine. I had to pay a visit to "Java Preferences" -- which is an application! -- and drag Java SE 6 (64 bit) into FIRST place in the list of Java runtimes. Previously, I guess I was always hitting Java 1.5 (or Java 5, as the case may be -- what kind of naming scheme is this, anyway??)

Can verify the changes succeeded by running "java -version" from the command line, before and after.

I had to do this in order to get my first Google Wave Robot working. And now it works!

May 13, 2009

Nagging video codec headache: SOLVED

Simple problem: have .wmv file. Want to convert it to a .mov so I can edit it with iMovie. I have access to Windows or Mac, but don't want to pay for any software.

Don't have QuickTime Pro (and can't quite confirm that it can actually do this job).

ffmpegx fails to convert -- complains about an incorrect framerate. I have used ffmpegx in the past to create (for example) .flv flash movies, which has been great . . . but it frequently chokes on .wmv files.

Windows Media Encoder will only generate .wmv, of course.

I found two solutions, both free:

http://media-convert.com/convert/ is a web site that takes a video upload and gives you back a converted video, in whatever format you like. The site looks somewhat sketchy, but the results were fine enough.

But the big winner for me is MPEG Streamclip, an obscure, friendly, free Mac OS X app. It's quick and simple and does the job. Finally.

Update: there's a wide variety of compression schemes, within the Quicktime exporter. The default -- Apple Motion JPEG A -- doesn't compress too well. H.264 compressed 30x more for the same quality level.

April 29, 2009

Connecting to a server with Mac OS X Leopard

I connect to servers a lot at work, in a Windows environment (using smb://, mostly). The Finder has an awkward interface for doing this. By contrast, a pretty good way to do it quickly is through QuickSilver. The trigger you want might be in ~/Library/Recent Servers, and it might come up easily -- but it also might not. In Spotlight, it definitely doesn't come up (at least, not for me).

So a good alternative is to manually create a trigger for Quicksilver and Spotlight to find. In a location familiar to both indexers, make a text file (a script) containing something like:

open smb://machine/folder

Make the file executable (e.g., from the Terminal: chmod +x your_script_file.command).

This works well. The command file can also be double-clicked in the Finder, which makes it an easy solution to share with others.

However, when it runs, this script has the unfortunate side effect of opening Terminal, opening a new Terminal window, and then leaving the window hanging around after it's finished. Have googled for solutions to this, and not found any.

So an even better way to fashion a trigger is to use Script Editor to make an Applescript that says something like this:

do shell script "open smb://machine/folder"

Give the script a descriptive name like machine_folder_connect.app, so it's easy to find through the first few letters of the machine name (Spotlight or Quicksilver), or the initial letter of the machine name + the initial letter of the folder or share of interest (Quicksilver). When saving the script, turn OFF the "Run Only" option. Otherwise it can't be edited later on.

February 09, 2009

Clay Shirky interview

This whole thing is outstanding.

http://www.cjr.org/overload/interview_with_clay_shirky_par.php?page=all

One highlight for me:

RJ: Why do so many people seem focused on this idea that the Web has cut our attention spans down? What's responsible for that phenomenon?

CS: You know, "Life was better when I was younger" is always an acceptable narrative. Right? And so for anybody who was brought up genuflecting to the literary culture and the virtues of reading Tolstoy--and essentially Tolstoy is a trope in these things, War and Peace is the longest novel in the sort of Euro-centric canon--you could always make the argument that the present is worse than the past by simply pointing to the virtues of the past. And so, what the Web does is that it does what all amateur increases do, which is it decreases the average quality of what's available. It is exactly, precisely, the complaint made about the printing press. So, the only thing surprising about the Web, in a way, is that it's been a long time since we've had a medium that increased the amount of production of written material this dramatically.

But people made the same complaint about comic books, they made the same complaint about paperbacks, and they made the same complaint about the vulgarity of the printing press. Whenever you let more people in, things get vulgar by definition. And people who benefited under the old system or who dislike or distrust vulgarity as a process always have room to complain. But, the interesting thing is, when you say so many people believe this, in fact almost no one believes this, right? There's a tiny, tiny slice of the chattering classes for whom "Life was better when I was younger" is an acceptable complaint to make, and they have these little conferences or whatever and agree with one another about that phenomenon. But when you look at the actual use of the Web, it is through the roof. And it has continued in an unbroken growth from the early '90s until now. So, in fact, almost everybody thinks it's a good idea because they're embracing it and they're experimenting with it and they don't really care what we think.

And when I say "we," I mean--I am a member of the Chardonnay-swilling East Coast liberal media elite. But I also recognize that anything I might have to say about the utility of the media actually isn't going to influence whether or not people are going to adopt this. And so once you get out of the idea that basically the previous avatars of the cultural good, and the world that George W.S. Trow chronicled so beautifully in "Within the Context of No Context"--once you grasp that those people are powerless to that effect, powerless with regard to the adoption curve--the question really becomes, "How do you point out an effect where something has been damaged?" And that's where I think a lot of this conversation about reading breaks down, because if you assume that reading Tolstoy is an a priori good, your world crumbled in 1970. And it's hard to point to the Web as responsible for any of that because that was a done deal for some time.

If you want to point to more proximate harms, it would be very hard to argue, for example, that innovation, inventiveness, new intellectual discoveries had slowed as a result of the Internet, and so people are left with these kind of mealy-mouth cultural critiques, because nostalgia becomes the only bulwark against change. The actual effects of making more information available to more people have been enormously beneficial to society, yet not to the intellectual gatekeepers in the generation in which that change happened.

RJ: What's your response to people who say that all this information that's out there, all this knowledge that we're producing is great, and there's all this access that we didn't have before. But we also risk information overload alongside, and we don't--

CS: Information overload started in Alexandria, in the library of Alexandria, right? That was the first example where we have concrete archaeological evidence that there was more information in one place than one human being could deal with in one lifetime, which is almost the definition of information overload. And the first deep attempt to categorize knowledge so that you could subset; the first take on the information filtering problem appears in the library of Alexandria.

By the time that the publishing industries spun up in Venice in the early- to mid-1500s, the ability to have access to more reading material than you could finish in a lifetime is now starting to become a general problem of the educated classes. And by the 1800s, it's a general problem of the middle class. So there is no such thing as information overload, there's only filter failure, right? Which is to say the normal case of modern life is information overload for all educated members of society.

If you took the contents of an average Barnes and Noble, and you dumped it into the streets and said to someone, "You know what's in there? There's some works of Auden in there, there's some Plato in there. Wade on in and you'll find what you like." And if you wade on in, you know what you'd get? You'd get Chicken Soup for the Soul. Or, you'd get Love's Tender Fear. You'd get all this junk. The reason we think that there's not an information overload problem in a Barnes and Noble or a library is that we're actually used to the cataloging system. On the Web, we're just not used to the filters yet, and so it seems like "Oh, there's so much more information." But, in fact, from the 1500s on, that's been the normal case.

September 03, 2008

A few use cases for Twitter

http://arstechnica.com/news.ars/post/20080903-twitter-far-more-than-what-i-had-for-lunch-today.html

- Scottsdale police department is publishing (minor) community news: potholes, burglars
- Comcast is looking for angry customers
- Serialized fiction (my professional opinion: total dud)
- Amazon has created what’s basically an AIM bot, using the twitter reply mechanism
- Corporate blogs, except smaller (I’m not big on this, either)

AIM bots via twitter, twitter in an AIM bot . . . . what looks like a patchwork is shaping up nicely, I think, into a very generalized idea of “publishing”, publishing with absolute flexibility as to audience and grain size.

All kinds of entities can publish messages (the Chicago Tribune; my grandma; my car; my toaster; my artificial left knee...), at different granularities, of different classes and priorities. What we are slowly building is a general means for orchestrating
- what messages I emit, to whom. The governing issue here is privacy and appropriateness.
- what messages I care to consume, and how. The governing issue here is convenience.

The first pre-requisite for building this general messaging system is a “network” -- social, I suppose, but so’s everything -- where I can enumerate what my relationship is to different entities. What is my level of trust and interest in: the Chicago Tribune; my grandma; my toaster; my left knee; my car; my car’s mechanic.

Once I have that all set up (which may take a few years yet), the rest is mostly plumbing: publishing and subscribing, and re-publishing. When I “subscribe” to my car, I’ll choose to get messages of some priority level (e.g. “low tire pressure”) along some appropriate and convenient channel {SMS | IM | email | whatever }. I’ll also re-publish some of that information, for instance to my spouse and my mechanic. The mechanic subscribes to me, his customer, through whatever channel is convenient for him — a work order system; email; a “podcast”(ish) where his incoming messages are batched “read” to him while he fixes cars; whatever. I may not know. The medium is not the message. The message will make its way through whatever medium makes the most sense.

In a corporate setting, I think we can safely stop asking “Is there any enterprise use for Twitter?”, because the question might as well be, “Is there any enterprise use for sending and receiving messages?”. The only question is, for a given class of messages, what is the most convenient and appropriate mechanism we can think of? If we discover what looks like a “new” medium at this point, the chances are we’ve simply discovered a nicer way of clustering and channeling a certain class of messages that already existed.

August 04, 2008

from a book called "art & fear"

The ceramics teacher announced on opening day that he was dividing the class into two groups. All those on the left side of the studio, he said, would be graded solely on the quantity of work they produced, all those on the right solely on its quality. His procedure was simple: on the final day of class he would bring in his bathroom scales and weigh the work of the "quantity" group: fifty pound of pots rated an "A", forty pounds a "B", and so on. Those being graded on "quality", however, needed to produce only one pot - albeit a perfect one - to get an "A".

Well, came grading time and a curious fact emerged: the works of highest quality were all produced by the group being graded for quantity. It seems that while the "quantity" group was busily churning out piles of work - and learning from their mistakes - the "quality" group had sat theorizing about perfection, and in the end had little more to show for their efforts than grandiose theories and a pile of dead clay.


July 01, 2008

Robert Reich: Responsible Capitalism and Democracy



The little man makes long, detailed, crushing analysis of the idea of "corporate social responsibility". For him, it's basically a wishful substitute for -- and often a way of interfering with the making of -- a good law.

The only thing I disagree with here is his occasional use of his pet term "supercapitalism" (since some of this comes from his book of the same name). I think the word "capitalism" is actually pretty sufficient.
 
 

A recent post-bike-home smoothie, with nutrition info

I'm normally hugely into the frozen fruit smoothie, but this is really, really good for a different purpose.


Calories Protein Fat Carbs Fiber Sodium
305.0 12.8 12.9 37.5 7.1 236.2
% of Calories: 16% 37% 47%

Unsweetened Soymilk
1 cup 80.0 7.0 4.0 4.0 1.0 85.0
Peanut Butter, Natural, Creamy
1 tbsp 100.0 3.5 8.0 3.5 1.0 55.0
Cocoa powder (unsweetened)
1 tbsp 20.0 1.0 0.5 3.0 2.0 95.0
Banana - medium (preferably frozen)
105.0 1.3 0.4 27.0 3.1 1.2

May 01, 2008

Time surplus

A fun point to ponder from the author Clay Shirky.

-----------
http://www.shirky.com/herecomeseverybody/2008/04/looking-for-the-mouse.html

I was being interviewed by a TV producer to see whether I should be on their show, and she asked me, "What are you seeing out there that's interesting?"

I started telling her about the Wikipedia article on Pluto. You may remember that Pluto got kicked out of the planet club a couple of years ago, so all of a sudden there was all of this activity on Wikipedia. The talk pages light up, people are editing the article like mad, and the whole community is in an ruckus--"How should we characterize this change in Pluto's status?" And a little bit at a time they move the article--fighting offstage all the while--from, "Pluto is the ninth planet," to "Pluto is an odd-shaped rock with an odd-shaped orbit at the edge of the solar system."

So I tell her all this stuff, and I think, "Okay, we're going to have a conversation about authority or social construction or whatever." That wasn't her question. She heard this story and she shook her head and said, "Where do people find the time?" That was her question. And I just kind of snapped. And I said, "No one who works in TV gets to ask that question. You know where the time comes from. It comes from the cognitive surplus you've been masking for 50 years."

So how big is that surplus? So if you take Wikipedia as a kind of unit, all of Wikipedia, the whole project--every page, every edit, every talk page, every line of code, in every language that Wikipedia exists in--that represents something like the cumulation of 100 million hours of human thought. I worked this out with Martin Wattenberg at IBM; it's a back-of-the-envelope calculation, but it's the right order of magnitude, about 100 million hours of thought.


And television watching? Two hundred billion hours, in the U.S. alone, every year. Put another way, now that we have a unit, that's 2,000 Wikipedia projects a year spent watching television. Or put still another way, in the U.S., we spend 100 million hours every weekend, just watching the ads.


March 10, 2008

Green stuff

This was something i posted on an internal work blog, but I thought I'd share it with you folks as well. 



About companies going Green -- response to Baiju.


Economists love to talk about externalities, right? -- aka, letting some other entity pick up the tab for something. The other entity might be "the public" or "the government" or "the river" or "the atmosphere". If I light a campfire, the atmosphere takes away the toxic fumes for me, for free. And it hopefully processes them into safe breathable air as well, at some point. Excellent.

It's clearly economically rational to take advantage of externalities. It's better to pass costs than hold the bag. And sometimes absolutely no one is holding the bag. (Disposal of the Voyager spacecraft? The galaxy can handle it.)

But here's where it gets tricky: when one day you find the person holding the bag -- if there is such a person -- and you see them paying an unfair cost, it becomes a moral situation in the minds of many people. When acid rain is destroying forests and hurting peoples' health, people will want to step in to change the equation. And we do, and we did. (Slowly.) And then the moral balance is maybe restored. (There's even a good word for that: "justice".) Resume normal economics at this point.

We're at a funny time in history. New externalities are being identified. Some cost-passers (say, American corn farmers with their chemical fertilizers) are being suddenly matched with bag-holders. (Gulf coast shrimp farmers dealing with a dead zone the size of New Jersey where nothing can live -- look it up). But we are still in a limbo, waiting to see how this, and lots of other, formerly benign/unnoticed externality situations can be accounted for in the economic, legal, and regulatory infrastructure. This infrastructure will eventually let us turn what we deem to be unfair externality situations into more above-board kinds of economic transactions. (Tax the fertilizers--ban them--regulate their use--filter the river--compensate the shrimpers--whatever.)

In this limbo, companies don't yet NEED to start putting all their externalities on the books. It's not always clear that they can right now. When required to pay, they will surely pay. If all airlines raise ticket prices because of a new carbon tax that will help pay explicitly for the formerly free CO2 externality, Accenture will pay those prices.

But in the interim, without the new frameworks that will help us move from externalities toward a set of new "internalities", the public sees moral situations where it didn't see them before and it wants action. People have new information about a moral situation -- they want to exercise some ethical behavior. They want to restore "justice". The sense of fairness is something about people (and even many apes) that is so basic you can measure it in the lab. And it's a good thing!

So yeah, some companies are competing for attention in the public marketplace by trying to demonstrate that they will help individuals exercise their moral choice in the matter. Thus: "GREEN". Is this "PR" and "marketing"? To the extent that it's about relaying a message to the public, then it's public relations, sure. But public relations can be informative sometimes, and this might be one of those cases. Having this information might actually help some people make the choice they actually want to make, so there's a real value to that. To the extent that all of this Green stuff is not actually resolving the underlying externality situations, it's sort of a game, but it might be alleviating the problems a little bit while we are waiting for the real economic infrastructure to be built.

Is this marketplace arrangement shortening the externality-limbo, or prolonging it? It might be raising awareness; it might be assuaging guilt. I don't know how the scale tips on that one.

I do know that when companies do something that simply makes them more efficient, it's clearly in their self-interest, so they should have been doing it already, Green or no Green. (Companies have been using fluorescent light bulbs for decades.) When they do it, and then trumpet themselves in the marketplace about it, it's a little sickening. That's my only problem with our green data center initiative. But I think it these kinds of semantic abuses go with the territory. The public wants to see these messages (for what I think are the right reasons). Companies are going to bring them these messages (for any old reasons).

----

not posted at work:

Some of course will claim that we *only* need the marketplace in this -- or any -- situation.  In this case, I think that idea barely merits a serious rebuttal.  The entire situation IS the rebuttal.


December 11, 2007

Groping toward better computer games

This talk (the slides are a decent substitute) tries to delve into what computer games really are -- at their mechanical, metaphysical level -- and turn that into some value judgments about what games should be (Hint: not World of Warcraft.)

December 05, 2007

Bruce Schneier, Security Guru extraordinaire, answers lots of questions

http://freakonomics.blogs.nytimes.com/2007/12/04/bruce-schneier-blazes-through-your-questions/



Q: Is there any benefit to password protecting your home Wifi network? I have IT friends that say the only real benefit is that multiple users can slow down the connection, but they state that there is no security reason. Is this correct?

A: I run an open wireless network at home. There's no password, and there's no encryption. Honestly, I think it's just polite. Why should I care if someone on the block steals wireless access from me? When my wireless router broke last month, I used a neighbor's access until I replaced it.




October 03, 2007

Google Presentations

First impressions of Google Presentations:

  • Stripped-down. There's not much there there. Very modest selection of fonts, and only a few slide layouts.
  • You can add images, move them around, and resize them, but absolutely nothing beyond that.
  • A collection of slide "themes" is available, but I haven't yet seen a way that you could actually edit the themes, to make a custom "slide master".

If a large company (such as mine) were to eventually adopt a tool like this, I think the productivity (and usability) benefits would be substantial. Slide decks, as we know and love them today, suffer from the following problems:

  • being emailed all over the place, and back again, despite the awkwardness of email attachments and our miniscule email storage budgets
  • version confusion, due to having been emailed all over the place
  • vulnerability to data loss due to living on peoples' laptops instead of "in the cloud"
  • utter lack of access control (due to being emailed all over the place)
  • an "orphaning" problem, where you have a deck that has lost its connection to its authors (or to any time and place at all).
  • a lack of firm-wide consistency in layouts, styles, fonts, etc. Style compliance is voluntary, not built-in to the tool.
  • sharing a presentation online, in real time, is accomplished only through complicated, expensive, and basically unpleasant 3rd-party tools like Centra and their ilk. In terms of sharing information and saving Accenture travel money, these kinds of presentations could be the mostly useful thing in the world; instead, they are something that people tend to avoid unless absolutely neceesary. I need an expense account (or a degree in computer science, or both) to show you my slides. Um, why IS that?
All these problems are dealt with -- or could be -- through a web-based approach to presentations. (Or through document-management systems, but history shows that that is just wishful thinking.) Just to take the last bullet point: instant online presentations. In Google Presentations, the first step is: click "start presentation". Second step: there's a URL in the corner; copy it and give it to someone (or many people). Third step: there is no third step.

There certainly may be online presentation apps that are richer than Google's, or more appropriate for the needs of the companies that actually run on PowerPoint (such as mine). I'm really more interested in the potential of this category than I am in Google's approach in itself. But I'll just note that the thing that's good about Google -- and bad about Microsoft or Centra or whomever -- is that they understand the virtue of simplicity. For instance, there a chat room built into the presentation view. But the entire chat room UI has exactly ONE BUTTON. To compare and contrast, do an images search for "centra".

Process Explorer

Like a lot of people, I am occasionally (or often) mystified by the behavior of Microsoft Windows. There's a fellow called Mark Russinovich who is seldom as confused as I am -- in fact, he's totally on top of it. He is the one who found the Sony rootkit last year, for example. His company (now bought by MSFT) makes various useful system utilities (such as psexec). Here is a Russinovich tool I just found out about: Process Explorer. It's the Task Manager on steroids.

http://www.microsoft.com/technet/sysinternals/processesandthreads/processexplorer.mspx

Process Explorer is an advanced process management utility that picks up where Task Manager leaves off. It will show you detailed information about a process including its icon, command-line, full image path, memory statistics, user account, security attributes, and more. When you zoom in on a particular process you can list the DLLs it has loaded or the operating system resource handles it has open. A search capability enables you to track down a process that has a resource opened, such as a file, directory or Registry key, or to view the list of processes that have a DLL loaded.

My friend used this tool to discover that his Intel Proset Wireless drivers write 2.6 MB of data to disk, every twenty seconds or so, forever. Nice!

July 20, 2007

Can you redesign the Bloomberg terminal?

Three design studios had a crack at it, at the bidding of Conde Nast and their (physically) enormous new financial magazine, Portfolio.


http://www.portfolio.com/infographics/2007/06/terminals


What really surprises me is how shallow these designs are -- they don't seem tied to a meaningful sense of what the users actually DO all day with their Bloomberg terminals. One design takes away the user's keyboard and replaces it with . . . a puck. Why??

More generally, this exercise reveals (at least to my mind) that there's a lot of learning left to be done in the area of large screens. In IDEO's design, as users "drill down [on the left], new information is added to the right". Based on how big these screens are, this would have strange effects. When you're working with a small graphic element on a surface, you don't expect (or really want) the consequences of your action to show up 24 inches away. This would have you swiveling your head back and forth all the time like someone in the front row of a tennis match.

May 11, 2007

Text Flow


This is either snake oil or something completely and utterly cool.

http://www.readingonline.org/articles/art_index.asp?HREF=/articles/r_walker/




Abstract

A new process, visual-syntactic text formatting (VSTF), transforms block-shaped text into cascading patterns that help readers identify grammatical structure. The new method integrates converging evidence from educational, visual, and cognitive research, and is made feasible through computer-executed algorithms and electronic displays. Among college readers, the VSTF method instantly increased reading comprehension and efficiency of reading online text, while reducing eyestrain. Among high school students, who read with the format over an entire academic year, the VSTF method increased both academic achievement and long-term reading proficiency by more than a full standard deviation over randomized controls.

April 19, 2007

Grafx

Have you noticed that on the Windows platform, there is a huge gap in functionality between Adobe Photoshop and, oh, I don't know, what's the next thing down the list . . . MSFT PAINT? And yet people somehow get a lot of light graphics work done. Maybe PowerPoint helps people shoot the gap, I'm not sure. For me, it's typically Photoshop or nothing, despite the fact that Photoshop is just way too much tool, most of the time.

Well, it turns out there IS a reasonable middle ground. One program I found there yesterday is called Paint.NET. It was created at the University of Washington, originally as a student project, but apparently Microsoft contributed some help as well.

Paint.NET site

It's free & open, but it doesn't have that dog-eared open-source look about it -- it's a nice program. It does layers, and has reasonably helpful help. I kinda like it. It's very much a paint program, not a drawing program -- once I draw a rectangle on the canvas, the rectangle becomes pixels, not a shape.

Which raises a question: is there a medium-feature-set, free alternative to Illustrator?

April 09, 2007

Violin

Fascinating article.

http://www.washingtonpost.com/wp-dyn/content/article/2007/04/04/AR2007040401721.html


I'm not sure the right response is to wring our hands, but it does
give food for thought.

March 13, 2007

Comments about command lines

My response to http://www.humanized.com/weblog/2007/02/24/your_grandmothers_command_line_the_command_line_co/, about the maybe-rise (again) of command line interfaces.


To follow Tim's comment, I would like to see you talk more, perhaps in a future piece, about the specific design choices you made for Enso. I understand -- and support -- the general idea of the keyboard as a renewed & rejuventated interface device. Like many of your readers here, I too use Quicksilver, AppRocket, etc. So I get the big picture.

But about the *details* of Enso . . . one interesting choice is that you impose specific commands (such as "open"). This seems like a huge break from the world of "launchers", a step into the territory of command-lines that actually have commands (e.g. bash). I'm curious to know what you are aiming to gain by that? How would you compare yourself to something like Quicksilver, which is goes beyond launching, into the terrain of Unix pipes, but without a verbal command syntax such as "open" or "calculate"? Quicksilver seems to be managing to give the users the power of complex actions, without requiring them to learn a vocabulary of explicit synonyms for those actions. (Thus, in QuickSilver, to "calculate" something, you don't have to use the word "calculate" -- you enter in a calculation and it just does it.)

Another design choice of yours, which I do think is pretty innovative, is the ability of Enso to grab user-selected stuff from other programs. Does this go beyond (demoable but perhaps ultimately limited) plain-text selection? Do you see this ability growing into an important part of your tool?


---------------------------------------

My response to http://www.humanized.com/weblog/2007/03/05/are_adaptive_interfaces_the_answer/, about adaptive interfaces such as Microsoft's "adaptive menus" in Office -- now defunct.


I do have a small point to make about customizable user interfaces. Which is this: their praises are often sung by hard-core users, the kind of users who do similar work, on a single machine, for years on end. Their work is focused, and even somewhat repetitive. What they love, above all things, are shortcuts.

But be aware that catering to one user clique may hurt you in a wider marketplace. A *lot* of people in the world use more than one computer in a day. Others have to take account of the fact that others will use their computer sometimes. And a third, very large, group of people don't view computers as something to be customized, so they never go an inch down that road regardless of the rewards.

Customization -- feathering one's nest -- only pleases the base. Does Enso allow you to create your own commands? I'd argue that in the end it's completely unimportant. Let them eat emacs.

Conforming to the user, however -- that is golden.

MSFT just did it wrong, as usual.

February 22, 2007

Medieval Islamic Tiling

Q: How do can you tile a surface with shapes that have 5-fold or 10-fold symmetry? (A square has 2-fold symmetry -- it's obviously easy to tile a surface with squares.) How can you do it without a compass or a straightedge (which, as the pattern becomes larger and more complex, would cause errors to accumulate and distort the pattern)? "Girih patterns" from 15th century Islamic architecture demonstrate how it's done.

PDF of a physics paper from Harvard figuring it out.

February 01, 2007

Dark Room and Write Room

There's a very, very, very simple (and free) text editor called Dark Room . . . . puts me in mind of AppleWorks. (The old AppleWorks.) WriteRoom is a similar program, for Windows.

So far I have used this to help me write a 3000 word article and NOT check my email.

As much.

Circuit Bending

I really recommend the upcoming "Circuit Bending" workshop at the Old Town School of Folk Music in Chicago. It's tres fun. The teacher Patrick is a fairly zany Chicago-artist alley-diver type, with a yen for taking children’s toys and dementing them, sonically speaking. I like him a lot.

http://www.oldtownschool.org/workshops

---------------------------------

Take apart your old toys and make a brand new musical instrument! Circuit bending is the art of modifying existing electronics (like children's toys, guitar effects units, inexpensive battery-powered instruments, etc.) to create unique musical instruments by adding wires, knobs, and switches to control new connections within the device's pre-existing circuitry. Enjoy bizarre sounds, electronic loops, sampling, distortion. At the end, you’ll be able to identify and name parts of a circuit board. You'll also open a battery-powered device safely, explore its circuitry, install an output jack, switches, body contacts (and more!), and control new sounds like pitch, randomizing sound generation, distortion, (and more!).

Sharing Snippets

http://webworkerdaily.com/2006/10/11/googles-little-scriptlet-of-big-ideas/

"Apparently, Google encourages all its employees to send things they learnt or want to share with coworkers as a snippet of five lines - no less, no more. The employees have to be very precise and focused. It can be anything from executing a simple task or if they figured out a better way of doing something that is part of their daily work. Or just an aha moment. All they have to do is email it in. Google then indexes all these emails and makes them searchable. Think of it as giant FAQ database about Google by Googlers."

Many Eyes

Visualization-sharing page, started by Martin Wattenberg, who is one of IBM research's big viz people & the inventor of, among other things, the Baby Name Voyager.

http://services.alphaworks.ibm.com/manyeyes/home

Many Eyes seems to be meant as a place where people can share data sets, as well as viz techniques.

The visualization of U.S. Government expenditures (the only one I've looked at so far) is really interesting and nicely done. And with Java runtime 6 installed on my Vista machine at work, it is surprisingly fast, too.

Enso

I think I've posted in the past about about LaunchBar, Quicksilver, AppRocket and some similar software tools: handy, easy-to-use keyboard launchers -- essentially very light, on-demand command lines -- that really help you circumvent a lot of tedious mousework in the GUI. I think they represent a real step forward in user interfaces.

There is a new entrant in this category -- coming out of a Chicago-based startup, no less. It's called Enso.

Humanized

January 31, 2007

...from an email about "Web 2.0/RIA"

I think it's worth noting, for the record, that "Web 2.0" technologies are not the same as RIA technologies RIA (Rich Internet Application) technologies such as Writely or Gmail, though in the subject line of this email they are connected by a slash character. There are a veritable gaggle of web2.0 developments that don't involve rich browser applications. e.g. del.icio.us, flickr, digg, the tools at 37signals.com, etc. This myriad of new tools seems to revolve around a certain idea (though it is hard to get people to agree on the formulation of that idea). It has something to do with user participation, user-generated content, and a style of thinking about the web in a somewhat new way.

What is that new way? For my money, web2.0 is about a mass of people realizing that they can treat the web as a platform (not as a collection of pages).

What would this mean. Well, take your bookmarks list, in your web browser. There it is. You can bookmark stuff. If the web is a platform, then why not synthesize a "web page" out of your bookmarks list, so you can access it from any computer. Why not make it publicly available (when that makes sense) to your friends and contacts, so they can benefit from your bookmarks, and you can share in theirs. After all, that's what the web is good at.

And we can go a step further, and loosen our grip on the "web page" idea. . . .Why not break down the "bookmarks web page" into little chunks, so that if people want to subscribe to it as a "feed", they can receive your new bookmarks as you mint them. And they can receive them not just in a web browser, but as little emails, or text messages, or any other crazy way they want to get them. It can be up to them.

Also, why not encourage you, the bookmarker, to add a little bit of keyword tagging to your bookmark when you make it, so that people can browse and search around the big pool of everybody's bookmarks, by means of these keyword tags. If some of your bookmarks are marked "recipe" and some are marked "archery", that simple act actually provides a powerful lever to help everyone sift and sort the mass of bookmarks being created every day by all users.

OK, so that's del.icio.us vs a bookmarks file. Web 1.0, meet Web 2.0.

Some clever people had their minds wrapped around the web-as-platform idea from the beginning, of course, which is why plenty of web2.0ish ideas have been around, in fragmentary form, since the inception of the web. And that's why so many clever people are out there curmudgeoning about web2.0 now -- cuz they thought of it first.

Of course they did. But the thing is, Web 2.0 isn't a set of thoughts; it's a set of thoughts that make little sense until a critical mass of people starts to think those thoughts together. Sort of like doing double-dutch jumping roping: you need people to hold the ends of the ropes. Web2.0 is the social phenomenon we see as a critical mass of people starts to grasp the idea of the web as a platform. The idea of del.icio.us -- and it's a fairly slippery, web-centric idea -- is quite normal now to a few million people. Its becoming a normal idea IS the "revolution" (if one is required) of web2.0. It simply wasn't a normal idea in 1995, except among a small coterie of people. So people could have built del.icio.us back then, technologically speaking, but it would be a party that nobody comes to.

(There del.icio.us back in 1995. The people who really understood what the web could do, back then, might have been clever (I styled myself one of them), but they weren't so clever as to build a single one of the tools that we now see in ascendance. I do recall that SixDegrees was a lame attempt to do something like Friendster . . . by email!!!)

An analogy occurs to me between web2.0 and another reviled marketing term: rock and roll. Musical purists will say that the basic elements of rock and roll can be found in sources A, B, and C, far predating the popularity of rock and roll or the coining (appropriating, actually) of the term "rock and roll". But I think everybody sort of knows now, on some level, that rock and roll isn't purely an innovation in musical form: it's also a social upheaval in which a large mass of people embraces that musical innovation. And even the purists will probably grant that a mass audience was needed -- the wide currency of rock and roll ideas was needed -- to bring the music into its fullest development, in the following decade.

I think the same is true here.

November 07, 2006

Response to the New York Times Reader Application

To the New York Times Reader designers,

The Reader is exciting! I think that it's the most significant step that newspapers have taken on the web, since the building of the first newspaper websites. Congratulations.

However, I'm concerned about one feature of the interface: its confusing spatial logic. The Reader is already a spatialized way of looking at a collection of documents. And it already has a definite logic of the spatial relations between various documents. But the spatial system the designers have chosen is, unfortunately, hard to intuit and hard to rely on, because it violates conventional spatial reality; it violates user expectation; and it seems not entirely consistent within itself, at least logically. With some simple changes to the way that pages appear to be connected to one another, you could improve the Reader greatly.

There are two sources of spatial feedback built into the interface you have: which direction a page scrolls in from during the animated page transitions; and which arrow key direction (or arrow button direction) the user applies. These two spatial determinants combine -- or might -- to give a user a gut-level sense of "where they are". (Or, they interfere, or and the user doesn't have that sense.)

To walk through how the current spatial logic works (or doesn't), take the experience of reading a multi-page news article. The software seems to encourage people to use the arrow keys to navigate in this case, since you made the "page down" arrows so small and hard to hit with the mouse. That's a reasonable design choice. The DOWN arrow takes me farther "down" into the article.

(Personally, I would suggest that the article extend to the RIGHT instead (perhaps even pulling in *one column at a time* as it did so, instead of flipping whole pages at a time -- conserving the user's visual context at all times. Please try out the Macintosh text-reader called "Tofu" to see what I mean. http://amarsagoo.info/tofu/index.shtml))

However, your designers chose DOWN, so down it is. At least the direction of movement matches the arrow key, thus far.

Once I reach the end of article A, pressing the DOWN key takes me to the next article, article B. Firstly, that's somewhat unexpected, since the down icon was dimmed. Secondly, despite my pressing the DOWN arrow, the article moves in from the RIGHT, as though I had pressed the right arrow. Spatial factor 1 (animation) didn't match factor 2 (arrow key).


If the article had scrolled in from the bottom, I might think of myself as continuing to go "down" the stack of articles. But instead I need to think of myself as going "right", across a row of articles. Evidence for this is that if I press the LEFT key, I go back to (the first page of) article A. So article A is "to the left of" article B, in your layout. (What is the relation of these two articles to their section header page? As it turns out, I have to go from article B, through article A, to get back to the section header -- which is too bad. If the section header was "above" all its articles, then pressing UP from the first page of any article would get me back there.)

Back at article B, though. If instead of pressing LEFT, I press the UP key (the reverse of the DOWN key that brought me from the end of article A to the start of article B), I go back to . . . the start of article A. Not the end. But wouldn't it make more sense to go back to the end? All I'm trying to do is to reverse the action I took -- I went DOWN, now I want to go UP -- but that didn't get me back to where I was. That's unintuitive.

(Also, the page scrolled in from the left; consistent with your layout, but disobedient of my directional input.) If I really do want to go back to the last page of article A, I now have to scroll forward through the whole article again. (Or pick up the mouse and click the Back button.)

It may sound like a lot of small details, but I think these details add up, and either support users' spatial intuitions, or muddle those intuitions. The principle of coherency would suggest at least the following rules of engagement:

1. Actions should be reversible. The opposite of left should be right; the opposite of up should be down, like in the real world.

2. The direction of animation (spatial factor 1) should always match the direction the user asked to go in (spatial factor 2). To support users' spatial intuitions, we should avoid surprising them about where they will end up when they do something.

It would be better to temporarily disable a key than to map it to a non-intuitive action. (You do this on the front page, in fact; the UP arrow does nothing there, which is good. Unfortunately, on that page, the left arrow animates the page over to . . . itself! Why?)

For coherency, the "back" and "forward" arrows suffer some of the same problems as the physical arrow keys, because they seem to suggest a spatial direction -- forward and back. (Back always points left.) When I press the "Forward" arrow, the new page slides in from the right, which does match intuition. But when I press the "Back" arrow, which points LEFT, the page again slides in from the RIGHT -- exactly the opposite of expectation. Maybe the "back" button should follow the user's trail -- through the space of documents -- exactly according to the path they followed, whether they went up, down, left, or right. That would be a powerful wayfinding device that I think even the most casual users would notice and appreciate. Perhaps the button icon could point in the direction that it would actually take the user. The words "retrace steps" or "go back" would have to be written underneath the button. The forward button might get similar treatment.

By releasing the Reader as a version of the New York Times, you are trying to (continue to) transition readers away from a physical object which has, among other things, strong spatial logic (a product of careful human design) and perfect spatial consistency (a product of physics). To win over users who are not computer experts, if you give users a spatial design, you should make sure you don't betray users' built-in spatial intuitions, which a real newspaper never does. The fact that software frequently undermines users is one of the reasons many people don't understand, for example, their own file system. (Please check out John Siracusa's critiques of the current Macintosh operating system interface on arstechnica.com for detailed arguments in favor of (consistently) spatial software. http://arstechnica.com/articles/paedia/finder.ars/3)

If you were inspired to test spatial effects (and are blessed with testing staff and budget), a couple of simple experiments could reveal users' intuitions about the interface (or lack thereof). Have study participants read the news at their own pace and discrection, but interrupt them at various points, to ask them "If you press the right arrow {or back button, or space bar, or whatever} right now, what do you think you will see?" Measure how often users are wrong. You might also try think-aloud studies, where users talk about their browsing intentions. Try to get them to say aloud, "I'm going to go to the next article now", or, "I'm going to go back to the front page now". See exactly how many mistakes they make; how often do they do what they're trying to do on the first try? My claim is that in the current setup, there will be many mistakes.

I personally think a good spatial setup would be if articles were purely horizontal -- they extended to the right, instead of downwards. The right arrow takes you through an article to its end. Then it doesn't do anything -- it's disabled. The next article is always "below" the one you're reading now. The down arrow takes you to that "next" article, which slides in from the bottom. When you get to the bottom of a stack of articles, the down arrow doesn't do anything -- it's disabled. Going LEFT from the first page of an article -- any article -- takes you to the section heading. (Perhaps there's a special indicator on the left hand edge of the screen that makes this clear.) I think this would be an arrangement (one of many possible) that users would intuitively grasp, even if they did not consciously ascertain -- and this could be seen in the results of the experiment outlined above.

But barring that suggestion and sticking closer to your current arrangement, I contend that simply imposing some order and consistency on what you already have would still yield measurable benefits.


sincerely,
BLWH


P.S. Other notes:

1. The Macintosh user community would have been a natural fit for this application -- please don't leave them out in the cold entirely. I realize the appeal of developing this application with WPF, but if the downside is the total exclusion of a prime user base, the price is too high.

2. Are you getting any positive feedback on the "Show What's Read" widget? I would be surprised if it turns out to be valuable. Having to exert so much fine motor control over the mouse to hover over such small targets, just to read a handful of headlines (one per tiny target) seems like meager benefit for such (relatively) high UI effort. Couldn't you simply write the headlines in a small font and pack them together somehow? Then the UI effort would be zero, and information density would go up. If I want to read one, I move my mouse to only one tiny target: the one that I want.

October 27, 2006

Article in Mother Jones

Sara Shipley Hiles, the spouse of Sarah's uncle Tom, has a big feature article out in the new Mother Jones. The print issue doesn’t come out till next week, but you can read it on-line. Sara went to Peru to do the work for this piece. It's pretty amazing.


http://www.motherjones.com/news/feature/2006/11/lead_astray.html

October 17, 2006

New long-term study of TV watching and autism in children

http://www.slate.com/id/2151538/nav/tap1

Today, Cornell University researchers are reporting what appears to be a statistically significant relationship between autism rates and television watching by children under the age of 3. The researchers studied autism incidence in California, Oregon, Pennsylvania, and Washington state. They found that as cable television became common in California and Pennsylvania beginning around 1980, childhood autism rose more in the counties that had cable than in the counties that did not. They further found that in all the Western states, the more time toddlers spent in front of the television, the more likely they were to exhibit symptoms of autism disorders.


October 16, 2006

The Proceedings of the Athanasius Kircher Society: A blog

Good, weird stuff. Like reading the Guiness Book of World Records in elementary school.

http://www.kirchersociety.org/blog/


October 10, 2006

The March of Technology

I'm sure I'm not the only person pointing this out, but . . .


The Onion, Feb 18, 2004.  http://www.theonion.com/content/node/33930?issue=4228&special=2004


CNN Money, Sept 14, 2006.  http://money.cnn.com/2005/09/14/news/fortune500/gillette/

September 23, 2006

Nota Bene

from the Times today . . .

Don't sign the back of your credit card, advised the Straight Dope (straightdope.com), the longtime wisdom-dispenser for readers of alternative newspapers. "However," writes "Ken," a Straight Dope staffer, "do not leave the white stripe blank. In that space, write: 'Ask For Picture ID.'"

August 15, 2006

Still Life with Glasses

A short film called Me; 3 years of daily photographs of a person's face, spooled into one clip.  I read the concept and thought it would be interesting.  In fact, it's completely amazing.


July 18, 2006

Juan Lopez and John Ward

I was sent the following Borges poem in translation, and, being a little dissatisfied with the translation, knocked out a slightly different one. Here for Google -- or for you -- to find it:


Juan Lopez and John Ward

They were fated into a strange time.

The planet was parcelled into different lands
each with its provision of loyalties, of
fond remembrances, of a past without a
doubt heroic, of rights, of insults, of a
special mythology, and eminences in bronze,
of anniversaries, demagogues, and emblems.
This division, beloved of mapmakers,
bred war.

López had been born in the city by the still river;
Ward, on the outskirts of the city on the path
of Father Brown. He had studied Castilian
so as to read Quixote.

The other professed a love for Conrad, a revelation
from a lecture hall on Viamonte Avenue.

Possible friends, they were only face to face
a single time, on an island overly exposed,
and each of them was Cain, and each was Abel.

Buried together, they are known now to the snow,
and to dissolution.

What I tell here occurred in a time beyond our ken.

- Jorge Luis Borges, Sept. 1982

May 30, 2006

John Muir

I just assume people know about John Muir. Do you know about John Muir?

http://en.wikipedia.org/wiki/John_Muir

May 23, 2006

In Praise of eMusic

http://arstechnica.com/articles/culture/emusic.ars

Nota bene: the game with eMusic is always selection. They lack tons of things. They also have tons of things. Recently added: all of White Stripes.

May 11, 2006

43 Things

Not to be confused with the website 43folders, which is about making you more productive, 43 Things is a way to make half an hour disappear. But it's not lost time.

You make a new account, and type in a little list of things you want to do (i.e. go to China, learn to juggle). Then comes the Internet part. There are lots of other people who want to do the same things . . . or have already done them. Suddenly, all those people can brush against each other, around the common token of "I want to do X" or even "I wanted to do X, and I did it". And they can talk to each other. That's the idea, anyway.

Is a site like this -- high-minded, let's agree -- mostly a proving ground for features that will eventually be incorporated into MySpace? (I wonder the same about del.icio.us and flickr, and the others.) And when that happens, will said features be instantly perverted into a way of idolizing celebrities or reinscribing some petty high school pecking order? That is not my problem. By that point I will be "hik[ing] the appalachian trail" or "travel[ling] around the world".

TYGER: a video? a movie?

This video is completely cool. The most interesting 3 minutes of my day by far.

March 01, 2006

Re: iPod Hi-Fi. Home stereo. Reinvented.


AE wrote:
Do you have the iPod boombox?  Have you heard this, and if so, how does it sound?


I don't have it, and I have not heard it, though I believe them when they say that it sounds good.  It is also 300-some bux.

What I do have is this:

http://www.kk.org/cooltools/archives/000468.php

Cheap, sturdy, weatherproof, built-in rechargeable battery pack instead of D-cell batteries, and IT HAS A RADIO!




February 28, 2006

A fresh take on explaining quantum computation

No cats are threatened in the course of this explanation of quantum behaviors and computations.

February 27, 2006

People of the Coasts: Moisten One Another

StreetWars: A 3 week long watergun assassination tournament - NYC, Vancouver, Vienna, San Francisco. AE, you should do this.

Principal dangers, as I see them, in order: getting arrested for breaking and entering. Gettting shot for breaking and entering. (This game will not be coming to Texas.) PATRIOT Act and all that it implies. Giving someone a heart attack.

February 23, 2006

What Saints Protect you From What


OR,

how Sarah and I will be selecting the name of our unborn child! How to choose whether to be protected against "rats", shielded from the possibility of "rupture", or maybe immunity to "scurf"?

Patron Saints Index Topic List

Protected groups with their own saints include:

disappointing children
gas station workers
computers
Chilean Army
Chilean Navy
chimney sweeps
fireworks manufacturers

January 26, 2006

game theory is fun.

and gendered.



http://www.nytimes.com/2006/01/26/business/26scene.html

Re: music genome project

http://pandora.com/

I have used this. It's fun, and it has actually suggested music to me which I went out and bought.

That said, the music genome project seems to classify music on strictly formal grounds -- male or female vocals, slow or fast rhythms, etc. Which is fine and good (I'm quite the formalist myself, as any of my cultural studies friend will attest), but it doesn't give the system any ability to distinguish between two bands producing similar-sounding, similarly-structured music, where one piece of music is good, and the other is crap.

Of course, most people can't make this distinction, either, which accounts for the popularity of openly derivative, openly crappy content such as, say, Candlebox, or the Monkees.

Reply from a friend:

Yes, what it boils down to is that Pandora - and any other service or person - can only suggest tracks based on measurable well-defined properties. Whether it is good or bad music will be a matter of personal taste (with a few undeniable exceptions).

And sometimes Pandora is just plain wrong: I entered Goldfrapp as the search term, and Pandora came up with songs by Ace of Base and Belinda Carlisle!

My response:

I was being a bit tongue in cheek -- of course value questions such as "good" vs. "crap" are subjective. However, there are ways that the system could try to use "quality" (or at least the chronology of musical variation) as one of its axes, as it tries to guess what to play next.
  • Get album or artist ratings from the web (Amazon, emusic.com, or elsewhere), using them as a raw index of "quality".
  • Text-mine music journalism archives for positive reviews, possibly weighing these against the popular opinion. Perhaps the system's profile of the listener should include the listener's likelihood of agreeing with the Amazon crowd, the eMusic crowd, the Pitchfork crowd, the Rolling Stone crowd . . . .
  • More interestingly, do some more detailed language processing on the text of all those reviews, looking for particular language, such as sentence forms built around verbs "inspired by", "derived from", "echoes", etc. From that, the system might infer that certain music emerges from other music. Whether the listener prefers the early example of something (Television, Velvet Underground) or later examples of something similar (The Strokes) could also be part of their profile.
  • By default, the system could try to give priority to earlier examples of a particular form, or form combinations, such as close female harmony/electric guitar. Unless a later example of that formula is clearly highly-rated (using some of the above metrics), the earlier stuff should be weighted more heavily, since it is probably more original music, and perhaps of higher overall musical value.

January 20, 2006

I Use BaseCamp

"...an alphabetically sorted list of popular Web 2.0 applications. The description for each of the application is taken from their own About or FAQ pages."


http://virtualkarma.blogspot.com/2006/01/complete-list-of-web-20-applications.html

January 07, 2006

Leia Bell: Print Maker, Poster Maker, Painter












We are tres excited. Got numbered prints for Decemberists and Shins shows.

Leia Bell site
Leia Bell interview

January 03, 2006

Cool Tools

This site is still an open secret. Kevin Kelly (of Wired fame) compiles people's recommendations to him -- recommendations about cool stuff. Since KK has a bushel of interesting friends, the Cool Tools site links to a bushel of interesting objects. Audio equipment, shoes, walkie talkies, books on backpacking, crafts, CAD software, pens . . . finding hot springs in Japan . . . railways converted to bicycle trails in North America . . . accurate rulers . . . a tool for making an igloo. . .

A place to start before buying, or doing, any sort of thing.

December 23, 2005

Carbon footprint calculator

A tool on the BP website lets you figure a rough estimate of your household yearly CO2 emissions. I think Sarah and I clock in at about 12 tons, against the US average of 19. Air travel accounts for a surprisingly large chunk of that.

December 16, 2005

Friday Macintosh Uppitiness

Some people still think there's parity between the Mac experience and the Windows experience. This man's screenshots humbly beg to differ. 3 steps to sync a cellphone to a Mac, 11 steps for Windows.

My personal case in point: make a little movie in iMovie, make the same movie in Windows Movie Maker. Take blood pressure test after each.

The future is now!

Automatic milking machine movies: lasers! robots! teats! Must be seen.

Institute of Cultural Inquiry

Institute of Cultural Inquiry

"Objects of interest to Institute Associates have included photographs taken by W.G. Sebald, newspaper articles about AIDS, taxidermied and pickled mammals including monkey heads, a manual of lost ideas, found footage from a 1945 film, sound mirrors, the Narrenturm, video projections with a president apologizing for everything, mystic writing pads, and dream-dredging devices. Systems and methods of thought that have guided Institute research include excavation, curation, hypnotism, souveniring, animal and botanical revisionism, ventriloquism, divination, aerial navigation, and museum installation."

The AIDS Chronicles project is interesting.

Museum of Forgery

a little baffling

Experiences with OpenOffice 2.0 Writer

As as alternative to MS Word, I've been using OpenOffice 2.0 Writer on my Windows machine for about four days now. I had tried other free alternatives to Word before, notably AbiWord. But none of those experiments have lasted longer than a few days. AbiWord, for example, doesn't display all fonts at the same size and spacing as Word; I care about fonts, and I need precision. Also, AbiWord occasionally crashes on me outright. OpenOffice has been stable. Its memory footprint is reasonable, at about 30 MB (a bit smaller than Word), and its performance seems snappy enough.

In the time I've been using OpenOffice Writer, I've produced and edited documents of only medium complexity. I do use columns quite a bit (see my back articles for why), fonts, and list indenting. On the other hand, I haven't been using features like mail merge, tables of contents, footnotes, or embedded tables. No macros, either. But then, the last time I touched one of those features, or did something with a macro, was, oh, 2001, and I suspect the same may be true of you, dear reader.

One important note about file format: when saving documents from OpenOffice, it still seems wise to use the standard .doc format. I would naturally use the Microsoft-Word-compatible XML format instead, of course. By being a plain text format, it's more transparent, potentially readable by other tools, and it starts to wrest us away from those hoary old proprietary binary formats which lock users into one platform. Bring it on.

But sadly, OpenOffice's support for the XML format is flaky -- by using it, I quickly lost a couple of words from the top of two columns. As an additional unruliness, OpenOffice frequently opens XML documents as read-only, for no good reason. So I'm sticking with .doc for now.

December 09, 2005

December 08, 2005

Interesting paragraph from something called the "Concise Encyclopedia of Economics"

http://www.econlib.org/library/Enc/StockPrices.html

"Over time, the total return on stocks has exceeded that of any other class of asset. This is shown in [the chart below], which compares the total returns to stocks, long- and short-term government bonds, gold, and commodities (measured by the consumer price index). One dollar invested in stocks in 1802 would have grown to $1,250,000 in 1991, in bonds to $6,920, in Treasury bills to $2,830, and in gold to $14.20. The consumer price index has risen by a factor of 10.4, almost all of it after World War II. One dollar invested in 1802 would have grown, in inflation-adjusted dollars, to $109,000 in stocks, $605 in bonds, $248 in Treasury bills, and $1.24 in gold."

December 04, 2005

DevonTHINK -- is this useful?

http://www.nytimes.com/2005/12/04/business/yourmoney/04techno.html?th&emc=th

More ink about DevonTHINK today in the NYT. I go back and play with the program some more every time it pops up in the press, as it seems like something that would be right up my alley, but it never seems to make much sense to me. Today, I thought I'd actually try to figure it out.

It's simple enough on the face of it, anyway. DevonTHINK is a keeper for snippets (of all kinds). It allows instant searching, cross-referencing, even a sort of associative clustering, within the collection. Steven Berlin Johnson was eloquent on its powers earlier this year:

http://www.devon-technologies.com/files/reviews/nyt%202005-01.pdf

People report some overlap with EndNote, the bibliographic management tool that humanities grad students use to get their dissertations wrangled. I believe the difference is (correct me here) EndNote is for just one kind of entry: bibliographic. DevonTHINK can do text, PDF, doc, RTF, images, word, etc. It also has a web browser built into it, enabling it to directly reach out and grab things from the web (and save them off into its collection).

Also, EndNote has only a workaday notion of keyword search. DevonTHINK is fancy: its search is informed by semantics, meaning that searching for "dog" will turn up documents that mention "canines", or even documents with words that frequently co-occur with "dog", such as "tired." This sort of information retrieval style is not new, but it is new and cool in the context of the desktop computer and a personal collection of files.

But DevonTHINK carries what looks to me like an albatross. As near as I can tell, the way DevonTHINK works is to keeps its collection of files in one big file, separate from the original versions of things. If I put a text document into DevonTHINK, the program stores a copy of it. And if (nay, when) the original document changes . . . the change is not reflected in DevonTHINK. I must go back and re-add the file to the collection. DevonTHINK does not keep the 2 versions in sync!

If so, there's little point in putting, say, an email archive into DevonTHINK, because an email archive grows and changes all the time, and DevonTHINK remains unaware of growth and change. Likewise for new documents I'm working on; the new IM chats I'm constantly generating; new files I'm downloading; new podcasts; new videocasts; new songs; . . . if the user doesn't manually put each and every item into DevonTHINK, as it changes or appears, the database has holes. So now, to find things, the user has to search in two places now: inside DevonTHINK, and outside. Inside, cool associative semantic search. Outside, none.

And if that's so, then DevonTHINK seems more or less useless for realtime information management -- instead, it's really best suited for managing a specially designated, static library of stuff such as Steven Berlin Johnson's carefully compiled archive of research articles and snippets. (Which he has a research assistant help him with, by the way.) Such an archive must be manually built and pruned, when one has the time, and when one remembers to, and if one has the interest to even get started.

What DevonTHINK sounds like to my ears, but turns out not to be, is EndNote on crack, for the whole hard drive and for all the files. And I would indeed like that. Also, it would always be on, requiring no investment from the user. When I search for "Christmas" amongst my stuff, I'd like pictures from Christmas time, chats that mention "xmas" lists, brand new Christmas songs from my library (even ones that don't explicitly mention the word Christmas), a Christmas slide show from long ago (again, not mentioning Christmas explicitly, but containing pictures that are Christmasy), recipes for Glogg (might not mention Christmas), calendar entries around Christmas time, the text of "A Christmas Carol" as well as the PDF sheet music for some carols, caroling, etc. But not Adam Carolla. This all is pretty low-hanging fruit, but hard stuff to get at with keyword search. Mac OS X Tiger's Spotlight search might get half of these items -- the most literal search hits. But there's no semantics, and thus, no associative power.

Perhaps what's really needed, to scratch the itch that DevonTHINK begins to scratch, is an associative search tool that works on top of Spotlight's API. The democratic approach would, in this case, actually work better: there would be no special database, no walled garden maintained by some proprietary tool. Spotlight is built into the OS, and it already has a complete index of every file; what's really cool is that it updates the index instantly every time any file changes. So Tool X, by invoking Spotlight and re-processing and expanding its output, would work in realtime, and it could provide all kinds of associations by theme or term or similarity. Even throw in some clustering and a little visualization for good measure, so I can drift through my files purely on the basis of semantic connections . . . .now the filesystem could actually start to look a little different than it has since 1985.

For Windows, a similar thing might be done on top of the Google Desktop Search tool, if their API is accessible and has its hooks deep enough into the OS.

November 22, 2005

Blocking Credit Card Junk Mail

It turns out that there is a mechanism in place that will stop credit card offers from constantly appearing in one's mailbox. Under the Fair Credit Reporting Act, credit card companies must give people the opportunity to "Opt Out" of those offers. I found the site where you can do that.

https://www.optoutprescreen.com

So, What is optoutprescreen.com and is it Legit?

"Many people have wondered if this is a legitimate website and not just a scam itself. While the website is very basic, it is secured by 128bit SSL to protect the information you send. Optoutprescreen.com is actually what it appears to be and that is a way to get off those mailing lists. Yes, they do ask you for your social security number, however, they need to be able to verify your identity. "

Hydrogen injection for 18-wheel trucks



http://www.wired.com/news/autotech/0,2554,69529,00.html?tw=rss.TOP



"HFI is a bolt-on, aftermarket part that injects small amounts of hydrogen into the engine air intake, said Canadian Hydrogen Energy's Steve Gilchrist. Fuel efficiency and horsepower are improved because hydrogen burns faster and hotter than diesel, dramatically boosting combustion efficiency.



"HFI's manufacturer guarantees 10 percent fuel savings . . . Trucks with the HFI system produce half the amount of particulates -- microscopic, unburned bits of diesel. The system also reduces nitrogen-oxide emissions, which are major contributors to harmful air pollution, by up to 14 percent . . .


"The HFI units are relatively small and cost between $4,000 and $14,000, depending on the size of the vehicle."



November 15, 2005

Another beautiful thing from Jason Salavon

The Art Institute of Chicago: On the Scene: Jessica Rowe, Jason Salavon, Brian Ulrich


". . . in The Top Grossing Film of All Time 1 x 1, Salavon represents the color average of each individual frame of the 1997 film Titanic, all sequenced in a grid just as they occur in the film. . . "

November 06, 2005

People in Inflatable Suits Riding Bikes.

AEOLIAN RIDE

The riding of the bike seems to do the inflating. The pictures of this from the New York ride are actually quite beautiful.

Bags

Hip SoCal kinds of bags, by one of AE's friends. I played bocce at her birthday party on Long Beach. Someone gave me a chilled bloody mary out of a tupperware jug, and it was really good. Buy these bags.

<< Silent Revolution >>

from the Interactive Arts department

I don't totally understand this yet, but I think it's pretty cool. Slinky digital erector sets.

sodaplay

November 02, 2005

Graphviz: draw a picture by writing a script

Seems like a good thing to be able to do sometimes. Why draw when you can code?

DRM Adrenaline Courses Through my Veins!

Check it.

http://www.sysinternals.com/blog/2005/10/sony-rootkits-and-digital-rights.html

"Some newer CDs from Sony BMG contain an antipiracy application that must be installed in order to play the CD on your Windows PC. Should the unwary consumer say "yes" to the license agreement, the application implants hooks into the Windows kernel to make sure you don't use the CD in a manner Sony doesn't approve of. Those hooks are undetectable unless you know exactly what you're looking for, and are all but impossible to uninstall apart from contacting Sony and requesting removal. Attempting to remove the software yourself will leave you with a nonfunctional CD-ROM drive. Heaven help you if you're running a beta of Vista. Sony's application will utterly hose your Vista install.

"What's even more infuriating is that Sony's rootkit provides a means of entry for other hackers to compromise your system (assuming they are able to gain access). All they have to do is use the same naming convention Sony's software uses. And even if your system is never compromised, you still have a process you didn't ask for taking up CPU cycles -- 1 to 2 percent even when your PC is otherwise idle."

This also serves notice as the start of a new mini-series: Why I (Still) Use Macintosh, Reason #2. Macs are (so far) unafflicted by DRM schemes such as Sony's.

Reason #1, which is closely related to the technical details of Sony's dishonest DRM scheme and the reasons why it works . . . is that there are no known viruses that affect the Macintosh. NONE. (There is no theoretical reason why there couldn't be one, but so far there are none.)

October 31, 2005

Multicore Processors will pwn

The current issue of ACM Queue is all about multicore processors. (Members of the ACM get a couple of magazines, Communications of the ACM, and Queue, which is more IT-related. I suppose they’re trying to reach both the Research and the Development sides of the ACM membership. Anyway, I bring this up because I seem to be the only person I know who ever opens these magazines. And indeed, they are often fairly boring, especially Queue.) But the newest issue of Queue has a lot of valuable analysis of multicore processing and its real-world impact. I would recommend that anyone even vaguely interested in multicore have a look at it.

Until now, even though I understood the broad outlines of multicore hardware, and some of its ramifications for software, I had not stopped to consider it as much more than a waystation on the path to more of the same of CPU evolution we’ve seen during my lifetieme: deeper chip pipelines, more pipelines, higher clock speeds, out-of-order execution and ever more clever optimization of such – basically, single-threaded Von Neumann computational destiny as we understand it. We all know there are serious hurdles along this path (not just problems, but equations, beady-eyed equations with ominously few terms.) But new materials come out, people talk about optical chips, diamond substrates . . . something good will come along. And why should multicore present a real shift in computing, when symmetric multiprocessing has been around for years?

Short answer: memory is still slow, so shared cache matters. But as a medium answer, I’ll briefly note a couple of the items that surprised me. Surprise #1 was an analysis by a Google engineer showing that electricity is now 40% of the total cost of ownership of a low-end server, which consumes 200-300 watts. This assumes electricity costs stay the same – if they go up, electricity may become more than half the TCO. The reason that power requirements have continued to grow is the way Intel has spent its transistor budget for the last five or ten years. Performance has grown, but performance per watt has stayed flat, so that each increase in processing speed has come with an increase in power consumption, making power a bigger and bigger factor in the cost of large-scale computing.

And this brings up Surprise #2: the notion that perhaps Intel has been _wasting_its_time_. The deeper and deeper pipelines, the prediction logic, all the things that they have spent their engineering budget on – and their power budget, their transistor budget, their chip fab budget – has been simply prolonging the megahertz race because that race was easy to market. A Google query – or any memory-intensive computing thread – would run almost as fast on a 500 Mhz chip as on a 2 GHz chip (!). The chips end up stalling waiting for memory anyway. But with multicore, four such 500 MHz chips can fit on the same size die, and for LOWER power costs, as the 2GHz chip. And they can share cache lines, possibly benfitting from each other’s memory fetches. So if the software is written smartly, the multicore setup will give four times the throughput as the 2Ghz chip. And I imagine it would be significantly cheaper as well in engineering and manufacturing terms.

So perhaps multicore is not a waystation – it might instead be the sign of having to go BACKWARDS (to lower megahertz and fewer pipelines, for example), in order to get out of a dead end.

But of course the software has to be written to take advantage of it, and apparently there's an amazing amount of work to be done. Something I won’t go into here is Surprise #3: Windows and even Linux have very coarse concurrency, though the move the multicore has been understood in the research community for years. To get anywhere with multicore, almost every line in an OS has to be reexamined for “serial” sections and OS-wide locking situations, and serious rewrites are in order. Which OS has already undergone this years-long process? Solaris. Will Sun be suddenly relevant?

(And might fine-grained concurrency be part of the reason we hear rumors that Google has its own version of Linux? Can anyone enlighten me?)