#swiftlang

Dimitri Bounioldimitribouniol
2025-12-17

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's continue debugging the out-of-order updates from yesterday!

Come chill with me: youtube.com/live/Xm6TiS7jRUI

2025-12-17

Solved Day 9 Part 2, though it is slow:

Executing Advent of Code challenge 9...
...
Part 1 took 0.054538792 seconds, part 2 took 59.397111834 seconds.

Maybe I need to look for a better way to memoize the rectangle lines already checked if they fit inside the polygon.

#adventOfCode #SwiftLang

A graph of the programming puzzle. Red dots are red tiles in the elves' hall. Green line connects the red dots into a polygon. The puzzle was to find a largest rectangle fitting in the polygon that has two red tiles in opposite corners. Polygon forms a circle but has a deep section penetrating into the circle, making the problem harder to solve. Largest rectangle in blue line fits just below the penetrating section.
Dimitri Bounioldimitribouniol
2025-12-16

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let’s continue yesterday's debugging session and try to find out why changes are not persisted by the time we read them in tests!

Come chill with me: youtube.com/live/byeXN8WyvJ8

Dimitri Bounioldimitribouniol
2025-12-15

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let’s continue writing tests to make sure entries are properly committed when a list is being subscribed to!

Come chill with me: youtube.com/live/UoAvhA4LJ7k

2025-12-15

RE: social.lansky.name/@hn50/11572

Curious what other #swiftlang devs here think. I thought it was pretty fair, all things considered.

Somehow didn't mention concurrency once.

Dimitri Bounioldimitribouniol
2025-12-14

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let’s add tests to make sure lists are marked as updated when entries are!

Come chill with me: youtube.com/live/V8-7V4KTj_w

Dimitri Bounioldimitribouniol
2025-12-13

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Another short stream, but let's start adding tests for list entry commits!

Come chill with me: youtube.com/live/K7u8J3MATxg

Emory Dunn :tiny_cart:emorydunn@tinycart.club
2025-12-13

Digging out all of the weird input devices and unpublished libraries I’ve written for them

#SwiftLang

Dimitri Bounioldimitribouniol
2025-12-12

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's add tests for syncing list entries!

Come chill with me: youtube.com/live/7aNi8fldoBA

Dimitri Bounioldimitribouniol
2025-12-11

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's refactor cursors so they are always URL-safe!

Come chill with me: youtube.com/live/M7F9u41ui20

2025-12-11

I just completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7

Got to use my #SwiftLang Graph data structure created originally as a demo for students. Later used as a tool to generate exam questions.

Part 1: took some time to understand what does it mean when the talk about "...how many times the beam was split". Once I got that, it was easy to get those vertices that have an incoming edge (are a destination in an edge).

Part 2 took long to execute, wonder if there's something I should / could do about that... Not gonna (again), there's catching up to do. Here I needed to change how the graph was generated (allowing multiple edges along the same downwards route of beams), and some help (internet searches, no AI) to find out how to calculate distinct number of paths from the starting vertex to destination vertices, using memoization.

Executing Advent of Code challenge 7...
...
Part 1 took 1.341789292 seconds, part 2 took 25.035749 seconds.

Aleahimameahim
2025-12-11

Cupertino v0.5.0 is out 🍎

234,331 Apple docs. 287 frameworks. Nearly doubled the database.

The 5-day deep crawl finally finished. Kernel alone has 25K pages - IOKit, BSD, Mach APIs. The stuff you can never find when you
need it.

Raw docs are noise. Curated docs are signal.

brew install mihaelamj/tap/cupertino

aleahim.com/blog/cupertino-05-

Dimitri Bounioldimitribouniol
2025-12-10

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's investigate why permissions aren't being removed!

Come chill with me: youtube.com/live/3PGKbYK9ehY

Alex Ozunalexozun
2025-12-10

I suspect the limitation is due to the order of operations - Macros, being purely syntactic transformers, are expanded *before* the compilation steps necessary to evaluate static strings. Still, frustrated and wondering if it can be overcome in the future versions of

Alex Ozunalexozun
2025-12-10

I find it frustrating that macros can't accept evaluated static stings:

static let code: StaticString = "doSomething()"
@ Macro(code) // should take "doSomething()" instead of "code"

StaticString is known at compile time and is immutable, so intuitively it should be allowed to evaluate and be equivalent to
@ Macro("doSomething()")

This would enable some powerful and elegant code gen APIs.

Christopher Jr Rileycjrriley.ca@bsky.brid.gy
2025-12-09

I went ahead and made a Swift package for making an SRS system similar to WaniKani (including making a review engine that feels close to WaniKani). I intend to open source it, but I want to make a video about it as well + create a server using Vapor. #Swiftlang

Screenshot of the file hierarchy of the SRSCore Swift package.
2025-12-09

Yow. After doing almost pure Swift for the last year and having to go back to some Objective-C work, having switch statements limited to Integer is horrifying.

I need to hurry up and finish my Swift rewrite of this project.

#SwiftLang #ObjectiveC

2025-12-09

I just completed "Cafeteria" - Day 5 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/5

Solved with #SwiftLang Set<ClosedRange<Int>> and ClosedRange<Int> by combining ranges held in a Set. In the end there was 89 ranges out of initial 192 ranges.

Catching up tomorrow if I have time.

Executing Advent of Code challenge 5...
...
Part 1 took 0.002308667 seconds, part 2 took 0.001986833 seconds.

Sébastien Stormacqsebsto
2025-12-09

Join us tonight for the Swift Server meetup

You'll learn about serverless Swift backend with Andrea and how to create your server deployment pipeline in Swift with Moritz

6pm London, 7pm Berlin - it's live, we'll chat and take your questions.
youtube.com/live/-iYxwx_GJa0

Dimitri Bounioldimitribouniol
2025-12-09

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Short and unexpectedly early stream, but let's add more tests!

Come chill with me: youtube.com/live/wdXfqANTTSA

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst