umangsh

Joined 6 years ago

Karma
104
Submissions
47
Member since
Nov 30
https://www.umangsh.com
View on Hacker News

Recent submissions

Comment · 1 year ago
Most, if not all top results uploaded in the last 3 months, are AI generated. Not sure if there's a way to restrict searches to older, pre-AI content.
Comment · 2 years ago
Belief in "the science" akin to religious faith, is counter to the scientific method.

Good science happens when the best scientist is wrong.

Comment · 3 years ago
30B fp16 takes ~500 ms/token on M2 Max 96GB. Interestingly, that's the same performance as 65B q4 quantized.

65B fp16 is ungodly slow, ~300,000 ms/token on the same machine.

Comment · 3 years ago
DRF (https://www.django-rest-framework.org/) provides a lot of functionality out of the box for REST views. In addition, DRF braces (https://django-rest-framework-braces.readthedocs.io/en/lates...) helps share form and serializer objects reducing a lot of duplicate effort.
Comment · 3 years ago
Comment · 3 years ago
That's a great list! decouple (https://pypi.org/project/python-decouple/) is a useful alternative for managing secrets. It converts values to the correct data type which is nice.

Another detail that matters deciding VPS vs PaaS - batch job processing. Heroku dynos restart once every 24 hours, longer jobs can't be scheduled.

Comment · 3 years ago
Comment · 3 years ago
Calcium can inhibit iron absorption. If your multi-vitamin has calcium, it likely won't have iron.
Comment · 3 years ago
Besides Iron and Zinc - keep an eye on daily intake for Magnesium, Potassium and Calcium. I wasn't happy with the increasing number of supplements in my diet, so I set out to hit daily RDIs on macro and micro-nutrients without any supplements. See the evolution of my meal planner tech stack here: https://www.umangsh.com/blog/the-right-tool-for-the-job/

Most repeated food suggestions by the planner:

1. Almonds (Vitamin E), Chia, Pumpkin seeds are micro-nutrient dense.

2. Liver is nature's multivitamin, Chicken/Beef/Turkey liver all good choices (Vitamin A, Iron, Zinc).

3. Eat your greens - mix and match Arugula, Spinach, Kale, Collards, Chard, etc (Magnesium, Potassium).

Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton