Tuesday, November 2, 2010

Now, Seismic surveys are blamed for killing clams!

Article

Well, I think it's funny....

A long time ago, the US Navy conducted some super-powerful sonar tests that were equivalent of exploding huge bombs underwater.  Some whales turned up dead somewhere.

Ever since then, low-power seismic exploration work has been tarred with the same brush, especially if it coincides with some other interest, such as stopping oil companies, or demanding money.  Do you know that some whales use powerful sonic blasts to stun their prey?  Ironic, isn't it?

There has been a lot of seismic work, and it does not have the effects of dynamite fishing.  These clams were grossly over-fished and trying to recover.  Devastated stocks have all sorts of problems coming back, mainly because of the poor genetic pool.  Damn fishermen..

Sunday, October 31, 2010

Halloween Special



Ok, here's a last minute tip for those pumpkins.  We buy these pumpkins on the last trip to the cottage, and they are pretty for the fall.  Now, on Halloween, we want to carve them.  All of a sudden our kids run away!  Last year we managed to trap and blackmail two of them!  They all whine -- oh I don't like the gunky insides!  Whoops, I have a drunken party to go to!

So now I was stuck with the damn pumpkins.  So this is the great suggestion from a friend.  Charge up your cordless drill and stick on a 1/4 inch drill.  Look at your pumpkin and rotor off the bottom at high speed.  Don't touch the top.  Take the big spoon and goop things out the bottom.  Take your pumpkin face off the internet and quickly draw it.  Use the drill as a router and zoom through the pattern at lightning speed.  Trim the edges.  Place your pumpkin on a battery candle.  Woo wooo!

Water polo this weekend and I got great video.  Here's the first quarter, and there's more on the site.


Wednesday, October 27, 2010

Linux and borrowing library ebooks

I think for all of us our XP is dying on the old machines.  There are so many exploits out there, that there is no defense.  So, the rich people can jump on the ms upgrade treadmill, but some of us want to use our old hardware, since it is perfectly good for the internet.

The only trouble with desktop Linux is that every stinking utility out there is for xp!  You buy any device and it only communicates to a computer through windows.  Thus, I maintained an xp machine to the very end.

But you can have your Linux and xp too!  Linux has an emulator called Wine.  On my 64 bit Athlon x2, it runs faster than xp ever did!  Nearly every xp utility runs on it, and only games are a pain, since they always accessed the deep processor instructions.

Now, my major problem was to keep borrowing ebooks from the Toronto library.  I want them to increase their collection, so I use it.  The only problem is that publishers want to stick to useless Digital rights management (DRM), and you can only use this on Windows, since they are closed binaries.  So, on first sight, you are screwed!

But fire up Wine, and start installing windows programs.  You need Firefox for a browser, Adobe Reader and Digital Editions (DE) for the books.  Use Winetricks to install the gecko engine for deep IE features that the Adobe needs.  Now, the trick is to stay totally within Wine when you are doing this.  You go to the library with your wine firefox, and you get your book.  This downloads a small text file with the extension .acsm.  These are just instructions for DE.  Firefox shows the file, and it opens automatically with DE.  Now you can read the book, just like you were a slave to ms!

This was the most difficult part, for you can't download the acsm file using Linux, since you get the whole Unix-Dos text file incompatibility thing.  For those that want to download to their reader (for me Sony PRS700), you are again screwed since DE can't handle the DRM crap right to the sony.  You have to do something Linuxy!  I don't want to tell, but it's quite simple, involving installing Python 2.7 on wine, installing the xp binary for Pycrypto, and running 2 magic 'inept' scripts to 'D-DRM' the epub file.  Then just use your standard sony usb disk connection to put it in the 'books' folder.  Nobody's out of pocket since you are just reading the book!  Don't put the clean epub on the internet, since I like it for authors to eat and write new stuff!  and erase the book after the lending period.

The principle of the drm is fascinating in its stupidity.  DE requires you to 'register' with your email and password.  You are only allowed to do this on 6 machines (or OS versions), and if you screwed up a lot, you can't read old books you bought.  From this registration, DE creates a powerful RSA encryption key, which on the surface seems unbreakable.  It communicates with the library, which pays big bucks for a DE server.  But, the program must have the ability to store the key, and de-en-crypt.  This is held sloppily, and the scripts extract it.

When you buy books, the same drm works, and you can lose the key, so you can't access them anymore, even though you paid for it!  So, I would always clean the epub for bought books for archival purpose, and you can put them on any reader, since the epub standard is common and open.