News for hackers. Stuff that matters.

mjbrusso

Re:Keyboard differences between Windows and Macs on Friday October 09, 2026 @07:06AM (#50018839)
Now I feel old. I know void from K&R C and iota from APL
Re:Let's write a video game from scratch like it's 1987 on Friday June 21, 2024 @05:56AM (#40747920)
A lot of the work being done here by the program code was done in dynamically linked libraries in the original game.
Re:Hurl, the Exceptional Language on Sunday May 26, 2024 @08:03AM (#40481516)
This is similar `Resume Next` in VB
Re:milliForth on Monday November 06, 2023 @08:18AM (#38162210)
Where do I find the implementation of int 0x16 and int 0x10?
Re:A Brief History of Computers on Saturday July 22, 2023 @04:42PM (#36829695)
The First Computers

History and Architectures

Edited by Raúl Rojas and Ulf Hashagen

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

Re:There's never been a better time to build websites on Monday December 20, 2021 @06:10AM (#29623511)
Wouldn't it be better to put SQL statements in stored procedures rather than dynamically loaded text files?
Re:x86 assembly doesn’t have to be scary (2018) on Thursday October 07, 2021 @06:42AM (#28784565)
I agree. 68k was one of the most orthogonal architectures ever.
Re:Currying in JavaScript on Sunday September 19, 2021 @10:56AM (#28584815)
However , to pass a constant I could use default parameter value.
Re:Currying in JavaScript on Sunday September 19, 2021 @07:33AM (#28583503)
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.
Re:Looking into Zig on Saturday August 07, 2021 @07:22AM (#28097702)
The equivalent in Visul Basic would be:

On Error Goto line

Re:Show HN: Influence, a Go-inspired 1-minute board game on Wednesday June 16, 2021 @07:36AM (#27527324)
A game with this UI and Voronoi diagram rules would be fun.

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

Re:Advanced console.log Tips and Tricks (2020) on Wednesday June 16, 2021 @07:05AM (#27527111)
I would say the argument is lazy evaluated.
Re:Rust Weird Expressions on Friday May 14, 2021 @09:18AM (#27153942)
Wouldn't it be time to create a International Obfuscated Rust Code Contest (IORCC)?
Re:“Shared libraries are not a good thing in general” on Saturday May 01, 2021 @05:43PM (#27010148)
What about distribute LLVM bitcode?
x96 has been used in context of x64 + x32 architectures
Re:Executable PNGs on Saturday December 26, 2020 @08:32AM (#25543336)
> 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

Re:C++ still isn't cutting it on Sunday October 18, 2020 @01:22PM (#24819439)
C doesn't even have a standard filesystem library!
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.
> 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.

Re:Grid – A Lua Game Engine on Sunday June 07, 2020 @04:32PM (#23450539)
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

Re:Create Diagrams in VS Code with Draw.io on Monday May 11, 2020 @07:04AM (#23140847)
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!
What about compile to LLVM bitcode?
Re:Gadgets That Refuse to Die on Tuesday April 07, 2020 @06:06AM (#22801856)
HP-12C, been there since 1981
I use Kdenlive in Linux (also runs in MacOS).