Wednesday, August 31, 2005

The End Of The Jungle Book Too?

From the BBC's Apes 'extinct in a generation':

...

"All of the great apes are listed as either endangered or critically endangered," co-author [of 'The World Atlas of Great Apes and their Conservation'] Lera Miles from the World Conservation Monitoring Centre near Cambridge told the BBC News website.

...

"The great apes are our kin," [UN Secretary-General Kofi Annan] writes. "Like us, they are self-aware and have cultures, tools, politics, and medicines; they can learn to use sign language, and have conversations with people and with each other.

"Sadly, however, we have not treated them with the respect they deserve."

...

Friday, August 26, 2005

The End Of The Life Aquatic?

The Washington Post reports that a Wave of Marine Species Extinctions Feared. It's worth reading the whole article, but in case you are lazy, here some "soundbites":

...For years, many scientists and regulators believed the oceans were so vast there was little risk of marine species dying out. Now, some suspect the world is on the cusp of what Ellen K. Pikitch, executive director of the Pew Institute for Ocean Science, calls "a gathering wave of ocean extinctions." Dozens of biologists believe the seas have reached a tipping point, with scores of species of ocean-dwelling fish, birds and mammals edging toward extinction. In the past 300 years, researchers have documented the global extinction of just 21 marine species -- and 16 have occurred since 1972.

...

"It's been a slow-motion disaster," said Boris Worm, a professor at Canada's Dalhousie University, whose 2003 study that found that 90 percent of the top predator fish have vanished from the oceans. "It's silent and invisible. People don't imagine this. It hasn't captured our imagination, like the rain forest."

...

In some cases, fishermen have intentionally exploited species until they died out, such as the New Zealand grayling fish and the Caribbean monk seal; other species have been accidental victims of long lines or nets intended for other catches. Over the past two decades, accidental bycatch alone accounted for an 89 percent decline in hammerhead sharks in the Northeast Atlantic.

...

...Despite the sturgeon's fecundity, overfishing and habitat destruction have caused that population to dive as well. Beluga sturgeon, the source of black caviar, release 360,000 to 7 million eggs in a year, Pikitch noted, but [their population has] declined 90 percent in the past 20 years. Just this month, scientists in Kazakhstan reported that they failed to find a single wild, reproducing beluga female, leaving them with no eggs for hatcheries.

...

Thursday, August 11, 2005

Leafs

I'm glad that the hockey lockout is over. Until now, the Leafs haven't been up to very much though. Today they signed Eric Lindos. It will be interesting to see if he can still play, or if he's Humpty Dumpty.

Friday, August 05, 2005

Olympic National Park

I'm terribly slow, but I've finally put up some photos from my camping trip to the Olympic National Park.

Second Beach

gvimdiff

Gvimdiff is a feature of gvim which shows the differences between two files. The value it adds to diff is that rather than tell you that given lines are different in two files, it shows both files side-by-side and highlights and colours the precise difference.

For example, if you have:

File 1:
Hello There
Testing, Testing, 1, 2, 3
X Y Z

File 2:
Hello World
Testing, Testing, 1, 2, 3
X Y Z
A B C

then the first line in each file is shown in pink (to indicate that the lines differ) while the substrings "There" and "World" will be highlighted in red (to indicate the exact difference between those lines). The line "A B C" will be highlighted in blue (to indicate that it appears in only one of files) while the remaining lines will not be highlighted (to indicate that they appear the same in both files).

However, gvimdiff does not run properly on Windows; you get the error message "Cannot create diffs". To fix this problem, you need to install the diff program and its location must be part of the environment variable $PATH. Windows does not come with diff. (It is a UNIX utility). You can obtain a copy by installing GnuWin32 DiffUtils. Then navigate to Control Panel -> System -> Advanced and click on the button "Environment Variables" and append a semi-colon (";") plus the installation location of diff.exe (default of "C:\Program Files\GnuWin32\bin") to the Path entry. Afterward, you should be able to run gvim and successfully use the "Split diff with..." option under the "File" menu to use gvimdiff.