5 ms·
I've known Eric since around 1985 or so when he came to work at Data I/O. Our friendship has ebbed and flowed over the years, but he's always been special to me
by WalterBright 6y ago
I've known Eric since around 1985 or so when he came to work at Data I/O. Our friendship has ebbed and flowed over the years, but he's always been special to me.
I have a little anecdote to share that probably only I remember now, but it has always made me laugh and shows what an unusual thinker he was.
When he was first working at Microsoft around 1991 or 92, he was talking to a manager who had a problem. There was a program written in assembler language, about 50k in size or so. The program had a problem that needed to be fixed. The author no longer worked at Microsoft. The manager had repeatedly assigned various programmers the task of fixing it, and they'd all given up after days of effort.
The trouble was the author had used the macro language that came with the assembler to invent his own quirky, weird, undocumented and thoroughly impenetrable language. None of the programmers could figure it out. He was lamenting that he'd have to assign a programmer to recreating it from scratch, which would take months and cost a lot of money.
Eric says "I can fix it".
In 2 hours, he had it all fixed and checked back into the system.
The manager, astonished, asked: "how did you figure out the author's language?"
Eric: "I didn't. I disassembled the binaries using Walter's disassembler [a disassembler turns binary code back into source assembler code]. The problem was then obvious, I fixed it and checked the new source code back in!"
Eric then laughed uproariously, and so did I. Nobody but Eric would have thought of that shortcut to solve the problem. If he couldn't break through the wall, he'd go over it, under it, or around it. He was always like that.
I'll miss him a lot.
- idclip 6y agoAn an absolute monster! Edit: non native speaker. I meant to say „what an absolute unit!“ to praise his skill. Be gentle to the ignorant please.
- post_below 6y agoIn the spirit of gentleness, at HN comments which don't add substance to the conversation are discouraged. So in this case it's not just word choice that people are reacting to.
- m1gu3l 6y agoHN for as nice as it is for good content is pretentious af with this subjective “add substance” convention.
- mhh__ 6y agoWhich is ironic given that a GPT generated article made it to the top recently IIRC. I'm glad hn isn't like /r/programmerhumor (i.e. if I argue a point I don't want to explain what a pointer is) but the delusions of grandeur are in equal parts tragic and hilarious sometimes.
- endgame 6y agoI can imagine calling someone a monster in an approving tone, but it's harder to convey accurately in text.
- idclip 6y agoYeah, in arabic its said often in praise .. my surprise coming back to -5 .. had to google the right term quickly
- novok 6y agoIt's actually correct in english, especially in sporting contexts. Like this guy is a BEAST, or that guy is a machine, or that guy is a monster opponent. But that is very tone dependent, so if you say it in the wrong tone or someone interprets it differently then it can be taken badly.
- spiritplumber 6y agoIt is correct in Latin, as well, if it helps. Monstruum = that which is worthy of showing
- etaioinshrdlu 6y agoCan you tell us what this giant asm macro program was?
- WalterBright 6y agoI don't think Eric told me, and if he did, I forgot. In those days asm was often used for efficiency, as compilers weren't that good compared to hand-coded asm. He knew I'd purposely written the disassembler to produce MASM source code, and thought I'd enjoy hearing about the use he put it to (and I did!). BTW, this anecdote is one of the reasons that I've strongly resisted adding macros to D.
- localhost 6y agoPretty sure this is also the reason why Anders never added macros to C# either.
- deleted 6y ago[deleted]
- monocasa 6y agoFWIW, most large asm programs from back in the day relied heavily on macros just to have some semblance of abstraction.
- WalterBright 6y agoI know. I did, too. But over time, I used the macros less and less. More than once I've used Eric's technique to figure out exactly wtf some wretched macro was actually doing. I also purged my own C and C++ code of macro usage.
- dllthomas 6y agoThis approach generalizes. When faced with a problem, consider the projections you have available and work in the most suitable.
- ma2rten 6y agoWhat do you mean by projections? Do you have another example?
- Jtsummers 6y agoMap the problem into other domains. In this case, he could work with the original (hard to understand) source code. Or he could use a tool that would translate it (or the binary) into a more sensible language. In other tasks, consider different data structures or representations that fundamentally represent the same data, but in different ways that offer different guarantees. Representing a graph with a matrix may let you answer some questions very quickly, but it may make others harder to answer, for example.
- tclancy 6y agoBack up and consider if all of the turns you made to get down this particular blind alley actually made sense. “First principles” and all that.
- aneutron 6y agoHe means mathematical projections. For example, calculating rotation velocities in a cartesian projection is harder than using cylindrical projection.
- notretarded 6y agoNope you're giving him too much credit. He meant projections as in to a different view on the problem. Not anything more well defined than that. Your manner of explaining it is much better.
- dllthomas 6y ago
- bch 6y agoGordian Knot[0] recognition in action. [0] https://en.wikipedia.org/wiki/Gordian_Knot https://en.wikipedia.org/wiki/Gordian_Knot
- WalterBright 6y agoAnother example of how Eric was not constrained by conventional thinking. While at Microsoft in the 90's, he'd occasionally interview job candidates. He'd hand them his phone, and ask them "if it was your job to make a better phone, what would you do?" The bulk would answer "Um, better sound quality? Maybe an address book?" Eric just couldn't believe those responses. (Remember, this was in the 90's when a phone was just a phone.) He was always boiling over with ideas.
- doublerabbit 6y ago> "if it was your job to make a better phone, what would you do?" Turn it in to a cube maybe an octagon. I'm sick of rectangles.
- rektide 6y agohalf as wide. cinematic 2.3 aspect ratio, maybe more. less snark comment (but also true), just jaw dropping that these pocket PC's do so much. on the down sides, I think the main think that floors me, just stabs me in the heart, is that they are still almost totally trash at communicating with those around us. Google dropped Project Eddystone, that sucked; totally straightforward sensible way to broadcast a url to the world about you. Apple has their file sharing AirDrop, which Google continues to make floundering attempts at (Beam, then Fast Share/Nearby Share), & never via any open protocols or specs. amazing personal communicators... totally reliant on completely centralized infrastructure. The couple Bridgify/Open Garden alternatives, it all seems too stack specific & lacking the layering of protocols & extensibility that allows communication tech to grow over time, become of enduring value. I forget what it is but someone was telling me the Bump competitor in Japan is still used, that you still have a physical little ritual with your devices that causes them to exchange contact info. That kind of real.world connectivity seems like it ought be just the start, for how tech can augment the real world, versus us needing to start & navigate the digital to connect. We're doing little favors, entrenching connectivity so reservedly in the digital all space.
- dcsan 6y ago
- blinkeer 6y agoThank you for this story. Your remeberance of him is inspiring. Moments like these are what we live for. Using your tool, hah!
- ciriarte 6y agoThat's beautiful. Thanks for sharing. It reminds of a similar experience I had. A few years back one of the systems I ended up inheriting stopped working on January 1st. As most people, I had taken the day off, but my manager called me to fix the issue in prod. After much researching, I found out the assembly causing the issue. Similarly, the original dev had left and the source code was lost. So I used ildasm and found out the year was hardcoded. I patched the binary and went home. Rest in Peace, Eric.
- tonyedgecombe 6y agoSimilarly, the original dev had left and the source code was lost. This seems surprisingly common, I hear it a lot from my customers.
- MaXtreeM 6y ago> So I used ildasm and found out the year was hardcoded. Deliberate time bomb or honest mistake?
- aparsons 6y agoI was at Microsoft around the time of Eric’s departure (I left a few months before him). Ironically, the two men arguably most responsible for the success of the Xbox were strongly opposed to the entire “Manhattan” project at the time. Eric was instrumental in the DirectX runtime design that Microsoft ended up porting to the original Xbox hardware with shared high level components. The other guy was Dave Cutler, who led the NT and hypervisor groups at the time. Xbox v1 borrowed heavily from Dave’s work on modular, stable-userspace NT. 360 was basically running a full-fledged NT iirc. Dave, like Eric, hated the Xbox project early on. In today’s terms, it would be like Facebook deciding to make a search engine or mobile OS, so their reactions were hardly surprising. Word was that even BillG was hesitant, but Ballmer really wanted more product lines. Eric will be dearly missed.
- skrebbel 6y agoWhat's 'the entire "Manhattan" project'? I mean, other than the nuke on Hiroshima which I suppose you don't mean? Remember that there's HN'ers who never worked at Microsoft :-)
- Danieru 6y ago"Manhattan" project was the code name for the original XBox. At the time Japan dominated video consoles with the last western attempt being the disaster which was the 3DO. Thus Microsoft was going "nuke the japanese industry" and gain a foothold. For further irony the Xbox was in effect was a spiritual successor to Sega's Dreamcast. That Microsoft went with such a distasteful name despite partnering with Sega highlights their cultural issues. Issues which have continued to prevent Xbox from building relationships with Japanese studios.
- wwwwewwww 6y agoI hope the name was a coincidence - consider that Microsoft uses city names for big project codenames.
- 6y ago
- zerr 6y agoInteresting! I wonder, back in those days, when your day to day job involves coding in Assembly, I guess reaching to a disassembler on a regular basis also should've been a norm, no?
- WalterBright 6y agoNot really. But I can tell you that, as a compiler writer, reaching for the disassembler is what you do a lot of!
- zerr 6y agoOf course. And I bet you've memorized a fair share of opcodes as well! ;)
- WalterBright 6y agoUnintentionally, yes. One day I realized I just knew them. The code generator used to hardcode the opcodes, but I have since slowly migrated to use mnemonics, and the opcodes have faded somewhat in my mind. Of course, I mean the 16 bit opcodes. The SIMD ones, no freakin' way! It's like the Wizard of Oz. I know most of the dialog, though I never made any attempt to memorize it. A friend of mine knows all the dialog for all the Star Trek TOS episodes. He just realized one day he knew it.
- imdsm 6y ago> Walter's disassembler > WalterBright Was it your disassembler?
- WalterBright 6y agoYup. https://digitalmars.com/ctg/obj2asm.html https://digitalmars.com/ctg/obj2asm.html