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
Sami Samhuri retweeted
What I want to see on Twitter: the tweets voluntarily tweeted by people I choose to follow, in order What Twitter wants to show me: anything but that, apparently
108
2,161
10,277
Sami Samhuri retweeted
Twitter Company Email Addresses Why It’s #BreakingMyTwitter: mjtsai.com/blog/2018/08/16/t… #mjtsaiblog
2
1
2
Sami Samhuri retweeted
"These APIs were only used by 1% of our developers" is so meaningless I can only believe it was selected in bad faith as the metric to share. What percentage of "tweet-views via 3rd party clients" do they represent?
I shared the following message with our Twitter team this morning
3
9
29
This is obvious bullshit. Everyone I know who’s been using Twitter for 10+ years has the exact same complaints. It’s almost impressive at how bad Twitter is at stewarding their own platform. It’s sad how hard they’re trying to drive us away. #BreakingMyTwitter
Replying to @robjohnson
We’ve heard feedback (#breakingmytwitter) from our customers about the pain this causes. We’re committed to understanding why people hire 3rd party clients over our own apps, and we’re going to do better with communicating changes
3
I do this and I put else on a new line too.
Code idiosyncrasy: I prefer open brace on the same line, unless that line was split due to width constraints. for (i = 0; i < 10; i++) { … } but for (someLongVariableName = 0; someLongVariableName < 10; someLongVariableName++) { … }
1
I want to run the thread sanitizer on our camera because I suspect we have a bug there but TSAN doesn’t work on devices and the sim has no camera support. If Xcode 11 doesn’t add anything except for bridging the simulator’s camera to my Mac’s camera I’ll be thrilled.
PSA: If your build time is measured in minutes and not seconds then quitting Dropbox will probably give you a noticeable boost. It’s a performance virus, like AV software.
1
Reading @raganwald's JavaScript Allonge, all was going fine and sweet until I got to the Y combinator. I just don't get it. I can't move on until I get it. I can't stop, I can't not stop.
1
2
If you love your third-party Twitter app, I’ve got some really shitty news for you: apps-of-a-feather.com #BreakingMyTwitter
20
525
278
Without 3rd party apps I don’t think I’d really use Twitter anymore. I read tweets in chronological order, not backwards. @TwitterDev: please consider supporting the apps that made you what you are now. #BreakingMyTwitter
2
Sami Samhuri retweeted
Canada released a report on legal weed today. The authors needed a way to compare the maximum size of a licensed "micro-cultivation" area. And lo, in all its Canadian glory:
125
3,654
8,776
We have a choice about how to react to things. A lot of the time our reactions only make things worse. Pay attention to your reactions.
No need to feel sad on my behalf. It's much nicer to see these people for what they are (nasty), than to let them control your emotions!
2
Sami Samhuri retweeted
🤓 post alert: How I discovered Instagram's upcoming video calling feature on iOS medium.com/@guilhermerambo/h…
11
54
224
I don’t think I have a use for this right now but what a great idea and execution. Regexes on permissions is a cool and nerdy touch.
Interesting Rust tool to find files with SQL-like queries: github.com/jhspetersson/fsel…
Even if you’re using open source libraries and the connection is encrypted end-to-end you could be attacked if you’re not auditing the code (and let’s be honest, most of us are not and probably don’t have time to). Don’t take on new dependencies lightly.
Replying to @KrauseFx
The SDKs included in an iOS app run in the same scope as your app, meaning they get access to the same - keychain data - files - app permission (hello location data and photo library) - other sensitive user data (passwords, keys, camera)
1
4
The solution is pretty simple too, it’s just knowing how to set it all up.
3
4 years later I’m still learning auto-layout. Today I figured out how to get a scroll view to hug a multiline label, and have the scroll view expand to fill the available height before scrolling. And the solution is way better than just reverting to manual layout (to me anyway).
1
5