Twitter | Search | |
Rob Napier
Swift and Go. Love 'em both. They make me mad in completely different ways. Infosec as required.
15,656
Tweets
421
Following
7,720
Followers
Tweets
Rob Napier retweeted
David Smith 2h
Some folks elsewhere found my summary of QoS classes useful: User Interactive: “frames will drop if this gets preempted” User Initiated: “the user will get impatient if this gets preempted” Utility: “this should happen some time soon” Background: “this should probably happen”
Reply Retweet Like
Rob Napier 3h
Replying to @kingatarthur
And it reproduces in the app in Xcode 12 on an iOS 14 simulator. The app's View is more complex, so I've been trying to get to the simplest reproducing example.
Reply Retweet Like
Rob Napier 3h
Replying to @kingatarthur
Yeah, that's where this started. All simulator (though not device). I moved it to previews just so I could bring it down to simple file that showed all the versions in one screen. But it also now don't see it in 12 (which is where all of this started). So I'm at a loss.
Reply Retweet Like
Rob Napier 3h
Replying to @alladinian
Hmmm…I ran into the problem originally in Xcode 12 (I went back to 11.6 to see if it was a regression). But I agree when I just loaded it into Xcode 12 it doesn't reproduce, so now I'm even more puzzled.
Reply Retweet Like
Rob Napier 4h
Replying to @cocoaphony
<Throwing things intensifies…> List has similar layout problems when displayed inside a TabView. May be time to build this with a UILabel, but I haven't really dug into how to make a self-sizing UIView inside of a SwiftUI hierarchy…
Reply Retweet Like
Rob Napier 4h
Replying to @cocoaphony
I will say that the Previews system is absolutely awesome for working this kind of thing out when it works. (Going back to 11.6 made debugging this possible.)
Reply Retweet Like
Rob Napier 4h
Replying to @cocoaphony
Struggling to figure out how to work around this bug. I could switch to List, but List imposes a lot of little headaches of its own, because it's really a UITableView and doesn't play well with all of SwiftUI. I'm not ready to switch to iOS 14-only for LazyVStack. Probably List…
Reply Retweet Like
Rob Napier 4h
<Insert standard rant about Feedback here. I'm tired of complaining about it.> Interesting SwiftUI bug. I'm struggling to think of how SwiftUI is implemented such that it this failure happens. I'm guessing it's related to how UIViews get embedded.
Reply Retweet Like
Rob Napier 8h
Replying to @cocoaphony
It may seem a silly exercise (and by the time that (1-x)^5 term shows up, it's getting a little out of control). But what's powerful is how it makes you think about high school algebra and calculus and how the tools fit together, and how mathematicians use these tools.
Reply Retweet Like
Rob Napier 8h
So has been my favorite for getting a better intuition on basic (high school) math. But I hadn't seen his OVERKILL series before where he proves simple things in really complicated ways (~ basic calculus) and it is what it says on the tin.
Reply Retweet Like
Rob Napier retweeted
Resistance Is Vital Ω 24h
Admit it, you are humming the theme song RIGHT NOW. (Thanks !)
Reply Retweet Like
Rob Napier Aug 2
Replying to @Leehro @ameir
I lost so many Steam games when I moved to 10.15. Bracing myself for the move to Apple Silicon. (Who am I kidding? I've finally accepted that I need to build a Windows gaming computer to sit beside my Mac work computer. So it won't matter, I just keep putting it off…)
Reply Retweet Like
Rob Napier Aug 1
Replying to @_aijaz_
As a big fan of both Handspring and Treo, I did not know about this phone. What’s it called?
Reply Retweet Like
Rob Napier Aug 1
Replying to @ameir
The 2015 is still a rock solid choice.
Reply Retweet Like
Rob Napier Aug 1
Replying to @gte
The Unicode property is Quotation_Mark, but I don’t believe there’s an open/close version. The most common (QUOTATION MARK) is symmetric, so tricky anyway.
Reply Retweet Like
Rob Napier Aug 1
Replying to @gte
Yes. In Swift you can use .isQuotationMark. But of course there are corner cases around that.
Reply Retweet Like
Rob Napier Aug 1
Every time I think about Ballmer’s “Developers! Developers! Developers!” chant and I have to do penance for making fun of him at the time because now I dream of Cook remembering that we’re here.
Reply Retweet Like
Rob Napier Aug 1
Replying to @tTikitu
Speaking of, my wife finally started playing her mandolin, which meant *I* was allowed to start learning mandolin. (She forbade me from learning it before she got to. :D) Very fun little instrument! I'm liking . Do you have any other resources you like?
Reply Retweet Like
Rob Napier Aug 1
Replying to @cocoaphony
So, the second guitar I've owned (and the first one that was actually playable), and back to being the one I reach for most.
Reply Retweet Like
Rob Napier Aug 1
Replying to @cocoaphony
My one worry is if the thumbwheel gets bumped, I'm afraid the string will come out. But so far, so good and it's breathed some new life into this guitar, and now I'm feeling much braver about exploring other mods and upgrades. And now I'm eying the tuners on my PRS… :D
Reply Retweet Like