HNHacker News
TopNewBestAskShowJobs

Ambrevar

285 karma · joined November 2, 2017

https://ambrevar.xyz
submissionscomments
Ambrevar··on Guix: An advanced operating system
Indeed, I'll fix this, sorry for the poor choice of word. What phrasing would you suggest then? "Guix was influenced by Nix"?
Ambrevar··on Guix: An advanced operating system
Guix CLI is quite different and I've heard a few times people comparing it favorably to Nix. I haven't used Nix enough to compare myself though.
Ambrevar··on Guix: An advanced operating system
Indeed, many distros tackle the reproducibility issue. But for the better part (and because of history), it can only be an after-thought, some extra layers that tries to fix the existing system.

The fundamental difference with Nix and Guix is that it's "reproducibility by design". A much more sustainable approach in my opinion.

Ambrevar··on Guix: An advanced operating system
I think the throw-away-server approach you mention cannot address enough issues or fulfill enough needs; in particular, I'm thinking reproducible builds: https://reproducible-builds.org/.

Recent years have shown how badly we need to trust our software, and Nix/Guix are two prime examples of projects trying to tackle this issue.

"Just shoot it" servers lack trust and reliability (assuming you are not shooting a reproducible distro of course :p).

Ambrevar··on Guix: An advanced operating system
A more user-friendly installer is in the works and should hit Guix with 1.0.

Currently, Guix comes with pre-filled operating system declarations so that beside filling out the hostname and a few other options, there is little to do but run `guix system init`.

While Guix install is completely different from any other system (except Nix), it is suprisingly easy with nothing else but 2-3 steps (if you have Linux-libre compatible hardware, that is to say).

Ambrevar··on Guix: An advanced operating system
Why?

Also one core feature of Guix is that it cannot break: you can always roll back.

Ambrevar··on Guix: An advanced operating system
If you look at https://guix-hpc.bordeaux.inria.fr/browse? you'll find most of your wishes there, and many more to come hopefully.

Guix is also working on an installer to help reducing the friction. I'd personally like to work on a fully graphical install + package management.

While Guix sounds like some heavy scientific stuff, it really is a powerful base that allows anything to grow on top, including user-friendly interfaces.

Ambrevar··on Guix: An advanced operating system
This is sadly a good point... Scribble and skribilo are not finished, there are some (very unfinished) works to implement a new PDF generator (at least for skribilo).

I only said it was a "better idea", not a "better finished product", but I should have been more explicit. Will fix.

Ambrevar··on Guix: An advanced operating system
Others gave good answers I think, so I'll just address your points directly.

> [Nix is] so complex with layers of interesting syntax and puncation

Precisely. Guix uses Scheme all over the place. It's just _one_ language for everything, not multiple languages. As a result, it's easier.

Scheme yields very easy-to-read declarations (see https://ambrevar.xyz/guix-packaging for some examples), so JSON & friends don't add much here.

> Parsing and automation

Parsing couldn't be simpler than using the language itself! There is no need to write an interpreter here.

> Why do I need to learn yet another language just to configure and manage my system?

That's precisely part of my thesis: with Guix, you only need to know Lisp/Scheme (which users might already know since it's a general-purpose language). Programs going for a DSL are effectively forcing everyone to learn a language for the sole sake of using the programs.

Ambrevar··on Guix: An advanced operating system
Indeed, thanks for catching the typo!
Ambrevar··on Guix: An advanced operating system
(Author here) You are right that the tone is unnecessarily harsh towards Nix. I actually admire Nix a lot, it's simply the the article suffers from too little editing and would certainly deserve a rewrite.

I'd like to emphasize more on how much Nix and Guix share and that for the better part Guix should be thankful to Nix!

With regard to Mozilla, Rust might precisely _not_ be such a mistake, but you are right, I should praise Mozilla for moving on then (although I know nothing about Rust, so I can only guess here).

> I'm not sure adding a numeric tower and Turing-completeness is really desirable.

That's what I meant: Turing-completeness comes for free, it does not harm the project and you'll need it sooner or later. Even if the devs don't need Turing-completeness, not adding it to a project is effectively limitating what the user can do with a program.

I fell for it myself and at the time, I had the feeling that "a Turing-complete language might be too much for the project." Today, I believe that this thought is mostly an ungrounded gut-feeling.

> Hydra

Thanks for pointing it out, you are right I should have mentioned it when I wrote about the continuous integration. Will do.

Guix itself uses Hydra on the old server and Cuirass (a Scheme-based CI system :p) for the new one.

Ambrevar··on Show HN: Next Browser native on Linux
Luakit is probably what's closest to Next in terms of design.

The important differences, in my opinion:

- Next is not bound to WebKitGTK+, so unlike Luakit it can run on different platforms with different engines.

- Next uses Lisp, which is I believe much more powerful, both for large scale development and hackability.

Ambrevar··on Show HN: Next Browser native on Linux
I know, it's my bad, there is an known issue in the Guix pack, I'm working on it!

Next Guix pack should work flawlessly!

Ambrevar··on Show HN: Next Browser native on Linux
Not GTK per se, but the Common Lisp bindings for GTK.
Ambrevar··on Show HN: Next Browser native on Linux
Those are all good questions!

- "Controller" is just for the sake if this article, to distinguish the part that this project (or any other power-user browser for that matter) is about. It's everything that it not the GUI or the renderer.

- XML-RPC: we were asking ourselves the same question, and the answer could only come out of real-world use. The happy result: no, it's not gonna be a bottlenext, it's very smooth! In the end, XML-RPC is only a medium to send "GUI"-related queries, it's never a tight loop or anything.

- The user namespace: this is only for the Guix pack. It allows the executable to do some filesystem name translations so that it can find it's own executables and libraries. If you are worried this would be an issue, you can simply extract the archive to `/`, it will only use two folders: `/bin` and `/gnu/store`.

Ambrevar··on Next browser campaign: last week of fundraising
Well, in the end all this is 100% customizable, so you have full decision power when it comes to creating "duplicate buffer" commands, protocol assumption and much more.
Ambrevar··on A blog in pure Org/Lisp
Why?
Ambrevar··on A blog in pure Org/Lisp
This is a fair point, but I don't think it applies here: the article is not so much about blog publishing with Org, but rather about 1) good practices and 2) hackable systems. Hacking here does not mean "crazy setup code just to get it to work", it means that I can add or customize (optional) features to my very needs.

Those two points are, I believe, not in very widespread usage among blog writers. I believe that 2) is responsible for 1). Unflexible configurations are too widespread in my opinion and it goes very much against what a programmer / hacker could aspire for.

In the end, the time I've spent on this was very short. Compared to the previous systems I've tried, it now makes for a much smoother publishing experience for me. The ultimate point is that I can tailor it to my exact needs instead of being endlessly frustrated with a non-hackable publishing system.

Ambrevar··on A blog in pure Org/Lisp
It's not really the case here: I did not detail the steps for setting up Org-publish. I detailed some hacks (in the original sense) to extend it to suit my needs. Org-publish is really straightforward and works very well out of the box.
← PreviousPage 2 of 2