10 ms·
What are the odds that some idiot will name his mutex ether-rot-mutex (2017)
- andrewflnr 4y agoCan anyone comment on the mindset of someone who creates a Blogspot for a single article? Is it anything beyond "I want to post this anonymously and have it hosted for free indefinitely"? It feels like an odd solution, but I also can't think of a better one.
- jwilk 4y agoSpeculation: The author found "ether-rot-mutex" amusing enough to start the blog and name it after the thing. They anticipated more posts in the future, but they didn't happen.
- notforsaleldn 4y ago[flagged]
- xthrowawayxx 4y agoCan someone explain the significance of this like I'm 5?
- infogulch 4y agoIt's a cute anecdote. ?
- low_tech_love 4y agoIt’s just a fun little anecdote, nothing else much. :)
- Const-me 4y agoMutex is a synchronization primitive implementing mutual exclusion. When created with a name, they can be used to synchronize processes across the whole OS. For instance, a named mutex is a good way to ensure the program can only be running in a single instance. Specifically, the program creates a named mutex on startup, and locks it forever. If failed to lock, it shows a message saying "another instance is already running" and quit. When the program quits normally, the OS will automatically unlock the mutex, allowing the program to run once again. Now, imagine that by coincidence, 2 unrelated programs have implemented that approach using the same name for the mutex. This gonna break both of them with weird bugs. Launch program A, then launch program B, and it won't run complaining "another instance is already running" despite that's not true. For this reason, mutex names are better be very unique. A typical solution is generating a GUID and using it for the name of the mutex. But the developer of that particular program instead used the string "What are the odds that some idiot will name his mutex ether-rot-mutex!" They're not wrong in the sense the odds are miniscule, however GUIDs are unique too and much shorter, only 36 characters.
- warent 4y agoYou must have interactions exclusively with prodigious 5 year olds
- nonethewiser 4y agoIt was a good explanation. How good is "the man tried to think of a name no one ever thought of before?"
- xthrowawayxx 4y agothank you :)
- _carbyau_ 4y agoThanks!
- dqpb 4y agowhat does ether-rot refer to?
- DarylZero 4y agoThis is the real question. How can the ether rot? Is it not eternal?
- deleted 4y ago[deleted]
- spydum 4y agowondering the same, maybe simple word play on ethernet.. who knows what floats about in the brain of a developer! naming vars is hard dangerous work in my experience!
- markstos 4y agoIn 2003, “ether” might have referred to “Ethernet”, wired networking. Rot might have referred to decay or a rotation cipher, like ROT13. https://en.m.wikipedia.org/wiki/ROT13 https://en.m.wikipedia.org/wiki/ROT13 I think here they are essentially random like “I hope no one else uses Correct Battery Horse Staple for their globally unique ID”. https://xkcd.com/936/ https://xkcd.com/936/
- deleted 4y ago[deleted]
- butwhywhyoh 4y agoWhen someone tells you a funny story in person do you respond with this question too?
- KineticLensman 4y agoIf a funny story goes 'whoosh' over my head I would might, if I was bothered, say something like "I'm probably just being dense, but I don't get that".
- totetsu 4y agoMutually exclusive - MutEx
- SCUSKU 4y agoBest of luck to the author of the blog post in finding the author of the code! Excited for any follow ups! :)
- sprior 4y agoBack 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.
- Firmwarrior 4y agoIs/was "solid rot" slang for something somewhere?
- runnerup 4y agoNot sure. Assumed it was “poop” though.
- sprior 4y agoIn my head it was just part of solid and rotation which was exactly that the code did and all I ever thought of, but once the other person pointed it out it was like "oh, right".
- ClassyJacket 4y agoYes but what's the "dirty" meaning? What were they pointing out? It's not aparrent.
- timthorn 4y agoSeems so. I don't know what it is, but I'd rather not Google for it myself.
- lupire 4y ago"rot" means "decayed/decomposed". It's got a negative connotation.
- not2b 4y agoIt 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 anal_entry. Either he honestly didn't realize, as he claimed, or he was better at keeping a straight face than anyone I ever met.
- bmm6o 4y agoIf it ended up in the binary it probably wasn't a comment, in the true sense. Was that the name of the mutex?
- IncRnd 4y ago> If it ended up in the binary it probably wasn't a comment, in the true sense. I think you meant "in the source code sense" not "in the true sense." It could very well be a comment in installware.
- mkj 4y agoSeems likely this might have been the text message of an assert()ion if something went wrong with that named mutex?
- bee_rider 4y agoHuh. The odds are higher now, I guess.
- iKlsR 4y agoFrom the comments on the blog. > This is a comment made in a software called InstallShield, version X at last, a software intent to create installers, so it probably will appear in many other products. > Found in a InstallShield sample that I was reversing to check if it's a malware. The line made me chuckle, and it's so heartwarming to see someone actually made a blog on it and the fact the line has been around since 2003. Relics like these make me so nostalgic for the 00's Internet days. To anyone reading this, fist bump from a fellow Int3rW3bz lurker.
- pteraspidomorph 4y agoGood old InstallShield. At one point it was everywhere, and then... it wasn't. I keep all the bundled installers I've ever had in a folder. Currently there are files there from 2009 onwards (older ones are archived somewhere). I didn't bother looking for the older ones, but running grep -a ether-rot-mutex quickly yielded a match containing the entire snippet! The culprit is the installer for Ulead (now Corel) PhotoImpact 12 and it has been there since 2010.
- xyzzy123 4y agoInstallshield as a product had... (has?) absolutely incredible incidental complexity. It's really hard to communicate the scars, if you never dealt with it, you dodged a bullet. Under the next -> next -> finish you saw, was basically a fountain of tears. That software directly relished and consumed the salty tears of engineers. It demanded them as sacrifice, to make the installs keep happening. You would think that a product which did nothing but facilitate that workflow would hide, or somehow ease your pain but somehow it made it so that it never worked by default and it was your problem as "installer engineer" (aka short-straw-haver) to fix it.
- self_awareness 4y agoBut it had to solve some original problem (while maybe introducing others). Otherwise it wouldn't be used? From user's POV, I've always preferred IS installers than Wise, but I haven't created any packages even once. I was always just the "next-next-finish"-type of user ;)
- cronix 4y agoProbably about the same odds as a company co-opting the common parlance such as "meta."
- tqi 4y agoWhat is your complaint here, that company names should only be made up words?
- javert 4y agoWe 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.
- DarylZero 4y agoYeah we need to use a good mocking nickname for that company.
- abduhl 4y agoYeah, something that really emphasizes how much of a boomer tech company they are. Something like that website all the boomers use: Facebook.
- javajosh 4y agoMeta is to Facebook what Alphabet is to Google. I don't think we have to worry.
- loxias 4y agoAgree. Though, in my outsider perception Alphabet == Google + a bunch of failed stuff + self driving cars. Whereas Meta == Facebook + an absurd $$$$$ attempt to convince the public wearing headsets is revolutionary + forget about that whole destroying society thing. At least the self driving cars might have positive net impact. ;-)
- thawaya3113 4y ago5 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 moving back towards it.
- mrpopo 4y agoAlso interesting that this is this person's only blog post ever, and dating from 2017.
- Izkata 4y agoWell, take a look at the blog's URL...
- eyelidlessness 4y agoI certainly don’t expect my FB posts to live forever except on some surveillance server. But tweets? They’re almost all public. They’ve been and are being crawled just like the old web. I’m pretty confident I have a higher likelihood of finding my tweets in some distant future than anything I’ve self-published on the web.
- bsaul 4y agoFrom 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.
- Kuinox 4y agoHopefully the Internet Archive save twitter tweets streams, and other closed source platforms.
- gomox 4y agoThe best part of this is that it is concrete evidence of Google Search result quality decay. The screenshot of the search in the article shows a result from a Blogspot blog called "Frankie's Joint". If you do today the exact same search that the OP does on his screenshot, that result does not show up. ALL the results I get are either a reference to this Hacker News post, or computer generated pages. A short 2 pages worth of useless computer generated content, including binary analysis pages and alternative frontends to the HN post. The original article on Frankie's Joint still exists, here it is: https://frankiesjoint.blogspot.com/2014/08/nein-doktor-nein.html https://frankiesjoint.blogspot.com/2014/08/nein-doktor-nein....
- walterbell 4y agoThe Dunk Web, only visible by archaeological reconstruction from photos of past Google searches.
- thrtythreeforty 4y agoHas anyone attempted to create a "search engine benchmark" of, say, oddly specific phrases that almost certainly need to return a certain set of pages as the top result? This could quantify the loss in quality we keep talking about. If the full list were public then the results could of course be gamed, but if only a sample were public and the full set were private then it would probably provide a useful metric (and would be able to measure attempted gaming by the score on the public and private datasets).
- deleted 4y ago[deleted]
- rapind 4y agoGoogle gave up on search though right? Like, I assume they’ve just abandoned it, maybe as recently as 2 or 3 years ago. Can anyone prove that they haven’t?
- aix1 4y agoI tried googling for evidence of that, but couldn't find anything. :)
- a-dub 4y agowild guess: there was some sort of registration or copy protection that generated a unique machine id or cryptographic key by applying some simple transformations to the mac address. it was trivially defeated because it was easy to find where this was calculated because of the naming of a mutex that enclosed it. after defeat and remediation, this was added as a grumble. for background: it wasn't uncommon in the old dark days of proprietary windows software to have an installer generate a machine id that would then be used to compute a machine specific install or registration key. i don't want to use the word sign, because that was probably more advanced than what actually went on, but the registration key was often a function of the machine id.
- nunez 4y agoThis 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 MacOS.kext" that was used to prevent Hackintoshes from booting if it was messed with
- greenhorn123 4y agoHackintoshes did not necessarily steal MacOS, you could buy legit copies of MacOS.
- jaywalk 4y agoYou could purchase a DVD containing MacOS, but calling them "legit" (as far as installing on a Hackintosh) is a stretch. You're paying for the physical disc, not a license to the OS. The only way to get a license to use MacOS is to purchase a Mac.
- Cockbrand 4y agoTo elaborate on this: Apple's license only permits installing Max OS X/OS X/macOS on "Apple branded" computers, so it's technically illegal to install it on Hackintoshes, no matter whether you bought the OS or not.
- tadfisher 4y agoYou could replace the innards of a PowerMac or whatnot with a modern system, and it would still be "Apple-branded".
- actually_a_dog 4y agoYou still can: https://www.apple.com/shop/product/D6106Z/A/os-x-lion 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.
- pharmakom 4y agoWhat does the blogger do for a job I wonder?
- invalidusernam3 4y agoI would guess data recovery
- schmeckleberg 4y agomaybe they reverse engineer or whitehat/grayhat/whateverhat for a living? hacking, ethical or otherwise, could explain looking through binaries with hex readers.
- gsliepen 4y agoThis reminds of the text "Dave Staugas loves Bea Hablig" which I found a long time ago when looking at the contents of the TOS 1.04 ROM.
- imgabe 4y agoI wonder what happens if you name your mutex ether-rot-mutex.
- twic 4y agoPeople must have tried it, so it's ominous that nobody has written about it.
- bayesian_horse 4y agoJust be glad he didn't name it after one of his many girlfriends...
- urbandw311er 4y agoSmells to me like the sort of comment I'd put in ahead of a bit of defensive coding. e.g. I originally made an assumption, but now I realise my mutex enumeration code will fail if somebody actually calls their mutex this one specific thing. So now I have to put in an additional test to guard against that.
- gwbas1c 4y agoCode comments are ignored by the compiler. I suspect it's not a comment but the name of the mutex itself. Personally, I'd so something like (Name of company / Product)-(Guid). This way it's unlikely there will be a collision, and if there is, someone's going to have to answer some interesting questions.
- rurban 4y agoLooks like Windows only, so of low interest to hackers.
- classified 4y ago"ether-rot-mutex" could be the name of a cryptocurrency for all I know.
- schmeckleberg 4y agoi seriously wondered if this post was related to ethereum and solidity and was amused that it was actually more to do with installshield. solidity programs can be hosted on? run on? ethereum. people can and do implement mutexes in solidity. (e.g.: https://medium.com/coinmonks/protect-your-solidity-smart-contracts-from-reentrancy-attacks-9972c3af7c21 https://medium.com/coinmonks/protect-your-solidity-smart-con...) what would happen if somebody, in their solidity-based smart contract, called a mutex "ether-rot-mutex". ether is one shortening of ethereum so it's not hard to guess. neither is mutex. rot is frequently short for rotation. also German for red. if it's easy enough to get scope wrong or cause leaky namespaces in solidity (disclaimer: i do not know enough about solidity to guess at this) then could somebody calling a mutex "ether-rot-mutex" little-bobby-tables themselves into exploiting your smart contract? i don't know. i don't even know what i don't know in this particular field. i'm just letting my apophenia out to play :)
- qsdf38100 4y agoI’m utterly confused. The author argued he found that "comment" in a binary file. I assume it’s an executable compiled file of some sort. Now, comments don’t end up inside compiled files right? This has to be a string, not a comment?? What am I missing?
- mike_hock 4y agoWhy not use a randomly generated (once and then fixed) string with 128 bits of entropy if you want to avoid accidental name collisions but need a well-known name?