Sunday, November 3, 2013

Kid Cages

A reader pointed me to this disturbing article about how school districts are building cages to protect kids at bus stops from wolf attacks, rather than make those cute little furry doggies afraid of humans:
In Catron County, New Mexico, aggressive Mexican gray wolves are terrorizing residents. Here wolves are killing pets in front yards in broad daylight, and forcing parents to stand guard when children play outside. The threat has become so ominous the local school district has decided to place wolf shelters (kid cages) at school bus stops to protect school children from wolves while they wait for the bus or parents. These wolf proof cages, constructed from plywood and wire, are designed to prevent wolves from taking a child. The absurdity of this scenario is mind-numbing. What kind of society accepts the idea of children in cages while wolves are free to roam where they choose?
The reader opines: "I guess our Ruling Class believes the patience of the Country Class is infinite."  It probably is.  They certainly have not shown much interest in rebellion against the elites.

First Snow Of The Season

This is quite early for us -- and it was enough snow to be pretty miserable while getting the Jaguar out of storage and the Corvette in storage.  The snow did not last on the ground, but if we get this much snow, the risk is real that the Corvette will get stuck somewhere trying to get home, so the Jaguar is now the commuter until spring.

Saturday, November 2, 2013

What this Country Needs Is a Good 68 Cent Revolver

I am parodying the famous, "What this country needs is a good five cent cigar" statement.  Shall Not Be Questioned has posted this amusing 1897 Sears Roebuck ad in the "Department of Revolvers" with the cheapest mail order revolver being their 68 cent model.

It is astonishing to remember when 68 cents for a manufactured good was possible, and no one thought selling handguns by mail was a problem.

Samsung Is Not Serious; Nor Is Sony; Is This The MPAA At Work?

It turns out that this Samsung camcorder takes video in 20 minute segments.  It resumes video as a second segment... but only after about a five second loss of information.  Samsung just confirmed that this is not a limitation of the FAT32 file system, but intrinsic to all Samsung cameras.

I can't believe it.  I am tempted to take my Sony Hi-8 camcorder with me.  That at least does not have these stupid limitations.

UPDATE: It appears that most camcorders being sold today that do not record to a hard disk have this limitation.  This is so bizarre.  From hunting around the network, this is again World Trade Organization stuff.  It appears that WTO is either requiring this to avoid a tariff barrier, or requiring it on low end camcorders to discourage pirates using these in movie theaters.

UPDATE 2: It is not just Samsung.  Sony's HDR-TD20V (a $1300 camera) also "Records in 29 minute segments..."

I don't know -- is it possible that the generation that these cameras are aimed are simply do not have the attention span to sit through anything that takes more than 20 minutes to record?  I know that if you are making a movie, you are not going to have long scenes -- but doesn't anyone record weddings or, for that matter, depositions anymore?

Conspiracy Theories: Mental Illness, Maybe?

AP news account of the LAX shooter a couple days ago:

The note found in the duffel bag suggested Ciancia was willing to kill almost any TSA officer.

"Black, white, yellow, brown, I don't discriminate," the note read, according to a paraphrase by a law enforcement official briefed on the investigation. The official spoke on the condition of anonymity because he was not authorized to speak publicly.

The screed also mentioned "fiat currency" and "NWO," possible references to the New World Order, a conspiracy theory that foresees a totalitarian one-world government.

When searched, the suspect had five 30-round magazines, and his bag contained hundreds more rounds in boxes, the law-enforcement official said.
The rifle was a Smith & Wesson AR-15 pattern rifle.  But this guy moved to California (where neither rifle nor magazines are legal for sale) from New Jersey (ditto) two years ago.  He is way too young to have acquired these before the respective state laws took effect.

This November 2, 2013 USA Today article says that the shooter bought the rifle from a Los Angeles area gun dealer.  Huh?  How? 

Video Experiments

I am still experimenting with this video camera.  Our pastor was out of town last week, so I was tasked with preaching.  (Don't laugh.)  Here was my sermon about the Book of James:


The video was not sufficiently close, so it makes my overweight a bit more obvious.  But Corel VideoStudio Pro X6 let me crop the video.  There is still a significant hiccup as it crosses the 20 minute boundary (the limit of what can be fit into FAT32 file systems).  I will probably switch to a lower resolution mode to get around this.

Friday, November 1, 2013

Unix Shell Scripts Are Like A Human Language...

If you don't use them regularly, it is amazing how quickly the subtle little details start to evaporate away.  I was writing a Linux bash script to do something fairly simple but clever (because I am too lazy to do this by hand).  In this case, I had a list of Stored Procedure Language calls, with the number of calls made by the application, and I wanted to see which SPLs on the list referenced a superfluous Informix table called usp_num.  I did not want to lose the number of calls information, so I wrote a script to read the lines, search in the current workspace for each SPL, and see if there was a reference to usp_num in it, then output the original list, along with whether the SPL was not present in the workspace into which all the SPLs have been loaded from Subversion.  (You do not want to know why SPLs are being called, but are not in the workspace.  Oh my.)
#!/bin/bash
IFS=$'\n'
echo "references","SPL","usp_num present","missing SPL"
for line in `tail -n +2 ~/Windows7Documents/splcounts | awk '{print $1,$2}'`
do
refCount=`echo $line | awk '{print $1}'`
splname=`echo $line | awk '{print $2}'`
# First see if the SPL is even present
if [ -f $splname.sql ]; then
  grep usp_num $splname.sql >/dev/null
  if [ $? = 0 ]; then
    echo $refCount,$splname,"x",
  else
    echo $refCount,$splname," ",
  fi
else
  echo $refCount,$splname.sql,,not found
fi
done
I had completely forgotten that the for construct treats white space as a line delimiter.  That's why you need the IFS=$'\n' statement up there.