Conversation
Notices
-
This is really cool stuff.
http://fractalide.com/#vision
DISCLAIMER: Sitting right next to Stewart at this moment.
-
@cereal Yeah, it's pretty clear that there is some work to be done here.
-
@cereal There something there now!
http://fractalide.com/faq.html
-
The fact the the site is made in https://styx-static.github.io/styx-site/ is very cool. Static site generator making use of #nix to describe pages and compile them.
Guix could have something like this, maybe by robbing pieces from Haunt?
@cwebber @dthompson
-
@endo @dthompson @cwebber The pages are described using the Nix language, and I believe, but I haven't looked into it, that it uses the Nix store as a cache for each rendered page, to avoid regenerating things that didn't change since the last render.
I want to do this for code too. A big package of 1M lines of C can often be split into 1000 sub-packages with dependencies among them, and object files, test outcomes and other artifacts could be cached by the Nix or Guix store.
-
@cwebber @dthompson @endo That's not using guix as the dependency engine though, replacing make or whatever. I'm talking about each page being a guix derivative.
-
@endo @dthompson @cwebber Man there are so many build systems to evaluate these days. Autotools, Scons, Bazel, Buck, Pants, Meson, Tup, Shake ... Better to just roll your own! :-D
In my copious spare time, my next project, after making an OStatus+AP node in Python, Guile, Haskell and PicoLisp with a quadruple-store back-end, is making a Guile-based generic build system utilizing Guix. That plus Haunt might possibly be something like Styx.
-
Haskell, eh? Capable of running Ninja files? Intriguing. Very meme compatible.
-
Even more on topic: http://declaredvolatile.org/blog/2014-09-14-writing-a-simple-blog-with-shake-and-pandoc/
-
#guix https://gnu.org/s/guix
Functional (as in functional programming language) package manager and, optionally, complete Linux distribution, offering cool features like atomic upgrade, rollback, per-user and per-session package installs, and package definitions written in Scheme (Guile).
#haunt https://haunt.dthompson.us/
Static web site generator written in, and sites expressed in, Scheme (Guile).
@dthompson Your cert went invalid back in June.
-
@cwebber @bkurdali Cool!
-
@endo @dthompson That's the one.
-
@dthompson :-(
-
@cwebber @dthompson @bkurdali @endo
You can easily create cycles in Make, *and* (not easily) make them work. I'll let the reader work out the implications.
-
Haha, only minutes later I run autotools and it starts by saying:
> Checking if build environment sane ... yes.
Seems I was wrong! Autotools said so. ;-)
-
@endo @dthompson @bkurdali @cwebber I disagree. You get forced to deal with your cycles upfront, you manually or with other tooling find them and destroy them, or you get bitten in the ass later. Over time, those are the only options.
-
@endo @dthompson @bkurdali @cwebber SCons seems to be pretty approachable.
-
@endo I'm not following, you'll have to explain better what you mean. Build systems are not approachable because they have their own DSLs instead of being defined in bash?
-
@endo True. You will have to trust that people are following (and understanding) conventions that makes it possible to pretend you can reason about it.