Binary file download in C# .Net with speed limiter

Downloading files over HTTP is easy in C#/.Net – in fact, it’s as easy as writing a single line of code:

new WebClient().DownloadFile("http://your.url", "saveAs_Filename.jpg");

However, there’s no .Net library function that allows you to limit the download speed. Here’s how you can write your own.

What you’ll need is at its core a simple TCP client. It will connect to a HTTP server, send a GET command, then receive the reply packets from the server until the server stops sending. This allows us to add speed measurement and speed limiting.
Continue reading Continue reading


Female Chimps Seen Making, Wielding Spears

The chimps spent time making the deadliest, most effective spears. Spear in hand, the chimps would sneak up on bushbabies — small, big-eyed primates — and stab them to death. Bushbabies, which are nocturnal and are also called “galagos,” spend much of their days snoozing in tree cavities. They can become an easy filling meal for a spear-wielding chimp.

The Fongoli chimps are the only known non-human primates that systematically hunt large prey with weapons, so the site itself is of interest to the researchers. It is a savanna with a dry season that lasts over seven months. Early humans might have faced comparable conditions that led to greater reliance on meat consumption and efficient hunting methods.


Discovery News: Female Chimps Seen Making, Wielding Spears


A spy satellite’s rise … and faked fall

NBCNews/Space: A spy satellite’s rise … and faked fall

Code-named “Misty,” the CIA-designed satellite was first launched in 1990, before the Persian Gulf War, and may have been replenished since.

A history of the CIA’s top-secret Directorate of Science and Technology, notes that the United States may have tried to hide the successful first launch of Misty by making it seem that the satellite had exploded before reaching its final orbit. Richelson says the ruse fooled the American media — and, more importantly, the Soviet Union.

The only people who successfully kept track of the flight were civilian space observers in England and Canada who watched a series of maneuvers performed by the satellite, including the “explosion”.