glad to know it’s not just me
Cloudflare DDoSed itself with React useEffect hook blunder
Submitted 2 weeks ago by TheBat@lemmy.world to technology@lemmy.world
https://www.theregister.com/2025/09/18/cloudflare_ddosed_itself/
Comments
eager_eagle@lemmy.world 2 weeks ago
ozoned@piefed.social 2 weeks ago
The DDoS came from … INSIDE THE HOUSE!
fluckx@lemmy.world 2 weeks ago
You’d be surprised how often DDOS can be an inside job.
Glares at marketing department
ozoned@piefed.social 2 weeks ago
Not surprised at all actually. I’ve done it. 😬
ICastFist@programming.dev 2 weeks ago
Marketing is just the sabotage team in disguise
Passerby6497@lemmy.world 2 weeks ago
Finally, a DDoS that even Cloudflare couldn’t stop
aeronmelon@lemmy.world 2 weeks ago
CloudFlare stopped the DDoS by destroying their own servers.
“I’ve won, but at what cost?”
hume_lemmy@lemmy.ca 2 weeks ago
Armand1@lemmy.world 2 weeks 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 2 weeks 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 2 weeks ago
Clownflare staying true to its name.
garretble@lemmy.world 2 weeks ago
Remember: You might not need an effect
sp3ctr4l@lemmy.dbzer0.com 2 weeks ago
Remember, always, immediately, push new updates to prod, specifically right before you go home at the end of the day.
xianjam@programming.dev 2 weeks ago
We’ve all done it. …right?
synae@lemmy.sdf.org 2 weeks 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 2 weeks 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 2 weeks 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 2 weeks ago
Double points if it’s friday
01189998819991197253@infosec.pub 2 weeks ago
Triple points if you’re going on a month-long holiday.
wabafee@lemmy.world 2 weeks ago
That is what CI is for Commit Incident.
isVeryLoud@lemmy.ca 2 weeks ago
And CD is for Commit Disaster
silt_haddock@lemmy.world 2 weeks ago
Bonus points if you do it the day before you leave for vacation!
sp3ctr4l@lemmy.dbzer0.com 2 weeks ago
Ah, a true chaos wizard, I see.