Slashdot Mirror


Mountain Biking Helps Squash Bugs

Dr.Milius writes "Henning Brauer of the OpenBSD project recently made an interesting post to the openbsd-tech mailing list about how a mountain bike ride helped him relate two baffling bugs in their new BGP and NTP daemons. It turns out they were both off-by-one errors that were easy to fix but notoriously difficult to spot. Always great when the experts show us how it's done."

2 of 82 comments (clear)

  1. Re:This is news? by ezzzD55J · · Score: 1, Flamebait
    Indeed.. Experts? Show us how it's done? The guy may very well be a guru, but this story isn't evidence of it.. Although it's always easy to comment from the sidelines (and with 20/20 hindsight), the guy says it himself:
    when maintaining counters for list/queue/... entries, don't fuck with either the counter or the list directly anywhere; use wrapper functions that take care for both (not using a counter/list pair is not an option in many, including these two, cases). Not that this is really news, but very well worth recalling...
    No kidding it's not news not to fuck with abstractions, that's the fucking point!
  2. Re:This is news? by ezzzD55J · · Score: 0, Flamebait

    Flamebait? Overrated? May the metamods roast you moderators for this.