Malicious enjoyment derived from observing someone else’s misfortune
 

Tag Archives: crime

Road Rage with Handguns

One of the things I’m always hearing is how if you are allowed to have a gun in your car, road rage will involve a lot more shootings. I’ve never really believed it, and I decided to see how much the Google News Archives show for this type of story. There are around 40,000 stories that contain “road rage gun,” some of which can be seen here. I saw some interesting trends: There are three incidents on the linked page [...]

The UK has more crime than us

I find these figures interesting. It seems that many of the happiest countries in the first world are near the top (US, UK, Denmark, Norway, Finland, Netherlands, New Zealand, Germany), which means they have more crime than many more disadvantaged countries. It also seems that many of the countries with the least crime have very strong religious influences in their government, while the top is mostly “free and prosperous”. But what is extremely interesting is how I’ve been hearing that [...]

Calculating Averages from a CSV with Perl

Code Here’s a quick one-liner using some UNIX utilities and Perl to construct some nice averages from CSV data: for i in `seq 2 20`; do cat crim_rate_2005_by_state.csv | cut -d , -f $i | perl -e ‘$c=$d=0;$e;while(<>){if(/^\d/){$c+=$_;$d+=1}else{s/\s{2,}/ /g;s/”//g;chomp($e=$_);}} print $e, “: “, $c/$d, “\n”‘; done And now, the spaced out version: #!/bin/bash for i in `seq 2 20`; do cat crim_rate_2005_by_state.csv | \ cut -d , -f $i | \ perl -e ‘$c=$d=0; $e; while(<>){ if(/^\d/){ $c+=$_; $d+=1 } [...]

My Life may be in danger!

I got this in the old inbox today: Hello I wish to let you know that i have been paid by a client to assasinate you at convinience,i have signed a contract of $250,000 yesterday for this,i have never met you before,but they gave me the full description of your identity and contact,together with your photograph which my boys have used to trace you. The reason why they want you Dead is not disclised to me as i was not [...]