luminousmen (@luminousmen) header
luminousmen (@luminousmen) profile picture

Senior Data Engineer @Spotify | Blogging at https://teapawt.net/t.co/ZrcSE7WJOu about Data Engineering, Python, ML | Author of Grokking Concurrency

Joined November 2017
Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)Photo by luminousmen (@luminousmen)
Hello wonderful people! I’m thrilled to announce that my new book, “Grokking Concurrency,” has officially hit the shelves! You can find it here: manning.com/books/grokking-c… I could really use your support in spreading the word!
6
28
107
15,037
I used to believe that writing things down was only about keeping a record, so the next person would know what was decided.
1
44
That’s still partly true, but it’s a much smaller reason. When you think about a plan, it feels finished in your mind. But once you write it down, you notice the gaps immediately. luminousmen.substack.com/p/w…
15
If I keep choosing the "recommended" option over and over, I pause and think about what I would pick if there were no label. It depends on the area though
1
1
36
If I know it well I question the options. If it’s new to me, it’s hard to choose anything else because I don’t have anything to compare them to.
1
10
"95% of my review is the PR description now." An engineer once told me that, and at first, I thought he was joking. But he wasn’t.
2
1
71
Instead of reading diffs, he started relying on three other signals to check pull requests. First, he looks at the size of the change. If the diff is much bigger than the task, that’s a sign to investigate further.
1
14
Nine women can't make a baby in a month. A friend uses that line to explain agents.
1
1
42
She gives a one-day task to an agent, moves on to something else, and when the agent returns with a question, she has to get back into it. Now she juggles several tasks at once, but the main one still takes three days to a week.
1
12
1/ A clean code review used to mean something. Now I'm not sure it means anything at all.
1
169
2/ I run an automated review on every merge request. For about a year it earned its place - a few minor findings each time, something genuinely worth fixing maybe once a month.
1
17
Manning emailed me that Grokking Concurrency is their Deal of the Day - half off today only. I'm bad at this promo stuff and honestly had to dig up the link, but it's a genuinely good deal so I'd feel dumb not telling you. hubs.la/Q03-d27Y0 - ends midnight ET.
1
1
87
Your Spark job worked fine in dev. In prod it takes 4 hours. Welcome to the club.
1
1
97
Most "Spark performance issues" aren't really about Spark. They're about misreading the UI, caching things you shouldn't, broadcasting things that shouldn't be broadcast, and ignoring AQE/DPP defaults that changed in 4.x.
1
43
A data engineer on Reddit got drunk and wrote down everything he learned in 10 years. The post lives on. I agree with almost all of it. Preserved it here: luminousmen.substack.com/p/d…
1
2
209
"How many unique users did X AND Y?" - simple question, brutal at scale. Theta sketches solve it. But the gap between the algorithm and not getting burned in production is huge. Wrote the guide I wish existed: luminousmen.substack.com/p/m… #dataengineering
87
Your COUNT DISTINCT has been running for 3 hours. Your cluster is on fire. Nobody tells you early on: exact answers to simple questions can be impossibly expensive at scale. Data sketches fix this. Here's how 👇 #dataengineering
1
1
1
121
To count unique users exactly, you must store every unique value you've seen. 1 billion users/day = 1 billion records in memory. And you can't parallelize - COUNT DISTINCT isn't additive. Duplicates across partitions kill you.
1
20
Built a tycoon game about data engineering. You start at the ground level. Goal: reach AGI before you go bankrupt. Spoiler: the cash flow problem is just as real as in actual startups. Free, browser, no signup: game.luminousmen.com
1
96
My favorite design decision: if you hire AI researchers, Meta shows up after 60 seconds and takes half of them. I didn't even need to make that part up.
1
33
Made this for engineers who aren't sure if they're using AI correctly or just laundering their thinking. Full rant on my Substack: luminousmen.substack.com/p/s…
1
66
Spark is powerful. It scales. It's fast out of the box. And yeah, the defaults are surprisingly decent - until your dataset grows, your joins get messy, or you start mixing Scala with PySpark and Arrow and some eager ML engineer starts throwing 200MB Pandas UDFs at the cluster.
1
1
69
Then it breaks. And 9 out of 10 times, it breaks because of memory. Full blog post: luminousmen.substack.com/p/d…
68
Sounds about right
1
1
2
88
👉 [FREE] Join our community of memeologists and get curated, frontline memes delivered directly to your inbox. Subscribe: luminousmen.substack.com/?sh…
1
55
ONLYFANS could be the most revenue-efficient company on the planet, beating Nvidia, Meta, Tesla, and Amazon - powered by ass, not AI.
105
Security researchers at PromptArmor have discovered a critical vulnerability in Google Antigravity - Google's new AI-powered IDE that uses Gemini-based agents.
1
59
Through an indirect prompt-injection attack, an outside actor can: - Trick Gemini into reading sensitive local files (like .env files or API keys) - Use the built-in agent browser to quietly exfiltrate that data through crafted URLs - Bypass safeguards such as "secret filtering"
1
77