# Andrea Corbellini

Published articles for Andrea Corbellini.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Testing crash recovery features in a CI environment

DevFeed: [Testing crash recovery features in a CI environment](<https://devfeed.tech/articles/testing-crash-recovery-features-in-a-ci-environment-90368.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2025/09/09/testing-crash-recovery-features-in-ci/>)

Author: andreacorbellini

Published: 2025-09-09T00:05:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Test automation](<https://devfeed.tech/topics/test-automation.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [btrfs](<https://devfeed.tech/topics/btrfs.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [btrfs](<https://devfeed.tech/tags/btrfs.md>), [bug](<https://devfeed.tech/tags/bug.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The author describes building Linux virtual machine tests that simulate kernel crashes while a Rust crate updates files atomically. The suite checks file contents across filesystems, reproduces an issue involving btrfs and anonymous temporary files, and runs in GitHub Actions. Its current approach uses the host kernel, limiting tests on other kernels and platforms.

### Source excerpt

About two years ago I wrote a Rust crate to fulfill this promise: If a crash occurs while updating a file, the file either contains the old contents, or the new contents, nothing in between. This crate essentially solves the following problem: when you update a file, generally you open it, truncate it, write to it block-by-block, and eventually close it. The problem with ...

## Testing crash recovery features in a CI environment

DevFeed: [Testing crash recovery features in a CI environment](<https://devfeed.tech/articles/testing-crash-recovery-features-in-a-ci-environment-27120.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2025/09/09/testing-crash-recovery-features-in-ci/>)

Author: andreacorbellini

Published: 2025-09-09T00:05:00Z

Content type: article

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [btrfs](<https://devfeed.tech/topics/btrfs.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [atomic](<https://devfeed.tech/tags/atomic.md>), [btrfs](<https://devfeed.tech/tags/btrfs.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [linux](<https://devfeed.tech/tags/linux.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

A technical article describes atomic file updates in a Rust crate, using temporary files, synchronization, and atomic renaming to ensure a file contains either its old or new contents after a crash. It also discusses Linux anonymous temporary files and their limitations, including filesystem support and btrfs.

### Source excerpt

About two years ago I wrote a Rust crate to fulfill this promise: If a crash occurs while updating a file, the file either contains the old contents, or the new contents, nothing in between. This crate essentially solves the following problem: when you update a file, generally you open it, truncate it, write to it block-by-block, and eventually close it. The problem with ...

## How LLM tools may affect software development skills

DevFeed: [How LLM tools may affect software development skills](<https://devfeed.tech/articles/it-will-take-decades-to-undo-the-damage-done-by-ai-27119.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2025/08/20/it-will-take-decades-to-undo-the-damage-done-by-ai/>)

Author: andreacorbellini

Published: 2025-08-20T17:17:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [cobol](<https://devfeed.tech/tags/cobol.md>), [developers](<https://devfeed.tech/tags/developers.md>), [development](<https://devfeed.tech/tags/development.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [llm](<https://devfeed.tech/tags/llm.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

This opinion article argues that heavy reliance on LLM tools may boost junior developers' short-term productivity while limiting independent skill development. It predicts that continued dependence could make future developers less prepared to solve unfamiliar problems and maintain complex software.

### Source excerpt

Many business owners in the software development industry are investing a lot into LLM bots, marketed as "generative AI". Some of them go as far as forcing software developers to use such tools under the threat of being fired if they don't comply. After all, why shouldn't they? This technology has a catchy name, it produces very convincing output that sometimes is ...

## How reliance on LLM tools may weaken junior developers' skills

DevFeed: [How reliance on LLM tools may weaken junior developers' skills](<https://devfeed.tech/articles/it-will-take-decades-to-undo-the-damage-done-by-ai-90367.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2025/08/20/it-will-take-decades-to-undo-the-damage-done-by-ai/>)

Author: andreacorbellini

Published: 2025-08-20T17:17:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [software-developers](<https://devfeed.tech/tags/software-developers.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

The author argues that heavy reliance on LLM tools may leave junior software developers unable to work independently or solve unfamiliar problems. They warn that companies and educators encouraging near-exclusive use could contribute to a lasting skills gap, while acknowledging that LLM tools can be useful when paired with strong education.

### Source excerpt

Many business owners in the software development industry are investing a lot into LLM bots, marketed as "generative AI". Some of them go as far as forcing software developers to use such tools under the threat of being fired if they don't comply. After all, why shouldn't they? This technology has a catchy name, it produces very convincing output that sometimes is ...

## Running the operating system that you're currently using in a virtual machine (with Secure Boot and TPM emulation)

DevFeed: [Running the operating system that you're currently using in a virtual machine (with Secure Boot and TPM emulation)](<https://devfeed.tech/articles/running-the-operating-system-that-you-re-currently-using-in-a-virtual-machine-with-secure-boot-and-tpm-emulation-90366.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2023/11/19/running-current-os-inside-vm/>)

Author: andreacorbellini

Published: 2023-11-19T16:33:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Secure Boot](<https://devfeed.tech/topics/secure-boot.md>), [Emulator](<https://devfeed.tech/topics/emulator.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [boot](<https://devfeed.tech/topics/boot.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>)

Tags: [boot](<https://devfeed.tech/tags/boot.md>), [emulation](<https://devfeed.tech/tags/emulation.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [secure-boot](<https://devfeed.tech/tags/secure-boot.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [virtual-machine](<https://devfeed.tech/tags/virtual-machine.md>)

### AI overview

This tutorial explains how to run the operating system currently in use inside a QEMU virtual machine, with swtpm emulating a TPM. It describes copying either early boot files or using a copy-on-write disk image, configuring the virtual TPM and QEMU, and reading PCR values to test Secure Boot and predict how bootloader or kernel changes affect them. It focuses on Ubuntu, with adaptations for other distributions and operating systems discussed.

### Source excerpt

In this article I will show you how to start your current operating system inside a virtual machine. That is: launching the operating system (with all your settings, files, and everything), inside a virtual machine, while you're using it. This article was written for Ubuntu, but it can be easily adapted to other distributions, and with appropriate care it can be adapted to ...

## Running the operating system that you're currently using in a virtual machine (with Secure Boot and TPM emulation)

DevFeed: [Running the operating system that you're currently using in a virtual machine (with Secure Boot and TPM emulation)](<https://devfeed.tech/articles/running-the-operating-system-that-you-re-currently-using-in-a-virtual-machine-with-secure-boot-and-tpm-emulation-27118.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2023/11/19/running-current-os-inside-vm/>)

Author: andreacorbellini

Published: 2023-11-19T16:33:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Secure Boot](<https://devfeed.tech/topics/secure-boot.md>), [qemu](<https://devfeed.tech/topics/qemu.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [boot](<https://devfeed.tech/topics/boot.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [bootloader](<https://devfeed.tech/tags/bootloader.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [operating-systems](<https://devfeed.tech/tags/operating-systems.md>), [qemu](<https://devfeed.tech/tags/qemu.md>), [secure-boot](<https://devfeed.tech/tags/secure-boot.md>), [systems](<https://devfeed.tech/tags/systems.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [virtual](<https://devfeed.tech/tags/virtual.md>)

### AI overview

A tutorial explains how to run the operating system currently in use inside a virtual machine, preserving its settings and files. The procedure targets Ubuntu and uses a copy of the drive, TPM emulation with swtpm, and QEMU; it is intended for testing Secure Boot and predicting TPM state without rebooting.

### Source excerpt

In this article I will show you how to start your current operating system inside a virtual machine. That is: launching the operating system (with all your settings, files, and everything), inside a virtual machine, while you're using it. This article was written for Ubuntu, but it can be easily adapted to other distributions, and with appropriate care it can be adapted to ...

## My journey from Disqus to Remark42

DevFeed: [My journey from Disqus to Remark42](<https://devfeed.tech/articles/my-journey-from-disqus-to-remark42-27116.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2023/09/05/disqus-to-remark42/>)

Author: andreacorbellini

Published: 2023-09-05T08:30:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Website](<https://devfeed.tech/topics/website.md>), [data](<https://devfeed.tech/topics/data.md>), [WordPress](<https://devfeed.tech/topics/wordpress.md>)

Tags: [ads](<https://devfeed.tech/tags/ads.md>), [articles](<https://devfeed.tech/tags/articles.md>), [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [change](<https://devfeed.tech/tags/change.md>), [data](<https://devfeed.tech/tags/data.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [third-party](<https://devfeed.tech/tags/third-party.md>), [website](<https://devfeed.tech/tags/website.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>)

### AI overview

The author explains replacing Disqus with Remark42 on a static blog after discovering that Disqus displayed unwanted ads and raised concerns about tracking, data collection, and possible third-party data sharing.

### Source excerpt

Readers of this blog might have noticed a few changes recently. For example, I've been working on improving the look of the blog (maybe with questionable results), as well as improving the experience on mobile. But one of the biggest changes that perhaps some have noticed is that all of the comments on all of my articles have suddenly disappeared since February 2023 ...

## My journey from Disqus to Remark42

DevFeed: [My journey from Disqus to Remark42](<https://devfeed.tech/articles/my-journey-from-disqus-to-remark42-90364.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2023/09/05/disqus-to-remark42/>)

Author: andreacorbellini

Published: 2023-09-05T08:30:00Z

Content type: article

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Single sign-on (SSO)](<https://devfeed.tech/topics/sso.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [control-plane](<https://devfeed.tech/topics/control-plane.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>)

### AI overview

The author explains replacing Disqus with Remark42 for a personal blog after becoming concerned about advertising and reader tracking. The article compares alternatives, including Cactus Comments, and describes Remark42's features, self-hosting it on Fly.io, and the setup difficulties caused partly by unclear documentation. The author says it is too early to know whether Remark42 will be a lasting choice.

### Source excerpt

Readers of this blog might have noticed a few changes recently. For example, I've been working on improving the look of the blog (maybe with questionable results), as well as improving the experience on mobile. But one of the biggest changes that perhaps some have noticed is that all of the comments on all of my articles have suddenly disappeared since February 2023 ...

## How Ignoring Mistakes Creates Overconfidence and Organizational Risk

DevFeed: [How Ignoring Mistakes Creates Overconfidence and Organizational Risk](<https://devfeed.tech/articles/on-ignoring-mistakes-resilience-and-the-hidden-dangers-therein-27115.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2023/03/18/mistakes/>)

Author: andreacorbellini

Published: 2023-03-18T08:20:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Resilience](<https://devfeed.tech/topics/resilience.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [behavior](<https://devfeed.tech/tags/behavior.md>), [leadership](<https://devfeed.tech/tags/leadership.md>), [learning](<https://devfeed.tech/tags/learning.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>), [nasa](<https://devfeed.tech/tags/nasa.md>), [organization](<https://devfeed.tech/tags/organization.md>), [resilience](<https://devfeed.tech/tags/resilience.md>)

### AI overview

The article explains how successful outcomes can conceal flawed execution, causing people and organizations to repeat mistakes and develop overconfidence. It discusses normalization of deviance through examples including the Challenger and Columbia shuttle disasters, where NASA leadership ignored engineering concerns.

### Source excerpt

As a scuba diver who often explores new places, I can say that I have found myself in some dangerous situations, but I always made it back to the surface without facing any negative consequences. Does this mean that I never made any mistakes? Absolutely not: mistakes were made, and lessons were learned. We can all agree that learning from mistakes is good, but ...

## On ignoring mistakes, resilience, and the hidden dangers therein

DevFeed: [On ignoring mistakes, resilience, and the hidden dangers therein](<https://devfeed.tech/articles/on-ignoring-mistakes-resilience-and-the-hidden-dangers-therein-90363.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2023/03/18/mistakes/>)

Author: andreacorbellini

Published: 2023-03-18T08:20:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [engineering-leadership](<https://devfeed.tech/topics/engineering-leadership.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [behavior](<https://devfeed.tech/tags/behavior.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [critical](<https://devfeed.tech/tags/critical.md>), [culture](<https://devfeed.tech/tags/culture.md>), [developing](<https://devfeed.tech/tags/developing.md>), [empathy](<https://devfeed.tech/tags/empathy.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [focus](<https://devfeed.tech/tags/focus.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>), [resilience](<https://devfeed.tech/tags/resilience.md>)

### AI overview

This opinion discusses how successful outcomes can conceal mistakes, leading teams to repeat unsafe practices. Drawing on NASA shuttle disasters and a manager's dismissal of engineering concerns, it argues that organizations should record incidents, examine root causes without blame, and encourage people to raise concerns. It also cautions that resilience can become an excuse to tolerate problems instead of addressing them.

### Source excerpt

As a scuba diver who often explores new places, I can say that I have found myself in some dangerous situations, but I always made it back to the surface without facing any negative consequences. Does this mean that I never made any mistakes? Absolutely not: mistakes were made, and lessons were learned. We can all agree that learning from mistakes is good, but ...

## Authenticated encryption: why you need it and how it works

DevFeed: [Authenticated encryption: why you need it and how it works](<https://devfeed.tech/articles/authenticated-encryption-why-you-need-it-and-how-it-works-27114.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2023/03/09/authenticated-encryption/>)

Author: andreacorbellini

Published: 2023-03-09T18:35:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [ChaCha](<https://devfeed.tech/topics/chacha-cipher.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [private-key](<https://devfeed.tech/tags/private-key.md>), [public-key](<https://devfeed.tech/tags/public-key.md>), [stream](<https://devfeed.tech/tags/stream.md>), [xor](<https://devfeed.tech/tags/xor.md>)

### AI overview

This tutorial explains malleability in modern cryptographic ciphers and how authenticated encryption addresses it. It introduces symmetric ciphers, illustrates the issue with examples, and discusses ChaCha20-Poly1305 and AES-GCM.

### Source excerpt

In this article I want to explore a common problem of modern cryptographic ciphers: malleability. I will explain that problem with some hands-on examples, and then look in detail at how that problem is solved through the use of authenticated encryption. I will describe in particular two algorithms that provide authenticated encryption: ChaCha20-Poly1305 and AES-GCM, and briefly mention some of their variants. The problem ...

## Authenticated encryption: why you need it and how it works

DevFeed: [Authenticated encryption: why you need it and how it works](<https://devfeed.tech/articles/authenticated-encryption-why-you-need-it-and-how-it-works-90362.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2023/03/09/authenticated-encryption/>)

Author: andreacorbellini

Published: 2023-03-09T18:35:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [ChaCha](<https://devfeed.tech/topics/chacha-cipher.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>)

### AI overview

The article explains how malleability lets attackers alter encrypted messages without detection, then shows how authenticated encryption can detect tampering. It walks through ChaCha20-Poly1305 and AES-GCM, including the cryptographic ideas and implementation examples behind them.

### Source excerpt

In this article I want to explore a common problem of modern cryptographic ciphers: malleability. I will explain that problem with some hands-on examples, and then look in detail at how that problem is solved through the use of authenticated encryption. I will describe in particular two algorithms that provide authenticated encryption: ChaCha20-Poly1305 and AES-GCM, and briefly mention some of their variants. The problem ...

## How Computers Synchronize Time with NTP and PTP

DevFeed: [How Computers Synchronize Time with NTP and PTP](<https://devfeed.tech/articles/what-time-is-it-a-simple-question-with-a-complex-answer-how-computers-synchronize-time-90361.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2023/01/23/what-time-is-it/>)

Author: andreacorbellini

Published: 2023-01-23T19:15:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [protocols](<https://devfeed.tech/topics/protocols.md>), [Rfc 867](<https://devfeed.tech/topics/rfc-867.md>)

Tags: [added](<https://devfeed.tech/tags/added.md>), [airplane](<https://devfeed.tech/tags/airplane.md>), [atomic-clock](<https://devfeed.tech/tags/atomic-clock.md>), [clocks](<https://devfeed.tech/tags/clocks.md>), [communication](<https://devfeed.tech/tags/communication.md>), [connectivity](<https://devfeed.tech/tags/connectivity.md>), [has](<https://devfeed.tech/tags/has.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [ntp](<https://devfeed.tech/tags/ntp.md>), [performance](<https://devfeed.tech/tags/performance.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [ptp](<https://devfeed.tech/tags/ptp.md>), [relativity](<https://devfeed.tech/tags/relativity.md>), [synchronization](<https://devfeed.tech/tags/synchronization.md>), [time](<https://devfeed.tech/tags/time.md>), [time-synchronization](<https://devfeed.tech/tags/time-synchronization.md>)

### AI overview

The article explains coordinated time, time standards, and how computers synchronize clocks across networks. It describes NTP's timestamp and offset calculations, latency limitations, and millisecond precision, then compares PTP's local-network design, hardware support, and nanosecond precision.

### Source excerpt

Ever wondered how your computer or your phone displays the current date and time accurately? What keeps all the devices in the world (and in space) in agreement on what time it is? What makes applications that require precise timing possible? In this article, I will explain some of the challenges with time synchronization and explore two of the most popular protocols that devices ...

## Encrypting Arbitrary Data with Elliptic Curve ElGamal

DevFeed: [Encrypting Arbitrary Data with Elliptic Curve ElGamal](<https://devfeed.tech/articles/can-we-encrypt-data-using-elliptic-curves-27112.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2023/01/02/ec-encryption/>)

Author: andreacorbellini

Published: 2023-01-02T06:30:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [public key](<https://devfeed.tech/topics/public-key.md>), [Provable security](<https://devfeed.tech/topics/provable-security.md>)

Tags: [cryptography](<https://devfeed.tech/tags/cryptography.md>), [ecc](<https://devfeed.tech/tags/ecc.md>), [elgamal](<https://devfeed.tech/tags/elgamal.md>), [encryption](<https://devfeed.tech/tags/encryption.md>)

### AI overview

This tutorial explains that elliptic curve keys can encrypt arbitrary data directly and introduces elliptic curve ElGamal as an example. It also notes that pure elliptic curve encryption is not widely used or standardized because key agreement is more convenient for most applications.

### Source excerpt

From time to time, I hear people saying that Elliptic Curve Cryptography (ECC) cannot be used to directly encrypt data, and you can only do key agreement and digital signatures with it. This is a common misconception, but it's not actually true: you can indeed use elliptic curve keys to encrypt arbitrary data. And I'm not talking about hybrid-encryption schemes (like ECIES ...

## Can we encrypt data using Elliptic Curves?

DevFeed: [Can we encrypt data using Elliptic Curves?](<https://devfeed.tech/articles/can-we-encrypt-data-using-elliptic-curves-90360.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2023/01/02/ec-encryption/>)

Author: andreacorbellini

Published: 2023-01-02T06:30:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [digital signature](<https://devfeed.tech/topics/digital-signature.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [public key](<https://devfeed.tech/topics/public-key.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [code](<https://devfeed.tech/tags/code.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [digital-signatures](<https://devfeed.tech/tags/digital-signatures.md>), [ecc](<https://devfeed.tech/tags/ecc.md>), [elgamal](<https://devfeed.tech/tags/elgamal.md>), [elliptic-curve-cryptography](<https://devfeed.tech/tags/elliptic-curve-cryptography.md>), [elliptic-curves](<https://devfeed.tech/tags/elliptic-curves.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [keys](<https://devfeed.tech/tags/keys.md>)

### AI overview

The article demonstrates direct encryption of arbitrary data with elliptic-curve ElGamal, including a Python example for mapping messages to curve points and encrypting and decrypting them. It cautions that the padding shown is for demonstration only and explains why hybrid encryption is generally more practical because it uses less space and compute and avoids some pitfalls.

### Source excerpt

From time to time, I hear people saying that Elliptic Curve Cryptography (ECC) cannot be used to directly encrypt data, and you can only do key agreement and digital signatures with it. This is a common misconception, but it's not actually true: you can indeed use elliptic curve keys to encrypt arbitrary data. And I'm not talking about hybrid-encryption schemes (like ECIES ...

## The curious case of bad blocks on an SSD, and how I got rid of them

DevFeed: [The curious case of bad blocks on an SSD, and how I got rid of them](<https://devfeed.tech/articles/the-curious-case-of-bad-blocks-on-an-ssd-and-how-i-got-rid-of-them-90359.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2022/12/29/curious-ssd-badblocks/>)

Author: andreacorbellini

Published: 2022-12-29T04:00:00Z

Content type: article

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [database-optimization](<https://devfeed.tech/topics/database-optimization.md>), [Open Data](<https://devfeed.tech/topics/open-data.md>)

Tags: [badblocks](<https://devfeed.tech/tags/badblocks.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [ext4](<https://devfeed.tech/tags/ext4.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [it](<https://devfeed.tech/tags/it.md>), [laptop](<https://devfeed.tech/tags/laptop.md>), [motherboard](<https://devfeed.tech/tags/motherboard.md>), [ssd](<https://devfeed.tech/tags/ssd.md>), [storage](<https://devfeed.tech/tags/storage.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

The author investigates read errors and failing self-tests on a used NVMe SSD. After formatting it with `mkfs.ext4 -c`, the scan found no bad blocks and the errors stopped. The author offers a tentative explanation involving a voltage spike and inconsistencies between data and ECC cells.

### Source excerpt

I recently inherited a laptop that was broken by pouring some hot coffee on it. When I dissected it, it was pretty clear that most of it was unrecoverable: the CPU was completely fried, and its thermal paste splashed everywhere on the motherboard. (I wish I took a picture of it that I could share.) There were however a few pieces that looked in ...

## The curious case of bad blocks on an SSD, and how I got rid of them

DevFeed: [The curious case of bad blocks on an SSD, and how I got rid of them](<https://devfeed.tech/articles/the-curious-case-of-bad-blocks-on-an-ssd-and-how-i-got-rid-of-them-27111.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2022/12/29/curious-ssd-badblocks/>)

Author: andreacorbellini

Published: 2022-12-29T04:00:00Z

Content type: article

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [NVMe](<https://devfeed.tech/topics/nvme.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [badblocks](<https://devfeed.tech/tags/badblocks.md>), [errors](<https://devfeed.tech/tags/errors.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [nvme](<https://devfeed.tech/tags/nvme.md>), [smart](<https://devfeed.tech/tags/smart.md>), [ssd](<https://devfeed.tech/tags/ssd.md>), [storage](<https://devfeed.tech/tags/storage.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

The author investigates an NVMe SSD that develops severe read errors, filesystem hangs, and resets after being moved from a coffee-damaged laptop. Kernel logs show repeated errors, while SMART data appears largely acceptable despite some warning signs. The supplied excerpt ends during the self-test investigation.

### Source excerpt

I recently inherited a laptop that was broken by pouring some hot coffee on it. When I dissected it, it was pretty clear that most of it was unrecoverable: the CPU was completely fried, and its thermal paste splashed everywhere on the motherboard. (I wish I took a picture of it that I could share.) There were however a few pieces that looked in ...

## How to use the same DNS for all connections in Ubuntu (and other network privacy tricks)

DevFeed: [How to use the same DNS for all connections in Ubuntu (and other network privacy tricks)](<https://devfeed.tech/articles/how-to-use-the-same-dns-for-all-connections-in-ubuntu-and-other-network-privacy-tricks-27110.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2020/04/28/ubuntu-global-dns/>)

Author: andreacorbellini

Published: 2020-04-28T06:30:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [systemd](<https://devfeed.tech/topics/systemd.md>), [Network](<https://devfeed.tech/topics/network.md>), [DNSSEC](<https://devfeed.tech/topics/dnssec.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [dns](<https://devfeed.tech/tags/dns.md>), [dnssec](<https://devfeed.tech/tags/dnssec.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [mac-address](<https://devfeed.tech/tags/mac-address.md>), [network](<https://devfeed.tech/tags/network.md>), [network-manager](<https://devfeed.tech/tags/network-manager.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [resolved](<https://devfeed.tech/tags/resolved.md>), [systemd](<https://devfeed.tech/tags/systemd.md>), [tls](<https://devfeed.tech/tags/tls.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [wifi](<https://devfeed.tech/tags/wifi.md>)

### AI overview

A practical guide to configuring a global DNS server for all Wi-Fi and network connections on Ubuntu 20.04. It explains how systemd-resolved and NetworkManager interact, and introduces DNSSEC, DNS-over-TLS, and randomized MAC addresses.

### Source excerpt

Problem Currently Ubuntu does not offer an easy way to set up a "global" DNS for all network connections: whenever you connect to a new WiFi network, if you don't want to use the DNS server provided by the WiFi, you are forced to go to the network settings and manually set your preferred DNS server. With this brief guide I want to ...

## How to use the same DNS for all connections in Ubuntu (and other network privacy tricks)

DevFeed: [How to use the same DNS for all connections in Ubuntu (and other network privacy tricks)](<https://devfeed.tech/articles/how-to-use-the-same-dns-for-all-connections-in-ubuntu-and-other-network-privacy-tricks-90358.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2020/04/28/ubuntu-global-dns/>)

Author: andreacorbellini

Published: 2020-04-28T06:30:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Domain Name System (DNS)](<https://devfeed.tech/topics/dns-resolution-process.md>), [DNSSEC](<https://devfeed.tech/topics/dnssec.md>), [Network Configuration](<https://devfeed.tech/topics/network-configuration.md>), [DNS security](<https://devfeed.tech/topics/dns-security.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>)

Tags: [dns](<https://devfeed.tech/tags/dns.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [mac-address](<https://devfeed.tech/tags/mac-address.md>), [network](<https://devfeed.tech/tags/network.md>), [network-manager](<https://devfeed.tech/tags/network-manager.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [resolved](<https://devfeed.tech/tags/resolved.md>), [systemd](<https://devfeed.tech/tags/systemd.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

This guide explains how to configure Ubuntu to use preferred DNS servers across network connections by changing systemd-resolved and NetworkManager settings. It also covers DNSSEC, DNS-over-TLS, and randomized MAC addresses, including tradeoffs with captive portals and misconfigured DNS records.

### Source excerpt

Problem Currently Ubuntu does not offer an easy way to set up a "global" DNS for all network connections: whenever you connect to a new WiFi network, if you don't want to use the DNS server provided by the WiFi, you are forced to go to the network settings and manually set your preferred DNS server. With this brief guide I want to ...

## 11 years of Ubuntu membership

DevFeed: [11 years of Ubuntu membership](<https://devfeed.tech/articles/11-years-of-ubuntu-membership-27109.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2018/05/12/11-years-of-ubuntu-membership/>)

Author: andreacorbellini

Published: 2018-05-12T21:30:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [IRC](<https://devfeed.tech/topics/irc.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [irc](<https://devfeed.tech/tags/irc.md>), [recognition](<https://devfeed.tech/tags/recognition.md>), [support](<https://devfeed.tech/tags/support.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

The author reflects on receiving official Ubuntu membership 11 years and one month earlier, describing the IRC interview with the Community Council and the lasting personal significance of that recognition. They also express gratitude to people who supported them.

### Source excerpt

It's been 11 years and 1 month since I was awarded with official Ubuntu membership. I will never forget that day: as a kid I had to write about myself on IRC, in front of the Community Council members and answer their questions in a language that was not my primary one. I must confess that I was a bit scared that evening ...

## Running Docker Swarm inside LXC (outdated)

DevFeed: [Running Docker Swarm inside LXC (outdated)](<https://devfeed.tech/articles/running-docker-swarm-inside-lxc-outdated-27108.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2016/04/13/docker-swarm-inside-lxc/>)

Author: andreacorbellini

Published: 2016-04-13T18:00:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [container](<https://devfeed.tech/topics/container.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [apparmor](<https://devfeed.tech/tags/apparmor.md>), [article](<https://devfeed.tech/tags/article.md>), [containers](<https://devfeed.tech/tags/containers.md>), [distributed-computing](<https://devfeed.tech/tags/distributed-computing.md>), [docker](<https://devfeed.tech/tags/docker.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [lxc](<https://devfeed.tech/tags/lxc.md>), [security](<https://devfeed.tech/tags/security.md>), [shell](<https://devfeed.tech/tags/shell.md>), [swarm](<https://devfeed.tech/tags/swarm.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

This outdated tutorial explains how to run legacy Docker Swarm inside LXC containers using a preferred setup with AppArmor disabled, Docker OverlayFS storage, and etcd discovery. It notes that newer Docker Swarm does not work in LXC as described.

### Source excerpt

UPDATE: This article was written in 2016 and refers to a version of Docker Swarm that is now known as "legacy Swarm". The newer Docker Swarm won't work in LXC as described in this article. I've been using Docker Swarm inside LXC containers for a while now, and I thought that I could share my experience with you. Due to their nature ...

## Running Docker Swarm inside LXC (outdated)

DevFeed: [Running Docker Swarm inside LXC (outdated)](<https://devfeed.tech/articles/running-docker-swarm-inside-lxc-outdated-90356.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2016/04/13/docker-swarm-inside-lxc/>)

Author: andreacorbellini

Published: 2016-04-13T18:00:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>), [container-networking](<https://devfeed.tech/topics/container-networking.md>)

Tags: [apparmor](<https://devfeed.tech/tags/apparmor.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [command](<https://devfeed.tech/tags/command.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [distributed-computing](<https://devfeed.tech/tags/distributed-computing.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-swarm](<https://devfeed.tech/tags/docker-swarm.md>), [information-technology](<https://devfeed.tech/tags/information-technology.md>), [lxc](<https://devfeed.tech/tags/lxc.md>), [swarm](<https://devfeed.tech/tags/swarm.md>)

### AI overview

This tutorial describes a 2016 setup for running legacy Docker Swarm inside LXC containers, using OverlayFS and etcd discovery. It walks through configuring a manager and agents, and notes that the approach is useful for laptop cluster simulation rather than production. The newer Docker Swarm does not work in LXC as described.

### Source excerpt

UPDATE: This article was written in 2016 and refers to a version of Docker Swarm that is now known as "legacy Swarm". The newer Docker Swarm won't work in LXC as described in this article. I've been using Docker Swarm inside LXC containers for a while now, and I thought that I could share my experience with you. Due to their nature ...

## When bureaucracy hits the web: the cookie law

DevFeed: [When bureaucracy hits the web: the cookie law](<https://devfeed.tech/articles/when-bureaucracy-hits-the-web-the-cookie-law-27107.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2015/09/22/cookie-law/>)

Author: andreacorbellini

Published: 2015-09-22T18:35:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Cookies](<https://devfeed.tech/topics/cookies.md>), [Web](<https://devfeed.tech/topics/web.md>), [Google Analytics](<https://devfeed.tech/topics/google-analytics.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [consent](<https://devfeed.tech/tags/consent.md>), [cookie-law](<https://devfeed.tech/tags/cookie-law.md>), [eu](<https://devfeed.tech/tags/eu.md>), [google-analytics](<https://devfeed.tech/tags/google-analytics.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [third-party](<https://devfeed.tech/tags/third-party.md>)

### AI overview

A personal commentary on the EU cookie law argues that compliance can require intrusive banners, privacy policies, and consent mechanisms. The author describes removing cookies and third-party features from maintained websites, while retaining Google Analytics, social sharing buttons, and Disqus on the blog under the author's stated interpretation of the rules.

### Source excerpt

For a few years now, every first of April I hoped to read between the news something on the lines of "the cookie law was a joke, sorry for that". You know, bureaucracy is slow, and it's reasonable to think that it takes time for them to reveal jokes. Yet, many firsts of April have passed, and no such announcement has been made ...

## When bureaucracy hits the web: the cookie law

DevFeed: [When bureaucracy hits the web: the cookie law](<https://devfeed.tech/articles/when-bureaucracy-hits-the-web-the-cookie-law-90355.md>)

Original publisher: [Read original article](<https://andrea.corbellini.blog/2015/09/22/cookie-law/>)

Author: andreacorbellini

Published: 2015-09-22T18:35:00Z

Content type: opinion

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Web](<https://devfeed.tech/topics/web.md>), [Interaction Design](<https://devfeed.tech/topics/interaction-design.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [consent](<https://devfeed.tech/tags/consent.md>), [cookie-law](<https://devfeed.tech/tags/cookie-law.md>), [cookies](<https://devfeed.tech/tags/cookies.md>), [eu](<https://devfeed.tech/tags/eu.md>), [europe](<https://devfeed.tech/tags/europe.md>), [google-analytics](<https://devfeed.tech/tags/google-analytics.md>), [law](<https://devfeed.tech/tags/law.md>), [the-web](<https://devfeed.tech/tags/the-web.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

The author argues that EU cookie-law compliance imposes burdens on webmasters and degrades user experience. They describe removing analytics, social buttons, videos, and comments from sites they maintain, while noting that their blog's social buttons and Disqus require prior consent under their understanding of the rules.

### Source excerpt

For a few years now, every first of April I hoped to read between the news something on the lines of "the cookie law was a joke, sorry for that". You know, bureaucracy is slow, and it's reasonable to think that it takes time for them to reveal jokes. Yet, many firsts of April have passed, and no such announcement has been made ...

[Next page](<https://devfeed.tech/sources/andrea-corbellini.md?cursor=WyIyMDE1LTA5LTIyVDE4OjM1OjAwKzAwOjAwIiwgIjUxMTU5MWQ3LTcyODktNGVkNC1iMWIxLWJhOTM4ZjFlMzRlNCJd>)