HNHacker News
TopNewBestAskShowJobs

mjbrusso

35 karma · joined May 14, 2017

submissionscomments
mjbrusso··on Keyboard differences between Windows and Macs
It's the Carret Notation: https://en.wikipedia.org/wiki/Caret_notation
mjbrusso··on Albert Einstein's theory of relativity in words of four letters or less (1999)
Now I feel old. I know void from K&R C and iota from APL
mjbrusso··on Let's write a video game from scratch like it's 1987
A lot of the work being done here by the program code was done in dynamically linked libraries in the original game.
mjbrusso··on Hurl, the Exceptional Language
This is similar `Resume Next` in VB
mjbrusso··on milliForth
Where do I find the implementation of int 0x16 and int 0x10?
mjbrusso··on A brief history of computers
The First Computers

History and Architectures

Edited by Raúl Rojas and Ulf Hashagen

https://mitpress.mit.edu/9780262681377/the-first-computers/

mjbrusso··on There's never been a better time to build websites
Wouldn't it be better to put SQL statements in stored procedures rather than dynamically loaded text files?
mjbrusso··on x86 assembly doesn’t have to be scary (2018)
I agree. 68k was one of the most orthogonal architectures ever.
mjbrusso··on Currying in JavaScript
However , to pass a constant I could use default parameter value.
mjbrusso··on Currying in JavaScript
In the `logNow` example, the date argument will be eager evaluated, not lazzy evaluated. Am I right? So what was supposed to be a real use case doesn't seem useful to me.
mjbrusso··on Looking into Zig
The equivalent in Visul Basic would be:

On Error Goto line

mjbrusso··on Show HN: Influence, a Go-inspired 1-minute board game
A game with this UI and Voronoi diagram rules would be fun.

https://en.m.wikipedia.org/wiki/Voronoi_diagram

mjbrusso··on Advanced console.log Tips and Tricks (2020)
I would say the argument is lazy evaluated.
mjbrusso··on Rust Weird Expressions
Wouldn't it be time to create a International Obfuscated Rust Code Contest (IORCC)?
mjbrusso··on “Shared libraries are not a good thing in general”
What about distribute LLVM bitcode?
mjbrusso··on From microops to abstract resources: constructing simpler CPU performance models
x96 has been used in context of x64 + x32 architectures
mjbrusso··on Executable PNGs
> I don’t have a link to back it up but I recall that yes, PICO-8 in fact uses the two least significant bits of each color channel, respectively.

"The cart data is stored using a steganographic process. Each PICO-8 byte is stored as the two least significant bits of each of the four color channels"

https://pico-8.fandom.com/wiki/P8PNGFileFormat

mjbrusso··on C++ still isn't cutting it
C doesn't even have a standard filesystem library!
mjbrusso··on Syntax highlighting is a waste of an information channel
Many Basic implementations had this feature. The SAVE command saves a binary (tokenized) version of the source code. "SAVE file, A" saves in ASCII format.
mjbrusso··on The Intel 8086 processor's registers: from chip to transistors
> The registers of the 8086 still exist in modern x86 computers, although the registers are now 64 bits.

But they are logical (architectural) registers and are mapped at run time to one of the physical registers.

mjbrusso··on Grid – A Lua Game Engine
They are not comparable with Pygame, but easier for beginners:

https://pygame-zero.readthedocs.io

https://github.com/mjbrusso/game2dboard

Disclosure: I am the author of game2dboard

mjbrusso··on Create Diagrams in VS Code with Draw.io
VS Code is the new browser. Are there any extension for open a URL in a tab? A browser in a app in a browser!
mjbrusso··on Show HN: A modern BASIC-like teaching and learning programming language
What about compile to LLVM bitcode?
mjbrusso··on Gadgets That Refuse to Die
HP-12C, been there since 1981
mjbrusso··on OBS Studio: Open-source software for video recording and live streaming
I use Kdenlive in Linux (also runs in MacOS).