I have rewritten my differencing application to be cross platform. I have rebranded it to xdiffr and I have made it open source. You can download built Windows and Linux executables here:
The source code is hosted on github:
You are more than welcome to download and play around with the source code. I will try to merge in any contributed changes that have broad appeal.
Information about the old Windows only application can still be found here:
This site seems to be swamped with spam comments, so I’m sorry if I’ve missed some genuine ones amongst them. There are about 200 pending for me to check.
I have been posting mainly to Google+ recently. Check me out on there:
or the shortened url:
I finally got to see the ISS fly overhead last night. This inspired me to create some infographics for some perspective on the distances of satellites.
To find out a schedule of when the ISS flies over your area:
A map that tracks the current position of the ISS:
In the last few years I’ve had two hard drives fail. As a last resort each time I put the drive in a freezer for about half a day and then managed to recover most of the data.
WARNING: If the data on the failed hard drive is very valuable to you then get professional data recovery advice. I tried numerous software recovery tools and none of them worked. I was not prepared to pay out for physical hard disk recovery, so I decided to try freezing.
On the most recent HDD failure I noticed that it made a clicking noise. The PC displayed a “no operating system found” message and the drive was inaccessible on other PCs. First I tried putting the drive in a freezer for a couple of hours but this did not work. I then left it in the freezer for about 14 hours and then it worked. Note that if this works there will probably be a limited time in which you will be able to use the drive, so copy the most important data first. The first time I had long enough to copy the entire drive but the second time I only managed the get about half of the data. Don’t forget to put the drive in a plastic bag or two before putting it in the freezer.
It seems that science behind this is that the components in the drive shrink slightly when cold. This tightens up mechanical parts that might have become loose and could improve electrical contact issues.
Not wanting to push my luck too far, I am now using RAID mirroring with two hard drives!
The current header image for this blog is based on the “Earth and Sun” photo from NASA:
The Setting of the Sun Over the Pacific Ocean and a Towering Thundercloud, July 21, 2003 As Seen From the International Space Station (Expedition 7); Image Science and Analysis Laboratory, NASA-Johnson Space Center. “Astronaut Photography of Earth – Display Record.”
Posted in science
Tagged science, space
Docbook is a specification for writing documentation in XML*. Once an XML document containing the data content of the documentation has been created, it can be processed by XSL transforms to produce an output format (pdf, html, chm and more…). This proved particularly useful for a project at work, where I generated a set of output formats from a single XML data source.
Tools, examples and resources after the jump.
The Ophiocordyceps unilateralis fungus infects carpenter ants and then somehow makes the ant move to a leaf at a specific height (out of the ant’s normal habitat). The ant will then clamp on to the underside of the leaf and will then die. The fungus then erupts a long stalk out of the ant’s head. This then sprinkles spores that can infect more ants and the cycle starts again.
Credit to Carl Zimmer and Brian Mallow, who talked about this on episode 89 of Dr Kiki’s Science hour:
In this episode they also talk about the crustacean parasite Cymothoa exigua, which replaces a fishes tongue. Read about this and other disgusting parasites here:
One last interesting fact: The human body carries around 10 times more bacteria cells than our own body cells. However, the bacteria cells are much smaller than our own cells. Without these bacteria, we would be in big trouble.
The total number of stars in the universe is greater than all the grains of sand on all the beaches on earth.
10,000 grains of sand in a handful of sand, which is roughly the same as:
10,000 stars visible in the sky on a clear night.
100,000,000,000 (100 billion) stars in an average galaxy.
100,000,000,000 (100 billion) galaxies in the universe.
These numbers are from Carl Sagan’s Cosmos TV Series. Here’s a clip from it:
I’ve ordered the complete DVD set from Amazon:
Posted in science