Sockpuppets and astroturfing in disruptive political blogs

In case any one misses it, I’d like to point out that blogs like hillaryis44 and pumapac are full of sockpuppets. I gave a two hour long talk at SXSWi on the ethics of false identity on the net. It looks like the time is ripe to talk about ways of detecting falsity in blogging.

If you see a blog with 600 comments on every post, even the most trivial, try taking a look at the commenters, the pattern of their chatter, and their identites on the net. Only a very few of the commenters on pumapac, for example, have histories going back further than June and July 2008. Some of those are constructs and fewer are real people. Most have no traceable internet identity; they have empty profiles dating back to July 08, set up on a couple of social networks. So, one method of detecting sockpuppetry or large scale astroturfing on a blog or networking of blogs is to record the commenters, then spider for their internet presence, its depth and longevity. The footprints of many different blogs and forums could then be compared.

The pattern of interaction in comments can also reveal sockpuppetry. For instance, times and rhythms. A typical post on pumapc is made at 11pm Eastern Standard Time. The comments on pumapac are made about one per minute, and keep going until about 3 in the morning. I would guess they are written by a single poster. They’re strange in their rhythms, like a fictional chatroom – almost musical in structure. Commenters A, B, C, D, and E talk for the first few minutes, then a couple more will chime in, then A, B, and C will sign off for the evening only to be immediately replaced by H, I, J, and K, who go back and forth with each other, occasionally hitting a note from further back in the structure; only to sign off themselves and be replaced by a new batch. It is not a realistic pattern. Who are these women logging in and hitting reload every 10 seconds at 3 am? There are plenty of blogs being used as late night chat rooms. They don’t have this sort of pattern. It is not faked well enough.

Naming patterns are fairly clear in pumapac as well as in hillaryis44. The majority of pumapac commenters have a pattern that could come straight out of a traditional buzzword generator, using the following elements: Demographic category, Political affiliation or anti-affiliation, variety of feline, gender identifier, geographic location, number. For example, osaka puma,TexasTigress, asian4hillary, tennaseepuma, snowtiger, landiPUMA. I imagine a corkboard with index cards, as a novelist might keep on the wall, with lightly sketched out personalities:

* Alice1943, a senior citizen who thinks Obama is a Muslim
* gd4Hill4EVA, a racist white woman who rants about terrorism
* Luckyseven, always provides a link to a video and a news article. Spells things wrong.
* Nijma, the (fake) Muslim who everyone picks on, for fake flame wars.
* hillstheone Another like Luckyseven, gives a youtube video + news article

Their personalities are thin. Most of them don’t even have a sock! It’s just the shadow of someone’s hand on the wall! With a few exceptions, the ones who have a net presence reach only as far as other astroturfing blogs all in a network that sprang up at the same time, around June 08. For instance, GoHillaryGo/Camille424/bitterpoliticz.

In contrast, pumapac commenters “jody in florida” and “pooh496” are likely to be real people — or, a puppeteer stealing their identities and posing as those real people. Do a little googling and reading to see the depth of these two, compared to the other names listed above, and you will see the difference.

The “commenters” use really transparent rhetorical strategies in concert. One will say “Obama’s a dirty Muslim! ” and two more will agree, with links. Then the “Muslim” of the commenters will speak up, saying something obfuscational and tangential about Palestine. The others attack her and accuse her of being on Obama’s side. Then, the blog’s author steps in to say, in the false voice of reason, “Gals, gals, calm down, we don’t really *know* that Obama’s a Muslim! And even if he were, would it really matter? By the way, how about that spunky gal Sarah Palin?”

I read plenty of blogs written by real conservative Christian women, and they don’t talk like this. It is disrespectful to them, and their politics, to represent them like this.

I’m not going to do a full expose on Darragh Murphy, the head of Pumapac, but if you look around you will find her bankruptcy and allegations of fraud (her construction company wrote out $60,000 worth of checks to her mom, for no discernable services, just before it filed for bankruptcy), claims to represent millions of Americans in a legitimate political organization which fundraised over 20K (but has not reported on the spending of that money), announcements of big conferences which turn out to be 30 people in a little motel, etc. I suspect that people like Murphy and whoever is behind hillaryis44 contract out to the same company to build their astroturf blog networks. They may also be funded by independent political organizations that merely seek to disrupt the elections or cause confusion. I don’t at all think they are supported by the Republican party.

If I had time to do a systematic analysis I would compile a db of all the commenters on this network of blogs and see what kind of stats I could come up with. IP numbers might not be too difficult to find, in cooperation across several blogs where the suspected sockpuppets come to make a few comments to establish themselves or to leave linkbait.

One might also start from the other end with the real people who are known to be behind some of these sites. For instance, Heidi Li and Mark Rubin as well as Darragh Murphy, Alex Rodriguez. Or look for identities, like Billiejo/Betty Jean/Freemenow and delve into their associations with other blogs and the people behind them.

How else might we detect blog puppetry? We could write tools to scrape the comments, gather comments by the same “people” and run them through some textual analysis tools. I can see that some of these comments are written by the same person, through a filter of a thinly invented fictional “personality” and writing style, but I would have a hard time proving that. Take a look for yourself and see if you can detect the same veneer of stylistic differences.

The lack of link backs and identity representation is another major clue for badly done sockpuppetry. Most blog comment software allows for link backs to the commenter’s identity either to a profile on the blog itself, or to an external source. These blogs don’t allow for that. In other blogs and forums that don’t build in identity tools, at least some commenters would build in their own sigs with links back to their own blogs, profiles, or email addresses. It is not conceivable to anyone who has seriously studied, or been immersed in, Internet culture for the last 10 years, that a group of over 50 commenters on a subject they feel passionately about, in a “place” where they read and write daily, would NOT link back to some other anchor or “home”.

Why do people hang out in blog comments on a big forum, bulletin board, or blog? Certainly part of the motivation is to make intelligent enough comments that others will come over to your place and hang out there. You are talking in a public forum to establish your own reputation and identity. This is true on the dippiest social networks, on the most primitive bulletin boards talking about bands or action figure collecting or whatever, on MySpace, on blogs, on conservative forums like Little Green Footballs or Free Republic or leftist ones like Daily Kos.

Dig a little deeper and you will find whole fake “attack blogs” whose purpose is only to link back attacking the first blog, to shore up their tenuous claim to reality.

My point is: think a bit w
hen you come across a site like pumapac, really analyze and compare it, and you will see the flaws in its setup.

I do know there are women who were going to vote for Clinton and who now are going to vote for McCain – but these sockpuppets are NOT their voices and do not represent a large political movement.

If I came across a leftist blog displaying this same pattern, I would happily expose and debunk it too.

One thing that may be possible, and more plausible than the same small “astroturfing firm” building and running these sorts of sites: there could easily have been some training sessions or workshops on how to astroturf and run a bunch of sockpuppets. Conservative strategists and thinktanks funded training camps for college conservative journalists and funded college newspapers in the mid to late 80s, with dramatic results; a similar move has likely been happening for the blogosphere.

Too bad they aren’t as good as msscribe in their sockpuppetry and intrigues! They need to take lessons from a master.

I leave you with a link to the Anti-Astroturfing Wiki.

How not to be a Generic Politician

I just got this email from my senator. Talk about Generic-Off. How pathetic. Could the Senator’s office at least go to the effort of having *different templates on different issues*?

Or even some actual information content in the email?

Like “Ms. Henry, we have noted your concern on the Iraq War, and would like to let you know that X percent of Californias agree with you. Here is Boxer’s position on the issue, and here is how she plans to vote.”

What earthly use is this to me? I’ll be damned if I can remember what I wrote a letter about, or what petition I signed, in this case. Behold!!!

Dear Ms. Henry:

Thank you for contacting my office to express your views. I believe that all citizens should become involved in the legislative process by letting their voices be heard, and I appreciate the time and effort that you took to share your thoughts with me.

One of the most important aspects of my job is keeping informed about the views of my constituents, and I welcome your comments so that I may continue to represent California to the best of my ability. Should I have the opportunity to consider legislation on this or similar issues, I will keep your views in mind.

For additional information about my activities in the U.S. Senate, please visit my website, http://boxer.senate.gov. From this site, you can access statements and press releases that I have issued about current events and pending legislation, request copies of legislation and government reports, and receive detailed information about the many services that I am privileged to provide for my constituents. You may also wish to visit http://thomas.loc.gov to track current and past legislation.

Again, thank you for taking the time to share your thoughts with me. I appreciate hearing from you.

Barbara Boxer
United States Senator

How hard could it be to hire someone to write you some decent “issue tracking” and letter writing software to keep your constituents informed without sounding like a mealy-mouthed robot talking to another, much stupider robot?

Meanwhile you might like to be aware that watchdog.net is useful, maybe more like what I’m looking for as a constituent than a flail -n- trawl through the entire Library of Congress.

Obviously I still end up voting for Boxer no matter what, but isn’t the idea to make me *really, really, really* support the politicians in office? Maybe even donate to them, because they’re awesome?

When disaster relief becomes a police state dragnet

I don’t have time to be a serious investigative journalist, so here’s a little rant.

I noticed in Katrina relief work that Homeland Security was swooping down on even small shelters and on people aggregating peoplefinding data. They took the data and warned people to silence. They started doing criminal checks, looking for people on their watchlists, but right down to the level of people who might have violated parole or be wanted for various crimes. Is this legal? Is it constitutional? As far as I know, they just seized that data. The people signing into an emergency shelter in some tiny church, or community center, or high school, didn’t sign up to be picked over by the Feds.

They tried with Gustav to “wristband” and register people for evacuation. They did it for some of Hurricane Ike. Is anyone realizing what this means? Disaster hits, citizens who are particularly powerless become the target of random criminal investigation. And if you have a criminal record? What then? They going to “evacuate” you to a “special shelter”?

Not that Galveston even bothered to evacuate the people in its city lockup, people awaiting a hearing and not even convicted of a crime.

I expect the registering, wristbanding, and electronic tracking process will become more efficient over the next few years.

I wonder what people were told? You have to register and show your ID, or we won’t let you on the bus out of town?

Oh, here we go, a little bit of the plan, that I’m sure didn’t get implemented all that well, because of course FEMA and emergency management officials were thinking about how to save and feed and shelter people, not how to treat poor people like automatic criminals?

http://www.chron.com/disp/story.mpl/metropolitan/5380868.html>http://www.chron.com/disp/story.mpl/metropolitan/5380868.html

What the state is doing, is perfectly legal, according to at least one expert.

“Since it’s a government record they’re checking you against, there is not the same invasion of privacy concerns that may come up in other contexts,” said professor Charles Rhodes, who teaches constitutional law at South Texas College of Law. “I think the need for it would outweigh any privacy concerns. This is a public safety issue”

Rhodes’ only reservation would be the system itself, whether it’s set up to handle, perhaps, a false match indicating someone had a criminal record when they did not. He also wants to know how smoothly such checks could be processed.

“It’s going to be interesting to see how this is implemented in the time of an emergency,” Rhodes said.

They take the exact tactic I would expect. They claim they have to “wristband” and register and track everyone, centrally, and check everyone on a government criminal-record database, in order… get this… to protect special needs citizens from sex offenders. Is that really the motivation here? If the government gave a flying fuck about protecting people with special needs from sex offenders, there are far more effective things they could be doing than violating the civil rights of people evacuating from a hurricane.

Earlier this month, it was announced AT&T Inc. has contracted with the Texas Governor’s Division of Emergency Management to provide electronic wristbands for those residents wanting them, before they board an evacuation bus.

The wristbands would be scanned by emergency management officials and the person’s name would be added to a bus boarding log. That person’s name and their bus information would be sent wirelessly to the University of Texas Center for Space Research data center.

….
….

The decision to wear a wristband is purely voluntary. But anyone who boards an evacuation bus will have to provide a name. There will be no requirement to show an identification card, such as a driver’s license, but officials may ask those boarding for an ID.

Oh sure. It’s totally voluntary to wear an electronic wristband, but who is going to tell you that? And who is going to ask, in the face of disaster?

No requirement to show ID. But the cop who decides if you get on the bus or not can ASK YOU FOR ID. They don’t have to tell you it’s not required.

How about if you’re an immigrant and your immigration status is in question? Are you going to evacuate under these conditions? Or take your chances? What other databases are the authorities running the names against? Where will they stop? Who will stop them?

Don’t make any mistake about this, disaster might strike a whole city, but it is primarily the rich and middle class people who have the resources and social resources to get out of town and go stay with friends or in a motel. What the government is doing here is part of the immense disrespect and violation of human rights of working class people, people living in poverty, and immigrants. They might as well just go through whole neighborhoods of people who have less money and stop people at random to do criminal checks on them. OH WAIT … that already happens.

María Eugenia Vaz Ferreira: Las ondines

I promised a poem or translation this week, to balance out the political posts. Here’s a couple of my translations of poems by Uruguayan poet María Eugenia Vaz Ferreira. They were published posthumously in 1924, though I am fairly sure they were published in Uruguayan or Argentinian magazines much earlier in the century. I’ve mentioned Vaz Ferreira a few times before in this blog, including a funny moment where I was irked at a critic: Damming with Faint Praise and No Space.

María Eugenia Vaz Ferreira

Enjoy!

This poem “Vaso Furtivo” was lovely to translate. If you read it over a few times, and let it sink in, or let yourself sink into it, you’ll begin to get what Vaz Ferreira was all about.

Vaso furtivo

Por todo lo breve y frágil,
superficial, fugitivo,
por lo que no tiene bases,
argumentos ni principios;
por todo lo que es liviano,
veloz, mudable y finito;
por las volutas del humo,
por las rosas de los tirsos,
por la espuma de las olas
y las brumas del olvido . . .
por lo que les carga poco
a los pobres peregrinos
de esta trashumante tierra
grave y lunática, brindo
con palabras transitorias
y con vaporosos vinos
de burbuja centelleantes
en cristales quebradizos . . .

A quick drink

To all that’s brief and fragile,
superficial, unstable,
To all that has no foundation,
logical argument or principles;
for everything imprudent,
quick, mutable, and finite;
to spirals of smoke,
to thyrsus-stemmed roses,
to foam on the waves
and forgetting’s sea-mist . . .
to all that’s nearly weightless
for the wandering folk
of this transient earth;
grave, moonmad, I drink to all that
with transitory words
and heady wines
sparkling with bubbles
in the most breakable glasses . . .

What could be more in tune with my own beliefs than this defiant celebration of ephemera! I worked hard to convey her floating and delicate line breaks. This translation of “Vaso furtivo” was published a couple of years ago in the journal Parthenon West.

In the next poem, I felt that Vaz Ferreira was deliberately evoking Sappho. As many of her contemporary women poets did, Vaz Ferreira wrote about the ocean and dynamic chaos as essentially feminine.

The ondines

At the shore
where the cool and silvered wave
bathes sand,
and the shining stars
flare and die
at dawn’s first rays,

from sea-foam
the ondines lightly leap,
swift curves
and forms,
ethereal dress of ocean nymphs,
fair visions.

They roll onward, clear green,
resplendent as emeralds,
the bright waters
that lend color
to their polished shoulders,
snow-white swan . . .

Some wrap themselves
in diaphanous blue mists
dressed in dawn,
others in the wind
let fly light floating gauze
the color of heaven

and the fair ones sink
svelte forms of sonorous ocean
beneath the waters,
and over the waves
their hair snakes
like rays of gold . . .

Here’s the original poem:

Las ondinas

Junto a la costa
donde la arena tibia y plateada
bañan las ondas,
y los lucientes
rayos primeros de la alborada
brillan y mueren,

de entre la espuma
surgen ligeras de las ondinas
las raudas curvas
y los informes
trajes etéreos de hadas marinas,
blancas visiones.

Ruedan, verdosas,
resplandecientes como esmeraldas,
las claras gotas
que se destiñen
en la tersura de sus espaldas
de níveo cisne . . .

Unas se envuelven
las vaporosas gasas azules
del alba veste,
otras al viento
sueltan los leves florantes tules
color de cielo

y hunden las blancas
esbeltas formas del mar sonoro
bajo las aguas,
y serpentean
sobre las ondas cual rayos de oro
sus cabelleras . . .

Here is some background and commentary straight out of the enormous poetry anthology I compiled and translated a few years ago. (It was my thesis.) I had thought I’d send it around as a book proposal, and I put out some feelers. No one really wanted to take on an enormous anthology of poems of dubious copyright status from 14 different Latin American countries. Some of my translations from this book have been published in little magazines or online journals.

Vaz Ferreira was a member of the “Generación del 1900” of Uruguayan intellectuals, which included José Enrique Rodó, Julio Herrera y Reissig, Ernestina Méndez Reissig de Narvaja, Florencio Sánchez, Samuel Blixen, Alberto Nin Frias, Horacio Quiroga, and Carlos Reyles (Verani 9). She began publishing in 1894. After her illness and death in 1924, her brother, who published her book, La isla de los cánticos, downplayed the friendship between María Eugenia and Delmira Agustini. In 1959, her unpublished poems were printed as La otra isla de los cánticos.

Biographical notes on Vaz Ferreira often paint her as a frail, waiflike young maiden with a posthumous “slim volume of poems” who had a tragic illness before her early death (Jacquez Wieser 8). Her illness is sometimes alluded to as mental: Sidonia Rosenbaum implies that Vaz Ferreira, embittered by Delmira Agustini’s fame, lost her mind because of jealousy and a combination of caprice and frustrated, “sterile” sexuality (50). However, other sources emphasize her positive, charismatic qualities as a rebel, speaking of her literary and intellectual influence, her fondness for wearing men’s clothes, her shocking bohemian manners, and her notorious love of practical jokes. She was the first woman in Uruguay to fly in an airplane, in 1914, at the Fiesta Aérea, a public event. Juan Carlos Legido describes her as one of the most cultured, sure of herself, famous, and popular women in Montevideo’s social circles (Legido 6). She was a literature professor at the Women’s University of Montevideo, along with Dr. Clotilde Luisi. Vaz Ferreira was also a dramatist, composer and pianist. Her works were often performed at the Teatro Solís (Rubenstein Moreira 12). Vaz Ferreira was especially fond of Heine and other German poets and philosophers.

The critic Alberto Zum Felde counted Vaz Fereirra among modernista writers, influenced by the Mexican writers Salvador Díaz Mirón and Manuel Gutiérrez Nájera (Rubenstein Moriera 46). Anderson-Imbert, in Spanish American Literature, refers to her as “the nucleus of Uruguayan poetry” and of modernismo; then he calls her “a solitary voice, solemnly religious, although capable of creating sharp images on a high level” and goes on to discuss Julio Herrera y Reissig, “not a great poet . . .” for several pages. (Andersen-Imbert 279). The general pattern is for literary historians to call Vaz Ferreira’s work brilliant, and then to pay more attention to the work of poets who are men.
With typical blunt condescension, María Monvel says of Vaz Ferreira:

Interesante “caso” de mujer, de letras, esta uruguayana, que a pesar de haber nacido en 1880, tiene en sus versos todo el acento libre de la mujer nacida en pleno siglo veinte. Gran poeta lírico, con algo de reflexivo y meditativo a la vez, esta mujer es uno de los más finos cantores que ha tenido América, y tal vez
es su influencia la única perceptible en Delmira Agustini, que la superó en pasión y en arrebato lírico, pero no en cultura y sensibilidad. (Monvel 63)
Interesting “case” of a woman of letters, this Uruguayan, who despite the burden of being born in 1880, has in her verses all the free tone of a woman born right in the 20th century. A great lyric poet, with something of reflexivity and meditativeness at the same time, this woman is one of the finest poets that America has had, and perhaps her influence is the only one perceptible in Delmira Agustini, who surpasses her in passion and in going overboard with lyricism, but not does not surpass her in culture or sensitivity.

My translation of the title of “Vaso furtivo” was a difficult choice. The poem is toasting and drinking to impermancence, lightness, madness, surfaces and illusion. “Sly toast” does not work in English, and “Furtive glass” does not convey the meaning of a toast. The poem itself celebrates qualities that have traditionally been attributed to women. Considered in this light, it is a radical feminist aesthetic statement. “Las ondinas,” a poem about the beauty of ocean waves at dawn, emphasizes feminine beauty, impermanence, and dynamic movement; Vaz Ferreira’s poems often celebrate an ethereal world of ideal beauty, writing modernista aesthetics from the viewpoint of a powerful woman, as in her poem “Yo soy la Diosa de las azules, diáfanas calmas” ‘I am the Goddess of all blue, diaphanous calm” (Vaz Ferreira, Otra isla, 57-58).

Lose your house, lose your vote

The Republican Party in Michigan plans to bring lists foreclosure notices to polling places on Election Day, to disenfranchise people who may have lost their homes.

This is evil and should be illegal. It is a tactic to gum up the works and discourage people from voting, by creating long lines and slow-downs.

A foreclosure notice doesn’t necessarily mean a person has moved out of their house to a new address.

In Wayne County, where I lived when I was a kid in Detroit, 1 out of every 150 people got a foreclosure notice in July 2008. In Michigan state-wide, 62,000 people got foreclosure notices.

The economy sucks! People are suffering!

I know, let’s *pick out those very people* and target them for harassment, and pick the very counties where working class and middle class people are suffering the most, and systematically try to deny them the right to vote.

They appear to be targeting voters in predominantly African-American communities who are under threat of losing their homes.

Great idea, Republican Party. Keep it coming. Voter caging, and now this. Your obscene, sleazy tactics will be your DOWNFALL.

First day of fourth grade


first day of fourth grade
Originally uploaded by Liz Henry

“Mom, I like Mr. Rockclimber. He’s nice. But I am a little bit *suspicious*.”

“Oh really, how come, did he crash into your car or something?”***

“No. What? Actually, he did not TEACH. He just TALKED. Talk, talk, talk. All about what we were going to do. Talk, talk, talk, talk. I wonder if he is going to actually teach us anything.”

“Did he talk about anything interesting?”

“Well… maybe about himself. But he’s supposed to TEACH.”

How well I remember hating that first-day syllabus reading and policy declaration jawing from every first day of school all the way through college! Talk, talk, talk! OMG, give us a handout and get on with the job!

On the other hand, as a teacher of college freshmen I realized that only about two people in the class would read the handouts, so it was best to read everything out loud to them. Boring!!!

And as a student, did I keep those handouts and refer to them? NO! I lost them as promptly as possible. I was horrible. Even when I had them, and they were read out loud to me, did I follow their rules? We all know the answer to that one…

Moomin is very excited to think what he will learn this year. To me he seems more alert and interested in the world and in various subjects. His electives, or as they are creepily called here in the land of ultimate capitalism and anxiety about social class, “enrichment”, will be Dragons, Sailing, and Gardening. But first… a little brush up on the basic math facts as we seem to have drifted off into Arty Superhero Gamer Land and forgotten our 6 + 12s and our 4 x 9s. I say “we” on purpose. I am bad at remembering my basic math facts and sneakily use a calculator, write things down, or type “bc” at my Unix prompt to do the simplest arithmetic.

I was so proud of Moomin and felt all emotional as Rook and I stood there with our Parent Club donuts watching the kids file off into school. The mystery of what they do all day! Don’t you wish you could do a Freaky Friday and try out fourth grade for just a day or two?

***Mr. Rockclimber and I had a little fender bender in the parking lot last year… I sure hope his insurance didn’t go up from it.

Halfwitted journalist thinks only rich people should blog

This Washington Post writer suggests that blogs are not only unimportant, they are actively harmful to democracy and society. Therefore, the government should make them more expensive, so that regular people can’t afford to have them.

And if that wasn’t already lunatic enough, he proposes to do it by a massive energy tax.

This is so awesome I thought for a minute it was satire. Dusty Horwitt, pissant little environmentalist, lawyer, and journalist (and Bill Clinton impersonator, on the side) thinks blogging is the death of democracy.

Apparently democracy means a few rich people talk, while everyone listens. You… yes you… have the right to shut the hell up and be a good audience. Stop blogging! You’re polluting the infosphere! You’re killing newspapers, communities, democracy, and the environment, and if you’re in the U.S., you’re forcing jobs overseas! All by creating an “information avalanche”. God knows we should all beg to go back to the days when we apparently sat around getting a political “education” from notorious anti-Semite and Hitler fan Charles Coughlin… as Horwitt suggests.

Here’s Horwitt’s argument:

1) The proliferation of blogs make it impossible to find relevant information
2) The only important information is “politics and news”
3) The Internet hurts newspapers
4) And Democracy!
5) Fragmented media outlets fragment society!
6) Personal computers, and data centers, are bad for the environment
7) Therefore, create an energy tax so regular people can’t afford to have computers, and can’t blog! That way, they’ll shut up and listen to proper sources of information and become “educated”.

So, regular people shouldn’t have access to computers. This is a new one on me. Let’s increase the digital divide, to…. empower people! and to Make America Great!

Rather than call for government regulation of technology itself, perhaps the best way to limit the avalanche is to make the technologies that overproduce information more expensive and less widespread.

Horwitt doesn’t consider for a second that the rest of the world will still be posting, even if the U.S. makes it hard for people to have access to computers.

This is the best part,

It’s possible that over time, an energy tax, by making some computers, Web sites, blogs and perhaps cable TV channels too costly to maintain, could reduce the supply of information. If Americans are finally giving up SUVs because of high oil prices, might we not eventually do the same with some information technologies that only seem to fragment our society, not unite it? A reduced supply of information technology might at least gradually cause us to gravitate toward community-centered media such as local newspapers instead of the hyper-individualistic outlets we have now.

Horwitt seems to be an amateur comedian and songwriter. You’d think his attempts at comedy would help him write a better satire if that’s what this is supposed to be. Or is it all an elaborate hoax, an enormous troll? He’s also an “analyst” for the Environmental Working Group. Wonder how well his analysis is informing the EWG? I like this bit of their site – “How EWG Does It: Our research brings to light unsettling facts that you have a right to know.” Hmmm. You have a right to know… What the likes of Dusty Horwitt want you to know. Apparently you don’t have a right to speak.

The Washington Post just argues against Horwitt’s big point that newspapers deserve to survive at all — by having published this massive piece of bullshit. This is the legitimacy of mainstream, traditional media?

It’ll serve this dude right to be mocked on as many blogs as possible. He thinks viral information doesn’t work? Maybe a million pissed off bloggers will let him know otherwise. God, if only I could find his personal Myspace… I’m sure it’s comedy gold.

Call for submissions: WisCon Chronicles, volume 3

Call for Ideas and Contributions
WisCon Chronicles Volume 3 – WisCon 32

Were you at WisCon 32 in 2008? Aqueduct Press would love to hear from you with ideas and materials for Volume 3 of The WisCon Chronicles.

ANY panel, event, or paper you’d like to write about is fine.

Here are a few that we’ve noticed people talking about:

* Maureen McHugh and L. Timmel Duchamp’s Guest of Honor readings and speeches
* Women and Hard SF
* Elves and Dwarves: The Racism Inherent in Fantasy
* Fanfic and Slash 201
* The Battlestar Galactica panel
* The Eclipse One Cover Debate
* Not Just Japan: Asian Science Fiction and Fantasy
* Writing Working-Class Characters

We’d also like to see writeups of your hallway conversations: What fantastic discussions did you have in the interstices? In the hallway, in the lobby? At parties, at dinner, in your room, or online?

If you were at WisCon and would like to participate — to offer ideas or to submit an essay — please get in touch with us. Don’t be shy.

If you were blown away by a WisCon panel that we haven’t mentioned and would like to see its ideas expanded upon in The WisCon Chronicles, Volume 3, please let us know. Tell us the name of the panel, which participants (including audience members) most engaged you, and what was valuable to you about the discussion. What was thought-provoking, inspiring, enraging, hilarious, worthy of deeper discussion? If you’re interested in writing an essay on the topic or contributing to the book in some other way, let us know.

Please query before writing an article. If you want to submit an article or essay, please email a query or proposal by September 15, 2008. (The earlier the better.) The deadline for the submission of finished essays will be October 15, 2008. Text in the body of the email is preferred, or rich text format (.rtf) files as attachments. We’re looking for essays of 800-3000 words. If your submission is published, you will receive a small payment and a copy of the book.

Feel free to forward this call for submissions!

Thanks,
Liz Henry
email ideas and submissions to: liz@bookmaniac.net

Learning Python by writing a screen scraper

Just for fun I decided to write a tool for work in Python instead of Perl, and I thought I’d describe the process. Partly because other people can be very opaque about how they learn things, and especially how they learn technical things or approach something unfamiliar.

At work, I had a big list of URLs to look through, to check a particular detail of sidebar widget code on each blog.

Originally, I got kind of excited as I browsed this page of twill commands. I installed twill on my laptop and tried out the examples. Wooo! That was so easy! It was like screen scraping with pseudocode. So, without really looking into it any further I figured it would be easy to churn through the few thousand URLs I needed to check. It looked like maybe a day of work, or two if I was floundering around, which is often likely when learning something new.

When I actually sat down to do it, I realized that twill didn’t have any control flow commands. So there wasn’t a way within twill, fabulous as it seemed, to tell it to go through a list of variables. So I started to try to write it in Python. I went to a few of Seth‘s informal Python lessons months ago and then paired with Danny a little bit. We wrote a thingie with Django to let people create random Culture names. (Result: I am the Human Sol-Terran Elizabeth Badgerina Karen da’Champions-West. I am currently travelling on a Ship, the ROU Knock Knock, Psychopath Class.) In other words, as of Monday, I could write Hello World in Python, but only if I look at the manual first.

So I wrote pseudocode first, like this:
read in biglist.txt
for each line in biglist.txt
split the line into $blogurl, $blogemail
get that url's http dump
if it has "OLDCODE" in it
Write $blogurl, $blogemail to hasoldcode.logfile
if not
if it has "NEWCODE" in it
write $blogurl, $blogemail to hasnewcode.logfile

Pseudocode rocks.

The Python docs made me want to chew my laptop in half. I read them anyway, mostly the string functions but that barely helped. Instead I just brute force googled things like “how do i find a substring in a string with python” which was often helpful if only so that I felt less lonely. It took me a while just to figure out how to concatenate two strings. I kept trying to use a dot, which didn’t work!

The most helpful thing was turning up bits of other people’s code, the simpler the better, with brief explanations.

The next most helpful thing was cheating by asking Danny, who kindly just said “Oh, do this, import urllib and do f=urllib2.urlopen(blog) and then h= ”.join(f.readlines()) and print h.” Testing things out in the interpreter was useful too. The point isn’t whether you lift it out of a class, a book, someone else’s code, or another person. Just start out with a few lines of something that works. Then, fiddle with it and master it.

But there was no way I could figure out from scratch what to do with the first giant horrible alpha-vomit error that popped up. Danny kindly IM-ed me “try: THINGIE except ValueError:” which I then googled and figured out how to use. Some googling of bits of the error message would have gotten me some useful examples. Here, I may have chickened out and asked for help too soon.

I put my pseudocode into a file as comments. I wrote a file of a few test urls and emails. Then I wrote the program kind of half-assedly a couple of times, piece by piece, only trying to do one thing at a time. It mostly worked. That was the end of Day 1.

In the morning life was much better. Then I rewrote my pseudocode to include all the things I’d forgotten. I threw everything out and started over. Suddenly I felt like I knew what I was doing. A couple of hours later it all worked great.

While I was in that state of knowing-what-I-was-doing and being able to see it all clearly, it was exactly like the point in writing a poem where I know the map ahead. It is knowing the map and how to navigate and having not just the destination but having built a mental image of the entire trip. So, as with going down a road where I’ve never been before, but have imagined out the map, I feel a sense of the entire poem, all at once. It’s a holographic feeling. In that state of mind, I am very happy, and want to work without stopping.

It’s funny to talk about such a simple bit of programming that way but that’s how it felt. I also knew where I was doing something in an inelegant way, but that it was okay and I’d fix it later.

When it was all working I paused for a bit, then went back and fixed the inelegant bit.

After that, I put in some status messages so I could watch them scroll past with every URL. (A good idea since the error checking is not very thorough.)

Here is the code. I can see more ways to improve it and make it more general. It would be nicer to just use the filename as the scrolling status message, perhaps giving the files names that would look better as they scroll past. There are also stylistic questions like, I know many people would combine

outfile = open(“gotsitedown.txt”,’a’)
outfile.writelines(msg)

into one line, but I couldn’t read that again and understand what it meant a month from now, so I tend not to write code that way. Maybe once I’m better at it.


#! /usr/bin/python
  import urllib2

  # This reads in a list of urls & emails, comma separated.
  # It checks each url for a specific phrase in its HTML
  # and writes the url and email to a log file.
  # The status print lines are for fun, to watch it scroll.

  lines = open("biglist.txt",'r').readlines()
  for l in lines:
   line = l.strip()
   try:
     (blog,email) = line.split(",")
   except ValueError:
     continue
   try:
     f = urllib2.urlopen(blog)
     h= ''.join(f.readlines())
     if 'NEW BIT OF CODE' in h:
        filename = "gotnewcode.txt"
        status = "New! "
        if 'OLD BIT OF CODE' in h:
          filename = "gotbothcodes.txt" # replaces filename!
          status = "Mixed up codes: "
     elif 'OLD BIT OF CODE' in h:
        filename= "gotoldcode.txt"
        status = "Old code: "
     else:
        filename = "gotnocode.txt"
        status = "No code here: "
     msg = blog + "," + email + "\n"
     outfile = open(filename,'a')
     outfile.writelines(msg)
     print  status + msg
  # check for 404 or other not found error
   except (urllib2.HTTPError, urllib2.URLError) :
     msg = blog + "," + email + "\n"
     outfile = open("gotsitedown.txt",'a')
     outfile.writelines(msg)
     status = "Site down: "
     print status + msg

My co-worker Julie was sitting across the table from me doing something maddeningly intricate with Drupal and at the end of the day she agreed with me that it is best to code something the wrong way at least twice in order to understand what you’re doing. “If I haven’t done it wrong three times, something is wrong.”

I wish now that I had written down all the wrong ways, or saved the wrong code, to compare how it improved. One wrong way went like this: instead of writing the 5 different logfiles of blogs with new code, old code, no code, site down, and mixed old and new code, I thought of making directories and writing all the url names to the directory. That was before I thought of putting the emails in a csv file with the urls. Why did it make sense at first? Who knows! It might be a good rule, though. The first think you think of is probably wrong. You can’t see a more optimal way until you have walked around in the labyrinth down some possible yet wrong ways.

This WordPress Code Highlighter Plugin might be the inspiration that pushes me finally off of Blogspot and onto WordPress for this blog, so that I can do this super nicely in text and not in an image.

Night terrors

The past two nights Moomin had episodes of night terror or “pavor nocturnus”. He had them a lot when he was younger, from 2 or 3 to around age 5. Basically, it’s a sleep disorder like sleepwalking, but instead of walking around in a confused way, the sleeping person feels a very extreme emotion of fear; absolute terror.

With Moomin, it would start with some mild coughing, and gasping or sobbing, starting out slow. Always just around 11pm or midnight, right when we were about to go to sleep ourselves. When we were tired and a bit ill tempered at having to get up.

After a bit of coughing Moomin would sit up in bed. He’d start to howl and scream. His heart would race and pound, he’d break out into a sweat, he’d be shaking and clenching his fists like he was in horrible pain.

It was really scary!

There was no way to snap him out of it or talk him down. He doesn’t really wake up, but might answer a couple of questions or babble nonsense. When he was younger it was scarier because it was hard to tell if he was actually super sick or not. It’s hard to see him terrified and apparently in pain. He’d also sometimes talk so incoherently, that was scary in itself. Last night he was saying “No!!! NO ELECTRIC!” But night terrors apparently aren’t coherent nightmares — they’re not bad dreams you can remember.

We try to comfort him, though it doesn’t help. When he was younger and we didn’t know what was happening I know sometimes we tried to snap him out of it. We’d be begging him to tell us what was wrong, what hurt, what was happening, if he was okay. I wish we had known about night terror as a sleep disorder, but I didn’t realize it till he was around 4 or 5.

It may have worked sometimes to get him to either drink something, or go to the bathroom, like it helped to snap him back into reality. Mostly though, we have to hold him and comfort him for about 20 minutes. He’d become truly conscious for about 5 seconds and then fall deeply asleep, no longer fitful and sweating.

That’s a long time!

Sometimes he’d get up and walk, or struggle to get out of our attempts to be comforting.

After he falls into normal sleep, he doesn’t remember what happened. If he woke up for a minute or two in the bathroom or living room he’d be confused and disoriented.

We had to warn people who were babysitting him. Just wait it out, hold him or reassure him he’s asleep (though that doesn’t help, it feels horrible to do nothing.)

For the last few years, his night terror episodes have been rare. A few times a year, maybe.

These episodes became somewhat less scary for me after Moomin had his appendix burst! Now *that* was scary! On the other hand, now when he has these midnight episodes, I am spared the worry that he might be dying of appendicitis. His appendix is gone already. Whew.

Anyway, if you’re a relatively new parent and your toddler or young child wakes up and screams in terror, don’t read “nightmares” into it or necessarily think they are having a severe health crisis. Also don’t assume they’re misbehaving or in hysterics. It might be night terrors — and isn’t their fault, or your fault.

It is scary and… I have to say… exasperating.

I wonder if tiny babies have this happen too, but people assume it’s colic or general infant fussiness? Surely it’s been studied.

Here’s a good description of http://kidshealth.org/parent/medical/sleep/terrors.html

>pavor nocturnus from kidshealth.org:

Night terrors typically occur about 2 or 3 hours after a child falls asleep, when sleep transitions from the deepest stage of non-REM sleep to lighter REM sleep, a stage where dreams occur. Usually this transition is a smooth one. But rarely, a child becomes agitated and frightened — and that fear reaction is a night terror.

During a night terror, a child might suddenly sit upright in bed and shout out or scream in distress. The child’s breathing and heartbeat might be faster, he or she might sweat, thrash around, and act upset and scared. After a few minutes, or sometimes longer, a child simply calms down and returns to sleep.

That’s exactly what we experience with Moomin. How comforting it was to find out that nothing serious was wrong, even if it does seem horrible for him to go through.

In the morning he never remembers that it happened.