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
79% of Canadians just breathed a sigh of relief
10
277
1,212
There's an insistence that we feel bad for small business owners, that we offer up the underpaid labour of the marginalized to subsidize a small business owner's desire to own a company, to set his own hours, follow his passion. I don't care about that. Not more than fair wages.
12
334
1,511
Anti- #15andFairness ppl simultaneously tweet at me "don't like min wage? Get a better job! Education! Bootstraps!" & "The poor small businesses owner. What is he to do?" ... maybe he should go get one of these great jobs instead of insisting on his dream of owning a hobby store?
9
160
1,130
🇨🇦 Ok, there's a lot of salty randos in my mentions telling me I obviously don't understand basic economics. I'll explain again: The minimum wage increase means at most $20 per worker per 8hr shift. If your profit margin is $20 per worker per day, you run a terrible business.
15
169
1,078
Sami Samhuri retweeted
Replying to @IanCutress
The more we min-max phone performance - the more we ride the edge of what's possible in a phone-sized power and thermal envelope - the more users are going to see the physics underneath. We've significantly shrunk the buffer that hides these things in order to get better perf.
3
4
One of the hardest things when close to shipping something is leaving the well-tested thing alone, even though you’d love to cram in some more polish or features at the last minute.
2
7
Maybe I should write up an article about this. Auto-layout tip for nibs that support the X without resorting to code:
Use multiple constraints with priority, so it’s always >= margin from the bottom (high priority), and also always == bottom of the safe area (medium priority). This will work on any device. Collapses margin on X. (I hope I explained it clearly, it is a bit tricky.)
1
2
Sami Samhuri retweeted
Randall Munroe has spyware installed ON MY VERY SOUL. xkcd.com/1915/
2
11
Quickly kill apps on the iPhone X: enter multitasking, tap and hold to show the close icons, but ignore those! Instead, keep your finger down and fling up to kill. You can keep flinging other apps too. @atpfm
safeAreaInsets should be zero in the compat mode on the X, but isn’t. Navbars are all wrong. Going nuclear with this one. #yolo #uikit
1
The CAD-USD exchange rate has made prices of US goods crazy in Canada for the least few years. Canadians earning CAD get the short end. nitter.catsarch.com/stroughtonsmith/status…
1
1
Sami Samhuri retweeted
Most people will never know how much work I’ve put into making a view scroll well today. But I will.
1
1
12
Sami Samhuri retweeted
CHECK THIS BOX. Use your tab key constantly to move between controls. Learn ^a, ^e, ^f, ^b, alt-BS in text boxes. mobile.twitter.com/searls/st…
Replying to @garybernhardt
Also, re: #1, the vast majority of devs I pair with on macOS have never checked this box. Please link this toot and yell "CHECK THIS BOX"
4
43
160
Same here. That's unfortunate! Hope this get reverted. It has 4 GB of RAM like the new ones. nitter.catsarch.com/stroughtonsmith/status…
Sami Samhuri retweeted
"R U a full stack dev?" "No, because..." <fumbles around for sunglasses, puts them on wrong, readjusts, looks up> 😎 "I use tail recursion."
1
161
345
It’s Martini Day. If you like martinis plan your evening accordingly. 🍸
1
iOS 11 removes app switching via a hard swipe from the left edge. I use that all the time and prefer it to double tapping home. Oh well!
1
Sami Samhuri retweeted
As CTO my primary responsibility is to stop myself from rewriting all of the legacy systems alone in a manic fury.
18
419
1,439
Maybe pragmatism earns more money than silly disputes over who *must* be able configure their editor to display 6 space indents to do work.
Spaces > Tabs Spaces are always displayed correctly by every tool, without configuring magic comments or anything like that. Pragmatic.
1
1