SO CSharp
81 subscribers
1.43K photos
73 videos
80 links
Some stuff about about software development and related (devops, cs, ai, etc.). Stolen memes (mostly), some rare #random_PoK (random Piece of Knowledge), stream notifications. Also #weekendmeme
Download Telegram
💯4👍2😁1
You are absolutely right!

#tomgauld #ai #suggestion_box
😁5👍1
Have a great week at work!

#mondaymeme #dev
👍3😁21👻1
👍2😁2💯2
Not sure why it got closed though 😁

#github
😁4👍1
😁5👍1
I have one better!

while(x==y){func1();func2();}


😁😁😁

#codestyle
😁4👍1🤣1
I have a #vibecoding joke but ChatGPT is still thinking

#dadjokes
🤣4👍1😁1
Not #cplusplus but aplusplus 😁
😁4👍1
SO CSharp
Photo
The second pillar has fallen 😂

#cloudflare #suggestion_box #cloud
🤣4👍1
SO CSharp
The second pillar has fallen 😂 #cloudflare #suggestion_box #cloud
Cloudflare has published the outage post-mortem.

Here is a very brief summary:

- Cloudflare's Bot Management system relies on a periodically generated "feature file", created by a query running on a ClickHouse distributed cluster.
- To query data from all shards they use so-called distributed tables (powered by the table engine Distributed) in a database called default. The Distributed engine queries underlying tables in a database r0.
- Somewhere along the pipeline the following metadata query was used:

SELECT
name,
type
FROM system.columns
WHERE
table = 'http_requests_features'
order by name;


Which as you can see does not filter by the database name.

Cloudflare was rolling out a new permissions model which resulted in the aforementioned query to return tables from not only the default database but the underlying ones too. This effectively doubled the result set, which caused the downstream validation logic (written in #rust! 😁) to fail with kernel panic due to an unexpected number of results.

P.S. Thanks to Valery for another entry in the #suggestion_box!

#clickhouse #random_PoK #cloudflare
👍3👏2🤝1
Hugely reminds me my attempts in #frontend development 😁

#dev #fullstack
😁6👍1
😁4👍1
😁4👍1😱1🤣1
Noice trick 😁

#interview #tip
4🔥3👍1😁1🤣1