Daynil

Joined 9 years ago

Karma
102
Submissions
16
Member since
Nov 6
https://dlibin.net
View on Hacker News

Recent submissions

Comment · 2 years ago
Second that. I was tepid on WSL on initial release, but recently decided to try a full switch after hearing good things and I'm glad I did. You're literally using a full Linux distro, it's really fast, and it even has neat integrations with windows like allowing use of windows explorer if you're inclined. And it's totally seamless to use with vscode.
Comment · 2 years ago
I feel like super easy to host needs to be re-emphasized. We're talking about dropping a single binary into your server and you're off to the races. If only more things were so simple.
Comment · 4 years ago
Nice, I've actually tried a trackball myself, but with the way I use my desk (sit/stand) it caused more problems than it solved (shoulder issues). Ergonomics is an art I suppose.
Comment · 4 years ago
Comment · 5 years ago
I haven't touched Python in years, and just recently came back to it. I was very pleasantly surprised to see just how much Microsoft has improved the tooling in VSCode with the recent update (https://visualstudiomagazine.com/articles/2021/05/11/vscode-...). I've only tinkered with it a bit, but it feels on par with the JS/TS experience in VSCode, which is surprising since those are native and have a more robust static types community.
Comment · 5 years ago
I feel like by far the biggest impediment to my productivity is the knowledge that I have a meeting any time in the next two hours. Unfortunately, that's usually the case.
Comment · 5 years ago
If you call requiring tens of thousands of dollars of maintenance medication treatment annually for life a solved problem, then absolutely!
Comment · 5 years ago
Depends on your goals. If you're a software engineer, it won't make a difference, just send two queries to the DB and combine the results before sending them off. If you're an analyst, you'll often get repeated ad-hoc requests. If you have to run 2 queries, then stitch them together, each time you are asked for a report, you're wasting tons of (really boring) time. Even if you ultimately create some code to run and stitch the results together for you, it's just faster and easier to write 1 query wherever possible. Just let the database do the work!
Comment · 5 years ago
I often read things that say that if you just write the query properly, you can trust the query optimizer to select the right plan. Just trust the optimizer! Unfortunately, in my experience, the more complex your query gets, the more opportunities the optimizer has to get it terribly wrong. I've learned to accept that, if the "clear/clean" version of the SQL (that the human likes to read and write) does not produce acceptable results, you just have to drop more explicit hints to the optimizer about what you want it to do. Query optimizers are truly awesome pieces of software, you just have to learn to work around their limitations when you hit them.
Comment · 6 years ago
Comment · 6 years ago
I'm going to print this out and frame it.
Comment · 6 years ago
Keto is absolutely the missing ingredient in most dieters' arsenal. I'm sure most IF'ers end up keto intermittently anyway, but you'd be more efficient at it if you develop the full metabolic machinery for it by specifically targeting it. Would you believe you can avoid feeling hungry without eating all day if you're keto? I never thought it was possible until I tried it. Now when I "forget" to eat when I'm in the middle of a coding spurt during lunch I don't subsequently feel like shit the rest of the day. In fact, I feel great. It's kind of a superpower.
Comment · 6 years ago
There is an incredible amount of confusion surrounding cholesterol, mostly because of the incredible amount of bad/old/incomplete science around which many major medical associations base their recommendations.

To put it simply, using "cholesterol" as an indicator for anything is a completely oversimplified view originating in the 50s, when we didn't know enough molecular biology to know better. We've since moved on to breaking out LDL (bad) and HDL (good) cholesterol. However, as it turns out even that is too simplistic. There are further sub-classifications of LDL, such as large fluffy LDL and small dense LDL. If subclasifying LDL - Low-Density Lipoprotein - as "small and dense" seems counterintuitive, I agree. I feel like it's a result of the order in which we learned about all the forms of cholesterol, and a reflection of how complex the system is, and perhaps how much more we have left to fully understand it. As it turns out, so many of the perils of what we thought was caused by "high cholesterol", and then "high LDL/bad cholesterol" seem to be most strongly correlated with the small/dense LDL pattern. The irony is, we've been measuring everything but the main culprits, gaining an incomplete picture of what's actually going on, then ended up with wildly ineffective or harmful dietary recommendations as a result. A low fat high carb diet may reduce your cholesterol, but it can wreak havoc in so many other ways.

Bottom line is, eating a low carb, high fat diet increases all of your cholesterol (subject to individual variation), but seems to exert favorable effects on the overall ratio of the individual particles, which may be the important thing. If you're really interested in what's going on with your cholesterol, ask for a LDL particle size test, then you may be able to draw some more meaningful inferences. [1]

To me, it's a good hint that if every physical and mental aspect of your body improved on a diet, it's unlikely a bad thing. Best to discuss these things with your doctor though. Diet science is still a frustratingly murky field, so it's pretty hard to navigate right now. If you want to understand why, I highly recommend Good Calories, Bad Calories by Gary Taubes.

[1] http://education.questdiagnostics.com/faq/FAQ134

Comment · 7 years ago
I used to use the snip tool all the time, but I switched to LightShot since they started indicating it would be deprecated. Glad I did, lightshot is so nice.
Comment · 7 years ago
I don't understand how so many people can anchor their lives to work. If you do that, when you retire, you've lost your meaning of life. I have a list of things a mile long that I just can't get to because 40 hours a week is already spoken for. Early retirement speeds cognitive decline? Maybe if you sit on the beach and/or watch TV all day long, but that sounds kind of miserable if done for more than a few weeks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton