Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
esprehn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
esprehn
2y ago
Yeah that's stacks, not the mentioned redesign. I'm not a fan of stacks either since there's no way to select photos from both inside and outside the stack to share. In general they seem kind of buggy too, ex. https:/&#
152.
▲
by
esprehn
2y ago
Fwiw custom buttons that submit are possible: https://webkit.org/blog/13711/elementinternals-and-form-asso... I think you're looking for internals.form.requestSubmit()
153.
▲
by
esprehn
2y ago
It's debatable if that's a fundamental problem. The entire Objective-C ecosystem was a flat namespace with prefixes too. Web Components trace their history to trying to explain how the web platform itself works. HTML is also a fla
154.
▲
by
esprehn
2y ago
That would seem to suggest countries should do extensive sanctions on wine and cheese?
155.
▲
by
esprehn
2y ago
RSUs are regular shares, folks with options would have a different story.
156.
▲
by
esprehn
3y ago
Google uses Angular quite a lot already. Pretty much all internal tools (bug tracker, code review, release tooling etc) is built with it. There's also a number of public facing apps like GCP Cloud Console and the Gemini web app. Wiz ha
157.
▲
by
esprehn
3y ago
That doesn't work because browsers have duration limits on ServiceWorkers: https://github.com/w3c/ServiceWorker/issues/980#issuecomment... Also unfortunately Chrome doesn't keep SharedWorker alive a
158.
▲
by
esprehn
3y ago
The header dictionary for http2 makes large headers like cookies less of an issue: https://blog.cloudflare.com/hpack-the-silent-killer-feature-... Which means it's only sent once per connection.
159.
▲
by
esprehn
3y ago
It's funny you say that because as someone in the large scale bubble when I read 2 million lines that didn't seem that large. Other companies of similar size are dealing with 2-10x larger web apps. Ex. https://stripe.co
160.
▲
by
esprehn
3y ago
Yeah, they could definitely optimize it quite a lot further. With investment in code structure and caching I bet they could get below 5min at that scale. But also for edit/refresh that should be on the order of a second or two, never m
161.
▲
by
esprehn
3y ago
In my early years at Google my coworkers called these "the taco box" because of the design. Later they made it blue, but probably for unrelated reasons.
162.
▲
by
esprehn
3y ago
Without the grid how does the gas furnace blow the hot air into the house? I'm not aware of any normal gas furnaces that work without power.
163.
▲
by
esprehn
3y ago
Chromium (and Firefox) do GPU accelerated raster as well as composition. That page you linked is about a very specific case of wanting to get the pixels back to reuse in a different context. In that situation doing the work on the GPU and t
164.
▲
by
esprehn
3y ago
`go generate` is built right into the language: https://go.dev/blog/generate It's quite common to generate code that way.
165.
▲
by
esprehn
3y ago
An iMac comes with all wireless peripherals, but the charging cables for the devices can be used for using them wired in this situation.
166.
▲
by
esprehn
3y ago
Indeed. It's tradeoffs, but they've been sufficient for much of the codebase for a very long time. Taking no major action (Oilpan or memory safe language) for nearly a decade was also a tradeoff. I don't think the long list o
167.
▲
by
esprehn
3y ago
I had wanted to use Oilpan GC in the browser process for this reason, but the browser side folks were very opposed to using the blink libraries back then. Most of the Chrome UI code is written with Web UI at least. These days I think they s
168.
▲
by
esprehn
3y ago
Pretty much, which is how browsers work in general with the single thread (ex. The html parser yields after a certain number of tokens or if user input is waiting). React's concurrent mode is the same thing as well.
169.
▲
by
esprehn
3y ago
I don't believe there was any special handling for corruption, but there was probably hash checking when syncing new data every few minutes. The data stored in there was not user data, so the failure modes are not as severe. Sparkey is
170.
▲
by
esprehn
3y ago
IIRC many of Airbnb's systems were implemented on top of sparkey: translations, feature flags, experiments, dynamic config. It stood the test of time really well. Probably all built by Jon Tai.
171.
▲
by
esprehn
3y ago
One of the most notable being the Iridium network: https://en.m.wikipedia.org/wiki/Iridium_satellite_constellat... Lots of interesting stories from their time (flares, collisions, market issues). It wasn't regular
172.
▲
by
esprehn
3y ago
What makes you say that? The course is about DSLs and language design.
173.
▲
by
esprehn
3y ago
The author is hardly "just another guy": https://infrequently.org/about-me/ You don't have to agree with him, but he's certainly qualified to write things like this.
174.
▲
by
esprehn
3y ago
The former, but also it's CYA.
175.
▲
by
esprehn
3y ago
> 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
176.
▲
by
esprehn
3y ago
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?
177.
▲
by
esprehn
3y ago
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 st
178.
▲
by
esprehn
3y ago
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!
179.
▲
by
esprehn
3y ago
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.
180.
▲
by
esprehn
3y ago
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&#x
More ›