IRC channel logs

2021-01-04.log

back to list of logs

<spk121>daviid: thanks. I can't take too much credit because I personally didn't contribute too much aside from some CI/CD stuff
<hugo>Whelp... sneek died when I started talking to him...
<hugo>Has anyone seen OrangeShark? I'm wondering if any work is done on the guile-git documentation
<RhodiumToad>sneek: botsnack
<RhodiumToad>huh
<adhoc>hugo: is that related to; http://orangeshark.github.io/ or https://github.com/OrangeShark?tab=repositories ?
<hugo>adhoc: https://gitlab.com/guile-git/guile-git
<hugo>But the same repo, albeit older is at https://github.com/OrangeShark/guile-git
<rlb>...regarding some of my possibly odd questions over the past while: https://github.com/lokke-org/lokke / https://github.com/lokke-org/lokke Though it's almost certainly still broken in any number of ways.
<rlb>oops, one of the links should have been https://git.sr.ht/~rlb/lokke
<rlb>(And of course, if any of that is of interest to guile proper (no idea if it will be), more than happy to help if I can.)
<daviid>rlb: very impressive - you should post this on #scheme, someone recently did ask about that, not exactly '... to provide a full dialect of Clojure for Guile' but if anyone did implement clojure on some scheme ...
<rlb>daviid: thanks, and ok, I'll try to remember to do that later, though feel free to yourself if too you like.
<daviid>rlb: if you are interested, i can post a link and a sentence 'right now', let me know
<rlb>by all means
*rlb is getting food
<daviid>rlb: ok, will do in a min, and i'll send an email to ask add the project to the guile-software list as well
<rlb>Hah, ok, though it *is* really preliminary, but if that's still suitable for the list, then great.
<daviid>rlb: done, both posted on #scheme and sent an email
<rlb>thanks much
<daviid>np!
<spk121>new guile-curl version released, with guile 3.0 support
<daviid>spk121: the front page seems to point to the previous version
<daviid> http://lonelycactus.com/guile-curl.html
<spk121>daviid: Yup. I'm working on it
<daviid>ah ok, sorry :)
<daviid>spk121: i sent an email so it will be on the guile-software list as well ...
<spk121>cool
***wleslie is now known as solitaire-e-conf
***solitaire-e-conf is now known as wleslie
<a_v_p>FWIW, I implemented audio recording and mixing from a system playback and/or microphone: https://gitlab.com/gkaz/finger-frame
<tohoyn>sneek: botsnack
<renken>is there a way to instruct guile to print the file it just read through (load "file.scm")? context is that I lost the file post-load and I want to recover it from guile if possible
<renken>further reading of the reference manual, guile uses fluids for load and from my understanding of https://www.gnu.org/software/guile/manual/html_node/Fluids-and-Dynamic-States.html, there is no way to recover the source code as the fluid is terminated the moment (load) is done being evaluated
<renken>I am thinking same thing for anything inputted to the REPL. example, you define a function, clear the screen and want to review the implementation again, you simply can't.
<renken>I'm new to both scheme and guile so correct me if I'm wrong
<leoprikler>renken: An easy out would be to define your own load, which first prints the file and then proceeds to call core load. Would that be sufficient in your code or do you need an Emacs advice-style solution?
<leoprikler>If so, you can set %load-hook to a procedure to be called with the single argument being the file that is loaded.
<renken>leoprikler: yeah that's a good solution for the future, thank you. However the issue I'm faced with currently is retrieving the source code I already loaded. I assume it's not possible, correct?
<leoprikler>Mhh, I'm not sure it's impossible
<civodul>hi! has anybody written FUSE bindings?
<leoprikler>renken: Unfortunately, there doesn't seem to be a general solution to it however.
<leoprikler>you might want to try procedure-source, but it can return #f
<leoprikler>you might also want to try module-filename and look up that file in %load-path, but that assumes you have a module and %load-path hasn't changed since
<leoprikler>civodul: apparently there's https://github.com/sph-mn/guile-fuse, but it's old and without release
<renken>leoprikler: yeah, procedure-source indeed returns #f. As for module-filename, I was testing stuff locally and only used (load file). I decided to give up and simply rewrite the source code, thank you very much for you help!
<civodul>leoprikler: ah yes, thanks!
<dsmith-work>Morning Greetings, Guilers
<dsmith-work>Aww, is sneek gone again?
<justin_smith>sneek: boop
<dsmith-work>sneek: botsnack
<sneek>:)
<dsmith-work>Yey!
***ggoes_ is now known as ggoes
<hugo>sneek: who is OrangeShark
<tohoyn>sneek: botsnack
<sneek>:)
<dsmith-work>~uptime
<dsmith-work>!uptime
<sneek> 11:51:26 up 2:11, 0 users, load average: 0.00, 0.01, 0.05
<rlb>By the way, working on lokke has made me feel like guile has done a pretty good job of providing the "base for dialects" it advertises. There are certainly some rough edges, and I have any number of questions about things I just hacked around that likely either suggest I was doing it wrong, or might suggest improvements, but in general, I'd say nicely done.
<dsmith-work>rlb: lokke?
<dsmith-work>Ahh!
<dsmith-work>Cool
***lfam_ is now known as lfam