HNHacker News
TopNewBestAskShowJobs

anta40

889 karma · joined October 9, 2011

submissionscomments
anta40··on Visopsys: OS maintained by a single developer since 1997
Hmmm nice to see the OS is still under development.

First time I saw it was during undergraduate days.... 2006 or 2007?

anta40··on Hello-World iOS App in Assembly
Hmm doesn't work. Here's the error log (I'm on Mac M2):

https://gist.github.com/anta40/60f62c803a091ad0415d60f8cac55...

anta40··on Hello-World iOS App in Assembly
Even better if build steps are provided
anta40··on The Swift SDK for Android
Xcode's upload process is painful? I think it's pretty nice. At least Android Studio doesn't have the feature, so you gotta upload the APK/AAB manually via web browser.

Disclaimer: I work on RN nowadays.

anta40··on Forth: The programming language that writes itself
I think like C, there's standard/ANS Forth.

But most likely lots of those Forth coders implement their own which don't necessarily conform to the standard.

anta40··on Using Emacs as a TUI
Well there's the GUI version. vim also have it.
anta40··on Zed is now available on Windows
I use this as Sublime replacement on my macOS. So far happy with it. Only use it as a general purpose text editor.

Okay, I may ocassionally do some code editing on it. But most of the time it's gotta be VSCode or vim/nvim.

anta40··on La Quête du Temps, Vacheron Constantin timepiece at the Louvre
For everyday use (e.g work), I use Huawei smartwatch, or something affordable like Seiko 5 when in the mood for mechanical watch.

Yep, using one doesn't automatically preclude the other.

anta40··on Typst: A Possible LaTeX Replacement
I'm pretty sure LaTeX can do all the documents I want to, e.g anything with complicated math expressions, various pseudocodes, computer science-y diagrams like karnaugh map, algorithm flowchart etc etc.

Of course, it's not all roses and sunshines, though. Depending on your usecases, usually need to import a few packages and sometimes they don't work out of the box easily.

For real life work I don't need that much power, though. But after learning various alternatives like markdown, asciidoctor etc etc eventually I go back to LaTeX. Oh well :p

anta40··on Show HN: I wrote an OS in 1000 lines of Zig
How to build the OS? I'm on macOS with zig 0.15.1 installed.

`zig build` gave me this:

/Users/anta40/Lab/OSDev/OS-1000-lines-zig/build.zig.zon:9:13: error: expected enum literal .name = "zoros",

anta40··on The value of bringing a telephoto lens
>> I thought fixed focal length photography was pretentious snobbery

Ask any Leica M users (both film and digital). Normally they only use primes to achieve compact setup. Any Leica user is automatically a snob, right?

Joking aside, I have nothing against zoom. For travelling, usually I don't need anything beside 24-70. Not a really compact setup, obviously, so need to downsize the image sensor. On APSC it would be 16-55. Or on MFT, it would be... hmm 12-40?

anta40··on The value of bringing a telephoto lens
Yep me too. I tend to "see" in that focal length, when 50mm is not tight enough.

But probably that's an old habit: a few years ago my 1st DSLR was an APSC, and naturally my 1st prime like everyone else was the cheap-but-good 50/1.8, which is more or less equivalent to 85mm in FF world.

anta40··on Mago: A fast PHP toolchain written in Rust
I initially thought this was a PHP implementation in Rust.... but it's not

Will Mago implement a PHP runtime?

Absolutely not. The PHP runtime is incredibly complex. Major efforts by large companies (e.g., Facebook's HHVM, VK's KPHP) have struggled to reach full parity with Zend Engine. Achieving this as a smaller project is infeasible and would lead to community fragmentation. We are focused on tooling, not runtimes.

https://mago.carthage.software/faq

anta40··on The value of bringing a telephoto lens
"Avoiding Distractions"

That's why I'm a big fan of medium tele (like 85mm or 105mm assuming 35mm format) for daily walk. Not for candid portrait, but tight framing without distractions.

Many many years ago, street photographers typically prefer wide angle lenses (which is still true these days). Saul Leiter broke the mold by embracing tele lens. Of course there are different feel. When standing really close with wide angle lens, your compositions felt immersive. But when tightly framed with (medium) tele, it felt... observant.

anta40··on SkiftOS: A hobby OS built from scratch using C/C++ for ARM, x86, and RISC-V
Looks awesome. Consider it bookmarked.

I'm on macOS, and still no luck building the code. But anything which doesn't involve building a custom GCC easily gets my vote :)

anta40··on Kruci: Post-mortem of a UI library
"My programming spare time is dedicated mostly towards kartoffels, a game of mine where you're implementing firmwares for tiny robots"

Whoa a programming game. Interesting :D

anta40··on Writing a C compiler in 500 lines of Python (2023)
Who told that? I still hear K&R being recommended as introduction material.

If you want to write portable/production-grade C code, well definitely need to study another references.

anta40··on Introduction to Ada: a project-based exploration with rosettas
Hmm looks like there are some interesting stuffs under "OS and Kernels" category. Thank you.
anta40··on Introduction to Ada: a project-based exploration with rosettas
Any recommendation on interesting/big projects written in Ada? Something like Linux or Apache server, perhaps?
anta40··on The ABC Programming Language
https://homepages.cwi.nl/~steven/abc/implementations.html

Installable under current OSes? Looks like a yes. Assuming your OS still provide 32-bit compatibility mode.

anta40··on Red: A programming language inspired by REBOL
It also doesn't run on Big Sur, Monterey.... back when I was still on X64
anta40··on Red: A programming language inspired by REBOL
Last time I tried (perhaps 4 years ago?), it works on 64-bit Linux. But you still need to install 32-bit compatibility libs. On macOS, well sadly it's still 32-bit. Not sure how many folks are still using Mojave...
anta40··on MS-DOS development resources
Ah yes I forgot to mention both tools are also still under active development. I mostly use JWASM to compile samples from old MASM books/tutorials.
anta40··on MS-DOS development resources
For those looking for modern MASM-compatible assembler, try JWasm: https://github.com/JWasm/JWasm

It's a fork of OpenWatcom assembler.

anta40··on Why Nim?
You may consider Nim as a sort of "compiled Python" with some Pascal influences.

https://nimble.directory/ I'd pick Nim if my concern is general app development, not specifically system programming.

anta40··on Print, a one-line BASIC program
What about freebasic? I know it's a compiler, though.
anta40··on The Q Programming Language
Can build the compiler on macOS 15.6 but it crashes.

./q examples/hello/hello.q

signal: killed

./q examples/collatz/collatz.q

signal: killed

Even copying q files into q's folder doesn't work

Ah, didn't notice the issue is already in discussion: https://git.urbach.dev/cli/q/issues/6

Interesting that one of the goals is not to depend on llvm :D

anta40··on I Used Arch, BTW: macOS, Day 1
Hmm what about Debian? https://wiki.debian.org/InstallingDebianOn/Apple/M1

I still have to use macOS for mobile app development, but definitly want to use Linux on M2.

anta40··on Show HN: Bedrock – An 8-bit computing system for running programs anywhere
I think those are the binaries. Opening those on nano/vim shows unreadable characters.

I mean, if you take a look at this page: https://benbridle.com/projects/bedrock/bedrock-pc.html

"To assemble a source code file program.brc and save the result as the program program.br, run the command..."

Where are the brc files?

anta40··on Show HN: Bedrock – An 8-bit computing system for running programs anywhere
I mean the source code of sysinfo, clock, cobalt etc. Yes I've seen that page, but don't find the codes there....
← PreviousPage 3 of 29Next →