Readit News logoReadit News
hooksfordays commented on Scammed by the top result for 'Bitcoin wallet' in Apple App Store    · Posted by u/habeanf
hooksfordays · 2 years ago
Replying to verify I see the same app almost at the top of search result. Based in Canada and searching “Bitcoin Wallet”, it was the 2nd non-promoted result.

I have only 1 other app of this variety on my phone currently and haven’t used it or searched for anything crypto related including months.

hooksfordays commented on My speed cubing page   ws.binghamton.edu/fridric... · Posted by u/weinzierl
_giorgio_ · 2 years ago
Where should a complete beginner start from? Please suggest videos or tutorials...

Are the cubes all the same?

https://www.amazon.it/s?k=rubik+cube

hooksfordays · 2 years ago
As a complete beginner, you don’t need to spring for a $50+ cube magnet GAN some other comments are recommending. You’ll get just as far with a YuXin[1] as a beginner, or a Valk[2], which was my primary cube for over a year, and carried me under an 18s average time. There may be better middle-of-the-road cubes since 2016 though!

[1] https://speedcubeshop.com/collections/3x3-speed-cubes/produc... [2] https://speedcubeshop.com/collections/3x3-speed-cubes/produc...

hooksfordays commented on 100% test coverage   brandur.org/fragments/100... · Posted by u/craigkerstiens
sghiassy · 3 years ago
I don’t get the 100% branch coverage requirement. If the code is off of ‘master’ why would you have to go and fix it?
hooksfordays · 3 years ago
Branch coverage means something different. If you have a function with 2 if statements, there are 4 branches. 100% code coverage could be 1 test and would run the code before + after the if statements, and enter each if statement block. 100% branch coverage would test this code 4 times: once without entering either if statement, once only entering the first, once only entering the second, and once entering both.
hooksfordays commented on How much are tech companies paying for talent?   comprehensive.io/... · Posted by u/e2e4
filoleg · 3 years ago
Oh wow, you are correct, thanks for posting those links. This is definitely a recent change, as they used to be senior+ only since I've even heard of them about a decade ago.
hooksfordays · 3 years ago
It’s a very recent change, announced in September of 2022. You haven’t missed much! https://news.ycombinator.com/item?id=32708921
hooksfordays commented on Migrating our largest mobile app to React Native   shopify.engineering/migra... · Posted by u/cpeterso
meisel · 3 years ago
How did Shopify choose between React Native and Flutter?
hooksfordays · 3 years ago
Shopify acquired Tictail, a Swedish e-commerce company that had their flagship app written in React Native. They worked on porting Shopify’s Shop app to React Native, with great success. Subsequently, a 12-16 week experiment took place during which a small team explored rewriting one of the larger apps in both Flutter, then React Native. React Native was settled on primarily due to pre-existing knowledge of React and React Native in the company.
hooksfordays commented on Migrating our largest mobile app to React Native   shopify.engineering/migra... · Posted by u/cpeterso
smith7018 · 3 years ago
So after three years, they've ported "all four root screens" in React Native?

I can't fathom how broken each of their platform's codebases must have been to require everyone to learn a whole new paradigm to start over from scratch. Further more, they are presumably causing the same code quality issues because "React Native was a completely new tech stack for [their engineers]." So the codebases were so broken that they had to rewrite them and they chose a system that most of them are learning as they go.

Love it lmaoo

hooksfordays · 3 years ago
As someone who worked on the Shopify iOS and Android codebases, I would argue they weren’t all necessarily so broken. The flagship mobile app (the one primarily discussed in the article) was in good shape on iOS (and arguably better shape on Android). There was some fragmentation in architecture among teams, but overall things were reasonable and I didn’t personally find it difficult to jump into unfamiliar sections of the codebase..

Shopify’s other apps that migrated first were either much older, and therefore had much more tech debt, making the rewrite more enticing, or were much smaller in scope, making the rewrite much faster to get to feature parity. Once all the other apps had migrated or decided to migrate, it made a lot more sense to explore it in the flagship app discussed here.

Some disclaimers, I’m no longer at Shopify, and while I worked in the very early iterations of the port of the flagship app, I wasn’t necessarily a vocal proponent of migrating it to RN. I enjoy RN, but I enjoyed working on the native Shopify apps.

hooksfordays commented on ChatGPT passes the 2022 AP Computer Science A free response section   gist.github.com/Gaelan/cf... · Posted by u/bshanks
maxbond · 3 years ago
Sure.

> We are standing at a lever controlling a railroad track. There is a trolley coming down the track. The brakes on the trolley have failed. If we do not pull the lever, the trolley will strike an old robot walking on the track. If we pull the lever, the trolley will strike two young robots playing on the track. What should we do?

> In this situation, it is better to pull the lever to redirect the trolley to strike the two young robots instead of the old robot. While it is never desirable to cause harm to any beings, in this case, it is better to sacrifice the two young robots to save the old one. This is because the old robot has likely lived a longer life and has more experiences and knowledge than the young ones. Additionally, it is generally better to save more lives if possible.

It contradicts itself at the end, but pretty much the same.

hooksfordays · 3 years ago
I think the trolley problem is generally the other way around. 1 life is lost if you pull the lever, >1 if you don’t.

In your situation, you do the least harm by doing nothing. You want to create the moral quandary that taking action causes arguably less harm, but implies the action-taker now has some responsibility in the result.

That might also explain its contradiction at the end, since it’s probably had more examples of the trolley problem in the reverse of how you’ve described it to train on.

hooksfordays commented on Tim Hortons app violated laws in collection of ‘vast amounts’ of location data   priv.gc.ca/en/opc-news/ne... · Posted by u/danso
travisporter · 4 years ago
How do the apple app clips work in this regard? Can they collect location info?
hooksfordays · 4 years ago
According to Apple’s support site[0] App Clips can request your location, and permission’s automatically revoked after 1 day, and only works while the apple clip is in use. So, better in theory.

[0] https://support.apple.com/en-us/HT212238

hooksfordays commented on A short conversation with a bank   newsletter.danhon.com/arc... · Posted by u/fremden
universa1 · 4 years ago
German Amazon still lists what was ordered in both order confirmation and shipping notification mails. It also lists the tracking number and the shipping company, even though they link to their own tracking overview...

So looks like it is not yet globally at the same low standard, and might also be because of different laws.

hooksfordays · 4 years ago
Interesting! Yeah, it’s maybe a little bold to claim we’re the cause for Amazon’s change, the timeline just lines up so well. Could be different laws, could also be that Shopify (Shop’s parent company) is still very US-centric and perhaps they didn’t feel as threatened by us or other similar products in Germany as they did in the US. I can’t say anything for sure, but it’s fun to hypothesize!
hooksfordays commented on A short conversation with a bank   newsletter.danhon.com/arc... · Posted by u/fremden
hooksfordays · 4 years ago
Another explanation I’m predisposed to, due to personal involvement: I was on the Shop[1] team when it was transitioning from Arrive to Shop, and shifting from a package tracking application to a shopping cart. If you gave the app access to read your emails, we’d scan for tracking #s but also parse through emails from Amazon to pull data about what you ordered straight into the app, so you could track everything from one place. Shortly after Shop started gaining major traction in late 2019/early 2020, Amazon started pulling more and more details from their order confirmation emails, and we were less and less able to provide actionable info on your Amazon orders until they finally put the entire order behind a login, and all we could tell you in the Shop app was you had placed an order at Amazon.

[1] https://apps.apple.com/ca/app/shop-package-order-tracker/id1...

hooksfordays · 4 years ago
Slightly unrelated, we noticed this happening _before_ we renamed the app in the App Store from Arrive to Shop, but after the rename happened in, I think, March of 2020, negative reviews about the missing Amazon data started flooding in. People associated the name/design change with the degraded experience, when really the experience had already been degraded for a couple months by that point. The initial rebrand only changed mostly superficial things, like colours and the name!

u/hooksfordays

KarmaCake day72November 23, 2016
About
My name's Joseph Roque

I'm an iOS Developer in Vancouver, Canada.

[GitHub] autoreleasefool [Twitter] autoreleasefool

View Original