Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jerrycruncher
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jerrycruncher
6y ago
Yeah, I think that prior to the public release of the Context api (16.3) and Hooks (16.6), one could more easily make the argument that "it's just a display library." Providing convenient mechanisms for managing high-level&#x
32.
▲
by
jerrycruncher
6y ago
This has been discussed many times in the past [1]. tl;dr: The creator was a brilliant programmer who experienced a psychotic break late in his life, which led to chronic and severe schizophrenia. He killed himself in 2018. [1] https:/
33.
▲
by
jerrycruncher
6y ago
You're probably not far off. For the Redux case, that statement almost certainly means using at least one top-level Context Provider along with `useContext` in consuming components to replace or avoid the use of a Redux store and `conn
34.
▲
by
jerrycruncher
6y ago
Agreed. I've shipped projects in ASP.Net MVC, Rails, Django, Grails, and Express, and to paraphrase Alan Kay[1], NextJS is the first javascript server-side framework worth criticizing. [1] https://www.fastcompany.com/40
35.
▲
by
jerrycruncher
7y ago
Sure. The app I'd been working on had previously been using the original 'render prop' style of accessing context in functional components and using the this.contextType accessor for class-based components. Both approaches ha
36.
▲
by
jerrycruncher
7y ago
I agree that if you had a large (in the dozens, if not hundreds) number of dependent components, it could be an issue. However, I've noticed no performance degradation with my usage -- I use a top-level AuthContext component to handle
37.
▲
by
jerrycruncher
7y ago
I've completely stopped using class components after spending some time with Hooks in a small-to-mid-sized application. The big wins for me were: - passing an empty array as the last argument of useEffect makes useEffect work in a simi
38.
▲
by
jerrycruncher
7y ago
You're right. I think the distinction comes down to companies like Amazon having the kind of vast capital required to not only cut out the middle man but to _become_ the middle man in their own market. In most cases, a market (in the s
39.
▲
by
jerrycruncher
7y ago
Fair enough. They also don't slap a Trader Joes marque on the produce they resell.
40.
▲
by
jerrycruncher
7y ago
No they're not. All of the grocery stores are engaging in "white-labeling" - buying products from other manufacturers and putting their own label on them. It would maybe be a valid comparison if Price Chopper took in 50% of a
41.
▲
by
jerrycruncher
7y ago
No. From TFA: "First, by passing legislation that requires large tech platforms to be designated as “Platform Utilities” and broken apart from any participant on that platform. Companies with an annual global revenue of $25 billion or
42.
▲
by
jerrycruncher
7y ago
You're taking an overall reduction in violent crime in the US to mean that hate crimes have also decreased. The opposite is the case, and it is absolutely because extremist/fringe material has become increasingly and vastly more e
43.
▲
by
jerrycruncher
8y ago
If your friend has proof of the "you're too old" response and is at all litigious, that's a slam dunk age discrimination lawsuit. Like, instant settlment.
44.
▲
by
jerrycruncher
8y ago
The whole 'introverted extrovert' (and vice versa) thing is pretty stilly. In the old days we had a word for people who neither sought nor avoided emotional stimuli: normal.
45.
▲
by
jerrycruncher
8y ago
Acorn[1] is excellent, but it's not free. Once or twice a year it's on sale for 50% off. I prefer it to paint.net as Acorn mostly uses the same keyboard shortcuts as PhotoShop. That may or not be useful to you, though. [1] https:
46.
▲
by
jerrycruncher
8y ago
Anecdotally, I'm a native speaker, have been reading text on BBSes and then the internet for well over 30 years, and have never seen that one. AFAIK has been around for decades. Like some other commenters, I skipped right over it rathe
47.
▲
by
jerrycruncher
8y ago
It's not even terribly uncommon. This is the fourth time in eight years[1] we've seen a quarterly growth of over 4%. [1] https://twitter.com/paulkrugman/status/1022913401167720454
48.
▲
by
jerrycruncher
8y ago
Mea culpa. Thanks for the info!
49.
▲
by
jerrycruncher
8y ago
And have a one to two decade lifespan, at best. After which you have to dispose of them.
50.
▲
by
jerrycruncher
8y ago
Indeed. He did a small run of zines, that acted as a sort of printed manual, to celebrate the release of Shoes and I was lucky enough to get one. It's almost certainly my favorite piece of computing ephemera. Here's to you, _why -
51.
▲
by
jerrycruncher
8y ago
My goal was pretty shallow, honestly: I was going to be looking for a job in the new year, and I wanted to be able to fit into my interview clothes again. I also wanted to move my BMI into the average or low-end of the overweight category.
52.
▲
by
jerrycruncher
8y ago
It was. Some muscle loss is inevitable over an extended period of time, but muscle tissue and especially bone tissue aren't storage forms of energy. Fat is. I definitely felt weaker at the end, but was back to my pre-fast strength leve
53.
▲
by
jerrycruncher
8y ago
There's a host of variables in play: https://en.wikipedia.org/wiki/Refeeding_syndrome
54.
▲
by
jerrycruncher
8y ago
Dr Jason Fung's "The Complete Guide to Fasting" You can get most of the same information from his online output, for free. I found this video especially interesting: https://www.youtube.com/watch?v=tIuj-oMN-Fk
55.
▲
by
jerrycruncher
8y ago
I think that if one's goal is to disrupt harmful addictive habits, such an effort can do a fair bit of good.
56.
▲
by
jerrycruncher
8y ago
I didn't. Just electrolytes. I won't say I felt amazing for the duration - I fatigued easily, as could be expected, but other than that and some light-headedness when standing quickly from a seated or reclined position (which is c
57.
▲
by
jerrycruncher
8y ago
The supplements were in pill form.
58.
▲
by
jerrycruncher
8y ago
I'm not a doctor, so I wouldn't be comfortable making any assertions here. If you're interested in the subject, I'd recommend looking up Dr Jason Fung - he's an MD who's been doing work in the area over the las
59.
▲
by
jerrycruncher
8y ago
My weight has been stable in the three months since stopping.
60.
▲
by
jerrycruncher
8y ago
Not especially. Humans have fasted intentionally and unintentionally for millennia. Our bodies are built for periods of lack. There is almost no research available on the subject in the west, and there likely won't be - studies of this
More ›