meta: Alte Posts entfernt

This commit is contained in:
Jan Kremer 2024-10-23 16:42:41 +02:00
parent d9aa931156
commit f1a4c8c6e9
Signed by: jan
GPG key ID: A7DA689CB3B078EC
7 changed files with 4 additions and 174 deletions

View file

@ -124,6 +124,7 @@ time {
table {
border-collapse: collapse;
width: 100%;
margin: 1rem;
& th {
text-align: left;

View file

@ -1,41 +0,0 @@
---
title: "Easter eggs of this Websites"
date: 2023-09-19
description: "What you can't see is what you GET."
tags: [meta]
draft: true
---
## .well_known
As of [RFC ...]()
### OpenID
### Nostr
## `curl` easter eggs
There are famously [no easter eggs](https://daniel.haxx.se/blog/2021/12/06/no-easter-eggs-in-curl/) built into `curl`. That doesn't mean I can't make my own.
I set up `txt` files to display QR codes, which you can access via `curl`. There is one for the homepage, which is kind of stupid because you have to type in the URL to get a QR code for that URL.
```bash
curl https://jankremer.eu/qr.txt
```
I also set up codes for my [crypto](/tags/crypto) addresses. Just add `.txt` to the URL. Same for my [avatar](/pharmacist-0.webp). Fun fact: the `.png` file is only half the size of the `.txt` version.
```bash
curl https://jankremer.eu/xmr.txt
```
```bash
curl https://jankremer.eu/pharmacist-0.txt
```
I think you need to use a [nerd font](https://nerdfonts.com) for the QR code to show correctly.
> Why?
Just for fun.

View file

@ -1,20 +0,0 @@
---
title: Geheime Botschaften Simon Singh
date: 2023-09-09
description: "Buchvorstellung"
tags: [bücher]
---
Ich las vor kurzem das Buch _Geheime Botschaften. Die Kunst der Verschlüsselung von der Antike bis in die Zeiten des Internet_[^1] von [Simon Singh](https://simonsingh.net).
Es stellt eine Einführung in die Geschichte der Verschlüsselung dar und ist für jeden, den das Thema interessiert, äußerst empfehlenswert.
Daneben geht der Autor auch auf die "Entschlüsselung" antiker Sprachen wie der [Hieroglyphen](https://de.wikipedia.org/wiki/Hieroglyphen) und Schriften wie [Linear B](https://de.wikipedia.org/wiki/Linearschrift_B) ein.
In den letzten Kapiteln des Buchs erklärt Singh zudem "moderne" Verschlüsselungsmethoden wie [RSA](https://de.wikipedia.org/wiki/RSA-Kryptosystem) und den [Diffie-Hellmann-Schlüsselaustausch](https://de.wikipedia.org/wiki/Diffie-Hellman-Schlüsselaustausch).
Nur leider zeigt sich hier deutlich, dass das Buch bereit 1999 publiziert wurde und somit die letzten 24 Jahre der Kryptographie nicht erwähnt werden konnten.
Dadurch finden sich Themen wie zum Beispiel das [Signal-Protokoll](https://www.signal.org/docs/), die damit einhergehende massive Verbreitung starker Verschlüsselung und Krypto-Währungen hier nicht wieder.
Zum Glück kann man vieles davon selbst im Internet recherchieren.
Update: Signal wird in Zukunft [quantumresistente Verschlüsselung](https://signal.org/blog/pqxdh) benutzen.
[^1]: Originaltitel: _The Code Book. The Science of Secrecy from Ancient Egypt to Quantum Cryptography_

View file

@ -1,41 +0,0 @@
---
title: Nix on macOS
date: 2024-03-14
description: Moving from Homebrew to Nix. Mostly.
tags:
- nix
---
For about a year, I've been fascinated by [Nix and NixOS](https://nixos.org). I don't remember exactly what fascinated me at first, probably the possibility to setup and configure my system using a single file. A few weeks ago, I decided to give it a serious try.
## Installation
To be honest this is not my first time installing Nix on my machine. I tried the official Nix installer and the "old" way to use Nix which is basically the same as any other package manager. I didn't see the point of having two package managers so I uninstalled Nix quickly after.
Then, a few weeks ago, I came across [this guide](https://nixcademy.com/2024/01/15/nix-on-macos/) and it instantly clicked with me. Having a single file in which I declare my complete system and then have it set up in a few minutes without rebooting is just infinitely cool. In Nix, this feature is called _flake_. The guide uses the [Determinate systems installer](https://github.com/DeterminateSystems/nix-installer) which sets up flakes by default. It also explains how to install Nix Darwin.
## Nix Darwin
Nix Darwin is a set of Nix modules that brings declarative configuration to macOS. It includes a bunch of options such as for the dock, Finder or the keyboard for example. It also gives the user basic configuration options for various programs. However I prefer to set up terminal based programs using [Home Manager](#home-manager) instead, because it supports even more programs.
What I do use extensively is the [Homebrew](https://brew.sh/) module to install not only GUI (graphical user interface) apps from Homebrew, but also from the App Store.
## Home Manager
For everything else, from terminal based programs to their configuration, I use [Home Manager](https://github.com/nix-community/home-manager?tab=readme-ov-file). It includes a huge set of modules and allows me to setup every non-GUI program in a declarative way. Still, sometimes you have to configure the "traditional way", meaning in the original configuration language. But still, I much prefer this over my cluttered `.config` directory.
## Nixvim
In the process of writing my Nix configuration, I became unsatisfied with my Neovim setup. I used to use [LazyVim](https://www.lazyvim.org) but it felt more and more bloated and slow on my 9 year old machine. For some time I used [Helix](https://helix-editor.com/) which has great defaults, such as language server protocol (LSP) and fuzzy finder integration. I really think Neovim should go in this direction. Unfortunately it lacks some features to make it my main editor, mostly support for [Typst](https://typst.app/) which is already added to the `master` branch. It also lacks a plugin system, but given such great defaults, there isn't that big of a need for it. Helix also features its own set of motions, and although I think they are not bad, maybe even better than Vim motions, the latter are so ubiquitously implemented that I would essentially use both all the time.
That's when I saw a video by _ThePrimeagen_ in which he recommended [Kickstart](https://github.com/nvim-lua/kickstart.nvim/tree/master), a minimal Neovim starter configuration mainly written by _TJ DeVries_. It almost everything you need to get started and has insanely great documentation.
The only thing that bothered me was the use of [Mason](https://github.com/williamboman/mason.nvim) as a LSP package manager. For some people this might be the best way to install LSPs, but I don't understand why I would use a second package manager when I can just use Nix for everything. Helix has a list of supported LSPs and all you have to do is make sure they are in your `$PATH`.
Luckily, others already had the same issues and decided to write [Nixvim](https://github.com/nix-community/nixvim). Nixvim is a NixOS / Nix Darwin / Home manager module that lets you configure Neovim (almost) entirely using Nix. It uses Nix as the plugin manager and has great defaults and documentation.
I basically recreated Kickstart using Nixvim with some minor tweaks. It feels just as snappy as Helix and I love it.
## Conclusion
This is just the tip of the tip of the iceberg of what is possible with Nix. Next, I want to learn to write my own flakes to set up development environments. I should probably learn a bit of Nix language too. But to sum it up so far, I'm really happy and excited about this "new" way to manage my computer.

View file

@ -1,7 +0,0 @@
---
title: Obsidian
date: 2023-12-25T11:34:38+01:00
description: Friendship ended with Emacs, now Obsidian is my best friend.
tags:
draft: true
---

View file

@ -1,62 +0,0 @@
---
title: RSS
date: 2023-09-01
description: "Feeds without fuzz."
tags: [rss, meta]
---
## What is RSS?
Originally, RSS stood for "RDF/Rich Site Summary" but was later changed to "Really Simple Syndication"
RSS is a way to subscribe to a website.
Whenever that website updates it writes its changes to a `XML` file.
You can then read this XML file and see what changed at a glance.
Many websites use RSS including YouTube, ~~Reddit~~ Lemmy, ~~Twitter~~ Mastodon, most news sites, and almost any blog out there.
For many blogs, RSS is the main way to distribute new posts.
RSS is experiencing a Renaissance at the moment:
Many people are now seeing the damages done by algorithmic feeds and want to go back to purely chronological feeds.
RSS provides a perfect infrastructure for this.
## How to read RSS?
First, you need a feed reader. On macOS and iOS I highly recommend [NetNewsWire](https://netnewswire.com).
For terminal fans [Newsboat](https://newsboat.org) is the way to go.
[Thunderbird](https://www.thunderbird.net/) is also a good choice but there are tons of programs that can read RSS feeds.
That's bascially it. Now you need to add some feeds and you are ready.
I recommend picking a reader that can also fetch the article without opening the browser and loading a ton of ads.
Pro tip: You can export your subscibtions to a `OPML` file and import them into any RSS reader.
## How to distribute RSS?
This is the hardest question to answer about RSS as there are endless possibilities.
The easiest way would probably be to use a service such as Mastodon that generates the feed automatically.
If that platform isn't for you, WordPress is a good way to host a blog.
I read about people setting up their own scripts that automatically update the feed for new posts.
I use [Hugo](https://gohugo.io) which is a _static site generator_.
It generates feeds automatically but lies somewhere between WordPress and writing your own scripts in terms of how tech savvy you should be.
## How to find RSS?
Go to a website you like, copy the URL and paste it into your RSS reader.
Modern feed readers can find RSS feed on their own, you just have to provide a link to the site you want to subscribe to.
If that is not the case, you could try adding `/index.xml` to the URL.
Some sites, like this one, also link to their RSS feeds.
Often those links are a the bottom of the website and are either marked as `RSS`, `Feed`, or just use the RSS logo.
I additionally provide links to my subprojects such as my [microblog](/micro) or my [photos](/fotos).
Feel free to add them to your reader.
## Conclusion
I think RSS is on the rise.
It's an old protocol that survived numerous challenges
It provides an escape from the algorithms and large social media companies.
It also provides a way for content creators to distribute their content on their own without any middleman.

View file

@ -11,7 +11,7 @@ tags:
## Hardware
- M3 MacBook Air
- MacBook Air M3
- iPhone X
- Apple Watch SE
- AirPods Pro
@ -25,8 +25,8 @@ tags:
| RSS reader | [NetNewsWire](https://netnewswire.com) |
| Notes | [Obsidian](https://obsidian.md) |
| To-Do list | [Things](https://culturedcode.com/things) |
| Text editor | [Neovim](https://neovim.io) |
| Text editor | [Helix](https://helix-editor.com) |
| Word processing | [Typst](https://typst.app) |
| Terminal emulator | [Ghostty](https://github.com/mitchellh/ghostty) |
| Package manager | [Nix](https://nixos.org) ([Homebrew](https://brew.sh)) |
| Color theme | [Rosé Pine](https://rosepinetheme.com) |
| Color theme | [Rosé Pine Moon](https://rosepinetheme.com) |