Streaming about testing library for Scheme, NLnet grant, its integration into Arei/Ares Guile IDE and some library architecture design thoughts in a couple hours. It's inspired by clojure.test and junit, but still quite schemy.
The next time libcucks start defending NixOS, read this, dipshits. NixOS is associated, and some way or another, backed by Palantir and Anduril.
Relevant to the above comment for the oldest issue on Guix, perhaps there should be a GCD to propose an investigation? Maybe once in six months?
I'm just kidding...:...but it can be a good idea, right?
Oldest Guix issue (I think?): https://issues.guix.gnu.org/17150
I think I've come across this issue (this I can not confirm, nor deny - maybe another issue?) - although quite random, it can be fixed by re-building - which is unfortunately, so time-consuming .
Sometimes (and randomly), Guix fails to check the hash, and continues with the previous version.
This can be also resolved only by corrupting the hash (ahem, replace a character with any other).
I have a blog and yet I keep making repositories like this one: https://codeberg.org/trevdev/guile-playground
I really should just write these things down in a blog. Anyway, I've decided to commit fun things that I script with #guile
CC: @gemlog because of course the first and only example I have so far is our favorite script
I took a stab at shell scripting with #guile and was immediately irked by missing pieces. I can't do HTTPS without a third party package, for example. On my nix machine I can't just install the dependency because it does nothing to update my load path.
With my end goal of wanting to write a github action script, and a desire to avoid more dependencies I pivoted to #babaska and felt right at home. It comes with a curl abstraction and json parsing library built in. The GH actions seem better, too
I find it a bit ironic: I can't write a Scheme macro, which pre-evaluates arguments for arbitrary form. Because I can't determine if form is a macro or procedure application and thus can't handle those use cases differently.
Trovato "Realm of Racket" a un prezzo decente, in Germania . Ora mi manca solo "How to design programs, 2nd edition" e poi posso ritenermi soddisfatto.
#scheme #racket #guile #lisp #lispers #dev #vibecodingsuck
P.S. in realtà in questo periodo mi manca anche il tempo per mettermi sotto in realtà, ma va bene così.
The #guile #lsp server just landed to #guix.
https://codeberg.org/guix/guix-mirror/commit/ed325ce878
guix install guile-lsp-server
Happy hacking !
Now Guile-PNG (https://github.com/artyom-poptsov/guile-png) can draw hexagons. Here an example of a rather quite simple form of generative art, created with Guile-PNG.
Found some issues with the new rootless daemon changes in #Guix. Some packages have tests that require altering the build tree for things like filesystem manipulation tests, but they now fail as the build trees are mounted as read only now. This affects important packages with a lot of dependents like `go`, `ruby` and `scons`. When these packages get an update or need to be rebuilt for some reason, this could be a pain. https://issues.guix.gnu.org/77570
#linux #packaging #programming #guile
I always find myself split when I look at the #guix home page https://guix.gnu.org. I feel like it 1) misses selling the declarative/functional/transactional power of #guix, 2) misses selling #guix as an open system as well as supporting pure-#gnu installations, and 3) don't like to see the embedded domain-specific languages thing as the selling point is that #guile is a general-purpose, infinitely powerful configuration mechanism. I'm also not a big fan of the spaced-out feel of the site.
I keep learning a lot about Scheme hygienic macros and macroexpander and today we talked about using macro as identifiers in arbitrary position of s-expression, syntax parameters, variable transformers and identifier-syntax helper.
Anyone got any clue how to get the current user's home directory in Guile/Scheme? Reading the reference manual and searching the web doesn't help.
On today's Crafter Hours stream, we'll continue working on porting over the Discourse Single-Sign On authentication that I implemented in JavaScript for another version of the System Crafters site.
Let's see how things look when we reimplement this in Guile Scheme!
Join us here:
- https://youtube.com/live/OFBCZ1uMBWk
- https://twitch.tv/SystemCrafters
#guile #scheme tip: when running unit tests (srfi-64) you may benefit from colorizing the output of the runs. Pipe via a small awk script.
#lisp
/compiling|compiled/ {print "\033[34m" $0 "\033[0m"; next}
/WARNING/ {print "\033[33m" $0 "\033[0m"; next}
/Entering test group|Leaving test group/ {print "\033[36m" $0 "\033[0m"; next}
/PASS/ {print "\033[32m" $0 "\033[0m"; next}
/# of expected passes/ {print "\033[36m" $0 "\033[0m"; next}
/FAIL/ {print "\033[31m" $0 "\033[0m"; next}
{print $0}
I don't know why my #guile bindings for #gnome 's #libnotify just stopped working for no reason.
https://github.com/ekaitz-zarraga/guile-libnotify/issues/5
I opened this bug report in libnotify but it looks like the problems are in my code...
If anyone wants to help with this...
The SSS project proudly announces support (and encourages) of #btrfs filesystems with #luks #encryption for a secure and resilient #guix experience with a great filesystem that can survive outages, provides modern features (snapshoting, rollbacks, easy backups, etc)