Laptop Broken? Get A Bigger Hammer

The weakest point in a laptop case may be the screen hinges, especially in heavily used machines. The mechanical stresses involved with opening a laptop can often break the thin plastic screw bosses and cause the threaded insert to pop out. What do you do? Get a hammer and some tacks of course!

[mightysinetheta]’s solution involves popping the bezel off the offending screen, then aligning the hinges in preparation for drilling holes though the computer’s plastic lid. Then he placed some short tacks though the holes and the hinges. Pressing the hinge down into the lid to ensure a tight fit, the hammer comes out to peen over the tip of the nail. Course that can be time consuming so just bending the tack over and flattening it down with the hammer works just as well.

With the hinge secured back into place his trusty laptop is back in service. The new additions on the back of the lid add a bit of a custom look that is purely functional.

While you’re in there… might want to replace that charging port that’s been wiggling mysteriously.

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-FERMIAC
[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.

Exponential Growth In Linear Time: The End Of Moore’s Law

Moore’s Law states the number of transistors on an integrated circuit will double about every two years. This law, coined by Intel and Fairchild founder [Gordon Moore] has been a truism since it’s introduction in 1965. Since the introduction of the Intel 4004 in 1971, to the Pentiums of 1993, and the Skylake processors introduced last month, the law has mostly held true.

The law, however, promises exponential growth in linear time. This is a promise that is ultimately unsustainable. This is not an article that considers the future roadblocks that will end [Moore]’s observation, but an article that says the expectations of Moore’s Law have already ended. It ended quietly, sometime around 2005, and we will never again see the time when transistor density, or faster processors, more capable graphics cards, and higher density memories will double in capability biannually.

Continue reading “Exponential Growth In Linear Time: The End Of Moore’s Law”

You Can’t Call It A Battlestation Without This Overhead Control Panel

Modern computers are rubbish. Why, they barely have a switch or a blinky light on them. What’s the point in having a computer if you don’t have the thrill of throwing a switch or eight and watching lights blink in response? [Smashcuts] obviously agrees because he built a control panel filled with heavy-duty switches and blinking wonderfulness to augment his battlestation. This piece of mechanical wonderment has buttons for useful features such as typing several levels of derisive laughter in chat windows, playing odd sound effects and a large red panic button that… well, I won’t spoil the surprise. The whole thing is hand-wired and fronted with laser-cut panels that make it look really authentic. [smashcuts] built it “because it didn’t exist and I felt like it needed to”, which is a perfect justification for this piece of industrial scale awesomeness.

It does have some more practical uses, though: he has set several of the switches to trigger actions in Photoshop and other programs, so this could be easily adapted for those who have the odd belief that things need a practical use to exist. He used USB controllers from Desktop Aviator, and a Mac program called Controller Mate to set up the sequencing for the blinkies. Unfortunately, [smashcuts] didn’t produce a how-to guide for this panel, claiming that “I don’t really have blueprints or schematics. I REALLY didn’t know what I was doing, so all the notes I do have wouldn’t make sense to anyone. It’d be like reading an owners manual to a car written by a caveman”. Either way, it is an impressive build, and you can find more details from the creator on this reddit thread.

The Machine That Japed: Microsoft’s Humor-Emulating AI

Ten years ago, highbrow culture magazine The New Yorker started a contest. Each week, a cartoon with no caption is published in the back of the magazine. Readers are encouraged to submit an apt and hilarious caption that captures the magazine’s infamous wit. Editors select the top three entries to vie for reader votes and the prestige of having captioned a New Yorker cartoon.

The magazine receives about 5,000 submissions each week, which are scrutinized by cartoon editor [Bob Mankoff] and a parade of assistants that burn out after a year or two. But soon, [Mankoff]’s assistants may have their own assistant thanks to Microsoft researcher [Dafna Shahaf].

[Dafna Shahaf] heard [Mankoff] give a speech about the New Yorker cartoon archive a year or so ago, and it got her thinking about the possibilities of the vast collection with regard to artificial intelligence. The intricate nuances of humor and wordplay have long presented a special challenge to creators. [Shahaf] wondered, could computers begin to learn what makes a caption funny, given a big enough canon?

[Shahaf] threw ninety years worth of wry, one-panel humor at the system. Given this knowledge base, she trained it to choose funny captions for cartoons based on the jokes of similar cartoons. But in order to help [Mankoff] and his assistants choose among the entries, the AI must be able to rank the comedic value of jokes. And since computer vision software is made to decipher photos and not drawings, [Shahaf] and her team faced another task: assigning keywords to each cartoon. The team described each one in terms of its contextual anchors and subsequently its situational anomalies. For example, in the image above, the context keywords could be car dealership, car, customer, and salesman. Anomalies might include claws, fangs, and zoomorphic automobile.

The result is about the best that could be hoped for, if one was being realistic. All of the cartoon editors’ chosen winners showed up among the AI’s top 55.8%, which means the AI could ultimately help [Mankoff and Co.] weed out just under half of the truly bad entries. While [Mankoff] sees the study’s results as a positive thing, he’ll continue to hire assistants for the foreseeable future.

Humor-enabled AI may still be in its infancy, but the implications of the advancement are already great. To give personal assistants like Siri and Cortana a funny bone is to make them that much more human. But is that necessarily a good thing?

[via /.]

Commodore C16 Resurrection With A Raspberry Pi

[lactobacillusprime] had a non-working Commodore C16 and too many Raspberry Pi computers, so he decided to bring the C16 back to life by emulating it on the Pi. At the heart of the project is the Pi, along with a small board that converts the old style Commodore keyboards (and joysticks) to a USB port.

Once you have the keyboard as a USB port, the rest of the project is more or less mechanics and software. [lactobacillusprime] did a nice job of getting everything in the new case, along with all the I/O wires routed through the existing ports. For software, Emulation Station does the job of launching the Commodore emulation on the Pi.

Of course, there’s no reason to limit yourself to just the Commodore emulator. Emulation Station along with the right back end emulators will allow this machine to play games that no real Commodore C16 could.

Of course, we were happiest to see him boot up Commodore 64 BASIC. Perhaps we should complete all those half finished C64 BASIC projects we started back in the 1980’s. In general, we hate to see old computers gutted instead of repaired, but at least this one will continue running its software. If you are upset about seeing a machine gutted,  you can always switch over to our previous coverage of putting Commodore guts in a new box.

Continue reading “Commodore C16 Resurrection With A Raspberry Pi”

No Windows Drivers? Boot Up A Linux VM!

[Voltagex] was fed up with BSODs on his Windows machine due to a buggy PL2303 USB/serial device driver. The Linux PL2303 driver worked just fine, though. A weakling would simply reboot into Linux. Instead, [Voltagex] went for the obvious workaround: create a tiny Linux distro in a virtual machine, route the USB device over to the VM where the drivers work, and then Netcat the result back to Windows.

OK, not really obvious, but a cool hack. Using Buildroot, a Linux system cross-compilation tool, he got the size of the VM down to a 32Mb memory footprint which runs comfortably on even a small laptop. And everything you need to replicate the VM is posted up on Github.

Is this a ridiculous workaround? Yes indeed. But when you’ve got a string of tools like that, or you just want an excuse to learn them, why not? And who can pass up a novel use for Netcat?