Category Archives: linux hacks

Linux-Fu: Parallel Universe

At some point, you simply run out of processing power. Admittedly, that point keeps getting further and further away, but you can still get there. If you run out of CPU time, the answer might be to add more CPUs. However, sometimes there are other bottlenecks like memory or disk …read more

Continue reading

Posted in GNU parallel, Hackaday Columns, linux, linux hacks, parallel, parallel computing | Leave a comment

WiFi Goes Open

For most people, adding WiFi to a project means grabbing something like an ESP8266 or an ESP32. But if you are developing your own design on an FPGA, that means adding another package. If you are targeting Linux, the OpenWifi project has a good start at providing WiFi in Verilog. …read more

Continue reading

Posted in fpga, linux hacks, openwifi, radio hacks, SoC, verilog, wifi, wireless hacks, xilinx | Leave a comment

ZRAM Boosts Raspberry Pi Performance

Linux is a two-edged sword. On the one hand, there’s so much you can configure. On the other hand, there’s so much you can configure. It is sometimes hard to know just what you should do to get the best performance, especially on a small platform like the Raspberry Pi. …read more

Continue reading

Posted in linux, linux hacks, Raspberry Pi, swap file, virtual memory, zram | Leave a comment

New Breakout Board for Grid-EYE Thermal Sensor

Panasonic’s Grid-EYE sensor is essentially a low-cost 8×8 thermal imager with a 60 degree field of view, and a nice breakout board makes it much easier to integrate into projects. [Pure Engineering] has created an updated version of their handy breakout board for the Grid-EYE and are currently accepting orders. …read more

Continue reading

Posted in AMG8833, CH341A, GRID-EYE, grideye2, groupgets, linux, linux hacks, Microcontrollers, Pure Engineering, PureModules, Thermal, usb | Leave a comment

Linux Command Line Productivity with tmux

It is no secret that most Linux power users use the shell for many tasks, as for people who know what they are doing, it can be quite efficient. In addition, there are some tasks that can only be carried out from the command line, although their number shrinks every …read more

Continue reading

Posted in command line, linux, linux hacks, terminal, tmux | Leave a comment

Debugging for Sed — No Kidding

If you do much Linux shell scripting, you’ve probably encountered sed — the stream editor — in an example. Maybe you’ve even used it yourself. If all you want to do is substitute text, it is easy and efficient. But if you try to do really elaborate editing, it is …read more

Continue reading

Posted in debugger, debugging, linux, linux hacks, rust, sed, shell scripting | Leave a comment

Linux Fu: The Linux Shuffle

Computers are known to be precise and — usually — repeatable. That’s why it is so hard to get something that seems random out of them. Yet random things are great for games, encryption, and multimedia. Who wants the same order of a playlist or slide show every time?

It …read more

Continue reading

Posted in Hackaday Columns, linux, linux hacks, prng, random, random number, random numbers, shuf, shuffle | Leave a comment

Understand Linux htop Visually

If you want to know exactly what’s going on in your Linux system, some of you might reach for top. For the  connoisseur of system monitors, nothing less than htop will do. Not familiar with htop? [Ahsen Saeed] did a beautiful job of doing it graphically.

We’ve mentioned …read more

Continue reading

Posted in htop, linux, linux hacks, top | Leave a comment

Maze Solving Via Text Editing

Linux scripters usually know about sed — the stream editor. It has a simple job: transform text as it whizzes from input to output. So if you wanted to solve a maze, this wouldn’t be the tool you’d think to use, right? Well, if you were [xsot], you’d disagree.

You …read more

Continue reading

Posted in linux, linux hacks, maze, sed | Leave a comment

Linux Fu: Leaning Down with exec

Shell scripting is handy and with a shell like bash it is very capable, too. However, shell scripting isn’t always very efficient. Think about it. If you run grep or tr or sort to do some operation in a shell script, you are spawning a whole new process. That takes …read more

Continue reading

Posted in bash, exec, Hackaday Columns, linux, Linux Fu, linux hacks, shell scripting, Skills | Leave a comment