R.P. Aditya
Shared posts
Teen Girls’ Brains Aged Rapidly During Pandemic, Study Finds
Surprising New Research Links Infant Mortality to Crashing Bat Populations
Is My Blue Your Blue?
Article URL: https://ismy.blue/
Comments URL: https://news.ycombinator.com/item?id=41430258
Points: 1391
# Comments: 520
Rethinking Addiction as a Chronic Brain Disease
Getting to Know Kenya Through a Local Hiking Club
Cycling the Western Balkans: A Wild, Yet Welcoming, Mountain Tour
Ancient Egyptian Scribes Suffered Ergonomic Injuries
I put a toaster in the dishwasher (2012)
Article URL: https://jdstillwater.blogspot.com/2012/05/i-put-toaster-in-dishwasher.html
Comments URL: https://news.ycombinator.com/item?id=41235662
Points: 494
# Comments: 315
This FDA-Cleared Video Game for ADHD Helped Me Focus. But Then I Got Bored.
If you’re one of the millions of Americans who live with ADHD, like I do, the ongoing national stimulant shortage may well have left you reeling.
For me, every month feels like a mind-numbing riddle as I’m forced to project-manage between the doctor’s office and the various pharmacies that may or may not have enough stock of the medication I rely on to help with my executive function disorder—the same condition that makes it so difficult to go through this rigmarole in the first place.
Then I heard about EndeavorOTC, a new, FDA-cleared video game designed to help treat ADHD symptoms.
I was skeptical at first, but I gave it a shot. It certainly wasn’t a substitute for the medicine I’m used to, but I did find it helpful as a supplemental treatment—for a while, anyway.
Why Youth Mental Health Is on the Decline: Report
Postgres.new: In-browser Postgres with an AI interface
hey HN, supabase ceo here
This is a new service that we're experimenting with that uses PGLite[0], a WASM build of Postgres that runs in the browser. You might remember an earlier WASM build[1] that was around ~30MB. The Electric team [2] have gone one step further and created a complete build of Postgres that’s under 3MB.
Their implementation is technically interesting. Postgres is normally multi-process - each client connection is handed to a child process by the postmaster process. In WASM there’s limited/no support for process forking and threads. Fortunately, Postgres has a relatively unknown built-in “single user mode” [3] primarily designed for bootstrapping a new database and disaster recovery. Single-user mode only supports a minimal cancel REPL, so PGlite adds wire-protocol support which enables parametrised queries etc.
We have created https://postgres.new as an experiment. You can think of it like a love-child between Postgres and ChatGPT: in-browser Postgres sandbox with AI assistance. You can spin up as many new Postgres databases as you want because they all live inside your browser. We pair PGlite with an LLM (currently GPT-4o) and give it full reign over the database with unrestricted permissions. This is an important detail - giving an LLM full autonomy means that it can run multiple operations back-to-back: any SQL errors from Postgres are fed back to the language model so that it can have a few more attempts to solve the problem. Since it’s in-browser it’s low risk.
Some other features include:
- CSV upload: you can upload a CSV and it will automatically create a Postgres table which you can query with natural language.
- Charts: you can ask the LLM to create a chart with the data and change the colors of the charts.
- RAG / pgvector: PGLite supports pgvector, so you can ask the LLM to create embeddings for RAG. The site uses transformers.js [4] to create embeddings inside the browser.
We’re working on an update to deploy your databases and serve them from S3 using pg-gateway [5]. We expect to have a read-only deployments ready by the end of the week. You can access them using any postgres-compatible tool (eg: psql).Everything is open source. A huge shout-out to the Electric team who have been a pleasure to build with.
[0] PGLite: https://github.com/electric-sql/pglite
[1] Postgres-wasm: https://supabase.com/blog/postgres-wasm
[2] Electric: https://electric-sql.com/
[3] Single user mode: https://www.postgresql.org/docs/current/app-postgres.html#AP...
[4] transformers.js: https://github.com/xenova/transformers.js
[5] pg-gateway: https://github.com/supabase-community/pg-gateway
Comments URL: https://news.ycombinator.com/item?id=41224286
Points: 354
# Comments: 103
All of Earth's water in a single sphere (2019)
Article URL: https://www.usgs.gov/media/images/all-earths-water-a-single-sphere
Comments URL: https://news.ycombinator.com/item?id=41238102
Points: 742
# Comments: 275
Saving Australian Crocodiles by Yucking Their Yum
Her Epilepsy Seemed to Be Managed Well … Until It Wasn’t
A Psychiatrist’s Livestreams With a Twitch Streamer Raises Ethical Questions
Tsung-Dao Lee, 97, Physicist Who Challenged a Law of Nature, Dies
Open Source Farming Robot
Article URL: https://farm.bot/
Comments URL: https://news.ycombinator.com/item?id=41150095
Points: 711
# Comments: 356
25 years of production IPv6 in ESnet
‘Weird and Daunting’: 7,000 Readers Told Us How It Felt to Focus
If we want a shift to walking, we need to prioritize dignity
Article URL: https://www.strongtowns.org/journal/2023/7/28/if-we-want-a-shift-to-walking-we-need-to-prioritize-dignity
Comments URL: https://news.ycombinator.com/item?id=41105944
Points: 562
# Comments: 638
This Is What Happens When Tigers Try to Sneak Up on Small Bears
How a Crisis for Vultures Led to a Human Disaster: Half a Million Deaths
In the Beginning Was the Command Line (1999)
Article URL: https://web.stanford.edu/class/cs81n/command.txt
Comments URL: https://news.ycombinator.com/item?id=41084795
Points: 398
# Comments: 247
A Parent’s Existential Crisis: When All Financial Obligations Are Met
After publishing my post, “When To Stop Contributing To A 529 Plan,” I felt a sense of emptiness. For years, I had been trying to find a logical way to decide when to stop saving for my children's college education. When I finally figured out the answer to my financial obligation, I lost some purpose. […]
The post A Parent’s Existential Crisis: When All Financial Obligations Are Met appeared first on Financial Samurai.
AlphaProof, a New A.I. from Google DeepMind, Scores Big at the International Math Olympiad
Taking my diabetes treatment into my own hands
Article URL: https://martin.janiczek.cz/2024/07/23/taking-my-diabetes-treatment-into-my-own-hands.html
Comments URL: https://news.ycombinator.com/item?id=41052365
Points: 484
# Comments: 355
Scientists discover a new hormone that can build strong bones in mice
Article URL: https://www.ucsf.edu/news/2024/07/428011/scientists-discover-new-hormone-can-build-strong-bones
Comments URL: https://news.ycombinator.com/item?id=41036462
Points: 431
# Comments: 185
How Nutrition Can Improve Endurance
Do you find yourself struggling to find energy to complete longer hikes, bikes or climbs? We do too! We’ve compiled some general guidelines for optimizing nutrition for endurance.
Eating a balanced diet that meets your needs can give you a leg up. Think of your nutrition as another part of training. Learning what works for you and what foods to eat and when to make you feel your best, takes planning and practice. And like training, getting your nutrition dialed will help you crush it.
Keep in mind that there are many things that make you unique: your goals, level of fitness, body size and composition, and diet. We recommend speaking with a licensed professional for the nuance you need to set yourself up for success.
Before Your Activity
Good food choices:
- Sweet potatoes
- Bananas
- Gels/chews
- Granola bars
- Bagels – we really love bagels at Cronometer!
- Rice
- Foods rich in nitrates such as beets, beet powder, spinach & kale.
- Foods rich in l-citrulline such as watermelon
- Dark chocolate or coffee
During Your Activity
Foods to eat during activity:
- Rice cakes (we love the ones in the Feed Zone Portables cookbook by Skratch Labs)
- Potatoes (pre-boil and bring on your ride)
- Gels/chews
- Low-sugar cereal like Shreddies (you’ll get the iron from fortified cereals, important for endurance athletes!)
After Your Activity
Drink Water
Essential Micronutrients
Eat a diet that gives you all the essential vitamins and minerals you need:
- Vegetables
- Fruits
- Whole grains
- Protein: legumes, eggs, tofu, fish and chicken.
Micronutrients
While tracking all the micronutrients is what sets Cronometer apart, there are a few highlighted here for athletes: iron, calcium and vitamin D.
Iron
Helps supply your muscles with the oxygen they need to make energy. Regularly getting a lot of exercise can increase your need for iron, so consider boosting your daily intake above the recommended dietary allowance; 18 mg/day for most adult women and 8 mg/day for adult men and post-menopausal women. This is more important if you are doing long endurance activities, vegetarian or, a woman who menstruates.
Calcium & Vitamin D
Good sources of calcium include:
- Spinach
- Tofu
- Yogurt
- Cheese
Drink (Less) Beer
For more of the details behind these recommendations and more information for competitive athletes check out the source:
The post How Nutrition Can Improve Endurance appeared first on Cronometer Blog.
Stop Microsoft users sending 'reactions' to email by adding a postfix header
Three years in North Korea as a foreigner (2021)
Article URL: https://mydiplomaticlife.com/how-to-survive-3-years-in-north-korea-as-a-foreigner/
Comments URL: https://news.ycombinator.com/item?id=40937973
Points: 463
# Comments: 290









