Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  1. DHCP client configuration for Linux, Windows and macOS

    IP addresses serve as one of the primary ways of identifying nodes on the network. Administrators use these logical addresses to place devices on the network in specific segments, control access to the devices via routers and firewalls, and map network devices for client machines.

  2. Install a graphical package manager on Kali Linux 2021.3 – LinuxBSDos.com

    If you used my last tutorial to install Kali Linux 2021.3 on your MacBook Air in dual-boot fashion with Ubuntu 20.04, I’m sure you noticed that there’s no graphical package manager installed by default on Kali Linux. I noticed that too, but GNOME Software, the first one I installed and the default graphical package manager for the GNOME desktop, is broken. Couldn’t get it to find me anything. Its image is what you see in the featured image above.

  3. K3XEC | Transmitting BPSK symbols (Part 2/5)

    This post is part of a series called "PACKRAT". If this is the first post you've found, it'd be worth reading the intro post first and then looking over all posts in the series.
    In the last post, we worked through what IQ is, and different formats that it may be sent or received in. Let’s take that and move on to Transmitting BPSK using IQ data!

    When we transmit and receive information through RF using an SDR, data is traditionally encoded into a stream of symbols which are then used by a program to modulate the IQ stream, and sent over the airwaves.

  4. Chromium and Raspberry PI 4: Increase Performances with Cache on RAM Disk

    With the new Raspberry PI computer models having much more RAM, improving Chromium performance can be a core goal for people using it as Desktop computer. To achieve this, a good practice is moving cache on a RAMDisk

    In this tutorial, I’m going to show you how to move Chromium cache into a new RAM disk partition with Raspberry PI 4 and OS Desktop.

  5. Quick video editing on Linux with Flowblade | Opensource.com

    Do you have videos you need to cut together but find video editing applications too complex? Flowblade is a minimal video editing application designed to enable you to assemble a cut of your video quickly and easily.

    Video editing can be challenging. There's a lot to think about, lots of footage to review, a story you want to tell, and there's the software you have to learn on top of everything else. However, there's a common conundrum at play here: Most people only need about 80% of what's possible in video editing applications, and you can implement that 80% of everyday editing tasks with about 50% of the resources a big "professional" editor uses. That's where Flowblade really excels. It's a simple editor that can do all the basic tasks you need, plus quite a bit more. However, it focuses on the essentials so you can get started editing right away, and you're never likely to be overwhelmed by menu selections you may never use, much less understand.

More in Tux Machines

India's government may foster home-grown mobile OS

India's minister of state for Electronics and IT Rajeev Chandrasekhar has revealed the nation's government intends to develop a policy that will encourage development of an "indigenous mobile operating system". Speaking at the launch of a policy vision for Indian tech manufacturing, Chandrasekhar said India's Ministry of Electronics and Information Technology believes the market could benefit from an alternative to Android and iOS and could "even create a new handset operating system" to improve competition, according to the Press Trust of India. "We are talking to people. We are looking at a policy for that," Chandrasekhar told local media, adding that start-ups and academia are being considered as likely sources of talent and expertise to build the OS. "If there is some real capability then we will be very much interested in developing that area because that will create an alternative to iOS and Android which then an Indian brand can grow,” he added. The minister offered no timeframe for a decision on whether to proceed with the policy, nor the level of assistance India's government might provide. Nor did he say much to suggest he knows that past attempts to create alternative mobile operating systems, or national operating systems, have cratered. Even Microsoft, famously, failed to make an impact with Windows Phone despite throwing billions at the OS and acquiring Nokia to ensure supply of handsets to run it. Mozilla's Firefox OS was discontinued after efforts to crack India's mobile market with low-cost devices failed. The Linux Foundation's Tizen hasn't found a lot of love. Read more

Keyboard Hacks With Raspberry Pi and Arduino

  • Turn On Sarcasm With the Flip Of a Switch

    Sarcasm is notoriously difficult to distinguish in online communities. So much, in fact, that a famous internet rule called Poe’s Law is named after the phenomenon. To adapt, users have adopted several methods for indicating implied sarcasm such as the /s tag, but more recently a more obvious sarcasm indicator has appeared that involves random capitalization througout the sarcastic phrase. While this looks much more satisfying than other methods, it is a little cumbersome to type unless you have this sarcasm converter for your keyboard. The device, built by [Ben S], is based around two Raspberry Pi Pico development boards and sits between a computer and any standard USB keyboard. The first Pi accepts the USB connection from the keyboard and reads all of the inputs before sending what it reads to the second Pi over UART. If the “SaRcAsM” button is pressed, the input text stream is converted to sarcasm by toggling the caps lock key after every keystroke.

  • Reverse engineering an '80s NeXT keyboard | Arduino Blog

    Working with vintage computer technology can feel a bit like the digital equivalent of archeology. Documentation is often limited or altogether absent today — if it was ever even public in the first place. So you end up reverse engineering a device’s functionality through meticulous inspection and analysis. Spencer Nelson has a vintage NeXT keyboard from the ’80s and wanted to get it working with modern computers via USB. To make that happen, he reverse engineered the protocol and used an Arduino as an adapter. NeXT was a computer company founded by Steve Jobs in the ’80s, in the period after he left Apple. A little over ten years later, Apple bought NeXT and Jobs rejoined the company. NeXT only released a few computers, but they are noteworthy and desirable to collectors. This particular keyboard is from 1988 and worked with the first generation NeXT Computer. Unlike modern keyboards that share the USB protocol, keyboards from this era utilized proprietary protocols. This particular model had an enigmatic protocol that Nelson became obsessed with deciphering.

  • Reverse Engineering The NeXT Computer Keyboard Protocol | Hackaday

    The NeXT computer was introduced in 1988, with the high-end machine finding favor with universities and financial institutions during its short time in the marketplace. [Spencer Nelson] came across a keyboard from one of these machines, and with little experience, set about figuring out how it worked. The keyboard features a type of DIN connector and speaks a non-ADB protocol to the machine, but [Spencer] wanted to get it speaking USB for use with modern computers. First attempts at using pre-baked software found online to get the keyboard working proved to be unreliable. [Spencer] suspected that the code, designed to read 50 microsecond pulses from the keyboard, was miscalibrated.

KDE Plasma 5.24 Will Be the Next LTS Release Receiving Support Until KDE Plasma 6

KDE Plasma 5.24 (currently in public beta testing) is set to be the next LTS release of the acclaimed and widely used desktop environment for GNU/Linux distributions, replacing the KDE Plasma 5.18 LTS series, which reached end of life in October 2021. Set to arrive on February 8th, 2022, two years after the release of Plasma 5.18 LTS, the Plasma 5.24 LTS series promises cool new features like support for fingerprint readers to unlock the screen or authenticate in apps that require administration password or with sudo on the command-line. Read more

Programming Leftovers: LibreOffice, KDE, and More

  • Nibble Stew: Building a part of LibreOffice on Windows using only Meson and WrapDB

    In earlier posts (starting from this one) I ported LibreOffice's build system to Meson. The aim has not been to be complete, but to compile and link the main executables. On Linux this is fairly easy as you can use the package manager to install all dependencies (and there are quite a few of them). [...] It does on my machine. It probably won't do so on yours. Some of the deps I used could not be added to WrapDB yet or are missing review. If you want to try, the code is here. The problematic (from a build system point of view) part of compiling an executable and then running it to generate source code for a different target works without problems. In theory you should be able to generate VS project files and build it with those, but I only used Ninja because it is much faster.

  • Regression fix: Missing lines in docx

    Interoperability is a very important aspect of the LibreOffice. Today, LibreOffice can load and save various file formats from many different office applications from different companies across the world. But bugs (specially regression bugs) are inevitable parts of every software. There are situations where the application does not behave as it should, and a developer should take action and fix it, so that it will behave according to the expectation of the user. What if you encounter a bug in LibreOffice, and how does a developer fix the problem? Here we discuss the steps needed to fix a bug. In the end, we provide a test and make sure that the same problem does not happen in the future. [...] The bug reporter should carefully describe the “actual results” and why it is different from the “expected results”. This is also important because the desired software’s behavior is not always as obvious as it seems to be for the bug reporter. Let’s talk about a recently fixed regression bug: The “NISZ LibreOffice Team” reported this bug. The National Infocommunications Service Company Ltd. (NISZ) has an active team in LibreOffice development and QA.

  • Beginning with Season of KDE 2022 - post #1

    I usually learn something between semesters when I have holidays. During September - October 2021, I tried learning some Qt and looking around codebase for KDE apps. But something just didn't work out. I suspect my leaning style wasn't correct.

  • KDE Gear 22.04 release schedule finalized

    It is available at the usual place https://community.kde.org/Schedules/KDE_Gear_22.04_Schedule Dependency freeze is in six weeks (March 10) and Feature Freeze a week after that, make sure you start finishing your stuff!

  • Python sets, frozensets, and literals

    A Python "frozenset" is simply a set object that is immutable—the objects it contains are determined at initialization time and cannot be changed thereafter. Like sets, frozensets are built into the language, but unlike most of the other standard Python types, there is no way to create a literal frozenset object. Changing that, by providing a mechanism to do so, was the topic of a recent discussion on the python-ideas mailing list. [...] In the end, this "feature" would not be a big change, either in CPython, itself, or for the Python ecosystem, but it would remove a small wart that might be worth addressing. Consistency and avoiding needless work when creating a literal frozenset both seem like good reasons to consider making the change. Whether a Python Enhancement Proposal (PEP) emerges remains to be seen. If it does, no major opposition arises, and the inevitable bikeshed-o-rama over its spelling ever converges, it just might appear in an upcoming Python—perhaps even Python 3.11 in October.

  • Terraform For Each Loop Examples - buildVirtual

    The Teraform for each meta argument allows you to use a map or a set of strings to deploy multiple similar objects (such as virtual machines) without having to define a separate resource block for each one. This is great for making our Terraform plans more efficient! Note: for_each was added in Terraform 0.12.6, and support for using it with Terraform modules was added in 0.13. Let’s go straight into looking at some examples of how to use Terraform for each loops.

  • Strange Computer Languages: A Hacker’s Field Guide | Hackaday

    Why do we build radios or clocks when you can buy them? Why do we make LEDs blink for no apparent purpose? Why do we try to squeeze one extra frame out of our video cards? We don’t know why, but we do. That might be the same attitude most people would have when learning about esolangs — esoteric programming languages — we don’t know why people create them or use them, but they do. We aren’t talking about mainstream languages that annoy people like Lisp, Forth, or VBA. We aren’t talking about older languages that seem cryptic today like APL or Prolog. We are talking about languages that are made to be… well… strange.

  • Perl Weekly Challenge 149: Fibonacci Digit Sum and Largest Square
  • My Favorite Warnings: precedence | Tom Wyant [blogs.perl.org]

    Perl possesses a rich and expressive set of operators. So rich, in fact, that other adjectives can come to mind, such as prolix, or even Byzantine. Requests for help navigating Perl's operator space appear repeatedly on outlets such as PerlMonks. These seem to me to involve two sorts of confusion: precedence (discussed here) and functionality (string versus numeric -- maybe another blog post). The precedence warnings category has some help here, though as of Perl 5.34 there are only two diagnostics under it:

  • Niko Matsakis: Panics vs cancellation, part 1

    One of the things people often complain about when doing Async Rust is cancellation. This has always been a bit confusing to me, because it seems to me that async cancellation should feel a lot like panics in practice, and people don’t complain about panics very often (though they do sometimes). This post is the start of a short series comparing panics and cancellation, seeking after the answer to the question “Why is async cancellation a pain point and what should we do about it?” This post focuses on explaining Rust’s panic philosophy and explaining why I see panics and cancellation as being quite analogous to one another.