Re: how to write services

2022-06-18 Thread indieterminacy
Hi Maxime, On 18-06-2022 14:23, Maxime Devos wrote: indieterminacy schreef op za 18-06-2022 om 13:53 [+0200]: Additionally, based upon a decent demonstration on LMDB, I realised that my annotation system makes it more feasible to adapt documents into LDIF database-like-files (is that the corr

Re: how to write services

2022-06-18 Thread Maxime Devos
indieterminacy schreef op za 18-06-2022 om 13:53 [+0200]: > Additionally, based upon a decent demonstration on LMDB, I realised that > my annotation system makes it more feasible to adapt documents into LDIF > database-like-files (is that the correct terminology Maxime?) - > potentially turning

Re: how to write services

2022-06-18 Thread indieterminacy
Hello Brian, On 16-06-2022 15:09, Brian Cully via "Development of GNU Guix and the GNU System distribution." wrote: caton...@gmail.com writes: I asked for indications about the process (what magic to use in the REPL) My experience with Guix, in general, is that the REPL isn't particularly u

Re: how to write services (was: Re: Teams)

2022-06-16 Thread Development of GNU Guix and the GNU System distribution.
caton...@gmail.com writes: I asked for indications about the process (what magic to use in the REPL) My experience with Guix, in general, is that the REPL isn't particularly useful for any task beyond very simple testing (eg, what are the contents of ‘%base-services’). It's a shame, but I

Re: how to write services (was: Re: Teams)

2022-06-16 Thread Maxime Devos
Blake Shaw schreef op do 16-06-2022 om 06:20 [+0700]: > But, perhaps it's just getting late and the matters are now & the > details are slipping my mind, but im starting to realize im unsure of > many examples of file-like objects that aren't a file? The email > where you responded re: packages was

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Ricardo Wurmus
caton...@gmail.com writes: > Ricardo, the general map of the concepts involved in conceiving a > service is useful > > But in my toot I asked for something different > > I asked for indications about the process (what magic to use in the > REPL) There is no REPL magic. I write the service in c

Re: how to write services (was: Re: Teams)

2022-06-15 Thread catonano
Il giorno mer, 15/06/2022 alle 17.01 +, Blake Shaw ha scritto: > > Catonano: > I think writing a home-service is much easier given that you don't > need to do produce an entire system generation before you find out > what you did wrong;  I suspected something like this This is why I hypotize

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Blake Shaw
Thanks for the feedback, abelian groups are a good example because so many groups are abelian (fields etc). But, perhaps it's just getting late and the matters are now & the details are slipping my mind, but im starting to realize im unsure of many examples of file-like objects that aren't a file?

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Maxime Devos
Blake Shaw schreef op wo 15-06-2022 om 21:40 [+]: > On the contrary, lets say I'm writing an intro book on CT. If I'm > demonstrating something trivial, say the initial object, I'm not > going to refer to it as "an initial-like object" for the sake of > generality. Neither does Guix? If you'r

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Maxime Devos
Blake Shaw schreef op wo 15-06-2022 om 21:40 [+]: > > AFAIK no relation to GNU. > > I thought recalled hearing it used in relation to GNU/Linux. A quick > search > brings up this stackexchange discussion[1], which quotes the book > "Linux > Philosophy" with the following: > > #+begin_example

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Maxime Devos
Blake Shaw schreef op wo 15-06-2022 om 21:40 [+]: > > Something I dislike about the ‘file AND file-like objects’ > > construction > > is that it suggests that files and file-like objects are separate > > and > > are handled separately, whereas files (as in, 'local-file' or > > 'computed-file')

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Maxime Devos
Blake Shaw schreef op wo 15-06-2022 om 17:01 [+]: > Thats very good advice and will be a useful guide in refactoring the > parts of the system services documentation. I think in general, we > need to find a nice middle ground between the extremely general and > the immediately sensible, as I re

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Blake Shaw
Ricardo: Thats very good advice and will be a useful guide in refactoring the parts of the system services documentation. I think in general, we need to find a nice middle ground between the extremely general and the immediately sensible, as I remember when I first got into guix 1.5 years ago, arri

Re: how to write services (was: Re: Teams)

2022-06-15 Thread Ricardo Wurmus
caton...@gmail.com writes: > Il giorno mer, 15/06/2022 alle 01.52 +0700, Blake Shaw ha scritto: >> >> I found the documentation to be a bit confusing (understandably, as >> its new), but once the workflow snapped together its been amazing to >> see how easy it is to create new services.  > > Th

how to write services (was: Re: Teams)

2022-06-15 Thread catonano
Il giorno mer, 15/06/2022 alle 01.52 +0700, Blake Shaw ha scritto: > > I found the documentation to be a bit confusing (understandably, as > its new), but once the workflow snapped together its been amazing to > see how easy it is to create new services.  This is something I'm specifically intere