Anvil Firing: Awesome or Reckless?

The English language needs a word for “awesome and dangerous simultaneously”.

We recently ran into the strange pastime of anvil shooting on YouTube (where else?). The idea is that you pack about a pound (!) of black powder between two anvils and light it up. The powder explodes, and the top anvil gets shot into the air. Hilarity ensues, if everyone’s far enough away and wearing hearing protection.

Continue reading “Anvil Firing: Awesome or Reckless?”

The USB Killer, Version 2.0

There are a lot of stupid things you can do with the ports on your computer. The best example is the Etherkiller, an RJ45 plug wired directly to a mains cable. Do not plug that into a router. USB is a little trickier, but with a sufficient number of caps, anyone can build a USB killer that will fry any computer (.ru, Google Translatrix)

The USB Killer v2.0 is [Dark Purple]’s second version of this device. The first version was just a small board with a DC/DC converter, a few caps, and a FET. When plugged in to a computer, the converter would charge the caps up to -110V, dump that voltage into the USB signal wires, and repeat the entire process until the computer died. This second version is slightly more refined, and it now dumps -220V directly onto the USB signal wires. Don’t try this at home.

So, does the device work? Most definitely. A poor Thinkpad X60 was destroyed with the USB killer for purposes of demonstration in the video below. This laptop was originally purchased just for the test, but the monster who created the USB killer grew attached to this neat little laptop. There’s a new motherboard on the way, and this laptop will live again.

Continue reading “The USB Killer, Version 2.0”

Raspberry Pi Sentry Turret Is The Enemy Of All Mankind

War, huh, what is it good for? Absolutely nothing, except as an excuse to build a Raspberry Pi powered sentry turret that will track and fire upon your enemies. That’s what [Matt Desmaris] decided to do, and he has released the full details of his build.

It lacks the polished elegance of most military hardware, but what do you expect of a quick and dirty hack? It’s not shiny or ominous, but it has that killer motion-tracking feature. [Matt] is using OpenCV to detect movement from a USB webcam, two servos to pan and tilt the camera and gun and a small relay to pull the trigger. Manual control over the Interwebs is also available.

We’ve seen lots of similar builds using weaponry such as rubber bands and Nerf guns, but this one is a great start if you are interested in seeing how you can tie together tools like OpenCV and servos to create a camera that actively tracks movement.

Hacking when it Counts: GI Ingenuity

For most of us, hacking is a hobby, a pleasant diversion from reality. Yes, a lot of us work on projects which have the potential to change the world – witness the 2015 Hackaday Prize semifinalist list. But in general, almost any of us could walk away from the shop at any time without dire consequences. Indeed, that’s the reason a lot of our work benches are littered with projects started with the best of intentions but left unfinished for lack of funds, lack of interest, or lack of time. We’re free to more or less willingly shelve a project and come back to it whenever we please, or not at all.

But not everyone has that luxury. For some people, hacking is much more than a hobby – it’s a means of survival. Sometimes people are thrown into situations where they have to cobble together a solution to an immediate problem with whatever is at hand, when the penalty for failure is much higher than a cluttered bench and a bruised ego. I’ve already covered one such case, where biohacked insulin saved hundreds of lives in occupied Shanghai in WWII.

In this occasional series I’ll explore historical cases where hacking really counted; cases where lives were saved or improved by a hack performed under desperate conditions.

A Bustle in the Hedgerow

Unsurprisingly, war offers a lot of opportunities for field expedient solutions under dire circumstances, and battlefield conditions might be the most extreme example of hacking when it counts.

In the early days of the Invasion of Normandy during WWII, Allied forces were having a difficult time dealing with the bocage terrain of northern France. A mixture of pasture and woodland, the Normandy bocage was a natural killing field for Allied tanks because the woodlands took the form of hedgerows – earthen dikes topped with thick tangles of brush. Hedgerows separated pastures and kept livestock controlled, but also made things tough on infantry and mechanized cavalry alike. Climbing the steep hedgerows exposed the vulnerable bottom hull of the tanks to enemy fire, and waiting for engineers to demolish the hedgerows with explosive made them sitting ducks for German artillery. The Allied advance was seriously hampered by the hedgerows, and both men and materiel were being winnowed down from fixed German positions chosen specifically to take advantage of the bocage terrain.

curtis cullin
Sgt. Curtis G. Culin (source: Cranford (NJ) Patch)

Enter Sgt. Curtis Grubb Culin III. Sgt. Culin, a tanker himself, was acutely aware of how vulnerable he was in his Sherman M4. The hedgerows were the problem, one apparently known to Allied command prior to the invasion for which no provision had been made. In the tradition of soldiers at the front of every battle throughout history, Sgt. Culin and his fellow tankers had to improvise a solution.

While kicking around ideas, one of the men suggested setting saw teeth on the front of a tank to cut through the hedgerows. He later attributed the comment to “A Tennessee hillbilly named Roberts”, and it was met with general laughter from the group as a crackpot scheme. But Sgt. Culin saw the potential in the idea, and began to develop it into a prototype.

Rhino-equipped tank (source: Wikipedia)

Raw materials for his prototype were not hard to come by. Czech hedgehogs, giant anti-tank barriers made of crossed steel beams, still littered the Normandy beaches. The failed German defenses were harvested with a cutting torch and welded to the underside of a tank to form a series of “tusks” across the hull between the tracks. Equipped with these tusks, the tank could now blast through the tangled roots of the brush-covered earth of the hedgerow dykes.

When demonstrated for General Omar Bradley, he was impressed enough to order them built in quantity for the tanks. Eventually the prototype became an engineered product (dubbed the “Culin Rhino Device”) that was fitted to many tanks before being shipped over from England. Rhino-equipped tanks ripped across Normandy and shredded the German battle plan, which assumed the hedgerows would funnel Allied forces through heavily defended chokepoints.

Without Sgt. Culin’s battlefield hack, and his inspiration by a hillbilly named Roberts whom history otherwise forgets, the invasion of Europe might have taken a very different course. The fact that he did the hack while under fire makes it all the more impressive, and is a perfect example of hacking when it counts.

Know of any more examples of hacking when it counts? Send us a tip for use in a future Hacking When it Counts article.

[Main image of Czech Hedgehog by Jesse CC-BY-SA 3.0]

This is What A Real Bomb Looks Like

In 1980, Lake Tahoe, Nevada was a popular tourist spot. The area offered skiing, sailing, hiking in the mountains, and of course, gambling on the Nevada side of the lake. It was in this somewhat unlikely place where the authorities found the largest improvised bomb seen to that date in the USA.

Harvey’s casino was opened by former butcher Harvey Gross in 1944. In less than 20 years it grew to a 192 room, 11 story hotel casino. Thousands of people played Harvey’s slot machines and table games. Some were winners, but most were losers. John Birges was one of the latter. Formerly a successful landscaping company owner worth millions, he lost all of it to his gambling addiction.

Born in Hungary in 1922 as János Birges, John grew up in Budapest. When WWII hit, he flew an Me-109 for the Luftwaffe. He was arrested by the Gestapo for disobeying orders during the war, but was released. After the war, he again found himself in hot water – this time with the Russians. He was arrested in 1948 and charged with espionage. His sentence was 25 years of hard labor in the Gulag. The stories vary, but most agree that Birges was able to escape his work camp by detonating a bomb as a diversion.

In 1957 Birges and his wife Elizabeth immigrated to California. He changed his name from János to John to fit in. The couple had two sons, Johnny and Jimmy. John built up a successful landscaping business and bought a restaurant, working his way into the millionaires’ club. From the outside, they were the perfect example of the American dream.

Appearances can be deceiving. Behind closed doors, Birges was a right bastard to his family. He beat his wife and his children, even forcing them to kneel on gravel when they disobeyed him. Eventually, Johnny left home to escape his father’s fists. Elizabeth filed for divorce, and was later found dead under mysterious circumstances. Birges began gambling heavily, especially at Harvey’s Wagon Wheel casino in Lake Tahoe. He eventually burned through his personal savings, as well as the income from his businesses. The once millionaire was now penniless, but he had a plan. Just as a bomb had helped him escape the Gulag, he’d use a bomb to extort his money back from Harvey’s.

Continue reading “This is What A Real Bomb Looks Like”

FERMIAC: The Computer that Advanced Beyond the Manhattan Project

One of the keys to nuclear fission is sustaining a chain reaction. A slow chain reaction can provide clean power for a city, and a fast one can be used to create a weapon that will obliterate a city. These days, kids can learn about Uranium and Plutonium in high school. But just a few generations ago, the idea of splitting the atom was just a lofty goal for the brightest physicists and mathematicians who gathered at Los Alamos National Laboratory under the Manhattan Project.

Decoding the mysteries of nuclear fission required a great deal of experimentation and calculations. One bright physicist in particular made great strides on both fronts. That man was [Enrico Fermi], one of the fathers of the atomic bomb. Perhaps his greatest contribution to moving the research beyond the Manhattan Project was creating a handheld analog computer to do the math for him. This computational marvel is known as the FERMIAC.

What is Fission?

Nuclear fission occurs when a nucleus is split into fragments, a process that unleashes a great deal of energy.  As a handful of neutrons travel through a reactor pile or other fissionable material, a couple of outcomes are possible. Any one neutron collision might result in fission. This means there will be some number of new neutrons whose paths must be tracked. If fission does not occur, the neutrons may simply scatter about upon collision, which changes their speed and trajectory. Some of the neutrons might be absorbed by the material, and others will simply escape it. All of these possibilities depend on the makeup of the material being bombarded and the speed of the neutron.

Fission Diagram by Michalsmid

Every event that happens to a neutron comprises its genealogical history. If this history is recorded and analyzed, a statistical picture starts to emerge that provides an accurate depiction of the fissility of a given material. [Fermi]’s computer facilitated the creation of such a picture by performing mathematical grunt work of testing different materials. It identified which materials were most likely to sustain a reaction.

Before he left Italy and the looming threat of fascism, [Fermi] led a group of young scientists in Rome called the Via Panisperna boys. This group, which included future Los Alamos physicist [Emilio Segrè], ran many experiments in neutron transport. Their research proved that slow neutrons are much better candidates for fission than fast neutrons.

During these experiments, [Fermi] ran through the periodic table, determined to artificially irradiate every element until he got lucky. He never published anything regarding his methods for calculating the outcomes of neutron collisions. But when he got to Los Alamos, [Fermi] found that [Stanislaw Ulam] had also concluded that the same type of repeated random sampling was the key to building an atomic weapon.

The Monte Carlo Method: Shall We Play a Game?

Monte Carlo method applied to approximating the value of π. by CaitlinJo

[Ulam], a Polish-born mathematician who came to the US in 1935, developed his opinion about random sampling due to an illness. While recuperating from encephalitis he played game after game of solitaire. One day, he wondered at the probability of winning any one hand as laid out and how best to calculate this probability. He believed that if he ran through enough games and kept track of the wins, the data would form a suitable and representative sample for modeling his chances of winning. Almost immediately, [Ulam] began to mentally apply this method to problems in physics, and proposed his ideas (PDF) to physicist and fellow mathematician [John von Neumann].

This top-secret method needed a code name. Another Los Alamos player, [Nick Metropolis] suggested ‘Monte Carlo’ in a nod to games of chance. He knew that [Ulam] had an uncle with a propensity for gambling who would often borrow money from relatives, saying that he just had to go to Monte Carlo. The game was on.

The Tricky Math of Fission

Determination of the elements most suitable for fission required a lot of calculations. Fission itself had already been achieved before the start of the Manhattan Project. But the goal at Los Alamos was a controlled, high-energy type of fission suitable for weaponization. The math of fission is complicated largely because of the sheer number of neutrons that must be tracked in order to determine the likelihood and speed of a chain reaction. There are so many variables involved that the task is monumental for a human mathematician.

[Stanislaw Ulam] and FERMIAC.

After [Ulam] and [von Neumann] had verified the legitimacy of the Monte Carlo method with regard to the creation of nuclear weaponry, they decided that these types of calculations would be a great job for ENIAC — a very early general purpose computer. This was a more intensive task than the one it was made to do: compute artillery firing tables all day and night. One problem was that the huge, lumbering machine was scheduled to be moved from Philadelphia to the Ballistics Research Lab in Maryland, which meant a long period of downtime.

While the boys at Los Alamos waited for ENIAC to be operational again, [Enrico Fermi] developed the idea forego ENIAC and create a small device that could run Monte Carlo simulations instead. He enlisted his colleague [Percy King] to build the machine. Their creation was built from joint Army-Navy cast off components, and in a nod to that great computer he dubbed it FERMIAC.

FERMIAC: Hacking Probabilities

FERMIAC was created to alleviate the necessity of tedious calculations required by the study of neutron transport. This is something of an end-run around brute force. It’s made mostly of brass and resembles a trolley car. In order to use it, several adjustable drums are set using pseudorandom numbers. One of these numbers represents the material being traversed. A random choice is made between fast and slow neutrons. A second digit is chosen to represent the direction of neutron travel, and a third number indicates the distance traveled to the next collision.

FERMIAC in use
FERMIAC in action.

Once these settings are dialed in, the device is physically driven across a 2-D scale drawing of the nuclear reactor or materials being tested. As it goes along, it plots the paths of neutrons through various materials by marking a line on the drawing. Whenever a material boundary is crossed, the appropriate drum is adjusted to represent a new pseudorandom digit.

FERMIAC was only used for about two years before it was completely supplanted by ENIAC. But it was an excellent stopgap that allowed the Manhattan Project to not only continue unabated, but with rapid progress. FERMIAC is currently on display at the Bradbury Science Museum in Los Alamos, New Mexico alongside replicas of Fat Man and Little Boy, the weapons it helped bring to fruition. [Fermi]’s legacy is cemented as one of the fathers of the atomic bomb. But creating FERMIAC cements his legacy as a hacker, too.

After Los Alamos, [Stanislaw Ulam] would continue to make history in the field of nuclear physics. [Enrico Fermi] was opposed to participating in the creation of the exponentially more powerful hydrogen bomb, but [Ulam] accepted the challenge. He proved that Manhattan Project leader [Edward Teller]’s original design was unfeasible. The two men worked together and by 1951 had designed the Teller-Ulam method. This design became the basis for modern thermonuclear weaponry.

Today, the Monte Carlo method is used across many fields to describe systems through randomness and statistics. Many applications for this type of statistical modeling present themselves in fields where probabilities are concerned, like finance, risk assessment, and modeling the universe. Wherever the calculation of all possibilities isn’t feasible, the Monte Carlo method can usually be found.

[Main Image Source: FERMIAC machine by Mark Pellegrini]

UPDATE: Commentor [lwatchdr] pointed out that the use of the FERMIAC began after the Manhattan Project had officially ended in 1946. Although many of the same people were involved, this analog computer wasn’t put into use until about a year later.

CubeSat Challenge Winners Show Interesting Design Approaches

The winners are in for the GrabCad CubeSat Challenge, which asked designers to rethink the way that CubeSats are built. These tiny 10 cm square satellites are the hot thing in orbit, and the competition was looking for new ways to build and pack more into this tiny space. The winners offered some fascinating new approaches to building CubeSats, and some excellent design lessons that anyone can use.

The winner was FoldSat, by [Paolo Minetola]. His excellent design is a 3D printed folding case for a satellite that is built from just two 3D printed parts. The case can be snapped together and offers multiple ways to mount electronic components and sensors inside. [Paolo] estimates that it could save 40% time and 30% materials from existing CubeSat casings, which means more space inside and more time to build. It is an excellent example of how 3D printing can make things cheaper, easier and better, all at the same time.

Continue reading “CubeSat Challenge Winners Show Interesting Design Approaches”