| 1. | | This is a fully working chess program with graphics. In 1024 bytes of JS. o_0 (js1k.com) |
| 189 points by archon810 on Sept 6, 2010 | 68 comments |
|
| 2. | | Steve Jobs "never had any designs. He has not designed a single project" (reprog.wordpress.com) |
| 173 points by MikeTaylor on Sept 6, 2010 | 84 comments |
|
| 3. | | Using jQuery and node.js to scrape html pages in 5 lines (nodejitsu.com) |
| 133 points by Ainab on Sept 6, 2010 | 43 comments |
|
| 4. | | Top Myths of Popular Psychology (skeptic.com) |
| 130 points by JacobAldridge on Sept 6, 2010 | 35 comments |
|
| 5. | | Rotating Quine (mamememo.blogspot.com) |
| 116 points by anathem on Sept 6, 2010 | 7 comments |
|
| 6. | | Patriot missile software failure, 28 soldiers died. Fix: reboot the system (wikipedia.org) |
| 110 points by bl4k on Sept 6, 2010 | 74 comments |
|
| 7. | | Jeff Jarvis on the Real Reason the Media is Going After Craig Newmark (thefastertimes.com) |
| 106 points by dreambird on Sept 6, 2010 | 43 comments |
|
| 8. | | Wikipedia lets you create books (wikipedia.org) |
| 106 points by sz on Sept 6, 2010 | 22 comments |
|
| 9. | | Redis 2.0.0 Stable is out (code.google.com) |
| 104 points by dzohrob on Sept 6, 2010 | 10 comments |
|
| 10. | | How To... Cram a 24-Core Linux Cluster in $30 IKEA Drawers (unplggd.com) |
| 97 points by helwr on Sept 6, 2010 | 20 comments |
|
| 11. | | How to Reset Your Sleep Schedule, Seriously (projectb14ck.org) |
| 96 points by b14ck on Sept 6, 2010 | 55 comments |
|
| 12. | | On Communities and Content (contrast.ie) |
| 97 points by destraynor on Sept 6, 2010 | 30 comments |
|
| 13. | | The Secret of Self-control (newyorker.com) |
| 94 points by limist on Sept 6, 2010 | 19 comments |
|
| 14. | | Programmer feel-good quote (axisofeval.blogspot.com) |
| 93 points by samstokes on Sept 6, 2010 | 30 comments |
|
| 15. | | The Science of Word Recognition (microsoft.com) |
| 90 points by swombat on Sept 6, 2010 | 6 comments |
|
| 16. | | Research Upends Traditional Thinking on Study Habits (nytimes.com) |
| 90 points by jamesbritt on Sept 6, 2010 | 18 comments |
|
| 17. | | How to read a patent in 60 seconds (danshapiro.com) |
| 89 points by danshapiro on Sept 6, 2010 | 18 comments |
|
| 18. | | Missile Command in less than 1k of JavaScript (js1k.com) |
| 86 points by michalmarko on Sept 6, 2010 | 19 comments |
|
| 19. | | Why Text in All Caps is Hard for Users to Read (uxmovement.com) |
| 85 points by UXMovement on Sept 6, 2010 | 29 comments |
|
| 20. | | New Google AI Challenge: Planet Wars (aerique.blogspot.com) |
| 84 points by mnemonik on Sept 6, 2010 | 40 comments |
|
| |
|
|
| 22. | | Why not tar? Limitations of the tar file format (nongnu.org) |
| 79 points by gnosis on Sept 6, 2010 | 31 comments |
|
| |
|
|
| 24. | | Dijkstra on the cruelty of really teaching computing science (1988) (utexas.edu) |
| 74 points by gnosis on Sept 6, 2010 | 47 comments |
|
| 25. | | Agile Development: A quickstart guide to doing it right (rubypond.com) |
| 70 points by glenngillen on Sept 6, 2010 | 25 comments |
|
| 26. | | Patterns for Influencing Behaviour Through Design (danlockton.com) |
| 65 points by all on Sept 6, 2010 | 5 comments |
|
| |
|
|
| 28. | | The difference between talkers and doers (getrichslowly.org) |
| 59 points by bjhess on Sept 6, 2010 | 31 comments |
|
| 29. | | Redis Logo Contest Started (Design one now) (redis.io) |
| 57 points by mahmud on Sept 6, 2010 | 17 comments |
|
| |
|
|
|
| More |
The "software error" Wiki alludes to is that the Patriot missile kept track of its internal clock with floating point numbers. When the machine had been booted in the recent past, such as every time in testing, the floating point number spent most of its precision to the right of the decimal point. This let it able to do the designed behavior, which was calculate very small delta(time) to be able to do velocity/position calculations and get fairly close to fast moving objects then go boom.
The problem is that floating point numbers have a limited amount of precision available to them, and if you are using a few billion milliseconds (2 weeks), almost all of your precision is lost to the left of the decimal point (and, given that this is precision-intensive work, you didn't need to wait that long to see anomalies).
Lower precision meant that taking delta(time) got increasingly less precise as time went on. Which meant that velocity/position calculations got progressively more screwed up. Which meant the missile did not go boom in the general vicinity of incoming missiles. Which killed Americans and allies.
Thus the moral of the lecture: a) your computer is a powerful, tricksy beast which has many ways to trap you in even straightforward code and b) you should treat software quality like some 19 year old's life depends on it, because it might.