Ugh, the What’s new in Swift got me excited for a few seconds. I was fully prepared to finally see Linux cross compilation and debugging from within Xcode, the same like what we have for Darwin. But it looks like what’s new is what’s old, we have had that cross compilation for years (probably for more than 5?). “fremdschämen”
@inthehands Yes, but you have to do the I/O to write it to a file, and then load it into a buffer, then delete the file. I'd like the byte representation of an in-memory db w/o doing any I/O.
@finestructure@inthehands This is not the ask, SQLite has an in-memory DB which that stuff is probably using. The question is how to serialize that in-memory SQLite DB to say a `Data`. I think the only way is to backup the DB to a file, then load the file into a Data and drop the file.
It is a bit unfortunate that one can't backup to and restore a #SQlite database from a byte buffer. Otherwise one could also use it to send serialized data over the network 🙈
@inthehands I'm not kidding, literally every time I touch a Ruby project, be it Fastlane stuff or Jekyll, it simply won't work. Yes, I'm a noob about it and don't care about Ruby, but that's how it works for me. I usually end up getting it running somehow, but don't necessarily know why 🙈
@inthehands I have to fight with Ruby literally every single time I have to touch it, it is a mess too. Python might have an unusual excuse: The original idea was “batteries included”.
@inthehands If it would be hidden completely that would be OK, but this is just bonkers. Afterthought? It was available from day 1. (and the issue is non-existent w/ the XDR)
The Studio Display is generally good and I like it (I even think the camera is just fine), but I don't get why they messed up the backside story that bad.
I've setup "Northwind.swift" on GitHub. The goal of the org is to host the Northwind database for various #SwiftLang persistence frameworks. The DB is pretty old, but since it is so common, it makes it easy to compare how persistence works across different systems. It currently contains packages w/ prefilled stores for Lighter, #SwiftData and #CoreData + ManagedModels (I expect more to come). Can be used for demos, tutorials or just playing around with the frameworks. https://github.com/Northwind-swift
When using the new Observation features in #Swiftlang, be careful with the naming of your properties. It creates a stored property w/ an underscore in front, so don't do the same, surprises may happen. Also didSet doesn't work, in case you didn't notice yet (via @martinlexow). Though the generated code actually moves the didSet to the fresh new property (not sure this is just a bug or actually impossible to do right w/ macros).