First there is something we all must realize. Even though we feel we live in a safe, secure, and peaceful society, the reality is that this is a facade. Fortunately (or unfortunately) the facade generally stands - bad things don't often happen to nice people. Every once in a while however, violence slips out through the cracks under pressure much like a hernia. When this happens, it's usually innocent people caught in the crossfire - and generally caught unaware.
Most (if not all) schools (and employers, and government buildings, etc) explicitly do not allow weapons on their premises. This makes for a unique situation where anyone with a weapon in these locations become the most powerful person there. Essentially, any armed crazy, evil, malicious, or scared person is a wolf in the chicken coop. So, anytime we have a campus shooting, it almost always ends up a massacre. There is literally no one (save the few police officers in a nearby area), that can balance the power of the one armed, bad-guy.
It is a terrible tragedy when innocent people die through violence. When it happens in America it is all the more poignant however, as we believe we are safe from such barbarism (it actually happens all too often in many other parts of the world I'm afraid). While we certainly get angry at the evil-doer, we never seem to look at what we (every one of us individuals - not mommy and daddy government) could be doing differently.
In the backlash of situations like Virginia Tech and Columbine, the first thing we generally hear is: "we need stricter gun control!" Unfortunately, this is not something that will prevent (or defuse) such atrocities! Gun control laws do not affect criminals with malicious intent. Period. What they do do is render law abiding people defenseless against violence as heinous as a campus shooting.
Because of our our misguided attempts to prevent violence, we have created myriad defenseless victim zones all around our nation. Had any one of the students involved in the Virginia Tech shootings had a firearm themselves, chances are very likely that the death toll would not have reached 32. The plain and simple fact is that power must always be balanced.
When very bad things like Virginia Tech happen, the first thing we must all ask is: "Why didn't anyone else have a weapon to stop this guy?" When we don't have to ask this question, our peaceful facade will be reinforced and the great many innocent Americans can go on feeling safe and secure because the people who know better are around to protect them.
Friday, April 27. 2007
Funny thing about the truth...
I saw this quote in someone's signature on some forum. Not sure where it came from, but I like it.
"Funny thing about the truth, it favors no religion, holds no political affiliation, takes no sides, offers no arguments, is not spiteful, evil, or devious, and yet is almost always unwelcome whenever it turns up. What does that say about us?"
"Funny thing about the truth, it favors no religion, holds no political affiliation, takes no sides, offers no arguments, is not spiteful, evil, or devious, and yet is almost always unwelcome whenever it turns up. What does that say about us?"
Monday, April 9. 2007
Download all Space.com Wallpapers
This is a really quick and dirty script I banged out in about a half-hour to download all the wallpapers at Space.com. I like reading the articles at Space.com from time to time and I found the wallpapers there are pretty cool. I wanted to grab them all and use them for my Mac OS X screensaver. Of course, downloading them individually (click, click, click, right-click, save as, etc... - ad infinitum), is a pain in the ass. So, the Space.com Wallpaper Download (sdcwd) script was born! 
The script recursively downloads all the images of the specified size, creating folders for each collection. Just start it and let it run!
I used the following software and versions, you'll need '-o' support in grep for sure and have curl and wget installed. Of course, if the urls change at Space.com, this script will be broken. Your mileage may vary.
Software Versions:
curl - curl 7.13.1
grep - grep (GNU grep) 2.5.1
wget - GNU Wget 1.8.2
#!/bin/bash
# Space.com Wallpaper Download (sdcwd)
image_size="1280" # Set this to 640, 800, 1024, or 1280 depending on the image size you want
collections=(`curl -s http://www.space.com/php/multimedia/downloads/wallpapers/collection.php?collection=adrian_lark | \
grep -o 'option value="collection.php?collection=\(.*\)"' | \
sed 's,option value="collection.php?collection=\(.*\)",\1,'`)
collection_url="http://www.space.com/php/multimedia/downloads/wallpapers/collection.php?collection="
image_url="http://a52.g.akamaitech.net/f/52/827/1d/www.space.com/entertainment/downloads/spaceart/images/"
logFile="sdcwd.log"
topDir="Space.com_Wallpapers"
getImages()
{
this_collection="$1"
collurl="${collection_url}${this_collection}"
if [ ! -d "$this_collection" ]; then
mkdir "$this_collection"
cd "$this_collection"
# Log
echo "----------------------------" >> "../$logFile"
echo "$this_collection" >> "../$logFile"
echo "----------------------------" >> "../$logFile"
curl -s "$collurl" | grep "/php/multimedia/imagedisplay/wallpaper_display.php?pic=.*_$image_size\.jpg" | \
grep -o "pic=\(.*.jpg\)" | \
sed "s,pic=,$image_url," | \
tee -a "../$logFile" | \
xargs wget -q
# Log
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >> "../$logFile"
echo >> "../$logFile"
cd ../
# If we didn't download any pics for this directory (maybe the requested size wasn't available)
# remove the empty directory.
find "$this_collection" -type d -empty | xargs rmdir
fi
}
old_dir="`pwd`"
mkdir "$topDir"
cd "$topDir"
for this_collection in ${collections[@]}
do
getImages "$this_collection"
done
cd "$old_dir"
The script recursively downloads all the images of the specified size, creating folders for each collection. Just start it and let it run!
I used the following software and versions, you'll need '-o' support in grep for sure and have curl and wget installed. Of course, if the urls change at Space.com, this script will be broken. Your mileage may vary.
Software Versions:
curl - curl 7.13.1
grep - grep (GNU grep) 2.5.1
wget - GNU Wget 1.8.2
#!/bin/bash
# Space.com Wallpaper Download (sdcwd)
image_size="1280" # Set this to 640, 800, 1024, or 1280 depending on the image size you want
collections=(`curl -s http://www.space.com/php/multimedia/downloads/wallpapers/collection.php?collection=adrian_lark | \
grep -o 'option value="collection.php?collection=\(.*\)"' | \
sed 's,option value="collection.php?collection=\(.*\)",\1,'`)
collection_url="http://www.space.com/php/multimedia/downloads/wallpapers/collection.php?collection="
image_url="http://a52.g.akamaitech.net/f/52/827/1d/www.space.com/entertainment/downloads/spaceart/images/"
logFile="sdcwd.log"
topDir="Space.com_Wallpapers"
getImages()
{
this_collection="$1"
collurl="${collection_url}${this_collection}"
if [ ! -d "$this_collection" ]; then
mkdir "$this_collection"
cd "$this_collection"
# Log
echo "----------------------------" >> "../$logFile"
echo "$this_collection" >> "../$logFile"
echo "----------------------------" >> "../$logFile"
curl -s "$collurl" | grep "/php/multimedia/imagedisplay/wallpaper_display.php?pic=.*_$image_size\.jpg" | \
grep -o "pic=\(.*.jpg\)" | \
sed "s,pic=,$image_url," | \
tee -a "../$logFile" | \
xargs wget -q
# Log
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >> "../$logFile"
echo >> "../$logFile"
cd ../
# If we didn't download any pics for this directory (maybe the requested size wasn't available)
# remove the empty directory.
find "$this_collection" -type d -empty | xargs rmdir
fi
}
old_dir="`pwd`"
mkdir "$topDir"
cd "$topDir"
for this_collection in ${collections[@]}
do
getImages "$this_collection"
done
cd "$old_dir"
(Page 1 of 1, totaling 3 entries)



