Finally set up #backups system on my #guix machines with #borgmatic.
Wanted to get my hands on #shepherd timers for a long time and viola!
Finally set up #backups system on my #guix machines with #borgmatic.
Wanted to get my hands on #shepherd timers for a long time and viola!
Fellow #guile #scheme + #guix hackers. Recently I've been busy with #wayland bindings library for guile scheme. I've adopted it after original author disappeared (removed or renamed the account from codeberg, was unreachable via git email)
It was guix-unpacked, had few small guile bugs and was not able to handle "new_id" events (when event callback returns new protocol of type).
It's all fixed now. Enjoy & report if I've missed something
A friend of mine has a question about #guile #hoot and kinda frustrated that no one's answered on official forum. Asked to consult with higher beings
https://community.spritely.institute/t/how-to-pass-global-state-between-modules-effectively/771
Where's the best place to ask on hoot? Irc?
@boo_ @cwebber maybe. but it's still the same `@@` trick suggested above as I see. thanks.,
@wingo @cwebber @fd9a @boo_ @hako @simendsjo
Question for #guile #scheme kings and queens.
I have a module A [(define-module A ….) ] and module B that's code-generated (not macros-way the writing strings to file way) that has [#:use-module A] statement in it.
At some procedure part of module A I want to import and use one variable from module B. I want it to happen only EXACTLY when this branch of code is called.
Is that even possible? Circular dependency = ⚰️ ?
Are there more #mobile devices (except for #pinephone series) where you don't have to request root unlocking from the manufacturer?
Imagine that you have a module already written by someone that does the job you want to, but there is only one variable (example `(define pi 3.14)` ) that you want just override but otherwise would like everything to work as previously. Wouldn't like to copy-paste a one of code
@rml @wingo @cwebber @monkey1 probably the answer given was toatally correct. set! and stuff will work in repl, but won't when launched in the testing env that I just set up.
it won't update setted variable's value in all procedures of `(X)` that uses `x`. `(define (square r pi) (* r r pi))` <-- here pi will stay 3.14 when `square` will be called from `(Y)`
yep. the problem was totally in the testing env
Question for #scheme ☯️ kings & queens 👑 ! Are there an alternative to clojure's alter-var-root https://clojuredocs.org/clojure.core/with-redefs in scheme?
Imagine I have a module `(X)` with `(define a 1) (define-public (f x) (+ x a))` and module `(Y)` that has `#:use-module (X)`. In `(Y)` want to alter a from `(X)` in a way that would also affect `f`. Example: (being in module `(Y)`): `(alter! a 2) (equal? (f 3) 5) => #t`
@civodul Very interesting. But I am in Russia right now and have Russian citizenship and only bachelor's degree in math
@clacke
[Disclaimer: I know that the chance of actually finding something via Mastodon post is super low, but I'll try]
Looking for #clojure (#clojurescript) or #guile (#scheme ) #job opportunities.
:clojure: :guix: :lisp:
mostly clojure(+script) developer, enthusiast of functional programming, lisps and reproducible builds (Guix), some #DIYgetting feets wet with #commonlispgreyhaired & a little bit authistic. a little left-inclined (moderate & mostly about economy)interested in developers interface and experience as a (counter)part of UI/UX (DI/DX?)love cats, but allergic to them :(#lisp #clojure #guile #scheme #guix #linux:clojure: :lisp: :guix: :linux:
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.