today's howtos
-
11 Linux Chown Command Examples to Change File Ownership
In this beginner’s guide, we will discuss some practical examples of the chown command. After following this guide, users will be able to manage file ownership effectively in Linux.
In Linux, everything is a file, which means, all input/output resources, such as files, directories, disk drives, printers, etc are exposed as files through the file system namespace. In addition to this, there is ownership associated with each and every file in Linux.
The ownership is represented by two entities – user and group. The combination of access permissions and ownership allows Linux to implement an access control mechanism in an effective way.
In this guide, we will learn about the chown command. As the name suggests, the chown command is used to change the ownership of the files. After following this guide, beginners will be able to use the chown command effectively while working with Linux systems.
-
PX or REM in CSS? Just Use REM
CSS has a lot of different units that you can choose from. In many cases, there is one unit that’s clearly better than any others.
However, one question that seems to come up throughout my career is whether you should use pixels or rems on certain properties where it doesn’t seem to make a clear difference.
Today I’m going to answer that question.
-
Do Cold Starts Matter?
But how much do cold starts matter? For the heaviest use cases, there are probably optimizations that you can make directly in the serverless runtime (see AWS’s newly announced Lambda SnapStart for Java Functions that reduces startup time for Spring apps from 6 seconds down to 200ms).
-
The IndieWeb (according to ChatGPT)
Earlier today, I was playing around with OpenAI's new ChatGPT model. I have thus far asked ChatGPT what coffee is, how to boil a kettle, what microformats is, and what the IndieWeb is. I thought I'd share the result I got for the prompt "What is the IndieWeb?": [...]
-
Using Dovecot 2.3's 'events' system to generate log messages
Dovecot 2.1 and 2.2 had a relatively straightforward statistics system (which I believe may still be supported in 2.3 for now, although you have to rename settings in your configuration). In v2.3, Dovecot introduced a new, more flexible system based around the idea of events, which can be used to generate either or both of statistics or log messages. Today I'm going to talk about log messages, because they're simpler.
-
How to Make a Mastodon Account and Join the Fediverse
The recent chaos at Twitter is a reminder that when you rely on a social media platform, you’re putting your voice, your privacy, and your safety in the hands of the people who run that system. Many people are looking to Mastodon as a backup or replacement for Twitter, and this guide will walk you through making that switch. Note this guide is current as of December 2022, and the software and services discussed are going through rapid changes.
What even is the fediverse? Well, we’ve written a more detailed and technical introduction, but put simply it is a large network of independently operated social media websites speaking to each other in a shared language. That means your fediverse social media account is more like email, where you pick the service you like and can still communicate with people who chose a different service.
EFF is excited and optimistic about the potential of this new way of doing things, but to be clear, the fediverse is still improving and may not be a suitable replacement for your old social media accounts just yet. That said, if you’re worried about relying on the stability of sites like Twitter, now is a good time to “backup” your social media presence in the fediverse.