
I like AI \ science \ cloud native tech \ devops \ infosec \ codification \ applied technology \ automation and whimsical prose.
3rd Rock from the Sun
Joined April 2014
- Tweets3.1K
- Following5.6K
- Followers496
- Likes7.9K
Cloud Dev Chris retweeted
can't believe it took until C++ 26 to get something so simple in the language
Cloud Dev Chris retweeted
if you've read any of our postgres content, you'll know that we spend a ton of time dealing with database pressure either caused by autovacuum not running frequently enough or being blocked by semi-long transactions. this is a super common problem in the mvcc model.
one thing I've been working on recently is a way to write high-churn tables in a way that doesn't cause any autovacuum pressure at all. how is this possible? the idea is pretty much to chunk your high-churn tables into a set of smaller tables (partitions) and periodically run TRUNCATE TABLE on them as their rows churn out. we're not the first to work on this, but we're working on this as a generalized solution for problems with this shape, instead of tightly coupling them to a single use-case, like a queue.
once you model your system this way, it turns out a lot of difficult problems can be decomposed into a linearized set of events which are chunked by their insert time. in some cases, even your high-update tables can be modeled as writes off the event log via triggers, and if most of your updates are on non-indexed fields, then you can rely on HOT updates and also reduce autovacuum pressure even more.
more background on the underlying problem in our survival guide:
hatchet.run/blog/postgres-su…
Sleeping with the lights on for just one night reduced insulin sensitivity by 16% in healthy young adults.
A 2022 randomized controlled trial compared sleeping in ordinary room lighting (100 lux) vs. near darkness (<3 lux).
Sleeping with the lights on resulted in:
- 15% increase in HOMA-IR (insulin resistance)
- 16% decrease in insulin sensitivity (Matsuda index)
- Higher sleeping heart rate
- Altered heart rate variability
- Less deep and REM sleep relative to the dim-light group
The effects might be because of increased sympathetic nervous system activation during sleep.
PMID: 35286195
Cloud Dev Chris retweeted
Early-life sugar restriction was linked to a 36-69% lower risk of five cancers decades later.
A neat natural experiment shows that more months under sugar rationing during pregnancy and infancy (the first ~1,000 days of life) was associated with a lower risk of liver, prostate, lung, rectal, and breast cancers in adulthood.
Children born before the ration ended in 1953 also had longer telomeres, equivalent to about 2.2 fewer years of biological aging.
The proposed pathway? Less metabolic stress, slower telomere attrition, and preserved immune surveillance, the immune system’s ability to identify and eliminate precancerous cells. Though that mechanism remains unproven.
Nutrition during critical developmental windows can influence gene expression and long-term disease susceptibility. It may also shape lasting habits. Rationed participants still consumed less sugar five decades later.
It's fascinating to think about how early nutrition may influence both our biology and how we eat.
Cloud Dev Chris retweeted
Stop trying to find your passion. Start developing it.
Research shows that people who believe passions are developed rather than discovered are more likely to sustain their interest when faced with challenges.
Cloud Dev Chris retweeted
What do women find attractive?
Women find reading as a hobby highly attractive and the manosphere, gambling and porn extremely unattractive.
Arguing online is also one of the least attractive things, just narrowly ahead of porn and gambling. Yet another reason not to troll people on social media.
This is based on a force-choice survey of 74 male hobbies.
datepsychology.com/the-most-…
Zeigarnik effect is a psychological concept stating that people tend to remember unfinished or interrupted tasks better than completed ones
pubmed.ncbi.nlm.nih.gov/4155…
15
Cloud Dev Chris retweeted
You need to be waking up and telling yourself each day you will not be sick this cold & flu season.
Cloud Dev Chris retweeted
China's car manufacturing has entered the "Dark Factory" era.
In China's "Dark Factory", lights are off, humans are not involved, and cars are produced automatically.
Winning is inevitable.
China is winning the car war ft.trib.al/NxqqYeV
Interesting parallel with this decision tree and wholesale AI implementations going on. #fingerscrossed #ai
14
Cloud Dev Chris retweeted
Higher physical activity is associated with lower tau accumulation in the brain.
A walk a day keeps the dementia away.
Cloud Dev Chris retweeted
The things smart people invent are simple and understandable. That's the point of being smart
Replying to @yacineMTB
> It was all invented by humans just as stupid as you
Nah, some people are so smart, you can never be on the same level as them, no matter how hard you try.
Cloud Dev Chris retweeted
After traveling for 50 years at ~38,000mph, Voyager 1 is now officially one light-day away from Earth.
That’s .064% of the distance to the nearest star. After 50 years at 50x the speed of sound.
Space is big.
Cloud Dev Chris retweeted
std::map<int, int> with 1M entries holds 8 MB of data. It took 48 MB of RAM and 1M mallocs; a random lookup took 802 ns, mostly pointer chasing through cache-unfriendly nodes
A sorted array of the same 1M entries: 8 MB, 1 malloc, lookup with std::lower_bound takes 207 ns 🧵👇
Cloud Dev Chris retweeted
This new magnesium study is insane.
Healthy adults taking 2g of magnesium every day showed a 7.5-year reduction in cognitive brain age. The score combined working memory, episodic memory, and reaction time.
Here’s what you need to know (1/10):
Cloud Dev Chris retweeted
Just 10 minutes of physical activity per week is linked to increased happiness.
Make the time for your mind.


































