Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leshow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
331.
▲
by
leshow
7y ago
> I guess programmers are too cool to enter in dollar amounts into Excel. I use a 40% board and one of my layers brings up a numpad. I really just prefer typing on one of these boards much more than a traditional keyboard. It's mor
332.
▲
by
leshow
7y ago
I would love for you to show me a study that validates this, I just don't think the effect would be all that significant, especially if you're controlling for calories. Sure, your body comp can change, but I would expect weight to
333.
▲
by
leshow
7y ago
Except in this case you can actually control how much money you get.
334.
▲
by
leshow
7y ago
Haskell 2010 isn't that complex. It's sum and product types and typeclasses, essentially. The many language extensions, depending on what you use, can make for something extremely complex, but you also don't have to do much m
335.
▲
by
leshow
7y ago
That assumes you've got apache set up, or nginx and php-fpm. It also uses the php interpretor. If you had to build a binary like Haskell would, your approach would be different (although you could run haskell in interpreted mode I woul
336.
▲
by
leshow
7y ago
I'm not sure what you consider 'significant', but to my mind, there are many great haskell open source projects: xmonad, shellcheck, stack, haxl, to name a few. Not to mention how many languages are written in it: Elm, Puresc
337.
▲
by
leshow
7y ago
Just because overall energy balance will determine whether you're generally losing or gaining weight doesn't mean hormones aren't important, or that macro/micros aren't also important. I'm not sure what you
338.
▲
by
leshow
7y ago
I wouldnt claim that fat satiation causes someone to eat fewer calories either. But I disagree that the quote you presented somehow claims that a person can lose weight while not being in a deficit. It's physically impossible. That doe
339.
▲
by
leshow
7y ago
Thanks for the link. IMO that's a pretty narrow definition of what constitutes "benefit". You could say that about what they call a workout too I guess.
340.
▲
by
leshow
7y ago
All that's telling you is that you're in a caloric deficit, which is probably a result of restricting the food groups you are eating. You often see this with people who do a low carb diet. They lose a bunch of weight initially, an
341.
▲
by
leshow
7y ago
This sounds like a gross exaggeration: > Volunteers who took large doses of vitamins C and E before training failed to benefit from the workout. I find it hard to believe that they didn't benefit at all from a workout because they t
342.
▲
by
leshow
7y ago
I call Rust a hybrid of Haskell and C++, it has most of the powerful type features you come to rely on with the MLs but the additional low level control and default imperative behavior of C/C++. I came from Haskell to Rust and it reall
343.
▲
by
leshow
7y ago
Note that your first promise doesn't actually do anything in parallel. It just schedules all of those tasks at once. Execution will still be concurrent.
344.
▲
by
leshow
7y ago
There are plenty of synchronous calls in node and js. Not everything is async https://nodejs.org/api/fs.html#fs_dir_readsync And that's just io, most function calls are synchronous also
345.
▲
by
leshow
7y ago
It's not that crazy. There's an async ecosystem of libraries, you opt in to using them, if you run a blocking method inside an executor then you obviously pay the cost for that. Granted most executors run on multiple threads so yo
346.
▲
by
leshow
7y ago
It's particularly a big deal in Rust where working with the base Future primitives was pretty hairy. With async/await I can write code that looks synchronous but has all the advantages of async.
347.
▲
by
leshow
7y ago
The article is good, but it could do with a lot less ad hominem and calling people 'idiots'. You can do better than this: > you may think that you’re very sophisticated, but actually you are just being ridiculous. > Sure, y
348.
▲
by
leshow
7y ago
It appears in the case of the Move language it doesn't actually contain a 'linear type system'. > The claim of the Move language to use of linear types appears to be unsubstantiated by a dive into the compiler as it reve
349.
▲
by
leshow
7y ago
I have a SE degree, from the Engineering faculty (there are ones offered from CS also). And I absolutely did spend hours in algorithms classes of all kinds.
350.
▲
by
leshow
7y ago
I'd be more concerned about fentanyl and it's derivatives than something like THC or ketamine, which aren't nearly as addictive or have the same potential for physically dependency. Fentanyl isn't anything new, but it&#x
351.
▲
by
leshow
7y ago
> For example, many East Asian countries have serious punishments for drug trafficking and also have less general cultural acceptance of illegal drug use. As far as I know, there aren’t nearly as many drug problems there as compared to t
352.
▲
by
leshow
7y ago
It has such minimal overhead I don't know how you could say that.
353.
▲
by
leshow
7y ago
I think the only option there is C. It hasn't changed much for a long time, for better or worse.
354.
▲
by
leshow
7y ago
I quit vaping after 2 years and found the hardest part was the ritual aspect of it, not so much the nicotine. I used to sit at my computer, code, and blow big vape clouds into the air. It was extremely relaxing and took a bit of time to get
355.
▲
by
leshow
7y ago
Banning vape products will just lead to this happening again and again with black market vape products. It needs to be regulated and meet health & safety standards. The concept of vaping nicotine oil exists now, it is not going to go aw
356.
▲
by
leshow
7y ago
Is it subsequence or substring? Don't you want to find the longest common substring, i.e. contiguous block? I always understood subsequence to be non-contiguous.
357.
▲
by
leshow
7y ago
?? doesn't exist in typescript yet, but there is a tc39 proposal to add it to js proper
358.
▲
by
leshow
7y ago
> It's called the "if" clause. "If" is often a statement, not an expression, so they aren't equivalent in a lot of cases. I'm not sure if this is the case in Swift, but I'm fairly certain that Swif
359.
▲
by
leshow
7y ago
> Also, I never gave a single test, and I think I got it right, every time. There's bound to be some confirmation bias there
360.
▲
by
leshow
7y ago
As much as I do use a number of these tools, there's something to be said for being able to use any box you ssh or log into that has the default tools available on any *nix system. ls, cat, find, etc. I'm hypocritical a bit in tha
More ›