Understanding AI Chat Bots With Stanford Online

The news is full of speculation about chatbots like GPT-3, and even if you don’t care, you are probably the kind of person that people will ask about it. The problem is, the popular press has no idea what’s going on with these things. They aren’t sentient or alive, despite some claims to the contrary. So where do you go to learn what’s really going on? How about Stanford? Professor [Christopher Potts] knows a lot about how these things work and he shares some of it in a recent video you can watch below.

One of the interesting things is that he shows some questions that one chatbot will answer reasonably and another one will not. As a demo or a gimmick, that’s not a problem. But if you are using it as, say, your search engine, getting the wrong answer won’t amuse you. Sure, you can do a conventional search and find wrong things, but it will be embedded in a lot of context that might help you decide it is wrong and, hopefully, some other things that are not wrong. You have to decide.
Continue reading “Understanding AI Chat Bots With Stanford Online”

Simple Wood-Fired Water Heater Is Surprisingly Effective

These days, humans have gotten all fancy-schmancy with their gas and electric water heaters. Heck, some are even using heat pumps to do the work as efficiently as possible. [HowToLou] got back to basics instead, with his simple wood-fired water heater design.

The design is straightforward, featuring 100ft of quarter-inch copper tubing wrapped directly around a steel barrel. Room-temperature water is fed into the tubing via a garden hose, and comes out much hotter, thanks to a fire burning away in the barrel stove of [Lou’s] own construction.

For an input water temperature of 41 F, the output reaches 105 F at a flow rate of 0.67 gallons per minute. By [Lou]’s calculations, that’s a heat transfer to the water of roughly 21,000 BTU per hour. [Lou] achieved this with just $55 worth of copper tubing, and he notes that simply doubling up the tubing would increase the heat transfer to the water even further.

If you’re looking for a hot shower from your outdoor wood stove, a build like this might be just the ticket. With the stove burning hot and your hose as a water supply, you could experience the joy of the hot water while you’re standing in the snow outside. We’ve seen [Lou]’s work before, too. Video after the break.

Continue reading “Simple Wood-Fired Water Heater Is Surprisingly Effective”

Building A Plasma Piano Ain’t Easy

Electronic arcs can be made to “sing” if you simply modulate them on and off at audible frequencies. We’ve seen it done with single Tesla coils, and even small Tesla choirs, but [Mattias Krantz] took this to extremes by building an entire “plasma piano” using this very technique.

The build relies on ten transformers more typically used in cathode ray tubes. The transformers are capable of generating high enough voltages to create arcs in the air. The transformers are controlled by an Arduino, which modulates the arcs at musical frequencies corresponding to the keys pressed on the piano. Sensing the keys of the piano is achieved with a QRS optical sensor strip designed for performance capture from conventional pianos. For the peak aesthetic, the transformer outputs are connected to the metal hammers of the piano, and the arcs ground out on a metal plate in the back of the piano’s body. This lets arcs fly across the piano’s whole width as its played. Ten transformers are used to enable polyphony, so the piano to play multiple tones at once.

Building the piano was no mean feat for [Mattias], who admitted to having very limited experience with electronics before beginning the build. However, he persevered and got it working, while thankfully avoiding injury from high voltage in the process. This wasn’t easy, as Arduinos would regularly freeze from the noise produced by the arcs and the system would lose all control. However, with some smart software tweaks to the arc control and some insulating panels, [Mattias] was able to get the piano playable quite well with a beautiful chiptune tone.

It bears stating that HV work can be dangerous, and you shouldn’t try it at home without the proper understanding of how to do so safely. If you’re confident though, we’ve featured some great projects in this space before. Video after the break.

Continue reading “Building A Plasma Piano Ain’t Easy”

An image of a Modulex brick (left) next to a LEGO brick right. Both are 4x2 studs, but the Modulex brick is much smaller at 20x10x5 mm vs the LEGO's 32x16x9.6 mm.

Modulex Is LEGO’s Long Lost Cousin

We love LEGO here at Hackaday, but did you know that LEGO spun off a parallel product line made for architectural models called Modulex?

[Peter Dibble] takes us on a deep dive through the history of Modulex, starting with Godtfred Kirk Christiansen needing a better way to model actual buildings after trying to design a house in LEGO. The LEGO brick’s 5:5:6 ratio proved challenging for modeling full-sized projects, so Modulex was conceived around a 1:1:1 ratio 5 mm cube. This change means Modulex is not compatible with LEGO System bricks.

As architectural styles morphed through the mid-20th Century, designs based around blocky shapes became passe, and Modulex pivoted to targeting factory and city planning customers. Products later branched out to include wall charts and Plancopy photocopy-able planners along with reconfigurable signage. Modulex (now ASI) still goes on as one of the biggest signage companies in the world, but discontinued the bricks in 2004. An attempt was made to revive Modulex bricks in 2015, but LEGO Group bought the company that had the rights to the bricks and has no intention of producing Modulex.

For more LEGO hacks, checkout this machine learning LEGO sorter or these giant LEGO-like pieces.

Continue reading “Modulex Is LEGO’s Long Lost Cousin”

Linux Fu: The Shell Forth Programmers Will Love

One of the most powerful features of Unix and Linux is that using traditional command line tools, everything is a stream of bytes. Granted, modern software has blurred this a bit, but at the command line, everything is text with certain loose conventions about what separates fields and records. This lets you do things like take a directory listing, sort it, remove the duplicates, and compare it to another directory listing. But what if the shell understood more data types other than streams? You might argue it would make some things better and some things worse, but you don’t have to guess, you can install cosh, a shell that provides tools to produce and work with structured data types.

The system is written with Rust, so you will need Rust setup to compile it. For most distributions, that’s just a package install (rust-all in Ubuntu-like distros, for example). Once you have it running, you’ll have a few new things to learn compared to other shells you’ve used. Continue reading “Linux Fu: The Shell Forth Programmers Will Love”

With ChatGPT, Game NPCs Get A Lot More Interesting

Not only is AI-driven natural language processing a thing now, but you can even select from a number of different offerings, each optimized for different tasks. It took very little time for [Bloc] to mod a computer game to allow the player to converse naturally with non-player characters (NPCs) by hooking it into ChatGPT, a large language model AI optimized for conversational communication.

If you can look past the painfully-long loading times, even buying grain (7:36) gains a new layer of interactivity.

[Bloc] modified the game Mount & Blade II: Bannerlord to reject traditional dialogue trees and instead accept free-form text inputs, using ChatGPT on the back end to create more natural dialogue interactions with NPCs. This is a refinement of an earlier mod [Bloc] made and shared, so what you see in the video below is quite a bit more than a proof of concept. The NPCs communicate as though they are aware of surrounding events and conditions in the game world, are generally less forthcoming when talking to strangers, and the new system can interact with game mechanics and elements such as money, quests, and hirelings.

Starting around 1:08 into the video, [Bloc] talks to a peasant about some bandits harassing the community, and from there demonstrates hiring some locals and haggling over prices before heading out to deal with the bandits.

The downside is that ChatGPT is currently amazingly popular. As a result, [Bloc]’s mod is stuck using an overloaded service which means some painfully-long load times between each exchange. But if you can look past that, it’s a pretty fascinating demonstration of what’s possible by gluing two systems together with a mod and some clever coding.

Take a few minutes to check out the video, embedded below. And if you’re more of a tabletop gamer? Let us remind you that it might be fun to try replacing your DM with ChatGPT.

Continue reading “With ChatGPT, Game NPCs Get A Lot More Interesting”

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One With The Breadboard Macropad

For their first custom, hand-wired keyboard, [terryorchard] aka [70rch] didn’t want to mess with making a total split, and we don’t really blame them. However, as you can see, they ended up with a monoblock split, which aside from being our own personal preference, looks fantastic, and also happened to be what fit on the print bed.

What you’re looking at is a 40% remix of the Alice layout with a columnar stagger. It’s also a bit 6×3 Corne-inspired on the ergonomic front. Brain-wise, it’s got an exposed Elite Pi driving a matrix of Kailh Choc pinks and an EC11 encoder. The encoder scrolls by default, and then becomes a volume knob on the numbers and symbols layer. One super cool thing about this keyboard is the secret third layer, which is unlocked by pressing the rotary encoder. This leads to some home row mods and disables the outside columns, culminating in a test 3×5 with two layers.

Via KBD #112

Continue reading “Keebin’ With Kristina: The One With The Breadboard Macropad”