Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
esprehn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
361.
▲
by
esprehn
4y ago
Yup, even with a code sample that addresses this situation: https://docs.microsoft.com/en-us/windows/win32/api/winuser/n... So the whole article is sort of "I reverse engineered software for fu
362.
▲
by
esprehn
4y ago
In general that's not true. Folks save web pages to their desktop or downloads folder all the time, when opening a saved Wikipedia .html file people don't assume it can then read every other file on your desktop. Worse would be if
363.
▲
by
esprehn
4y ago
I believe this is the current iteration: https://github.com/WICG/webcomponents/blob/gh-pages/proposal... You can learn more of the history here: https://www.w3.org/2020/10/TPAC&
364.
▲
by
esprehn
4y ago
Same. We lived in SF for 10 years and saw something like that maybe twice? On the whole the city is pretty clean, and most of the dirtiness is because it rarely rains. That's what's keeping many of the other popular cities looking
365.
▲
by
esprehn
4y ago
Check out The Andromeda Strain (and movie): https://en.m.wikipedia.org/wiki/The_Andromeda_Strain
366.
▲
by
esprehn
4y ago
That code appears to be using reflection to build up runtime tables? https://github.com/qlova/tech/blob/c6379c9c32e5b7b2973bc02ba... https://github.com/qlova/tech/blob/c6379c9c3
367.
▲
by
esprehn
4y ago
Not yet but they're apparently working on it: https://news.ycombinator.com/item?id=31346426
368.
▲
by
esprehn
4y ago
Unless you're Oracle that code is hardly critical to the business. Even as a Sr Dev I'd share stuff like that, it's code that'd appear on a stack overflow post anyway.
369.
▲
by
esprehn
4y ago
> why would a company do that? Or maybe it's because the company is always looking for the runaway 10X success story (like search, ads, etc). Incremental growth doesn't make a dent in the balance sheet. So they're always s
370.
▲
by
esprehn
5y ago
If you're going to run eslint anyway (which it seems most folks do), this adds an entirely new toolchain and system for downloading modules so it doesn't seem simpler.
371.
▲
by
esprehn
5y ago
If you run prettier through jest (ex. By way of eslint) you get parallelism.
372.
▲
by
esprehn
5y ago
We run prettier through eslint, and run eslint through jest which provides parallelism. eslint also has a cache... So I'm not sure what dprint gets you over that? https://github.com/jest-community/jest-runner-eslin
373.
▲
by
esprehn
5y ago
My experience of Google is very much incrementalism and long term sustainability. Very few things at Google are built "new", it's tons of cobbling together systems that already existed and making small adjustments and optimiz
374.
▲
by
esprehn
5y ago
> His companies compensate engineers below market, does he not? This varies by division. Auto Pilot for example is way over paying currently compared to peer companies. On average pay at Elon's companies is below what you'd get
375.
▲
by
esprehn
5y ago
The link was the correct one, scroll down and you'll see a simple hello world example that matches what the golang one does.
376.
▲
by
esprehn
5y ago
Spin showed up on HN recently as an interesting example of Go vs Rust hello world: (Rust) https://spin.fermyon.dev/ Vs (Go) https://spin.fermyon.dev/go-components/ The Go example seems a lot simpler wi
377.
▲
by
esprehn
5y ago
To be fair in rust you get to write .into() or Ok a lot. I do find Go's error handling annoying but rust seems similar for line noise. It's more compact noise, but it's all there.
378.
▲
by
esprehn
5y ago
Read the README: https://github.com/fwcd/kotlin-language-server#this-reposito... What you said would make sense, except they do build a plugin for Eclipse. Better options would be any language where the stewards are no
379.
▲
by
esprehn
5y ago
I'd be more interested if there was VSCode support. The JetBrains folks response was ridiculous and dismissive: https://discuss.kotlinlang.org/t/official-support-for-visual... Apparently they refuse to support th
380.
▲
by
esprehn
5y ago
This is a discussion I've had with a number of folks. To shift to a world of "mostly" remote work in reality means the smaller population of higher paid desk workers working from home, and everyone else having to commute to i
381.
▲
by
esprehn
5y ago
Yeah this is resolved with lameduck mode: https://sre.google/sre-book/load-balancing-datacenter/ Ex. https://coredns.io/plugins/health/
382.
▲
by
esprehn
5y ago
What's a 2FA tool that meets your requirements?
383.
▲
by
esprehn
5y ago
That would mean Deno is not following the web specs.
384.
▲
by
esprehn
5y ago
Window is not available in a worker context. What's a situation where you have a window available and no document?
385.
▲
by
esprehn
5y ago
That'll have to wait until the next release when the standard library gets updated... But soon!
386.
▲
by
esprehn
5y ago
Do you have a POC of such an attack? If true that would mean web browsers would be vulnerable executing wasm because you can intentionally feed it a program with out of bounds access.
387.
▲
by
esprehn
5y ago
This seems like a good opportunity to use wasm on the server to sandbox the processing of user provided content. Of course they could also try rewriting in a safer language, but given that this already exists and handles all their content,
388.
▲
by
esprehn
5y ago
There's two ways (one which you mentioned): - Use a ResizeObserver and observe a wrapper element, then resize and redraw your canvas when it notifies you. https://developer.mozilla.org/en-US/docs/Web/API&
389.
▲
by
esprehn
5y ago
That screenshot looks like you're loading the desktop site on a phone. In this case I think that's triggering text auto resizing which has made the body text large but left the code text very small. When looking at the site in mob
390.
▲
by
esprehn
5y ago
To be fair a lot of those super tiny packages like the ones you listed were created by the same person. They have over 800 repositories on GitHub and hundreds of (probably too) small published npm packages. There's been discussion of t
More ›