Dobromir Minchev retweeted
Every time I see a team celebrating their new "shared module," I remember this lesson.
Reuse is a dangerous form of coupling.
They found the same logic in two places and did what good engineers do: put it in one place and called it a win. Clean, responsible, textbook.
Six months later, someone needs to change it.
Suddenly, a small update for one team's requirements breaks three services, blocks two releases, and triggers an emergency meeting between people who've never talked to each other before.
This is the cost nobody preaches about.
DRY is one of those principles that feels unquestionably right until you apply it across team boundaries. The moment you share a module between domains, you're not just sharing code. You're creating a dependency that nobody owns and everyone resents.
Before you reuse, ask:
Will this change often?
Does it belong to one domain?
Are the consumers truly aligned in purpose?
Will one team’s change surprise another team?
If the answer to any of these is "I'm not sure," stop. Duplicate it.
I know how that sounds. It feels lazy. It feels like the thing a junior developer does before they know better. But here's what nobody wants to say out loud: two independent implementations you control are almost always cheaper than one shared one serving masters with different goals.
Duplication is a local problem. Coupling is an organizational problem.
One of them you can fix in an afternoon. The other requires a meeting with five teams and someone's manager.
Reuse isn't free. Treat it like the trade-off it is.
Dobromir Minchev retweeted
Bayes’ theorem is probably the single most important thing any rational person can learn.
So many of our debates and disagreements that we shout about are because we don’t understand Bayes’ theorem or how human rationality often works.
Bayes’ theorem is named after the 18th-century Thomas Bayes, and essentially it’s a formula that asks: when you are presented with all of the evidence for something, how much should you believe it?
Bayes’ theorem teaches us that our beliefs are not fixed; they are probabilities. Our beliefs change as we weigh new evidence against our assumptions, or our priors. In other words, we all carry certain ideas about how the world works, and new evidence can challenge them.
For example, somebody might believe that smoking is safe, that stress causes mouth ulcers, or that human activity is unrelated to climate change. These are their priors, their starting points. They can be formed by our culture, our biases, or even incomplete information.
Now imagine a new study comes along that challenges one of your priors. A single study might not carry enough weight to overturn your existing beliefs. But as studies accumulate, eventually the scales may tip. At some point, your prior will become less and less plausible.
Bayes’ theorem argues that being rational is not about black and white. It’s not even about true or false. It’s about what is most reasonable based on the best available evidence. But for this to work, we need to be presented with as much high-quality data as possible. Without evidence—without belief-forming data—we are left only with our priors and biases. And those aren’t all that rational.
Dobromir Minchev retweeted
Bulgaria has made good progress towards economic convergence with the euro area.
This paves the way for Bulgaria to adopt the euro as of 1 January 2026 and become the 21st EU Member State to join the euro area, says Chief Economist Philip R. Lane.
Dobromir Minchev retweeted
SQL It's not just syntax. Deep concepts separate beginners from experts.
What’s wrong with this script?
The first time I faced this question, I jumped into the SQL syntax like crazy.
But the syntax wasn't wrong; the problem was in the data and related to a concept called Cardinality.
Cardinality refers to the number of unique values in a column relative to a table's total number of rows.
• High Cardinality means the column has many unique values.
• Low Cardinality means the column has few unique values.
When you create an index on a column with low Cardinality, it is most of the time ineffective because:
• Low Cardinality means each indexed value points to many rows, reducing the index's ability to narrow down the search.
• Maintaining an index has a cost of storage and update time. For low cardinality columns, this overhead might outweigh the benefits.
• Database query optimizers are smart; they know column statistics, including Cardinality. When they detect a low cardinality index, they often ignore it and perform a full table scan instead.
A simple Example
Consider a table “Employees” with 1 million records:
Let's examine indexing on different columns:
• ID: High Cardinality (1 million unique values). An index here would be very effective.
• Name: High Cardinality (many unique names). An index could be helpful in searches.
• Department: Medium Cardinality (10-20 unique values). An index might sometimes be helpful but less effective than an EmployeeID or Name.
• Gender: Very low cardinality (2-3 unique values). The query optimizer would likely ignore an index here.
When to consider a Low Cardinality Column?
There are scenarios where indexing a low cardinality column might be beneficial.
For example, combining low and high cardinality columns can be effective.
'CREATE INDEX idx_dept_emp ON Employees(Department, ID);'
P.S. There is another solution for optimizing filtering in low cardinality columns. Any idea?
Dobromir Minchev retweeted
Working on a small team/startup? If you’re the engineer or non-designer who has to design the UI for your MVP, here are 6 tips on product design in the early days — without a designer.
In thread form!🧵
Dobromir Minchev retweeted
This is a 2,600-year-old letter written on a piece of pottery by a soldier named Hananyahu. When archaeologists discovered the artifact in 1965, they initially thought it was blank. It took another 50 years before they realized that the ink was merely invisible. Using multispectral imaging technology, researchers were finally able to decipher the message:
'If there is any wine, send.'
Dobromir Minchev retweeted
“Inspiration is perishable. Act on it immediately.” – @naval
Dobromir Minchev retweeted
Every product team should have a list of principles that guide their decision making.
One of my favorite examples of this is from Instagram's founding team:
Dobromir Minchev retweeted
Replying to @tishopetrov
@TishoPetrov of @AthracianSW isn't a doctor, but he knows how to check the vitals of your website. In his #ProgressNEXT19 session, he has a few "health tips" for monitoring your Sitefinity site.
Dobromir Minchev retweeted
We are back for a 2019 edition featuring keynotes from @tenderlove and @eileencodes! 🎉
The dates are 17-18 of May, 2019 in the National Palace of Culture in Sofia, Bulgaria. 🇧🇬
Our CFP is open until 28th of February and the tickets are on sale! balkanruby.com ☀️
Dobromir Minchev retweeted
Thread for Junior Developers/Engineers:
Bad news - the ability to be a master/elite coder is only the first step in your career 😞
You'll soon find that coding is the easy part.
Some of the hard parts - if you want to progress as a software engineer/developer - are:
Dobromir Minchev retweeted
I just cant resist sharing the last nurturing email I recieved from #marketo. The timing is just too perfect...
Dobromir Minchev retweeted
If Satan was a web designer… uxdesign.cc/if-satan-was-a-w…
Dobromir Minchev retweeted
#free #christmas #gift for #kids. Check out this #iphone #game! XmasLightsUp GET it FREE goo.gl/HwuLyX #indiedev #BestGame #gamedev
Dobromir Minchev retweeted
#FFF The ultimate "Proof of #Santa" app says flw: @AllMommyWants @brettbmartin @MiXMiCS_App @NoradSanta @jetjimsSSC http://t.co/CSxawCUHZi
Dobromir Minchev retweeted
Check out this great #themeforest item 'Cubo - Creative Portfolio Theme' themeforest.net/item/cubo-cr…































