remix logo

Hacker Remix

Microsoft’s original source code

501 points by EvgeniyZh 1 day ago | 270 comments

PythonicIT 4 minutes ago

I'm not as smart as you guys but I figured that I'm going to try and write wine for life every single thing on GitHub unless someone has done it already so that we could try to compile and build this thing directly on our own computers.

jlmcgraw 4 minutes ago

I wonder who the handwritten notes are by?

starts with "confirm plane reservation on Tue. Sept 2 or Wed. Sept 3"

Starts on ~ page 98

stkai 1 day ago

The source code is such a fun read (for the comments). I found some source code for GW-BASIC, and here are two of my favorites:

  ;WE COULD NOT FIT THE NUMBER INTO THE BUFFER DESPITE OUR VALIENT
  ;EFFORTS WE MUST POP ALL THE CHARACTERS BACK OFF THE STACK AND
  ;POP OFF THE BEGINNING BUFFER PRINT LOCATION AND INPUT A "%" SIGN THERE

  ;CONSTANTS FOR THE RANDOM NUMBER GENERATOR FOLLOW
  ;DO NOT CHANGE THESE WITHOUT CONSULTING KNUTH VOL 2
  ;CHAPTER 3 FIRST
Edit: GW-BASIC, not QBASIC (https://github.com/microsoft/GW-BASIC)

ndiddy 23 hours ago

Fun fact, GW-BASIC was a descendant of the original Altair BASIC. The "Translation created 10-Feb-83" headers on each source file refer to tooling Microsoft had that automatically translated the 8080 assembly to 8086 (it shouldn't be taken as a build date since they were manually modified after that point). Besides GW-BASIC, source code for the 6502 and 6809 rewrites of Microsoft BASIC were available up to this point (see https://www.pagetable.com/?p=774 and https://github.com/davidlinsley/DragonBasic) but I believe this is the first public release of the original 8080 BASIC code.

deathtrader666 14 hours ago

Shouldn't it be "valiant" ?

roryirvine 14 hours ago

Sure, but in those days spellcheckers were separate apps - the most popular at the time being CorrectStar from MicroPro.

They weren't integrated into programming-oriented editors, and it would have been unusual to run them against code.

3836293648 10 hours ago

I still haven't seen anyone using a spellchecker in code outside of IntelliJ

eddythompson80 4 hours ago

StanAngeloff 4 hours ago

I recently found https://github.com/tekumara/typos-lsp that uses https://github.com/crate-ci/typos Plenty of GH stars so likely a solid user base. Works great in NeoVim with the built-in apellchecker.

mindcrime 4 hours ago

Eclipse has had an integrated spell-checker, which I believe is on by default for most file types, for like approximately forever. Now maybe everybody turns it off, but I gotta imagine there are some people who like it and keep it on.

dhosek 5 hours ago

Emacs has the ability to do spellcheck inline, both as a run through the buffer (old-school style) and as an as-you-type live feature. That said, I do most of my coding in JetBrains IDEs these days.

jimbob45 6 hours ago

The best programmers I’ve known have all been deficient at spelling. I don’t know why it so uniformly appears among them.

AdmiralAsshat 3 hours ago

themadturk 54 minutes ago

Humans in general, even writers, are deficient at spelling. This is the reason we need spellcheckers.

-__---____-ZXyw 38 minutes ago

Tried to open this page and the music I was streaming started to stutter so hard I just exed out. Is this a preposterously heavy page, or just very heavy?