AI Poised To Turn The Internet Into Gibberish

Last Thursday two lowly masters grad students, Aaron Gokaslan and Vanya Cohen managed to replicate the secretive OpenAI model and cheekily named their version OpenGPT-2. The code can be downloaded from this Google Colab page and apparently no prior experience in language modeling is required to use it. More useful might be the skills required to persuade Google to part with $50,000 worth of free cloud compute time for the training!

Research firm OpenAI released a new, ever more powerful, version of their GPT language model with 1.5 billion parameters, trained on a data-set of 8 million web pages and although it’s most entertaining use is to produce gibberish, it will inevitably also be able to produce coherent text sometime very soon. For us mere mortals, there’s a cut down version of the model hosted in the cloud and a webpage that we can visit, type in a short phrase to prompt the system, and print out a few paragraphs of fake news. We tried it with the following: “You can use an Arduino to” and the results were:

  • You can use an Arduino to remove your appendix. Use an open or closed loop, but do not use them at the same time, i.e. don’t wire your Arduino to the wall like I did. The Arduino’s are very noisy and can damage the circuit board. Be sure to use a good quality and high-quality resistor to connect them to the wall. You can also use your own antenna if you’d like.

The neural network works by taking the text that has been previously printed and using this to predict the next word sequentially. Because of it’s obscurity, our Arduino example is a pretty severe and rather unfair test on the system whilst in it’s fledgling infant state and, looking at the proper metrics, it actually performs quite well on certain standard industry test sets such as the Children’s Book Test.

Be sure to paste your own fake news into the comments below and we’ll take a vote on the one that’s most entertaining, but please keep it within the boundaries of good taste!

Whilst this is an emerging technology, somebody did get hold of it a while back and applied it to an old teleprinter!

 

Steampunk Radio Looks The Business

Radios are, by and large, not powered by steam. One could make the argument that much of our municipal electricity supply does come via steam turbines, but that might be drawing a long bow. Regardless, steampunk remains a popular and attractive aesthetic, and it’s the one that [Christine] selected for her radio build.

The build cribs from [Christine’s] earlier work on a VFD alarm clock, using similar tubes and driver chips to run the display. FM radio and amplification are courtesy of convenient modules. Tubes are fitted for aesthetic purposes, artfully lit with a smattering of color-changing LEDs. Perhaps the neatest touch is the use of valve handles to control tuning and volume. A stepper motor turns a series of gears, as is mandatory for any true steampunk build, and there’s even an electromagnetic actuator to make the Morse key move. To run it all, a pair of Arduino Megas are charged with handling the I/O needs of all the various systems.

It’s a fancy build that shows how far the rabbit hole you can go when chasing a particular look and feel. It’s a radio that would make a great conversation piece on any hacker’s coffee table.  If that’s not enough, consider going for a whole laptop. Video after the break. Continue reading “Steampunk Radio Looks The Business”

Voice Chess Uses Phone, Arduino, And An Electromagnet

[Diyguypt] may be an altruist to provide the means for people who can’t manipulate chess pieces to play the game. Or he may just have his hands too busy with food and drink to play. Either way, his voice command chessboard appears to work, although it has a lot of moving parts both figuratively and literally. You can check out the video below to see how it works.

The speech part is handled by an Android phone and uses Google’s voice services, so if you don’t want Google listening to your latest opening gambit, you’ll want to pass this one up. The phone uses an app that talks to the Arduino via Bluetooth, which means the Arduino needs a Bluetooth module.

Continue reading “Voice Chess Uses Phone, Arduino, And An Electromagnet”

ReMarkable Tablet Scores A MicroSD Slot

There’s been a marked trend towards modern tablets and phones having fewer expansion options. It’s becoming rarer to find a microSD slot available, which can be particularly frustrating. For [davisr], this simply wouldn’t do, and they set about hacking their ReMarkable tablet.

A rotary tool was used to make a tidy slot for the microSD card.

The ReMarkable already has a set of pads for an SDHC interface on the main board, ready to go. Despite this, both hardware and software modifications are required to get things up and running. [davisr] started by soldering some wires to the main board, feeding them to a microSD socket, which was mounted on the edge of the tablet in a convenient nook. The case was then delicately modified to make a slot for cards to be inserted and removed. With this done, the kernel was then recompiled to enable support for the SDHC interface, and everything was up and running.

With the modification in place, [davisr] now has over 150GB of storage available, which should last for quite some time. Similar hacks are possible on other platforms, too. Even the Pi Zero can mount a second SD card with the right mods!

 

The Gorgeous Hardware We Can’t Take Our Eyes Away From

High resolution digital cameras are built into half of the devices we own (whether we want them or not), so why is it still so hard to find good pictures of all the incredible projects our readers are working on? In the recently concluded Beautiful Hardware Contest, we challenged you to take your project photography to the next level. Rather than being an afterthought, this time the pictures would take center stage. Ranging from creative images of personal projects to new ways of looking at existing pieces of hardware, the 100+ entries we received for this contest proved that there’s more beauty in a hacker’s parts bin than most of them probably realize.

As always, it was a struggle to narrow down all the fantastic entries to just a handful of winners. But without further adieu, let’s take a look at the photos that we think truly blurred the line between workbench and work of art:

Continue reading “The Gorgeous Hardware We Can’t Take Our Eyes Away From”

FiberGrid: An Inexpensive Optical Sensor Framework

When building robots, or indeed other complex mechanical systems, it’s often the case that more and more limit switches, light gates and sensors are amassed as the project evolves. Each addition brings more IO pin usage, cost, potentially new interfacing requirements and accompanying microcontrollers or ADCs. If you don’t have much electronics experience, that’s not ideal. With this in mind, for a Hackaday prize entry [rand3289] is working on FiberGrid, a clever shortcut for interfacing multiple sensors without complex hardware. It doesn’t completely solve the problems above, but it aims to be a cheap, foolproof way to easily add sensors with minimal hardware needed.

The idea is simple: make your sensors from light gates using fiber optics, feed the ends of the plastic fibers into a grid, then film the grid with a camera. After calibrating the software, built with OpenCV, you can “sample” the sensors through a neat abstraction layer. This approach is easier and cheaper than you might think and makes it very easy to add new sensors.

Naturally, it’s not fantastic for sample rates, unless you want to splash out on a fancy high-framerate camera, and even then you likely have to rely on an OS being able to process the frames in time. It’s also not very compact, but fortunately you can connect quite a few sensors to one camera – up to 216 in [rand3289]’s prototype.

There are many novel uses for this kind of setup, for example, rotation sensors made with polarising filters. We’ve even written about optical flex sensors before.

CCCamp: 5,000 Hackers Out Standing In Their Field

What do hackers do on vacation? What do hackers do whenever they have free time? What do you love to do? That’s right. But how much more fun would it be if you could get together with 5,000 other hackers, share your crazy projects and ideas, eat, drink, dance, swim, and camp out all together for five days, naturally with power and Internet? That’s the idea of the Chaos Communication Camp, and it’s a once-in-four-years highlight of hacker life.

Held not too far outside of Berlin, the Camp draws heavily on hackers from Europe and the UK, but American hackers have been part of the scene since almost the beginning. (And Camp played an important role in the new-wave hackerspaces in the US, but that’s another story.) It’s one thing to meet up with the folks in your local hackerspace and work together on a project or brainstorm the next one, but it’s entirely a different thing when you’re drawing on hackers from all over the world. There was certainly more to see and do at Camp than you could in a month, not to mention in only five days, and this could be overwhelming. But if you dig in, the sense of community that came from shared effort and shared interests was the real take-home. And nearly everything at Camp should have its own article on Hackaday.

Continue reading “CCCamp: 5,000 Hackers Out Standing In Their Field”