hack: linkit

linkit: “I noticed that when I blog, that there are words that I type frequently that I would like to show up as links for my readers, but I’m always too lazy to type in the urls. So, I threw together some javascript to parse paragraphs in an html document and create hyperlinks for certain words that appear in the text.”

idea: googlemap drupal module hack

A friend pointed me to the googlemap drupal module.

I installed this module on terrorware.com and its pretty cool, but I’ve had some problems.

This module is cool, but currently limited – or rather limited by the location module.

The googlemap (gmap) module gets data about the event from longitude and lattitude tags in the rss feed for nodes with location information enabled.

I was only able to get this info added to the feed if I specified a zip for the location address. This makes sense as the documentation for the location module seems to suggest that it looks up longitude and lattitude based on postal code info.

When I did this, the gmap loaded my points, but showed up incorrectly on the map. I assume that this was due to incorrectly calculated longitude and lattitude on the part of the location module. I confirmed this by looking at the feed for the node at http://www.terrorware.com/?q=node/76. It showed:

39.131576
-86.497430

The mapping feature of the location module just calls up google maps with a url generated from the addresss. In this case, it’s http://maps.google.com/?q=325+S.+Walnut+Street%2C+Bloomington%2C+IN%2C+47401%2C+us. If you look at the source of the google page, you’ll notice that they have their calculated longitude and lattitude info included:

Not the same!

Looking at the google source does, however, provide the means for hacking the location module to more accurately detect lng./lat. You could just have it grep the info from the page generated by google! The advantages of this would be greater accuracy and eliminate the need to enter a postcode.

Kanye West’s Torrent of Criticism, Live on NBC

Kanye West’s Torrent of Criticism, Live on NBC: “West: I hate the way they portray us in the media. You see a black family, it says, ‘They’re looting.’ You see a white family, it says, ‘They’re looking for food.’ And, you know, it’s been five days [waiting for federal help] because most of the people are black. And even for me to complain about it, I would be a hypocrite because I’ve tried to turn away from the TV because it’s too hard to watch. I’ve even been shopping before even giving a donation, so now I’m calling my business manager right now to see what is the biggest amount I can give, and just to imagine if I was down there, and those are my people down there. So anybody out there that wants to do anything that we can help — with the way America is set up to help the poor, the black people, the less well-off, as slow as possible. I mean, the Red Cross is doing everything they can. We already realize a lot of people that could help are at war right now, fighting another way — and they’ve given them permission to go down and shoot us!”

Katrina

I went to Pages to Prisoners tonight and on Monday nights, its mostly students in the service learning program, a program where students get college credit for volunteering with community organizations and writing about/discussing their experience and social issues related to the volunteering or organization. Tonight, Megan, who is the volunteer coordinator, read some news reports and anectdotes from hurricane survivors that talked about the charictarization of crimes like looting, race, class, and prison issues in the wake of the storm. She made the statement, regarding media bias, that most of the people seen on TV are poor and black, which, probably has a lot to do with the population demographics as 67.25% of the city’s residents are Black or African American and 23.2% of individuals living in Orleans Parish living below the poverty level.

This made me think about the more institutionalized issues of race and class. This past week’s This American Life episode asks why so much of the blame for the mishandling of hurricane of humanitarian efforts was placed on state/local authorities. It makes me think about how a whole region could be ill-equipped to deal with catastrophe and that this can go largely ignored because of the demographics of the region. It also makes me think that this makes for an easy scapegoat. Does a region inhabited largely by those marginalized in mainstream society get fewer resources in general? Are their govermental officials more corrupt and more inept? The recent events seem to remind us that this could very well be the case.

Tonight, when talking about prisoners being left locked in some jails and prisons, many students asked, “how could someone just leave another human being there to possibly die?”, and wondered whether prison guards and officials would be held accountable. With my background, and perspective, and politics, I would like to think that in their situation, I would make a more humane, concerned decision. I guess there should be some accountability for individual’s lack of concern for people they watch over or care for, but more than anything, I’m not surprised that when it comes down to making tough decisions and weighing ones own concerns like family, property, and all the other things that comprise one’s life in our culuure and the concerns of those who are pushed to the edge of our culture, that people make bad decisions. I imagine that the low-level people who could have made some decisions to help people weren’t getting a whole lot of guidance from their superiors and the lack of anticipation or taking responsibility for taking care of prisoners or the homeless, elderly, and hospitalized probably reflects an institutionalized disregard on a local level. Again, the national response, whether from the government, media, or people on the street that localizes the blame for all the tragedies is equally representative. I think that we’re all pretty ill-equipped to have concern for others, and as we get caught up in notions of race and class, it makes this even harder. Its sad.

gas out

someone sent this to the defiance, ohio e-mail account:

PUT IT ON YOUR CALENDAR FILL UP ON THE 6TH OF SEPTEMBER 2005 AND NO GAS ON THE 7TH, 8TH, OR 9TH 2005 TIRED OF THE GAS PRICES?? Let’s all stand up and makea
statement – we won’t pay these prices.

Please fill up on the 6th of September 2005 and don’t buy gas on the 7th, 8th or 9th. Have a great week! Years back on April 30,1999 a gas-out was staged across Canada and the U.S. to bring the price of gas down, and it worked. It’s time to do something again. Only this time lets make it for three days instead of just one. The so-called oil cartel decided to slow production to drive up gasoline prices.

Let’s see how many Canadian/American people we can get to band together for a three-day period in September, NOT TO BUY ANY GAS! OLINE, during those three days. LETS HAVE A GAS OUT—-September 7th, 2005 TO September 9th, 2005. Buy what you need before these dates– or after– but none during this time period. If you want to help, just send this to everyone you know and ask them to do the same. We brought the prices down once before, and we can do it again. Come on North America lets stand together to make a difference!

Even if you receive this 100 times keep passing it around, this way you know everyone is being informed and no one will forget!!!!!!!!!!!!!

notes

Renee wanted to know how to get a copy of Windows XP. It looks like IU students can get it for $10 on CD from IMU 074.

I had to return The Confusion to the library. I was on p. 350 in the section where Eliza was using a masque with party guests as unwilling actors for describing how to get silver into England to pay soliers as part of the French/Irish invading forces.