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/favicon/favicon.svg 2022-01-19T13:58:00Z daily 4 urn:uuid:964a6575-a074-4318-b1bf-005afe86b864 2022-01-19T13:58:00Z 2022-01-19T13:58:00Z Font-independent pixel-perfect negative CSS text-indents There’s no need to guess the number of negative pixels for a text-indent to create a list item marker or hanging punctuation. Use this CSS technique instead! <p>The CSS <code>text-indent</code> property is used to offset the first line of text in a text block from the parent element’s inner box (the content area). It behaves like the <code>padding-inline-start</code> property, but only for a paragraph’s first line of text. It’s meant to allow your design to e.g. indent the first line to designate the start of a new paragraph (a more compact alternative to separating paragraphs by empty lines).</p> <p><a href="https://www.ctrl.blog/entry/css-negative-text-indent.html#src=feed">Read more …</a></p> urn:uuid:e031bb88-23c8-40e8-b48c-089b09628cad 2022-01-17T14:21:00Z 2022-01-17T14:21:00Z GNOME Boxes review: no-frills and no-thrills desktop virtualization Easy-to-use settings-free virtualization works great when it works! Not so much if you’re running an unsupported operating system, e.g. a modern Windows version. <p>GNOME Boxes is an easy-to-use graphical virtual machine (VM) installer and launcher. It’s not a VM manager and offers practically no settings for micromanaging your VM. However, its easy-to-use design philosophy can also prevent its users from getting any use out of it.</p> <p><a href="https://www.ctrl.blog/entry/review-gnome-boxes.html#src=feed">Read more …</a></p> urn:uuid:47aae321-5a93-49a0-b987-a2eaa7ebaa89 2022-01-15T14:39:00Z 2022-01-15T14:39:00Z Why HTML table cells won’t fit into your CSS baseline grid Collapsed cell borders adds to the table cell’s line height. So, how do you align your table cells to a line-height/baseline based grid layout? <p>A baseline grid design is a fancy way of describing a page design laid out like on lined paper sheets. (The lines are not visible, of course.) It’s the art of ensuring your design and text maintain a rhythm and the same visual pacing throughout the page by using consistent line heights and spacing.</p> <p><a href="https://www.ctrl.blog/entry/css-table-cell-grid.html#src=feed">Read more …</a></p> urn:uuid:70ed8bb0-28b2-4537-9def-297aa81149c3 2022-01-02T17:39:00Z 2022-01-02T17:39:00Z Your browser lies: the web isn’t written in your native language Your web browser can make it appear like everyone speaks your language. Browsers should also reverse-translate form submissions to avoid social faux pas. <p>Most webpages aren’t written in your native language; despite the entire web being available to you in your language. However, many web surfers don’t seem to realize that they’re reading machine-translated pages instead of the originals.</p> <p><a href="https://www.ctrl.blog/entry/translated-web-languages.html#src=feed">Read more …</a></p> urn:uuid:c477dd2d-c31d-43ba-8b27-2fdcd82456ca 2021-12-29T01:27:00Z 2021-12-29T01:27:00Z Bing stops accepting Sitemap pings, switch to IndexNow instead Bing (and Yandex) no longer wants to be notified of updates to your website’s XML sitemap file anymore. Send the updated URLs directly with IndexNow API instead. <p>The Microsoft Bing search engine has quietly stopped accepting XML Sitemap pings over the holiday break. XML Sitemaps are a structured data format that contains a list of a website’s primary pages. Websites can proactively ping search engines when they publish changes to request that the search engine come and index their new pages.</p> <p><a href="https://www.ctrl.blog/entry/sitemap-ping-indexnow.html#src=feed">Read more …</a></p> urn:uuid:75054c19-93a7-42c6-be6c-b8fae49432a7 2021-12-27T16:39:00Z 2021-12-27T16:39:00Z Why I stopped publishing end-of-year most-read lists I’ve not published the yearly Most Read article in the last three years. I stopped sharing readership numbers as the lists were used to steal my best works. <p>In previous years, I used to publish a “Most Read of the year” listicle (“list article”) around the holiday season. It let me take a break from writing and still generate lots of traffic to the featured articles. People still need things to read during the holidays, you know. However, I stopped publishing these a few years ago after learning of an unintended consequence.</p> <p><a href="https://www.ctrl.blog/entry/most-copied.html#src=feed">Read more …</a></p> urn:uuid:eb9353c5-dcd9-46b9-99ee-41112c4dd745 Cj Malone https://keepawayfromfire.co.uk/ Copyright © 2021 Cj Malone. 2021-12-21T16:23:00Z 2021-12-21T16:23:00Z Should you contribute open data to OpenStreetMap for free? Google Maps is incredibly detailed and useful. But Google uses it for tracking and deliver ads. Should you contribute for free to build its monopoly? <p><em> This is a guest post by Cj Malone, Director at OpenStreetMap UK. Opinion are his own and not those of OpenStreetMap UK. Cj is an avid OpenStreetMap (OSM) contributor, mainly in the United Kingdom (UK), but sometimes fixes broken data in other regions. </em></p> <p><a href="https://www.ctrl.blog/entry/re-maps-public-service.html#src=feed">Read more …</a></p> urn:uuid:dffee1c2-bae9-43a9-89d2-c22ed4c52657 2021-12-15T11:27:00Z 2021-12-15T11:27:00Z Should you fix errors and contribute to Google Maps for free? Google Maps is incredibly detailed and useful. But Google uses it for tracking and deliver ads. Should you contribute for free to build its monopoly? <p>Google Maps isn’t a public service, but we’re all treating it as such. It’s a private for-profit enterprise, and it wants you to work for it for free. So, should you help improve Google Maps for your community? — or not?</p> <p><a href="https://www.ctrl.blog/entry/maps-public-service.html#src=feed">Read more …</a></p> urn:uuid:9099a680-4ab8-48df-9f8a-1f6cac9562bf 2021-12-14T15:24:00Z 2021-12-14T15:24:00Z PlanetSide 2 is now available on Linux My favorite online multiplayer game is finally available on Linux. Goodbye Windows! <p>PlanetSide 2 (PS2) is a free-to-play/pay-to-customize massively multiplayer online first-person shooter game. It was released for Windows in 2012 and three years later for PlayStation 4 in 2015. Now, nine years later, it’s debuting on Linux through the Proton Compatibility layer in Steam.</p> <p><a href="https://www.ctrl.blog/entry/planetside2-on-linux.html#src=feed">Read more …</a></p> urn:uuid:00fa764c-b337-464b-bfd3-baef40d664aa 2021-12-01T09:15:00Z 2021-12-01T09:15:00Z Why Windows failed to display Microsoft and Xbox sign-in dialogs Windows 10 just didn’t open the Microsoft Account (or Xbox) login dialogs. No logs or errors. Legacy program compatibility can be both a blessing and a curse. <p>For about a year, I couldn’t use any Windows 10 apps or Xbox games that required me to sign in with a Microsoft Account. I also couldn’t add any email or other online accounts to my Windows account. For whatever reason, all the Microsoft Accounts Control and Windows Web Account Provider dialog windows refused to open.</p> <p><a href="https://www.ctrl.blog/entry/missing-msaccounts-control-dialogs.html#src=feed">Read more …</a></p> urn:uuid:9df4acbd-d7cd-42b9-9ce3-1b18645be810 2021-11-30T19:13:00Z 2021-11-30T19:13:00Z Closing the open redirect vulnerability in the Libravatar ecosystem I found an open redirect vulnerability in the Libravatar specification. An open-source avatar hosting API could be abused to redirect to untrusted websites. <p>Libravatar is a decentralized open-source alternative to Gravatar – the avatar image service. Last week, I noticed an URL Redirection to Untrusted Site (‘Open Redirect’) vulnerability (CWE-601) in the Libravatar application programming interface (API) specification.</p> <p><a href="https://www.ctrl.blog/entry/libravatar-open-redirect.html#src=feed">Read more …</a></p> urn:uuid:d4d4f6b1-d758-4f25-b819-40c9caa6c256 2021-11-26T12:09:00Z 2021-11-26T12:09:00Z Bitrot resistance of next-generation image formats Bitrot happens. So, what happens when I flip one random bit in AVIF and JPEG XL images. Improved data packing means less redundancy and more corruption. <p>I’ve compared two next-generation image formats, AVIF and JPEG XL (JXL), to see which best handles a random single corrupted bit. A meaningless exercise? Possibly. But half a picture of your beloved grandma is better than no picture at all.</p> <p><a href="https://www.ctrl.blog/entry/bitrot-avif-jxl-comparison.html#src=feed">Read more …</a></p> urn:uuid:a1d60c41-8d4c-41c2-8a8c-bb56d7d0547c 2021-11-22T13:35:00Z 2021-11-22T13:35:00Z Why you need a HTPC A home theater/media center (HTPC) can enhance your experience. You get more reliable playback and better loudness normalization than a smart TV or Chromecast. <p>I haven’t watched linear TV for years. I usually know what I want to watch and the times I want to watch it. In other words, I’m a cable-cutter or an <em>on-demand streamer</em> as I prefer to think of it.</p> <p><a href="https://www.ctrl.blog/entry/why-htpc-benefits.html#src=feed">Read more …</a></p> urn:uuid:cba509bc-0230-4930-b93d-c582db705cb4 2021-11-11T10:11:00Z 2021-12-13T14:09:00Z Windows now blocks Edge browser competitors from opening links Microsoft doubles-down on its user-choice hostile web browser behavior; blocks competitors from opening links from many Windows apps and web experiences. <p>Something changed between Windows 11 builds 22483 and 22494 (both Windows Insider Preview builds.) The build changelog makes a few mentions of changes to the protocol and file associations/default apps system. However, it omitted the headline news: You can no longer bypass Microsoft Edge using apps like EdgeDeflector.</p> <p><a href="https://www.ctrl.blog/entry/microsoft-edge-protocol-competition.html#src=feed">Read more …</a></p> urn:uuid:e9d1c113-d4de-4096-98fa-97aa9d1a0b2e 2021-11-06T15:56:00Z 2021-11-06T15:56:00Z Review: Samsung Galaxy Fit2 – a passive health and activity tracker The Galaxy Fit2 is frustrating to use, but is luckily meant to be worn passively to track your health metrics (continuous heart rate, step counter, and sleep). <p>The Samsung Galaxy Fit2 (not to be confused with the Gear Fit2) packs an impressive set of features like a sleep and heart rate monitor, in a small and budget-friendly package. However, it doesn’t help that it has a continuous activity, sleep, and heart rate/stress monitor when it doesn’t remind you to keep it charged.</p> <p><a href="https://www.ctrl.blog/entry/review-samsung-galaxy-fit2.html#src=feed">Read more …</a></p> urn:uuid:72ecb506-3491-48a1-841c-5d8594897527 2021-11-03T23:38:00Z 2021-11-03T23:38:00Z I was terrified of an eyeball injection I needed medication to preserve my sight, and it had to be injected directly into my eyeball. It’s a real thing and not just something they do in horror films. <p>I’ve been a bit freaked out over the last couple of months. I needed to inject a medication directly into my eyeball. My. Damned. Eyeball! I’d never heard anyone talk about this procedure before, and I’d like to share my experiences. Maybe it can help you be less clueless about it than I was.</p> <p><a href="https://www.ctrl.blog/entry/eyeball-fright.html#src=feed">Read more …</a></p> urn:uuid:e8e40f3f-9903-40e9-9770-4b168cbf32f9 2021-10-28T11:18:00Z 2021-10-28T11:18:00Z The HTML <video> element needs to go back on the drawing board The HTML <code translate=no>&lt;video&gt;</code> element needs to go back on the drawing board The HTML standard doesn’t provide web authors the tools required to embed small video files in a screen and bandwidth responsive way. This needs to change. <p>We’ve had the HTML <code>&lt;video&gt;</code> element for over a decade. Yet, everyone still defaults to embedding YouTube frames instead of hosting their own videos. The underlying problem is that the <code>&lt;video&gt;</code> element isn’t suitable for embedding short video files on webpages.</p> <p><a href="https://www.ctrl.blog/entry/html-responsive-video.html#src=feed">Read more …</a></p> urn:uuid:1a72cbfe-ff75-45b4-a17e-1ab40f702f96 2021-10-23T16:56:00Z 2021-10-23T16:56:00Z How to limit Samsung Customization Service data collection Android Customization Service provides some extra features in exchange for your personal information. However, you can minimize the data it shares with Samsung. <p>Samsung customers have likely been prompted by their devices to opt into the Samsung Customization Service (SCS). The prompt doesn’t explain what SCS does beyond linking you to its longwinded privacy policy. I was uncomfortable turning it on without knowing more about it, so I read the privacy policy. Yikes. Samsung collects everything it can get its corporate paws on.</p> <p><a href="https://www.ctrl.blog/entry/samsung-oneui-customization-service.html#src=feed">Read more …</a></p> urn:uuid:699bf589-dd82-4bbd-aa00-5476050f391b 2021-10-18T11:48:00Z 2021-10-18T11:48:00Z Timberborn: a cute beaver colony sim with an unrewarding late game The post-apocalyptic lumberpunk beaver colony simulator is delightful and cute. Plenty of replay value, but there are no new challenges in the late game stages. <p>I love colony simulation games like RimWorld, Patron, and Surviving Mars; and I’ve sunk way too many hours into these games. My latest obsession is Timberborn — a <em>vertical city builder</em> inhabited by intelligent beavers that have inherited the Earth after humans are long gone.</p> <p><a href="https://www.ctrl.blog/entry/review-timberborn-colonysim.html#src=feed">Read more …</a></p> urn:uuid:4ca57e8a-17bf-402b-8b16-e6e218e4794b 2021-10-15T02:09:00Z 2021-10-15T02:09:00Z How to enable file versioning on Windows File History lets you go back and browse and restore previous versions of your files and folders. Restore accidental changes and deletions in Windows 11 and 10. <p>Windows comes with many great built-in tools that, unfortunately, are hard to discover and even harder to use. One of these is its built-in file versioning tool called File History. Once set up, it can keep copies of old versions of all your files and documents. It can be incredibly useful to restore a previous version of a file or a folder after you’ve made an accidental change or deletion.</p> <p><a href="https://www.ctrl.blog/entry/how-to-windows-file-versioning.html#src=feed">Read more …</a></p>