Language Selection

English French German Italian Portuguese Spanish

Open/Hackable Hardware and Programming

Filed under
Development
Linux
Hardware
  • Waveshare Launches an Affordable 7-Color e-Paper Display

    The company claims examples for Raspberry Pi, Jetson Nano, Arduino, and STM32 will be provided in the Wiki once it’s updated.

  • PolarFire SoC Icicle 64-bit RISC-V and FPGA Development Board Runs Linux or FreeBSD (Crowdfunding)

    We got some more details about PolarFire RISC-V FPGA SoC late last year, and we were promised a Linux capable 64-bit RISC-V & FPGA development board with PolarFire SoC Icicle kit in Q3 of 2020.

    We are already in July 2020. So where is the board? Oh, look! It’s right here on Crowd Supply where it is offered for $499, and shipping is expected to start in mid-September.

  • What have you been playing recently? We've been tinkering with a Raspberry Pi 4

    Apparently we missed the weekend and didn't ask you for your latest recommendations? Let's fix that. What have you been playing recently and what do you think about it?

    For me personally, I've actually been doing something a little different. Since my 32nd birthday is coming up soon on July 30, I picked up a Raspberry Pi 4 (4GB model) and what a wonderful little device it is. I can finally join the world of tiny computers! Using the full Raspberry Pi 4 Desktop Kit, it couldn't have been any easier and what a joy it was to get going.

    Snap it together into the little case, plug it in with the SD card that came with the 'NOOBS' installer so there's absolutely no fuss. Okay, that's a small lie, there was a tiny bit of fuss with KODI having a really slow mouse which was solvable by adding "usbhid.mousepoll=0" to the end of "/boot/config.txt".

    Without much fuss then it was up and running—yes that's Halo: Reach with Steam Play Proton being streamed from a Manjaro desktop to the Raspberry Pi. Glorious. I also need to one day invest in a better camera but priorities…

  • Building DIY LED strips for fun

    [...] You can buy great pre-built, consumer grade LED light strips that come with a remote control, can be controlled by your phone, and are relatively cheap. Personally, I’ve purchased a few Govee light strips like this long one and they work great for simple applications like on a shelf, or around a door jam, or up on a crown molding. For 90% of most people’s needs, that’s the best and easiest way to go.

    Since I had six shelves, I didn’t want to have to manage six plugs, so what I’m describing here is going the full-on DIY route, cutting your LED strips up, using a solder gun, and creating the exact lights you need for your space. Here’s how I did mine.

  • Tricks with Pseudorandom Number Generators

    Pseudorandom number generators (PRNGs) are often treated like a compromise: their output isn’t as good as real random number generators, but they’re cheap and easy to use on computer hardware. But a special feature of PRNGs is that they’re reproducible sources of random-looking data:

    [...]

    This simple fact enables a few neat tricks.

    A couple of famous examples come from the gaming industry. The classic example is the space trading game Elite, which was originally written for 8b BBC Micros in the early 80s. It was a totally revolutionary game, but just one thing that amazed fans was its complex universe of thousands of star systems. That was something you just didn’t normally get in games written for machines with kilobytes of RAM total. The trick was to generate the universe with a PRNG seeded with a small value. There was no need to store the universe in memory because the game could regenerate each star system on demand, repeatedly and deterministically.

    PRNGs are now widely exploited for recording games for replays. You don’t need to record every frame of the game world if you can just record the PRNG seed and all the player actions. (Like most things in software, actually implementing that can be surprisingly challenging.)

  • Traditional Unix Toolchains

    Older Unix systems tend to be fairly uniform in how they handle the so-called 'toolchain' for creating binaries. This blog will give a quick overview of the toolchain pipeline for Unix systems that follow the V7 tradition (which evolved along with Unix, a topic for a separate blog maybe).

    Unix is a pipeline based system, either physically or logically. One program takes input, process the data and produces output. The input and output have some interface they obey, usually text-based. The Unix toolchain is no different.

  • Detect and Recognize Car License Plate from a video in real time

    Approach:

    Find all the contours in the image.

    Find the bounding rectangle of every contour.

    Compare and validate the sides ratio and area of every bounding rectangle with an average license plate.

    Apply image segmentation in the image inside validated contour to find characters in it.

    Recognize characters using an OCR.

  • [Old] Mastering JQ: Part 1

    jq is a valuable tool that every fast coder has in their tool chest. It contains depths of immense power. In part 1, we'll start off with the basics.

    For each application of jq, we’ll lead off with an example that you can copy and paste into your shell to see how it works. The rest of the section discusses the application in more detail.

  • [Old] Mastering jq: xml (and any other data format)

    In this section, we’ll use jq to transform xml data.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.