HNHacker News
TopNewBestAskShowJobs

esprehn

2,024 karma · joined July 18, 2011

submissionscomments
esprehn··on Don't Say Velcro (2017)
The former, but also it's CYA.
esprehn··on Disney CEO Bob Iger says company's movies have been too focused on messaging
> For Disney we had Ariel, Pocahontas and Mulan in the late 1900s.

That's debatable. For example Ariel trades her ability to talk so she can use her body to impress a man. Academics usually consider the strong female character to be Ursula, and she's depicted as unattractive and then brutally murdered with a ship.

esprehn··on Making it clear when we're on a call with you to protect you from fraud
How do you expect that to work? Their app would either need to have access to all your phone calls, or you'd need separate hardware to detect and authenticate the audio?
esprehn··on This page knows your battery charge level (unless you're using Firefox)
This is a (very old) browser API: https://www.w3.org/TR/2014/CR-battery-status-20141209/

It was once implemented in Firefox too and then disabled outside internal pages. It's from an era of trying to standardize all the APIs needed for Firefox OS apps: https://caniuse.com/battery-status

Both iOS and Android apps have this capability, ex. https://developer.apple.com/documentation/uikit/uidevice/162...

Since the entropy is coarse over the entire population you could debate the privacy implications (ex. Time zone is more specific and stable). Restricting it to only saved PWAs to match the privacy model of native apps seems reasonable though. Someone should propose the change to Chrome.

esprehn··on Antidepressants or Tolkien
ikeaordeath.com doesn't seem to work anymore but the game still works on the waybackmachine which is fun:

https://web.archive.org/web/20180126014527/https://ikeaordea...

Even the sound effects work!

esprehn··on An update on salary transparency in job posts
Have you seen those absurdly wide ranges outside Netflix? They pay all cash and computed their ranges in a pretty silly way that produces nonsensical lower bounds.
esprehn··on How to Do a TypeScript Conversion
Airbnb converted many millions of lines gradually using automation and wrote about it:

https://medium.com/airbnb-engineering/ts-migrate-a-tool-for-...

And also open sourced the tooling:

https://github.com/airbnb/ts-migrate

esprehn··on Sam Bankman-Fried Convicted
Oh the other hand Madoff got 150 years, so it's possible.
esprehn··on Internal slides on the work of the Google "Ads Quality" team
The first slide says January 2008:

https://www.justice.gov/d9/2023-10/417378.pdf

esprehn··on Internal slides on the work of the Google "Ads Quality" team
The very first slide says "Last Revision Date: January 2008" so this deck looks to be almost 16 years old.

https://www.justice.gov/d9/2023-10/417378.pdf

Disclaimer: I work at Google, but not on ads and have no insights into the deck.

esprehn··on I think GCP is better than AWS (2020)
That Incident Report is phrased awkwardly.

GCP does not have a single global control plane. Each product has a separate control plane, and many/most of those are regional. GCE (Compute) does have a global control plane today.

The GCP Console, unlike other cloud providers, displays an aggregated view over all the regions. That means calling the control plane for a particular service which then in turn will do fan-out to all regions and merge the results.

For example a page might call the GCE global control plane:

https://cloud.google.com/compute/docs/reference/rest/v1/inst...

Or a different page might call this with - as the location to globally fan-out instead of talking to a particular region's control plane:

https://cloud.google.com/functions/docs/reference/rest/v2/pr...

(Specifying the location would call that particular region though)

During the incident the small (but critical) subset of Console pages which needed aggregated data from GCE's global control plane failed to load.

I agree it's unacceptable that the Console doesn't handle regional failures more gracefully, and it's very much been a priority to improve region down handling.

Source: I work on the GCP Console.

esprehn··on Goodbye, Node.js Buffer
Those functions are fundamentally broken: https://developer.mozilla.org/en-US/docs/Glossary/Base64#jav...

See the whole section on converting arbitrary binary data and the complex ways to do it.

esprehn··on Show HN: An app store just for installable web apps
This is great, hopefully it takes off!

One piece of feedback is that it doesn't restore the scroll position when going from list page -> detail and then pressing back. That breaks browsing scenarios where you're looking at the details of apps as you scroll down. In general PWAs often get this wrong. I wish more of them were testing back navigation.

esprehn··on Opera's browser is now available with chess baked in
https://en.m.wikipedia.org/wiki/Opera_(company)

> In 2016, Opera was acquired by an investment group led by a Chinese consortium.

See also https://www.google.com/search?q=Beijing+Kunlun

esprehn··on Chromebooks will get 10 years of automatic updates
They could use it, but make it optional?
esprehn··on Is this Duplo train track under too much tension?
Yup, the 2x2 can hold 950lbs: https://news.ycombinator.com/item?id=4870283

We can also observe this (to a lesser degree) when they build two story Lego statues like at the Mall of America.

I'll admit I've never seen a huge Duplo statue, but I assume the load limits are similar.

esprehn··on Plastic Money
Consumers also want protection against lost cards, fraud and refunds when the merchant or product is bad.
esprehn··on Ghostfolio: Open-source wealth management software
There's bank data aggregators like Yodlee. If the app uses that it can auto import transactions. Ghostfolio seems to be oriented around manual import though (export csv from your bank and import yourself periodically).
esprehn··on When your classmates threaten you with felony charges
Yup. https://www.legalmatch.com/law-library/article/puffery-laws....

If a reasonable person would understand the claim to be exaggeration (ex. World's best coffee) the law doesn't consider it false advertising.

esprehn··on Slack’s migration to a cellular architecture
GCPs concept of Regions and Zones is different from AWS. For the same level of physical isolation as an AWS AZ you have to use different GCP Regions.

https://cloud.google.com/compute/docs/regions-zones

esprehn··on Slack’s migration to a cellular architecture
Cells are not about guarding against AZ failure, but about partitioning the production infra to protect against bad deploys and configuration changes. Every AZ is split into many different cells.
esprehn··on Data centres account for between 1.5% and 2% of global electricity consumption
This is only a problem if the computational power is sitting idle, or if there's reason to believe more efficient servers exist and are not being used effectively. Of course replacing millions of functioning servers just to reduce energy usage is very wasteful in terms of environmental impact too.

Lots of that computational power is also used to offset other energy consuming tasks. Like video conferencing instead of office buildings or travel.

It's not clear that even 5% going to servers is an issue in that framing. What matters is the value created per person using online services.

esprehn··on Windows 11 will happily execute a binary compiled 30 years ago
Chrome doesn't have one anymore, that's a WebKit thing.
esprehn··on What is gained and lost with 63-bit integers? (2014)
I'm pretty sure even on 64bit v8 doesn't use NaN boxing. Do you have docs or code that show it does?

Yes other engines use NaN boxing, but not all engines do.

esprehn··on What is gained and lost with 63-bit integers? (2014)
Not all engines use NaN boxing, for example v8 uses pointer tagging:

https://stackoverflow.com/questions/63550957/why-does-v8-use...

https://news.ycombinator.com/item?id=16985390

esprehn··on Google Employee Accuses WEI-Opponents of Being “Criminals”
If you knew Rick you'd know that he's a person of principles and what you're saying couldn't be further from the truth.
esprehn··on Commander Keen's adaptive tile refresh
All modern web browsers still do tiling (at the compositing layer level). It's the only way to handle large layers and scrolling efficiently.

Some also implement partial redraw into the tiles to handle things like cursors blinking to avoid having to redraw the entire tile.

esprehn··on JEP 400: UTF-8 by Default
At the expense of O(n) index access. At least Java and JS have compact strings. C# is always UTF-16 because they exposed too much implementation detail to be able to transparently do the compact string optimization.
esprehn··on JEP 400: UTF-8 by Default
Yup. That's how Java, JS and C# all behave.
esprehn··on Kevin Mitnick has died
Per other comments his cancer was in remission for a portion of that 14 months as well.
← PreviousPage 7 of 18Next →