HNHacker News
TopNewBestAskShowJobs

lstamour

4,318 karma · joined April 27, 2013

submissionscomments
lstamour··on Apple is quietly pushing a TV ad product with media agencies
Oh the hostility is definitely still present despite (perhaps because of) the CRTC’s regulations. For example, Bell successfully lobbied the CRTC to mandate that you can only buy TV from your ISP if watching on a home ISP cable package. This doesn’t apply to Crave/Netflix/OTT, but if you want to a-la-carte buy a Global TV channel you’ll have to buy it via your ISP, often Bell.

There is definitely a need for things to change yet even in the land of the free (USA), there are talks of trying to “bundle” together OTT streaming as the next wave of getting you to pay more to watch the same content.[1]

There is some good news though. Often when you subscribe to internet there are limited two-year promotions that offer streaming TV at no extra cost. Unfortunately, these plans often don’t include PVR function and also don’t include the ability to skip commercials when playing on demand, but luckily a number of on-demand streaming methods can still be tricked by adblock such as Pi Hole, in my experience. Not all of them, of course.

1. https://www.wsj.com/articles/streaming-service-bundle-cable-...

lstamour··on Apple is quietly pushing a TV ad product with media agencies
Actually you can get Rick and Morty legally in Canada via StackTV on Amazon channels for $12.99/month if you’re an Amazon Prime member.[1]

You can also watch episodes in the Global TV app, but you do have to have a subscription to Global TV to watch those, though it is often included in basic packages that start at $25/month ($15 for Alt TV) as CRTC mandated that channels be made available a la carte with a cheaper “Starter” package.[2]

That said the cheapest (legal) way to get Rick & Morty is to record it yourself over-the-air for free given that Global is a nationally broadcast TV channel, for now. Edit: Actually, I’m not sure this is still the case.[3]

1. https://www.adultswim.ca/where-to-watch/

2. https://crtc.gc.ca/eng/television/program/alacarte.htm

3. https://blog.fagstein.com/2018/11/13/corus-asks-crtc-to-shut...

lstamour··on Grafana Labs launches free incident management tool in Grafana Cloud
Another suggestion re gathering data or threads from Slack: using Message Shortcuts for greater visibility/discoverability? https://api.slack.com/interactivity/shortcuts Might need to combine this with Slack modals for adding details (if it lets you do this)
lstamour··on We’ll Miss You, MetroCard Machine
It’s documented at some gas stations near the border, also common on some forums. If padding with 00 doesn’t work, try 01, 02, etc. If filling in an online order form, it’s best to write in as much of your real address as possible, but zip code validation often means the city and state has to match the fake zip code. (This can have sales tax implications.) To avoid this, you can sometimes add US addresses to your credit cards as an alternate address, though I pretty much never do this.

Unlike some Visa cards, MasterCard is apparently a global network with very little difference crossing borders. So this trick works outside the US too. Generally the address is checked by humans at some step, and an address “close enough” (at least the street address and name needs to match), then the transaction is often allowed through. If it doesn’t go through, tell your credit card company you often make purchases online from country X and your card will usually be flagged to allow it in future.

lstamour··on Apple expands Self Service Repair to Mac notebooks
Not always. Almost not ever.

https://endoflife.date/iphone

I’m impressed Apple supports iPhones for 7 years from when they went on sale, but 5 years from when they stopped selling them varies by product line.

On the Watch, it’s 3 years. It’s unfortunate because you could have bought a Series 3 this year and learned you will not get a software update for it ever again.

Where this 5-7 year legacy thing gets annoying is computer hardware - it used to be that you could bring in an Intel MacBook of any year and get it serviced, but at some point they cut costs and instituted this 5-7 year “legacy” policy, without actually specifically telling anyone any dates as to when their devices would or would not be serviced. The rule of thumb for computers is that if you can’t get OS updates, you’re probably not going to get spare parts, but that isn’t always the case either.

lstamour··on Apple expands Self Service Repair to Mac notebooks
Vehicle manufacturers don’t actually make all the spare parts, other firms find it worth it to do so for them. Similarly, I could buy some common parts for the 2014 Mac mini that was easy to service on Amazon, without waiting for Apple to return my call. The annoying part is that Apple uses security to sign and enforce their chips vs third-party replacements.

On top of that, some repairs are really cheap but require electrical work. For these, you could visit a specialist, just as not every shop or dealer will service every car.

The gotcha is that with Apple, you can only service it at Apple & friends, with Apple parts. While they enforce this, yes, they could indeed offer such a program, and it wouldn’t cost 25% more.

Training people every year on the newest models costs more than having folks who repaired the 2008, 2011, 2014 and 2016 models continue to do so, etc.

lstamour··on Apple expands Self Service Repair to Mac notebooks
What if the stolen iPhone was your only way to access your email/iCloud? You might not be able to confirm it as stolen then.

I do agree that e-waste can be a problem, but unlocking the iPhone seems trivially easy, and as noted in this article, the real problem is that when devices you own break, they might become very expensive paperweights (aka e-waste) as repairing them might cost more than the device is currently worth.

And I believe Apple already has a program where they can recycle an iPhone back to spare parts without compensation as you describe.

lstamour··on Apple expands Self Service Repair to Mac notebooks
And do it soon, or the 7 year “legacy” period might kick in. Apple has a cut-off past which they will not service or support their products. It’s usually 5-7 years from when they were first or last sold. (Actually, it’s a bit arbitrary if you ask me, because Apple is the one that sets whether a product is still serviceable or not, regardless of how long it’s been.)
lstamour··on App Store doesn't accept “too simple” apps
Sure. As long as you don’t need Fonts, iCloud, NFC, VPN, Push Notifications, Sign in with Apple, Sign in with browser credentials in-app (useful to avoid typing your passwords in multiple times), time-sensitive notifications, Siri or Low Latency HLS, amongst other features.

And don’t mind re-installing the app every 7 days by connecting your phone to Xcode and installing again or it will expire and stop working… And yes there is wireless connectivity to Xcode, but it’s still extra work, especially if the app itself can deploy using JS in-app updates.

So yep, you can do it. Technically. But the first time my app “expired”, I went and bought the subscription again. It’s waaaay too annoying if you actually want to use an app to use the free edition. The free edition is for, like, class projects maybe. Not apps you actually want to build and use.

lstamour··on App Store doesn't accept “too simple” apps
Except with a free account (“ADP” according to Apple) there are limitations: https://help.apple.com/developer-account/#/dev21218dfd6

On top of that, apps installed this way expire after a number of days, possibly as few as 7 days? And there’s a limit to how many can be installed this way, might be as few as 5 apps.

lstamour··on FedNow FAQ
Informally, a senior banker once told me that Interac E-transfer reduces bank transfer costs to less than a penny each. The $1-1.50 fee is pure profit, hence the availability of unlimited transaction plans.

For comparison, Square, which usually charges 2.65% of each transaction only charges a flat 10 cents for contactless Interac payments. Not technically e-transfers, but one imagines that the pricing model is roughly the same per transaction.

I should point out that Interac as a method of direct payment to online merchants by clicking a button on your vendor’s website/invoice has not had as much success. Only two banks and a handful of credit unions supported Interac Online Payment when I last checked, while basically all banks and credit unions in Canada now support Interac E-transfer. Going to a website and clicking Pay and signing in with your bank account to initiate the payment isn’t supported by most banks. Instead, the Interac E-transfer has to be initiated or responded to via the bank’s website. It also has nothing to do with the bill payments system, which often uses “EFT” (the Canadian version of “ACH”) to pay utility bills, etc.

lstamour··on MacBook Air M1 screen crack for no apparent reason
If it's only been 10 days, can you return it? That seems extreme, yet maybe expected if something didn't quite pass QA, it might show up that early.

I can confirm that at a real Apple Store I've had genius bar folks take photos of everything also. Seems to be Apple policy these days, if they feel like it, to more easily blame the customer.

Doesn't always happen though, and sometimes it helps - e.g. I received a "repaired" watch that had new dents in it and used the photos to show that. Of course, they then said my watch was missing a tiny microphone mesh I'd never seen before and still demanded an AppleCare repair fee from me. I paid, because it wasn't much in the long run, but I'm a bit annoyed at how much Apple has changed lately.

A battery replacement took 8 days to ship back to the store (almost 14 days total) when they could have done it in-store while I waited, but the system said "no, it must be shipped in to be replaced" with no reason given.

lstamour··on Git In Two Minutes (updated after 8 years)
Stop using any passwords that get checked in. Set expiry dates for access tokens. Set up git commit hooks that scan for password or API key prefixes and block the commit. Set up appropriate .gitignore files, you can place them in subfolders to keep them simple.

If possible, switch from using passwords or tokens without expiry to using ephemeral or time-limited tokens such as machine or pod identities, JWT tokens, IAM service accounts, public/private key pairs (if you can get by with only a public key in the repo) or two-factor authentication. Consider distributing time-limited passwords with Hashicorp Vault.

Some teams might use a cloud-hosted secrets manager or password manager like 1password to distribute passwords and then have code load the password as it runs on a developer machine. GitHub has a secrets scanner, if you pay them enough money for “Advanced Security” such that secrets can never be pushed upstream if recognized as such.

Also, converting from any repo format to another repo format requires care and multiple repeated attempts. A lot can go wrong. Reposurgeon (from a sibling comment) is highly recommended but also not easy to use. It takes a lot of attention to detail to really get the details right.

lstamour··on S3 isn't getting cheaper
I can say that price _increases_ happened for a few AWS products in specific regions/countries without blog posts. Often AWS simply emails affected customers 1-3 months in advance and after making the change. That said, I imagine prices shifted due to currency, labour costs, energy costs or other regional concerns. And I’ve seen the opposite - I’ve seen AWS freeze prices and eat the cost differences long after they should have raised costs. It varies by product and region and marketing strategy, I expect.

The only rule of thumb is what is posted on the pricing page is supposed to be what you get charged. No APIs exist for the most part, and the actual charges can sometimes differ anyway (e.g. grandfathered pricing etc.)

lstamour··on A coding error caused Rogers outage that left millions without service
I would think the best workaround (until carriers/handsets fix this) is to change your cell network - which you can also do if you have poor signal in an area: On iPhone, go to Settings > Cellular > eSIM name > Network Selection and turn off “Automatic”. Then pick a different network.

Admittedly, this is neither fast nor easy/intuitive. As pointed out in a sibling comment, the fault lies with Apple and Google for not forcing the 911 call on a different network after it fails.

The fix carriers are discussing sounds like finding a way to re-route 911 calls over other networks on the same tower, or some other failover mechanism. It’s not clear if that would be simpler than having a handset try again on a different network.

lstamour··on Batman easter egg (click the bat signal)
What you’re supposed to click on is an animated bat signal light that rotates and lights up yellow. It’s in the upper-right corner of the image carousel in the search results. If you click an image, it’ll take you to the image preview, but that’s not the Easter egg.
lstamour··on Blue Zones, where people reach age 100 at 10 times greater rates
https://www.bluezones.com/books/
lstamour··on Rowan Atkinson: Visual Comedy (1992) [video]
Amazing. If there’s a flaw, it’s that there’s a bit too much smoking indoors. If you like this, you’ll probably also like Rowan Atkinson Live: https://youtu.be/uw8dW9Hyno0
lstamour··on I've started using Firefox and can never go back to Chrome
It’s not built-in, but you can get Google Translate browser extensions, and these are promoted on Firefox marketing pages.

Also, there’s an offline translate extension being worked on in open source: https://blog.mozilla.org/mozilla/local-translation-add-on-pr...

lstamour··on Why rails buckle in Britain
Ontario suggests their rails are designed for 30C to -30C: https://www.cbc.ca/news/canada/hamilton/headlines/metrolinx-... (2016)
lstamour··on Replibyte – Seed your database with real data
True? But I wouldn’t call creating new data from non-anonymous data “making data anonymous”. Instead, that’s new random data whose values are constrained or based on real-world data. I’d call that newly generated data, not anonymized data.

To me, anonymized data has an inherent risk of leaking the original transaction because it is a one-to-one mapping of the original data. If you generate new data, it will by definition diverge from the production dataset in some way that might be unrealistic. For example, fields with address components might not actually point to real places, or might not be written the same way as they would be in production. Perhaps a portion of production data includes international addresses or rural routes that your software might fail to generate, or worse, maybe it would generate them incorrectly.

Frankly, generating data is a better approach than anonymized data. And I know of anonymization techniques where good data is mixed with bad data and statistically, the bad data can be filtered out later but only in aggregate, etc. But I’m drawing a line in the sand between anonymized data that closely matches real data, and that which is “generated data”, because you can still potentially learn from the anonymized data but you can’t learn from generated data much more than you would from the initial model that created the constraints used to generate the data. I’m probably explaining this poorly, it’s a bit late at night in my time zone. :)

lstamour··on Replibyte – Seed your database with real data
The answer is always “it depends,” but I think if a date time is a UTC timestamp, such as a record of when an event happened, then with random sampling, it shouldn’t matter? It’s just a timestamp. The amount of information it contains might include location, might include timing to other events, could be correlated, but… on its own? It doesn’t need anonymization. Likewise the sequence of events, should be safe to use.

I get that you can look up or de-anonymize an event by its timestamp and the same is true of ID numbers. But it’s worse for ID numbers because these are often permanent and re-used for multiple events.

But yeah, the risk in anonymized data is that it’s never truly both anonymous and useful. Truly anonymous data might be considered junk or random data.

Anonymized data has some utility purpose to fulfil. Perhaps “realistic” analytics is required, or you want to troubleshoot a production issue without revealing who did what to engineers. So you anonymize the fields they shouldn’t see, and create a subset of data that reproduces the issue…?

Anonymized data is almost always a bad approach compared to generating data from algorithmic or random sources, but sometimes we need anonymized or restricted data to start that process.

lstamour··on Childhood antibiotics as a risk factor for Crohn's disease: Cohort study
Probably https://www.biogaia.com/product/biogaia-gastrus/ ?
lstamour··on Why BART uses a nonstandard broad gauge
I’m seeing a density of 2,419 per sq km for SF urban core at https://www.newgeography.com/content/007367-toronto-solidifi... and that beats New York at 2,054 people per sq km. Probably has something to do with how the urban core is defined and NYC sprawl, but still interesting…
lstamour··on Rogers network outage across Canada hits banks, businesses and consumers
Half right. Yes, TD has a lot of divisions, each separate: https://www.td.com/about-tdbfg/corporate-information/corpora...

But it’s also true that over the years, TD has had to merge systems and make changes. They’ve been operating in the US for about two decades now. So they’ve had time to merge and continue growing by merging companies in the US.

It’s true though. They aren’t entirely integrated across borders the way other companies might be. The plans and cards they offer in the US are a much better value than those in Canada, too.

lstamour··on World’s Highest Website
The joke being that the Toblerone bar has a mountain based on the Matterhorn as it’s logo. Either that, or someone very dedicated to Toblerone chocolate created the world’s largest advertisement in the Alps. That would be quite the story. If so, they forgot the bear.
lstamour··on UIs are not pure functions of the model (2018)
Such a dependency isn’t dissimilar from the assertion that some views are stateful, though. I’d much rather have a somewhat pure view (React) than have to deal with syncing or updating state in three different places myself (OOP). I personally treat it as intentional that a view is functional “as much as possible” and embrace the parts where I don’t actually need to track or sync state as something to leave out, intentionally.

I see the “abstraction leaks” as a feature, not a bug. It means React is flexible enough to handle the real world, which is a lot messier when things go async or interactive. Re-rendering due to mouse position without :hover CSS and friends would be incredibly painful.

Also, I have worked on React apps that tracked scroll offsets. This is common (sadly) when managing back and forward state in a single page app as you might want to show a new page on-click and “scroll to the top” but then click the back button “and scroll back to where you left off” and not have the page actually reload for either of those interactions.

Not saying it’s pretty, but it’s certainly possible to need to track scroll offsets. My preference would be to layer stateful scroll-offset views otherwise rendered by pure functions on top of each other and when you go back, just pop a view off the stack, but not all SPA frameworks are designed that way.

lstamour··on WeatherKit
The links are appreciated, but the rest of the post is too negative. Try to correct in a kind way, next time. Also, since it’s beta, it’s possible the API isn’t working correctly yet or that data is available in some regions but not yet available in all regions. Documentation isn’t everything. :)
lstamour··on WeatherKit
Interesting. The notice doesn’t appear within the Dark Sky app at all. But the Weather app does have a lot of improvements, I think. Perhaps under iOS 16 we’ll just see the Dark Sky app disappear and get replaced by the Apple Weather app.
lstamour··on Xcode 14 deprecates bitcode for watchOS and tvOS
Seems it’s being deprecated as the relevant platforms are unifying on arm64: https://www.runway.team/blog/wwdc-2022-highlights
← PreviousPage 8 of 34Next →