Photo for Glenn Fleishman



What I Do



Turning technology from mumbo-jumbo into rich tasty gumbo

« August 2006 | Main | October 2006 »

September 29, 2006

Starting to Learn Ajax

By Glenn Fleishman

AJAX is Asynchronous JavaScript and XML. What it lets you do is have pages that can update without reloading a page—they can pull information in from a server using JavaScript and push them into parts of a page. I’m reading a book on this now as online information about Ajax is rather scattershot, with a tutorial here and a recipe there.

The big problem I see with Ajax is that because the tasks are all performed in JavaScript, that means all authentication is revealed in the HTML page that a user can view the source of. So you can’t hide anything and you can’t even keep tricks from a determined user.

I have already wrestled in the past with throttling bad behavior from RSS scrapers. I currently also have a governor in place that I call “excessive host usage” which prevents any one IP address from making thousands of queries, running up my Web bills, and hurting my servers. It’s been quite effective, as out of control non-major robots or other scripts tend to be very out of control, and my governor clamps them down right away.

So part of the issue with AJAX is that if I expose a server interface in which data can be queried—say the price of a given book at a given bookstore, which is what I would do with—I have to also make sure that that data can’t be hijacked. AJAX has one great bit of a security model, which is that JavaScript won’t make these queries except to the same precise domain in which the page was server. If I serve a page from, then I can make AJAX queries to That apparently can’t be easily spoofed, at least as far as I know. So that prevents someone from directly copying my AJAX code and making slight changes to reap the rewards.

Now someone could set up their own server to run the queries from my server and then pass them to their own AJAX pages. I can use a governor to prevent that. Individual users could make some number of requests over reasonable periods of time, but thousands of requests of a certain type would indicate behavior that needs to be blocked.

Posted by Glennf at 4:27 PM | TrackBack

September 28, 2006

Dun Dunn

By Glenn Fleishman

The Wall Street Journal says disgraced former director and chair of Hewlett Packard Patricia Dunn told a House committee, “she had been assured that phone records had been obtained lawfully from public sources. Ms. Dunn said the word “pretexting” never cropped up in the conversations.”

Because, as anyone knows, the records of individual phone calls have no privacy implications whatsoever.

Were I told that an employee believed that phone records could be obtained from “public sources,” I would send that person to a headshrinker, an ethics class, or fire them. Luckily, she resigned.

She still won’t take responsibility for it. ” ‘I deeply regret that so many people, including me, were let down by this reliance’ on such advice,” Dunn told the panel. Because she had no personal responsibility in understanding that information that would clearly require subterfuge and privacy violations to obtain weren’t unethical and perhaps illegal to obtain—because a lawyer (she alleges) told her they weren’t.

Way to go on that personal responsibility!

The lawyer in question, Larry Sonsini, some email from whom have been released over the last few weeks, told Congress that laws around pretexting needed to be clarified.

Yeah, because there’s some doubt that calling a phone company and claiming to be someone you are not to obtain information in an investigation or identity theft scam is unethical.

One often-missed point is that HP certainly had the right to hire private investigators to find the leak. It’s not the fact that people were trailed (which has been cited as sketchy behavior) or that links were followed. It’s clear, potentially illegal, certainly unethical violations of privacy and reasonable corporate behavior standards that are the problem. HP should investigate leaks, but it shouldn’t hire firms that hire firms that plant viruses on reporters’ computers, should they?

Posted by Glennf at 1:19 PM | Comments (1) | TrackBack

The Guilty Pleasure of Project Runway for an Art Major

By Glenn Fleishman

I confess that I actively enjoy Project Runway. The show has its cheesy elements, to be sure, because it has to follow the reality show model of having back-stage drama, strange revelations, and somewhat difficult personalities.

But, in the end, it’s about art and critique. The designers they recruited are talented people. Much more so here in Season 3; we’ve been watching Season 1 on DVD, and it’s much more wacky and with people who have less skill on average, although some have quite good art and craft abilities.

VisegripFashion design isn’t graphic design, but they share a remarkable number of properties in common. It’s a combination of art, craft, commerce, and communication. You need unique artistic vision to create someone. You need craft to take the idea in your head and put it on paper, on a manikin, cut it out, sew it, fix it. That’s a sculptor’s combination of two-dimensional and three-dimensional visualization and enactment, coupled with a filmmaker’s insight into how a 3D object moves through space.

The communications comes from taking elements that in themselves have little or no semantic meaning, no symbolism of any real kind, and through assemblage, produce a message that someone can read visually. And that each person may read slightly differently, too.

Finally, the commerce. You have to sell the thing you make. Or sell yourself as the person who has the idea of the thing you made.

Graphic design’s key difference is that we have a streamlined relationship from conception through realization typically in two dimensions. Graphic designers now work through a lot of 3D and 4D media, of course, and even a poster has to be conceived as viewed on 2D plane from many angles. Monumental design, even flat, has 3D and 4D properties.

In a terrific class I had at the Yale Summer Program in Graphic Design in Brissago, Switzerland, we studied for a week with Richard Sapper, the designer of the Tizio lamp and a thousand other interesting projects. We had to create a sculpture from a single sheet of white heavy paper stock that, as it rotated through 360 degrees, had a constantly changing and surprising view. A good exercise for a graphic designer.

Tim-2Project Runway poses challenges that are not unfamiliar to those of us who studied art, architecture, or other forms of design. Short periods of time to accomplish some unique, interesting, and well made. We didn’t get fabulous prizes (just grades), and the periods of times and oddity of the tasks were kept within normal parameters.

But whenever Tim wanders through the room, I’m reminded of John Gambell, now the Yale University Printer, who critiqued and led in that gentle way—Tim’s a bit sterner at times. No vagueness. Lots of specific direction. An assumption that the artist can actually create something worthwhile. I get a lot of frission from watching the show because so many elements remind me so much of that idyllic period of life when I could just make and see what came of it.

Posted by Glennf at 9:44 AM | Comments (1) | TrackBack

September 24, 2006

I Tried Scrubbing and Scrubbing

By Glenn Fleishman

B0007Ms5B2.01. Aa280 Sclzzzzzzz I had one of those Mary Hartman, Mary Hartman moments this morning. Lynn and I were rushing to get ready to go to the birthday party of another two-year-old—just a few weeks younger than Ben—and a tiny can of Coke balanced on a shelf fell to the floor and exploded without any of us hearing it in our temporary pantry. We just had our basement seismically retrofit (retrofittedly seismicized?) and thus we have weird stuff in a corner of the kitchen.

I come into the kitchen while Lynn is playing with Ben and say, Oh, no, whatever has happened? I piece the narrative together—the can slipped off, hit the floor, exploded, covering the floor and adjacent objects with Coke spittle—and then grab our amazing new Hoover FloorMate SpinScrub 800 Floor Cleaner! (Go, Hoover. Go, Hoover. Go, Hoover.)

We just bought this thing a few days ago because our house is full of wood floors and we don’t have an upstairs utility sink. It’s frustrating to mop, and it’s very labor intensive, too. We have a good vacuum cleaner, but with a toddler, we need to mop regularly. The reviews on this particular model were pretty good, and I understood its weaknesses.

It’s actually pretty fabulous. It’s a dry vac, wet vac, and scrubbing vac. You use a cleaner that’s supplied in small quantity, and which Amazon reviewers recommended substituting half the recommended does with vinegar, and thus you’re always spraying clean liquid on the floor. Spinning scrubbing brushes break up crud and dirt on the floor, and the wet vac sucks it into an easy-to-clean separate compartment. A separate set of attachments and hose plug into a side panel so you can access hard-to-reach places. There’s also a separate set of grout scrubbers (both for the main unit and the hose).

I tackled the Coke explosion (which had no Mentos involved, thankfully), and within about five minutes, the floor was gleaming, cabinets cleaned, and with a little elbow grease, all trace of proprietary high-fructose corn syrup beverage removed. I turned my beatific face to the invisible camera and said, “No more waxy yellow build-up!”

Posted by Glennf at 4:37 PM | TrackBack

On Our Way to Amelie's 2nd Birthday Party

By Glenn Fleishman

On Our Way to Amelie’s 2nd Birthday Party
Click the photo to see larger sizes.
Ben wearing a handsome hand-me-down sports jacket (with fake hankerchief triangle), along with a print shirt. Very Seattle chic.

Posted by Glennf at 1:59 PM | TrackBack

September 21, 2006

Chugga Chugga Choo Choo Internet Blowing Wiiiii-Fiiiiii

By Glenn Fleishman

In the Sept. 21st Economist, you can read my article about railways equipping their trains with Internet access. One item left out of the article for space was the simultaneous addition of power plugs in most cars, and in all new cars. Railways already needed the electricity to power commuter laptops, and this becomes a natural fit for adding Internet access. Fun article to write as it allowed me to combine a mild love of trains and a large love of wireless data.

Posted by Glennf at 12:30 PM | Comments (1) | TrackBack

September 20, 2006

Sentient Trains

By Glenn Fleishman

From: Board of Directors, Sodor Railroad Ltd.
To: Sir Topham Hatt, Esq., managing director
Re: On the advisability of the use of sentient trains

Sir Hatt,

The board of directors would first like to commend you on the overall excellence of the Sodor Railroad’s operations. Under your leadership, new branch lines have been opened, unsafe lines repaired, and freight shipments have increased 20 percent year over year for the past five years. Bravo, Sir.

It is unfortunate, therefore, that we must once again question your decision to employ sentient railway engines and cars in lieu of the more typical non-sentient trains found on most railroads. These self-aware trains, especially the engines, have produced continued disruptions only outweighed by your hands-on management style, and forceful manner in dealing with them.

Reports and accompanying videos cross the boardroom nearly every work day, from 8 am to 8.30 am, in which these sentient engines refuse to perform certain work, are incapable of cajoling their carriages, or destroy expensive railways and customer equipment.

In one recent five-day period, two Scottish engines destroyed the narrow-gauge winch, one green engine demolished most of our island’s chocolate factory, another pushed recalcitrant—or as you term them, “troublesome”—trucks into a duck pond, an express engine smashed through the wall of a new station, and a small blue engine wound up with fish in its boiler.

Sir Hatt, this behavior cannot be tolerated. The board has voted on a resolution that either requires you to take a firmer hand in dealing with sentient train behavior, in which confusion and delay are generally abolished, or you will be cashiered. Sir Hatt, would you truly like yourself, Lady Hatt, and your apparently several eternally small children to lose your home, fish dinners, and breakfasts with marmalade? Would you like to find yourself working in a diner converted from old train cars, in which those ancient cars are your only friendly companions?

We think not, and we hope it does not reach this point. Tell the trains, especially Thomas, to do the things they’re told to do.

Respectfully yours,

The Board of Directors

Posted by Glennf at 12:43 PM | Comments (1) | TrackBack

September 19, 2006

Random Xeni Sighting, Siting, Citing

By Glenn Fleishman

My officemate and I were walking back from local natural food store PCC to our office in the Fremont neighborhood of Seattle, when who should we bump into but Xeni Jardin, a BoingBoing contributor, as well as a regular reporter for NPR’s Day to Day (Xeni Tech), The New York Times, Wired News and Wired Magazine, and so forth. I met Xeni some time ago and we correspond about tech issues and such. BoingBoing’s ads are sold by John Battelle’s Federated Media, which also represents my Wi-Fi Networking News family of sites.

Xeni was in town to interview [omitted] about [omitted], and then was off to [omitted] and is working on [omitted] for [omitted], which she thought would be [omitted]. She had an exclusive [omitted] with [omitted] this morning, too. (Yes, those [omitted]’s are intentional, not later additions.)

This is the difficulty of writing about talking to other journalists. There’s always a story or five that’s in progress that you can’t spill publicly because you’ll be scooped or you’ve promised embargoes. We chatted about her recent time in India and Tibet that she wrote up and produced audio segments on all over the place. I don’t have anything that’s simmering, so I could spill what I was working on.

I’m a Xeni fan because she does that thing that I aspire to: in her writing and audio reporting connects tech to people, not tech to other tech, which tends to be the result of my writing. But I’m working on it.

Update: Okay, one of those [omitteds] was that she had an exclusive BoingBoing interview with Al Gore this morning about a Yahoo/Current partnership for video that’s trying to emulate YouTube.

Posted by Glennf at 7:01 PM | TrackBack

September 13, 2006

First Article in The Economist Business Section

By Glenn Fleishman

I’ve had two long features appear in The Economist magazine’s Technology Quarterly supplement, but an article on mobile phones’ imminent arrival in European airplanes was my first appearance in the publication’s Business section.

Posted by Glennf at 11:23 PM | TrackBack

September 11, 2006

Herr Fleishman, der Fleisch ißt

By Glenn Fleishman

That’s a German pun in the headline.

When I was in a graphic design program in Brissago (Ticino), Switzerland, back in 1989, for several weeks over a summer, we stayed in two hotels owned by the Ferrari family, a lovely group of people. (One set of rooms was a “garni,” sort of a B&B hotel; the other a hotel with a certified pergola, which served breakfast to guests and had a dinner.)

Mama Ferrari, a 4’ 10” woman with some command of English (and excellent command of several other languages), and a superb sense of humor, was talking to me one day and couldn’t recall my last name. We were speaking, I think, in German. I said, “Herr Fleishman.” Since I was a vegetarian, she laughed, and said, “Herr Fleishman, der kein Fleisch ißt.”

(The joke is that Fleishman as Fleischmann is literally “meat man,” like a butcher. Metzger is the actual German word in High German for butcher, but nonetheless, Fleischmann might have been the Yiddish word. So I’m a meat-man, right? The word “ist” is “is” in German, but the third-person of “essen,” to eat, is spelled ißt (isst), and pronounced the same way. So the pun is, Mr. Meat Man who who (does not eat/is not made of) meat. Ha! Okay, that took too long.)

As of a few weeks, ago ich esse Fleisch. Yup, I’m a carnivore again. (I was only a vegetarian for a couple years; I’ve been largely a pescetarian since 1990.)

I read Omnivore’s Dilemma and went on a metabolic cleanse with Lynn. The book led me to understand how you could eat meat in a sustainable, even productive way, with humane treatment for the animals; the metabolic cleanse made me crave meat like I haven’t in 18 years. The rise in concern about the toxins in fish have been part of this motivation, too. Eating the right kind of meat is probably better from a heavy metals, pesticide, and general perspective than eating most fish.

After some fits and starts, I started with chicken, liked it, moved onto turkey and ham, and then…hamburgers. The trick here is that I want to eat meat that isn’t raised unpleasantly, isn’t full of antibiotics, and where the cows are being fed grass, not grain. Since I live in Seattle, this is available and affordable. Lynn and I just signed up for a meat CSA, and we’ll be receiving 1/8 cow, I believe, from yesterday (our first pickup) until June.

I have always believed our bodies will tell us what to eat, and mine is saying meat. I’ve never been an anti-meat vegetarian; death is a part of our lives, and raising animals for slaughter can be done in a way that respects the animal, our ecosystem, and ourselves. I’m back at the top of the food chain.

Posted by Glennf at 11:36 AM | Comments (3) | TrackBack

Fundraising for Cancer Research

By Glenn Fleishman

As anyone who knows me or reads back issues of this blog knows, I was treated for Hodgkin’s Disease back in 1998, quite successfully, thank you very much. The only long-term side effect I’ve seen was premature premature male pattern baldness. (I had a huge shock of hair before chemo; the hair of an average 50-year thereafter.)

Over the years, I’ve done a little fundraising and made contributions to organizations that fund lymphoma and leukemia research. I raised something over $4,000 in 1999, the year after I had chemo and radiation, by soliciting funds for my trip on the Seattle-to-Portland (STP) road ride (200 miles, and a lot of fun).

These two related diseases are extremely common, with leukemia being the leading cancer death among children. The related myeloma form of cancer has a 1/3rd survival rate. Hodgkin’s Disease, by contrast, is well over 80 percent survival, with even higher rates for some sub-groups, after four decades of intense and ongoing testing of effective treatements. (Lymphoma are white cell diseases forming tumors or finding cells typically in the lymph nodes; leukemia is a disease of the bone marrow, in which components of blood are cancerous causing problems within the marrow, as I understand the distinction.)

Right now, two sets of family are raising money for the Light the Night Walk, sponsored by the Leukemia & Lymphoma Society. My cousin Kirsten and her husband Brian and their two sons just went through a rough couple of years in which Brian’s frequent illness and energy loss turned out to be Hodgkin’s Disease. He received a newer, more effective treatment than I did, and has gradually returned to health. They hope to raise $2,000 for their walk in Seattle. Donate here.

My mom is receiving treatment for chronic lymphocytic leukemia, a disease that still baffles me as it’s not exactly lymphoma nor leukemia, the cancer cells are not immortal, it’s ostensibly genetic, and it has neither exactly a cure nor a well-defined progression for every patient. Many people certainly have the disease without every receiving a diagnosis, as it can manifest as just some elevated white count and some malformed B-cells. She and my dad are raising $1500 for their walk in Eugene. Donate here.

The Leukemia & Lymphoma Society is a great group because it’s out there funding research, helping the basic knowledge grow about effective treatments for these diseases. The good news is that with higher cancer rates in recent decades cures are also improving. Survival rates and quality of life are finally better, decades into the war on cancer. In another decade or two, it may be that many cancers are highly treatable and survivable with much less effort and less stress on the body.

I know that there are three prongs to the problem: Remove the toxins in the environment that are obviously one factor in increasing the rate cancers; improve the food supply and the way people eat so that other factors (smoking, obesity, poor physical fitness, foods known to increase risk of cancer) are lessened; and increase research funding to reduce poor outcomes when people get cancer.

Posted by Glennf at 10:25 AM | TrackBack

September 8, 2006

Theorem of Comics: Cats

By Glenn Fleishman

Introduce a cat into your comic strip and its popularity increases.

But the cat also can take over the strip.

Back when I was writing a lot of articles about cartoons and the Internet, I heard this from a number of artists. People love cats in cartoons. Perhaps 97% of comic strip readers are elderly ladies? I dunno. But it’s just how it works. It’s why Garfield has remained ridiculously popular. (Although I started reading the strip again recently, and it seems strangely fresh and amusing. How did that happen?)

In Arlo & Janis, there’s Ludwig, a late addition to the strip that often gets entire days to himself. In 9 Chickweed Lane—a strip that has largely relocated its characters to Manhattan—you’ll find Solange, who turned her behavior into a book.

Posted by Glennf at 10:02 AM | Comments (1) | TrackBack


October 2011
Sun Mon Tue Wed Thu Fri Sat
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Recent Entries


October 2011 | August 2011 | June 2011 | May 2011 | February 2011 | December 2010 | November 2010 | October 2010 | September 2010 | August 2010 | July 2010 | June 2010 | May 2010 | April 2010 | January 2010 | December 2009 | November 2009 | October 2009 | September 2009 | August 2009 | July 2009 | May 2009 | April 2009 | March 2009 | February 2009 | January 2009 | December 2008 | November 2008 | October 2008 | September 2008 | August 2008 | July 2008 | June 2008 | May 2008 | April 2008 | March 2008 | February 2008 | January 2008 | December 2007 | November 2007 | October 2007 | September 2007 | August 2007 | July 2007 | June 2007 | May 2007 | April 2007 | March 2007 | February 2007 | January 2007 | December 2006 | November 2006 | October 2006 | September 2006 | August 2006 | July 2006 | June 2006 | May 2006 | April 2006 | March 2006 | February 2006 | January 2006 | December 2005 | November 2005 | October 2005 | September 2005 | August 2005 | July 2005 | June 2005 | May 2005 | April 2005 | March 2005 | February 2005 | January 2005 | December 2004 | November 2004 | October 2004 | September 2004 | August 2004 | July 2004 | June 2004 | May 2004 | April 2004 | March 2004 | February 2004 | January 2004 | December 2003 | November 2003 | October 2003 | September 2003 | August 2003 | July 2003 | June 2003 | May 2003 | April 2003 | March 2003 | February 2003 | January 2003 | December 2002 | November 2002 | October 2002 | September 2002 | August 2002 | July 2002 | June 2002 | May 2002 | April 2002 | March 2002 | February 2002 | January 2002 | December 2001 | November 2001 | October 2001 |

Powered by Movable Type 3.33