HNHacker News
TopNewBestAskShowJobs

sn9

1,910 karma · joined March 15, 2016

submissionscomments
sn9··on Agentic Engineering Patterns
Matt Pocock has a nice TDD skill he's made available [0][1].

[0] https://www.aihero.dev/skill-test-driven-development-claude-...

[1] https://github.com/mattpocock/skills/blob/main/tdd/SKILL.md

sn9··on Parse, Don't Validate (2019)
She wrote about it in the most recent post on her blog: https://lexi-lambda.github.io/blog/2025/05/29/a-break-from-p...
sn9··on Parse, Don't Validate (2019)
I think they're talking about cases when you can make the "zero" behave like an algebraic identity.
sn9··on Two days of oatmeal reduce cholesterol level
The problem is entirely about patients refusing to do what they know is good for them if it takes any self-discipline, so doctors resort to medication.

You can't force them to have healthy lifestyles.

sn9··on I prefer to pass secrets between programs through standard input
I had to disconnect Mullvad to load the page.
sn9··on Vitamin D and Omega-3 have a larger effect on depression than antidepressants
I'd also check out these two episodes from Barbell Medicine on Vitamin D where two doctors discuss the pros and cons of supplementation.

* https://soundcloud.com/user-344313169/vitamin-d-mixdown-1

* https://www.barbellmedicine.com/podcast/episodes/episode-381...

sn9··on Ask HN: Do you still use physical calculators?
I use an emulated scientific calculator Android app which has all the features of a physical calculator but none of the performance issues.

If I'm at my laptop, I usually just use a IPython REPL.

sn9··on Two days of oatmeal reduce cholesterol level
Fiber consumption has long been known to reduce cholesterol levels in a dose-dependent fashion.

Current recommendations are to get 15+ grams of fiber per 1000 Calories, but we know from, e.g., hunter-gatherer populations that humans can eat far more than that.

Building a diet around whole food sources that are high in fiber and protein is basically all you need for a healthy diet, constrained by however many calories you need to support a healthy weight.

Fruits, veggies, legumes, whole grains, nuts, seeds, etc. should make up the majority of your diet.

sn9··on Two days of oatmeal reduce cholesterol level
Doctors and public health organizations literally have dietary and physical activity guidelines.
sn9··on The Overly Analytical Guide to Escorting (2021)
Per literal hour of work, not the average rate of a 40 hour work week.
sn9··on Trump's Letter to Norway Should Be the Last Straw
Give them time to figure out the mental gymnastics. They always do.
sn9··on Mathematics for Computer Science (2018) [pdf]
Math Academy has a comparable Discrete Math course that shows you how to solve every problem after you submit a solution and incorporates spaced repetition.
sn9··on Fighting Fire with Fire: Scalable Oral Exams
If you have a <1% pass rate from beginning to end, then that strongly suggests that your admissions criteria is intentionally low enough to admit students that are unprepared for the program so that you can take their money.

You could easily raise the bar without sacrificing quality of education (and likely you'd improve it just from the improvement in student:teacher ratio).

sn9··on Get Better at Programming?
I'd also check out HtDP [0] or the similar two-book set on problem solving and program design by Marco T. Morazán [1].

They both come from the Racket school of pedagogy and focus on systematic program design [2]. The first resource is free and excellent, but the second goes into more detail.

[0] https://htdp.org/2024-11-6/Book/index.html

[1] https://www.amazon.com/stores/author/B09QMPRYYM/allbooks?ccs...

[2] https://felleisen.org/matthias/Thoughts/The_Design_Recipe.ht...

sn9··on Ask HN: Is building a calm, non-gamified learning app a mistake?
Math Academy has some of that but remains a calm and distraction-free learning environment that still actually teaches anyone who shows up to regularly and consistently do the work. Worth checking out.
sn9··on Get Better at Programming?
Software Design by Example sounds like what you want [0].

There's also NAND to Tetris [1], csprimer [2], and/or lists like these [3] or codecrafters [4].

[0] https://third-bit.com/sdxpy/

[1] https://www.amazon.com/Elements-Computing-Systems-second-Pri...

[2] https://csprimer.com/courses/

[3] https://www.andreinc.net/2024/03/28/programming-projects-ide...

[4] https://app.codecrafters.io/catalog

sn9··on Wolfram Compute Services
This reminded me of one of the greatest posts in the history of the internet, and I am devastated to report that it no longer exists: https://news.ycombinator.com/item?id=6516114
sn9··on Ask HN: Battling Depression
Have you seen a psychiatrist?
sn9··on Algorithms for Optimization [pdf]
The site also includes two other books for algorithms on decision making and validation: https://algorithmsbook.com/
sn9··on Ticker: Don't die of heart disease
It's the sort of thing you can just experiment with and see for yourself.

Try eating the usual health-promoting diet high in fiber and low in saturated fats from animal sources, mostly whole foods, lots of fruits and veggies and legumes and whole grains, lean meats, etc.

After a few months, check your blood work.

Then reintroduce fattier cuts of meat into your diet and see what your numbers do after a few months.

sn9··on Ticker: Don't die of heart disease
I learned about it on the Barbell Medicine podcast! They had an episode dedicated to it.

Highly recommended to search their episodes for anything about health or fitness you've been curious about.

sn9··on Ticker: Don't die of heart disease
If you made a Venn diagram for the non-genetic risk factors for heart disease and Alzheimer's, they'd basically be a circle.

Being worried about dementia but ignoring things like heart disease, diabetes, poor sleep, getting enough exercise, eating a health-promoting diet, etc. is like worrying about paying for retirement but refusing to save and invest.

There are a handful of high-impact habits that meaningfully lower your risk for the major killers people are worried about: https://www.barbellmedicine.com/blog/where-should-my-priorit...

sn9··on Ticker: Don't die of heart disease
It's like time in the market.

In a real sense, you've spent decades likely increasing your risk unnecessarily when taking action early would have given you the greatest leverage to lower your lifetime risk.

But you can't change the past. If you didn't plant a tree 20 years ago, plant it today and you'll still get some benefit, minimizing any future increase in risk and maybe even lowering it.

You could realistically have almost half your life left before you, and you can still end up being fitter and healthier than you've ever been in your life if you adopt healthy habits around diet, strength training, and endurance training.

sn9··on Ticker: Don't die of heart disease
Yeah it's definitely more about saturated fat from animal sources.

A leaner cut like tenderloin is fine.

Ultimately you just want to keep the calories you get from saturated fats from animal sources to less than 10% of your daily calories. You can still enjoy a nice steak or burger every once in a while, but they shouldn't be a daily staple if health is a priority.

sn9··on Ticker: Don't die of heart disease
There are specific recommended minimums in the physical activity guidelines about strength training and endurance training where meeting them is likely to significantly reduce your disease risk and improve your health: https://www.barbellmedicine.com/blog/where-should-my-priorit...
sn9··on Ticker: Don't die of heart disease
Health guidelines take into account when screening/testing is a net harm or benefit for patients in general, and when they move from being a net harm to a net benefit conditional on specific factors like existing diseases, obesity, etc.

Any decent doctor should be at least following those, and you can pretty easily find them from the major disease-focused organizations.

Importantly, there are also recommendations for how often you see a doctor based on things like age and known disease risk. You might discover you have risk factors that are genetically resistant to lifestyle factors, and the earlier you find out, the more leverage you have to decrease your lifetime risk with appropriate medication.

I'd check out the Barbell Medicine podcast episode on the health priorities they recommend patients focus on: https://www.barbellmedicine.com/blog/where-should-my-priorit...

sn9··on Ticker: Don't die of heart disease
Blood lipids and blood pressure are both significant risk factors for heart disease.

It makes zero sense to prioritize one over the other, any more than it makes sense to ignore diet and exercise.

sn9··on Ticker: Don't die of heart disease
This is completely wrong.

The majority of your cardio should be LISS unless you have extreme time constraints, but most people can find 30-60 minutes per day to get the recommended time in. This is an intensity at which you can hold a conversation.

If you have time for TV, you have time for watching it from a treadmill.

sn9··on Ticker: Don't die of heart disease
The most current and up-to-date risk calculator for heart disease risk is the PREVENT score.

https://professional.heart.org/en/guidelines-and-statements/...

sn9··on Ticker: Don't die of heart disease
Lots of the damage done can't be undone when it comes to heart diseaese.

Notably risk goes up with the time spent with bad numbers, so the most leverage you have on affecting your lifetime risk is caring as early as possible.

It's an area under the curve situation. Waiting until you start experiencing symptoms is putting a band-aid on an open wound compared to avoiding injury at all by focusing on high impact habits related to diet and exercise.

Focus on adopting the following habits as early as possible: https://www.barbellmedicine.com/blog/where-should-my-priorit...

← PreviousPage 3 of 34Next →