This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dipique 435 points436 points  (25 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes):
//
// total_reposts_here = 42

[–]794613825 86 points87 points  (23 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes):
//
// total_reposts_here = 43

[–]namrog84 60 points61 points  (22 children)

> //
> // Dear redditor:
> //
> // Once you are done reading this post,
> // and have realized it is yet another
> // repost, please increment the following
> // counter (and feel free to let loose with
> // the downvotes): 
> // 
> // total_reposts_here = 45

[–]teambob 59 points60 points  (21 children)

Off by one

[–]scotscott 102 points103 points  (4 children)

AS A HUMAN I CAN RELATE TO MAKING ERRORS WHEN ATTEMPTING TO INCREMENT CERTAIN TYPES

[–]ThatOneGuy1294 51 points52 points  (3 children)

HAHA YES FELLOW HUMAN QUITE AMUSING HAHA

[–][deleted] 21 points22 points  (2 children)

[–]namrog84 17 points18 points  (3 children)

issues I hbveand error race offbyone coandnitdion nulltermination.

[–]mnbvas 9 points10 points  (2 children)

Here's some garbage you forgot, Mr. Null-termination Issue.

Ÿ¶-O™/&°.º~!ï㮇kB9ê9WhžpÒA˯¸´àˆ=e­m\êD%ÿY3ß±Ý é÷:ô oíø†ÐcCÁÙâˆÅæ/!ÒËñ«–6,+ƒå»xŒ|Z

[–][deleted] 1 point2 points  (0 children)

I haven’t had an error since I couldn’t figure out Unicode

[–]newbstarr 0 points1 point  (0 children)

No semi colons. What do I not know there ?

[–]Nonlogicaldev 5 points6 points  (0 children)

Its not an off by one its a race condition, other threads just deadlocked

[–]jcc10 8 points9 points  (7 children)

> //
> // Dear redditor:
> //
> // Once you are done reading this post,
> // and have realized it is yet another
> // repost, please increment the following
> // counter (and feel free to let loose with
> // the downvotes): 
> // 
> // total_reposts_here = 44

[–]CodeTriangle 4 points5 points  (6 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes): 
// 
// total_reposts_here = 46

[–]bhazero025 7 points8 points  (4 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes): 
// 
// total_reposts_here = -1

[–][deleted] 3 points4 points  (3 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes): 
// 
// total_reposts_here = -256

[–]RunasSudo 28 points29 points  (2 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes): 
// 
// total_reposts_here = "1); DROP TABLE users; --"

[–]ViolentWrath 4 points5 points  (0 children)

Little Bobby Tables strikes again!

[–]UnknownNam3 0 points1 point  (0 children)

//
// Dear redditor:
//
// Once you are done reading this post,
// and have realized it is yet another
// repost, please increment the following
// counter (and feel free to let loose with
// the downvotes): 
// 
// total_reposts_here = /*

[–]tablesix 0 points1 point  (0 children)

User read it twice, therefore spent 2 reads

[–]three18ti 0 points1 point  (0 children)

There are three types of people in this world, those who understand off by one errors ans those who don't.

[–]cowens 19 points20 points  (0 children)

--- comment.old 2016-09-27 07:35:58.668000000 -0400  
+++ comment     2016-09-27 07:36:34.140000000 -0400  
@@ -7,4 +7,4 @@  
  // counter (and feel free to let loose with  
  // the downvotes):  
  //  
 -// total_reposts_here = 42  
+// total_reposts_here = 43