Honza Dvorsky
Swift Server Engineer at Apple 🍎🇨🇿🇺🇸 he/him
Signal: honzadvorsky.99
This is my dev account, see @honzadvorsky.com for my personal alt account. I only speak for myself.
github.com/czechboy0
https://honzadvorsky.com
- [Not loaded yet]
- [Not loaded yet]
- Well I am indeed surprised 🙂
- Without looking up the docs... serve as the default language version for all targets in the package?
- After 18 months of gestation, Godot and SwiftUI had a baby! Xogot is out now on the AppStore: blog.la-terminal.net/xogot-godot-... AppStore: apps.apple.com/us/app/xogot...
- [Not loaded yet]
- Nice! Also have a chronological and a Daily version - in the Feeds tab on my profile. Of course they are served by a server written in Swift 🏎️
- Congrats on the release! And congrats on (very likely) securing the next 6 days at the top of the swiftlang Weekly feed 😄 bsky.app/profile/did:...
- There’s a constant tension between making one large package vs multiple, smaller ones. So many tradeoffs! And I’ve changed my mind multiple times as projects progress. But in general, I favor smaller with a focus on composition and minimizing transitive dependencies. Rarely regret going too small.
- Yeah, and package traits are further complicating this, as they're a great new tool for separating related clusters of code. 👀
- [Not loaded yet]
- Solid choice
- The urge to build a bare-bones AppView in Ruby intensifies
- Redirect it to a constructive action: build it in Swift instead 👀🏎️
- [Not loaded yet]
- We shouldn't forget that these billionaires are just sad losers with no friends who are running out of human sycophants so they need to create artificial ones
- [Not loaded yet]
- DDD?
- [Not loaded yet]
- Swift belongs on that server
- [Not loaded yet]
- [Not loaded yet]
- 🫡
- [Not loaded yet]
- This feed ends up having a lot of swiftui content bsky.app/profile/did:...
- [Not loaded yet]
- [Not loaded yet]
- 👏
- [Not loaded yet]
- [Not loaded yet]
- Yeah, measure > vibes to find the 3%, assume intuition is wrong
- Option A all the way IMO 🫢
- [Not loaded yet]
- [Not loaded yet]
- Good choice, Kofola rules
- Huh, looks like a certain warehouse in a certain country got a new assignment for Q2 🫢 Buckle up folks, they're here, so expect some turbulence.
- cc @cjrriley.com 👏
- ☕ In case you missed @kto.so's talk from Try Swift! about Swift <-> Java interop 👀 youtu.be/vgtzhTOhEbs?...
- 🏎️ Check out @simonjbeaumont.com's talk from Try Swift! where he builds a ChatGPT Linux proxy server in 15mins on stage using Swift OpenAPI 👀 youtu.be/yK__6GF_tvM?...
- [Not loaded yet]
- I'm genuinely excited about this, I've misused @_silgen_name way too many times 👀
- [Not loaded yet]
- [Not loaded yet]
- In-process plugins from different maintainers can become tricky to debug. I'm now more of a fan of running each plugin in its own process and using some simple IPC (like minified JSON events in both directions).
- [Not loaded yet]
- Well it certainly should be now
- ⚠️ Just a heads up that the swiftlang feeds aren't updating with new posts right now. Seems Jetstream changed something and the websocket is failing right now. Investigating 👀 (Right now, the feed is ~2h behind) Bluesky's Jetstream: github.com/bluesky-soci...
- I had configured 1MB as the max frame size on the websocket, but it looks like Jetstream is now sending larger payloads at once: github.com/bluesky-soci... Tried bumping it to 16MB, stand by to see if it helped 👀
- Eyy, we're back in business (recovering) 🚀 Should be caught up in a few mins. I should probably set alerts for the firehose getting behind by more than a few mins 😬 But who knew I'd need pagerduty for my weekend projects? 🤦♂️
- [Not loaded yet]
- [Not loaded yet]
- Oh I see, it goes through Objective-C. I assumed this interop was closer to github.com/swiftlang/sw..., which could be used on Linux servers as well.
- I created these custom feeds for myself, because I wanted to stop doom-scrolling. I also love swiftlang and wanted a weekend project ✅ But I guess you can use them too... but only a little, as a treat. 👀 Find these links in the Feeds tab on my profile. And you enjoy them? Like and share further 🔗
- Don't forget to hit the bell icon to not miss future episodes... wait no
- I also have a typo in the OP, what a day
- [Not loaded yet]
- [Not loaded yet]
- Whoops sorry, you're right - Swift itself works on Windows, but not NIO.
- [Not loaded yet]
- Yes, all the platforms listed are supported by Swift Server 🙂 What libraries did you use before?
- Any links to the underlying work?
- [Not loaded yet]
- It should be pretty simple, check out these examples as a starting point github.com/apple/swift-...
- Fun stat from the custom swiftlang feed: only 2% of all posts mentioning the word "swift" on Bluesky are actually about the programming language (hi, Taylor). About 70/3500 daily. Yet, the feed seems to have a very low rate of false positives. LLMs are very useful here 👏 bsky.app/profile/czec...
- [Not loaded yet]
- Shaping up to be less than $5 a month for the LLM API calls, but I only just started so ask me again in a few months.
- [Not loaded yet]
- TL;DR - calling the ChatGPT API, using the cheap 4o-mini model, using a system prompt that explains that the LLM should return a range of 0.0 to 1.0 how related the post is to the Swift programming language. Works well enough 🙂
- [Not loaded yet]
- 👑
- @openapis.org here's a little custom feed you might like 🙂 bsky.app/profile/did:...
- If you end up creating an official one, I'd be happy to decommission mine and point people your way. I just created this one months ago to fill the void and keep up with OpenAPI content on Bluesky
- Eyy, welcome OpenAPI
- [Not loaded yet]
- Yes, a pro tip to stay under the radar in the Swiftlang community 😄
- And ironically (but correctly), this post does _not_ end up in the feed, because I've strongly instructed the evaluation LLM to take any hints of Taylor Swift as a signal that the post is not about the programming language. Somehow I didn't anticipate posts about _both_ 😬
- [Not loaded yet]
- [Not loaded yet]
- Glad to hear it's better. Yeah turns out the volume is reasonable (~1 "Swift" post per minute on average), and LLM APIs are cheap enough nowadays.
- It's work in progress, I've described it in some replies. Since the vast majority of posts mentioning "Swift" are not about the language, but the singer, I'm using an LLM to parse out the meaning, and only keeping English posts that relate to the programming language. But it'll continue to change.
- In the future I could do other language-specific variants as well, but this is a weekend project so I only spend a few hours per week working on it 🙂
- The first new feed: "swiftlang (Top daily)" bsky.app/profile/czec...
- And the second one: "swiftlang (Top weekly)" bsky.app/profile/czec... Like and share 🔥
- They're the top posts based on the number of reposts + likes. Not a perfect metric, I know, but makes posts easier to consume if you only want to check Bluesky once a day, or once a week. It's healthy not to be glued to social media, right? Keep the feedback coming 🙏 3 posts with links follow...
- The existing reverse-chronological "swiftlang (Latest)" feed bsky.app/profile/czec...