FOSSPicks
bcal
This is another brilliantly useful tool that performs one simple job extremely well – bcal converts between storage formats and performs various calculations. This is important because there's plenty of confusion over what certain numbers represent and how they're valued. GiB is a good example, as this is often used as a replacement for GB representing gigabytes, which itself gets confused for all kinds of values for data across a network. Typing dcal 50 gib
will give the canonical answer – 52428800 KiB, 51200 MiB, 50 GiB, or 4.8828125000e-02 TiB, as represented by the IEC standard (base 2). The SI standard (base 10) is also output, alongside decimal and hexadecimal address values plus both LBA offsets. These details are obviously going to be handy for anyone working with storage, but it's also useful for anyone worried about space or who wants to work out exactly what they're paying for with their latest SSD purchase.
Additionally, bcal can be used for all kinds of representation and conversion. You can show the binary, decimal, and hex representations of a number, for example, using the -c
argument followed by the number. You can convert between logical block addressing (LBA) and cylinder-head-sector (CHS) with -f
, and you can work out storage capacity by adding -s
, followed by a sector size, such as bcal 0xaabbcc kb -s 4096
. Because the values are output all at once, the tool makes it easy to see what the differences are and why there's so much confusion around their use.
Project Website
Screen capture
Peek 1.0
You can't seem to scroll down a news site in peace these days without being bombarded by animated GIFs. These little low-res movies often start without prompting and run on short loops until you either close the tab or relent and watch the full thing. But animated GIFs are an ancient technology, and they can't be all bad if they've lasted this long. They're small, resource light, and supported by almost every platform, from the Commodore Amiga to the iPhone 7, which is what makes their ubiquity part annoyance and part a handy addition to static websites – when used cautiously. And that doesn't mean as a vehicle for memes and the emergence of a meme dialect that will one day supplant traditional languages.
In other places, however, these little low-quality movies are genuinely useful, and one example is as a way to quickly show something happening on screen. This could be because you're writing documentation for a piece of software or sharing a tutorial on how something is accomplished. Or, it could simply be the way you share discoveries on your website. Either way, creating short animated GIFs of your mouse or keyboard interacting with something is often much easier to understand than writing 200 words to do the same thing – which is exactly what Peek does so well. It opens a small window that is used to grab a section of your screen at a predefined frame rate. It's simple, easy to use, and generates an animated GIF instantly. The latest version will even generate WebM and MP4 files too, which makes Peek far more useful as a general purpose screen grabber. If you need a quick and easy tool to grab your screen, much like animated GIFs themselves, Peek is perfectly suited to the task.
Project Website
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.