HNHacker News
TopNewBestAskShowJobs

esailija

655 karma · joined June 18, 2012

submissionscomments
esailija··on The carbs-obesity hypothesis
You are answering different, irrelevant problem. "Why is an individual obese and how to fix it?" is different from "why is the population obese and how to fix it?".
esailija··on Controversial New Milk Shakes Up Big Dairy
What is the point of this comment? Are you acting as if doing a wrong thing is right if it's pleasant?
esailija··on Body Work: The curiously self-punishing rites of fitness culture
The number might sound "big" to the uninitiated but due to the mechanics of leg press it's less impressive than being able to get out of bed. There is no way this guy has ever lifted anything.
esailija··on Netflix Is Ruining Your Life
Sorry I was making satire of the blog post.
esailija··on Netflix Is Ruining Your Life
Should have spent that time "traveling to foreign countries" instead, to really jack up the progress of global warming.
esailija··on The Smart Set: On Animal Intelligence
When you eat, choose a plant based option instead of meat option. How did that affect at all your "work" towards improving your treatment of other humans?
esailija··on The Smart Set: On Animal Intelligence
Why is intelligence a relevant quality regarding whether it's ok to torture and kill someone for pleasure? What about humans that are not intelligent, is it ok to torture and kill them for pleasure?
esailija··on Was there ever really a “sugar conspiracy”?
I think I didn't mention meat anywhere. I am actually vegan. There are a lot of plant foods that are relatively high in calories, vitamins, minerals, fat and protein which I mentioned: fruits, nuts, legumes, grains, potatoes, berries and so on. Vegetables (e.g. cabbage, lettuce, tomatoes, cucumber etc) only have vitamins and minerals when you consider that as human you don't have the digestive system and time to digest tens of kilograms of food in a day.

Sugar contains a lot of energy so it's not fooling you when it's tasting great.

Can you say which specific animal is alive eating food without much caloric content (and which specific vegetable are they eating)?

esailija··on Was there ever really a “sugar conspiracy”?
> how come? gluconeogenesis is how body gets glucose from non-carbbohydrate sources. his argument was "You need carbohydrates for energy". you don't.

The body can create fat from carbs and protein via fatty acid synthesis. Does this mean fat in diet is unnecessary? Of course not. Similarly, there existing a pathway for creating carbohydrate from fat and protein doesn't by itself prove that carbohydrate is unnecessary.

esailija··on Was there ever really a “sugar conspiracy”?
> no you don't. https://en.wikipedia.org/wiki/Gluconeogenesis

That doesn't refute his argument.

> yeah, those carnivores consume so much carbohydrates!

Fresh raw meat actually has a good amount of carbs. The muscle glycogen (animal equivalent of plant starch) starts to turn into lactic acid after death, but it's there for a carnivore that immediately starts eating after the kill. Also carnivores have jacked up gluconeogenesis. Carbohydrates are vital for carnivores who need to use anaerobic energy system to catch prey. They might not be vital for coach potato ketoers.

People usually claim that Inuits somehow survive without carbs but that's not true at all. Inuits are eating 15-20% of their calories as carbs in the form of muscle glycogen: https://academic.oup.com/ajcn/article/25/8/737/4733245

esailija··on Was there ever really a “sugar conspiracy”?
Plain vegetables are not palatable because they have very little nutritional value, like saw dust. If you were as rewarded for eating vegetables as you are for foods with actual nutritional value you would quickly be malnourished. If you ate a vegetable only meal you wouldn't even absorb the fat soluble vitamins from them because they don't have any fat.

In the wild where the immediate pressure is on getting enough calories and macronutrients while lack of micronutrients only cause problems in the long term, any human wasting energy collecting and digesting food that doesn't have calories and macronutrients (vegetables) would be quickly weeded out.

Look at the nutritional information of any vegetable for yourself. Fruits, nuts, legumes, grains, potatoes etc all come with the fiber, vitamins and minerals that misinformed people think can only come from vegetables while also being loaded with calories, protein and essential fatty acids all which are pretty much completely lacking in vegetables.

esailija··on Passive event listeners
You can easily scroll so that the intersection observer sentinels are not seen and cause bugs. Disappointing.
esailija··on [dead]
Thanks for the helpful tips! Can definitely implement some of these. Especially enjoyed the piece on data - we've got quite a bit of data that could probably make for some cool reports.
esailija··on [dead]
Well, looking fast through the resource, I'd say it's perfect for those selling services or products through Bitcoin. There must be a lot of clients asking "How do I pay with Bitcoin?". Now you just give them this link and you're done with the support responsibility.
esailija··on How and why the leap second affected Cloudflare DNS
I habitually do <= checks for things that should never be below 0 because I'm paranoid like that. I don't think it's good practice, but I keep doing it.
esailija··on [dead]
Kudos to these app experts. The dude I'd probably listen to most is Paul Kemp, known for The App Guy Podcast. He had an influencer on his show last year talking about Blockchain technology. I guess we'll have to wait (yet) another year to see if this prediction comes true.
esailija··on Ask HN: Why is there so little debate on Trumps plan to destroy net neutrality?
We still hope it's just a bad dream and he won't get to preside over US.
esailija··on Fat-fueled brain: unnatural or advantageous?
That study is only for a very short duration of keto.
esailija··on Fat-fueled brain: unnatural or advantageous?
Every digestable carb will turn into glucose eventually, all that matters is how fast this happens because you want to minimize time spent at high blood glucose levels.

Sugars generally digest faster than starches but this is not always true. Oranges (as in the whole fruit with its structure and fiber intact) raise blood glucose more slowly than potatoes, even though oranges are mostly sugar and potatoes are mostly starch.

This also means that slowly eaten sugar is healthier than quickly devoured complex carbs (if dental health is ignored). E.g. eating 50g carbs worth of candy steadily over 4 hours will result in stabler blood glucose than devouring 50g carbs worth of rice in 5 mins.

esailija··on Async and Await
This is a thing you can just infer.

If it takes 100ms CPU time to process 10 promises and 1 request involves creating 10 promises, the server can then only handle 100 requests per second at theoretical max.

IO time doesn't matter as much (for throughput) because IO is asynchronous so the server is free to process other requests while waiting for it. But CPU time is only being used for 1 thing at at time.

So to get e.g. 10k rps out of a node server, handling 100000 promises must take well under a second of CPU time. Looking at the benchmark results you can see how many implementations will bottleneck this.

esailija··on JavaScript async/await implemented in V8
> How common are dozens/hundreds of try-catch blocks in javascript code

Nobody who realized the fragility of async/callbacks and understanding what it takes with them to make at least a passably robust program would stay with async, they would quickly switch to promises/fibers/equivalent or stop using node. Although I have seen projects on github that use try-catch blocks properly with callbacks/async and I have to wonder what made them think that there isn't a better way.

And again, async does not catch any errors, it only forwards error callbacks based on some very loose convention which isn't even honored in core node apis. Just because most node (or rather callback/async) users are clueless about error handling doesn't make the examples equivalent.

esailija··on JavaScript async/await implemented in V8
This is not the same at all. Any error in any of the callbacks is not catchable with one catch statement (you need separate try catch statement in every one of your callbacks). With async/await and promises, you only need one catch statement or one .catch method in one place because of proper error propagation and composition.
esailija··on What Happened When Facebook Hired Some Journalists
> I can then be targeted by an advertiser that wants to sell merchandise to Manchester United fans

And why is this itself a bad thing?

esailija··on 0.0% of Icelanders 25 years or younger believe God created the world
Because the world being created by the Christian God implies the creation story which is pretty different from big bang.
esailija··on After a year of using Node.js in production
async/await is tiny amount of sugar over generators and promises (virtually the only thing that changes is `yield` -> `await` and `function*` -> `async function`), not callbacks.
esailija··on After a year of using Node.js in production
Startup speed is terrible with that approach, each browserified module adds like 10x more code as boilerplate than something like isArray implementation would take. Then every module dependency is resolved dynamically at runtime, which will also quickly become a performance problem even when you aren't using micromodules.
esailija··on Why ContentEditable Is Terrible, Or: How the Medium Editor Works (2014)
Aka Extensible Web https://extensiblewebmanifesto.org/
esailija··on Facebook Rights Manager
Even for very small color space (e.g. 8-bit or 256 colors) and very small pictures (e.g. 32x32) the amount of possible images is for all intents and purposes infinite.
esailija··on Adding JavaScript modules to the web platform
You basically cannot ever remove anything as it will break websites which will just make people switch to another browser where the websites work.
esailija··on Adding JavaScript modules to the web platform
but you would still have to be executing the file as code before knowing what it will require
← PreviousPage 6 of 13Next →