News for hackers. Stuff that matters.

ubavic

Re:Zig v0.17.0 on Friday October 02, 2026 @07:46PM (#49939983)
I’ve written software for a living in JS, C, Pascal, and Go, and I’ve tried many, many more languages. After working on a project in Zig for a year, I’m convinced that Zig is the best-designed language I’ve tried so far. Haskell comes close. At least, it’s the best-designed language for humans.

It’s not for everyone yet. It’s still unstable, and its ecosystem is small. However, both are improving.

Show HN: Smart card eID driver written in Zig

https://github.com/ubavic/srb-id-pkcs11

In Serbia, for a long time, the only way to use an eID was by having a Windows machine. Over the last year, I slowly implemented an open source module by reading the PKCS#11 standard and sniffing the USB traffic of the official (Windows) module. The result is a shared library that can be used on *nix systems, removing the need for Windows for many citizens of Serbia.

( Read More... | no comments | on HN )
Re:What Happened to WebAssembly on Friday January 09, 2026 @04:04AM (#46551619)
From my experience, WASM is great for easily porting existing codebases to the browser. It took me less than a day to download Emscripten, learn a little about WASM, make one toy project, and then port a 20-year-old, 40-KLOC C++ project to the browser [1]. The last part only took me half an hour, and I don't even write C++.

[1] https://poincare.matf.bg.ac.rs/~janicic/gclc/

Re:Linux Instal Fest Belgrade on Saturday December 06, 2025 @03:26PM (#46176339)
This is my third install fest and I planned to write some check list that I compiled in these years. I can share this:

- make sure bring extension chords, and make sure you have enough fast wifi for all participants

- bring enough USB-s. Installation on older laptops can take time

- ventoy is useful

- for beginners stick to Fedora/Debian. Popular distros come and go, but these two are constant and will be supported for a long time

- don't give options to beginners if they don't ask for it. You will induce paralysis of choice

- automatic dual boot setup by Debian installer works very well. Partition shrinking on Windows isn't scary as I thought before

- sometimes you can't install BIOS/UEFI drivers without windows (on older devices). You maybe want to do that before installing Linux

- i think it is good to have a windows installation ready. At least for windows boot loader recovery if anything goes bad

- bitLocker can be PITA. Don't lock users device

- after installation update system

- write some material, what-to-do-after-installation guide, and give to participants. Maybe create group on some social network or messaging app

Re:Linux Instal Fest Belgrade on Saturday December 06, 2025 @02:46PM (#46176071)
You know what? I removed that part. You are probably right, and there is no need to scare beginners :)
Re:Linux Instal Fest Belgrade on Saturday December 06, 2025 @11:37AM (#46174611)
Check podcast https://radiostudent.si/druzba/tehno-klistir They talk about open source, linux, etc...
Re:Linux Instal Fest Belgrade on Saturday December 06, 2025 @11:35AM (#46174597)
System from USB will feel sluggish. Users could get a feel for UI, but I think it would be inadequate for a long term usage.
Re:Mint Is Not TeX on Saturday November 29, 2025 @06:31PM (#46091852)
That is something I accidentally discovered. TexInfo also uses @.
Re:Ask HN: What are you working on? (May 2025) on Sunday May 25, 2025 @06:03PM (#44091614)
I am reverse-engineering a PKCS#11 module for Gemalto smart cards and re-implementing it in Zig (https://github.com/ubavic/srb-id-pkcs11). The original module is published only for Windows, and my implementation targets *nix platforms. This is my first project in Zig, and I am very happy with the language.
Re:Ask HN: What are you working on (August 2024)? on Saturday August 24, 2024 @07:13PM (#41342650)
I am currently working on a custom markup language called atex. It's syntax reminds of latex syntax, but with @ instead \ as a special character (very similar to the Lout language, if anyone remembers it). Also, the atex language hasn't any predefined commands. Instead, all commands are defined via schema specified in a separate YAML file. Schema defines commands that can be used and means of "rendering" those commands to different targets (HTML, Tex, Typst, whatever...)

Just today, I finished first working version of the new compiler (https://github.com/ubavic/mint). It is written in Go, and there are lot of things on the TODO list, but it works :)

This is actually the second compiler for the atex. The first one was written in Haskell and compiled fixed document schema. I used it for writing a book on Haskell (https://github.com/ubavic/programming-in-haskell).

Re:Building a Galaksija on Sunday July 21, 2024 @03:31AM (#41023212)
This year marks 40 years of Galaksija, and the magazine PC Press with the author of the Galaksija Voja Antonic released a reprint of the original special issue which introduced Galaksija. Building kit is also available. More information is available on: https://racunari.com/
Not Pascal Pascal, but a spinoff: AL for Business Central (Microsoft's ERP system). It is a very old system, but Microsoft heavily develops it (every year new language and std lib features, first class VS Code integration). Userbase is pretty big (and seems like it is growing).
Re:Porting the GCLC to the Web on Sunday March 31, 2024 @06:47AM (#39883096)
Thank you for this information!

Older »