Digital Dawn

September 1st, 2010

Digital Dawn [13]

  1. Kohachiro MiyataSanya [from "Shakuhachi - The Japanese Flute"]
  2. Irwin René Abularach-Sierra, guitar — unknown [track 1 from "Guitar Music of Three Centuries"] [good luck finding a copy of this one]
  3. Bebop and Destruction Here It Is [from "Heavy Machinery"]
  4. Holly Cole Train Song [from "Temptation", an album of Tom Waits covers]
  5. Ahmad Jamal Ahmad’s Blues [from "Ahmad's Blues"]
  6. Milt Buckner The Beast [from "Mulholland Drive: Original Motion Picture Score"]
  7. Irwin René Abularach-Sierra, guitar — unknown [track 4 from "Guitar Music of Three Centuries"] [probably still impossible to find]
  8. Orchestre de Chambre Jean-François Paillard [Musical Heritage Society release] — Adagio in G minor [Tomaso Giovanni Albinoni] [from "Pachelbel-Albinoni-Bach-Bonporti-Molter"] [The Doors used this song to create their "A Feast Of Friends" or "The Severed Garden"] [you should have no trouble finding recordings of this adagio, but again good luck finding this specific recording]
  9. Claudia GomezSoltarlo [Colombia] [from "A Putumayo Blend: Music from the Coffee Lands"]
  10. Charlie Watts – Jim Keltner Project Elvin Suite [from "Charlie Watts - Jim Keltner Project"]
  11. Angelo Badalamenti Jitterbug [from "Mulholland Drive: Original Motion Picture Score"]
  12. Tom Waits Get Behind the Mule [from "Mule Variations"]
  13. Yann Tiersen Le Moulin [from "Le fabuleux destin d'Amélie Poulain" score]

(Originally compiled c. 2003 as an audio test compilation.)

JamesIsIn
  • Share/Bookmark

Backup Script: A Love Story

August 15th, 2010

I have written a few backup scripts by now. Every time I do I find a new interesting challenge somewhere in the task. As such I’d like to talk a little about my most recent backup script and offer my script to the community at large.

First of all, I tend to use rsync for backups. It’s powerful and it works well. You can use rsync to backup any file system and so it is also very flexible in a network or on a virtual machine. I’m not going to dive into the man page for rsync, but you will want to take a look there (man rsync) because there is a wealth of information about the various switches available for that command. I have selected the switches that fit my purposes and that is what is displayed below.

Next, where possible I prefer to leave my backup drives unmounted until they are actually needed for the backup process. I consider my current system for dealing with this imperfect, but again that is what you will see in my current script.

Finally, the server I have written this script for is running the desktop version of Ubuntu. This is not likely important in any way except that (as you will see) if I had been running the server version I would not likely have had the same problems when I did my test run.

Ok, so here is my current script.

#
#
#
# run in cron Mondays at 4 AM
# [0 4 * * 1 /home/[scriptpath] >/dev/null 2>1]

# redirect from script --> sends all STDERR to log file

exec 2> /home/[username]/Desktop/$(date +%Y%m%d) ## use dated folder on desktop

## backup [DriveAa]

if ! mountpoint -q /media/[BUDriveA]
then
   mount -t [filesystem] -U [UUID goes here; no brackets or quotes] /media/[BUDriveA]
fi

# Note rsync -a copies permissions but will not copy owner:group if not run as root

rsync -ailS --delete --progress /media/[DriveA]/[Folder] /media/[BUDriveA]

umount /media/[BUDriveA]

## backup [DriveB]

if ! mountpoint -q /media/[BUDriveB]
then
   mount -t [filesystem] -U [UUID goes here; no brackets or quotes] /media/[BUDriveB]
fi

# Note rsync -a copies permissions but will not copy owner:group if not run as root

rsync -ailS --delete --progress /media/[DriveB]/[Y] /media/[BUDriveB]
rsync -ailS --delete --progress /media/[DriveB]/[Z] /media/[BUDriveB]

umount /media/[BUDriveB]

#

As you can see I like to keep my scripts well documented. I encourage you to do the same. Memory is fallible, after all.

(Note: Everything in square brackets [] will be replaced in your script.)

[filesystem]

This is where you specify the file system type you are using and is called out by the -t argument. For my script it was ext3.

[UUID]

This is a unique identifier for a drive and it is called out by the -U argument. I prefer using UUID’s because other drive/partition designations can change (for instance, sda1 can become sdb1 if you add a new drive). (For information on adding drives to your system see this ink.)

My backup script manages the backups for three directories (recursive) over two drives. I first test to see if a backup drive is mounted and if it is not I mount it. That’s the job of the if statements. (This is what I consider imperfect and will seek to improve as time moves forward.) It works well enough, and if you don’t want your backup drives to be mounted all the time this is a decent way of dealing with the matter.

You will also note that I unmount each drive as I finish with it (umount).

You will also see that in the DriveB example I backup (synchronize) two directories (Y & Z). This also helps to make it clear that you do not need to specify the name of the directory at the backup location.

Lastly, you see my note about -a copying permissions and requiring root to copy also the owner and user information. As such I put this script into a cron job as root.

What?

It’s easy enough to do. Just open cron as root:

#
#
sudo crontab -e

You will be prompted for your password. You can learn more here. You can see my cron entry for this script in a comment in my script above. The man page for cron (man cron) will help you understand how 0 4 * * 1 means every Monday at four in the morning.

Let’s talk about some of the mistakes I made.

The first big snag was not having the if statements correct. I left out the UUID’s and so the script did not mount the drive for the first sync operation. The if statement tested to see if DriveA was mounted and found that it was not. Then it ran the mount command which failed because no valid drive (UUID) was specified.

Because the drive was not mounted at the mount point rsync began synchronizing data to the mount folder and not the mounted drive. This caused the script to fail (once the OS drive containing / was full—about 105 GB later) and borked the / partition.

I was not able to restart Gnome (Gnome, the desktop environment, requires some free space on your / partition to function and mine was 100% full). I ssh’d into the machine from a Windows box nearby (using Cygwin) and maybe two hours later I sorted out what I had done. I was able to remove (using the rm command) the offending folder after making absolutely certain DriveA was in fact not mounted. After that I was able to reboot and get back into Gnome. (However, I did have to run fsck on the drive probably due also to the drive having filled itself. If you boot your system and get a shell stating you cannot login try running fsck and answering y to all the fixit questions.)

Oops. This is why we make test runs, right?

So I fixed the if statements (specifically the mount and umount commands) and that took care of that.

Then the script ran fine through the backup for DriveA but finished DriveB in a few seconds. Not possible. I looked back at the script and realized that I had specified the backup location for both the source and the destination. Damn it. Fixed that and DriveB was synchronizing properly.

I hope this helps you out.

(Thanks to Ian over at Ubuntu for his suggestions while I was troubleshooting.)

Happy scripting.

JamesIsIn
  • Share/Bookmark

Au revoir, ma tante

August 9th, 2010

As some of you may have already learned, my aunt Judy was murdered by some crazy dickhead by repeated stabbings. He was a tenant in the building she managed and would probably assert that she was controlling his thoughts with electricity. (I’m not making this up.)

I have little sympathy for crazies. I feel that if you kill people we don’t need you on this planet. And when you have already had one chance that makes me even less sympathetic (he already stabbed a previous landlady).

I feel exceptionally fortunate that upon my return from France my father and his two sisters were very adamant about seeing me and hearing about my adventures. On the Saturday that I went to the apartment of my Aunt Judy to pick up my father I ended up spending a few hours eating Judy’s cooking and talking with her and Dixie and my dad as well as my cousin Simion who I have not seen since he was an infant (and who is now an adult).

Two days later we all gathered at my cousin Rachel’s house and I once again regaled the relatives with tales of my adventures through the South of France and the friends I met there.

Six days later Judy was stabbed to death on the landing of her apartment by the aforementioned crazy dickhead.

Imagine my good fortune to have spent two days with her, laughing and eating like children in the garden, before she was taken from this world.

We have little time, and the people around us are precious commodities. Remember this above all else.

Here is a photograph taken at that last day I spent with my aunt Judy. See how she tosses her head back?

My Aunt, Judy Garcia

My Aunt, Judy Garcia

On that Saturday in her apartment she and I talked of many things, but one thing in particular haunts me. She was offering me her prescription for living, and I explained to her the Latin phrase carpe diem. My description was a bit graphic: grab hold of life with your talons, tear it open, and drink down all the blood inside. We agreed that this was exactly correct.

I will post articles in the comments which relate to her. But really, you’ve just read the important bits.

In memorium, I played David Gilmour’s Murder (a song written to the man who murdered John Lennon).

Chin up, little campers. The end is no cure for boredom.

JamesIsIn
  • Share/Bookmark

Rocket Me Bottle!

August 9th, 2010

I’m a big Wes Anderson fan and have been since I took a chance and bought Rushmore on DVD.  He’s really quite good at making movies.

A friend insists that Bottle Rocket is his best film.  I finally bought a copy on Blu-ray and have now watched that great film.

Bottle Rocket

Bottle Rocket

I think what makes this a great film is that you get to see Wes Anderson and the Wilson brothers at the very beginning.  There are flaws in the film which they correct in later films, but this film really shows the talents that were waiting down in Texas aching to explode on the big screen.

If you also enjoy Wes Anderson films, you will likely also enjoy Bottle Rocket.  I can’t say it’s for everyone though.  If you were going to pick only one Wes Anderson film to watch I would probably still recommend Rushmore.

Now this Criterion Collection Blu-ray has some excellent extras thrown in for fun.  It does have the original Bottle Rocket short film which Wes and Co sent to Sundance.  Also there are a host of cut scenes from the film which are interesting to watch (if you are into film making as a craft).

The best gem of the lot though is a documentary film called Murita Cycles by Barry Braverman.  (I understand this is also included on the 2 DVD Criterion Collection set as well.)

There you have it. Not my most exciting review, but you know what you need to know. Get busy.

Thanks for reading.

JamesIsIn
  • Share/Bookmark

I Allot a Lot to Each Lout.

August 5th, 2010

Hey, Interwebers, it’s simple.

“I like you a lot.” It’s just like “I like you a bunch”. Nobody would write “I like you abunch”. Get it fucking strait!

A lot.

I know; I know: What an annoying prick.

Get it right.

[shakes head; walks away]

JamesIsIn
  • Share/Bookmark

Everyone Should Have a Big Night

July 29th, 2010

My brother gave me a couple of DVD’s a while back and I’m just now getting to watching this last of them. A film with Ian Holm, Stanley Tucci, Minnie Driver, and Isabella Rossellini (a woman so beautiful she could do me), it is called Big Night.

Big Night

Big Night

It’s basically the story of two Italian brothers who come to the States seeking to make their fortunes as restaurateurs. Things are not going well and they begin to reach out for other ways to succeed, each brother in his own manner. The brothers represent a variety of polar opposites and the interplay between them and between all the characters is well done.

Essentially it is a story about food and should be placed on a shelf along with Babette’s Feast, Tampopo (Dandelion), and Chocolat (with Juliette Binoche, meow).

The story itself is caught somewhere between Tampopo and Waiting for Godot. It is a rich philosophical film filled with brain candy. And the food will make you hungry. I especially liked the timpani. (You can find an example of this dish here and here, the second probably being more closely authentic.)

Get to it, kiddies. The couch is waiting.

JamesIsIn
  • Share/Bookmark

Three-teen!

July 29th, 2010

19 June

(Photos)

I stayed the night in the apartment of Dominique who lives on the second floor (or first floor depending on how you count them).

Rise at 9 in the morning. Some of you are thinking “man, that’s sleeping pretty late” and others are thinking “damn, that’s still early”, but for my part I was thinking “not bad for no alarm clock and yet another late night”.

I went downstairs to Flo and Olivier’s apartment and Flo offered me some chocolate mousse for breakfast. Who would say no to that?

We walked through the streets of Orléans enjoying the sights and sounds. For my edification, Eric reenacted some of the route of Joan d’Arc while I clapped horse sounds. “You Brits; I will fuck you up!” She really said that.

I also noticed that the bicycles here are a different color than those rented in Toulouse. We stopped in to see a Canadian friend of Eric’s (from Montréal) (XXXXXX) of whom I neglected to shoot a picture. However, I did take a picture of the largest tub of crème fraîche I have ever seen.

We saw a wedding party spilling into the streets and having a grand time. There were also more preparations for music for the evening going on all around.

Floflo had to do some shopping or something equally important so Eric and I split off at some point. We met Galette (another Eric) et Domie (another though female Dominique) while walking about and hung with them until dinner time.

We ran into an ex-girlfriend of Eric’s brother named Frederique (better known as Puce) and talked with her for maybe twenty minutes. She was a bundle of kinetic energy and I liked her a lot. She went off to do her thing and we continued our ambling.

Later we met with Jean Paul Duché and toured his studio, taking time out to sample some of the last of the NW weed on the roof deck of the studio.

Finally, we walked back to chez Olivier et Florence to get ready for dinner out. That meant back to town for dinner at a restaurant specializing in fondue. One of the appetizers was a plate of breaded and fried tiny whole fish served with a sort of tartar sauce. I loved it. Flo refused to eat them because of the eyes. Sometimes I feel bad for Flo, but not very much (because I ate what she wouldn’t) and not very long.

I had a charcuterie plate for my fondue. You know how I feel about cured meats.

There was a problem with my pot as the torch had gone out. For a while there I felt like Jacques Tati fumbling about with my cheese being much less runny than everyone else’s and being very confused by the whole process. Eventually I realized what was not right and got it lit. Again the impossible became possible.

For desert, there was chocolate fondue though I opted for something like a lava cake with crème anglaise. Very yummy.

The music festival was already started when we finished dinner. We were four who broke off to pursue the tunage: Eric, Gallette, Dominique, et moi. Jazz was the order of the day. We watched some decent music during the day, but it was too cold as the evening set in to enjoy much of it and we ended up in bars.

We ran into FF (François Fougeroux friend of Dominique’s daughter Lisa). FF had a guitar and I played guitar and sang until proprietor asked as to stop for the sake of the neighbors as it was rather late and they didn’t have the proper license for music. I guess that was a kind of compliment.

I took a picture of this distinct cat a local graffiti artist painted (and paints all over the world) in this bar.

Then we played shut the box (12 tile version) and drank some tequila and rum drink until even later. Not requiring anything more, especially after the previous night, we went to another pub for beer. (I tried to pass but drank about 2/3 of a beer.)

Eric complained girls in Orleans were not as pretty as those in Toulouse, and it was probably true; but there was still plenty to see in the way of girls I could hardly call myself disappointed.

Eric became very excited to show us ‘something’ at the bar (remember, this is the town in which he grew up). So we went into this utterly black spiral stair well and began to climb. I have a little LED flashlight in my pocket (IT Nerd, at your service) and that was helpful as we four ascended the four flights of stairs winding up into the darkness to find:

An old washing machine.

Apparently this is not what he was expecting but I’ll be damned if any of us could understand what he was trying to say through all the laughter.

Not a bad day, all in all.

JamesIsIn
  • Share/Bookmark

The Quiet Night

July 20th, 2010

This photograph (7456) was shot in Orléans (France) on 29 June 2010.

The Quiet Night

The Quiet Night

Here you see Dave and Florence in their home after a wonderful night out (Dave stayed in).

Thanks for taking a look and please let me know your thoughts.

(UF)

JamesIsIn
  • Share/Bookmark

The Ever-Ascending Flower

July 12th, 2010

This unmanipulated photograph was shot in Toulouse, France 5 July 2010.

The Ever-Ascending Flower

The Ever-Ascending Flower

This is my dear friend Florence and the effect you see was produced by camera motion.  I did some slight color correction work.

For more information about my luxagraphic movement please read this manifesto.

UF

JamesIsIn
  • Share/Bookmark

Twelve

June 26th, 2010

18 June

(Photos)

The large part of today was spent driving from Toulouse to Orleans.  We made a couple of stops along the way and one of those is really important.

We stopped at a village known as Oradour-sur-Glane which is really two villages now.  One new where all the people live, and one lying in ruins which stands as its own memorial.

According  to Eric a Panzer division with orders to move toward Normandy in anticipation of a suspected allied invasion and with additional orders to make an example should they encounter any resistance, encountered resistance (presumably) and make an example of Oradour-sur-Glane.

Many of the villagers were herded into the church along with cans of gasoline, the doors barred, and set alight.  The entire village was burned and any remaining humans were killed.  Only a handful survived by having been far out in the fields when this all took place and thus able to hide and avoid discovery.

The entire village was left untouched and simple labeled Remember.  So next time you think “Remember the Alamo” you can think also about Oradour-sur-Glane.  A disquieting but important visit.

We also stopped at a strangely excellent rest stop.

Finally we routed through Floeury les Aubrais (where Eric grew up and where his mom’s shoe store was for so many years).  There we stopped and bought a bouquet of flowers for Flo.

When we arrived at chez Olivier and Florence (Flo), I again got the full tour (they all must think me mad taking pictures of everything I see) and fell in love with their cavernous bath room.  One day I will bathe there with the assistance of three or four village girls and wine.  I have simple tastes.

The evening was spent at a barbecue for the building.  In attendance were Eric et moi, Olivier et Florence, Manon, et Hugo; Dominique (widower of Olivier’s sister) and his son Antoine; Stefan and his wife; Michel (metre d’ouvre) et Caroline; and some other children whose names escape me.

Dinner consisted of pork skewers (with tomato, bell pepper); a kind of pasta salad; a zucchini sauce; and Côte de boeuf.  This was accompanied by copious amounts of wine (eight bottles for twelve people), champagne, ricard, scotch, eu de vie de poirre, and maybe some other stuff (it all gets a little hazy at some point).

After a nice meal and a visit (for no apparent reason) to the dirt cellar I suggested we take a little stroll around the neighborhood (you all know how I love to walk).  So we filled our glasses and ventured out into the Toulousian night where we met a group of four youths in a small square just around the corner.

They were rolling a joint with blends of hash and weed (no tobacco so we stayed with them to help keep them out of trouble and to enjoy their company, and besides what one really needs after a night of opulent eating and drinking is a bit of marijuana.  Another group of their friends arrived and we all talked and joked and laughed together.

All very happy we said goodnight to our companions and made our way back home with our empty glasses to discover what sheets feel like anew around three in the morning.

JamesIsIn
  • Share/Bookmark