Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_greim_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
by
_greim_
9y ago
Thanks!
302.
▲
by
_greim_
9y ago
> React 16 (work in progress) is a rewrite, but it has the same public API, and works with more than 30,000 (!) components at Facebook, so it will most likely work with your code too This is uninformative without more context. Is he sayi
303.
▲
by
_greim_
10y ago
It's either done or it isn't. If it's done, it isn't going away, just keep using the same binary forever. If it isn't done—i.e. if it needs porting to new platforms, security patches, bug fixes, etc.—then there need
304.
▲
by
_greim_
10y ago
I like how you can see the both the suspension wire vaporizing and the shockwave reflection off the ground in close detail.
305.
▲
by
_greim_
10y ago
Why can't it be about both? As far as I can tell, large-scale movements comprise a mix of underlying motives.
306.
▲
by
_greim_
10y ago
Published in 1989, near the height of America's anti-drug fervor. The article also undermines itself by acknowledging organized crime became "more visible and lurid during Prohibition," and then hand-waving past it with the b
307.
▲
by
_greim_
10y ago
Wordpress isn't just a thing that people use. It's a gravity well of humanity's non-technical web authoring aspirations; matter keeps accreting there in the form of plugins and feature additions. Escaping it at this point is
308.
▲
by
_greim_
10y ago
> This does not mean that it's "inherently" insecure. It's a pretty strong indicator though.
309.
▲
by
_greim_
10y ago
Pro-cyclist advocacy seems to have reached a point of equilibrium against apathy and anti-cyclist sentiment, thus bicycling amongst human-driven cars is as safe as it's ever going to be. With robot-driven cars, the bicycle problem is a
310.
▲
by
_greim_
10y ago
I spun up a Falcor system at my last startup. We had this legacy REST API where the payloads had gotten quite large. A user contains a follower list, which in turn contains other users, which in turn contain other entities, etc. It was a me
311.
▲
by
_greim_
10y ago
I agree there's a lot of cargo-culting and bandwagon-ism nowadays. It's the result of there being lots of beginners who just want a recipe they can apply to produce a certain result. I don't blame them for wanting that or for
312.
▲
by
_greim_
10y ago
The effect of an attack like 9/11 is primarily nationalistic outrage, and a subsequent power-grab by whichever parties or individuals conduct their politics accordingly. Now ask yourself, which parties and/or individuals in Americ
313.
▲
by
_greim_
10y ago
3Blue1Brown has a great video intro series on the topic. https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw/vid...
314.
▲
by
_greim_
10y ago
> Does one second matter to your application? Yes. And it's not just real-time; even when just displaying dates and times, an off-by-one error at any granularity can bump it into the next year. I guess what I'm wondering is how
315.
▲
by
_greim_
10y ago
Question for the experts. Say I'm writing a bunch of code for date/time stuff in JavaScript, using the built-in `Date` API. Is this something I need to worry about? I've read countless "falsehoods programmers believe abo
316.
▲
by
_greim_
10y ago
I've definitely noticed certain people seem to deal with more glitches and breakage than others. Not saying any of these are you, but here's some speculation as to why: 1. Some people customize more, so their setup tends to operat
317.
▲
by
_greim_
10y ago
> presumably popular Proponents were definitely vocal about it, but I don't know how well that translates into actual popularity; at least not like async/await. Nor does it seem to be the type of thing where all sufficiently ex
318.
▲
by
_greim_
10y ago
The use case I heard was if for example the user clicks to load a view, which launches a background request, but then changes their mind and clicks to load a different view, which launches a different background request. The user no longer
319.
▲
by
_greim_
10y ago
> I honestly thought this was common knowledge For whatever reason it isn't common knowledge in JS-land. > How else is `this` being taught? Sadly it very seldom is taught this way. It tends to be a realization people come to afte
320.
▲
by
_greim_
10y ago
It's a pipe dream though. I mean, I wish an omnipotent, omni-benevolent dictator would force everyone to stop using `this` and refactor it out of all existing code as much as the next guy, but until that happens, the best path forward
321.
▲
by
_greim_
10y ago
But there also hasn't been (as far as I can tell) a significant popular outcry against plurality voting. It seems unfair to blame politicians for resisting a movement that doesn't exist.
322.
▲
by
_greim_
10y ago
The answer to this is a spoiler. (Gur nyvraf' checbfr ba Rnegu vf gb grnpu hf gurve ynathntr. Vg'f fhpu na nqinaprq ynathntr gung bapr lbh yrnea gb guvax va vg, lbh tnva gur novyvgl gb rkcrevrapr gvzr aba-yvarneyl. Gur nyvraf jnag
323.
▲
by
_greim_
10y ago
I can't really see Facebook censoring, fact-checking, or otherwise adjusting their algorithms to expose people to opposing views in any significant way. They're the McDonalds of the internet. Their entire business model depends on
324.
▲
by
_greim_
10y ago
Food is a topic where people are intensely invested in their views, and shame-based thinking holds strong. Anyone who claims a shortcut to decent nutrition will draw the nay-sayers out of the woodwork. Proper nutrition ought to be hard.
325.
▲
by
_greim_
10y ago
Or, make the headline outrageous, but in the body apologize for the clickbait headline and proceed to say a bunch of nuanced and reasonable things.
326.
▲
by
_greim_
10y ago
If you put an boulder in front of a blind wanderer traveling in a straight line, they'll bump into it and stop. If they're wandering in a plane, however, they might wander past it. You can install a line of boulders instead. But i
327.
▲
by
_greim_
10y ago
Yup. Achieving a better big-O could for example be the difference between something being possible or not, whereas fine-tuning an algo without altering its big-O might be the difference between needing five servers or ten. Still relevant, b
328.
▲
by
_greim_
10y ago
Yeah polyfills might not do the right thing. Natively, both exceptions and rejections stop the next thing from happening, give you a trace in the console, then everything continues at the next tick of the event loop. If a polyfill skips the
329.
▲
by
_greim_
10y ago
> it is quite literally silently swallowing ALL exceptions thrown Technically, it propagates the error along to any dependent promises. If nobody's handling errors, then yes, they get swallowed. If that bugs you, all you have to do
330.
▲
by
_greim_
10y ago
If an API expects the outside world to hand it an instance of a specific library, all bets are off. Maybe it gets `null` or the `window` object, who knows? But a library can at least declare what dependencies it wants. If you take that away
More ›