urn:uuid:f6d9e764-f597-5370-94e1-c01aa3928860 Ctrl blog Daniel Aleksandersen https://www.daniel.priv.no/ Copyright © 2022 Daniel Aleksandersen. https://www.ctrl.blog/assets/logo/logo-square.svg 2022-05-05T20:46:00Z daily 4 urn:uuid:55d51586-281a-47b7-a134-977e8eed78d2 2022-05-05T20:46:00Z 2022-05-05T20:46:00Z Syncthing: The data deduplication master Syncthing can deduplicate data before network transfers and even utilize on-disk storage deduplication on modern file systems on Linux, Solaris, and Windows. <p>Syncthing is an open-source encrypted peer-to-peer folder synchronization program. It uses deduplication techniques to reduce the amount of data it needs to transfer over the network; saving you bandwidth costs, energy, and time. You can now optionally also let it deduplicate data storage to reduce your storage costs.</p> <p><a href="https://www.ctrl.blog/entry/syncthing-deduplication-master.html#src=feed">Read more …</a></p> urn:uuid:8e11b104-0cbb-4490-9531-464e68191ef7 2022-05-04T16:24:00Z 2022-05-04T16:24:00Z The auto-save feature in GEdit vs the new GNOME Text Editor GNOME Text Editor, GEdit, and Kate all have a auto-saving feature designed to prevent dataloss. However, the implementations vary a lot with different trade-offs. <p>I recently compared GEedit’s auto-save to Kate’s swap-save feature. Both features try to achieve the same goal — to protect your unsaved work from power failures and crashes — but through different means.</p> <p><a href="https://www.ctrl.blog/entry/gnome-text-editor-auto-save.html#src=feed">Read more …</a></p> urn:uuid:54c5c15f-9028-4f65-b546-ab5b2f425e20 2022-04-30T23:43:00Z 2022-04-30T23:43:00Z Common mistakes in BIMI early-adopter implementations The Brand Indicators for Message Identification (BIMI) standard has strict requirements for an email sender’s logo to show up in your inbox. 65,1% gets it wrong. <p>Two weeks ago, I wrote about the new Brand Indicators for Message Identification (BIMI) <em>draft</em> internet standard. BIMI enables businesses to get their logos displayed next to their email messages in compatible email apps and webapps. As part of the research for that article, I queried the top 3 million domains to see how many had adopted the standard. I found 6647 domains with a default brand indicator, but far from all meet the BIMI requirements.</p> <p><a href="https://www.ctrl.blog/entry/bimi-adoption.html#src=feed">Read more …</a></p> urn:uuid:4b57da4a-5df1-40c0-aad6-5f3df251b38c 2022-04-30T18:30:00Z 2022-04-30T18:30:00Z Ruby 3.1’s incompatible changes to its YAML module (Psych 4) Ruby made its YAML interpreter more secure by default at the cost of backward compatibility. Developers weren’t given heads up warning about the changes. <p>The Ruby programming language released version 3.1 back in December 2021. Among the changes was a big update to Psych version 4.0, Ruby’s built-in YAML Ain’t a Markup Language (YAML, a recursive acronym) interpreter. A major version change indicates incompatible changes, and version 4 sure does deliver on that promise.</p> <p><a href="https://www.ctrl.blog/entry/ruby-psych4.html#src=feed">Read more …</a></p> urn:uuid:4669d1b8-8be9-45a2-b305-f696c6d025a6 2022-04-27T04:01:00Z 2022-04-27T04:01:00Z SELinux is unmanageable; just turn it off if it gets in your way I’ve been an SELinux complexity apologist for years. Lately, I’ve concluded that every implementation with difficult-to-configure policies is just unmanageable. <p>Security-Enhanced Linux (SELinux) is a type of Mandatory Access Control (MAC) in the Linux kernel. It can prevent software from performing unexpected — such as abusive or malicious actions — on your Linux systems. However, … it’s also an unmanageable mess, and I have a much greater understanding of why people recommend that people disable it.</p> <p><a href="https://www.ctrl.blog/entry/selinux-unmanageable.html#src=feed">Read more …</a></p> urn:uuid:6d2db395-cd46-491d-b124-c017aea05af5 2022-04-25T20:19:00Z 2022-04-25T20:19:00Z Can you use a WebP file as an Open Graph Protocol image? Do you still need to maintain webpage thumbnails/link previews in legacy image formats, or have apps caught up with the WebP revolution? It’s a bit complicated. <p>The Open Graph Protocol (OGP) was created by and for Facebook in 2010. OGP is a pseudo-standard set of metadata tags you can include on your webpages to describe its contents. By now, it’s become the primary data source for generated link previews across the web and apps.</p> <p><a href="https://www.ctrl.blog/entry/webp-ogp.html#src=feed">Read more …</a></p> urn:uuid:7acb0143-2d17-486f-be45-728e9a6f42f2 2022-04-22T01:47:00Z 2022-04-22T01:47:00Z Get your logo into inboxes with BIMI and email best practices The new BIMI email standard give companies a branding opportunity in your email inbox in exchange for adopting stricter email sender-verification standards. <p>The new Brand Indicators for Message Identification (BIMI) internet standards <em>draft</em> lets businesses display their logos next to their emails (as the sender/contact photo). The new standard is developed as a carrot to incentivize the adoption of existing email-sender best practices and verification schemes. Is a slight increase in branding prominence enough to push the email ecosystem towards adopting stricter email-sender policies?</p> <p><a href="https://www.ctrl.blog/entry/bimi-intro.html#src=feed">Read more …</a></p> urn:uuid:4cf5e669-7327-4332-9875-e504724bb622 2022-04-06T23:45:00Z 2022-04-06T23:45:00Z Everything or Nothing: The missing James Bond theme song The title song to the James Bond 007: Everything or Nothing (2004) videogame by Mýa was once given away as a promo isn’t part of any digital music catalog. <p>Every now and then I lament about the digital licensing hell that’s constantly eating our shared cultural history. Or maybe I’m just angry at entropy and lack of foresight with digital archiving? None the less, I’d like to talk about a 20-year-old James Bond song you probably haven’t heard before.</p> <p><a href="https://www.ctrl.blog/entry/everything-or-nothing.html#src=feed">Read more …</a></p> urn:uuid:795a9d32-a7c5-4765-86db-418785fa8100 2022-04-05T13:57:00Z 2022-04-05T13:57:00Z Samsung devices incorrectly handle CSS @media hover queries Samsung devices incorrectly handle CSS <code translate=no>@media hover</code> queries The CSS @media hover query detects hover-capable input devices. Samsung touchscreens on Android gives unexpected results by pretending to be a computer touchpad. <p>The <code>hover</code> <code>@media</code> feature query lets you check if a device’s primary input device supports hovering interactive elements. It became part of the web platform as of CSS Media Queries Level 4. The <code>hover: hover</code> query should match on devices with a mouse cursor (e.g. a touchpad), and <code>hover: none</code> should match touchscreens (mobile devices). Unfortunately, Samsung devices say their touchscreens are touchpads.</p> <p><a href="https://www.ctrl.blog/entry/css-media-hover-samsung.html#src=feed">Read more …</a></p> urn:uuid:22a5151e-766e-4181-b92a-4ec32248cbbc 2022-04-03T14:10:00Z 2022-04-03T14:10:00Z Should you trust a third-party bootloader to run newer MacOS versions? OpenCore lets you run the latest MacOS on unsupported Apple legacy hardware (and PCs). But software that bypasses security restrictions requires a lot of trust. <p>Apple periodically drops support for its older hardware, and customers get left with an increasingly insecure and outdated system. The Hackintosh scene, a community dedicated to running MacOS on unsupported hardware, might help extend the life of your Mac. However, can you trust its community-developed software to the same degree as you blindly trust Apple?</p> <p><a href="https://www.ctrl.blog/entry/macos-opencore-trust.html#src=feed">Read more …</a></p> urn:uuid:6fd12512-6f72-4762-8446-a69a1bc28a00 2022-03-31T02:00:00Z 2022-03-31T02:00:00Z How to install additional spell check dictionaries for Flatpak apps Flatpak apps are isolated from- and doesn’t use the system’s spell checker dictionaries. Here’s how to install more language options into the Flatpak runtime. <p>Flatpak apps run inside a separate and isolated environment from your main system. This environment separation is what helps make apps portable between different Linux distributions. However, it also changes the approach required to complete tasks like installing multiple spell checker dictionaries for bilingual users.</p> <p><a href="https://www.ctrl.blog/entry/flatpak-locale-dictionaries.html#src=feed">Read more …</a></p> urn:uuid:b9f3c26b-36f8-4f6c-ac47-8e2ace31df73 2022-03-24T01:42:00Z 2022-03-24T01:42:00Z How to run Windows 11 in GNOME Boxes (with UEFI and TPM2 emulation) Windows 11 needs some extra config to run as a virtual machine in GNOME Boxes. Get it setup with UEFI secure boot, TPM 2.0 emulation, and accelerated drivers. <p>My old tutorial for installing Windows 10 in GNOME Boxes doesn’t work with Windows 11. Here’s how to install Windows 11 as a virtual machine (VM) inside GNOME Boxes. (Some configuration file changes required.)</p> <p><a href="https://www.ctrl.blog/entry/how-to-win11-in-gnome-boxes.html#src=feed">Read more …</a></p> urn:uuid:b490faf6-7bbc-476a-bb8a-27d6addeebbf 2022-03-21T20:10:00Z 2022-03-21T20:10:00Z Why it’s easier to recover unsaved documents in Kate than GEdit The Kate Editor has a great feature that prevents data-loss if the text editor or the system crashes. It auto-saves “.kate-swp” files containing unsaved changes. <p>A few years ago, I wrote about how I recovered a GEdit document from an unresponsive system. At the time, I couldn’t interact with the system using a keyboard and mouse. However, I could open a remote shell into the system and managed to retrieve and save the document.</p> <p><a href="https://www.ctrl.blog/entry/kate-swp.html#src=feed">Read more …</a></p> urn:uuid:d8b2be17-7b4a-4c95-b88a-a87856aa08e8 2022-03-17T07:29:00Z 2022-03-17T07:29:00Z FreeStyle Libre 3 miniaturizes real-time glucose monitoring The new FreeStyle Libre 3 sensor is a true real-time glucose monitoring system and the market’s smallest CGM at a 70 % size-reduction compared to the old model. <p>I’ve worn the FreeStyle Libre 2 flash-glucose monitor (FGM) on my upper arm for the last three years. As a diabetic, I need to pay close attention to my glucose levels, and the Libre 2 was a revolution compared to finger-prick blood tests every couple of hours. The new Libre 3 system is a highly-anticipated update that massively improves on the Libre 2.</p> <p><a href="https://www.ctrl.blog/entry/freestyle-libre3-cgm.html#src=feed">Read more …</a></p> urn:uuid:213d130c-548b-4a3b-b4ef-a3d7523ed937 2022-03-11T08:26:00Z 2022-03-11T08:26:00Z The HTML <meter> element and its (undefined) segment boundaries The HTML <code translate=no>&lt;meter&gt;</code> element and its (undefined) segment boundaries The HTML Standard is vague on whether the attributes are inclusive. Firefox, Safari, and Chrome have behave differently. Here’s my workaround. <p>I recently found a use for the <code>&lt;meter&gt;</code> element: an element to represent a scalar measurement within a known range. (That’s the unappealing language the HTML Standard uses to describe a horizontal gauge bar.) However, I was dismayed to discover that different web browsers have vastly different interpretations of a vaguely defined aspect of the <code>&lt;meter&gt;</code> element. Here’s what I found and the workaround to get the same behavior in all browsers.</p> <p><a href="https://www.ctrl.blog/entry/html-meter-segment-boundaries.html#src=feed">Read more …</a></p> urn:uuid:1ddd439f-ce4e-4a98-bbae-90ac9f0242b3 2022-03-09T14:37:00Z 2022-03-09T14:37:00Z Some discouraging anecdotes on how services handle account deletions I asked 124 services to delete my user account. The results were mixed. 21 never responded, and 16 responded by created even more accounts. Some outright lied. <p>I set out to purge my password manager for unused accounts and services. I also took the opportunity to request that the companies that stored that data should delete it. The results were quite discouraging.</p> <p><a href="https://www.ctrl.blog/entry/account-deletions-2021.html#src=feed">Read more …</a></p> urn:uuid:6e1dfe5e-317d-402a-87cc-b6198d8fe8b3 2022-02-28T18:40:00Z 2022-02-28T18:40:00Z Buggy Samsung–Grammarly keyboard update puts profit before typing One UI 4 (Android 12) introduced Grammarly partnership in Keyboard app on some Samsung devices. The update breaks the keyboard app compatibility with many apps. <p>In my experience, text input using the software keyboard on Android has always had some quirks and issues. However, all text entry and editing of more than a couple of sentences became nearly impossible after my Samsung Galaxy S10e received the One UI 4.0 update (better known as Android 12). The problems affected almost all apps I regularly use.</p> <p><a href="https://www.ctrl.blog/entry/ime-samsung-grammarly.html#src=feed">Read more …</a></p> urn:uuid:69da5b31-500a-4db1-b5cd-c003cb4ad92e 2022-02-22T13:07:00Z 2022-02-22T13:07:00Z The web is overrun by pop-ups and blockers haven’t worked in years You can now expect every website to inundate you with pop-ups for email lists, promotions, and privacy theater. (No, the GDPR isn’t to blame.) Enough is enough. <p>Virtually all web browsers have a built-in feature to suppress an annoyance from the early days of the web: pop-ups. However, the pop-up blockers of yesteryear no longer work on today’s web. There are pop-ups everywhere gating our entry into virtually all websites. What happened to the pop-up blocker?</p> <p><a href="https://www.ctrl.blog/entry/pop-up-blocker.html#src=feed">Read more …</a></p> urn:uuid:bda272be-c923-4f68-b890-b06018695e95 2022-02-16T19:00:00Z 2022-02-16T19:00:00Z Cardboard; an exciting scrollable tiling window manager After the initial learning curve, I found that Cardboard WM help me stay focused on one task and it greatly reduced how much time I spent rearranging my windows. <p>I’ve been having a lot of fun with Cardboard, the scrollable tiling window manager (WM) (STWM) for Linux. It’s quite an unusual WM, and it’s really only at the prototype stage. After the initial learning curve, I found that it helped me stay focused on one task, and it greatly reduced how much time I spent rearranging my windows.</p> <p><a href="https://www.ctrl.blog/entry/cardboardwm.html#src=feed">Read more …</a></p>