How to recover from a WD Live Duo Mirrored RAID

May 7th, 2014 Comments off

These steps are cobbled together from various sources on the web.

  1. Get a USB SATA enclosure. The one I got said it supported drives of up to 2tb, it had no problem mounting a 3tb drive.
  2. Take one of the drives (doesn’t matter which) from the WD Live Duo enclosure and mount it in the new enclosure.
  3. Plug the newly-mounted disk and a second external disk (to recover to) into your Linux box. I just used a Raspberry Pi.
  4. Log in as root
  5. Make folder to copy data into ‘mkdir /mnt/dest’
  6. My spare disk was Ntfs so I needed a driver for that;
    ‘apt-get install ntfs-3g’
  7. Mount your destination disk  -
    ‘mount -t ntfs-3g /dev/sda1′
  8. Check your disks with ‘parted -l’ – you should see something like

    1 4624MB  3001GB  2996GB  ext4         primary
  9. Note the drive id above this entry, in my case it was/dev/sdc
  10. start debugfs (note the large sector size setting of 65536)debugfs
    debugfs: open -b 65536 /dev/sdb4
    debugfs: cd /shares/Public
    debugfs: ls
    debugfs: cd ..
    debugfs: ls
    debugfs: rdump Public /mnt/dest/
  11. Handy trick when debugfs is running; ctrl-z to suspend it, ‘bg’ to start it again and ‘disown -h %1′ to detach it from the terminal process
  12. ‘ls /mnt/dest/ | wc -l’ will show updated copies
Categories: uncategorized

Photos from the Super 8 festival in Block T

May 5th, 2014 Comments off

Thanks to everyone who took part and everyone who came along.

The mixtape films included the Super 8 Darkroom Student films (Mella/Daniel/Dennis),  ’O Cribs’ & ‘Invocation of Ireland’ (Dennis Kenny),  Trailers (Vivienne Dick), ’Pow Wow’ (Deirdre Mulrooney),  Torso (Una Quigley) and ‘Money Spent At Night’ (Maximilian Le Cain).

‘The End of The Earth Is My Home’ and D1 footage by Alan Lambert with live music by Alan & Junshi on Harp.

16mm and Turntable installation by Fergal Brennan & Sharon Buckley.

Kuchar introduction and films by Willie (Hunter’s Moon) and Daniel Fitzpatrick.

Categories: film, personal

16mm Projection for the Experimental Film Club in the IFI

April 25th, 2014 Comments off

Rehearsing and projecting at the IFI during the week.

Categories: personal

Games of Chance

March 31st, 2014 Comments off

I took these pictures of Roman and Babylonian dice at the Pergammon museum in January.

Although these are from very different time periods, they share a lot in common; the arrangement of the dots on each side, the circles around the dots – they’re basically the same die, thousands of years apart.

It struck me that these dice must have been much in demand, but that they are easier to test than they are to make true. To find out if a die is fair, you simply throw it as many times as you can and record the distribution of results.

To make it fair, you need to pick a geometry to match the number of face you need, carve it as accurately as you can and then keeping tweaking the weights and filling in the holes until it rolls evenly.

Once the die has been corrected, there should be a 1/6 chance of each side showing up. We’d use a chi squared test nowadays to check this;

Σ (observed – expected)^2/expected

Obviously, the more throws, the closer you get to an even distribution. This remains the most accurate way of testing dice, particularly hand-made dice which may contain eccentricities from uneven weight distribution or face geometry.

But then here’s a chinese die I bought in Burma – this is a different approach to solving the same problem – you spin it. It’s only made of wood, but it should give more random results than a slightly uneven bone die.

Only one way to find out really, I’d rather someone else did the throwing though.

Categories: uncategorized

Printing 3d Models

March 28th, 2014 Comments off

These models are from the short film “Beasts of the Free Enterprise Zone” from 1998. They’ve been printed using a Makerbot2 printer, sanded, filled and given a grey undercoat.

During
During
During
During

This creature was supposed to have a luminous eye to aid hunting prey in the original film, something I dropped due to the rendering time for volume lighting back in the day. To recreate this effect I overpainted the whites of the eyes with phosphorescent paint from Revel.

It can be hard to work out which areas of white have received the phosphorescent paint and surprisingly it’s easier to do this overpainting in the dark, as the brush and paint pot are also clearly visible.

After

I bought some bell jars to put the models in, just to increase the taxidermy effect. Maybe I can drop them off at the Dead Zoo some day and have them added to the collection.

After
After

Categories: uncategorized

Early Sound

February 17th, 2014 Comments off

For the last couple of years I have been picking through Wikipedia for information about the earliest recorded people, both in photos and sound. In a way these are the first people we can truly say existed or that we can know directly.

My interest in early recordings was prompted by a number of things; Nigel Kneale’s The Stone Tape, that “Marconi became convinced that sound never dies” and various articles in the media, like the one below that pushed back the earliest known recording of a human voice from Edison’s recording in 1888 to April 9, 1860, nearly 30 years.

The Phonautograph

Before Edison’s recording cylinder, Édouard-Léon Scott de Martinville constructed the Phonautograph, a recording-only medium that he saw as a way of generating art from sound or perhaps even a kind of stenographic device. A vibrating membrane blew smoke patterns onto a rotating drum of paper, creating long sooty sheets of paper.

In an amazing piece of hi-tech archaeology from Berkeley Labs, the sound of a man – possibly Édouard-Léon himself – singing ‘Au Clair de la Lune’ was recovered from one of his early experiments.

It’s a terrible recording, but this is where we started.

The only 18th Century voice

Until the clever guys at Berkeley find some other unintentional recording, the only other way to push that date back is through early recordings of older people. Recently an old Edison recording made in Germany was discovered, containing the voice of Helmuth von Moltke the Elder. The recording was made in 1889 but Helmuth himself was born in 1800, making this the only opportunity we have to listen to a voice from the 18th century, to cross ‘the Great Span’ of 200 years, as Alger Hiss would have it. This recording is significantly better than the Phonautograph.

No earlier human voice exists, but acoustic archaeology may yet find a way to reconstruct accidental recordings, perhaps from a potter’s wheel or a waterline – who knows?

However, if we broaden our definition of the ‘recorded voice’ to include lyrics with melodic and rhythmic notation, we can go back further. There is an amazing sequence in Werner Herzog’s The Cave of Forgotten Dreams where an archaeologist produces a neolithic bone flute, describes the hole spacing as matching a pentatonic scale and then proceeds to play ‘the star spangled banner’ (or ‘to anacreon in heaven’ as it was once known) on a 40,000 year old instrument.

The Delphic Hymns

Although we know of a number of ancient instruments, we have little evidence of what was played on them until the first musical notation arrives. We lose the direct connection that a recording gives us and the result is much open to interpretation. The rest of these sounds are modern approximations, played on the same MIDI instrument.

There are two hymns from Delphi, including words and music, which were inscribed on marble as competition winners in ancient Greece. Below is an image of the second, followed by a recording of the first. The songs were written to Apollo by an Athenian named Athenaeus in 128 BCE.


(MIDI courtesy of wikipedia, MP3 conversion by Solmire)

The Greek Tomb

Another 100 or so years later, we get the first complete song, on a funerary monument; the Seikilos epitaph;

If we are willing to accept fragments of notation, we can go back even further.

Hurrian songs

Dating from the Bronze Age, 1400 BCE, we have the Hurrian cult hymn to Nikkal. Discovered in the Royal Palace at Ugarit (modern Syria) in the 1950s, this fragmentary cycle of songs were recorded on clay tablets. The largest surviving fragment was sung and intended to be accompanied by a stringed instrument. Indeed the tablets also include tuning instructions.

Here is a link to an interpretation on SoundCloud.

References:

www.phonozoic.net

www.firstsounds.org

Categories: personal

More Burmese Loops

July 18th, 2013 Comments off


Categories: film, personal

Burma in HTML5

July 18th, 2013 Comments off

I’ve been editing some of the honeymoon footage from Burma and I found these little loops that made for a great HTML5 video tag experiment, I hope you like them.

See also the buddhist temple loop and the senior monk with an umbrella.

Categories: film, personal

NodeJS and MongoDB on Raspberry Pi

March 25th, 2013 Comments off

I was hoping that installing these would be as simple as apt-get install nodejs and apt-get install mongodb but it took a little more than that. NodeJS is straightforward but I needed this guide to build and install MongoDB. Even with this, the process took about a day to grind out on the Pi and left me with 75% of my SD card full.

Something they don’t really get into in the guide is that you need use raspi-config to knock the GPU memory down to 32mb in order for the build to succeed. Without that extra memory, the linker will fail with “ld terminated with signal 9 [killed]“.

The next step is to apt-get install npm and you can add express and mongoose to get your app started.

Categories: code

Hosting on a Raspberry Pi

March 22nd, 2013 Comments off

I bought a Raspberry Pi this week and used it to replace the server this blog is hosted on. There are plenty of guides to installing WordPress on the Pi but I was pleasantly surprised to find that none of them were necessary and the whole process took only a few hours.

The old radiation king server vs. the new multi-coloured contender.

I even managed to get Ampache up and running with little effort. Tomorrow I will add NodeJS and MongoDB and see how they run.

It is not as fast as the last server but the switch from a 250w power supply to the 3.5w that the Raspberry Pi consumes makes the whole effort worthwhile. I have overclocked the Pi, switched on Quick-Cache in WordPress and now I’m happy with the results.

Categories: code