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
ƃuoɹʇs puɐlsᴉ @northisupVI
8
Sami Samhuri retweeted
Careers aren't a linear ladder. Careers are one mechanism to check the "yes" box for questions such as: Is my family cared for? Do I have purpose? Can I do what I love? etc. Different questions for different people. A straight path rarely guarantees "yes" to all of it. Do you.
14
153
1,048
I’d love to know the source of this comic. It’s so apt. nitter.catsarch.com/d_ylan7/status/1411162…
1
It’s @t_b_toro, for the New Yorker.
Sami Samhuri retweeted
Noise cancelling headphones don’t solve the noise problem, as this study shows. They don’t significantly improve our ability to concentrate in office environments. And again, it’s a bit of a trap: we feel that they help us, even though they don’t! pub.dega-akustik.de/ICA2019/…
13
48
131
Sami Samhuri retweeted
Noise is a remarkably insidious form of pollution: a 10db noise increase (from dishwasher to vacuum) drops productivity by 5%. But the kicker is you don't notice: noise hurts your ability to think, not your effort. You work as hard but do worse! And poorer areas have more noise.
27
622
2,009
Sami Samhuri retweeted
Wow man, pour one out for McAfee. Never liked him but always liked reading about him.
1
1
The PreviewProvider protocol or at least its static previews method should be marked with @MainActor so we don't have to do that manually on every view that has a @MainActor model. FB9200256
I’ve yet to see a single person who likes Safari’s new tabs on the iPad or Mac. Pretty damning and I hope they don’t have too much pride to fix it, before shipping it and leaving it out there for years like they often do. I use tabs, and controls like reload. Don’t hide them.
1
1
Ok there’s at least one person who likes them
Maybe I’m the only person who actually likes the new design? The new tab bar is beneficial to real screen estate, it’s a joy to use Safari that doesn’t have 10% of the screen covered in toolbars. I also found the moving address bars feel fine after a day or two…
So many times the bug ends up being caused by something that I had assumed was correct and just couldn’t be the issue. Always check your assumptions. Up to a point. It’s still almost never a compiler bug.
we think about debugging as a technical skill (and it absolutely is!!) but a huge amount of it is managing your feelings so you don't get discouraged and being self-aware so you can recognize your incorrect assumptions
1
Sami Samhuri retweeted
"#if for postfix member expressions" sounds obscure, but if you know you know – and you'll be really glad this one has landed.
6
15
135
✅ Strongly support ✅ Strongly support ✅ Strongly support
1
1
You can also fully qualify identifiers to avoid ambiguity. Something like: struct Widget: SwiftUI.Widget { … }
Sami Samhuri retweeted
Also alt-. which does the same thing except it cycles backwards with multiple presses. Hold alt and hit . until you see the arg you want. And substitution, !!:gs/file1/file2
1
3
What themes do you all use to name your computers? I’ve done local geography (Gulf islands) and Zelda characters. Maybe I’ll start using mountains and parks next.
Nothing prepares you for this stress: "Please choose a hostname for this machine"
1
1
1. edit.com 2. Notepad 3. Notepad++ 4. vim 5 and 6. TextMate on OS X and emacs on Linux 7. Sublime Text 8. TextMate 2 9. VS Code (as of 2 weeks ago) I still frequently use vim and I use Xcode, RubyMine, and Android Studio too.
What is your history of text editors/IDEs? I know I’m missing some, but mine over the course of 14 years... - Dreamweaver - Netbeans - Notepad++ - Brackets - Sublime Text - Atom - VS Code
\b is a really useful thing! It matches a word boundary.
Regex failure in the wild "Experts say Russia accidentally blocked domains with the characters “t.co”, like Microsoft.com, as well as some government websites, while slowing down Twitter" restofworld.org/2021/how-the…
1
The only time I’ve been asked to do whiteboard puzzles on-the-spot I bombed so terribly that they didn’t even get back to me. On the hiring side, having a conversation with someone about the actual work they’ll be doing has yet to fail me. It’s obvious if they know their stuff.
Replying to @chockenberry
And why “I want to see how you think” approaches to interviewing (whiteboards, brain teasers) are so bad at identifying talent. If you gave Gaiman a prompt and watched him write while you asked “what are you thinking now?” for 30 minutes, you’d come away believing he’s terrible.
6