Re: packaging go-ethereum, and ultimately bee (of ethswarm.org)

2021-08-31 Thread Attila Lendvai
FTR, we had a discussion about this on IRC: https://logs.guix.gnu.org/guix/2021-08-31.log#024401 conclusion: ideally, Guix should have a pinned package for each go dependency, and with the go importer it's not hopeless to do anymore. it conflicts with the general Guix policy to package the

Re: packaging go-ethereum, and ultimately bee (of ethswarm.org)

2021-09-01 Thread Attila Lendvai
On Wednesday, September 1st, 2021 at 00:21, Maxime Devos wrote: > Hi, > > Warning: I haven't actually ever touched a go package. Take my mail > with a huge grain of salt. > Much of this you've probably already heard at > https://logs.guix.gnu.org/guix/2021-08-31.log#024401.

packaging go-ethereum, and ultimately bee (of ethswarm.org)

2021-08-30 Thread Attila Lendvai
hello everyone, it's my first mail here, so let me briefly into myself: i'm a long-time lisper (mostly CL, i'm new to Scheme, although i worked on a scheme-like tiny lisp: https://github.com/attila-lendvai/maru). i'm coming over from NixOS after a few months of loving it as a user, but hating

Re: packaging go-ethereum, and ultimately bee (of ethswarm.org)

2021-09-03 Thread Attila Lendvai
> > will this have any pitfalls? is there anything i'm not aware of? > > For the paranoid, from man ldd, red emphasis mine (if it worked) i included ldd's output only for reference. what i meant to ask is this: is it a dirty hack to run a (trusted) binary file like this: $

Re: trezor-agent: using trezor as gpg key

2021-09-06 Thread Attila Lendvai
> strace -f trezor-gpg-agent 2>&1 |grep /dev this helped a lot, thank you! trezor-gpg-agent tries to open /dev/bus/usb/001/010, and a whole bunch of files and dirs under /sys/bus/usb/devices/, i.e. it did *not* touch /dev/hidraw0 nor /dev/usb/hiddev0. the latter of which is not even covered by

Re: packaging go-ethereum, and ultimately bee (of ethswarm.org)

2021-09-03 Thread Attila Lendvai
[with some reorderings] > I hope my reply has been valueable. It seems like this discussion > is going to end with ‘agreeing to disagree’ and I think I said all > I've got to say about the philosophical part of the matter, so I > don't think I'll sending further replies on the philosophical

Re: Batching world-rebuilding changes for the core-updates-frozen branch

2021-09-12 Thread Attila Lendvai
not sure this is relevant here, but there is this fix for wrap-script, too: http://issues.guix.gnu.org/40039 Sent from mobile, pardon my brevity. Original Message On Sep 8, 2021, 17:00, Maxim Cournoyer wrote: > Hello Guix! > > Since there's going to be at least this change

Re: avoid wrapper scripts when possible

2021-09-07 Thread Attila Lendvai
pardon me for reviving a years old discussion, but i'm facing the same problem once again. i have updated trezor support, and i wanted to test generating a new gpg key: $ trezor-gpg init "foobar " leading to: OSError: Cannot find '.trezor-gpg-gpg-agent' in $PATH upstream relies on sys.argv[0]

Re: avoid wrapper scripts when possible

2021-09-08 Thread Attila Lendvai
thanks for the ideas Maxime! > You could patch trezor-agent with something like > > Python syntax might be incorrect > > > if sys.argv[0] == ".trezor-gpg' > sys.argv[0] = "trezor-gpg" > device_name = os.path.basename(sys.argv[0]).rsplit('-',1)[0] > > Would that

trezor-agent: using trezor as gpg key

2021-09-03 Thread Attila Lendvai
7hl7n-python-trezor-agent-0.13.1/lib/python3.8/site-packages/libagent/device/trezor.py", line 51, in connect raise interface.NotFoundError('{} not connected'.format(self)) libagent.device.interface.NotFoundError: Trezor not connected gpg: Warning: not using 'Attila Lendvai ' as default key: N

Re: Rethinking propagated inputs?

2021-09-05 Thread Attila Lendvai
> > What do you think of "build-propagated-inputs"? > > We don't call things build-inputs here in Guix land, that's a no-no :P potentially worthless two cents from a newcomer's perspective: 'build-time' and 'run-time' are well established concepts in the wider community. if i were reading

guix environment --load vs. --file inconsistency

2021-09-23 Thread Attila Lendvai
dear all, i was writing the documentation of a guix.scm file, and i realized that there's an inconsistency among the three most used commands in this context: so, there's: - guix build --file - guix package --file and then there's: - guix environment --load - guix pack # has neither i'd

Re: guix environment --load vs. --file inconsistency

2021-09-25 Thread Attila Lendvai
> as an alternative for '-l'/'--load' there.) I often write simple > packages in individual files, outside of the guix repo or any kind of > proper channel setup, and I don't see much point in requiring every such > package to have its own single-package manifest, although it wouldn't be > too

Re: RFC: new syntax for inline patches

2022-01-05 Thread Attila Lendvai
i may be lacking the necessary bird's eye view here... but why not just use good old copy-pasted diff for this? introducing extra complexity in the form of a new DSL has all kinds of costs that people usually ignore (*), and it's not clear to me how those costs would pay off compared to just

Re: How to test modified shepherd services

2021-12-20 Thread Attila Lendvai
i have just finished my first Guix service. for now it's a PR for that other channel, so i'll copy-paste some stuff from it: Run with something like this: $(guix system --no-graphic vm path/to/swarm.scm) -m 2048 $(./pre-inst-env guix system --no-graphic vm /path/to/swarm.scm) -m 2048 this

p2p distributed substitutes; Swarm

2021-12-20 Thread Attila Lendvai
dear Guixers, i have put together a Swarm service for Guix, that can start up Bee nodes of https://www.ethswarm.org/ Swarm is a censorship resistant p2p storage solution with a content addressable API, not unlike IPFS, but with crypto based incentives. i'm considering adding Swarm as another

importers and input package lookup

2021-12-20 Thread Attila Lendvai
dear Guixers, there are two, independent namespaces: 1) the scheme one, and 2) the guix package repository. when i work on an importer (golang), it skips the packages that are already available in 2), but then it has no clue under what variable name they are stored in 1), and in which scheme

Re: Guix wiki

2022-01-12 Thread Attila Lendvai
. threaded, formatted, and displayed-in-context comment threads in a tool like gitlab. i subscribed to guix-patches for a while, but it felt like noise. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Birds born in a cage think flying is an illness.” — Alejandro Jodorowsky

Re: using an SRFI that is not available in Guile

2022-01-13 Thread Attila Lendvai
preexisting srfi's either: $ ./pre-inst-env guix shell guile-srfi-145 -- guile scheme@(guile-user)> ,use (srfi srfi-145) While executing meta-command: no code for module (srfi srfi-145) -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The mice which helplessly find themselv

Re: using an SRFI that is not available in Guile

2022-01-13 Thread Attila Lendvai
well as the '.guile.sld' extension. ``` but i guess i can't just compile one lib with --r7rs, and assume the .go file can be loaded into a guile started without --r7rs, or can i? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is a miracle that curiosity survives formal education. I

using an SRFI that is not available in Guile

2022-01-12 Thread Attila Lendvai
dear Guixers, when working on the (gnu services configuration) module, i would like to use srfi-189, which is not available in Guile (https://srfi.schemers.org/srfi-189/srfi-189.html). is there any way to add it, or an already established custom for such a situation? e.g. adding the .scm file

Re: using an SRFI that is not available in Guile

2022-01-12 Thread Attila Lendvai
i did a quick experiment: created the srfi/ dir in guix's root dir, downloaded the .scm file from the srfi's git repo, and added a module definition to it. it seems to work as expected. so, technically it seems to be doable. but would a patch that adds it to Guix get accepted? -- • attila

Re: using an SRFI that is not available in Guile

2022-01-17 Thread Attila Lendvai
> I forgot to include "guile" ("guix shell" needs that to know > "GUILE_LOAD{,_COMPILED}_PATH"), try > > ./pre-inst-env guix shell guile guile-srfi-189 -- guile that this works indeed, thanks! i have sent the guile-srfi-189 patch as: https://issues.gui

Re: Guix wiki

2022-01-11 Thread Attila Lendvai
st want to draw attention that contributing to Guix, and especially to the manual by a non-coder, is not at all as simple as i see repeatedly expressed. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Copying is not theft, and coercively excluding other humans from using knowledge is evil.

Re: Excessively energy-consuming software considered malware?

2022-02-24 Thread Attila Lendvai
are not relevant for mining. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There are three kinds of lies: lies, damned lies, and statistics.” — probably Mark Twain (1835-1910)

Re: Excessively energy-consuming software considered malware?

2022-02-21 Thread Attila Lendvai
f 'absurd amount' justified, by a large margin. and the more some of us disagree with the above, the more appropriate it seems to have been to use 'controversial morality' by Martin. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The bond that links your true family is not one

Re: Excessively energy-consuming software considered malware?

2022-02-21 Thread Attila Lendvai
hierarchies and voluntary networks. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Those who love peace must learn to organize as effectively as those who love war.” — Martin Luther King, Jr. (1929–1968, assassinated)

setting open files limit for daemon processes

2022-02-24 Thread Attila Lendvai
imits the suggested solution i find online is to edit: /etc/pam.d/common-session-noninteractive to include: session required pam_limits.so but this is not how Guix arranges things. i looked into extending my service (https://github.com/attila-lendvai/guix-crypto/blob/main/src/guix-crypt

Re: setting open files limit for daemon processes

2022-02-25 Thread Attila Lendvai
Guix VM that is built using my modified Shepherd; i.e. i have no idea how to test what i'm doing. > an '#:open-file-limit' argument could be added to 'fork+exec-command'? that would be the safest/simplest way to resolve this, but then what about all the other limits? -- • attila lendvai •

Re: setting open files limit for daemon processes

2022-02-25 Thread Attila Lendvai
e a lot of packages to be rebuilt. is there a way to instruct `guix system vm ...` _not_ to rebuild all the dependants, and only replace the Shepherd that is running as the init process? is this something where grafts could be helpful? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Awareness

workflow while hacking on Shepherd

2022-03-01 Thread Attila Lendvai
and if so, then where is the point in the build process and/or codebase that defines which Shepherd is used in 2). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is impossible to begin to learn that which one thinks one already knows.” — Epictetus (c. 55–135 AD)

Re: workflow while hacking on Shepherd

2022-03-02 Thread Attila Lendvai
at shepherd the 'start' and 'stop' procedures are compiled > against, and what 'shepherd' is actually used at boot, see (gnu > services shepherd) (they are the same!). FTR, this is indeed the case. thanks for the clarification! -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Toleration is

Re: Dropping gzip-compressed substitutes

2022-02-14 Thread Attila Lendvai
e (and the Swarm backend, too), then it would be a perfect opportunity to start stress testing the various distributed storage backends. unfortunately, for now Swarm only works through my custom channel that downloads the release binaries, but that can be fixed, too. -- • attila lendvai • PGP:

Re: using srfi-189 in (gnu services configuration)

2022-03-30 Thread Attila Lendvai
e > following work: this is an excellent idea! (namely, to capture the settings of various swarms into instances, and then predefine the two well-known swarms) i'll implement this first, and only move on to the config stuff afterwards. thanks again Maxime, -- • attila lendvai • PGP: 963F 5D5F 45C7

using srfi-189 in (gnu services configuration)

2022-03-28 Thread Attila Lendvai
, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Learning without thinking is useless. Thinking without learning is dangerous.” — Confucius (551–479 BC), 'The Analects'

Re: The Shepherd on Fibers

2022-03-31 Thread Attila Lendvai
erd package leads to hours long recompilation due to the dependencies. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Goodbyes are only for those who love with their eyes. Because for those who love with heart and soul there is no such thing as separation.” — Rumi (1207–1273)

Re: Excessively energy-consuming software considered malware?

2022-04-04 Thread Attila Lendvai
my apologies for reviving this thread! i did not inted to, i have just failed to remove the mailing list address. in that spirit i'll refrain from further commenting on guix-devel, and i encourage others also to stay on topic. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Freedom

Re: Excessively energy-consuming software considered malware?

2022-04-04 Thread Attila Lendvai
ius (551–479 BC), 'The Analects', Chapter VIII (邦有道貧且賤焉恥也,邦無道富且貴焉恥也。) -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “And the day came when the risk to remain tight in a bud was more painful than the risk it took to blossom.” — Anaïs Nin (1903–1977)

Re: The Shepherd on Fibers

2022-03-29 Thread Attila Lendvai
> > Which socket file? > > > > (In practice ‘exec-command’ would only fail if the program cannot be > > found.) > > Attila Lendvai has encountered the socket file to be deleted before, > this seemed to have been the cause and I have seen a few bug reports &

Re: disable suspend without user login

2022-01-28 Thread Attila Lendvai
ond my expertise at this point. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The supreme art of war is to subdue the enemy without fighting.” — Sun Tzu (c. 6th century BC), 'The Art of War'

disable suspend without user login

2022-01-27 Thread Attila Lendvai
dear list, does anyone know how to turn off GDM's (or elogind's?) auto suspend on a recent Guix? the net is full of hits, but i couldn't get any of them to work. the Gnome issue tracking this is at: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/22 -- • attila lendvai • PGP

Shepherd config file and GEXP semantics

2022-01-30 Thread Attila Lendvai
the attached file as-is, but i have added the outputs of the two runs at its end. any thoughts? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “A slave is one who waits for someone to come and free him.” — Ezra Pound (1885–1972) (define (make-user-module) (let ((m (make-fresh

Re: using an SRFI that is not available in Guile

2022-01-18 Thread Attila Lendvai
symbol like 'disabled to represent an unset field value (i.e. the current solution) clashes with a field type of symbol?). i don't think it's worth rolling our own when an srfi covers what we need. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Go find yourself first, so you can find me.” — Rumi (1207–1273)

Re: using an SRFI that is not available in Guile

2022-01-21 Thread Attila Lendvai
efault to the appropriate values derived from it, *and* the service should warn if those fields are also set by the user. and when one is joining a custom swarm, as per giving a string name in the swarm field, then the service should warn when these mandatory fields are not explicitly specified. -- •

Re: using an SRFI that is not available in Guile

2022-01-24 Thread Attila Lendvai
ng srfi-189 a try and see what it looks like (i.e. it's not off the table to get it accepted)? or do you have any other ideas? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Before you speak, let your words pass through three gates: At the first gate, ask yourself ‘Is is true?’ At the sec

Re: using an SRFI that is not available in Guile

2022-01-13 Thread Attila Lendvai
lso welcome. or alternatively, if it's really this complicated, then i'd welcome if someone more experienced "documented" the process in the form of git commits... ;) -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Lenin was certainly right. There is no subtler, no surer means o

Re: Guix wiki

2022-04-11 Thread Attila Lendvai
. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It's better to know nothing than to know what ain't so.” — Josh Billings

Re: Guix wiki

2022-04-13 Thread Attila Lendvai
t; (define-public my-reproducibility-test-foo > (package > (inherit (pin foo)) > (name "foo-as-found-elsewhere"))) > > Does that suit your purposes? i'm afraid i can't answer that without further experiments. an immediate concern of mine is that i've seen wild fluctuatio

Re: How can we decrease the cognitive overhead for contributors?

2023-08-30 Thread Attila Lendvai
out much benefits). just now i wanted to take a look at mumi's sources, but the link in the manual (https://git.elephly.net/gitweb.cgi?p=software/mumi.git) times out. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Until you make the unconscious conscious, it will direct your life a

Re: package definition question: referring to source files of another package?

2023-09-03 Thread Attila Lendvai
#$(upstream-file "/some-path"))) ...) this way the versioning of the two packages are not tied together, which may or may not be what you want from a semantics perspective. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There are some ideas so wrong that only a very intellig

Re: How can we decrease the cognitive overhead for contributors?

2023-09-06 Thread Attila Lendvai
> also not as obvious (you search for lines added or removed or changed, > not easy language such as 'gnu: package-name: Add'). i'm pretty sure that the source of the annoyance is not the strict format in the summary line, but the formal details in the commit message body. -- • attila l

Re: comparing commit-relation using Scheme+libgit2 vs shellout plumbing Git

2023-09-12 Thread Attila Lendvai
doesn't have a lib, and libgit2 even had to be written. even this may change in the future. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “I learned long ago, never to wrestle with a pig. You get dirty, and besides, the pig likes it.” — George Bernard Shaw (1856–1950)

Re: Pinned/fixed versions should be a requirement.

2023-09-09 Thread Attila Lendvai
g of characters, but instead admit that it's a graph, and store/edit it as such. that would implicitly resolve most of this problem, too, but i'm afraid we're not ready for that just yet. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “When you change the way you look at things, the things you look at change.” — Wayne W. Dyer (1940–2015)

Re: How can we decrease the cognitive overhead for contributors?

2023-09-04 Thread Attila Lendvai
OS services. it felt an uphill battle for no good reason that Guix liberated. Guix has much more flexibility and common sense in the coding domain (that compensates for the increased frustration in the social domain). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Toxic people will no

Re: How can we decrease the cognitive overhead for contributors?

2023-09-04 Thread Attila Lendvai
ranches, and at the end it prints the commit hash of the initial commit that i can then copy-paste into my channels.scm file. whenever cherry-picking fails, i abort it, manually rebase the branch in question, and then restart the script. HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 D

Re: shepherd-action debug help needed

2023-10-31 Thread Attila Lendvai
/issues.guix.gnu.org/61750 merged. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Justice is not concerned with the results of the various transactions, but only with whether the transactions themselves are fair.” — F.A. Hayek (1899–1992), 'Law, Legislation and Liberty', I.6.j

shepherd-action debug help needed

2023-10-30 Thread Attila Lendvai
dear guixers, i have a custom shepherd action that calls tar with (system ...): https://github.com/attila-lendvai/guix-crypto/blob/staging/src/guix-crypto/services/swarm.scm#L311 it works fine in a `guix system vm` environment, where i'm usually testing it. but when i pull it to my server

Re: Divvying up service definitions

2023-10-28 Thread Attila Lendvai
dn't live in text files, but in a source code database, with proper search and projection tools in the editor (and the DVCS) that understand the graph nature of the source code. that would make this entire discussion moot, but we're not there yet. -- • attila lendvai • PGP: 963F 5D5F 45C7

Re: Version from file in a package

2023-09-23 Thread Attila Lendvai
(syntax->datum #'filename) ".hashes"))) (lambda (version hashes) #`(values '#,version '#,hashes))))) #'form) HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Never argue with some

Re: more than 1,800 dependent packages: website out of date

2023-09-26 Thread Attila Lendvai
> of Guix at v1.4.0. if Guix is using a rolling release model, then maybe it's not an unreasonable expectation that the online manual also follows the latest in the git repo, no? maybe we should stop prefixing devel/, and start prefixing the releases? -- • attila lendvai • PGP: 963F 5D5

Re: Updates for Go

2023-08-22 Thread Attila Lendvai
that golang compiles very fast, and - IIUC currently the go build system in guix does not reuse build artifacts, i.e. it recompiles everything for each leaf package. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “What you do speaks so loud I cannot hear what you say.” — Ralph Waldo E

Re: Updates for Go

2023-08-19 Thread Attila Lendvai
knowingly repeated you! https://lists.gnu.org/archive/html/guix-patches/2021-08/msg01222.html Heh, it's gratifying that someone else came to the same conclusion. It means I wasn't totally in the weeds -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The anxiety children feel at constantly being

Re: How can we decrease the cognitive overhead for contributors?

2023-08-26 Thread Attila Lendvai
on python-daemon. this has been the case for several months now. a previous iteration of this fix is back from 2022 dec: https://issues.guix.gnu.org/58437#7 it was pending long enough to get obsolete by new releases of the projects. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “People a

Re: Why does Guix duplicate dependency versions from Cargo.toml?

2023-08-27 Thread Attila Lendvai
-fu, then there was a similar discussion about golang in the past. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “As children go, so go nations. It's that simple.” — Carol Bellamy

Re: How can we decrease the cognitive overhead for contributors?

2023-08-27 Thread Attila Lendvai
ween change and conservatism is tricky, but i think we have moved on from CVS long enough ago to e.g. abandon the ChangeLog format... (or alternatively, i'm blind to the use-cases that it is crucial for). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “I sincerely believe th

Re: How can we decrease the cognitive overhead for contributors?

2023-08-25 Thread Attila Lendvai
Trezor support: https://issues.guix.gnu.org/65037 that doesn't even build in master). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “A programming language is low level when its programs require attention to the irrelevant.” — Alan Perlis

Re: How can we decrease the cognitive overhead for contributors?

2023-08-25 Thread Attila Lendvai
rganized much better in a wiki than in email threads, but that's yet another topic... -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The only valid political system is one that can handle an imbecile in power without suffering from it.” — Nassim Taleb (1960–)

Re: How can we decrease the cognitive overhead for contributors?

2023-08-25 Thread Attila Lendvai
ould press the argument that it's not about being able to, but about how much effort/attention is wasted on administration (i.e. not on hacking). i often have the impression that it took comparable effort to submit a smaller to mid size patch than making it. -- • attila lendvai • PGP: 963F 5D5F

Re: How can we decrease the cognitive overhead for contributors?

2023-08-25 Thread Attila Lendvai
g.org/ https://sourcehut.org/ https://sr.ht/projects https://builds.sr.ht/ https://git.lepiller.eu/gitile codeberg.org is gitea and sr.ht is sourcehut -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The condition upon which God hath given liberty to man is eternal vigilance; which condition

Re: Adding custom X Keyboard layout definitions

2022-05-17 Thread Attila Lendvai
layout that generates the necessary template files for a new layout. if you use that tool, then your new layout will even show up in gnome settings. further details: https://who-t.blogspot.com/search/label/xkb https://who-t.blogspot.com/2020/09/user-specific-xkb-configuration-putting.html -- •

Re: Dealing with non-ASCII file names in BOOTSTRAP-ORIGIN

2022-07-18 Thread Attila Lendvai
you may find something in this issue that you can mimic, or it may inspire a higher level fix for both issues: https://issues.guix.gnu.org/54893#12 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The state represents violence in a concentrated and organized form. The individual has

Re: Status of KDE Plasma

2022-05-01 Thread Attila Lendvai
packaging KDE. such a page would greatly facilitate the cooperation/effectiveness of the interested parties. the ability to cheaply and dynamically spawn a sub-mailing-list/comment-thread for such sub-projects would be icing on the cake. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The

Re: RFC: Configurable placing of the ~/.guix-home symlink

2022-05-05 Thread Attila Lendvai
> When trying to get a clean $HOME, I see that the ~/.guix-home path is fixed in > the code under gnu/home/*, > usually via (string-append (GETENV "HOME") "/.guix-home"). FWIW, i was also surprised that the default is not something under ~/.config/guix/ -- • attila

Re: Add earlyoom service to %desktop-services?

2022-10-18 Thread Attila Lendvai
another +1 from me, too: i've been greatly annoyed by this on my 8GB laptop. on 16GB i'm still occasionally screwed when i compile something large. i've spent quite some time trying to configure the kernel to no avail. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There is never

Re: bug#58859: profile contents depends on package order

2022-10-29 Thread Attila Lendvai
this is also somewhat related to: https://issues.guix.gnu.org/50878 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “In your journey to healing, you will learn to appreciate the many faceted qualities of others. Your early impressions will grow more accurate and you will use your trust

Re: Should a Guix package include documentation dependencies to be considered complete?

2022-12-07 Thread Attila Lendvai
#:tests? #f for tests? or some way to mark some of the outputs as optional, and a way to request the optional outputs? how would the latter apply to tests, that have no package output? is the anomaly justified? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “To every man is given the key t

Re: GDB is Unable to find libthread_db

2022-12-06 Thread Attila Lendvai
rk is if the process being debugged is > in a namespace different from that of GDB, but that doesn’t seem to be > what you did, so I’m not sure. i don't even know how to do that, so hopefully i'm not doing that. :) -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Here is my secre

GDB is Unable to find libthread_db

2022-12-03 Thread Attila Lendvai
is to fix gpaste, which a tool that i use(d) daily. getting at least a backtrace from GDB to see where the error originates from would probably give me some hints. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Life is dear, love is dearer. Both can be given up for freedom

Re: Guile debugger workgroup?

2022-11-29 Thread Attila Lendvai
in the interpreter, if it's not in a hotspot of the codebase, and it's expected to be involved often in situations where errors are raised. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Liberty means responsibility. That is why most men dread it.” — George Bernard Shaw (1856–1950), 'Man and Superman'

Re: Guile debugger workgroup?

2022-11-27 Thread Attila Lendvai
me good old printf's. which reminds me that a project-wide logging infrastructure would also greatly elevate the guix debugging experience. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- If you never heal from what hurt you, you'll bleed on people who didn't cut you.

Re: Guile debugger workgroup?

2022-11-28 Thread Attila Lendvai
where it's very much not as trivial as to change a command line argument to e.g. start the guix daemon, or shepherd, in a configuration that makes things more debuggable. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Knowledge makes a man unfit to be a slave.” — Frederick Do

Re: Guile debugger workgroup?

2022-11-28 Thread Attila Lendvai
em/repl/error-handling.scm: (define* (call-with-error-handling the longer i work on/in guix, the higher the chance that i'll port parts of our CL debugging stuff to scheme. i think i was just procractinating it until i develop a deep enough understanding of scheme to do it properly. HTH, -- •

Re: Should Guix support writing CLI Common Lisp scripts? (Think Roswell)

2023-01-17 Thread Attila Lendvai
let's quit the shell part before the shell interpreter runs on the lisp stuff below kill -INT $$ # and from here follows the lisp part that gets "called" above |# (in-package :cl-user) [...] -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “To put the world in order, we must f

Re: Proposed changes to the commit policy (#59513)

2023-01-24 Thread Attila Lendvai
elease. this naming scheme is more intuitive for newcomers, but it might also be more error prone in everyday routine work. HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “To be human is not a fact, but a task.” — Søren Kierkegaard (1813–1855), paraphrased

[RFC] refactoring extra-special-file; an /etc/tmpfiles/ equivalent

2023-01-21 Thread Attila Lendvai
me), and mark extra-special-file obsolete. dear maintainers, any thoughts on which way i should start digging? also, any suggestion for the API? the naming of the keyword args? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Angry people want you to see how powerful they are… loving pe

certbot configuration

2023-01-15 Thread Attila Lendvai
that i can specify a different webroot for each https domain? i'm happy to prepare a patch for this, but... am i missing something? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The happiness of society is the end of government.” — John Adams (1735–1826)

Re: certbot configuration

2023-01-15 Thread Attila Lendvai
ps://gitlab.com/jonsger/jonsger-guix/-/blob/master/config/server.scm it looks like the domain name is appended to the value of `webroot`. i guess we'll see when my certificates expire. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “I object to doing things that computers can do.” — Olin Shivers

Re: Brainstorming ideas for define-configuration

2023-03-09 Thread Attila Lendvai
s to define-record-type* instead? > (define-record-type* paired with a documentation literal is nearly equivalent > to define-configuration, > sans the serialization scaffolding) even if so, i'd still maintain a thin layer of abstraction for communicating the intention, and also for possibl

[GSoC 23] distributed substitutes, cost of storage

2023-03-25 Thread Attila Lendvai
meta: i think such specific discussions should be kept off-list, but the financing of the storage fees is probably something that should be known about more widely. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Every lie is a debt to the truth.

Re: [GSoC 23] distributed substitutes, cost of storage

2023-03-26 Thread Attila Lendvai
thorized through payments (they are called postage stamps in swarm). a good, high level comparison of p2p storage solutions would be useful. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There is something in the human spirit that will survive and prevail, there is a tiny and b

Re: Python (was: Merging core-updates?)

2023-02-19 Thread Attila Lendvai
, there's this long-pending patchset to update the trezor-agent (something i can test myself): https://issues.guix.gnu.org/58437#4 it's been pending so long, maybe it should be updated again. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Hurt people hurt people. That's how pain patt

Re: herd stop hangs

2023-04-12 Thread Attila Lendvai
e.g. with other services. if not, then the issue might be in the code that starts your service. unfortunately i can't remember anymore what caused this for me, and shepherd has also seen a few fixes since then. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The penalty for laugh

Re: PSA for LUKS users

2023-04-20 Thread Attila Lendvai
you seem to be right. i don't see why progress is so slow on this. some of the patches are 5+ years old! and the submitters seem to be constructive and responsive. a good entry point that collects the relevant links: https://github.com/johnlane/grub/issues/21 -- • attila lendvai • PGP: 963F

Re: Automatically mapping services from System to Home

2023-03-28 Thread Attila Lendvai
id, and act accordingly? what am i missing? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The moral law is one of the basic laws of the universe. It is likewise called the principle of Karma, the result of cause and effect, or action and reaction. There is nothing vindictive ab

Re: how to print values inside shepherd service gexp

2023-03-27 Thread Attila Lendvai
pk's, then you won't see any sign of them. i have a commit that i'm testing locally that addresses that: https://github.com/attila-lendvai-patches/shepherd/commits/attila HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “What you do speaks so loud I cannot hear what you say.” — Ralph Waldo Emerson (1803–1882)

Re: shepherd service works on host but fails inside system container

2023-03-27 Thread Attila Lendvai
> Relatedly, does anyone have a nicer workflow they use to define and > test shepherd services? i'm not sure it's a nicer workflow, but i'm mimicing the Guix tests: https://github.com/attila-lendvai/guix-crypto/blob/main/tests/swarm-tests.scm#L19 it is based on `guix system vm` and the t

Re: [GSoC 23] distributed substitutes, cost of storage

2023-04-08 Thread Attila Lendvai
o be seen which one will work out in the long run. BTW, due to this it's a good idea to have ERIS between Guix and the various storage backends. a Guix-specific p2p storage solution would be less exposed to abuse initially, but probably not forever. -- • attila lendvai • PGP: 963F 5D5F 45C7

Re: [GSoC 23] distributed substitutes, cost of storage

2023-04-08 Thread Attila Lendvai
backend integrated into Guix. there are better candidates for such a hypothetical singular position, or even as the first backend to get integrated. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The greatest crimes in the world are not committed by people breaking the rules. It's people

Re: [GSoC 23] distributed substitutes, cost of storage

2023-04-05 Thread Attila Lendvai
kies button" is not always a viable option. sometimes in life the only option besides agreeing to something offered is to "close the browser tab"; i.e. stop associating, which is not installing Guix in this context, which is not a major hindrance to anyone.. (although, this i

Re: [GSoC 23] distributed substitutes, cost of storage

2023-04-04 Thread Attila Lendvai
course can change, too: maybe a future Guix release can advertise with big red letters on the download page that installing it will use your network bandwidth to serve other guix nodes, unless it is turned off. and then all is well WRT informed consent. -- • attila lendvai • PGP: 963F 5D5F 45C7 DF

  1   2   3   >