Re: Reducing "You found a bug" reports

2024-07-22 Thread Attila Lendvai
offended people even for the most innocent of statements. and with the advent of LLMs, it can soon become a kind of a security hole for intellectual DoS attacks -- if not already. not sure how to keep the SNR high, but the communities will need to adapt. -- • attila lendvai • PGP: 963F 5D5

Re: `guix system image` on a local, dirty checkout

2024-07-12 Thread Attila Lendvai
.org/archive/html/guix-devel/2018-12/msg00514.html sorry about the confusion! -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The rule is perfect: in all matters of opinion our adversaries are insane.” — Mark Twain (1835–1910)

`guix system image` on a local, dirty checkout

2024-07-12 Thread Attila Lendvai
? or is there an equivalent of channel intro commits in this context? or something else? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- There certainly are laws, but human words cannot make one.

Re: Reproducer for failing shepherd startup

2024-07-02 Thread Attila Lendvai
641 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Lisp […] made me aware that software could be close to executable mathematics.” — L. Peter Deutsch

Re: Reproducer for failing shepherd startup

2024-07-02 Thread Attila Lendvai
shepherd[1]: Exception caught while loading '/gnu/store/h6c15frnkx7arkm2bna20js3v90880bh-shepherd-mdadm-resync.go': #< message: "calendar-event: 0: invalid day of week"> -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “For followers of most ideologies (openly religious or not), tole

[PATCH shepherd] service: Factor out SEND-TO-REGISTRY.

2024-06-30 Thread attila . lendvai
From: Attila Lendvai Also assert that (CURRENT-REGISTRY-CHANNEL) is valid. * modules/shepherd/service.scm (with-service-registry): New function. (stop-service), (fold-services), (service-name-count), (lookup-service), (respawn-service), (register-services), (unregister-services): Use

[PATCH shepherd] service: Factor out SEND-TO-PROCESS-MONITOR.

2024-06-30 Thread attila . lendvai
From: Attila Lendvai Assert that (CURRENT-PROCESS-MONITOR) is valid. * modules/shepherd/service.scm (send-to-process-monitor): New function. (handle-SIGCHLD), (process-monitor), (monitor-service-process), (terminate-process): Use it. --- modules/shepherd/service.scm | 16 1

[PATCH shepherd] service: Rename to QUERY-SERVICE-CONTROLLER and use CUT.

2024-06-30 Thread attila . lendvai
From: Attila Lendvai * modules/shepherd/service.scm (query-service-controller): New function based on the previous SERVICE-CONTROL-MESSAGE. Use CUT instead of the now deleted SERVICE-CONTROL-MESSAGE. (service-control-message): Deleted. --- modules/shepherd/service.scm | 31

[PATCH shepherd] service: Add custom printer for .

2024-06-30 Thread attila . lendvai
From: Attila Lendvai * modules/shepherd/service.scm (print-service): New function. --- modules/shepherd/service.scm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm index 8c9d1c6..b018e39 100644 --- a/modules/shepherd

[PATCH shepherd] service: Factor out SEND-TO-SERVICE-CONTROLLER.

2024-06-30 Thread attila . lendvai
From: Attila Lendvai * modules/shepherd/service.scm (service-running-value): New function. (query-service-controller), (enable-service), (disable-service), (record-service-respawn-time), (start-service), (stop-service), (service-registry), (handle-service-termination): Use it. --- modules

shepherd patches, manual

2024-06-30 Thread Attila Lendvai
pardon my previous mails with the shepherd patches! i've blindly followed the shepherd manual. i've sent a patch now -- to guix-patches this time --, to update its contribution chapter. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Go find yourself first, so you can find me

Re: Proposal for removing some serialization limitations of define-configuration

2024-06-24 Thread Attila Lendvai
e wrapper in your custom serializer, and then iterate through the remaining fields of the config record, i.e. sans the `name` field. you can inspect the current serializer for how to iterate through the fields, or better yet, how to call it recursively with the remaining fields. -- • attila lend

Re: Improving build-time checks for kernel module configuration + two other discussion points

2024-06-12 Thread Attila Lendvai
ns to most people today. you should think of it as a component of the declarative OS definition (as opposed to as a runtime agent that responds to requests). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “You cannot legislate the poor into freedom by legislating the wealthy out of f

Re: watchdog triggered auto-rollback

2024-05-29 Thread Attila Lendvai
AKE-GUILE-STATIC-STRIPPED that produces the faulty %GUILE-STATIC-STRIPPED, so... in short: the reproducer crashes both %GUILE-STATIC-STRIPPED and %GUILE-STATIC-INITRD on x86_64, and i believe that it crashes the same in the early phase of the boot when it tries to enter the debugger. -- • attila

Re: watchdog triggered auto-rollback

2024-05-28 Thread Attila Lendvai
a sigsegv (i.e. the guile used in the initrd (?)) https://issues.guix.gnu.org/71211 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Self-education is, I firmly believe, the only kind of education there is.” — Isaac Asimov (1920–1992)

Re: [shepherd] several patches that i deem ready

2024-05-26 Thread Attila Lendvai
i've just force-pushed it with more conformant commit messages: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/various -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “If controlling another human being is the goal of parenting, then force is necessary. Fear

Re: Upgrading Shepherd services

2024-05-25 Thread Attila Lendvai
sure, i get it. and with only my programmer hat on, i wouldn't even be here writing this mail... but with my enthusiastic user hat on, i'm all the more concerned about that sentiment! -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The true test of intelligence is not how much we know

Re: Upgrading Shepherd services

2024-05-24 Thread Attila Lendvai
eproducer, then one option is to try to write a guix system test that reproduces it (see gnu/tests/ for examples, and `make check-system`). to use my shepherd channel: (channel (name 'shepherd) (url "https://codeberg.org/attila-lendvai-patches/shepherd.git;) (branch "attila")

Re: [shepherd] several patches that i deem ready

2024-05-24 Thread Attila Lendvai
> i've rebased my commits on top of the devel branch, and in the process i've > reordered them into a least controversial order for your cherry-picking > convenience: > > https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/various > > i just started a w

Re: Upgrading Shepherd services

2024-05-23 Thread Attila Lendvai
sion: (garbage-collector) requirement: (gui shepherd[1]: [guix] guix gc: already 30082.59 MiBs available on /gnu/store, nothing to do shepherd[1]: Process 212 of timer 'garbage-collector' terminated with status 0 after 1 seconds. HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There a

Re: [shepherd] several patches that i deem ready

2024-05-23 Thread Attila Lendvai
of the devel branch, and in the process i've reordered them into a least controversial order for your cherry-picking convenience: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/various i just started a wave of deeper testing after the rebase, so the more complex commit

Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems

2024-05-20 Thread Attila Lendvai
will be signed by me, then i can even set up a guix channel on codeberg, give you commit access, and then you can push any further changes there. just let me know. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Fear is not in the habit of speaking truth; when perfect sincerity is expe

Re: Upgrading Shepherd services

2024-05-17 Thread Attila Lendvai
t happens. if you do have a reproducer, then i'd be interested in adding it as a test in the shepherd codebase. https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/various -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is humiliating to realize that when you drive

Re: branch master updated (2bea3f2562 -> 6745d692d4)

2024-05-10 Thread Attila Lendvai
ure whether to stick only to the formal annotations added by programs, or use a more heuristic set of words and then ask for a y/n (if feasible from the hook). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Uniquely in us, nature opens her eyes and sees that she exists.” — Raym

Re: Changing the defaults for --localstatedir and --sysconfdir?

2024-05-02 Thread Attila Lendvai
ing it the default. good defaults are important. and it's better if the default value causes the least surprise to the ones who know the least. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “[…] the real self is dangerous: dangerous for the established church, dangerous for the state, danger

Re: Value in adding Shepherd requirements to file-systems entries?

2024-04-26 Thread Attila Lendvai
> P.S. The code above should read (requirements ...) in the plural. inside shepherd there's a bit of anomaly, but it's called requirement in the public API, and also in the guix side of the config; i.e. it's not plural. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Moderat

Re: "Error: Could not set character size"

2024-04-26 Thread Attila Lendvai
seems like a `guix pull` and a `guix home reconfigure` resolved it. sorry for the noise. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “If you wind up with a boring, miserable life because you listened to your mom, your dad, your teacher, your priest, or some guy on TV telling you how

"Error: Could not set character size"

2024-04-26 Thread Attila Lendvai
is not very useful: https://gitlab.com/graphviz/graphviz/-/issues/863 maybe this commit a few days ago changed something? looks innocent, though: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=4099b12f9f4561d0494c7765b484b53d9073b394 any hints? -- • attila lendvai • PGP: 963F 5D5F 45C7

Re: Guix bios installation: Grub error: unknown filesystem

2024-04-22 Thread Attila Lendvai
still v2.06 there: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bootloaders.scm?h=core-updates#n103 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “In a democracy, mass opinion creates power. Power diverts funds to the manufacturers of opinion, who manufacture more, etc. […] T

Re: [shepherd] several patches that i deem ready

2024-04-18 Thread Attila Lendvai
hi Ludo, > > i have prepared the rest of my commits that were needed to hunt down the > > shepherd hanging bug. you can find them at: > > > > https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila > > > > there's some dependenc

Re: No default OpenJDK version?

2024-04-16 Thread Attila Lendvai
introduction of a newer default JDK and annotating the old java dependency on the (hopefully few) packages that fail to build with a newer default? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Malthus was right. It's hard to see how the solar system could support much more than

Re: backdoor injection via release tarballs combined with binary artifacts (was Re: Backdoor in upstream xz-utils)

2024-04-12 Thread Attila Lendvai
commits and (annotated) tags, too. it's good practice to enable signing by default. admittedly though, few people sign all their commits, and even fewer sign their tags. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Never appeal to a man's "better nature". He may not have one.

policy for packaging insecure apps

2024-04-10 Thread Attila Lendvai
situations like this? 5) do you know another forum where this dispute should be brought up instead of guix-devel? i'm looking forward to your thoughts, and/or any pointers or patches to the documentation that i should read. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- The price

Re: backdoor injection via release tarballs combined with binary artifacts (was Re: Backdoor in upstream xz-utils)

2024-04-05 Thread Attila Lendvai
de tracked in the DVCS (e.g. git) repo > itself. yes, that would work in this case (although, that man page is guaranteed to go stale). my proposal was to simply drop the generated man file. it adds very little value (although it's not zero; web search, etc). -- • attila lendvai • PGP: 963F 5D5

Re: backdoor injection via release tarballs combined with binary artifacts (was Re: Backdoor in upstream xz-utils)

2024-04-04 Thread Attila Lendvai
ng as a guix newbie that not everything is built from git (or their VCS of choice). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “For if you [the rulers] suffer your people to be ill-educated, and their manners to be corrupted from their infancy, and then punish them for those crime

Re: backdoor injection via release tarballs combined with binary artifacts (was Re: Backdoor in upstream xz-utils)

2024-04-04 Thread Attila Lendvai
inition, then it's the same archive that the guix packager has seen while packaging. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “We’ll know our disinformation program is complete when everything the American public believes is false.” — William Casey (1913–1987), the director of CIA 1981-1987

Re: [shepherd] several patches that i deem ready

2024-04-02 Thread Attila Lendvai
> i have prepared the rest of my commits that > were needed to hunt down the shepherd hanging bug. > you can find them at: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/various Ludo, i would appreciate if you could give some feedback on this. these commits are

Re: xz backdoor

2024-04-02 Thread Attila Lendvai
me-shell-extension-clipboard-indicator/issues/138#issuecomment-904689439 ...and its author actively defends this situation. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The noble-minded are calm and steady. Little people are forever fussing and fretting.” — Confucius (551–479 BC), 'Analects of Confucius'

Re: Emacs and Gnome branches are merged now

2024-04-01 Thread Attila Lendvai
/ 2. login 3. start extension config and disable all extensions 4. re-login, move back that dir 5. re-login, update some extensions (still disabled) 6. reenable all extensions in the config HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The most potent weapon of the oppressor

Re: xz backdoor

2024-04-01 Thread Attila Lendvai
atterns checked for. and guix doesn't use systemd that patches sshd -- a critical piece of security -- in a way that made the backdoor possible... -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “War is a moral contest that is won in the temples before it is ever fought.” — Sun Tzu (c.

Re: Losing signing keys for custom Guix channel

2024-03-25 Thread Attila Lendvai
but i doubt the contract (nor the implementation) of the authentication code would just silently accept the non-authenticated commits that precede your new channel intro commit. all the best in fixing the situation! -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “’Tis better it be

Re: the right to rewrite history to rectify the past (was Re: Concerns/questions around Software Heritage Archive)

2024-03-21 Thread Attila Lendvai
eel accommodated here if everyone attaches the local weather forcast to each mail they send to guix-devel? the limit of your demands begins where it starts to constrain the freedom of others. considering this is an essential part of respectful behavior towards others. -- • attila lendvai • PGP

Re: rewriting history; Was: Concerns/questions around Software Heritage Archive

2024-03-19 Thread Attila Lendvai
social "technology") can make or break any group effort. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The direct use of physical force is so poor a solution to the problem of limited resources that it is commonly employed only by small children and great nations.” — D

rewriting history; Was: Concerns/questions around Software Heritage Archive

2024-03-17 Thread Attila Lendvai
pletely new/different playing field, and how we proceed from here has grave implications. this questions is nowhere near as obvious/trivial as presented in the cited blog post. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is only when compassion is present that people allow themse

Re: Concerns/questions around Software Heritage Archive

2024-03-17 Thread Attila Lendvai
ong with me. Therefore, if I am sensible, I shall put myself right first” — Carl Jung (1875–1961), 'The Meaning of Psychology for Modern Man' -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “If liberty means anything at all, it means the right to tell people what they do not w

Re: Contribute or create a channel?

2024-03-13 Thread Attila Lendvai
ble to answer your question. FTR, it's READ-CHANNEL-METADATA and friends in guix/channels.scm note that it's not the same thing as /etc/guix/channels.scm, even though they appear similar (https://issues.guix.gnu.org/53657). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “People who have never g

Re: Contribute or create a channel?

2024-03-12 Thread Attila Lendvai
obvious thing that is missing is a way to formally express inter-channel dependencies, including some form of versioning. sadly, i don't have any proposals beyond discussing the observable issue (i.e. the insufficient patch throughput). -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A3

Re: Mechanism for helping in multi-channels configuration

2024-03-12 Thread Attila Lendvai
and i often miss the ability to point to a guix commit, beyond which there is a change in guix that my channel is not yet compatible with. if my users issue a `guix pull`, then it would not pull the guix channel beyond that commit, and warn the users that it's being held back. -- • attila l

Re: Guix Days: Patch flow discussion

2024-03-01 Thread Attila Lendvai
s a non-issue. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The wise prince must provide in such a way that the citizens will always be in need of him and of his government.” — Niccolo Machiavelli (1469–1527), 'The Prince' (1513)

Re: Contribute or create a channel?

2024-03-01 Thread Attila Lendvai
: i don't mean to sound cynical here, just matter-of-factly. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Opportunity is missed by most people because it comes dressed in overalls and looks like work.” — Thomas A. Edison (1847–1931)

Re: A basic Shepherd bug?

2024-03-01 Thread Attila Lendvai
file until a reboot... which would probably be overkill in most cases. https://ngnghm.github.io/ this^ blog has interesting thoughts on migration and staged computation. it's a most interesting vision of how these abstractions could be formally captured, and what the resulting computing system

Re: Guile-Git 0.6.0 released; looking for maintainers!

2024-02-27 Thread Attila Lendvai
u-dwim/hu.dwim.sdl PS: clang now supports `-ast-dump=json`, which may or may not eliminate the need for c2ffi entirely: https://github.com/rpav/c2ffi/issues/112 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Sometimes I wonder whether the world is being run by smart people who are putt

Re: Google Season of Docs 2024

2024-02-12 Thread Attila Lendvai
> 3. Any for improving the documentation? just a general wish: much less prose and much more structure, please. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There is no coming to consciousness without pain. People will do anything, no matter how absurd, in order to avoid fac

Re: Mechanism for helping in multi-channels configuration

2024-02-06 Thread Attila Lendvai
ould work as reference points to be used to formally encode inter-channel dependencies? (and to guide the substitute chaching/building; mark "safe points" for the time-machine; etc) -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Life is a tragedy to those who feel and a comedy to those who think.

Re: Mechanism for helping in multi-channels configuration

2024-02-06 Thread Attila Lendvai
one prior to setbacks. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Until we have met the monsters in ourselves, we keep trying to slay them in the outer world. And we find that we cannot. For all darkness in the world stems from darkness in the heart. And it is there that we must do our w

Re: Introducing Guix "Features"! (Was: Syntactic Diabetes)

2024-02-02 Thread Attila Lendvai
y are both just functions, but they are different enough to warrant a different name to facilitate a more efficient human comprehension. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The nation that will insist on drawing a broad line of demarcation between the fighting man and the thinking

Re: Introducing Guix "Features"! (Was: Syntactic Diabetes)

2024-02-02 Thread Attila Lendvai
> Am Donnerstag, dem 01.02.2024 um 20:30 + schrieb Attila Lendvai: > > > for an average unix user a service is a process that is running in > > the backgroud, doing stuff mostly without any user interaction. you > > can try to argue this away, but i'm afrai

Re: Introducing Guix "Features"! (Was: Syntactic Diabetes)

2024-02-02 Thread Attila Lendvai
. it's just icing on the cake that one of the abstractions is nothing like what most users understand by the name 'service'. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “If you love somebody, let them go, for if they return, they were always yours. If they don’t, they never were.” — Khalil Gibran (1883–1931)

Re: Introducing Guix "Features"! (Was: Syntactic Diabetes)

2024-02-01 Thread Attila Lendvai
P, preface to the first edition -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “As a rule, whatever we don’t deal with in our lives, we pass on to our children. Our unfinished emotional business becomes theirs. As a therapist said to me, "Children swim in their parents’ unconscious

Re: [OT: s/Joshua/Josiah/ in sig ; -] Re: [shepherd] several patches that i deem ready

2024-01-26 Thread Attila Lendvai
though, to respect the topic of the list. thanks again and happy hacking, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Many people believe that evil is the presence of something. I think it’s the absence of something.” — Lisa Unger (1970–), 'Sliver of Truth'

Re: [shepherd] several patches that i deem ready

2024-01-24 Thread Attila Lendvai
> i have prepared the rest of my commits that were needed to hunt down the > shepherd hanging bug. you can find them at: > > https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila FWIW, here i have the guix side of the patches (they are not required for t

Re: [shepherd] several patches that i deem ready

2024-01-24 Thread Attila Lendvai
ood on this front, so i found myself working on these, too. such investment rarely pays off for the first bug, but it pays off very well in the long run. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “A political situation is the manifestation of a parallel psychological problem in millions of in

Re: [shepherd] several patches that i deem ready

2024-01-22 Thread Attila Lendvai
e - compile-time log level to drop entire log levels - and most importantly much less code complexity. you can find the relevant commit at: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila FWIW, it's a partial bort of a CL lib of mine: https://github.com/hu-dwim/hu

Re: [shepherd] several patches that i deem ready

2024-01-21 Thread Attila Lendvai
the code, hence the gray coloring i suggest in emacs. (although they may often serve also as "executable" comments). i'd also like to propose to relax the 80 column limit for log lines for the same reason that i've explained above. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD

[shepherd] several patches that i deem ready

2024-01-18 Thread Attila Lendvai
dear Guix, Ludo, i have prepared the rest of my commits that were needed to hunt down the shepherd hanging bug. you can find them at: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila there's some dependency among the commits, so sending them to debbugs would

Re: Guix deploy --keep-going equivalent for machine connection failures

2024-01-18 Thread Attila Lendvai
er all. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Democracy and liberty are not the same. Democracy is little more than mob rule, while liberty refers to the sovereignty of the individual.” — Walter E. Williams (1936–)

Re: Module unavailable on build side

2024-01-14 Thread Attila Lendvai
this may help: https://github.com/attila-lendvai/guix-crypto/blob/main/src/guix-crypto/service-utils.scm#L56 and you should grep for its use in that repo. w-i-m ensures that the GEXP's that are instantiated in its dynamic extent will "capture" these modules as their dependencies, a

Re: Guix wiki

2024-01-10 Thread Attila Lendvai
.org/wiki/Group:Guix but the search engines don't really. and i don't know how others feel about it, but i subconsciously don't take it seriously because the search box is not focused on guix, and in this form it feels like just an aftertought, not a guix wiki. -- • attila lendvai • PGP: 963F

Re: Are declarative app configs worth it?

2023-12-26 Thread Attila Lendvai
even look into writing a prototype and try to use it to replace my two inline shepherd-service instances. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “War is a ritual, a deadly ritual, not the result of aggressive self-assertion, but of self-transcending identification. Without loyalty to trib

Re: A basic Shepherd bug?

2023-12-24 Thread Attila Lendvai
ng to my pending commits in: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila but they are still being polished. i haven't even proposed them yet for inclusion, but i'm already running my servers with that branch. > Alternatively, may I fix the fcgiwrap-s

Re: A basic Shepherd bug?

2023-12-22 Thread Attila Lendvai
ut it hasn't reached guix yet. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- An economist is a person who spends half his life telling us what will happen and the other half explaining why it didn't.

Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems

2023-12-22 Thread Attila Lendvai
ror message above is the following: as: unrecognized option '--64' this happens with the host gcc (or due to some misconfiguration the host gcc is used wrongly). $ file src/rp2_common/boot_stage2/bs2_default.elf src/rp2_common/boot_stage2/bs2_default.elf: ELF 32-bit LSB executable, ARM, EABI5 ver

Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems

2023-12-21 Thread Attila Lendvai
n package. any thoughts on this? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “There can be no causeless love or any sort of causeless emotion. An emotion is a response to a fact of reality, an estimate dictated by your standards.” — Ayn Rand (1905–1982)

arm-none-eabi toolchain and compiling C++ stuff

2023-12-20 Thread Attila Lendvai
pectations? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “If money is your hope for independence you will never have it. The only real security that a man will have in this world is a reserve of knowledge, experience, and ability.” — Henry Ford (1863–1947)

Re: shepherd, fibers, and signals (asyncs)

2023-12-16 Thread Attila Lendvai
code that it should have. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “I am not what happened to me, I am what I choose to become.” — Carl Jung (1875–1961)

shepherd, fibers, and signals (asyncs)

2023-12-15 Thread Attila Lendvai
dear Guix, context: Shepherd stops responding during "guix system reconfigure" https://issues.guix.gnu.org/67538 https://issues.guix.gnu.org/65178 https://issues.guix.gnu.org/67230 i've added a ton of logging and asserts in my fork: https://codeberg.org/attila-lendvai-patches/sheph

Re: shepherd: hardening error handling

2023-12-15 Thread Attila Lendvai
not be used reliably even for current Shepherd? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is only when compassion is present that people allow themselves to see the truth. […] Compassion is a kind of healing agent that helps us tolerate the hurt of seeing the truth.” — A.H

Re: Should commits rather be buildable or small

2023-12-11 Thread Attila Lendvai
ors... which is something that is both hard to notice, and has a strong impact. but this has already been discussed in a long thread recently. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “As long as habit and routine dictate the pattern of living, new dimensions of the soul wil

Re: Should commits rather be buildable or small

2023-12-10 Thread Attila Lendvai
staging branch and master, whose role would be to make sure that commits don't reach the users prior to having substitutes for them. does this make sense? -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Sometimes I wonder whether the world is being run by smart people who are pu

Re: Should commits rather be buildable or small

2023-12-10 Thread Attila Lendvai
IW, this commit policy has always bothered me as a newcomer to Guix. pretty much everywhere else it's a major offence against your colleagues to commit something that breaks the build in any way. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “I will probably be asked why I don't c

Re: Heisenbug

2023-12-10 Thread Attila Lendvai
deemed really necessery. and we thought about it... twice. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “One cannot redistribute wealth without first becoming master of all wealth; redistribution is first and foremost monopoly.” — Anselme Bellegarrigue (ca. 1820–1890)

shepherd: hardening error handling

2023-12-08 Thread Attila Lendvai
ise-exception, guard, instead of catch/throw with key and args? some WIP commits are available at: https://codeberg.org/attila-lendvai-patches/shepherd/commits/branch/attila -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is only when the people become ignorant and corrupt,

Re: shepherd GEXP module import mystery

2023-12-05 Thread Attila Lendvai
> so, the only mystery left is that i still don't know where it is > imported into the unnamed package in which the GEXPs are > compiled/loaded, and whether that is intended. FTR, i've filed it as: https://issues.guix.gnu.org/67649 -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39

Re: Shepherd service logging

2023-12-05 Thread Attila Lendvai
ng-system) (shepherd-root-service-type config => (shepherd-configuration (inherit config) (shepherd (@ (shepherd-package) shepherd))) HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “[A] Computer [programming] language is inherently a pun

Re: Syntactic Diabetes (was Re: A friendlier API for operating-system declarations)

2023-11-30 Thread Attila Lendvai
r any future grep'ping to pick it up. a negative example for this in the guix codebase is the use of 'service' to describe two rather different abstractions: a component of an OS vs. a deamon process run by shepherd. for a while it caused me quite some confusion. -- • attila lendvai • PGP: 96

Re: Syntactic Diabetes (was Re: A friendlier API for operating-system declarations)

2023-11-29 Thread Attila Lendvai
grep'ping the codebase, and as such make the codebase much less approachable. the size of their expansion can also become an issue if they are used often enough. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “They muddy the water, to make it seem deep.” — Friedrich Nietzsche (1844–1900)

Re: Failed to build in QA

2023-11-29 Thread Attila Lendvai
ent them with git send-mail but I also noticed that the order got > mixed up in issues.guix.gnu.org, no idea how this happened... i also see this every once in a while. i guess it's because the SMTP server-farm receives mutliple emails in close proximity, and they end up reaching debbugs in a d

Re: [maintenance] Compressed JSON files and served file extension?

2023-11-28 Thread Attila Lendvai
ess they didn't fix it in wget because they didn't want to break "backwards compatibility". (remember: if it's not backwards, it's not compatible! :) happy hacking, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “We cannot train our babies not to need us. Whether it's the midd

Re: shepherd GEXP module import mystery

2023-11-28 Thread Attila Lendvai
module, but that would have already broken things in countless other ways. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “We are products of our past, but we don't have to be prisoners of it.” — Rick Warren (1954–) ;; Run with something like this: ;; $(guix system --no-graphi

shepherd GEXP module import mystery

2023-11-27 Thread Attila Lendvai
fferent versions/instances of guile serialize/load a .go file? or could it be due to the module magic in (gnu services shepherd) that compiles the shepherd config into a .go file? i'm out of ideas, any hint is appreciated! -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “People always fi

Re: Syntactic Diabetes (was Re: A friendlier API for operating-system declarations)

2023-11-25 Thread Attila Lendvai
logy here. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- By the time a man realises that his father was right, he has a son who thinks he’s wrong.

Banana Pi BPI-R4 support?

2023-11-22 Thread Attila Lendvai
-firmware-a,general i'd appreciate some bird's eye view insights before i get lost in a pointless struggle. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Heresy is only another word for freedom of thought.” — Graham Greene (1904–1991)

Re: [maintenance] Compressed JSON files and served file extension?

2023-11-20 Thread Attila Lendvai
essed in scripts, and/or add it to your ~/.curlrc: # to automatically decode responses with some of # the supported Content-Encoding compressed HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “We need people in our lives with whom we can be as open as possible. To have real conversations

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: 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: 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: 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)

  1   2   3   >