Hacker Newsnew | past | comments | ask | show | jobs | submit | burgerone's commentslogin

Prwtty neat. Unfortunately wasn't able to solve the UI desync one :/

It's inverted, 100 == 0, 75 == 25

What makes zig special as a language? I have the impression that it has quite a large fan base here on HN but don't really hear any talks about it anywhere else.

Disclaimer: I don't really use Zig (primarily a Rust dev) but I do think it's quite cool.

If you're willing to dive right into it, I'd first read a bit about the comptime system [0] then have a go at reading the source for `MultiArrayList` [1], a container which internally stores elements in SoA format.

At least, that was what got me interested.

[0]: https://ziglang.org/documentation/master/#comptime

[1]: https://codeberg.org/ziglang/zig/src/branch/master/lib/std/m...


I can share mine. I am not sure if this connects with you because maybe you are more experienced.

I'm DevOps writing boring Python microservices for €. I have no CS background and never did systems programming. However, writing Python always bothered me because there are so many layers between you and what's happening on the metal. For me, Django is the peak example of this, to me it feels almost like doing no code. It makes me very uncomfortable writing it.

Then I heard about this new programming language Zig on YouTube and I just gave it a try. After using it for a few months, I really like it. I guess mostly because it is so explicit.

It is almost like the language encourages you to think in terms of system design. Zig offers a lot of freedom so you can design the perfect tool for your problem. And somehow, it feels very effective for it. I think it is a blessing that there are few third party libraries for the same reason.

For example. I am working on a tool to parse CIM (some XML standard). If I had to use Python for this, my solution would probably use the most popular xml parsing library and then go from there. Yawn.

Instead, with Zig I started to think with a very fresh mind about the problem. I started thinking more from the first principles of the problem. And I got very excited again about programming. During my swimming practice or biking, I kept thinking about the design and how I can make it simpler and improving it by simply not doing certain busy work. I can't fully explain it. But the language gets you in that mindset.

Maybe other system languages also offer this experience, Zig (marketing?) just happened to cross my paths at the right moment.


I'm sure it's not what you meant, but the argument "it makes me slower at my job and deliver less stable solutions, but I feel cool doing it" is not exactly a compelling endorsement.

I can't see anything in OP's post where he says any of that. Everything you said seems like an incredibly ungenerous reading of what he wrote.

Zig is a systems programming language. Moving from Python to Zig is a step down the tech stack, which brings with it exposure to underlying concepts and limitations that matter when writing any software, and which is especially valuable for a self-taught dev.


He wrote an XML parsing stack on hours instead of doing his job because doing it was, and I quote, "yawn".

Where did he say he did it in work hours? Or that he did it instead of doing his job?

He used the word "yawn" to describe using a popular library without understanding the underlying architecture, not in reference to doing his job.

Honestly, I can't even see a tenuous connection between what you're claiming and what was said in the post. The man is expressing joy about learning new things, and you're... upset about this? For some reason? Weird.


https://github.com/google-gemini/gemini-cli/discussions/2063...

This comment resonated with me in particular.


thank you, I've been putting in work on /new


Awesome! DrRacket is easily the worst programming environment I've ever used. Glad to hage an alternative.


Thank you for your phrase. In my view, DrRacket has its own consideration because many syntax analysis are expensive. Without font end pre-process, any Scheme/Lisp language server could serve well. Scheme-langserver just is trying to do better, though it has many bugs till now.


Bro - come on.


It's not that the technology is not there yer, it's all the ethical concerns and the mental barrier that nobody wants to spend their day begging AI for solutions.


Top 0.01% user of a code LLM demonstrates extreme unwillingness to learn anything.


I wish we could take our exams this way. It seems like a very interesting approach :)


Is this just a standard matte screen? That's really not something new or innovative...


It is not, you did what I usually do, read the title and jump directly into comments. It's a special coating which works differently to standard matte screens wich makes it way superior.


I did read the article and can correct you because it's not a coating, it's etched. What I would like to know is why anyone should choose that over a normal matte display panel. I don't see the purpose


How does it compare to stirling pdf?


I’m doing everything locally, with no pricing on the extension for now. I do plan to make it paid later, but since all processing happens locally, your files never leave your device and remain completely safe.

also not just PDF the image processing also WIP will be done by next week


Stirling pdf has launched a desktop version


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: