- commit
- fb7432abd229e95fc2aea60ebe2fff6f83ddf9cc
- parent
- 825a058159752be2746a81fb10e1d4c399106313
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2026-04-20 16:30
tweaks
Diffstat
6 files changed, 16 insertions, 15 deletions
diff --git a/_content/posts/2022-12-03-my-window-manager-setup/index.md b/_content/posts/2022-12-03-my-window-manager-setup/index.md
@@ -112,7 +112,7 @@ also has its flaws: 112 112 113 113 - When I switch to a maximized window and then want to go back to the 114 114 side-by-side view, I have to raise both windows.115 -1 - It is not always clear which of the two windows has focus.-1 115 - It is not always obvious which of the two windows has focus. 116 116 - The approach is quite limited. 117 117 118 118 Tiling window managers could provide more flexibility here. For maximized and
diff --git a/_content/posts/2023-01-29-python-async-loops/index.md b/_content/posts/2023-01-29-python-async-loops/index.md
@@ -1,7 +1,7 @@ 1 1 --- 2 2 title: Eight different ways to implement an asyncronous loop in python 3 3 date: 2023-01-294 -1 tags: [code, python, linux]-1 4 tags: [code, python, linux, async] 5 5 description: Each time I have to work with asyncio I get frustrated. I find myself longing for the simplicity of callbacks in JavaScript. But maybe I just don't understand asyncio properly yet. 6 6 --- 7 7
diff --git a/_content/posts/2023-10-29-jmap-calendars/index.md b/_content/posts/2023-10-29-jmap-calendars/index.md
@@ -104,11 +104,11 @@ done that work. 104 104 105 105 ## The new thing: JMAP Calendars 106 106107 -1 [JMAP Calendars](https://jmap.io/spec-calendars.html) is a draft spec to send108 -1 events in JSCalendar format-1 107 [JMAP Calendars](https://datatracker.ietf.org/doc/draft-ietf-jmap-calendars/) -1 108 is a draft spec to send events in JSCalendar format 109 109 ([RFC 8984](https://www.rfc-editor.org/rfc/rfc8984)) over JMAP110 -1 ([RFC 8620](https://www.rfc-editor.org/rfc/rfc8620)), which in turn is an111 -1 RPC protocol based on HTTP and JSON. Here is an example request from the spec:-1 110 ([RFC 8620](https://www.rfc-editor.org/rfc/rfc8620)), which in turn is an RPC -1 111 protocol based on HTTP and JSON. Here is an example request from the spec: 112 112 113 113 ```json 114 114 [
diff --git a/_content/posts/2024-08-30-datetime/index.md b/_content/posts/2024-08-30-datetime/index.md
@@ -1,7 +1,7 @@ 1 1 --- 2 2 title: How to do arithmetic with dates and times 3 3 date: 2024-08-304 -1 tags: [code]-1 4 tags: [code, time] 5 5 description: Let's look into dates and times, timezones, leap years, daylight saving time, and how to do arithmetic with all of that. 6 6 --- 7 7
diff --git a/_content/posts/2025-06-23-loudness/index.md b/_content/posts/2025-06-23-loudness/index.md
@@ -63,7 +63,7 @@ but documentation and the debug experience could certainly be improved. 63 63 64 64 # Reshaping curves 65 6566 -1 My first idea was to apply function directly to the audio signal. I landed on-1 66 My first idea was to apply a function directly to the audio signal. I landed on 67 67 $f(x) = 1.5x - 0.5x^3$. This function is symmetric around (0, 0), boosts small 68 68 values, and compresses larger values so the maximum value is still at 1. 69 69 @@ -134,10 +134,10 @@ increasing the volume. 134 134 It is a fun exercise to apply techniques from image processing to sound or the 135 135 other way around. 136 136137 -1 I had experimented with optimizing images by spreading each of the red, green,138 -1 and blue channels so that the minimum value for each is 0% and the maximum139 -1 value is 100%. That technique turned out useful to remove color casts from old140 -1 photos.-1 137 I had previously experimented with optimizing images by spreading each of the -1 138 red, green, and blue channels so that the minimum value for each is 0% and the -1 139 maximum value is 100%. That technique turned out useful to remove color casts -1 140 from old photos. 141 141 142 142 To apply this technique to sound, my approach was to first do a Fourier 143 143 transform to get the strength of each frequency, spread these strengths, and
diff --git a/_content/posts/2025-07-18-hdr/index.md b/_content/posts/2025-07-18-hdr/index.md
@@ -12,7 +12,8 @@ consumer equipment can produce something like 0.32 cd/m² to 320 cd/m². HDR 12 12 1,000 cd/m² (see [Poynton 13 13 (2022)](https://library.imaging.org/admin/apis/public/api/ist/website/downloadArticle/cic/30/1/6)). 14 1415 -1 I was a bit confused when people talked about HDR, until I realized that they-1 15 I was a bit confused when people talked about HDR, because what they were -1 16 talking about had little to do with brightness. But then I realized that they 16 17 were referring to the wider goal of having more details in shadows and 17 18 highlights. A higher dynamic range is one piece of the puzzle, but not all of 18 19 it. @@ -32,8 +33,8 @@ four times as many color stops. 32 33 In SDR, black is 0% and white is 100%. HDR on the other hand makes a 33 34 distinction between surfaces and highlights. Surface white might for example be 34 35 defined at 90%, so that there is some headroom for highlights that are even35 -1 brighter. In fact, surface white on an HDR screen will in practice not be much36 -1 brighter than on an SDR screen.-1 36 brighter. In practice, surface white on an HDR screen will not be much brighter -1 37 than on an SDR screen. 37 38 38 39 ## Wider Gamut 39 40