<Guest96>As far as I can tell, the only "benefit" with Heisenbridge is that it only generates one user in IRC to funnel all matrix messages. I assume this is desirable, so I will proceed with investigating packaging Heisenbridge.
<mroh>Guest96: I use heisenbridge on my (guix)homeserver. The main benefit is, imho: It doesnt stop working for days as the official appservice does, sometimes.
<alxsim>Hi, is it expected that a first time email sent to help-guix 6 hours ago still didn't go through? Is there a filtering for first time posters or did something go wrong?
<Guest96>alxsim: I have definitely had it take a while. I think it depends on some manual process when someone gets around to it, though I'm sure at least one such person lurks here
<alxsim>Thanks, just wondering if it went to some sort of spam box
<TehBoss>and if not then how do i write a package to install the binaries from a tar archive
<TehBoss>i downloaded the archive with the binary but i cannot run it
<anadon>Texmaker building using LuaLaTeX fails at `/home/anadon/.guix-profile/share/texmf-dist/tex/latex/fontawesome/fontawesome.sty:46` with `! Package fontspec Error: The font "FontAwesome" cannot be found.For immediate help type H <return>.->\tex_errmessage:D Package fontspec Error: The font "FontAwesome" cannot be found.^^J^^JFor immediate help type H
<ulfvonbelow>it looks like adding "--with-threads=POSIX_THREADS" to clisp broke the tests
<zamfofex>Hello, Guix! I’ve been working on a (very simple) chess engine that I hope to be able to package to Guix eventually. It uses neural networks, though, so I have a few questions! The network is fairly small (1.2kB or so), would that be able to be included verbatim?
<zamfofex>If not, I can likely write a program to generate a network reproducibly, but it would probably use pre‐generated evaluations for positions from an existing engine like Stockfish. Would that be fine? Finally, I could write a simple HCE for it ultimately.
<zamfofex>By “generate”, in this case I mean “train”.
<nckhexen>Guest96`: Code quality. The single IRC user thing is terrible, to the point that I'd consider it disruptive if a large number of users used one heisenbridge, but if it's just your instance it's not an issue.
<lilyp>zamfofex: if you generate your network reproducibly from a pre-generated (assumed non-reproducible) network, how much of a benefit is there to it?
<zamfofex>Well, it wouldn’t be generated from a “network” per se, more so by its results (which is just one integer per chess position). The idea would be to take an existing database of positions (in my case, a recent month of the Lichess database), filter by games with evaluations, and then train on that.
<zamfofex>The benefit is that it would allow for people to train on whichever games they might want, granted they have a way to bootstrap the evaluations somehow (perhaps using some HCE, if they would like, or just Stockfish). I’m trying to avoid having to bootstrap the evaluations myself, though.
<zamfofex>lilyp: There is a sample of how one game with evaluations look like: https://database.lichess.org/#sample I think this is much less opaque to understand than an actual neural network (though you need many more of them to establish a neural network yourself).
<anadon>zamfofex If you're using pseudo-random with tight controls on concurrent execution such that it is tractably mappable to a fully serialized execution which is the same each time, then you're golden.
<anadon>Any chaos in any of that, and then you'd have to hard code, more or less, the trained network as "special sauce". Which works, but in the highest level isn't compatible with the understandability which Guix stands for. That said, that is really, and I mean really, pedantic argument here so, eh, go for it.
<zamfofex>anadon: Yes, I’m planning to write custom code for training, probably in C, maybe Python. Though the source of the training data being an existing engine’s neural networks (which is not easily/practically reproducible) is what makes me feel unsure whether it is fine (as lilyp pointed out).
<anadon>I've made a ANN before. They can be reproducible. They typically aren't because sheer speed is preferred over tighter control over concurrency.
<anadon>Now, I have far too much on my plate to look at code, let alone submit patches. It is also 1AM here and I have work in the morning. Peacing out.
<seeg123456>hello! could someone point me how could I start developing a Guile FFI for a C library? In particular I want libgeotiff. I created a simple manifest in Guile with "guile", "libgeotiff", fired up 'guix shell -D', started guile and used (dynamic-link "libgeotiff") but i'm getting that "libgeotiff.so" is not found
<sneek>Welcome back seeg123456, you have 1 message!
<nckhexen>My brain is full of such trivial cruft, always happy to find an unsuspecting victim.
<kitty1>nckhexen: mood, I just went to check out here while trying to figure out some things unrelated to guix haha
<seeg123456>ok, still 2 questions: 1. how do i get where the derivation is stored, say in guix repl? 2. how can i get a LD_LIBRARY_PATH env var? (in 'guix shell --search-paths' I only get PATH and PKG_CONFIG_PATH)
<seeg123456>ok well at least that works when i 'guix install libgeotiff' and point LD_LIBRARY_PATH=$HOME/.guix-profile/lib
<f1refly>my xdg-open opens chromium for http urls, but I'd like it to use firefox. When trying to change the setting with xdg-settings set default-web-browser firefox.desktop it tells me that it cannot find the .desktop file. I know that there is one in ~/.guix-profile/share/applications, so the issue seems to be that xdg doesn't know about this path
<f1refly>Does someone know what path I'm missing in my environment?
<Zambyte>Does anyone have experience with setting up a Hugo site on Guix? When I try to install a theme from GitHub, I get a certificate error. I can git clone the theme just fine though. I have the nss-certs package installed in my system config, so that's not it.
<lechner>Zambyte / what are the command and the error message you get, please?
<gabber`>Zambyte: what happens when you "try to install"? can you curl or wget the appropriate file(s)?
<Zambyte>To install I added path = 'github.com/McShelby/hugo-theme-relearn' under the module.imports section in my hugo.toml, and I try to run hugo mod get. I get an error saying: fatal: unable to access 'https://github.com/McShelby/hugo-theme-relearn/': server certificate verification failed. CAfile: none CRLfile: none
<Zambyte>I will double check with curl + wget but I suspect that will work
<Zambyte>That is bash in posix mode though, if you want full bash you should do #!/usr/bin/env bash
<isaneran>then my followup to that, I wanna add $HOME/.local/bin to my path. And I am using guix home, so can I just use the simple service and the environment variable service type and do ("PATH" . "$HOME/.local/bin:$PATH") or will that mess up something about guix magic that I can't figure out
<lechner>isaneran / my favorite is #!/usr/bin/env sh although life is too short for that. please consider #!/usr/bin/env guile
<isaneran>yeah that's the one I found in the manual, so it was what I wrote for the moment
<gabber`>i'm running into "ERROR: Did not find a cmdline Flattened Device Tree" with my custom aarch64 image trying to boot into Guix from U-Boot. if i load the FDT (the one from /gnu/store/<hash>-linux-libre-arm64-generic-6.4.16) manually i can access it with the u-boot command `fdt` and it looks good.. is my extlinux.conf faulty?
<gabber`>ACTION wonders if they can load the gzipped initrd to RAM from U-Boot?
<bienjensu>Would anyone be able to point me to a service definition that doesn't serialize a config to a file, but rather to command line options to the process? Trying to write a service definition for wlsunset (that doesn't use a config file). Thanks in advance.
<zamfofex>TL;DR: I want to include a 1.2kB network for a chess program I made that I want to package. Otherwise, I can write a program to train a network (reproducibly), but it’d use data generated by an existing network (Stockfish, already packaged in Guix). Finally, I can write an HCE for it, if it’s preferred.
<zamfofex>I wanted to know if anyone has anything to say to complement what lilyp said. If no‐one says anything different, I’m probably going to start working on a simple HCE for it soon.
<isaneran>is there a command to generate the scaffolding for a package, other than guix import (which only works when you have something to import)
<futurile>isaneran: don't think so - I generally have been finding the simplest package I can find for the build-system that I'm going to use.
<nathan-web>I just tried running the `file` command and got `bash: file: command not found`. Now, in this case, I just had to `guix install file`, but I wonder: does guix have any functionality to search packages by the commands they provide? Some shells provide a feature that, when you enter an unknown command it will respond with something like: `Did you
<nathan-web>mean <something>.` Or, `<command> is provided by <package1> <package2>, install now?`
<ggoes>Guest96``: a git clean -fdx fixed that german manual build failure for me [i know you said this days ago, just getting it in the logs]
<nathan-web>Sounds like it might not be too bad. (I myself don't know enough scheme/guix to disagree).
<civodul>nathan-web: there’s a plan to allow ‘guix locate’ to download a pre-built database but that has yet to be implemented
<nathan-web>Off the top of my head: A script to generate a mapping of packages and the files that they add to PATH directories. Generate a full db file, and a diff file from the previous in order to make updating easier. Make it available as a web-resource or a package itself.
<nathan-web>civodul: That would be nice too. I wonder how big that database would be. If it is very large, a cut down "Package: PATH Files" version might be nice too.
<weary-traveler>i'm trying to submit a patch to guix. the package i'm intending to submit is a package transformation of another version already in master. when i run guix lint this is what i observe (both linter errors/warnings are also shown for original version): https://paste.mozilla.org/Fzk2gSwn could someone more experienced help me understand whether or not these need to be addressed before submitting a patch?
<lilyp>weary-traveler: the label thing is indeed an issue with the original package that we ought to fix;probably by dropping the label altogether
<lilyp>as for packaging transformations, we don't typically use (guix transformations) in (gnu packages …) code–that's reserved for the CLI and user scheme files
<nutcase>what does "substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable" mean? I get this message with a `guix system reconfigure ...`.
<TehBoss>should i be installing things with `guix install`, or editing `/etc/config.scm`, or some sort of user configuration
<futurile>TehBoss: you can either manage applications by using the guix command line, or you can use manifests. If you're just getting started it's easy to use the cli (similar experience to RPM/Deb etc)