3/15/2008 10:10:00 AM

Plane Hijackings Still Occur..

Within the wonderful CRYPTO-GRAM newsletter from Bruce Schneier we are told of a Somalian woman who boarded a plane in Blenheim, New Zealand and stabbed both pilots and a passenger while demanding to be flown to Australia. Schneier's article is below:

"There are a couple of interesting things about the hijacking in New Zealand last month. First, it was a traditional hijacking. Remember after 9/11 when people said that the era of airplane hijacking was over, that it would no longer be possible to hijack an airplane and demand a ransom or demand passage to some exotic location? Turns out that's just not true; there still can be traditional non-terrorist hijackings.
http://www.nzherald.co.nz/section/1/story.cfm?c_id=1&objectid=10491291
http://www.stuff.co.nz/4392665a11.html
http://www.stuff.co.nz/4395723a10.html
http://www.stuff.co.nz/4395846a11.html
And even more interesting, the media coverage reflected that. Read the links above. They're calm and reasoned. There's no mention of the T-word. We're not all cautioned that we're going to die. If anything, they're recommending that everyone not overreact. Refreshing, really.
http://stuff.co.nz/4414911a10.html"
Funny how people with knives are still getting on planes despite "increased security" and not a mention of terrorism, thankfully. It's nice to see the media actually making the differentiation between random acts of stupidity and crime, and that of actual terrorism.
3/14/2008 09:25:00 PM

Starting to read Snake Agent by Liz Williams


I have actually had Snake Agent for about six months now and tried to start reading it after I finished the last Dresden Files novel White Night and just couldn't get into it at the time. I was looking for another Harry Dresden to fill in the void of not having his antics to share, Detective Inspector Chen is no Harry Dresden, in some ways he far more enigmatic.

I am only a little bit into it so I am not going to give a full synopsis yet, but I will try and keep you guys up on whether the book is worth getting or not. Oh and if you have the option, grab the trade paperback of this novel as the cover art is amazing, the regular paperback size does not do it any justice at all.
3/13/2008 04:20:00 PM

Easy Data Backup on Win

While at work I had to backup a number of build templates and resource files to another computer on the network, a NAS device, for safe storage. Previously, our backup schedules were fairly non-existent for this set of data so I really had free reign to do what I liked to make sure it just got backed up simply.

I knew I wanted to use xcopy to do the actual data transfer over the network, but I wasn't so keen on simply copying raw data in excess of 3GB on a weekly basis. So I started digging around for a command line interface compression tool. Oh, and it had to be free, since I was at work. After a few minutes of searching I came across 7-Zip which touted better compression ratios than WinZIP and a command line interface.

7-Zip Command Line

The command line of 7-Zip is pretty complete, and allows for include lists and excludes using wildcards, all sorts of shite really. It did take me about 30 minutes of jacking around to make it grab the exact files that I wanted but I was able to get it to grab exactly what I wanted.

Setting up Your Backup System

Well, first head over to the 7-Zip download page and get a copy of the program for WinBlows. They actually have a version for damn near every OS out there but since I am focusing on Windows just get that.

After installing 7-Zip browse to the install directory and copy the 7z.exe file into your System32 folder. This will allow us to access the command line from anywhere. I suppose that we could have added the install directory to the system path, but my way is much easier.

Since I was looking at including a large number of files spread across a series of directories we are going to include the files in a separate list file. Also, since batch scripts are much more forgiving when ran from the root of the C: drive, create a backup_list.txt file there and list out all of the directories that you want backed up one per line. Here’s an examples of the file:

c:\Build_Files\V12Data
c:\Build_Files\system_files
etc...

Now you need to actually create the bat file that will run our 7-Zip & xcopy commands, let's call this backup.bat. Here is mine so far:

7z a -tzip c:\archive.zip @c:\backup_list.txt -scsWIN

This command will create a ZIP file (-tzip) called archive.zip in the root of the C: drive and add the directories listed in the C:\backup_list.txt file. Since I just used ANSI and not UTF-8 for the formatting I had to use the -scsWIN flag to tell 7-Zip, otherwise the command will die.

Now just running this command would be fine for most but I had a number of subdirectories that I did not want to include. These subdirectories are located at the same level and would all be similarly named. So to exclude these directories we need to add an exclusion to the command we already have. So now we have something like this:

7z a -tzip c:\archive.zip @c:\backup_list.txt -scsWIN -x!Build_Files\*\backup*\

This will exclude any folders that start with "backup" on the third level. Now I also needed to exclude another particular folder so my script came out to this:

7z a -tzip c:\archive.zip @c:\backup_list.txt -scsWIN -x!Build_Files\*\backup*\ -x!Build_Files\V12Data\Streets\

Now that we have the compression command finalized we can worry about the actual xcopy.

xcopy c:\archive.zip Y:\Data\ /D /Y

I am using xcopy cuz it rocks and it is present on every XP machine, and I am not so sure RoboCopy is. Anyway, the xcopy command initiates a file copy from the compressed file we just created, c:\archive.zip, to a map drive location that I have already set up. The /D switch tells it to only update the file if it is newer than the one I am attempting to overwrite; while the /Y flag tells it to suppress any warning flags.

Next I want to get rid of the compressed file on the local machine so we run a simple remove command and then exit the script.

rem c:\archive.zip
exit

Now we can run the batch file and see if it is all kosher, it should be but if not generally your error will be in the 7-Zip line for some syntax error. Run the batch by right-clicking on it and left-clicking on "Run." You will see a command prompt window appear and start compressing your files. I would let it run one full time to make sure that your copy and rem command is working correctly.

Scheduling the Script

Once the script is finalized we can add it as a scheduled task on the local machine. I set mine up to run at 2:00AM on Sunday mornings. Again we will probably want to verify that it works by right-clicking on the task and choosing to run it. It will run in the background without showing a command prompt.

Do yourself a favor and make sure that you are backing up to either a separate machine or an external hard drive. There is nothing so ignorant as making sure you are backing up your stuff but then just placing it on a separate partition of your only hdd.

Anyway, I hope that this helps someone else trying to backup large chunks of data on a WinBlows system/Network.

3/10/2008 03:24:00 PM

Everex VA1500V Laptop now at WalMart.com

everex

ANOTHER UPDATE: Well this has just turned ugly. My friend's NewEgg account was closed today and the order for the laptop was completely voided, then they said that the bank told NewEgg that his account was closed, which was a total crock of shite. So all told there will be no laptop coming, and I likely lost my online order buddy. So thanks for nothing you NewEgg fucks.

This kind of shit always seems to happen to me whenever I want to actually buy something for myself. I am not a rich man by any means and any amount of money over abotu $10 that I spend affects my budget in some manner. So, to trust a company with my hard-earned cash and to be treated in such a demeaning manner is fucking typical of my history of ordering tech. I know it wasn't my account that was closed and whatever, but it was my fucking money and, would have been, my fucking laptop. I suppose this is just a way for the man to stomp on my ballz and tell me that I shouldn't be spending $400 on a uber-cheap linux running laptop when I have a perfectly malfunctioning Thinkpad T-23 at home, and gas is over $3.00 a gallon.

Update: Ordering from NewEgg.com has been an exceptionally aggravating process for some reason. I had to order the item twice, cancel both of those and then have a friend buy it from his account. So now the order didn't start processing until late Friday afternoon. Hopefully, I will have the damn thing by about Thursday of next week.

The Everex VA1500V, the Cloudbook's big brother, is now available at Walmart.com for $398.00. But this means nothing to me personally since I just purchased this guy from NewEgg.com. They are processing the order and I should have it early next week. I can't wait!!


3/09/2008 10:19:00 PM

Giving up on Accelerando...

I am giving up on reading Accelerando by Charles Stross mainly because it is just too strange and not as closely knit as I had originally hoped. I finished reading Halting State a few weeks ago and it was one of the best sci-fi books that I have ever read, so I purchased Accelerando on a whim not really sure what I was getting. I really enjoyed the beginning regardless of how strange it was, but once the first significant time shift occurs the novels fails to mesh back together cohesively. It is just too hard for me to read, so the next Stross that I pick up will be Glasshouse.

There are a number of books that I need to read anyway, namely anything by Gaiman, like Smoke and Mirrors. Also I think I want to read Brasyl by Ian McDonald. Anyway, sorry Chuck maybe the next read is better.
3/09/2008 09:50:00 PM

I can only hope this is true...