In this episode of Syntax, Wes and Scott share spooky coding horror stories including crypto copy paste, Big Brother bug, losing $50,000, 2,000 SMS, and a $20,000 hour. They also discuss implementing useEffect incorrectly, costly mistakes like shipping and refunding 40,000 orders, and issues with DNS and SSL. Additionally, they talk about disappointing Amazon purchases and the need for consumer awareness.
Read more
AI Summary
AI Chapters
Episode notes
auto_awesome
Podcast summary created with Snipd AI
Quick takeaways
Always thoroughly test code to avoid small mistakes that can lead to significant financial losses.
Proper backup solutions and security measures are crucial in order to prevent potential security risks and protect sensitive data.
Deep dives
Coding Horror Story: Copy to Clipboard Issue
A developer at a crypto company made a small mistake in a react native app, causing a customer to send $60,000 to the wrong wallet. The UI showed that the address was copied successfully, but it wasn't for certain Android phones. Lessons learned: always test code thoroughly.
Big Brother Bug: Algorithm Error
A software dev’s algorithm for a Big Brother TV show’s house vote had a bug that announced the wrong contestant as the loser. The mistake affected the show's viewership and the author kept it a secret for years. The error resulted in the wrong person leaving the house and was a costly mistake for the production company.
npm Mishap: Unbacked Up SSH Keys
A major player at npm accidentally misplaced the laptop that could fix npm when it fell over. The laptop had unbacked up SSH keys, causing a potential security risk. Thankfully, the laptop was eventually found, but the incident highlighted the importance of proper backup solutions and security measures.
Auto-Submitting Payments: useEffect Error
An erroneous implementation of useEffect resulted in a web application automatically submitting user payments before they clicked the 'buy now' button. This caused a significant number of unintended orders and a loss of money for the company. The incident emphasized the importance of careful code implementation, especially when dealing with payment systems.
In this episode of Syntax, Wes and Scott relate even more spooky listener submitted coding horrors including crypto copy paste, Big Brother bug, losing $50,000, 2,000 SMS, a $20,000 hour, and more.