HackerTrans
TopNewTrendsCommentsPastAskShowJobs

umangsh

no profile record

Submissions

YouTube search results full of AI slop

youtube.com
1 points·by umangsh·w zeszłym roku·1 comments

[untitled]

1 points·by umangsh·4 lata temu·0 comments

comments

umangsh
·w zeszłym roku·discuss
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.
umangsh
·3 lata temu·discuss
Belief in "the science" akin to religious faith, is counter to the scientific method.

Good science happens when the best scientist is wrong.
umangsh
·3 lata temu·discuss
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.
umangsh
·4 lata temu·discuss
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.
umangsh
·4 lata temu·discuss
Note: Article is from 2019.

While the risk of nutritional deficiencies when tracking 1200 calories/day is higher, it's possible to make choices with whole foods that are satiating and satisfy daily micro-nutrient requirements despite low calorie intake.

For instance, for a 1500 cal/day diet, the following mealplan is quite a bit of food:

Sample Lunch: https://i.imgur.com/ZTeKsX4.png

Sample Dinner: https://i.imgur.com/sX2g5dL.png

Daily nutrition tracker: https://i.imgur.com/YrGjSQJ.png
umangsh
·4 lata temu·discuss
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.
umangsh
·4 lata temu·discuss
Cool site, the sliders are super intuitive for exploration. I was pleasantly surprised to see Cauliflower rank high in Choline, it's more readily available from animal sources. Do the portion sizes differ for each item? Eggs have 7.6x times Choline from Cauliflower per 100g based on USDA data:

Cauliflower nutrition: https://fdc.nal.usda.gov/fdc-app.html#/food-details/169986/n...

Eggs nutrition: https://fdc.nal.usda.gov/fdc-app.html#/food-details/748967/n...
umangsh
·4 lata temu·discuss
Calcium can inhibit iron absorption. If your multi-vitamin has calcium, it likely won't have iron.
umangsh
·4 lata temu·discuss
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).
umangsh
·4 lata temu·discuss
https://www.tesla.com/blog/secret-tesla-motors-master-plan-j... (2006)

https://www.tesla.com/blog/master-plan-part-deux (2016)
umangsh
·4 lata temu·discuss
> You also get to see what foods have what, it’s interesting. Like how one little prickly pear has 200% of your vitamin E needs.

Do you have a source for this (USDA FDC data and google-fu don't concur)? I'd love to have alternate options for Vit E besides almonds :). It's a fat soluble vitamin, available from nuts and nut oils - vegetable sources are harder to find.

https://www.famnom.com/my_food/294b1d1d-6ca3-47ac-9cd4-bfbd6...

https://www.google.com/search?q=prickly+pear+nutrition
umangsh
·4 lata temu·discuss
Besides Magnesium, Vit D and Zinc, Potassium and Calcium are other micro-nutrients that affected general well-being for me. Both have relatively high daily RDIs (Potassium - 4700mg/day, and Calcium - 1300mg/day for adults) which can be difficult to hit without supplements, unless your diet includes servings of vegetables and dairy.

Potassium: https://www.famnom.com/nutrient/1092/

Calcium: https://www.famnom.com/nutrient/1087/
umangsh
·4 lata temu·discuss
I really enjoyed the article. I've several personal apps, and as with home cooked meals, I've a favorite 'home-cooked app' that I iterate on more than others.

Famnom evolved from spreadsheets, to python scripts, to a web-only django app hosted locally, to a web + ios + android client apps. I find it useful daily, and it has a few other regular users (besides my family), though arguably my family are my toughest users :).
umangsh
·4 lata temu·discuss
https://github.com/django/django Django's codebase is a pleasure to read. The directory structure is intuitive to navigate, and test coverage is great.
umangsh
·4 lata temu·discuss
FDA RDIs are useful as an average guideline imo, while individual acceptable limits can vary. 2300 mg/day (https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfcfr/cfr...) Sodium is not that hard to exceed when consuming processed foods:

1. One serving of TGI Friday fries is 33% of daily sodium intake: https://www.famnom.com/my_food/8eaaea4d-e97d-4a38-8125-4b923...

2. One cheese pizza slice is 28%: https://www.famnom.com/my_food/485759ea-8507-4af7-9efe-bf61b...

Eat food, not too much, mostly unprocessed foods.
umangsh
·4 lata temu·discuss
Liver is a nutrient powerhouse! Chicken, beef, lamb liver all good choices in moderation. However, few are unsafe for consumption even in small quantities - https://www.nature.com/articles/164530a0
umangsh
·4 lata temu·discuss
FDA RDIs (https://www.fda.gov/media/99069/download):

- Vitamin B6: 1.7mg

- Vitamin B12: 2.4mcg

The study uses 100mg Vitamin B6 (~60x RDI) and 1000mcg Vitamin B12 (~417x RDI) for a month. High doses have been previously associated with toxicity symptoms:

- Vitamin B6 (> 100mg/day): https://pubmed.ncbi.nlm.nih.gov/18060778/, https://pubmed.ncbi.nlm.nih.gov/15473987/.

- Vitamin B12 (1000mcg/day for 2 weeks): https://pubmed.ncbi.nlm.nih.gov/31018715/

Personally, I would try to get Vitamin B6/B12 from diet as much as possible. B6 is available from a variety of foods (https://www.famnom.com/nutrient/1175/). Interestingly, Vitamin B12 is available from dairy and milk (https://www.famnom.com/nutrient/1178/), not just meat.
umangsh
·4 lata temu·discuss
Just moved a django app from heroku hobby to fly.io. flyctl CLI, the documentation was super easy to work with. Fly.io Trial Plan is a decent alternative for Heroku hobby dynos (SSL certs through Let's Encrypt was a pleasant surprise).
umangsh
·4 lata temu·discuss
Famnom's (https://www.famnom.com) MealPlanner allows meal planning for families optimizing for available foods / recipes in the kitchen, nutrition preferences (customizable) and taste preferences (customizable) (no shopping lists though).

Code's available at https://github.com/umangsh/famnom and https://github.com/umangsh/famnom_flutter if you want to run your own app and server.