Re: The Spritely Institute publishes A Scheme Primer (the long-requested "Guile tutorial"?)

2022-07-08 Thread Max Brieiev
Hi, Christine Lemmer-Webber writes: > I've considered making a Guix package of the .info version. What do > people think? Would that be useful? Yes, please. Possibly, this tutorial could also be referenced in (info "(guix-cookbook) Scheme tutorials") Or even included in guix cookbook?

Re: #guile libera.chat

2021-05-30 Thread Max Zettlmeißl
On Sat, 29 May 2021 at 20:47, Matt Wette wrote: > I'm not sure I can recover from that. I may need a new nick, right? No, just wait a day or two and register again with the same name. Your registration will be discarded if you don't confirm it with the nonce that you receive within the registrat

Re: Announcement: Theme-D programming language

2016-07-24 Thread Max
Could you perhaps briefly summarize what this have to do with Guile? 23.07.2016 13:29, Tommi Höynälänmaa пишет: > Some properties of Theme-D language are: > * Static type system > * A simple object system > * Multi-methods dispatched runtime (and also compile-time) > * Parametrized (type parameter

Re: [ANN] GNU Artanis-0.1.1(Beta) released!

2015-12-29 Thread Max
Could you also briefly summarize what is artanis? Otherwise the announcement looks pretty meaningless.

Re: [ANN] Haunt 0.1 released

2015-08-08 Thread Max
Thanks for sharing! One little note: it would be nice to see license right away on the homepage and announcement, not only in the code snippet. 08.08.2015 16:25, David Thompson пишет: > (license gpl3+))

Re: GNU Artanis 0.0.2 released [alpha]

2015-01-29 Thread Max
Thanks for sharing this. I know that download address kinda suggest it but could you explicitly point out the license for source code? Also, where's the vcs with on-going development located? cheers, Max.

gtk socket problems

2014-08-07 Thread Max
ket_get_id: assertion 'GTK_WIDGET_ANCHORED (socket)' failed" error, the socket-id is always 0. I've tried to go through docs but they are very brief and have no code examples :( Any ideas what might get wrong in here? Any references to code sample which shows how to use gtk-socket from guile properly? cheers, Max.

Re: ossaulib dbus error

2014-07-24 Thread Max
When I set GUILE_WARN_DEPRECATED to "detailed" I got warning that "Eval closures are deprecated". Is this related to eval-when workaround? If so - what would be relevant solution? cheers, Max.

Re: ossaulib dbus error

2014-07-23 Thread Max
Excellent - works like a charm, thank you! 23.07.2014 10:59, Neil Jerram пишет: > > Just remembered / worked this out. The problem is that %load-path isn't > extended > when dbus-test.scm is being compiled, and the solution for that is to use > 'eval-when'. Here's my test script, showing the us

Re: ossaulib dbus error

2014-07-22 Thread Max
22.07.2014 19:05, Neil Jerram пишет: > On 2014-07-22 17:39, Max wrote: >> > > OK, sorry to take your time on that attempt. > > What if you do "guile --debug test.scm" where test.scm has just the load-path > appending and (use-modules (glib dbus)) ? If that s

Re: ossaulib dbus error

2014-07-22 Thread Max
I've copied glib/ to neil/, replaced all the instances of glib with neil (except for libglib of course :) and tried to use (neil dbus) but the result is exactly the same - ERROR: no code for module (neil dbus) Can you try it on your machine alongside with guile-gnome? 22.07.2014 18:23, Neil Jer

ossaulib dbus error

2014-07-22 Thread Max
; WARNING: compilation of /home/god/source/lisp/dbus-test.scm failed: ;;; ERROR: no code for module (glib dbus) Any ideas why guile does not see it? I've checked ossaulib/ and glib/dbus.scm is right there. cheers, Max.

Re: [ANN] a lot

2014-07-21 Thread Max
cord-setters myrec (myrec-pid-set! (quote pid)) > (myrec-env-set! (quote env))) Hmm... looks like a boilerplate - I thought those are generated automatically. > ;two different ways to create a record > (define a (record myrec pid "LOL")) > (define b (make-record myrec)) > > (myrec-pid a) > (myrec-pid-set! a 3) > (myrec-env-set! b 2) > --- I can also have arbitrary number of fields in the record? (define triad (make-record-layout (quote (pid env num (define t (record triad pid "LOL" 5)) thanks, Max.

Re: sph.io libraries

2014-07-21 Thread Max
cess' lib is the only interface to execve for guile I've been able to find - I kinda expected that to be part of standard library. That's why I'm so kin on the source availability - your project looks like the missing piece I've always needed from guile :) cheers, Max.

Re: sph.io libraries

2014-07-21 Thread Max
Wow, that sounds like a lot of maintenance burden - have you considered using open source hosting which specialize on fixing those? Something like https://gitorious.org/ or http://hub.darcs.net/ depending on your vcs preference. On a related note - using something like jekyll or hakyll to genera

Re: sph.io libraries

2014-07-10 Thread Max
I hope it's not because of some of the sph.io libraries used to host the very same sph.io website :) 10.07.2014 20:56, Taylan Ulrich Bayirli/Kammer пишет: > Now I get a 504, gateway timeout. :\ > > (Both / and /content/187.) > > Taylan >

Re: sph.io libraries

2014-07-10 Thread Max
Works for me now. Here is direct link just in case: http://sph.io/content/187 cheers, Max.

sph.io libraries

2014-07-08 Thread Max
Hi. Have anyone worked with libraries from http://sph.io/ I found some basic documentation on dev website but can't find any code examples :( I'm particularly interested in process and record modules. cheers, Max.

Re: [ANN] a lot

2014-06-24 Thread Max
ould be if every documentation entry would include code sample but it's tremendous amount of rather boring work so I would be happy to see any sort of examples. thanks, Max.

systemd bindings

2014-05-30 Thread Max
Hi all. Are there $subj somewhere? I'm especially interested in generating .socket unit files programmatically. cheers, Max.

Re: spawn call

2014-04-30 Thread Max
Ok, I've got to use each module separately: for example (use-modules (os process)) ... (run-concurrently "systemctl") Unfortunately there seems to be no way to change environment variables for the process you run this way - at least there are no such parameters in the function :( cheers, Max.

Re: dbus introspection

2014-04-28 Thread Max
secrets.scm with autogenerated (via dbus introspection) code for module secret-service which export functions like (set-alias), (unlock), (get-secrets) etc. and let me register my functions for callbacks on (collection-changed) and other signals. Yes, it could be done manually but it's always better to have boilerplate code autogenerated. cheers, Max.

Re: dbus introspection

2014-04-28 Thread Max
ble for interaction with this service? > Not that I know of. Should be quite easy to build on top of my > client-side bindings, though. (Or on top of any set of client-side > bindings.) Yepp, I've just hoped someone already made it :) Can't really imagine how to use dbus without such a convenience tool. cheers, Max.

Re: spawn call

2014-04-27 Thread Max
Oh, and another thing - how to actually use this library? I mean I've found API reference, but what shall I write into (use-modules ...) ? cheers, Max.

Re: spawn call

2014-04-27 Thread Max
ecting > > check it out here: > https://gitorious.org/guile-scsh > > On Sun, Apr 27, 2014 at 2:52 AM, Max wrote: >> Hi. >> >> I'm looking for a way to "fire and forget" external program from Guile: >> something >> similar to spawnOn

Re: spawn call

2014-04-27 Thread Max
rg/guile-lib/doc/ref/os.process/ is what I need: I do not plan to communicate with spawned process via pipes. The only unclear thing - is there a way to set environment variable(s) for the spawned process? |* cheers, Max. >

dbus introspection

2014-04-26 Thread Max
interaction with this service? cheers, Max.

spawn call

2014-04-26 Thread Max
judging from description uses waitpid. I need some function which does not wait for spawned program to finish but returns immediately indicating whether it manage to start given program or not - the spawned program might run forever for example. Where should I look for it? Some library perhaps? Some usage examples? cheers, Max.