Sami Samhuri (@_sjs) header
Sami Samhuri (@_sjs) profile picture

I make computers do things. Mainly with Ruby, Swift, Terraform, and Kotlin. Professional typo spotter. he/him https://xitter.cf/t.co/TvXJJF4Hyw CTO at 1SE

Victoria, BC
Joined April 2007
Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)Photo by Sami Samhuri (@_sjs)
I’d like a product that uses ChatGPT (and future variants, but its current form is good enough for this) to just respond endlessly to spammers. Engage them in conversation as long as possible. I’m sure both sides will weaponize this but at least consumers have this power too.
11
5
2
150
Sami Samhuri retweeted
Do you know what worked? A clear vision. Design-led development. Weekly demos to deciders who always made the call on what to do next. Clear communication between cross functional teams. Honest feedback. Managing risk as a function of the rate of actual progress toward goals.
40
222
56
2,163
Sami Samhuri retweeted
Welp. It’s the crypto bug of the year. Mark it down for April. Java 15-18 ECDSA doesn’t sanity check that the random x coordinate and signature proof are nonzero; a (0,0) signature validates any message. Breaks JWT, SAML, &c. neilmadden.blog/2022/04/19/p…
26
832
210
2,037
Sami Samhuri retweeted
Extracted the word list from NYT Wordle and compared it against original Wordle, and the NYT has removed 25 words from the list of 12972. 22 are offensive/controversial. The other 3 are "agora", "pupal", and "fibre"
4
3
2
24
Sami Samhuri retweeted
If you’ve ever shared work in good faith using a CC license, do yourself a favor and read every well-chosen word of @doctorow’s warning: A Bug in Early Creative Commons Licenses Has Enabled a New Breed of Superpredator link.medium.com/2qeboI5L5mb
2
55
5
95
Sami Samhuri retweeted
Tl;dr the NSO zero-click iMessage exploit leveraged an obscure 90s image compression codec in a FOSS decoder used by Apple to run arbitrary AND/OR/XOR/XNOR logic and bootstrap their own *microarchitecture* to achieve the exploit... Absolutely stunning. googleprojectzero.blogspot.c…
5
136
50
466
Sami Samhuri retweeted
Yesterday I turned 43 and realized I've been in #tech for 24 years (I got paid to create my first "professional" website in 1997). Here's 24 things I've learned over the past 24 years. Perhaps you'll find them useful on your journey. 🧵
28
206
49
734
Sami Samhuri retweeted
“We should go back to all of these legacy command line utilities that output text data and add a JSON output option. All OS APIs, like the /proc and /sys filesystems should serialize their files to JSON or provide an alternative API that outputs JSON.” blog.kellybrazil.com/2019/11…
5
8
4
63
Sami Samhuri retweeted
I've just found really cool and unexpected application of C# 10 interpolated string handlers: scanf-like parsing! #dotnet #csharp
15
87
10
397
if a couple thousand of you chill out to 70 minutes of flying over Antarctica in a helicopter they'll let me be a "trusted" channel on YouTube youtube.com/watch?v=9nvF13ze…
12
33
12
147
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
12
1,047
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
47
5
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
612
142
2,001
Sami Samhuri retweeted
Wow man, pour one out for McAfee. Never liked him but always liked reading about him.
1
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
4
135
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
Sami Samhuri retweeted
Replying to @Dimillian
Instead? They’re different tools for different purposes. False dichotomy.
1
3
I’ve successfully taught another person `git bisect` and used it to find an obscure bug in minutes that surely would’ve taken hours/days to find otherwise. If you find yourself saying “this used to work…” in your code, use `git bisect`.
19
97
21
818
Sami Samhuri retweeted
A little present 🎁 Our series SwiftUI Layout Explained is free to watch until the new year! With eleven episodes of live-coding and discussion, a hand-written transcript and sample code, there’s plenty to enjoy over the winter break. Happy holidays! objc.io/blog/2020/12/24/swif…
5
135
11
440
Alright folks, gather round and let me tell you the story of (almost) the biggest engineering disaster I’ve ever had the misfortune of being involved in. It’s a tale of politics, architecture and the sunk cost fallacy [I’m drinking an Aberlour Cask Strength Single Malt Scotch]
Replying to @lorenb @gsapienza
I’m gonna have to get a glass of whiskey to answer this properly.
104
1,850
1,298
6,881