glad to know it’s not just me
Cloudflare DDoSed itself with React useEffect hook blunder
Submitted 3 months ago by TheBat@lemmy.world to technology@lemmy.world
https://www.theregister.com/2025/09/18/cloudflare_ddosed_itself/
Comments
eager_eagle@lemmy.world 3 months ago
ozoned@piefed.social 3 months ago
The DDoS came from … INSIDE THE HOUSE!
fluckx@lemmy.world 3 months ago
You’d be surprised how often DDOS can be an inside job.
Glares at marketing department
ozoned@piefed.social 3 months ago
Not surprised at all actually. I’ve done it. 😬
ICastFist@programming.dev 3 months ago
Marketing is just the sabotage team in disguise
Passerby6497@lemmy.world 3 months ago
Finally, a DDoS that even Cloudflare couldn’t stop
aeronmelon@lemmy.world 3 months ago
CloudFlare stopped the DDoS by destroying their own servers.
“I’ve won, but at what cost?”
hume_lemmy@lemmy.ca 3 months ago
Armand1@lemmy.world 3 months ago
I recently ran a session and wrote an internal blog post about why useEffect was a dangerous crutch that should be avoided wherever possible. This was due to complicated logic and unexpected interaction bugs.
This is a little different but I still feel vindicated.
Awkwardparticle@programming.dev 3 months ago
You are correct, useEffect can be dangerous if you don’t know exactly what you are doing. I would go so far as to say that most people use it incorrectly. This includes myself, I am not great at using React and end up using it in the wrong places, which according to a colleague, it should just be avoided if possible.
mostlikelyaperson@lemmy.world 3 months ago
Clownflare staying true to its name.
garretble@lemmy.world 3 months ago
Remember: You might not need an effect
sp3ctr4l@lemmy.dbzer0.com 3 months ago
Remember, always, immediately, push new updates to prod, specifically right before you go home at the end of the day.
xianjam@programming.dev 3 months ago
We’ve all done it. …right?
synae@lemmy.sdf.org 3 months ago
That’s how we know not to do it anymore
Knowledge tells you it’s safe to push to prod in Fridays. Wisdom tells you not to. Experience raises your heart rate at the very thought (though, that might actually be ptsd)
other_cat@lemmy.zip 3 months ago
My favorite personal fuck up was when I accidentally locked myself (and literally everyone else in the company) out of the CRM I was working on by disabling the login pages and enabling SSO before I had finished setting up the SSO inside the CRM’s config, and it logged me out as part of the procedure. Whoops.
Karjalan@lemmy.world 3 months ago
I think most people have done, or been part of a team that did, something similar.
At least most of the engineers I’ve worked with have had similar stories from their past
mr_satan@lemmy.zip 3 months ago
Double points if it’s friday
01189998819991197253@infosec.pub 3 months ago
Triple points if you’re going on a month-long holiday.
wabafee@lemmy.world 3 months ago
That is what CI is for Commit Incident.
isVeryLoud@lemmy.ca 3 months ago
And CD is for Commit Disaster
silt_haddock@lemmy.world 3 months ago
Bonus points if you do it the day before you leave for vacation!
sp3ctr4l@lemmy.dbzer0.com 3 months ago
Ah, a true chaos wizard, I see.