return to table of content

A Real Life Off-by-One Error

delgaudm
18 replies
18h58m

If you cross your eyes and look at the routes as if it were a single stereoscopic image overlaying one route on top of each other, the misplaced hold jumps out at you immediately.

pooriar
4 replies
18h54m

I just did it and it didn't jump out for me at all. Odd

zeekaran
0 replies
15m

Took me a bit to realize the last photo has it correctly, and to stop trying to find the discrepancy there. Looking at only the first image it pops out to me because the wrong one is floating closer to my eyes than the rest.

pavon
0 replies
18h9m

I usually find it easier to relax my eyes (focus too far rather than too close), and so the opposite occurred - most of the holds appeared to float in a single plane (slightly wavy perhaps due to lighting differences), while the incorrect hold was sunk further back.

Miraltar
0 replies
9h52m

It's so weird ! The badly placed hold just disappears once all the rests aligns. My brain seems to dismiss it as an error on its part

LeonB
0 replies
14h50m

Same! I couldn’t get it to work because that sailboat was in the way.

sukmaagung
3 replies
16h19m

It works. It is actually my secret technique when solving "find five differences".

uvesten
1 replies
12h54m

Now I’m one of the happy 10000!

jve
0 replies
10h13m

For people who may not understand your comment: https://xkcd.com/1053/

I'm also one of them... actually not, I'm not "in US" :)

qwertox
0 replies
11h3m

Sometimes I also use this as a code diff tool. But it's most fun for those image puzzles.

sebtron
3 replies
8h14m

I don't understand how this works. If I cross my eyes, the images become extremely blurry. I can't even tell if they are precisely overlapping or not, let alone see if one of the holds is out of place.

Am I the only one?

danbruc
2 replies
7h58m

That needs training, took me quite some time to learn this in the early 90s when the Magic Eye books [1] came out and autostereograms could be found in many newspapers. I personally also never learned to cross my eyes, I instead make them look parallel, see the diagram in [2]. Once you have learned it, it is hard to unlearn, to the point that once in a while my eyes and brain will snap onto repetitive patterns like grid paper or just text without any intention to do so.

[1] https://en.wikipedia.org/wiki/Magic_Eye

[2] https://en.wikipedia.org/wiki/Autostereogram

s3krit
0 replies
2h41m

Once you have learned it, it is hard to unlearn, to the point that once in a while my eyes and brain will snap onto repetitive patterns like grid paper or just text without any intention to do so.

Rare that I meet someone else that does this. I learned how to do magic eye puzzles as a young child, I think my first was in a magazine and I ‘solved’ it the standard way of placing it close to your nose then slowly pulling back. Before long I could just do it on command and as an adult I find myself doing it all the time, often unconsciously. Makes spot the difference puzzles trivial, that’s for sure

robotguy
0 replies
3h55m

once in a while my eyes and brain will snap onto repetitive patterns like grid paper or just text without any intention to do so.

When autostereograms were all the rage in the late 80's I had a program on my Mac Plus that let me make/edit them and I used to edit for hours WHILE looking at them in 3D. Then one time I was walking down a hallway with a repetitive wallpaper pattern, my eyes did the thing, the entire hallway appeared to shift in front of me, and I stumbled and fell.

dkbrk
2 replies
17h24m

I tried this, and while I didn't have any difficulty establishing a stereoscopic view it didn't jump out for me at all. I perceived the blue line floating on top of the problem handhold, but the handhold seemed to be on the same plane as all the others. Knowing it was the problem one, I could use the stereoscopic view to see it, but without already knowing I don't think it would be apparent.

This is odd to me since I've successfully used stereoscopy in the past to find small differences. For some reason, with this image, rather than causing a change in perceived z-level, my eyes fight for dominance and my left ends up winning.

mhandley
0 replies
6h11m

It took me a little while, because that blue line is definitely a distraction. But once the other holds all settled down to being properly in the plane and sharply focused, and I ignored the blue line, the misplaced one was clearly above the plane.

carlmr
0 replies
11h3m

This is odd to me since I've successfully used stereoscopy in the past to find small differences.

Same, I think there are too many other things around it to make it work for me though.

lilyball
1 replies
18h27m

Good idea. I just tried that on the first image of the whole route (after zooming in a bit) and the misplaced hold looks like it's floating in space away from the wall.

whycome
0 replies
1h34m

Yeah with each being slightly offset from the other, it introduces a fake parallax while the others should align perfectly and remain flat.

AEVL
15 replies
19h29m

Not an off-by-one error—at least not in spirit. Interesting nonetheless.

I expected the article to eventually answer this puzzle:

The competition started and got through a number of rounds. There were some comments about how the climber on the left always won.

Near the end:

The kicker is that the out of place hold hasn’t been used in a long time. The climbers have optimised their route such that it is skipped. The same happens to the fourth hold from the bottom. So either being in the wrong place is immaterial to the climbers’ technique as long as they don’t get in the way.

So it seems like the error discovered by the article author should not have conferred any advantage to the climber on the left.

Anyone who can shine light on this matter?

fsckboy
7 replies
16h20m

Not an off-by-one error—at least not in spirit. Interesting nonetheless.

Literally it was an off-by-one error. Literally, literal meaning.

hyperhello
6 replies
13h48m

I think the poster meant off-by-one doesn’t simply mean a plus or minus one error, like mispricing a $5.99 as $6.99, but instead must be born out of confusion as to whether an origin point is marked as a 1 or as a 0.

Kiro
2 replies
13h26m

must be born

There are other reasons as well. I think the more common causes are inclusive vs exclusive comparison errors and fencepost.

whycome
1 replies
1h41m

must be born

The spelling is off by one. It's "borne"

fsckboy
0 replies
40m

The spelling is off by one. It's [not "born" it's] "borne"

the spelling was actually off by e , so you're stilll off by 1.71828...

fmbb
1 replies
12h59m

Off-by-one is not born from the base of the index. It is a general problem a lot of people run into in a lot of different contexts.

It’s for example called “the fencepost problem”: https://betterexplained.com/articles/learning-how-to-count-a...

I agree subtracting or adding one to any number is not the problem. It has to do with counting.

fsckboy
0 replies
37m

I agree subtracting or adding one to any number is not the problem. It has to do with counting.

if you are sprint climbing and you put your hand out to grab and you add or subtract the number 1 from where your hand needs to be, it is a problem or contributes to a speed difference.

richrichardsson
0 replies
10h31m

Perhaps the pieces are placed by counting a number of holes from piece A to piece B? That's a perfect recipe for an off-by-one: at which point relative to piece A do you start counting.

merizian
1 replies
17h0m

Even if the out of place hold were used, would you then conclude it to be causal? I still wouldn't rule out coincidence. Many discoveries happen as a result of investigating spurious patterns.

Also the author rules out psychology, but I wouldn't, especially since there were multiple confirmed errors in the route preparation, which I expect could reduce one's trust in the fairness of the competition. In the moment, I might start to wonder, "If one hold was out of place, why not more? Is anyone even checking this?" even if untrue / unlikely.

petsfed
0 replies
16h20m

I’ve never been a competitive speed climber, but I do understand that part of the process of precision is having cues for e.g. body position. So the fact that it’s never actually touched is not necessarily the red herring it seems to be. Racecar drivers cue off of trackside landmarks to get their brake timing right, for instance.

Certainly, the rope feel is a much more significant factor, since the feel of the rope tugging on your harness is a non visual part of your body position feedback (maybe “I know that I’m going fast enough/pulling hard enough if I’m outracing the rope retraction rate”).

throwawayk7h
0 replies
19h28m

It may not be a fencepost error, but I think it's still off by one.

jhncls
0 replies
2h41m

People are misunderstanding the meaning of an off-by-one error. Suppose the plan states that hold A and hold B need to be 11 holes apart. In the true spirit of the off-by-one error, this can be interpreted in 3 ways:

- either as 11 empty holes between the holds; - as 11 holes, start counting 1 just above hold A; - or as 11 holes, start counting with hold A as number 1.

Another real-life example, is a plumber who tells the construction worker that the distance between the holes for hot and cold water needs to be 15 cm. This was meant to be measured center to center, but the constructor worker interpreted it as the distance from the right side of the first hole to the left side of the second. The result can still be admired in our house, 10 years later.

ano-ther
0 replies
40m

They run the whole 15 meter up in about 5-10 seconds (quite amazing to watch: https://m.youtube.com/watch?v=8O4g8JmWn9E ). At that speed, a small disturbance from the path they internalized means that they need to switch back to thinking which will take them out of their flow.

Robbsen
0 replies
10h55m

So it seems like the error discovered by the article author should not have conferred any advantage to the climber on the left.

They might not use the hold by physically touching it, but they might still use it as a visual indicator of where the other holds are in relation. These competitors are used to the same layout for many years. If there is a slight misrepresentation it can surely put them off.

Arcuru
0 replies
19h14m

The climbers had complained about an issue with the belay ropes on the right side that they also fixed.

A few of the climbers had said that the automatic belay ropes on the right hand lane did not feel right, so the cherry picker was replacing those and not the hold that I had noticed being out of place. The climbers had noticed something wasn’t quite right, but hadn’t said anything about the out of place hold.

It was probably just two separate problems.

fracus
13 replies
15h34m

Seems bizarre to keep the same wall config for all of time. The sport becomes about muscle memory more than anything else. The competitors can literally turn off their conscious brain. It would seem to me, it would be more exciting as a spectator and competitor if they had to problem solve on their way up there. Records could be less about best times and more about how many rounds did someone win in a row or something.

They could even still incorporate the one standardized wall config as a speed round once in a while or integrate it into the competition in some other way.

francis-li
6 replies
15h24m

The same wall config is only for the speed competition. There has been debate about changing it though, cause like you said they become muscle memory and hyper-optimized.

There are other forms of competition:

- bouldering: how many of 4 short boulder problems can you finish

- lead: how high can you get on a longer, higher route (pictured on the right of the image in the article)

In these ones the problems are switched up every competition.

carlmr
5 replies
10h50m

This is also why every climber complained about speed climbing being a part of the climbing competition in the previous Olympics.

It's an entirely different discipline. Seeing lead climbers compete in speed climbing is like seeing Eliud Kipchoge matched up with Usain Bolt for sprinting.

Boulder and lead are at least somewhat related, although I still think it would be nice to see separate competitions here, too.

Sander_Marechal
1 replies
10h26m

I hope they do split up bouldering and lead next olympics. At least for Ai Mori's sake!

spuz
0 replies
58m

Indeed they will separate them at the 2028 LA Olympics. There will be 3 separate medals for boulder, lead and speed.

KaiserPro
1 replies
5h58m

This is also why every climber complained about speed climbing

not every climber. Its clearly a different discipline. Thats why boldering/lead is separate from speed climbing.

But then lead is different to top rope and sport different to trad. And indoor is very different to outdoor.

carlmr
0 replies
2h12m

not every climber. Its clearly a different discipline. Thats why boldering/lead is separate from speed climbing.

It wasn't separate in the previous Olympics, that's my point.

But then lead is different to top rope and sport different to trad. And indoor is very different to outdoor.

Except for trad most climbers I know do a mix of all of these.

Speed climbing is just so different from everything else that I don't even know one climber out of the hundred or so that I know that does it regularly.

ebiester
0 replies
4h12m

I do think it'd be amazing to see a "decathlon-like" competition where runners were measured in the 100, 1500, and 10k cross country, though. Figuring out how to even it out would be a chore, though.

yallpendantools
1 replies
14h17m

I don't watch this event but, coming from other sports, I think there's more to this than sheer muscle memory. Humans are not machines. Sometimes you compete with ongoing or lingering injuries. Conditioning changes even for the most disciplined of athletes. All of these mean that a different approach might be warranted for each event depending on your "set-up".

Not to mention other variables outside of the human body. Perhaps the type of rope could matter in your performance. The age of the holds could matter too; even when the governing body standardizes on a replacement period for holds, I'm sure competitors would have strong opinions about the difference between a hold at the start of its service life versus one about to be replaced.

Also, the one thing I love seeing in physical contests is how competitors eke out the last bit of performance advantage with sheer willpower. Muscle memory takes care of the actions but performance and willpower is a conscious effort.

In short, no, I don't think competitors can literally turn off their conscious brain and just let muscle memory take over. If a field has jargon, there's a hell lot to geek over it.

tway_GdBRwW
0 replies
8h52m

And in further support of what you are saying, when I'm in the flow state, either for programming or for workout or for other hobbies, I am not conscious. That's kind-of the definition of flow.

or people who describe an expert as someone who is unconsciously competent, they no longer have to think about what they are doing they just "know".

And as yallpendantools is saying, operating at that level of expertise is much much more than sheer muscle memory, though the muscle memory is critical. My typing skill certainly helps me find flow in my programming work, I don't have to think about how to type each letter, when I'm in flow the ideas "just appear" on the screen.

So rather than saying the competitors turn off their conscious brain, maybe it is better to say that they transcend it?

lostlogin
1 replies
15h23m

Seems bizarre to keep the same wall config for all of time. The sport becomes about muscle memory more than anything else.

Plenty of other sport are pretty much the same each time, particularly track and field.

Miraltar
0 replies
9h43m

Exactly, I don't understand people who watch any of the tracl and field disciplines and complain about this wall being the same everytime. Like there's about 10 different disciplines of people running on a plain track and that's fine but people climbing the same wall isn't. I totally get that you might find lead or bouldering more interesting but that's not the point.

devnullbrain
0 replies
3h15m

as a ... competitor

Are you?

LeonB
0 replies
14h53m

Once an activity has become a “competitive sport” it has a way of prioritising “measurable” over meaningful or enjoyable. When you develop a critical eye for this aspect of sport, the Olympics stop being enjoyable and become an utter horror of human maladjustment, a horrid parody of what it alleges to stand for.

db48x
12 replies
19h26m

They’re all in real life.

cortesoft
7 replies
19h0m

People use "real life" and "not in a computer" interchangeably

db48x
6 replies
18h51m

Those people are wrong.

sanderjd
5 replies
18h43m

There is no right or wrong, there is only "what people mean when they say words".

db48x
4 replies
17h53m

No, it’s definitely possible to use words incorrectly.

sanderjd
0 replies
6h15m

I think the simpler way to think about this is that it's definitely possible (and common) to use words confusingly.

That is, you can use words in such a way that many people misunderstand what you mean. You could then call that usage "incorrect" if you want, and I wouldn't quibble too much with that, but the more important reason not to use those words in that way is that people don't understand you.

But in this case, this usage of "in real life" is not confusing anyone. Even those who pedantically quibble with it being "wrong" actually understood what was meant.

necovek
0 replies
17h16m

That's not in conflict with what the parent said.

People can mean something else than you when using the same words, and they might not be wrong as those word definitions might be acceptable too (and they might change over time too).

cortesoft
0 replies
17h14m

And who is the arbiter of which use is correct? Language is always evolving and changing, the definitions of words you grew up with were just the definitions at that time. The meaning of a word is only defined by how people use and understand it.

It is possible to use words incorrectly, but if 90% of people use a word in a certain way, that becomes the definition.

Bjartr
0 replies
17h12m

Colloquialisms like "in real life" are correct usage. Just because it's not literal doesn't mean it's wrong because the information contained in verbal and written communication is affected by its context, including the society and culture it arose within.

sobriquet9
1 replies
15h21m

Unless we live in a simulation.

imp0cat
0 replies
13h3m

Remember all those time you've bitten your own tongue while chewing? Those are all off-by-one errors in the simulation. :)

enneff
0 replies
12h49m

Some can be imaginary no? Or do you think everything is real life? In which case what’s the meaning of “real life”?

GrantMoyer
0 replies
7h2m

Real life v.s. IEEE-754 life

gre
8 replies
18h39m

How about birthdays? When you turn "1" it's your second birthday. Or counting three seconds. Start counting zero..one..two..three.

taraparo
3 replies
17h29m

The number on your yearly "birthday" is not the number of birthdays you had (you only have one birthday) but the number of years you survived since your birth.

So the day of your fifth birthday is the first day of your sixth year alive.

gre
1 replies
16h17m

Birthday vs birth day but yeah. It works if you say it

dasyatidprime
0 replies
13h52m

I've generally seen “birthday” (within a year; recurs) versus “birthdate” (happens once).

noahlt
0 replies
16h34m

array.length

ars
1 replies
13h21m

Jewish law sometimes counts from 1 instead of 0 for birthdays, so a newborn is not 0 years old, they are in their 1st year. (But it's written as "when they are 1", so you have to know which counting method is being used.)

hangonhn
0 replies
57m

Chinese traditional age counting does the same. My mother had to constantly explain to our relatives when I tell them my age -- I use Western conventions.

quantadev
5 replies
17h34m

An AI image prompt could easily detect the misplace grip, but there's probably no other sport that needs to detect exact placements of things is there?

superb_dev
2 replies
17h31m

A few seconds in an image editor could do it too

quantadev
1 replies
16h23m

Right. AI however could take into account skew angles and perspective tho, so you could probably photograph something from any angle at all and as long as all the pixels are there the AI can tell you of something's out of place.

crote
0 replies
13h19m

Which can also be trivially done in any halfway-decent image editor. Algorithm-wise, it'd probably look a lot like QR code detection - which of course doesn't need any kind of fancy AI.

quantadev
0 replies
16h23m

good example.

anyfoo
5 replies
20h10m

Great find!

One comment on what the article says:

If this were actual code review the correct comment would be something like “this [piece] hasn’t been used for years, it should be deleted”. But this is something in physical space, and there would be arguments that removing it (them) means the route has changed, thus times are no longer comparable.

Hmm, I think the correct analogy is rather a benchmark. Like code in a benchmarking tool or test, the whole climbing course does not serve any purpose, any actual goal, except to be completed as fast as possible.

You wouldn't say "these instructions should be deleted because branch prediction and speculative execution in recent years have made it so that total cycle count is the same without them", for the reason stated ultimately after in the article already: That may not have been true in the past, and may change again in the future.

masklinn
1 replies
14h33m

You wouldn't say "these instructions should be deleted because branch prediction and speculative execution in recent years have made it so that total cycle count is the same without them"

This is a very different statement than the original, and furthermore the original might actually trigger performance issues e.g. while the operation might not be used anymore it can have side effects (like triggering a prefetch) which end up affecting downstream code.

yccs27
0 replies
6h57m

Yep, and even if the hold is not used anymore it can have side effects (like being in the way) which can end up affecting the climbing movements ;)

yccs27
0 replies
6h59m

In the benchmark analogy, that piece would be a line of code that can be optimized away by the compiler. It could still matter if the code (course) is recompiled (rerouted) for a different architecture (climber).

canucker2016
0 replies
6h4m

My analogy is that "The bug is in the error-handling portion of the common fast-path speed traversal of the climb."

The fast path that the speed climbers commonly use doesn't involve the slower path involving the buggy portion.

But if the climber can't get up/further using the fast path then the climber may be forced to take the slower path.

Since the slower path is standardized, the climber knows how much effort/time is needed on the slower path.

Except on the righthand side, the climber's typical effort along the slower "buggy" path is different from the typical slower path and will result in an even slower time aka the execution time in the error-handling path is larger than usual...

bigiain
0 replies
18h49m

"these instructions should be deleted because branch prediction and speculative execution in recent years have made it so that total cycle count is the same without them"

Then a new CPU architecture becomes popular, and spiders start winning every speed climbing event

polynomial
4 replies
15h11m

How is this an off BY ONE error? (Pretty sure it's not.)

crote
2 replies
13h18m

The grips are placed on a grid. It was supposed to be at, say, (43,55) but actually placed at (42,55).

Aardwolf
1 replies
9h33m

While that's indeed literally off by one, typically in programming an off by one error is a fence post error: if you have 4 fence posts, there are 3 sections in-between the fence posts, and off by one errors are about mistaking those two things. That's not really what happened in this climbing grip coordinates scenario here.

KaiserPro
0 replies
5h54m

I realise that by arguing the semantics, and am making this worse.

However

Off by one is the error, not the cause. sure, a lot of off by one errors are caused by index starting confusion, but not all. The hold is clearly off by one. thus its a "real life" off by one error.

yallpendantools
0 replies
14h1m

The fourth hold from the top in the right hand lane was off by one with respect to its counterpart in the left hand lane.
autarch
4 replies
13h22m

Maybe when the record is unbeaten for more than a couple of years they should throw it all away and start with a brand new route?

There's been some discussion of having new speed routes every few years. I think this would make the event a thousand times more interesting. That said, I'm still not sure I'd be interested.

devnullbrain
1 replies
3h10m

There's a misconception that a quadrennial sports festival. Actually, they're a quadrennial festival for people who never cared about the sport before to explain how it should be fixed.

whycome
0 replies
1h21m

QGM

zelos
0 replies
9h28m

How about a route pool like an esports map pool?

Miraltar
0 replies
9h40m

It would be terrible from an athlete perspective

renewiltord
2 replies
19h21m

That's a fantastic find. I imagine some standard CV tool can spot this since the holds are grid-aligned. We should probably have something like that. It's crazy how good human pattern-recognition can get when trained on things. What a spot by you.

Also, by the way, where is the photo on your about page: https://images.squarespace-cdn.com/content/v1/60f40aa1942bba...

I feel like it's Crater Lake, Oregon, but considering where you live it's probably somewhere in Switzerland. Looks lovely.

stijnstijn
0 replies
10h5m

You could also simply take two photos and overlay them. The difference would be obvious immediately to the human eye.

leejo
0 replies
11h44m

It is Crater Lake, from a second visit this summer.

BobAliceInATree
2 replies
17h44m

You wouldn't want to remove unused holds, because in the future, someone may find a more efficient path the makes use of that hold, but ignores other ones.

stijnstijn
0 replies
10h6m

This is indeed what is argued in the article.

mauvehaus
0 replies
14h50m

Sometimes climber, but not a speed climber: it would be vanishingly unlikely for a hold that far left of the button to end up on a more efficient route. Closer to the middle of the route, maybe, but it'd be a sharp jog to the right to hit the button from having any appendage on that hold.

philip1209
1 replies
6h41m

That's funny.

I discovered an off-by-one error in college as I was graduating. Apparently the "class plan" I had put together with an advisor during my second year was missing a class, and I discovered it as I petitioned it for graduation. "You're one class short."

(It was for my second major, not the primary one, and the head of the physics department was nice enough to credit a nonlinear optimization course from engineering toward the major, so I earned it.)

tomrod
0 replies
6h36m

I had a similar experience in getting a Math BS after finishing an Econ BA (which, for my school, was notoriously short and was not seen as sufficient to prepare you for economics graduate work).

The deal with my Math dept head was I had to make it my primary major (no true doubles at my weird undergrad, had to have an "additional"). It was a deal I was happy to make if it meant skipping an intro-to-proofs course after having taken the masters level series in most the of the fields they offered!

leejo
0 replies
8h36m

If you're curious about those, they're all photos of the various sporting events that happen in the village here. All the effects you see are captured in camera through movements or otherwise.

Anunayj
0 replies
7h49m

Where was the off by one error? I read the article and didn't find any mention of it.

dustincoates
0 replies
12h16m

When the Japanese delegation protested – could they accept a botched surrender document?

For some reason I find this a bit humorous. My dudes, you do not have much leverage.

mst
0 replies
16h57m

Also, maybe in future someone will optimise the route using that currently unused hold four down from the top?

This reminds me a lot of how Brood War meta changes as new 'bugs' are discovered, since the fandom loves the game without it ever being touched so when edge cases are discovered they become part of the game rather than something to be fixed.

dwighttk
0 replies
7h10m

The kicker is that the out of place hold hasn’t been used in a long time.

I’m guessing the belay rope issue was real and the actual cause of the other lane always winning then.

NeoTar
0 replies
2h52m

In terms of real-life off-by-one errors, it's hard to beat the town of Wemding in Bavaria (Germany).

Here a pyramid of 120 blocks is planned, with one placed every ten years. It started on the 1200th anniversary of the town, and is planned to be complete 1200 years later... and I'm sure you've spotted the problem.

Matt Parker, the 'stand-up Mathematician' has a video on it: https://youtu.be/FAdmpAZTH_M?si=_u8fM-fprUWiEqZ9