Manipulating the new AttributedString directly however, does yield, with a little effort, good results.
Take a look here:-
github.com/disc0infern0...
Manipulating the new AttributedString directly however, does yield, with a little effort, good results.
Take a look here:-
github.com/disc0infern0...
Iirc no-one could agree in the pitch how it should work, with most people just giving up and rolling their own. That may not be wholly accurate. But itβs the impression I got.
I continue to be impressed by your ability to sift through the internet to unearth the gems that you highlight here or in your emails. Thankyou.
And they are all blissfully unaware of the tech to rule them all? -perhaps when AI shrugs off their meat sack overlords? Gibson needs to update this Asimovian/Tolkien story.
Or possibly the reluctance to read it.
I'm GenX. We grew up in an all-print world. We read really fast. So, my Millennial and GenZ peeps, I beg you for the love of Bananarama, please just send me the article and not the TikTok of the dude talking about the article. In Prince's funky name, amen.
Universal has revealed that Christopher Nolan will adapt #TheOdyssey, the epic poem from Homer. Matt Damon, Tom Holland, Zendaya, Robert Pattinson, Lupita Nyongβo, Anne Hathaway and Charlize Theron are set to star: bit.ly/4gO3UH7
What is the essence of your solution?
I have seen that too. It may not be optimal, but I ignored it and carried on. It all still works yes?
and not forgetting the great Xcode Inspector Morse.
(played by John Thaw on UKTV. If you haven't seen it - it's a wonderful thing.)
Thanks to @stewartlynch.bsky.social @massicotte.org @johnsundell.bsky.social @fatbobman.com , we now have httpPing:
github.com/disc0infern0...
It may be of academic interest to peruse how I made it work on older OS's, because it required the use of DispatchGroup and a tiny unchecked Sendable class that I could have avoided if only Mutex was back ported.
If anyone can see a way to avoid that, I would love to hear about it.
So I then made a thing, very much like ping, but it's an http ping, using http instead of icmp.
I also wanted to make it work on Swift 6 with full checking and main actor isolation by default, and no pre concurrency cheating.
So I thought there should be a way of making this work for all OS's. This made me learn a lot about "Approachable Concurrency". Thanks to Fatbobman and Mark Massicote for their posts on this subject.
Stewarts solution is good, but it didn't follow re-directs, nor did it start with HEAD to save bandwidth (and switch to GET if HEAD request was refused).
Most importantly, it didn't work on all OS's.
Swift concurrency has made getting data from a url really nice, but only on modern OS.
So it started with SwiftBySundells macro to make non optional URL's, but was frustrated that (quite reasonably) you can't escape the sandbox in a macro to check if the supplier url string is actually a working web site.
Then I saw Stewart Lynch's post where he claimed URL validation .
Your talk made non isolated(non sending) actually make sense in my head for the first time. Thankyou!
Growing up, the mnemonic taught to me was
Good Boys Deserve Football - Always
I think burritos were not widely known or eaten in the UK at the time :)
Would be great if you could post links to some of the great resources you found? In your earlier post, I only saw a recommendation for a book behind a paywall.
Finessing here: In terms of reachability, I understand 403 and 405 http status codes also represent valid contact. As some sites do not support the Head method, it may be best to use Get, and set it to request 0 bytes instead?
I like the idea of getting http headers to validate the site exists. (Trying to find/develop a βpingβ equivalent is a black hole I donβt want to revisit. )
Thankyou! Iβll try that - donβt know why it didnβt occur to me.
Is there a good Bluesky client for iPad and/or Mac ? I dislike peering at my phone, and find Iβm wanting to browse the posts on a larger screen.
Iβm not sure if that helps with Localization, but let me know :)
@useyourloaf.com Helper for Text from an optional value that is not String:
ππ‘πππππππβπΎπππππππβπ ππππβπππππππ:βπ»ππππππππππππππ²ππππππππππβ{
ππππβπππππ(_βπππππππππππππ:βππππππ)ββ>βππππππβ{
ππβπππβππππβ{βππππππ(ππππ)β}βππππβ{βπππππππππππππβ}}}
varβc:βπΈππ?
πππππ(βcβππβ\(π.πππππ("πot setβ))β)
I believe you are right. I read it quickly as it triggered my angst with AttributedString in general. It likely has to be a non serializable class however due to the aforementioned bridging.
Also, @krzyzanowskim.com has a Text Kit 1 library which he uses for Notepad.exe.
@massicotte.org Chime library at github.com/ChimeHQ/Chime shows how complex this game gets.