Upgrade The Graphics On A Sega Game Gear To Mental

[Nino K] built a portable game player for text adventures. He decided he had spent enough time with the ATmega328 kit from NerdKits to build a more advanced project.

To start with, he built a prototype PCB and tested out the concept. It worked so he began on the real thing. He tore out the guts from a broken Game Gear, saving some parts like those responsible for supplying power. Impressively, he etched his own replacement boards for the Game Gear’s control pads; surprising himself at how simple it ended up being. He fit a 16×4 LCD into the space previously occupied by the Game Gear’s screen.

The program itself is a simple text adventure of his own creation. He even added little 8-bit sprites. The story is classic, a princess has gotten herself in some trouble and a brave hero has been coerced into saving her. Last, he added some music and sound effects from Zelda with a piezo buzzer.

This project is guaranteed to disappoint a visiting younger cousin or relative, but we like to think of that as a feature and not a bug. Great work!

FAA Reauthorization Bill Includes Provisions For Hobbyists

Every year, Congress passes bills directing the funding for various departments and agencies. Sometimes, this goes swimmingly: congress recently told NASA to attempt a landing on Europa, Jupiter’s ice-covered moon. Sometimes, it doesn’t go as well. The draft of the FAA Reauthorization act of 2016 (PDF) includes provisions for drones and model airplanes amid fears of privacy-encroaching quadcopters.

As would be expected, the 2016 FAA Reauthorization act includes a number of provisions for unmanned aerial systems, a class of aircraft that ranges from a Phantom quadcopter to a Predator drone. The draft of the act includes provisions for manufacturers to prevent tampering of modification of their product, and provide the FAA with a statement of compliance, and prohibit these devices from being sold unless these conditions are met.

For a very long time, the Congress and the FAA have had special rules for model aircraft. Since 2012, the special rules for model aircraft have been simple enough: model aircraft are flown for hobby or recreational use, must operate in accordance with community-set safety guidelines, weigh less than 55 pounds, give way to manned aircraft, and not be flown within five miles of an airport. The 2016 FAA Reauthorization bill adds several updates. No model aircraft may be flown higher than 400 feet above ground level, and the operator of a model aircraft must pass a knowledge and safety test administered by the FAA. Under this draft of the FAA Reauthorization bill, you will have to pass a test to fly a quadcopter or model plane.

While this is only a draft of the 2016 FAA Reauthorization bill, there is a considerable risk flying model planes could quickly go the way of amateur radio with a Morse requirement for the license. This, of course, is due to Congress’ fears of the impact drones and model airplanes could have on safety, despite recent studies that show a 2kg drone is likely to cause injury to a human passenger once every 187 million years of operation. In other words, politicians don’t understand statistics.

Prime Numbers Are Stranger Than You Thought

If you’ve spent any time around prime numbers, you know they’re a pretty odd bunch. (Get it?) But it turns out that they’re even stranger than we knew — until recently. According to this very readable writeup of brand-new research by [Kannan Soundararajan] and [Robert Lemkein], the final digits of prime numbers repel each other.

More straightforwardly stated, if you pick any given prime number, the last digit of the next-largest prime number is disproportionately unlikely to match the final digit of your prime. Even stranger, they seem to have preferences. For instance, if your prime ends in 3, it’s more likely that the next prime will end in 9 than in 1 or 7. Whoah!

Even spookier? The finding holds up in many different bases. It was actually first noticed in base-three. The original paper is up on Arxiv, so go check it out.

This is a brand-new finding that’s been hiding under people’s noses essentially forever. The going assumption was that primes were distributed essentially randomly, and now we have empirical evidence that it’s not true. What this means for cryptology or mathematics? Nobody knows, yet. Anyone up for wild speculation? That’s what the comments section is for.

(Headline photo of researchers Kannan Soundararajan and Robert Lemke: Waheeda Khalfan)

Solder At Room Temperature

Have you ever seen the science experiment (or magic trick?) where you get water supercooled to where it isn’t frozen, but then it freezes when you touch it, pour it, or otherwise disturb it? Apparently, ice crystals form around impurities or disturbances in the liquid and then “spread.” A similar effect can occur in metals where the molten metal cools in such a way that it stays melted even below the temperature that would usually cause it to melt.

[Martin Thuo] at Iowa University used this property to make solder joints at room temperature using Field’s metal (a combination of bismuth, indium, and tin). The key is a process that coats the molten metal with several nanolayers that protect it from solidifying until something disturbs the protective layer.

Continue reading “Solder At Room Temperature” →

Ask Hackaday: Google Beat Go; Bellwether Or Hype?

We wake up this morning to the news that Google’s deep-search neural network project called AlphaGo has beaten the second ranked world Go master (who happens to be a human being). This is the first of five matches between the two adversaries that will play out this week.

On one hand, this is a sign of maturing technology. It has been almost twenty years since Deep Blue beat Gary Kasparov, the reigning chess world champion at the time. Although there are still four games to play against Lee Sedol, it was recently reported that AlphaGo beat European Go champion Fan Hui in five games straight. Go is generally considered a more difficult game for machine minds to play than chess. This is because Go has a much larger pool of possible moves at any given time.

Does This Matter?

Okay, the news part of this event has been covered: machine beats man. Does it matter? Will this affect your life and how? We want to hear what you think in the comments below. But I’m going to keep going with some of my thoughts on the topic.

You're still better at Ms. Pacman [Source: DeepMind paper in Nature]
You’re still better at Ms. Pacman [Source: DeepMind paper in Nature]
Let’s look first at what AlphaGo did to win. At its core, the game of Go is won by figuring out where your opponent will likely make a low-percentage move and then capitalizing on that choice. Know Your Enemy has been a tenet of strategy for a few millennia now and it holds true in the digital age. In addition to the rules of the game, AlphaGo was fed a healthy diet of 30 million positions from expert games. This builds behavior recognition into the system. Not just what moves can be made, but what moves are most likely to be made.

DeepMind, the company behind AlphaGo which was acquired by Google in 2014, has published a paper in Nature about their approach. They were even nice enough to let us read without dealing with a paywall. The secret sauce is the learning process which at its core tries to mimic how living entities learn: observe repetitively while assigning values to outcomes. This is key as it leads past “intellect”, to “intelligence” (the “I” in AI that everyone seems to be waiting for). But this is a bastardized version of “intelligence”. AlphaGo is able to recognize and predict behavior, then make choices that lead to a desired outcome. This is more than intellect as it does value the purpose of an opponent’s decisions. But it falls short of intelligence as AlphaGo doesn’t consciously understand the purpose it has detected. In my mind this is exactly what we need. Truly successful machine learning will be able to make sense out of sometimes irrational input.

The paper from Nature doesn’t go into details about Go, but it explains the approach of the learning system applied to Atari 2600. The algorithm was given 210×160 color video at 60Hz as an input and then told it could use a joystick with one button. From there it taught itself to play 49 games. It was not told the purpose or the rules of the games, but it was given examples of scores from human performance and rewarded for its own quality performances. The chart above shows that it learned to play 29 of them at or above human skill levels.

Continue reading “Ask Hackaday: Google Beat Go; Bellwether Or Hype?” →

Philip Friedin Takes Us On A Deep Dive Into His OSHChip

Once a month, Bay-area hackers and engineers-by-night gather in the grand office of our evil overlords (Supplyframe) and take us on an adventure in hardware. This past month, [Philip Friedin] gave us the hands-on tour of the OSHChip, a project we’ve seen floating around our pages for the last year. OSHChip might look like another open source development board, but the DIP package and all the packaged features are telltale signs that OSHChip is the offspring of a seasoned double-E. Scroll down to watch his presentation in full.

Continue reading “Philip Friedin Takes Us On A Deep Dive Into His OSHChip” →

Reviving The Best Keyboard Ever

For the last few decades, the computer keyboard has been seen as just another peripheral. There’s no need to buy a quality keyboard, conventional wisdom goes, because there’s no real difference between the fancy, ‘enthusiast’ keyboards and ubiquitous Dell keyboards that inhabit the IT closets of offices the world over.

Just like the mechanic who will only buy a specific brand of wrenches, the engineer who has a favorite pair of tweezers, or the amateur woodworker who uses a hand plane made 150 years ago, some people who use keyboards eight or twelve hours a day have realized the older tools of the trade are better. Old keyboards, or at least ones with mechanical switches, aren’t gummy, they’re precise, you don’t have to hammer on them to type, and they’re more ergonomic. They sound better. Even if it’s just a placebo effect, it doesn’t matter: there’s an effect.

This realization has led to the proliferation of high-end keyboards and keyboard aficionados hammering away on boards loaded up with Cherry MX, Alps, Gateron, Topre, and other purely ‘mechanical’ key switches. Today, there are more options available to typing enthusiasts than ever before, even though some holdouts are still pecking away at the keyboard that came with the same computer they bought in 1989.

The market is growing, popularity is up, and with that comes a herculean effort to revive what could be considered the greatest keyboard of all time. This is the revival of the IBM 4704 terminal keyboard. Originally sold to banks and other institutions, this 62-key IBM Model F keyboard is rare and coveted. Obtaining one today means finding one behind a shelf in an IT closet, or bidding $500 on an eBay auction and hoping for the best.

Now, this keyboard is coming back from the dead, and unlike the IBM Model M that has been manufactured continuously for 30 years, the 62-key IBM Model F ‘Kishsaver’ keyboard is being brought back to life by building new molds, designing new circuit boards, and remanufacturing everything IBM did in the late 1970s.
Continue reading “Reviving The Best Keyboard Ever” →