dorchadas: (Office Space)
[personal profile] dorchadas
Time lost to stupid mistakes in the last week:
  • Typing 0 instead of 1, thus iterating over the wrong array and repeatedly getting "undefined": Three hours.

  • Misplacing a bracket, causing the loop to always return true: Two hours.

  • Checking the wrong function input, thus causing the function to always return false: One hour.
Programming languages are like real languages, in that a single small error totally screws everything up. I'm reminded of my Japanese lesson this week, where Aya-sensei got completely confused when I talked about making 塩鮭 (shiozake, "Salted salmon"), because , "salmon," and , "alcohol," are pronounced exactly the same and I was talking about leaving it out on the counter to thaw, so she thought I had left three bottles of booze on the counter.

After those three hours lost to 0 and 1, I wish I had that booze on the counter. Emoji Picard facepalm

Date: 2018-Aug-03, Friday 16:56 (UTC)
helvetica: trucy (Default)
From: [personal profile] helvetica
lol I love your facepalm emoji!

That sounds really frustrating!! I'm glad you eventually found them though haha

Date: 2018-Aug-03, Friday 19:23 (UTC)
throughdoors: Jonathan Haze as Seymore Krelboyne, who is pretending to be a dentist and pulling a tooth from Jack Nicholson as Wilbur Force. (Default)
From: [personal profile] throughdoors
Oh jeez, those errors are so frustrating. I wound up with the weirdness of being rather good at avoiding or quickly finding those sorts of errors, so I didn't wind up learning a lot of debugging features in IDEs until I was dealing with massive weird pointer problems and stuff, and then the learning curve is a lot harder. Wheeeeee ugh.

In Japanese, other than the confusion about which word you meant, was there something you should have said to make your meaning clear?

Date: 2018-Aug-11, Saturday 01:15 (UTC)
throughdoors: Jonathan Haze as Seymore Krelboyne, who is pretending to be a dentist and pulling a tooth from Jack Nicholson as Wilbur Force. (Default)
From: [personal profile] throughdoors
Agh, counters! Korean has those too and they are not my favorite to learn, though interesting to learn about.

Date: 2018-Aug-04, Saturday 21:50 (UTC)
tuulentupa: Fairy on a butterfly (Eeyore's deep thoughts)
From: [personal profile] tuulentupa
Augh, those are so frustrating. Nearly worth of a full workday.
With real languages people often can figure out what the speaker was attempting to say. If only computers could do that.
...but yes, small errors can change the meaning quite radically. My favorite example in Finnish is tapaan (I meet) and tapan (I kill). So are you meeting your boyfriend, or are you having a really bad fight....? xD