13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 6y ago · link · parent
Someone could explain things like cache via Rust, but the information is language agnostic, whereas this book is very much Rust specific.
comment 6y ago · link · parent
Do they? AFAIK gVisor absolutely had to fight with Go, and it has a huge performance impact, and lots of larger projects have done some semi-absurd work such as implementing their own generics impl via preprocessors.
comment 6y ago · link · parent
Mutating a value is almost always cheaper than allocating a new version of that value and collecting the old one. I think you're vastly understating the "you can usually" and overstating the "much less readable and maintainable".
comment 6y ago · link · parent
Takes about 45 minutes. Pretty simple, the goal is to make sure that they want to do the work that we need done, and that they feel prepared to do so.
So far so good.
comment 6y ago · link · parent
Is it? It's something like two xors on a register. If that's a byte or two per pointer (ie: it's pointer metadata that you'd have to store anyway, which I assume is the use case) that's actually a pretty significant win, and could help reduce cache pressure, thereby buying you back the performance (and then some).
Addresses are also XOR'd all the time with a secret as a mitigation, I don't know that there's much of an impact at all.
comment 6y ago · link · parent
comment 6y ago · link · parent
In NYC you learn quickly what's safe and what's not. I was taught that, at a very early age. You learn how to spot the difference between someone who's homeless and someone who's dangerous. You learn to be aware of your surroundings, you learn to duck into places like shops if you think someone is following you, etc.
It sounds awful listing it out like that, but those were just what we learned growing up. It was just how we took care of ourselves.
comment 6y ago · link · parent
comment 6y ago · link · parent
It's always so strange, being in this space where everyone is dealing with tons of data, and hearing constantly on HN about how "you don't need this level of scale unless you're Google".
comment 6y ago · link · parent
I went to school upstate and it was impossible to get around without a car. Everyone was totally reliant on them, and I guess as kids you were always beholden to whoever was licensed/ had a car. To me that's insane, we could get anywhere for free, whenever.
comment 6y ago · link · parent
comment 6y ago · link · parent
At 15 I started to bike everywhere. I took my bike to the Hudson river path and I could get anywhere I wanted in 10-20 minutes - visiting a friend who lived downtown, or head up to Central Park to meet up and bike around with others, try out some diners uptown, etc.
At 16 my friends and I would walk around the east side, walking for miles in the middle of the night.
I don't think it was negligent at all, but I felt extremely independent because I could get anywhere as a kid without needing a car. I've always found that growing up in a city that felt safe and had great public transportation made me extremely independent at an early age.
comment 6y ago · link · parent
https://pubmed.ncbi.nlm.nih.gov/31151228/ (First I found via search, not sure if it's the initial one I'd heard of)
That may not necessarily impact weight loss/ gain directly, but it's certainly critical for health.
comment 6y ago · link · parent
1) It ignores the processes involved in burning fats, sugars, and proteins, which can heavily impact where your body prioritizes getting its energy (or storing it).
2) It ignores other health impacts of 'calories' such as blood glucose levels, which absolutely will depend on what it is you're eating and not just the calorie count. Sugars, fats, and carbs are also processed in different parts of your body - so you might be following a "calories in calories out" and giving yourself non-alcoholic fatty liver disease.
3) It conflates calories, as measured via completely artificial process, with human digestion.