Cloud Dev Chris (@clouddevchris) header
Cloud Dev Chris (@clouddevchris) profile picture

I like AI \ science \ cloud native tech \ devops \ infosec \ codification \ applied technology \ automation and whimsical prose.

3rd Rock from the Sun
Joined April 2014
Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)Photo by Cloud Dev Chris (@clouddevchris)
The best ever advice to achieve a long term goal by Tolstoy:
111
Cloud Dev Chris retweeted
can't believe it took until C++ 26 to get something so simple in the language
23
19
11
511
27,618
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…
4
14
113
4,856
Cloud Dev Chris retweeted
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
12
12
2
78
4,343
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.
54
194
31
1,872
383,703
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.
8
71
3
528
11,211
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-…
508
246
201
2,548
854,790
Cloud Dev Chris retweeted
You need to be waking up and telling yourself each day you will not be sick this cold & flu season.
17
52
5
997
33,444
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.
66
440
52
2,192
502,507
Cloud Dev Chris retweeted
"Fasting focuses the mind - it replaces all desires with a single desire." @naval
14
105
6
1,243
34,127
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.
24
225
15
1,294
32,436
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.
24
18
2
474
14,565
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.
337
2,068
126
24,274
721,977
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 🧵👇
2
7
119
10,542
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):
22
97
11
654
45,349
Cloud Dev Chris retweeted
“software is all about managing complexity” steve jobs is more relevant than ever
10
70
6
655
19,820
Cloud Dev Chris retweeted
요즘 카메라 수준 이라는데 이런걸 사람이 어떻게 잡냐고 ㅋㅋ
246
1,221
187
9,720
2,013,747
Cloud Dev Chris retweeted
Just 10 minutes of physical activity per week is linked to increased happiness. Make the time for your mind.
24
172
16
1,279
34,284
Cloud Dev Chris retweeted
I regret to inform you that regular exercise, consistent sleep and a clean diet will do more for your brain than any overpriced supplement.
118
716
29
8,424
128,823