IRC channel logs

2021-04-08.log

back to list of logs

<leoprikler>and before you ask, yes, I did functional programming in m4
<leoprikler>In about three years, the company I worked at will discover it and whoever happens to do read the code at that time will reach enlightenment.
<leoprikler>Or they'll curse me. Probably the latter.
*zzappie imagines "M4 functional programming" O'Reilly book cover
<dsmith>leoprikler: The "base case" for recursion was kinda funky, iirc.
<dsmith>At one time I was using some freebie Mororola supplied assemblers, with no macros. m4 filled in nicely!
<morganw>I recently m4'd a GitHub Actions config and would do it again (whilst the design of GitHub Actions remains fundamentally broken)
<leoprikler>Got any code for that?
<morganw>For GitHub Actions? It was pretty sparse, but if you are interested: https://github.com/adventuregamestudio/ags-manual/tree/master/.github/workflows
<morganw>I started to write a YAML renderer in it, but then though better of it
<leoprikler>that looks pretty nice
<leoprikler>a minor nuisance is that you have to manually expand job.m4 every time :P
<morganw>I think they have created a security problem which means they cannot use YAML aliases. And the job matrix outputs are static and overwrite each other, so unless you template the YAML there is just endless copying and pasting to duplicate everything manually.
<morganw>But it does seem reliable, which I cannot say for the others I've used.
<rlb>Imagine you know, but you can play some tricks with their matrix and the matrix var expansions to avoid some duplication...
<morganw>The problem is that the outputs are defined in the YAML key names, not the values.
<rlb>Ahh.
<morganw>And rather than combine multiple matrix outputs as an array for the return data, whichever job finishes last is the only return value you will see.
<rlb>(I've also used cirrus fwiw to add testing for freebsd to projects.)
<rlb>(But don't know much about cirrus otherwise.)
<morganw>Yes, I chose Cirrus too. I think it has a good design and didn't require me to start provisioning accounts to allow Docker containers to be cached. But I have had issues since with older containers not running, and also with restarted jobs interfering with artifact uploads.
<rlb>(Suppose you could do that on sourcehut too (and include a bunch of other platforms), but possibly not for free in the long run...)
<morganw>Lack of Windows support would be a problem too, since that is the primary platform for the project.
<rlb>Ahh.
<morganw>But I don't see Windows will exist in its current form in the near future, so this partly why I'm interested in Guile and where I can embed it, and whether that can be a game engine.
<leoprikler>Why embed Guile into your game engine, when you can write your game engine in Guile instead? :)
<leoprikler>Jokes aside, you should be able to embed Guile into your game engine.
<morganw>I saw Chickadee and it looked very interesting, although I'm a little worried about how to 'deploy' the final application in a way that is self-contained.
<mwette>several decades ago, I wrote a functional Makefile generator that used M4: https://paste.debian.net/1192684/ ; I had fun w/ M4.
<RhodiumToad>m4 is all very well but it easily becomes a complete mess
<dsmith>mwette: Wow. Looks really nice
<mwette>thx
***phossil is now known as tophullyte
<wingo>moin :)
<civodul>o/
<lampilelo>hi
<rekado>morganw: you can deploy a self-contained archive with Guix.
<morganw>Does that run for someone who isn't using Guix?
<mbakke>morganw: yes, archives produced by 'guix pack' has no dependencies apart from the Linux kernel
<dsmith-work>UGT Greetings, Guilers
<lloda>what is the update process for gnulib? i saw other commits where it's done but it doesn't say. Only saw a couple old mentions in ChangeLog-2008.
***DadeBonetti1 is now known as DadeBonetti
<wingo>you "git pull" in a local checkout of gnulib. then run the command in lib/Makefile.am, adding any files that were added by the update
<wingo>the gnulib-update command i mean
***sneek_ is now known as sneek
<lloda>gnulib-tool --update i'm assuming
<lloda>giving it a try
<lloda>oh i can't read
<lloda>'the command in lib/Makefile.am'
<lloda>building...
<lloda>everything looks alright. Ok to push? or should I push to a test branch and ask for people to test? I haven't done this before.
<lloda>ok pushed to wip-gnulib-update
***atuin- is now known as atuin
***DadeBonetti1 is now known as DadeBonetti
<tatsumaru>hey guys, I am using arch linux and it only has guile 2.2.6 package for it. is it a lot different than 3.0.5 and can I use most of the current reference manual to learn guile on 2.2.6 or do i need to do a manual update?
<lloda>tatsumaru: There is a guile 2.2 manual at https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/
<lloda>but if you are starting to learn there shouldn't be major differences
<lampilelo>tatsumaru: it's not that different but if you want to use guile 3 you can install it from aur
<lampilelo>today is the first anniversary of the last guile update on arch, lol
<lampilelo>yay rolling distro