Linux Fu: It’s A Trap!

It is easy to think that a Linux shell like Bash is just a way to enter commands at a terminal. But, in fact, it is also a powerful programming language as we’ve seen from projects ranging from web servers to simple utilities to make dangerous commands safer. Like most programming languages, though, there are multiple layers of complexity. You can spend a little time and get by or you can invest more time and learn about the language and, hopefully, write more robust programs.

Continue reading “Linux Fu: It’s A Trap!”

Auxiliary Scoreboard Reads Status Directly From Memory

[StaticChanger] built a scoreboard to display his kill statistics from Halo for the PC. Yes, we’ve seen kill counters before, but we like the way that he gathers the data. This project is reading the score directly from an address in memory.

Using a program called Cheat Engine, the memory used by a program can be sniffed. After a few passes, the program will help you find a static memory address for your desired data. Once you have that it’s just a matter of using a pointer to that address in your desired programming language. In this case, a C# program polls the value and instructs an Arduino to display the value on a couple of 7-segment displays. Voila, the number appears next to your screen as you see in the image above.

Laser Raygun Boasts 300mW, Hunts Klingons

laser-ray-gun

Phasers come with two settings: stun and kill. [Luke] took this seriously when he put two Blu-ray lasers into a toy raygun. He picked up the toy from Amazon for about twenty bucks and set to work.

The laser diodes are both pulled out of a 6x BD-R burner, which we think is a pretty expensive source to scavenge from. [Luke] removed the toy circuitry, reusing the trigger, top switch, and battery pack. The two diodes are mounted on a swiveling carriage which is turned 180 degrees to switch between the two diodes. A boost driver converts the 3v from the batteries up to 7v for the diodes.

This is a skillful conversion and [Luke] should be proud. Don’t miss the video after the break and if you’re thirsty for more take a look at the last hand held laser we featured.

Continue reading “Laser Raygun Boasts 300mW, Hunts Klingons”