6 ms·
A cheeky intern nearly turned MS-DOS into NSFW-DOS
- johnea 3y agoThere was a unicode ♥ in 1993?
- DigitalHackOp 3y agoNot unicode, 0x03 https://en.wikipedia.org/wiki/Code_page_437#Character_set https://en.wikipedia.org/wiki/Code_page_437#Character_set
- dhosek 3y agoAlthough many characters in Unicode are there thanks to things like CP437 having those characters (thus the line-drawing characters, among others). Backwards compatibility is also why different Brahmic scripts handle vowel markers that surround the consonant differently (e.g., in Devanagari, it’s a combining mark while in Thai it will be three separate characters).
- kibibu 3y agoCodepage 437 had the characters for suits of cards.
- donatj 3y agoHow did one type such a thing back then?
- bni 3y agoHolding down left-alt and typing a 3 number sequence
- deleted 3y ago[deleted]
- thristian 3y agoHold down Alt and type 3 on the numeric keypad, I think. In Windows, you can type characters in the Latin1 character set by holding down Alt, then typing a zero on the numeric keypad, then the code you want, such as Alt+0233 for "é". The leading zero disambiguates Latin1 characters from the traditional DOS character set, so you'd have to type Alt+130 to get the same character that way.
- alfiedotwtf 3y agoAnother Easter Egg was “mkdir Alt+255”, which created a directory with the name of the ASCII code 255 which is blank on the command line terminal. Tools like DIR would skip them so you could hide files in there
- hinkley 3y agoI just saw a demo of this the other day clicking around YouTube. In later versions of windows you could change the folder icon to be an empty image, then have it on your desktop where nobody could see it.
- jandrese 3y agoHiding it on the desktop is one of those things that seems like genius until some random Windows thing decides to do a desktop cleanup and rearranges your icons.
- hermitdev 3y agoALT+255 also made the directories inaccessible in Win9x. Couldn't open them in explorer, for instance, without renaming to remove the special character.
- ChickeNES 3y agoHeh, that one in particular I remember well from wanting to spell Pokémon correctly as a kid
- shever73 3y agoAlt + 003 on the numeric keypad, IIRC.
- rep_lodsb 3y agoIn general the comments saying "Alt+Numpad" are correct, however it doesn't work for this character! ♥ is code 3, which is the same as Ctrl+C - typing this at the DOS prompt would cancel any input on the current line (and also flush disk buffers IIRC - something left over from CP/M) It is possible to detect if the user pressed Ctrl+C or Alt+3, using BIOS calls or direct hardware access. However, the DOS console driver wouldn't do it this way, and instead convert both into the same ASCII code. The only possible way to pass this character to the "copy" command (which was built into the command interpreter) would be to write a program that invokes "COMMAND.COM /C COPY /♥". Story seems suspicious, if it happened at all it might have displayed "I ♥ SEX" when some other switch was present, then someone mixed things up?
- JdeBP 3y agoMost of the code pages had them, in fact, as they normally didn't vary in the C0 control character range.
- mschaef 3y agoThere for the purpose of making it easy to write card games. There were also a number of characters inspired by Wang word processors, which there'd been an early plan to reproduce on the PC.
- nxobject 3y agoPlenty of Blackjack demo apps, I'm sure.
- TonyTrapp 3y agoTo be precise, the heart is a the control character (the range of characters between 0 and 31). Code pages define the content of characters 128 to 255. Control characters are all the same between all DOS code pages.
- jareklupinski 3y agoit's how gaming worked: https://youtu.be/sj8SjoMIeOU?t=157 https://youtu.be/sj8SjoMIeOU?t=157
- pizzafeelsright 3y agoend of text - alt 3 (or alt 03?) I don't have a numpad anymore
- donatj 3y agoNear fifteen years ago I worked for a web agency with basically no code review and very limited QA. Fast and cheap. Insanely fast paced looking back. I had a habit of hiding my face in little hard to spot places of sites I worked on in very low contrast. Over my five years there I worked on probably hundreds of sites. A couple weeks after I'd left for my new gig, I get a message from a coworker that a different coworker had pushed up an untested change that broke the navigation on one of their biggest clients. The HTML had become malformed in such a way as to make the entire page a repeating pattern of my very low contrast face, which had been hiding under the navigation. The client thought it was some sort of hack. My friend and coworker knew what I'd been up to and explained to the team. I have no idea what was said to the client. A couple weeks later it happened again with a different site. Same developer pushed bad code and my face hidden under the contents of the page were revealed. They ended up going on an Easter Egg hunt and removed most of my hidden faces. It's not something I would do these days as it's very unprofessional but I still get a little smile thinking about it.
- joshstrange 3y agoI look back on my early web dev career where source control was something unheard of as were dev environments. In fact we regularly edited code live on prod server to debug/develop. Looking back I just shudder thinking about it.
- donatj 3y agoYup. We worked on a shared SMB server that had nightly backups. If we borked something bad enough to need to pull one of the backups it was an ordeal that involved calling (on the telephone) and potentially waking our IT guy who lived in Juneau Alaska Putting a site live just involved FTP-ing the files up to one our shared webservers.
- stuaxo 3y agoNumbered folders for version control sftp up to the live server.
- 3y ago
- iamben 3y agoA great addendum to this would have what the Easter Egg guy is doing now. A decent coder with a bit of cheeky personality 30 years ago... What happened to him?! Did fortune hit? Did he ride the dotcom boom? Did he give up in tech altogether?!
- technofiend 3y agoI had a friend who was fired because a customer's machine let fly with a few profanities. He had used Norton to patch his copy of command.com with swearword-laden error messages which he'd use to build their machine, and then forgotten to overlay their machine's copy with a clean one before sending it on.
- SideburnsOfDoom 3y agoI did this kind of edit once with a hex editor. The trick was to keep the message text the same length, so as to not upset byte offsets.
- amiga386 3y agoSad. They (THEY(TM)) also took away typing "man" at 00:01 (or later 00:30) would print "gimme gimme gimme" https://unix.stackexchange.com/questions/405783/why-does-man-print-gimme-gimme-gimme-at-0030 https://unix.stackexchange.com/questions/405783/why-does-man... And they took away the "MAKE LOVE" (returns "NOT WAR?") easter egg in MIT's TECO editor on the PDP-6 https://www.acriticalhit.com/make-love-not-war-first-software-easter-egg/ https://www.acriticalhit.com/make-love-not-war-first-softwar...
- wasteduniverse 3y agoWhat does the "They(TM)" mean?
- hyperhopper 3y agoAn out group of people to be blamed. In this case, the lame corporate kind of people.
- wongarsu 3y agothey™, as in "the people behind it all", "the cabal", "the man in black", "the nameless people in suits", etc, as opposed to the regular use of "they". Here probably boring business people
- amiga386 3y agoIt's my perspective, as lamenting the loss of easter eggs and other fun quirks is easier to phrase as some kind of fun police cracking down on individuality in software, to further a scheme to trap everyone in an anodyne corporate hellhole. But in truth, the author who put the "gimme gimme gimme" easter egg in place was also the person who removed it. There is no "they" responsible (also, TINC)
- whartung 3y agoThey. Them. Not just they, but capital They. Everyone knows who They(tm) are, especially Them.
- 3y ago
- amiga386 3y agoAlso it seems Microsoft had code reviews to catch such shenanigans as "/♥", but somehow the AARD code went completely undetected. https://en.wikipedia.org/wiki/AARD_code https://en.wikipedia.org/wiki/AARD_code > The AARD code was a segment of code in a beta release of Microsoft Windows 3.1 that would determine whether Windows was running on MS-DOS or PC DOS, rather than a competing workalike such as DR-DOS, and would result in a cryptic error message in the latter case. This XOR-encrypted, self-modifying, and deliberately obfuscated machine code used a variety of undocumented DOS structures and functions to perform its work. > Internal memos released by Microsoft revealed that the specific focus of these tests was DR-DOS. At one point, Microsoft CEO Bill Gates sent a memo to a number of employees, reading "You never sent me a response on the question of what things an app would do that would make it run with MS-DOS and not run with DR-DOS. Is there [sic] feature they have that might get in our way?" > Microsoft Senior Vice President Brad Silverberg later sent another memo, stating: "What the [user] is supposed to do is feel uncomfortable, and when he has bugs, suspect that the problem is DR-DOS and then go out to buy MS-DOS." > Microsoft Co-President Jim Allchin stated in a memo, "If you're going to kill someone there isn't much reason to get all worked up about it and angry. Any discussions beforehand are a waste of time. We need to smile at Novell while we pull the trigger."
- mewse-hn 3y agoI love business guys thinking they're mafia dons and using tortured murder metaphors to put their crimes in writing
- BearOso 3y agoUndetected only in the tongue-in-cheek sense. AARD was obviously intentional.
- amiga386 3y agoIntentional? Where is the specification explicitly asking for it? All we have are some memos asking Will no one rid me of this turbulent priest? My point is that internal QA processes mean nothing if the company itself has nefarious intent. It can approve every violation of trust it wants to. But here we are cheering Dave Plummer reminiscing about 1990s Microsoft firing an intern and overlooking their underhanded behaviour as a company.
- unnouinceput 3y agoThe cheeky intern was not cheeky enough to obfuscate his code to make it past the code review and was caught. You can easily obfuscate your code by preparing it in several commits with each commit handling a little part that under the code review inspection of said commit appears not only benign but also necessary to the actual task your implement. And then in one final commit you put everything together and BOOM!, cheekiness implemented, while the manager and code reviewers are none the wise. Or that's how I did it in one such instance ;)
- don-code 3y agoThanks, Jia!
- TheAmazingRace 3y agoThis also reminds me of a story of when a Commodore engineer did successfully insert a message into AmigaDOS that said "We Made Amiga" followed by "They Fucked It Up" very briefly if you invoked a specific key combo. Naturally, Commodore Intl. was not amused about this easter egg.
- JdeBP 3y agoIn fairness, there probably wasn't much going on with the source code for the internal COPY command in 1993. It had been stable for years by then. So I don't imagine it being particularly difficult to spot simply from what parts of the source tree a change touched.
- deleted 3y ago[deleted]
- schnable 3y agoIn my first couple years of professional programming, I put in a little joke for other devs and testers. The URL shown to users to update their app was stored in the Windows Registry. I added some code that defaulted this value to the "Never Gonna Give You Up" video when the registry value was not set--a common condition when testing code. What I didn't realize was that deleting the registry was a common action our tech support had people try when they called in. Turns out I ended up Rick Rolling a bunch of our customers!
- oneepic 3y agoIt's not clear to me if he didn't get invited back, just because of this incident. I'd have a talk with him about it, but lots of people do stupid shit when we're young -- especially intern-young. It's kind of a bummer we don't trust each other more.
- hermitdev 3y ago> It's kind of a bummer we don't trust each other more. Huh? Sounds like he was trusted, but they verified his work. Trust != blindly accepting someone's work. And in the end, this intern violated the trust that _had_ been placed in him, and he was shown the door. Rightfully so. Yes, part of growing up is making mistakes. But, part of growing up is also living with the consequences of your mistakes. And, yes, I've made some mistakes in my youth (hell, even as an adult) that have led to professional consequences, including termination.
- oneepic 3y agoWhen I say trust, I mean trusting his ability to learn and grow, even in a behavioral sense. If you trust that, then you can talk to him first and then make a fair judgement about whether he's changed or not. Further, it's up to every manager and employer if they want to continue this kind of fear and punishment, or accept and correct mistakes. I don't think the entire professional world acts like this in reality, only in dystopian entertainment and nightmares.
- rincebrain 3y agoI used to put very memorable phrases in web pages when I was trying to troubleshoot which of 30+ redirects I was hitting, then remove them afterward. Once, when I was a student employee, there was a massive outage, leading to one of those redirect pages that's usually not visible and I had forgotten to clean up afterward, displaying for many people. I no longer put quite such memorable messages in visible places.
- nxobject 3y agoTruly: did the intern think they wouldn't get caught? And, if you implemented the switch in the usual manner/jump table, did they get any fun from that at all?
- datavirtue 3y agoI just put in little code comments about how you might not want to remove this Thread.Sleep() unless you want to harm a puppy. That and occasional f-bombs when I have to hack around and stink up my software because of a shitty dependency.
- jquaint 3y agoHighly recommend the youtuber where this factoid came from: https://www.youtube.com/@DavesGarage https://www.youtube.com/@DavesGarage Such a treat getting someone with his experience just telling stories of the old days.
- iforgotpassword 3y agoI also recommend reading this comment about him, the fourth paragraph to be precise: https://news.ycombinator.com/item?id=39813625 https://news.ycombinator.com/item?id=39813625 Makes me doubt he wasn't involved :>
- YawnNews 3y ago[flagged]