I make computers do things. Mainly with Ruby, Swift, Terraform, and Kotlin. Professional typo spotter. he/him techhub.social/@sjs CTO at 1SE

Victoria, BC
Well look what we have here. I missed URLSessionWebSocketTask showing up in iOS 13.
Let’s stop with the clipboard witch hunts already. There are many legit reasons to check the clipboard, and you don’t have to check it on every keystroke in order to do something nefarious. Everyone jumping to the worst conclusions possible without any evidence is disheartening.
1
3
Sami Samhuri retweeted
Damn son, I almost got phished. @1Password just saved my bacon. That was close. Even though I was suspicious, I still almost got fooled.
151
2,048
6,953
Sami Samhuri retweeted
Beginning in Seed 2 @ViewBuilder will be automatically inferred for `var body` and other declarations that fulfill protocol requirements. However, applying @ViewBuilder will still be useful when creating your own helper properties and methods.
2
11
52
Spotted in #WWDC20 Fruta app that we can add @ViewBuilder to body in #SwiftUI to be able to conditionally return different views. I was using Group for it before. Adding @ViewBuilder also works in Xcode 11 for iOS 13 😯
12
69
519
Sami Samhuri retweeted
This caveat is buried deeply enough in the macOS Big Sur release notes that a lot of people are going to be bit by it. Creating a new volume in an existing APFS container had become the de facto best way to install a second OS.
26
133
356
Android Studio doesn’t beachball for 3-5 seconds when you open a layout either.
Uuuh I'm doing Android coding :S And I have a ___lot___ of complaints, but the UI editor and the constraints system is... actually... nicer than on iOS?? Constraints belong to views rather than as separate objects, so you can actually copy-paste?? and the XML is _readable_? 😳
1
Sami Samhuri retweeted
Tweaked a few things. Using iOS saliency analysis to find the least interesting side to dissolve.
Playing with particles. Cloning @PixaloopApp’s dispersion effect with Metal. AVDepthData is a gift.
2
1
5
Sami Samhuri retweeted
I open sourced the toy app I’ve been building to teach myself @pointfreeco’s composable architecture & SwiftUI. It’s an app to count down the days until upcoming milestones. github.com/jpsim/Milestones
6
12
118
Sami Samhuri retweeted
The next time an objector points out an “empty bike-lane,” remember it’s because they’re efficient. “This stretch in #Copenhagen conveys 8 times as many people on bikes compared to cars - still it's mostly cars we see.” — @urbanthoughts11 HT @anderspreben
Anders Adamsen
10
517
1,234
This looks like a great start! UTM is fun.
Finished the user guide for UTM. getutm.app/guide/
Anyone dealt with audio sync issues in AVFoundation before? It happens when adding many videos to a composition. stackoverflow.com/questions/…
Sami Samhuri retweeted
This is the history of all of computing technology, unfortunately. The open web gets replaced with a handful of privately-owned sites (for most people); computers that can install any software get replaced by phones that can only install from an app store (which takes 30%!); etc.
7
16
104
Sami Samhuri retweeted
I can't believe that Spotify has the audacity to even call its paywalled audio feeds "podcasts". They're trying to take ownership of the open ecosystem that grew podcasting from nothing to what it is now over 15 years. How can anyone at Spotify feel good about doing this?
8
63
219
Sami Samhuri retweeted
An evergreen reminder that declaring temporary variables inside of LLDB is a great way to test things out and more importantly help you avoid actually changing your codebase ✨
5
23
125
Can we please stop doing ridiculous nonsense with websites that don't need it? You don't need JS to make a button press or JS to make a link work or JS to type text or JS to load all content on a page or... just no. Developers, stop breaking the web, please. (11/11)
27
211
905
I'm sure there's other things I'm forgetting. I'm not anti-JavaScript, I'm anti-everything-through-JS. Why? It breaks basic functionality of the web. I can't disable trackers. I can't protect my privacy. And most of all, even things like typing and buttons just quit. (10/11)
5
91
586
I've been using NoScript, a browser extension that disables all JavaScript and lets you enable them on a server-by-server basis. Let me tell you about what I've learned and how broken the internet experience has been since doing this a few weeks ago. (1/11)
80
1,163
2,752
Sami Samhuri retweeted
2
26