Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
allover
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
allover
8y ago
> Excess of insulin hormone is what triggers storage of fat This is the key, and completely unproven point as far as I know. This is called the 'insulin hypothesis'. And there's still ZERO evidence for it. So as far as we
92.
▲
by
allover
8y ago
This sounds like a cool idea, like sibling I'd also love to see a good example of this :)
93.
▲
by
allover
8y ago
Nobody in the CSS-in-JS world is disputing that a global theme is useful, just that having no choice but to have all your selectors be global is not so great.
94.
▲
by
allover
8y ago
A lot of CSS-in-JS libraries provide a theming solution, e.g. [1], so it's not an 'either/or'. (You can also relatively easily implement your own, because JS :)) [1] https://www.styled-components.com/docs
95.
▲
by
allover
8y ago
In terms of ease of building a query (and resulting ease of comprehension of that query) that will give you the exact response structure you want from the client-side, the two are not comparable, there is no blind-eye turning in this regard
96.
▲
by
allover
8y ago
Well it seems like a very different model to Github. I don't know the figures, but the teams I encounter using Gitlab are self-hosting, you aren't going to be able to browse their (private) repos.
97.
▲
by
allover
8y ago
It’s not that well written but ‘why was it posted’ because it doesn’t introduce npx is a bit much. It’s also easily put together by the next example (uses npm) and google, if you were actually interested in the subject.
98.
▲
by
allover
8y ago
Cheatsheets are not intros. They're generally meant for when you know what you're looking for already, and want to get to e.g. the exact syntax for it quickly.
99.
▲
by
allover
8y ago
You can use Jinja-style templates client-side too if you want (see nunchucks). But client-side rendering and server-side rendering have different use-cases. It doesn't come down to just which is 'particularly readable'. >
100.
▲
by
allover
8y ago
> Not sure if I'm the only one who feels this way, but it seems to me that many, if not most, JS starter kits are either over-engineered, or come with too much out of the box. I think you'll have to be more specific. I don'
101.
▲
by
allover
8y ago
It's not that simple. (I say this as a JS dev who develops SPAs for a living). For one, "no additional per-request overhead" is an oversimplification, that is not the case for most SPAs that grow beyond 'small' size
102.
▲
by
allover
8y ago
Perhaps because hypermedia has yet to be proven useful? (Arguments and counterexamples welcome, I've been looking for them for years).
103.
▲
by
allover
8y ago
eval() is a pretty opt-in security vuln, and there are ways of doing the equivalent in statically typed languages. Logic errors are pretty hard to quantify, but if there're stats on vulnerabilities caused by logical errors that could o
104.
▲
by
allover
8y ago
> Javascript's runtime interpretation + lack of strong typing is the real issue here and not just for embedded devices, but for any application. Explain how 'runtime interpretation + lack of strong typing' is significant
105.
▲
by
allover
8y ago
Oh I guess that explains why the 'break-word' word-wrapping. I thought it was an odd choice!
106.
▲
by
allover
8y ago
> Overeating is not interesting. The reason people do overeat is very interesting What if it's not. What if people just overeat because life is boring, and food tastes good, and we all have differing levels of willpower & educat
107.
▲
by
allover
8y ago
> We can keep running on the macronutrient treadmill, People reach obesity from overeating, no matter what their choice of calorie-dense foods, but it's typically sugar or fats, and sugar is the cheapest/most available. Being o
108.
▲
by
allover
8y ago
> But React, Preact are still view libraries right? No, they're component-oriented. View suggests you're doing MVC or similar. You don't need an M & C with React -- you will likely need to add react-router, but react +
109.
▲
by
allover
8y ago
> And whether you say "can be reassigned" or "mutable" (which means exactly he same thing, BTW) it doesn't really matter. They don't mean the same thing, so it matters. None of your comment about booleans et
110.
▲
by
allover
8y ago
I'm basically not interested in reading things like this unless they can put solid facts up-front that are actually relevant to what most people care about (weight-loss/gain) and they actually normalize for calorie intake. Fact is
111.
▲
by
allover
8y ago
Well a more kind interpretation is that aiming for 'below your caloric maintenance' allows for the odd wobble/treat :)
112.
▲
by
allover
8y ago
Well I didn't say anything about 'between 100 years ago and now', so no. Clearly a lot of factors have changed in 100 years, like our now abundant, convenient sources of calorie-dense food, and sedentary lifestyles, which mea
113.
▲
by
allover
8y ago
Well your quote certainly does not suggest a proof of the insulin hypothesis. Does the study control for calorie intake and show that preventing insulin spikes with the same calorie intakes reduced overall weight gain? Surely if that was th
114.
▲
by
allover
8y ago
> Hate to break it to you, but this is not a scientific fact. The energy equation is calories consumed minus calories expended. No kidding, you're not breaking anything to me here, that was implied. But sure I could've been mor
115.
▲
by
allover
8y ago
> For this to be true, it would have to be true that the millions of people struggling with weight, and the tens of thousands of researchers in the field, are all simply idiots who are not as smart as you. There's no need to leap to
116.
▲
by
allover
8y ago
> Excessive insulin production triggers the body to store energy as fat. The 'insulin hypothesis'? Completely unproven. > If you drastically reduce your carb intake, your body will enter a state of ketosis where fat will be
117.
▲
by
allover
8y ago
'const prevents reassignment' is a much simpler way of saying that. Mutability doesn't need to come into it.
118.
▲
by
allover
8y ago
Yep, sorry I should have included the reference. This post is by the redux-form creator, in which he states why it was a bad idea, and announces its 'spiritual successor': https://codeburst.io/final-form-the-road-t
119.
▲
by
allover
8y ago
> Can we blame all the bloggers who take upon themselves to explain what the best practices is? It's not really about blaming bloggers. It's really on software team leads and senior engineers to not just follow blog posts blind
120.
▲
by
allover
8y ago
But if you looked at the official React docs the answer was always 'setState' and embracing components, that was the whole promise of React to begin with. Not once did the React team/docs ever say you needed Flux to build a R
More ›