Better HN
topnewbestaskshowjobs
Log inSign up

ubavic

498 karma · joined Mar 17, 2021 (5y ago) · 93 submissions

Find me at https://ubavic.rs/?lang=en
Submissions

comment 1mo ago · link · parent

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.

2.

Don't Solve My Sudoku(blog.ubavic.rs ↗)

4 points · by ubavic · 1mo ago · discuss

3.

WICG Proposal Draft: Web Smart Card API(wicg.github.io ↗)

2 points · by ubavic · 4mo ago · discuss

4.

List of programing languages that compile to Go(github.com ↗)

1 points · by ubavic · 7mo ago · discuss

5.

Show HN: Smart card eID driver written in Zig(github.com ↗)

2 points · by ubavic · 9mo ago · discuss

6.

A Security Site(asecuritysite.com ↗)

1 points · by ubavic · 9mo ago · discuss

comment 10mo ago · link · parent

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/

comment 11mo ago · link · parent

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

comment 11mo ago · link · parent

You know what? I removed that part. You are probably right, and there is no need to scare beginners :)

comment 11mo ago · link · parent

Check podcast https://radiostudent.si/druzba/tehno-klistir They talk about open source, linux, etc...

comment 11mo ago · link · parent

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.

12.

Linux Instal Fest Belgrade(dmz.rs ↗)

175 points · by ubavic · 11mo ago · 24 comments

comment 12mo ago · link · parent

That is something I accidentally discovered. TexInfo also uses @.

14.

Mint Is Not TeX(mint.ubavic.rs ↗)

28 points · by ubavic · 12mo ago · 5 comments

15.

Hyperbolic Non-Euclidean World (2007)(web1.kcn.jp ↗)

18 points · by ubavic · 1y ago · 3 comments

16.

OpenPrinting(openprinting.github.io ↗)

1 points · by ubavic · 1y ago · discuss

17.

Reimplementing PKCS#11 Module(blog.ubavic.rs ↗)

1 points · by ubavic · 1y ago · discuss

18.

CV Tips from Someone Who Reads Them(blog.ubavic.rs ↗)

4 points · by ubavic · 1y ago · discuss

comment 1y ago · link · parent

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.

20.

The Second Dumbest Way to Solve a Maze(blog.ubavic.rs ↗)

1 points · by ubavic · 1y ago · discuss

21.

Interactive math: a curated list of tools and articles(github.com ↗)

2 points · by ubavic · 2y ago · discuss

comment 2y ago · link · parent

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).

23.

Building Galaksija, 40 years later(blog.ubavic.rs ↗)

1 points · by ubavic · 2y ago · discuss

comment 2y ago · link · parent

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/

25.

Writing GUI apps doesn't have to be painful(blog.ubavic.rs ↗)

3 points · by ubavic · 2y ago · discuss

comment 2y ago · link · parent

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).

27.

Deconference: Call for Papers(dmz.rs ↗)

2 points · by ubavic · 2y ago · discuss

28.

Polytype: A Rosetta Stone for typesetting engines(polytype.dev ↗)

73 points · by ubavic · 2y ago · 13 comments

comment 2y ago · link · parent

Thank you for this information!

30.

Porting the GCLC to the Web(blog.ubavic.rs ↗)

38 points · by ubavic · 2y ago · 2 comments

1234