Live data from Hacker News

What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

etherrotmutex.blogspot.com

81–90 of 176 posts

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#81
post #64
post #20

Earlier quoted context omitted.

It gets worse. A very long time ago a was working for a startup that was doing real-time speech compression, for telephony applications, using a DSP, with the compression/decompression implemented in assembly language. The code had two processes, an analysis process and a synthesis process. My colleague named the entry point to the synthesis process synth_entry, and he named the entry point to the analysis process an…

I was whiteboarding with a fellow (girl) student in college. We were sketching out a client/server architecture, and I abbreviated server as "srvr". When it came to the client, I thought I should also make it four letters, so I wrote "clit". I stood back and looked at it. After a couple seconds pause, it dawned on my brain that was probably a terrible shortening. I wordlessly erased my gaffe, and just wrote out the w…

"clnt" would've been consistent with "srvr", both vowel-less.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#82
post #58

Earlier quoted context omitted.

I just checked, and this method is still syntactically valid (though not recommended style) in... C Javascript (Node) Python Perl Ruby Rust The strings did end up in my Python 2.7 .pyc bytecode, though not in my C or Rust binaries. My intuition was that this would work in most of these languages, but not all. For example, I thought Rust would probably complain about a value being unused. There's no such thing in gene…

Technically multiline strings in Python are the recommended style for multiline comments (e.g. docstrings).

They are recommended for docstrings, but not for comments in general. The compiler has a special case if the first statement of a function/class/module is a string (doesn’t have to be multiline), and it puts that string in the __doc__ attribute of that function/class/module — those are docstrings, and they need to be something visible to the compiler.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#83
post #64
post #20

Earlier quoted context omitted.

It gets worse. A very long time ago a was working for a startup that was doing real-time speech compression, for telephony applications, using a DSP, with the compression/decompression implemented in assembly language. The code had two processes, an analysis process and a synthesis process. My colleague named the entry point to the synthesis process synth_entry, and he named the entry point to the analysis process an…

I was whiteboarding with a fellow (girl) student in college. We were sketching out a client/server architecture, and I abbreviated server as "srvr". When it came to the client, I thought I should also make it four letters, so I wrote "clit". I stood back and looked at it. After a couple seconds pause, it dawned on my brain that was probably a terrible shortening. I wordlessly erased my gaffe, and just wrote out the w…

"If I had to do it over again, I'd spell 'clit' with an 'en'."

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#84

5 people have posted about this very thing over the past 14 years and this will be searchable for decades going forward, either through Google or the way back machine, or possibly through a publicly funded way back machine like alternative. Meanwhile the odds that your tweet or FB post will be searchable and archivable anywhere close to that is extremely low. The open Internet is so much better. I hope we start movin…

From an historian POV, those closed-data communication platforms are going to end up as a black hole. So much of our life has happened through them, and yet will be invisible to historian. It's really a problem.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#85
post #19
post #18

Probably about the same odds as a company co-opting the common parlance such as "meta."

We don't have to let them steal a word from the English language, that belongs to all of us. We don't have to let them cause confusion. Just don't call it the name they want you to call it.

But "facebook" was already a word from the (American) English language also.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#86
post #61

This brought me back to college and me learning about steganography. I wonder how many images are floating around with secret messages in them! Also reminds me of people who immortalized themselves by putting their initials or a favorite phrase in the header of a file format that got popular (like Mike did at Microsoft for .exe's; every exe header starts with MZ, which is really friggin cool) Or the "Don't Steal MacO…

Good old days, when people shared their files through Steam artworks pictures (png)

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#87
post #64
post #20

Earlier quoted context omitted.

It gets worse. A very long time ago a was working for a startup that was doing real-time speech compression, for telephony applications, using a DSP, with the compression/decompression implemented in assembly language. The code had two processes, an analysis process and a synthesis process. My colleague named the entry point to the synthesis process synth_entry, and he named the entry point to the analysis process an…

I was whiteboarding with a fellow (girl) student in college. We were sketching out a client/server architecture, and I abbreviated server as "srvr". When it came to the client, I thought I should also make it four letters, so I wrote "clit". I stood back and looked at it. After a couple seconds pause, it dawned on my brain that was probably a terrible shortening. I wordlessly erased my gaffe, and just wrote out the w…

I once forgot that calling a solution "quick and dirty" is a raunchy double entendre until the lady I was demoing something to said "kinky". But your example is far more embarrassing.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#88
post #7

Back when I was in high school and programming on the original IBM PCs I wrote a program that would graph "solids of rotation" (a function rotated around the X axis). Well I chose the obvious name based on the 8.3 filename limitations. One day someone looked over my shoulder and said "you named your program solid rot???" Oops.

Is/was "solid rot" slang for something somewhere?

Seems so. I don't know what it is, but I'd rather not Google for it myself.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#89
post #58
post #52

Earlier quoted context omitted.

> If it ended up in the binary it probably wasn't a comment, in the true sense. In some languages, rather than comments being a special syntactic thing, you just write a string-literal expression as its own statement. Before dead code elimination was a thing, I imagine these string-literals would end up in the binary.

I just checked, and this method is still syntactically valid (though not recommended style) in... C Javascript (Node) Python Perl Ruby Rust The strings did end up in my Python 2.7 .pyc bytecode, though not in my C or Rust binaries. My intuition was that this would work in most of these languages, but not all. For example, I thought Rust would probably complain about a value being unused. There's no such thing in gene…

For Rust the Clippy linter will warn that such a line has "No effect" by default but the compiler itself won't warn you that the literal was unused. I was surprised by that too. This is also true for other literals, such as an integer.

Re: What are the odds that some idiot will name his mutex ether-rot-mutex (2017)

#90
post #61

This brought me back to college and me learning about steganography. I wonder how many images are floating around with secret messages in them! Also reminds me of people who immortalized themselves by putting their initials or a favorite phrase in the header of a file format that got popular (like Mike did at Microsoft for .exe's; every exe header starts with MZ, which is really friggin cool) Or the "Don't Steal MacO…

Hackintoshes did not necessarily steal MacOS, you could buy legit copies of MacOS.

You still can: https://www.apple.com/shop/product/D6106Z/A/os-x-lion

Even if they stop selling it on the App Store, you can still buy a fully licensed copy of OSX buy picking up an older Mac Mini.

Post reply on HN