Better HN
topnewbestaskshowjobs
Log inSign up

anta40

895 karma · joined Oct 9, 2011 (15y ago) · 886 submissions

Submissions

comment 4w ago · link · parent

Nice to see gforth is still being maintained.

BTW, on the other side, looks like gforth still lacks the ability to create native OS executable, something like:

gcc myprog.c -o myprog

?

comment 1mo ago · link · parent

>> How does Crowd Detect estimate occupancy? >> It detects the number of nearby iOS devices in a property and compares it to your defined threshold. If the count is exceeded, Minut sends an alert.

OK so Android users are safe, then. Woohoo!

comment 1mo ago · link · parent

I think competitive programming only focus on few technical aspects, like: algorithmic thinking, familiary with various data structures, complexity-performance trade-off, etc etc.

Nothing is wrong with that. Think of it as intellectual exercise. Fair enough, real world software development involves other factors.

comment 1mo ago · link · parent

I'm pretty sure those things already existed before The Beatles. But it's safe to say the Fab 4 acted as a cultural amplifiers, so those things became accessible to global mass market.

comment 1mo ago · link · parent

Hmm wonder why pointer (in general, not only for building data structures like linkedlist etc) isn't discussed.

comment 3mo ago · link · parent

Say to strictly enforce modularity, e.g helper functions that can only be accessed within its function.

Pascal supports it (at least Turbo Pascal, no idea about ISO Pascal).

comment 3mo ago · link · parent

What about Gambit? Perhaps it's a better, optimizing compiler but the built-in library is rather minimalist?

comment 3mo ago · link · parent

>> And that's part of the reason why in 2002, Switzerland's government reduced the Sonnenberg bunker capacity from 20,000 to just 2,000. Its floors filled with bunk beds, a prison and hospital, all deep underground, have been repurposed over the years as overflow housing for refugees, asylum seekers and the homeless. It's a use that has been criticized by organizations that help these populations. Some asylum seekers have protested against being housed here. It has never been used for its original intent: to protect people from nuclear fallout. But the Swiss government continues to spend tens of millions of dollars a year to maintain it and hundreds of thousands of other bunkers throughout the country — just in case.

Oh well...

comment 3mo ago · link · parent

Mr Kusswurm's x86 book is excellent. Didn't know he also write on for ARM. Thank you!

comment 3mo ago · link · parent

Since NASM/YASM is written in C, it's more portable. On my ARM Mac, NASM works fine.

FASM is cool (and still being development), but since it's written in 32-bit x86 asm, let's just say macOS is a 2nd class citizen.

comment 3mo ago · link · parent

You mean this:

https://www.amazon.com/Art-ARM-Assembly-Randall-Hyde/dp/1718... ?

Mmm nice. Will give it a try since ARM-based Mac is my main working environment nowadays.

comment 3mo ago · link · parent

Not exactly weird... I mean x64 Windows is still pretty popular. And pretty much any Windows dev will have Visual Studio installed (to get MASM).

Unless, you want to use open source MASM-compatible assemblers like JWASM or UASM.

Yes I understand, other folks may prefer Linux/BSD, NASM/FASM, ARM etc etc.

comment 4mo ago · link · parent

>> but personally I'd like to teach my kid how a computer works, not how to use some programming language.

I wonder if assembly is a better choice... hmmm...

comment 4mo ago · link · parent

Does this mean I can turn my JS-based backend into single executable and easily ship it, like in Go?

comment 4mo ago · link · parent

Works fine on 152.0.5 (aarch64) macOS 26.5.2. I don't use extensions like NoScript etc etc

comment 4mo ago · link · parent

If you like QuickBASIC, perhaps FreeBASIC is also an interesting choice.

For many years, it practically only supports Windows, Linux, and DOS. Now add macOS into the list: https://deb.fbxl.net/macos/

comment 4mo ago · link · parent

OCaml seems nice for doing real world app development (e.g) web backend, and not limited only for prog lang research.

Hmmm....

comment 5mo ago · link · parent

Ahh just noticed it's made by graemeg, one of FPC long time contributors.

Many years ago I explored his fpGUI:

https://fpgui.sourceforge.net/ fpGUI Toolkit is a cross-platform GUI toolkit using Free Pascal

Nice to see you are not only limited to Lazarus

comment 5mo ago · link · parent

Mmmmm just noticed MacOS is now supported. Guess time to say farewell to DBeaver...

comment 6mo ago · link · parent

So which one has the biggest chance to be Android/iOS alternative?

Many many years ago, smarphone users had these choices:

Symbian, BlackBerry, Windows Mobile, PalmOS... what else?

comment 6mo ago · link · parent

Just noticed in cannot build a standalone Rust source file

"error: could not find 'Cargo.toml'"

I assume first need to create a project by "cargo new" ...?

Anyway, love the good ol' Turbo Pascal 7 Reference. Haven't touch it for more than 1 decade.

comment 6mo ago · link · parent

>> Rust is notorious for its slow compile times

Don't forget Haskell. And what's other... C++, OCaml, etc?

I guess a language with complex/complicated design is difficult to be compiled "blazing fast"

comment 6mo ago · link · parent

Why choose one if you can use all of them? Windows: gaming, running proprietary Windows-only apps (like engineering stuffs) Linux: back end development, kernel hacking macOS: mobile app development

Well nowadays I'm stick with macOS not because it's pretty, but because a necessary to do my work as a mobile app dev.

comment 6mo ago · link · parent

Is there a completely mechanical version of XPan? Of course I mean shoot 65:24 and have interchangebale lens support?

So far, I think there's no one for 35mm. For medium format shooters, there's the much bigger Fuji/Linhof 617. Of course pretty expensive. Perhaps 3D print is the only viable option...

comment 6mo ago · link · parent

I unserstand this camera is pretty popular among street shooters/photodocumentary folks.

Personally, I prefer less distortion and XPan is the better choice for that (and of course interchangeable lens support). Too bad it's bloody expensive nowadays and since the shutter is battery-dependant, you just have to accept one day it may become a paper weight.

comment 6mo ago · link · parent

Congtats for reaching 1.0

Gotta say farewell to Sublime. Now Zed is my general purposed text editor. For doing most of my coding work, still use VSCode and nvim.

comment 7mo ago · link · parent

Very impressive for a single dev project.

Nice to see someone started the work from zero instead of piggybacking LLVM.

comment 7mo ago · link · parent

Anyone use hnterm? https://github.com/ggerganov/hnterm

I think it still works pretty well, and written in C++ instead of the "cool kids" Go/Rust

comment 7mo ago · link · parent

Cool. Is macOS (Apple Silicon) also supported?

If not, well there's another reason to have a Linux VM ready :)

comment 8mo ago · link · parent

Perhaps using this: https://github.com/nlsandler/nqcc2

?

12345
30