Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
esprehn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
331.
▲
by
esprehn
4y ago
And they were right! Just 20 years too early.
332.
▲
by
esprehn
4y ago
Search lazy loads the easter eggs, there's way too many to load them all on every search request. In general Google product's JS is built around a lot of lazy loading bundles.
333.
▲
by
esprehn
4y ago
You can run it through jest: https://github.com/keplersj/jest-runner-prettier Or run it through eslint through jest (which is what we do): https://github.com/jest-community/jest-runner-eslint htt
334.
▲
by
esprehn
4y ago
Fwiw there are python bindings for QuickJS and Duktape: https://github.com/PetterS/quickjs https://github.com/stefano/pyduktape https://github.com/amol-/dukpy I can't sp
335.
▲
by
esprehn
4y ago
This doesn't actually implement any of the JS language though, it just reuses all of python's semantics and hard coded a tiny list of ex. String methods I also assume you mean mainstream JS engine, but Duktape, JerryScript and Qui
336.
▲
by
esprehn
4y ago
This isn't really JS, it's a purpose built evaluator that's only for evaluating a particular script on YouTube, assuming a huge list of things are true about how YouTube JS is written. Ex. Its got a hard coded list of methods
337.
▲
by
esprehn
4y ago
Correct, .value does exactly the same thing. The only difference is .value subscribes to updates. The framework is all synchronous (but sometimes lazy).
338.
▲
by
esprehn
4y ago
I don't think that's a sync vs async difference in the API. peek() is related to reading the value without creating a subscription on it: https://preactjs.com/guide/v10/signals#reading-signals-witho... I
339.
▲
by
esprehn
4y ago
For reference the parent is citing Meta's revenue not Insta's which is over half of Meta but definitely not 322M/day yet. I was confused at first by the huge jump in Instagram income. :P I think this fine works out to about ~
340.
▲
by
esprehn
4y ago
No, not unless you can pass a ReadOnlySpan into every API that expects a String. The change you referenced let's folks work around the fact that String is UTF16. It doesn't transparently handle ASCII with one byte like other langu
341.
▲
by
esprehn
4y ago
Unfortunately looks like still no compact strings like Java or JS: https://github.com/dotnet/runtime/issues/6612 You can work around it, but it's nice in languages where common text doesn't take dou
342.
▲
by
esprehn
4y ago
That's effectively what Incognito does, except not at that granularity to make it simpler for users to understand. It probably can't be every site being separate since that breaks a number of things sites do (like opening 3p windo
343.
▲
by
esprehn
4y ago
We stopped using it as you said. TFA is all about how many people did that. The money grab is in how they've gone about this. They made up an excuse about how this is better for users somehow (as discussed in the article as well). If t
344.
▲
by
esprehn
4y ago
My wife and I have used slack for years for our personal chat. The multiple channels made categorizing the messages easy (ex. #house, #kid1, #kid2, #coding, etc). The change in free retention meant we'd lose important messages so we&#x
345.
▲
by
esprehn
4y ago
Yup. Tauri is more like Ionic or Cordova than Electron. You get a mostly web based developer experience, but without the browser matrix simplification so you're still at the whim of the system WebView capabilities for the view layer. T
346.
▲
by
esprehn
4y ago
It does not. Maps are not even a real interface you can implement, it's compiler magic encoded in the language spec: https://dave.cheney.net/2018/05/29/how-the-go-runtime-implem... This is all fallout of
347.
▲
by
esprehn
4y ago
Access to a web app that can send push notifications to all users is not access to prod secrets.
348.
▲
by
esprehn
4y ago
There's no way to use that optimization if you need to be in two or more lists at the same time.
349.
▲
by
esprehn
4y ago
Your docs seem to flash unstyled content for a second before the CSS loads.
350.
▲
by
esprehn
4y ago
That's usually a ranking problem. Search is one big ranking system even for these custom looking responses. Sometimes they mess those up, or the backend that replies with them is down (ex. They accidentally took down weather once for t
351.
▲
by
esprehn
4y ago
Not especially so. Profitable could mean many things and doesn't carry scale or risk. Doing a funding round means you were externally assessed at a value, and that investors are willing to take a certain level of risk on your company.
352.
▲
by
esprehn
4y ago
Unfortunately data shows they convert better. Same with scenes that span multiple screenshots.
353.
▲
by
esprehn
4y ago
No they're the same. Pretty much all google3 work is done on Linux, but folks usually get 2 machines: a laptop you pick the OS and the workstation (or cloudtop) which is Linux unless there's a special need like chrome eng. Lots of
354.
▲
by
esprehn
4y ago
Should be tagged (2018)
355.
▲
by
esprehn
4y ago
Most of what this article seems to be saying is that Uber wasn't using all the features of bazel (and their setup also predates some of them), and as they've started to use them things are getting a lot faster. Prior to doing so t
356.
▲
by
esprehn
4y ago
Crashpad doesn't depend on Chromium, in fact it uses mini_chromium (a mostly copy pasta of base) to avoid having that large dep: https://chromium.googlesource.com/chromium/mini_chromium/ https://ch
357.
▲
by
esprehn
4y ago
That is what they do, click through the link in the article: https://github.com/bazelbuild/bazel/issues/7962#issuecomment...
358.
▲
by
esprehn
4y ago
I wouldn't say those are equivalent. Any exploit in v8 gets full access to the process, which in a multi tenant situation means access to other tenants. And v8 itself is hardly bug free. Reducing the JS API surface might reduce the pro
359.
▲
by
esprehn
4y ago
Chrome runs each origin in a different process. Chrome also runs all the privileged code in separate processes, so like file, network, GPU, and many OS calls are not actually happening from within the same process as v8 executing web JS cod
360.
▲
by
esprehn
4y ago
What capability/user experience does it gain by being an app?
More ›