31 karma · joined Jul 11, 2024 (2y ago) · 22 submissions
comment 4w ago · link · parent
From my horror cabinet: 1. Running count * on all sqlite tables 4x per second to show sync progress.
2. Progress bounce animation eating 80% of cpu (windows phone bizarro silverlight)
3. Sending myself 800 emails in 10 minutes…
The rule is quite simple, we are just bad at it. Computer to human communication should run at human speed.
comment 2mo ago · link · parent
comment 4mo ago · link · parent
comment 10mo ago · link · parent
comment 1y ago · link · parent
Forget scaling, google ads, until your customer #10, probably more. All your early customers will be from your network, real people you talk to in real world.
It is a chicken and egg problem - you don’t know what product customers need until you have customers. So go find them, build and try to figure out what they have in common.
comment 1y ago · link · parent
1. No easy way to limit child records count in joins - find all orders with orderproduct.amount is greater than X. Obviously this will genereate duplicates for orders that have more than one such orderproduct. So you slap a distinct on it… but what if you need an aggregation?
The possible fixes are highly non-trivial: subqueries, window functions, or vendor specific: outer apply.
2. Or queries, that is when you group where conditions with OR are very hard (impossible) to optimize.
Apart from the trivial case where the conditions are all on the same column, you are better of leaving the declarative world and imperatively tell sql to do a union.
I wrote a bit about it here: https://www.inuko.net/blog/platform_sql_or_conditions_on_joi...
comment 1y ago · link · parent
At this point it should be obvious to everyone, that western money is (transitively) keeping all the worst regimes alive.
People stopped buying south African stuff, as an apartheid boycott, can we get some china boycott going?
18.
SQL query and SQL schema with JSON(inuko.net ↗)
2 points · by chuliomartinez · 2y ago · discuss