Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wonnage
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
481.
▲
by
wonnage
5y ago
The overruns are because they decided to replace a hundred year old sewer system as part of the project. Along with a corruption scandal in the DPW. Once they've gotten to the actual street widening part of the project things seem to m
482.
▲
by
wonnage
5y ago
It's not state censorship. There is no law driving these takedowns. It's the problem you get when one company has monopolized video. But serving videos for free isn't financially sustainable without advertising and network ef
483.
▲
by
wonnage
5y ago
I think Apple's approach of attributing the capacity not available due to throttling (or various other reasons) to kernel_task might be the best. You can tell something is eating cpu, stuff isn't just stuck at 50% while the rest
484.
▲
by
wonnage
5y ago
It's weird that clients have no idea what a page is supposed to look like until the server tells them. I mean, they could guess or cache the last layout they got, but it makes stuff like partial loading states a lot harder. This kinda
485.
▲
by
wonnage
5y ago
Depending on your interests/needs, you might not find yourself actually writing network code, but dealing with it tangentially when things go weird. Programming blogs where people detail one of these weird edge cases and explain how th
486.
▲
by
wonnage
5y ago
It's hilarious how parent comment's opening sentence is a (easily debunked, as you've shown) conspiracy theory, and in the next breath they're trying to sound reasonable and Definitely Not a conspiracy theorist
487.
▲
by
wonnage
5y ago
I dunno how you made the jump from this warning to banning discussion
488.
▲
by
wonnage
5y ago
The warning is there because some people decided to self-medicate and bought veterinary doses and ODed.
489.
▲
by
wonnage
5y ago
You can also use the comma operator: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... `const upperCase = (message) => (console.log(message), message.upperCase())` The function body need
490.
▲
by
wonnage
5y ago
Somewhere around 70% of restaurants fail within 5 years, which seems like a reasonable amount of competitive pressure to eliminate bad restaurant jobs, which obviously hasn't been the case. The market won't solve this.
491.
▲
by
wonnage
5y ago
Especially with graphql being the new hotness I wonder if it's time to replace JSON with a binary format like Thrift. The old argument was that REST+JSON was simple and easy to debug but that goes out the window with GQL anyway. JSON i
492.
▲
by
wonnage
5y ago
Jesus how does everything bad about the world end up China related these days
493.
▲
by
wonnage
5y ago
I don't think this sort of baseless speculation is useful. God forbid a Chinese citizen support their own government without being an agent or brainwashed. Way to deny a billion people the agency to disagree with you. Flagged this comm
494.
▲
by
wonnage
5y ago
See if your dentist can do a smaller splint on your front teeth, if your teeth haven't already been misaligned due to the bruxism this shouldn't cause anything to shift.
495.
▲
by
wonnage
5y ago
It's probably because invoking DOM APIs is terribly slow and if you're accessing those fields with any frequency you're better off using a JS object.
496.
▲
by
wonnage
5y ago
I'm sorry you have this experience. I think the most confusing part of React for me was that even though JSX looks like HTML, you're actually not interacting with HTML at all. At its most basic you're just giving React a `[{
497.
▲
by
wonnage
5y ago
Many of these problems are solved: > Most bundle splitting techniques require you to load that ‘index bundle’, and then only once that JavaScript is loaded and executed does your browser know which ‘page bundle’ it needs. So you need two
498.
▲
by
wonnage
5y ago
I'm not sure how you'd expect people to find that since it's not linked from the article.
499.
▲
by
wonnage
5y ago
This would mostly benefit performance the first time some code is run, before v8 has a chance to gather runtime data and optimize it. Since all JS execution goes through this phase, this should make everything a little faster, but it will p
500.
▲
by
wonnage
5y ago
Tangentially related to the article, but it mentions the Rebekah Jones story, which has been thoroughly dissected here: https://www.nationalreview.com/2021/05/rebekah-jones-the-cov...
501.
▲
by
wonnage
5y ago
I wonder if this is actually more significant than the equivalent bans in China. AFAIK none of these companies actually had a business presence in China prior to being banned. So noncompliance didn't risk any of their local workforce -
502.
▲
by
wonnage
5y ago
It's amazing how many thermal/throttling issues have plagued macbooks over the past few years. IIRC there was a bug that would cause throttling if you tried to charge on the left side ports. Not sure if it was fully fixed by a pat
503.
▲
by
wonnage
5y ago
It's definitely a barrier to have to switch languages. You might be super familiar with Chrome's debugger UI (which is excellent, btw), and feel lost when suddenly getting dropped into IntelliJ's. Also, what if you just have
504.
▲
by
wonnage
5y ago
This is just you not being familiar with the language
505.
▲
by
wonnage
5y ago
I ran into an interesting variation of this where we shouldn't have had any problems with small packets, but it turned out we had having jumbo frames enabled in AWS (which seems to be a default now). Together with gzip, you can actuall
506.
▲
by
wonnage
5y ago
Nobody said acknowledging the virus was xenophobic, the problem was assuming that all east-Asian-looking people might have the virus and therefore you should avoid Chinatown. Also one of Trump's first acts in office was to institute a
507.
▲
by
wonnage
5y ago
Just remember that very sane corporation in the US does their very best to realize their profits outside of the US.
508.
▲
by
wonnage
5y ago
Same argument is used by Americans to justify sweatshops in SE Asia. TBF, not much you can do about working conditions in other countries, so you might as well rationalize it and wear cheap clothes. It says a lot about an individual who cho
509.
▲
by
wonnage
5y ago
Taiwan was run by a military dictatorship until 1986 *edit: 1986 was a long time ago, but the point is that the KMT was a corrupt and unpopular government which lost to the Communists, but the US held its nose and propped it up for 30+ year
510.
▲
by
wonnage
5y ago
The speedup from tools like esbuild, swc, etc. are not because of the language they were written in but because they're competing against Babel. Babel is this single-threaded highly-extensible behemoth. On top of this, you're enco
More ›