Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Ole Begemann

@ole@chaos.social
mastodon 4.6.9
  • Open on chaos.social

Swift, squirrels, cycling, cities for people not cars. My book: Advanced Swift. Berlin. Languages: de/en.

Invisible characters: When posting code, I sometimes insert a zero-width space (U+2060) to prevent things from turning into hashtags or mentions. Example: `@⁠escaping #⁠line`. Beware when copy-pasting such code into your editor.

3323 Followers
475 Following
29 Posts
Joined August 15, 2018
Web:
https://oleb.net
Squirrels:
https://chaos.social/@ole/tagged/squirrel
Pronouns:
he/him
Open post
Ole Begemann @ole@chaos.social
· 3w ago

Very nerdy article about YAML by @pjb@sharkey.slugcat.systems, well worth reading if you work with YAML. I love the history deep dive about YAML’s implicit typing rules and how early they were removed (in 2002, way before the spec hit 1.0). https://sharkey.slugcat.systems/notes/aqzbrmwqrr1l0007

And good advice: if your program ingests loosely structured data such as YAML, your code should deserialize it through a strongly typed schema (e.g. using Codable in Swift). This automatically avoids YAML’s “Norway problem”.

sharkey.slugcat.systems
10
0
2
0
Open post
Ole Begemann @ole@chaos.social
· 3w ago

I love this Slo Mo Guys video about camera shutters. Incredibly detailed footage, combined with great explanations how mechanical and electronic shutters work, what rolling shutter is, flash photography etc. https://www.youtube.com/watch?v=8nyQWmflve4

5
0
2
0
Open post
Ole Begemann @ole@chaos.social
· 25mo ago

1. German crime reporter asks MS Copilot what it knows about him.
2. Copilot falsely accuses him of child abuse, fraud, theft.
3. Copilot asserts “it is unfortunate that someone with such a criminal past has a family” and provides his (correct!) address and phone number.
4. Reporter files a libel complaint, but prosecutors refuse to take on the case: it’s not a criminal offense because no person committed it.

Must be great to be a big tech company. https://www.swr.de/swraktuell/baden-wuerttemberg/tuebingen/ki-macht-tuebinger-journalist-zum-kinderschaender-100.html

swr.de
518
31
536
0
Open post
Ole Begemann @ole@chaos.social
· 2mo ago

@marijn@mastodon.social Hey Marijn, I just discovered your work via a link to ProseMirror (and I’ve been a CodeMirror user for years through Obsidian). I just wanted to say thank you for and congratulations on all your work, and especially how incredibly fast all your websites are, including your Forgejo instance. It’s immediately noticeable when every page loads instantly, and it’s a shame when you think that the entire web could (and should) be this fast.

4
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago

I wish Sparkle (the Mac app update framework) would keep displaying the release notes after you click the Install button. I often click the button reflexively before actually reading what changed. And the brief wait time while the update is downloading is the perfect reading time.

19
6
0
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago

I just found out that the Text Replacements feature in macOS is somewhat case-sensitive in an interesting way. Example:

• In System Settings > Keyboard > Text Replacements, add an entry to replace ":sigma" with "σ".
• This works as expected when you type ":sigma". *But also*, when you type ":Sigma" with a capital S, it gets replaced with "Σ", i.e. the corresponding capital letter.

(Observed on macOS 26.4.1)

20
8
6
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago

Useful Mac/Unix/Linux terminal command for listing a directory by size (incl. subdirs):

du -h -d 1 | sort --sort=human-numeric

This will list every file/dir in with its total size, with the biggest items sorted last (where you don’t have to scroll to see them).

17
4
0
0
Open post
Ole Begemann @ole@chaos.social
· 6mo ago

Pro tip if you’re running a Swift-based web/app server: Watch the Server ∕ Security Updates category on the Swift Forums to get an email notification about new security issues. Click the bell icon and set the status to Watching. https://forums.swift.org/c/server/security-updates/50

forums.swift.org
16
0
8
0
Open post
Ole Begemann @ole@chaos.social
· 6mo ago

I didn’t know binaries could embed LLDB-specific bytecode for formatting custom data types nicely in the debugger, as shown in this swift-collections PR: https://github.com/apple/swift-collections/pull/607. The code also uses fancy new Swift features to place the bytecode in a specific linker section:

@⁠section(".lldbformatters")
@⁠used
let __BasicContainers___RigidArray______formatter: (UInt8, UInt8, …, UInt8) = …

github.com
18
2
3
0
Open post
Ole Begemann @ole@chaos.social
· 7mo ago
Replying to
Another data loss opportunity in Apple’s Passwords.app: the Notes field only accepts ~4 KB of text (why?). If you keep typing at the end of the text, the app won’t let you. But if you paste something at the beginning of the text, the app allows it and just deletes the same number of characters from the end. WTF! Also observed on macOS 26.2.
13
0
2
0
Open post
Ole Begemann @ole@chaos.social
· 6mo ago
Replying to
@gfoster@hachyderm.io I had forgotten about @⁠DebugDescription, thanks a lot for calling it out! In my quick test, it looks like @⁠DebugDescription emits a @⁠section(".lldbsummaries"), which contains a sort of format string. So it’s subtly different than the @⁠section(".lldbformatters") generated by the PR I linked to, which is presumably more flexible as it contains actual code the debugger executes. But most types probably don’t need that flexibility.
5
0
1
0
Open post
Ole Begemann @ole@chaos.social
· 7mo ago
Replying to on mastodon.social

@cocoaphony@mastodon.social There is swift inspect dump-concurrency, but I don’t know anything about it beside these two forum posts from @ktoso@mastodon.social and Johannes Weiss. I have no idea if this can inspect iOS apps in the simulator or even on device.

• https://forums.swift.org/t/task-debugging/64181/2 • https://forums.swift.org/t/asyncthrowingstream-unexpectedly-hanging/81890/5

forums.swift.org
3
2
0
0
Open post
Ole Begemann @ole@chaos.social
· 7mo ago
Replying to
@vrutberg@masto.nu @mattiem@mastodon.social Re: AsyncSequence.share(), also note this recent forum thread: https://forums.swift.org/t/new-subscribers-to-share-dont-receive-buffered-values-whats-a-tidy-option-to-get-that/84652 tl;dr: share() is more like PassthroughSubject than CurrentValueSubject.
New subscribers to `share()` don't receive buffered values: what's a tidy option to get that?
Swift Forums

New subscribers to `share()` don't receive buffered values: what's a tidy option to get that?

Hi folks, I’m using .share(bufferingPolicy: .bufferingNewest(1)) and was a bit surprised by what I got: when all existing consumers have processed that single buffered element, a new consumer will not receive it. From reading back the various discussions I understand this is a deliberate decision, but I’m wondering what folks more expert than I would suggest to get the behaviour I expected. (Namely: I’m specifying a fixed-size buffer and a drop policy, and I would like new consumers to receive t

3
1
1
0
Open post
Ole Begemann @ole@chaos.social
· 25mo ago
Replying to
@jeffwatkins@mastodon.social Profits without accountability are the best profits!
19
0
1
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago
Replying to
@jrose@social.belkadan.com Yeah, I know. ;-) I searched for a similar issue before posting but didn’t find anything on GitHub. I figure it’s probably not a highly requested feature if it hasn’t come up before.
1
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 7mo ago
Replying to
@dgoldsmith@mastodon.social No, sorry. I don't participate in Apple's feedback process.
2
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago
Replying to
@fmarini@mastodon.social Yeah, depending on your intent. In my example it’s very handy, but I can also imagine scenarios where this behavior isn’t what you want.
1
1
0
0
Open post
Ole Begemann @ole@chaos.social
· 47mo ago
Replying to
Via the Stay Forever podcast, which recently had a 3-hour episode on the history of the mouse (in German): https://www.stayforever.de/2022/10/die-maus-sft-8/ They also published an interview with Rainer Mallebrein, the engineer who developed the mouse for Telefunken: https://www.stayforever.de/2022/11/die-maus-das-interview/
stayforever.de
20
6
5
0
Open post
Ole Begemann @ole@chaos.social
· 20mo ago
Replying to
@groue Congratulations on 10 years! What an achievement, maintaining and improving such a well-loved library for such a long time (and helping improving Swift in the process)!
2
1
0
0
Open post
Ole Begemann @ole@chaos.social
· 25mo ago
Replying to
@kolya@social.cologne Ja, das fand ich auch befremdlich.
1
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 46mo ago
Replying to
@noctarius2k@mastodon.online I didn’t take the photos, but according to the links this mouse actually belongs to the Computer History Museum in California.
2
2
0
0
Open post
Ole Begemann @ole@chaos.social
· 47mo ago
Replying to
@bondo@mastodon.social Or German is derived from Danish? ;-) But yeah, reading Danish/Swedish/Norwegian/Dutch/German is often quite easy if you speak one of them. Listening/pronunciation not so much, unfortunately. Danish mostly sounds like gibberish to me.
2
6
0
0
Open post
Ole Begemann @ole@chaos.social
· 46mo ago
Replying to
@mjdxp@snowdin.town According to the podcast, Telefunken had a contract to design new workstations for German air traffic controllers. Apparently at the time the Americans already used trackballs to select blips on a radar screen, and the Germans wanted something similar.
1
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 2mo ago

@marhei@zug.network Danke!

0
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago
Replying to
@tempelorg@iosdev.space I love it when app developers do that!
0
0
0
0
Open post
Ole Begemann @ole@chaos.social
· 17mo ago
Replying to
@Migueldeicaza@mastodon.social Congratulations!
0
1
0
0
Open post
Ole Begemann @ole@chaos.social
· 5mo ago
Replying to
@chbeer@mastodon.social https://chaos.social/@ole/116517354446313606
chaos.social
0
1
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 03:37:41 UTC