NiFi Kafka Producer's PID changing across restarts

2024-04-25 Thread Tirso del Rey


Hello everyone, 




We are encountering some issues with NiFi's Kafka Producer restarting 
frequently. Given that we are utilizing transactions, we have some concerns 
regarding the logic governing the Transactional ID. Specifically, we're 
interested in understanding why the transactional.id's trailing UUID, generated 
by NiFi, changes across restarts, consequently leading to a change in the 
Producer ID (PID). 




Our understanding is that for a Kafka producer to maintain idempotence and 
support exactly-once semantics, it should retain the PID to identify the same 
producer instance across process restarts. By preserving the transactional 
producer's unique identifier and incrementing the associated epoch, any 
producers with the same transactional ID but an older epoch are deemed inactive 
and subsequently barred, resulting in rejection of future transactional writes 
from those producers. 




We fail to see how a continually changing PID aligns with the expected behavior 
of Kafka transactions. Thus, we are seeking clarification on why the NiFi 
producer operates in this manner concerning transactions. 

Best regards, 

Tirso 

- 
Tirso del Rey 
[ https://www.zylk.net/ | ZYLK.net ] :: consultoría.openSource 
Ribera de Axpe, 11 
Edificio A, modulo 201-203 
48950 Erandio (Bizkaia) 
ofic.: +34 944272119 
- 
Esta comunicación y su contenido, incluidos los datos personales, son 
confidenciales, y para uso exclusivo del destinatario/s al/os que se dirige/n. 
Si ha recibido este mensaje por error, le rogamos nos lo notifique 
inmediatamente por esta misma vía y proceda a su eliminación. Consulte 
información detallada sobre el tratamiento de datos en zylk.net 


[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/

2024-04-17 Thread Jesús P Rey
commit: 2915c867bb7bb6ca586f84e672e0f1fb7003782b
Author: Jesus P Rey (Chuso)  chuso  net>
AuthorDate: Wed Apr 17 20:41:05 2024 +
Commit: Jesús P Rey  chuso  net>
CommitDate: Wed Apr 17 20:41:42 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2915c867

app-crypt/autofirma: 1.8.2 version bump.

Closes: https://bugs.gentoo.org/927286
Closes: https://bugs.gentoo.org/927287
Signed-off-by: Jesus P Rey (Chuso)  chuso.net>

 app-crypt/autofirma/Manifest   |  2 +-
 .../{autofirma-1.7.1.ebuild => autofirma-1.8.2.ebuild} | 10 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index b8cbdd610e..0032fcafae 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1 +1 @@
-DIST autofirma-1.7.1.zip 152716878 BLAKE2B 
d985bfa71ce1b4318a50fc4c93b1a85a388de445f8e4a18c7e616988955b94ac79e73a7fb4e3c202cf303255cb497679eaeb7b2546c08f3e3974d440e793ce12
 SHA512 
52098e74537dea9b72be8f4b2b05c2c57ed79f0c496ff5a4c4e1ddfe88fab528b2e9a237d9c8f0151bc499687a6fc2966227d6b3f2cae2943d7c772b9286755b
+DIST autofirma-1.8.2.zip 51224492 BLAKE2B 
22dcf856a9fae720f978976a7e6ac6e55af7b0e4d590ea2f2fe29021af3544600b5fa90460a6a30bdbe44803b8c719e80bfef0638513f8b47a98efc757e611ef
 SHA512 
119bb55726f790eb432cf571ab3e30bf2f7eb166fcaa66c01b77eceba093ee5a10987dfbd73b67524e0bfc8a84e043b8b50ad3553e4364d50d46e3bcfd66103c

diff --git a/app-crypt/autofirma/autofirma-1.7.1.ebuild 
b/app-crypt/autofirma/autofirma-1.8.2.ebuild
similarity index 68%
rename from app-crypt/autofirma/autofirma-1.7.1.ebuild
rename to app-crypt/autofirma/autofirma-1.8.2.ebuild
index c0886964f9..a13f350832 100644
--- a/app-crypt/autofirma/autofirma-1.7.1.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,9 @@ HOMEPAGE="
https://administracionelectronica.gob.es/ctt/clienteafirma
https://github.com/ctt-gob-es/clienteafirma
 "
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- 
/)/AutoFirma_Linux.zip -> ${P}.zip"
+# Upstream blocks wget, so we need a fallback option
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- 
/)/AutoFirma_Linux_Fedora.zip -> ${P}.zip
+   https://distfiles.chuso.net/distfiles/${P}.zip;
 
 LICENSE="|| ( GPL-2 EUPL-1.1 )"
 SLOT="0"
@@ -31,5 +33,7 @@ src_install() {
java-pkg_dolauncher
java-pkg_dojar "usr/lib64/${PN}/${PN}Configurador.jar"
doicon "usr/lib64/${PN}/${PN}.png"
-   make_desktop_entry "${PN} %u" AutoFirma "${PN}" "Utility" 
"Comment[es]=Aplicación de firma electrónica de la 
FNMT\nMimeType=x-scheme-handler/afirma"
+   make_desktop_entry \
+   "${PN} %u" AutoFirma "${PN}" "Utility" \
+   "Comment[es]=Aplicación de firma electrónica de la 
FNMT\nMimeType=x-scheme-handler/afirma"
 }



Allan Rey Quiban allanrey...@networkingluxurymasterpiece.vom

2024-03-28 Thread Allan Rey Quiban


Sent from Outlook for Android


Re: [sympy] GSoC prospect interest and a potential issue

2024-03-24 Thread Al Rey Villagracia
Dear Sujay,

Based on your snippet, only the output of the last line of that cell will
be displayed. I suggest you store the values in variables, and use print to
display the values.
I hope it helps.

Regards,
Al Rey

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Virus-free.www.avg.com
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Thu, Mar 21, 2024 at 8:58 AM 'Sujay Chandrahas Hukkeri 4-Yr B.Tech.:
Chemical Engg., IIT(BHU)' via sympy  wrote:

> Dear mentors,
> I hope this email finds you well. My name is Sujay C Hukkeri , currently
> pursuing BTech in Chemical Engineering in IIT (BHU) Varanasi.I am reaching
> out to express my interest in participating in GSoC 2024 and collaborating
> on a project under your mentorship.
> I have been programming in Python for the past 3 years and have a solid
> understanding of SQL, C, and mathematics thanks to intensive preparation
> for the JEE. I am currently learning more about computation libraries of
> SymPy and exploring their applications.
> While exploring the codebase, I noticed some inconsistencies in the output
> of the limit function compared to the integrate function.  Attaching  the
> relevant code snippet below. Particularly in the limit function - it does
> not return the final answer whereas integrate function does, Is this a
> known issue, or is there a specific reason for this behavior? I'd be happy
> to delve deeper and contribute to improving the code's consistency.
>
> Thank you for your time and consideration.
> Sincerely,
> Sujay C Hukkeri
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAFvFUWAYwqRPaHxcbUjWOUMmSrg8xNoTbXAWKMfmnE_Q_T0%3DOA%40mail.gmail.com
> <https://groups.google.com/d/msgid/sympy/CAFvFUWAYwqRPaHxcbUjWOUMmSrg8xNoTbXAWKMfmnE_Q_T0%3DOA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAO_4bLi-WF649P7_zFtcOkGi0jSi6dsobKovhhmDnBd%2BXqZ5jw%40mail.gmail.com.


Re: v4 and v6 BOGON list

2024-03-21 Thread Enno Rey via NANOG
Hi Gabriel,

for v6 you may find the following helpful:

https://theinternetprotocolblog.wordpress.com/2020/01/15/some-notes-on-ipv6-bogon-filtering/

cheers

Enno


On Thu, Mar 21, 2024 at 07:20:53PM +, Gabriel Terry wrote:
> All,
> 
> I was researching BOGON prefixes and found a reference from IANA listing 
> special-purpose addresses, URLs listed below. Based on my understanding of 
> the list I think I should be able to block all of the entries from my 
> upstream peerings without affecting normal internet traffic. I assume that 
> there would only be special scenarios that the addresses listed in the 
> special-purpose entry would be used. I am interested to hear what others are 
> doing when it comes to blocking BOGON NLRI from their upstream BGP peerings. 
> If anyone has any insight into this please let me know your thoughts, I would 
> love to discuss more on the topic.
> 
> URLs:
> https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
> https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
> 
> Thanks,
> 
> Gabriel L. Terry
> 

-- 
Enno Rey

Cell: +49 173 6745902
Twitter: @Enno_Insinuator
IPv6 Blog: https://theinternetprotocolblog.wordpress.com


[Dnsmasq-discuss] TTL on Resource Records (RR)?

2024-03-21 Thread Alexandre Rey Durin
Hello,

I couldn't find the answer in the list archive, so asking.

Is there a way to specify a TTL on RR (defined by dns-rr option)?
It looks like they inherit from global options such as local-ttl, but not
possible to override (as with host-record for instance).

Moreover, is a https-record option planned? (as you did for caa-record)
It's quite a punishment to have to encode them into hex data for the
generic dns-rr option :/
For any reader looking for an encoder, I published a gist using dnspython:
https://gist.github.com/alxrdn/bc3b2a4beed431d7f1b2f606fe9332e9

Thank you
Alex
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: 202401100645.AYC Re: IPv4 address block

2024-01-10 Thread Enno Rey via NANOG
On Wed, Jan 10, 2024 at 07:35:01AM -0500, Abraham Y. Chen wrote:
> Hi, Karim:
> 
> 1)?? If you have control of your own equipment (I presume that your 
> business includes IAP - Internet Access Provider, since you are asking 
> to buy IPv4 blocks.), you can get a large block of reserved IPv4 address 
> _/*for free*/_ by _/*disabling*/_ the program codes in your current 
> facility that has been */_disabling_/* the use of 240/4 netblock.

As you state yourself this could be considered "unorthodox, if not 
controversial".
Alas in network operations 'unorthodox' usually means 'breaks something'. Which 
is exactly why you may avoid this, see also:

https://theinternetprotocolblog.wordpress.com/2019/10/06/some-notes-on-ipv4-address-space/

cheers

Enno





 Please 
> have a look at the below whitepaper. Utilized according to the outlined 
> disciplines, this is a practically unlimited resources. It has been 
> known that multi-national conglomerates have been using it without 
> announcement. So, you can do so stealthily according to the proposed 
> mechanism which establishes uniform practices, just as well.
> 
> https://www.avinta.com/phoenix-1/home/RevampTheInternet.pdf
> 
> 2)?? Being an unorthodox solution, if not controversial, please follow 
> up with me offline. Unless, other NANOGers express their interests.
> 
> 
> Regards,
> 
> 
> Abe (2024-01-10 07:34 EST)
> 
> 
> 
> On 2024-01-07 22:46, KARIM MEKKAOUI wrote:
> >
> > Hi Nanog Community
> >
> > Any idea please on the best way to buy IPv4 blocs and what is the price?
> >
> > Thank you
> >
> > KARIM
> >
> 
> 
> -- 
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com

-- 
Enno Rey

Cell: +49 173 6745902
Twitter: @Enno_Insinuator
IPv6 Blog: https://theinternetprotocolblog.wordpress.com


[slurm-users] sacctmgr show runawayjobs fails with slurmdbd crash

2023-12-21 Thread Julien Rey

Hello,

I'm sure this issue has been answered before but I'm trying to clean 
runaway jobs with:



sacctmgr - show runawayjobs


I get a very (very) long list of records and after a while the command 
crashes with the following error message:



sacctmgr: error: _conn_readable: persistent connection for fd 3 
experienced error[104]: Connection reset by peer
sacctmgr: debug2: _slurm_connect: failed to connect to 127.0.1.1:6819: 
Connection refused
sacctmgr: debug2: Error connecting slurm stream socket at 
127.0.1.1:6819: Connection refused
sacctmgr: error: slurm_persist_conn_open_without_init: failed to open 
persistent connection to host:master1:6819: Connection refused

sacctmgr: error: Getting response to message type: MsgType=1488
sacctmgr: error: Failed to fix runaway job: Unspecified error


The slurmdbd daemons also crashes (maybe I should increase debug log level):


Dec 21 15:53:18 master1 systemd[1]: slurmdbd.service: main process 
exited, code=exited, status=1/FAILURE
Dec 21 15:53:18 master1 systemd[1]: Unit slurmdbd.service entered failed 
state.

Dec 21 15:53:18 master1 systemd[1]: slurmdbd.service failed.


I'm running slurm 21.08.8-2.


Not sure if this is related but I tried to increase 
innodb_buffer_pool_size to 32G in mysql conf, without success.



Any help would be greatly appreciated.


--
Julien Rey

Plate-forme RPBS
Unité BFA - CMPLI
Université de Paris
tel: 01 57 27 83 95




[ros-diffs] [reactos] 01/01: [COMCTL32] Invalidate LVIS_CUT selected items too (#4218)

2023-10-21 Thread Jesús Sanz del Rey
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=855008d97b2c7e1a1b72ad268b68d83c739ebc6d

commit 855008d97b2c7e1a1b72ad268b68d83c739ebc6d
Author: Jesús Sanz del Rey 
AuthorDate: Sat Oct 21 18:51:54 2023 +0200
Commit: GitHub 
CommitDate: Sat Oct 21 18:51:54 2023 +0200

[COMCTL32] Invalidate LVIS_CUT selected items too (#4218)

This fixes icons that should be drawn transparently not showing as such 
until window gets repainted.
For example, hidden shell folders that are not drawn transparently until 
the filebrowser window is resized...

CORE-16722
---
 dll/win32/comctl32/listview.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/dll/win32/comctl32/listview.c b/dll/win32/comctl32/listview.c
index 9d6609ffd71..5bd7e287a8b 100644
--- a/dll/win32/comctl32/listview.c
+++ b/dll/win32/comctl32/listview.c
@@ -2276,7 +2276,11 @@ static void LISTVIEW_InvalidateSelectedItems(const 
LISTVIEW_INFO *infoPtr)
 iterator_frameditems(, infoPtr, >rcList); 
 while(iterator_next())
 {
+#ifdef __REACTOS__
+   if (LISTVIEW_GetItemState(infoPtr, i.nItem, LVIS_SELECTED | LVIS_CUT))
+#else
if (LISTVIEW_GetItemState(infoPtr, i.nItem, LVIS_SELECTED))
+#endif
LISTVIEW_InvalidateItem(infoPtr, i.nItem);
 }
 iterator_destroy();


Re: [slurm-users] auth_munge.so: Incompatible Slurm plugin version (21.08.8)

2023-10-06 Thread Julien Rey

Hello Rémy,

Indeed, libdrmaa was linked against the wrong version of libslurm:

ldd /usr/local/lib/libdrmaa.so.1.0.8
    linux-vdso.so.1 =>  (0x7ffe17b8b000)
    libslurm.so.36 => /usr/local/lib/libslurm.so.36 (0x7f237179f000)
    libdl.so.2 => /lib64/libdl.so.2 (0x7f237159b000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x7f237137f000)
    libm.so.6 => /lib64/libm.so.6 (0x7f237107d000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x7f2370e63000)
    libc.so.6 => /lib64/libc.so.6 (0x7f2370a95000)
    /lib64/ld-linux-x86-64.so.2 (0x7f2371d7d000)

I just had to recompile drmaa to make it work again.

Somehow the error message I was getting was misleading. The fix was very 
simple actually.


Thanks for your help.

Best.

J.

Le 05/10/2023 à 10:15, Rémi Palancher a écrit :

Hello Julien,

Le mercredi 4 octobre 2023 à 19:04, Julien Rey 
 a écrit :


Hello,

I did an upgrade of Slurm this week (20.11 to 21.08.8) and while
everything seems to be working with srun and sbatch commands, here is
what I get when I try to launch jobs from drmaa library:

…

I don't know if this is a slurm or a drmaa bug. So any advice would be
welcome.

Slurm daemons, binaries and libraries check the version of the plugins matches 
their own version at load time. The version of the plugins is bumped on every 
major version of Slurm (eg. 21.08) hence plugins compiled with 21.08 cannot be 
loaded by programs linked with libslurm from Slurm 20.11.

I suspect in this case DRMMA to be compiled and linked on libslurm from Slurm 
20.11 trying (and failing) to load newer plugins provided with Slurm 21.08.

Did you try to recompile your DRMMA layer against Slurm 21.08.8 headers and 
library?

--
Rémi Palancher
Rackslab: Open Source Solutions for HPC Operations
https://rackslab.io



--
Julien Rey

Plate-forme RPBS
Unité BFA - CMPLI
Université de Paris
tel: 01 57 27 83 95




[slurm-users] auth_munge.so: Incompatible Slurm plugin version (21.08.8)

2023-10-04 Thread Julien Rey

Hello,

I did an upgrade of Slurm this week (20.11 to 21.08.8) and while 
everything seems to be working with srun and sbatch commands, here is 
what I get when I try to launch jobs from drmaa library:



python: /usr/local/lib/slurm/auth_munge.so: Incompatible Slurm plugin 
version (21.08.8)
python: error: Couldn't load specified plugin name for auth/munge: 
Incompatible plugin version

python: error: cannot create auth context for auth/munge
python: error: slurm_send_node_msg: g_slurm_auth_create: 
REQUEST_SUBMIT_BATCH_JOB has authentication error: No such device or address

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.7/site-packages/drmaa/session.py", line 340, 
in runBulkJobs

    return list(run_bulk_job(jobTemplate, beginIndex, endIndex, step))
  File "/usr/lib/python2.7/site-packages/drmaa/helpers.py", line 286, 
in run_bulk_job

    c(drmaa_run_bulk_jobs, jids, jt, start, end, incr)
  File "/usr/lib/python2.7/site-packages/drmaa/helpers.py", line 302, in c
    return f(*(args + (error_buffer, sizeof(error_buffer
  File "/usr/lib/python2.7/site-packages/drmaa/errors.py", line 151, in 
error_check

    raise _ERRORS[code - 1](error_string)
drmaa.errors.InternalException: code 1: slurm_submit_batch_job error 
(1007): Protocol authentication error



We are running CentOS7 and the following munge development libs are 
installed on all the nodes:


munge-devel-0.5.11-3.el7.x86_64
munge-0.5.11-3.el7.x86_64
munge-libs-0.5.11-3.el7.x86_64


Here is the commands I used to compile slurm so I think the munge plugin 
was correctly built:


./configure --sysconfdir=/etc/slurm --enable-pam
make -j $(nproc)
make install
ldconfig


I don't know if this is a slurm or a drmaa bug. So any advice would be 
welcome.



Best.

--
Julien Rey

Plate-forme RPBS
Unité BFA - CMPLI
Université de Paris
tel: 01 57 27 83 95




[Wikimedia-l] Launch of Justapedia

2023-09-10 Thread Rey Bueno via Wikimedia-l
Last month, the alternative project Justapedia was launched which is accessible 
through the URL https://justapedia.org. It is a complete English Wikipedia fork 
made sometime last year.

Unfortunately the front page showcase doesn't give it good optics because it 
gave the impression of trying to "whitewash" fascism. They'll have a better 
public opinion if they tried to fix the Holocaust distortions as revealed by 
Jan Grabowski and Shira Klein, and put that into the showcase.

Besides, there are alarming rumors I saw in Y Combinator that 
Wikipedia/Wikimedia have unreported harassment and pedophilia scandals.
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/C4CJWNAQ5UG5PWFYB3X6CHDF7FC65BGF/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


[gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-whatsapp/files/, net-im/mautrix-whatsapp/

2023-09-07 Thread Jesús P Rey
commit: ff7e05f8296b8c455ea591f574435aa8c48c9b75
Author: Jesús P Rey (Chuso)  chuso  net>
AuthorDate: Thu Sep  7 13:26:55 2023 +
Commit: Jesús P Rey  chuso  net>
CommitDate: Thu Sep  7 13:29:20 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff7e05f8

net-im/mautrix-whatsapp: New package.

Signed-off-by: Jesús P Rey (Chuso)  chuso.net>

 net-im/mautrix-whatsapp/Manifest   |  2 +
 .../mautrix-whatsapp/files/mautrix-whatsapp.initd  | 25 +
 .../files/mautrix-whatsapp.service | 12 +
 .../mautrix-whatsapp-0.10.0.ebuild | 60 ++
 net-im/mautrix-whatsapp/metadata.xml   | 22 
 5 files changed, 121 insertions(+)

diff --git a/net-im/mautrix-whatsapp/Manifest b/net-im/mautrix-whatsapp/Manifest
new file mode 100644
index 00..23a5676206
--- /dev/null
+++ b/net-im/mautrix-whatsapp/Manifest
@@ -0,0 +1,2 @@
+DIST mautrix-whatsapp-0.10.0-deps.tar.xz 44605336 BLAKE2B 
631844436ca1fb408a1dbd074d613f5b21c789bc7af931336204c4c104a0e7f039c7c94c651211e12253bcf63b72a899f4b2bb554eed6f778a1e747dd762
 SHA512 
fb06e5d121c2e1d2ed67ca21973a37187d0f79d5cc1206bc8aa7a031503967932254e430db00ee95645770eea7509f0ec9ab24fa3fe6a26bb5fb28149873a584
+DIST mautrix-whatsapp-0.10.0.gh.tar.gz 152560 BLAKE2B 
b455c54fec79c0d56b61d441291a3f5ae1ab55db3f23e69d2fd5c11cc0bcbd69d5d8f14cd44c6a252d1f72c37af0d67ac959cc3a9163fe772d3d530d4f5f2af0
 SHA512 
0906b1e01f26d25adf337a012e73fa28bf9961a30add61ae7a22aaf903ce28d50e00c34124ed6703c9be86a38c3e29d638c2fa969013608ee38034cc01b5882f

diff --git a/net-im/mautrix-whatsapp/files/mautrix-whatsapp.initd 
b/net-im/mautrix-whatsapp/files/mautrix-whatsapp.initd
new file mode 100644
index 00..f06e9948fd
--- /dev/null
+++ b/net-im/mautrix-whatsapp/files/mautrix-whatsapp.initd
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="mautrix-whatsapp daemon"
+description="A Matrix-WhatsApp puppeting bridge"
+module="mautrix_whatsapp"
+
+pidfile="/run/${RC_SVCNAME}.pid"
+command="/usr/bin/mautrix-whatsapp"
+command_args="-c /etc/mautrix/${module}.yaml -r 
/var/lib/mautrix/whatsapp/registration.yaml"
+command_background=true
+command_user="mautrix-whatsapp:mautrix"
+
+output_log="/var/log/mautrix/mautrix-whatsapp_daemon.log"
+error_log="/var/log/mautrix/mautrix-whatsapp_daemon.log"
+
+depend() {
+   need net
+}
+
+start_pre() {
+   checkpath -d -m 0755 -o "$command_user" /var/lib/mautrix/whatsapp
+   checkpath -f -m 0644 -o "$command_user" "$output_log"
+}

diff --git a/net-im/mautrix-whatsapp/files/mautrix-whatsapp.service 
b/net-im/mautrix-whatsapp/files/mautrix-whatsapp.service
new file mode 100644
index 00..8e55412083
--- /dev/null
+++ b/net-im/mautrix-whatsapp/files/mautrix-whatsapp.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=A Matrix-WhatsApp puppeting bridge
+After=network.target
+
+[Service]
+User=mautrix-whatsapp
+Group=mautrix
+Restart=on-failure
+ExecStart=/usr/bin/mautrix-whatsapp -c /etc/mautrix/mautrix_whatsapp.yaml -r 
/var/lib/mautrix/whatsapp/registration.yaml
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-im/mautrix-whatsapp/mautrix-whatsapp-0.10.0.ebuild 
b/net-im/mautrix-whatsapp/mautrix-whatsapp-0.10.0.ebuild
new file mode 100644
index 00..7dd38106f7
--- /dev/null
+++ b/net-im/mautrix-whatsapp/mautrix-whatsapp-0.10.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module optfeature systemd
+
+DESCRIPTION="A Matrix-WhatsApp puppeting bridge "
+HOMEPAGE="https://github.com/mautrix/whatsapp/;
+SRC_URI="https://github.com/mautrix/whatsapp/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz
+   https://distfiles.chuso.net/distfiles/${P}-deps.tar.xz;
+S="${WORKDIR}/whatsapp-${PV}"
+
+LICENSE="AGPL-3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="crypt"
+
+DEPEND="crypt? ( dev-libs/olm )"
+
+RDEPEND="acct-user/${PN}"
+
+src_compile() {
+   ego build $(use crypt || echo '-tags nocrypto')
+}
+
+src_install() {
+   dobin "${PN}"
+
+   keepdir /var/log/mautrix/${PN/mautrix-/}
+   fowners -R root:mautrix /var/log/mautrix
+   fperms -R 770 /var/log/mautrix
+   sed -i -e "s_\./logs_/var/log/mautrix_" "example-config.yaml" || die
+
+   insinto "/etc/mautrix"
+   newins "example-config.yaml" "${PN/-/_}.yaml"
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   systemd_dounit "${FILESDIR}/${PN}.service"
+
+   fowners -R root:mautrix /etc/mautrix
+   fperms -R 770 /etc

[gentoo-commits] repo/proj/guru:dev commit in: acct-user/mautrix-whatsapp/

2023-09-07 Thread Jesús P Rey
commit: f65e988dc43068a40c8145c20a7090ea22fef317
Author: Jesús P Rey (Chuso)  chuso  net>
AuthorDate: Thu Sep  7 13:25:28 2023 +
Commit: Jesús P Rey  chuso  net>
CommitDate: Thu Sep  7 13:29:11 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f65e988d

acct-user/mautrix-whatsapp: New package.

Dependency for net-im/mautrix-whatsapp.

Signed-off-by: Jesús P Rey (Chuso)  chuso.net>

 acct-user/mautrix-whatsapp/mautrix-whatsapp-0.ebuild | 15 +++
 acct-user/mautrix-whatsapp/metadata.xml  |  8 
 2 files changed, 23 insertions(+)

diff --git a/acct-user/mautrix-whatsapp/mautrix-whatsapp-0.ebuild 
b/acct-user/mautrix-whatsapp/mautrix-whatsapp-0.ebuild
new file mode 100644
index 00..02486c6384
--- /dev/null
+++ b/acct-user/mautrix-whatsapp/mautrix-whatsapp-0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-user
+
+DESCRIPTION="User for Mautrix WhatsApp Bridge"
+
+ACCT_USER_ID=-1
+ACCT_USER_GROUPS=( mautrix )
+ACCT_USER_HOME=/var/lib/mautrix/whatsapp
+ACCT_USER_HOME_PERMS=0750
+
+acct-user_add_deps

diff --git a/acct-user/mautrix-whatsapp/metadata.xml 
b/acct-user/mautrix-whatsapp/metadata.xml
new file mode 100644
index 00..97af622fb7
--- /dev/null
+++ b/acct-user/mautrix-whatsapp/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   gen...@chuso.net
+       Jesus Perez Rey
+   
+



Bug#1050514: Missing dependencies for the libreoffice packages (libreoffice-core?)

2023-08-25 Thread Bruno Mendonca Rey dos Santos
Package: libreoffice-core (I think)
Version: 4:7.4.7-1

I think the packages *default-jre* and *libreoffice-java-common* should be
dependencies of the libreoffice packages. I cannot run libreoffice without
*default-jre* and *libreoffice-java-common*.


Bug#1050514: Missing dependencies for the libreoffice packages (libreoffice-core?)

2023-08-25 Thread Bruno Mendonca Rey dos Santos
Package: libreoffice-core (I think)
Version: 4:7.4.7-1

I think the packages *default-jre* and *libreoffice-java-common* should be
dependencies of the libreoffice packages. I cannot run libreoffice without
*default-jre* and *libreoffice-java-common*.


Use Optimot (variant of Bépo kb layout) with xkblayout tool into guix home ?

2023-05-02 Thread Rey-Coyrehourcq Sébastien

Hi,

As many french people i try to use Bépo layout on my keyboard ( 
https://en.wikipedia.org/wiki/B%C3%89PO ) to prevent "Repetitive Strain 
Injury".


But if Bépo is great to write text, this is not the case for programming 
or writing english.


I discover that a variant of Bépo dedicated to correct these problems 
exist and work very well on many keyboards layout (ortholinear, hhkb, 
ergo, etc.). This variant of Bépo is named "Optimot" : 
http://forum.bepo.fr/viewtopic.php?id=2049


This very specific layout is not listed in setxkbmap configuration 
options, so i search some way to load this layout from my home config.scm


With help of guix/bépo guys I found a xkb layout generator 
(https://gitlab.freedesktop.org/whot/xkblayout) already packaged into 
guix. This tools is named xkb-layout/xkblayout, developped by Peter 
Hutterer 
(https://who-t.blogspot.com/2020/09/user-specific-xkb-configuration-putting.html 
) and it helps the definition of a user defined xkb layout by using the 
existing xkb integration of the system. So using that i suppose i could 
load an "Optimot" layout for Gnome.


The package is here : /gnu/packages/xdisorg.scm , and more precisely 
here : 
https://git.sjtu.edu.cn/sjtug/guix/-/blob/v1.4.0/gnu/packages/xdisorg.scm?ref_type=tags#L448


How i could link/load the xkb layout generated by xkblayout into my guix 
home "$XDG_CONFIG_HOME/xkb" using the Guix system of keyboard described 
here https://guix.gnu.org/manual/en/html_node/Keyboard-Layout.html ?


is it only possible ? Do you have some pointers on your config to do that ?

Bonus : it's seems that works on wayland.

Best,

Src.




Re: newer version of Vibe.d tutorial

2023-04-23 Thread Rey Valeza via Digitalmars-d-announce

On Saturday, 22 April 2023 at 20:27:45 UTC, Rey Valeza wrote:

On Saturday, 22 April 2023 at 01:26:18 UTC, zjh wrote:

On Saturday, 22 April 2023 at 01:23:35 UTC, zjh wrote:

You should create an '`change log`',


Also, please don't paste the content repeatedly, it's too much.


You are the first who commented on that! Thanks!


I followed your advice. Can you critique the site again? Thanks!


Re: newer version of Vibe.d tutorial

2023-04-23 Thread Rey Valeza via Digitalmars-d-announce

On Friday, 21 April 2023 at 18:43:18 UTC, ryuukk_ wrote:

Another suggestion:

https://i.imgur.com/x7nkKXl.png

This is unreadable, please put that on a code block too to make 
it easier on the eyes


Thanks to your comments, the site is a lot more readable now!


Re: newer version of Vibe.d tutorial

2023-04-23 Thread Rey Valeza via Digitalmars-d-announce

On Friday, 21 April 2023 at 18:43:18 UTC, ryuukk_ wrote:

Another suggestion:

https://i.imgur.com/x7nkKXl.png

This is unreadable, please put that on a code block too to make 
it easier on the eyes


Thanks to your comments, the site is a lot more readable now!


Re: newer version of Vibe.d tutorial

2023-04-22 Thread Rey Valeza via Digitalmars-d-announce

On Saturday, 22 April 2023 at 01:26:18 UTC, zjh wrote:

On Saturday, 22 April 2023 at 01:23:35 UTC, zjh wrote:

You should create an '`change log`',


Also, please don't paste the content repeatedly, it's too much.


You are the first who commented on that! Thanks!


Re: newer version of Vibe.d tutorial

2023-04-22 Thread Rey Valeza via Digitalmars-d-announce

On Friday, 21 April 2023 at 18:43:18 UTC, ryuukk_ wrote:

Another suggestion:

https://i.imgur.com/x7nkKXl.png

This is unreadable, please put that on a code block too to make 
it easier on the eyes


Thanks! I'll try that.


newer version of Vibe.d tutorial

2023-04-21 Thread Rey Valeza via Digitalmars-d-announce
Hi, I just completed the newer version of the tutorial on Vibe.d. 
It is viewable here:


https://reyvaleza.gitbook.io/vibe.d-tutorial

and the PDF version is downloadable here:

https://github.com/reyvaleza/vibed/blob/main/BuildTimekeepWithVibe.pdf

Thanks!


Re: Help packaging R Quarto Cli

2023-03-20 Thread Rey-Coyrehourcq Sébastien

Hi,

Some news about *Quarto* Packaging :

# Deno [Done]

- the first big/huge dependency of Quarto is Deno, packaged in december 
: Deno (https://deno.land/)


# Deno-Dom [Done]

The problem of deno_dom plugin of deno 
(https://github.com/b-fuze/deno-dom), provided as a rust virtual 
manifest is also solved, i only need to specify this to .scm :


 -  #skip-build? to false,
 -  #:cargo-test-flag to --release
 - #:install-source? to false
 - replace `install phase of rust by a new that only copy libplugin.so 
file into /bin


# Sass css preprocessor [Done]

Quarto need also the sass executable to compile .scss into .css.

Sass is written in Dart, but by change there is a js executable 
available in NPM Registry. I set a module to download sass (and 3 other 
dependencies) from npm registry,
and by deleting configure and install phase, everything goes well. I 
create a new channel with this dependencies.


# ESBuild [Done]

EsBuild is available in Guix by luck.

# Quarto

Quarto is available to compile on github, defined as a dev version.

## Configure.sh

The entry for this dev version is an horrible (from the guix point of 
view) ./configure.sh 
(https://github.com/quarto-dev/quarto-cli/blob/main/configure.sh) , that 
download binary of deno, pandoc, and other things.


I first patch this configure and set correctly all the environnement 
variable correctly (Deno, Pandoc, ESbuild, Sass, Node, etc.).


And now i thing this is probably the last pitfall ? before the end of 
this challenge...


## Packaging Quarto

After running ./configure.sh i get the next step from conda recipe 
(https://github.com/quarto-dev/quarto-cli/tree/main/package/conda-recipe/build.sh).


Conda recipe generate a standalone bundle (a ./quarto (sh) and a 
./quarto.js) by using this shell script : 
https://github.com/quarto-dev/quarto-cli/blob/main/package/src/quarto-bld


As you could see in the code, quarto-bld run Deno with some options, one 
refer to some .json, that contain lot of thing to download into 
/vendors. But it seems this part is not activated if the 
QUARTO_VENDOR_BINARIES env is set to false.


(A) / quarto-bld update-html-dependencies
(B) / quarto-bld prepare-dist

The A step call this thing 
(https://github.com/quarto-dev/quarto-cli/blob/main/package/src/common/update-html-dependencies.ts) 
that download and patch some file into the project.


So, A is a problem, and i need to patch this typescript file to give 
directly the file without downloading it from internet.


*How could i create an archive that contain already these different 
files to my quarto build ? *


*Do you think building a git repo with all of them is a good idea ?* 
Even if these files are linked to multiple sources : https://unpkg.com/; 
https://github.com/ ; 
https://github.com/mozilla/pdf.js/releases/download/ ; 
https://github.com/twbs/icons/releases/download/


If i download these file by running manually (A) in /tmp after a fail 
build, the (B) command build a working "./quarto --help" and "./quarto 
check" command, so end is near \o/


## Running

Quarto entry is a shell script with lot of environments variables, so we 
probably need to wrap it to run correctly.


Thanks again,

Best regards.









On 22/12/2022 16:16, Sébastien Rey-Coyrehourcq wrote:

Hi,

Wojtek Kosior  writes:



I found only one crate that use this method `git-fetch’ in the list :
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/crates-io.scm#n1576>

There are plenty in other package definition files, e.g. in
gnu/packages/python-xyz.scm. It seems Rust is just that special case
where git checkout is rarely needed.

Yes,  i’m not sure this case (source only without crate) is well managed by the 
actual cargo-build-system ?
Anyway, discussions about “Rust Packaging” on IRC mention the building of a new 
system, something cargo-less.

What do you mean by “source only without crate”? From my understanding,
even when we use `(method uri-fetch)` with `(crate-uri)`, what gets
downloaded is still just the source code and not a prebuilt crate. The
crates repo serves both the crates and their corresponding source
tarballs, right?

Even though there is a difference from the `(method git-fetch)` case —
the output is a tarball instead of a directory — it’s still just source
code and the untaring of it is — I believe — done automatically.

Or it is something else you meant?


Yes, you’re right.


I wanted to instead suggest not creating a separate Guix package
nor derivation for test_util. That’s what I meant when I wrote “it
seems awkward to be required to provide the test_util package as a
separate crate”. Sorry if I accidently mislead you with this.

Yes you’re right, this is probably awkard to maintain.

Hum, i will retry. What’s motivating me to try this packaging way is
the duration of compilation… This fail only occur at the test phase,
so after 2 hours of compilation…

When i use the “–keep-failed” option, and run a new build aft

Re: mysql-native v3.2.0 - the safe update

2023-02-14 Thread Rey Valeza via Digitalmars-d-announce
On Saturday, 23 April 2022 at 05:12:30 UTC, Steven Schveighoffer 
wrote:
It's happened. I opened the PR over 2 years ago, and just got 
around to bringing it up to date in the last few days.


This is a huge huge update. I've never done anything like this 
before, but I think it works as a drop-in replacement, while 
allowing you to migrate any piece you wish from unsafe code to 
safe code. Please let me know if there are *any* problems you 
find with this.


See the [safe migration 
doc](https://github.com/mysql-d/mysql-native/blob/master/SAFE_MIGRATION.md) for more details.


Note this does *not* build with dip1000, because the two 
underlying libraries (Phobos sockets and vibe.d) do not build 
as safe with dip1000.


-Steve


Hi Steve, I just want you to know that I updated the Vibe.d 
tutorial I wrote last year to emphasize database operations using 
mysql-native and is now viewable here:


https://reyvaleza.gitbook.io/vibe.d-tutorial/

Thanks!


Re: postfix header check question

2023-02-14 Thread Juan Carlos Rey Anaya

Here are some examples to detect Subject headers: Hope it is useful.

if /^Subject: /
/Professor Positions - Faculty Positions in Higher Education/ REJECT 
subject rejected

/Dear Friend,/    REJECT subject rejected
/The closest thing to flying a REAL plane!/    REJECT subject rejected
/Your Last Chance/    REJECT subject rejected
/wqFIYXN0YSAtMzAlIGVuIHR1cyBjb21wcmFzISBDb24gYWRpZGFzIGVuYW3Ds3JhdGUgZGVsIGRlcG9ydGU=/ 
REJECT subject rejected

endif




Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-02-12 Thread Rey Valeza via Digitalmars-d-announce

On Tuesday, 24 January 2023 at 14:14:23 UTC, ryuukk_ wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


PDF is not a good choice for that kind of tutorial, there is no 
navigation, so once has to scroll to get to the vided stuff


No proper support for code blocks, it's messy with cli output 
being truncated into multiple page


That's messy

Here an example of a proper format:

https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/07.4.html

It's open source: 
https://github.com/astaxie/build-web-application-with-golang/


Hi ryuukk_, I just uploaded the web version of the tutorial here:

https://reyvaleza.gitbook.io/vibe.d-tutorial/

Thanks!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-02-12 Thread Rey Valeza via Digitalmars-d-announce

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


The web version is viewable here:

https://reyvaleza.gitbook.io/vibe.d-tutorial/




Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-02-12 Thread Rey Valeza via Digitalmars-d-announce
On Tuesday, 24 January 2023 at 14:58:22 UTC, Richard (Rikki) 
Andrew Cattermole wrote:

On 25/01/2023 3:14 AM, ryuukk_ wrote:
PDF is not a good choice for that kind of tutorial, there is 
no navigation, so once has to scroll to get to the vided stuff


It would be ok, but there is no Table of Contents which removes 
that possibility.


Just FYI, I just uploaded a rough .html version so one can easily 
copy the source code without page breaks. It is a .zip file for 
download here:


https://github.com/reyvaleza/vibed/blob/main/BuildWebAppsWithVibedSecondEdition.zip

Thanks!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-02-12 Thread Rey Valeza via Digitalmars-d-announce

On Tuesday, 31 January 2023 at 07:11:06 UTC, Lars Johansson wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:


Please tell me if you ran into any problems. I am sure there 
are still errors I missed. Thanks!


Hi sorry for the late reply. I'm busy at the moment. My 
attention to details is at best sloppy, it's more than likely I 
did something wrong. I hope to restart with your 2nd edition 
soon.

This time I will keep you posted on my success.


Hi Lars, I just uploaded an .html version so you can easily copy 
the source code without page breaks. It is a .zip file for 
download here:


https://github.com/reyvaleza/vibed/blob/main/BuildWebAppsWithVibedSecondEdition.zip

Hope this helps. Thanks!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-02-12 Thread Rey Valeza via Digitalmars-d-announce

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


I just uploaded a rough .html version so you can easily copy the 
source code without page breaks. It is a .zip file for download 
here:


https://github.com/reyvaleza/vibed/blob/main/BuildWebAppsWithVibedSecondEdition.zip



Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-02-02 Thread Rey Valeza via Digitalmars-d-announce

On Tuesday, 31 January 2023 at 07:11:06 UTC, Lars Johansson wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:


Please tell me if you ran into any problems. I am sure there 
are still errors I missed. Thanks!


Hi sorry for the late reply. I'm busy at the moment. My 
attention to details is at best sloppy, it's more than likely I 
did something wrong. I hope to restart with your 2nd edition 
soon.

This time I will keep you posted on my success.


Great!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-24 Thread Rey Valeza via Digitalmars-d-announce

On Wednesday, 25 January 2023 at 01:21:02 UTC, zjh wrote:

On Tuesday, 24 January 2023 at 21:08:41 UTC, Rey Valeza wrote:


https://github.com/reyvaleza/vibed



Thank you for your share.


You are welcome!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-24 Thread Rey Valeza via Digitalmars-d-announce

On Tuesday, 24 January 2023 at 14:14:23 UTC, ryuukk_ wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


PDF is not a good choice for that kind of tutorial, there is no 
navigation, so once has to scroll to get to the vided stuff


No proper support for code blocks, it's messy with cli output 
being truncated into multiple page


That's messy

Here an example of a proper format:

https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/07.4.html

It's open source: 
https://github.com/astaxie/build-web-application-with-golang/


Hi ryuuukk_, I want you to know that I just uploaded the original 
.docx files on my Github account here:


https://github.com/reyvaleza/vibed

I have to split it into two files because the original file is 
bigger than 25 mb.


Thanks!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-24 Thread Rey Valeza via Digitalmars-d-announce

On Tuesday, 24 January 2023 at 15:45:38 UTC, Rey Valeza wrote:
On Tuesday, 24 January 2023 at 14:58:22 UTC, Richard (Rikki) 
Andrew Cattermole wrote:

On 25/01/2023 3:14 AM, ryuukk_ wrote:
PDF is not a good choice for that kind of tutorial, there is 
no navigation, so once has to scroll to get to the vided stuff


It would be ok, but there is no Table of Contents which 
removes that possibility.


If I upload the original Word document, can someone make the 
necessary changes? My Word skills are rusty.


I just uploaded two .docx files. I have to split the original 
into two files as the original is bigger than the allowed 25mb.


https://github.com/reyvaleza/vibed

Thanks!



Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-24 Thread Rey Valeza via Digitalmars-d-announce
On Tuesday, 24 January 2023 at 14:58:22 UTC, Richard (Rikki) 
Andrew Cattermole wrote:

On 25/01/2023 3:14 AM, ryuukk_ wrote:
PDF is not a good choice for that kind of tutorial, there is 
no navigation, so once has to scroll to get to the vided stuff


It would be ok, but there is no Table of Contents which removes 
that possibility.


If I upload the original Word document, can someone make the 
necessary changes? My Word skills are rusty.


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-24 Thread Rey Valeza via Digitalmars-d-announce

On Tuesday, 24 January 2023 at 14:14:23 UTC, ryuukk_ wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


PDF is not a good choice for that kind of tutorial, there is no 
navigation, so once has to scroll to get to the vided stuff


No proper support for code blocks, it's messy with cli output 
being truncated into multiple page


That's messy

Here an example of a proper format:

https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/07.4.html

It's open source: 
https://github.com/astaxie/build-web-application-with-golang/


Thanks for the feedback.


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-24 Thread Rey Valeza via Digitalmars-d-announce

On Monday, 23 January 2023 at 08:08:02 UTC, Lars Johansson wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


I I'm stuck in the middle of the first version, my fault of 
course.
I start over again with the new version. I really like your 
hands on approach.
The first version is great. This new version is probably even 
greater!

This time I pay more attention to the details of your tutorial.


Please tell me if you ran into any problems. I am sure there are 
still errors I missed. Thanks!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-23 Thread Rey Valeza via Digitalmars-d-announce

On Monday, 23 January 2023 at 08:08:02 UTC, Lars Johansson wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


I I'm stuck in the middle of the first version, my fault of 
course.
I start over again with the new version. I really like your 
hands on approach.
The first version is great. This new version is probably even 
greater!

This time I pay more attention to the details of your tutorial.


That's nice to hear!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-23 Thread Rey Valeza via Digitalmars-d-announce

On Monday, 23 January 2023 at 07:33:15 UTC, Antonio wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


First look... nice job :-)


Thanks!


Re: second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-23 Thread Rey Valeza via Digitalmars-d-announce

On Monday, 23 January 2023 at 03:47:53 UTC, Tejas wrote:

On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!


Nice, thanks for your work

# 


You are welcome!


Re: vibe.d community/forum/whatever ?

2023-01-22 Thread Rey Valeza via Digitalmars-d-learn

On Monday, 30 August 2021 at 02:39:06 UTC, someone wrote:

https://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/

I've been reading vibe.d tour and some documentation today to 
get some first impressions. https://vibed.org/community pointed 
to the link above ... but it seems it is full of crap.


Hi,

I just uploaded to Github a second edition of the tutorial I 
wrote last year:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Hope this helps.


second edition of Build Web Apps in Vibe.d by learning from a learner

2023-01-22 Thread Rey Valeza via Digitalmars-d-announce

Hi,

I just uploaded a second edition of the tutorial I uploaded on 
Github last year. Here is the link:

https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf

Thanks!




Re: [NTG-context] Change in \vec behavior

2023-01-22 Thread Jean-Philippe Rey via ntg-context
Hello,Does anyone have some insight on this issue?Thanks,Le 18 déc. 2022 à 19:37, Jean-Philippe Rey via ntg-context <ntg-context@ntg.nl> a écrit :Hello,As I usually do at the end of each year, I upgraded my ConTeXt installation. I noticed a change in \vec behavior which doesn't extend the arrow anymore. Here is my example:\starttextEngine: \texenginename\ \texengineversion\ConTeXt: \contextversionnumber\type{$\vec{AB}$} : $\vec{AB}$\stoptextThe result with the latest ConTeXt version:

GraphiqueCollé-1.pdf
Description: Adobe PDF document
and with the version from a year ago:

GraphiqueCollé-2.pdf
Description: Adobe PDF document
I am aware that I could use \overrightarrow, but I prefer the shape and position of the \vec arrow, especially with single letters.

GraphiqueCollé-3.pdf
Description: Adobe PDF document


GraphiqueCollé-4.pdf
Description: Adobe PDF document
What is the rationale for the change in \vec? Is there a way to get the previous behavior back?Thanks,
-- Jean-Philippe Reyjean-philippe@centralesupelec.fr91192 Gif-sur-Yvette Cedex - FranceEmpreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [ipv6-wg] IPv6 martian filter-set

2023-01-12 Thread Enno Rey
Hi Nia,

On Thu, Jan 12, 2023 at 09:37:30AM +0200, Nia Provia wrote:
> Hi all,
>  ??we want to update our BGP filtering with ipv6 martians prefixes.
>  ??Querying RIPE database I am seeing two different filter-set regarding 
> martians v6 :
> 
> fltr-martian6 --> last-modified :?? 2015-07-28T13:39:28
> fltr-martian-v6 ---> last-modified:?? 2020-09-10T23:40:02
> 
> Is there any recommendation/suggestion whether I should use any of these 
> filters ? and if yes , which one ?

some discussion here:
https://theinternetprotocolblog.wordpress.com/2020/01/15/some-notes-on-ipv6-bogon-filtering/

Hope that's helpful.

cheers

Enno


-- 
Enno Rey

Cell: +49 173 6745902
Twitter: @Enno_Insinuator
IPv6 Blog: https://theinternetprotocolblog.wordpress.com




-- 

To unsubscribe from this mailing list, get a password reminder, or change your 
subscription options, please visit: 
https://lists.ripe.net/mailman/listinfo/ipv6-wg


Re: Help packaging R Quarto Cli

2022-12-22 Thread Sébastien Rey-Coyrehourcq
-system.scm>)

But this is an hard job for beginner like me… Perhaps there is another way by 
modifying this wtf `virtual manifest' directly.

┌
│  (build-system cargo-build-system)
│  (arguments
│  `(#:skip-build? #f
│#:install-source? #f ; virtual manifest
│ ;   #:phases
│ ;   (modify-phases %standard-phases
│ ;(replace 'install
│ ; (lambda _
│ ;   #t)))
│#:cargo-inputs
│(("rust-html5ever" ,rust-html5ever-0.25.1)  ;;0.25.1
│  ("rust-markup5ever" ,rust-markup5ever-0.10.0)  ;0.10.0
│  ("rust-serde_json", rust-serde-json-1);1.0
│  ("rust-serde", rust-serde-1)) ; 1.0.111
│))
└

Well, long road never ends…

And ! an ! happy ! Christmas Hollidays ! for all of guixers !!

>> Thanks for your support and your kind word, that help me to continue :)
>
> Glad I could help even with my small Guix experience ^^
>
>> Hi,
>>
>> I’m happy to say, Deno is packaged (except the test, see the last conversion 
>> on this thread) compile and run on my machine :D
>>
>> ┌
>> │ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno 
>> –version
>> │ deno 1.25.2 (release, x86_64-unknown-linux-gnu)
>> │ v8 10.6.194.5
>> │ typescript 4.7.4
>> │
>> │ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno 
>> run hello-world.js
>> │ Hello John
>> │ Hello Sarah
>> │ Hello Kai
>> │
>> └
>
> Great! 
>
>> Next steps :
>> • Packaging Quarto (that need Deno).
>> • Merge and Cleaning mess with dependency.
>
> Just a question, out of curiosity - are there any serious freedom
> issues? I saw you are using some custom Guix channels in addition to
> your own one and that made me wonder
>
> Wojtek
>
>
> [1] 
> <https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/cargo-build-system.scm?id=408a4ed071c9c52de207d799a698781d49fa727d#n209>
> [2] <https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html>
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #16: saint Jan z Dukli
> Poznaj świętych krakowskich!  #16: święty Jan z Dukli
> <https://pl.wikipedia.org/wiki/Jan_z_Dukli>
> – (sig_end)
>
>
> On Thu, 15 Dec 2022 09:32:48 +0100
> Sébastien Rey-Coyrehourcq  wrote:
>
>> Hi,
>>
>> I’m happy to say, Deno is packaged (except the test, see the last conversion 
>> on this thread) compile and run on my machine :D
>>
>> ┌
>> │ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno 
>> –version
>> │ deno 1.25.2 (release, x86_64-unknown-linux-gnu)
>> │ v8 10.6.194.5
>> │ typescript 4.7.4
>> │
>> │ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno 
>> run hello-world.js
>> │ Hello John
>> │ Hello Sarah
>> │ Hello Kai
>> │
>> └
>>
>> Next steps :
>> • Packaging Quarto (that need Deno).
>> • Merge and Cleaning mess with dependency.
>>
>> If you want to try :
>> <https://git.sr.ht/~reyman/build-deno-guix>
>>
>> Best regards,
>> SR
>>
>> “Sebastien Rey-Coyrehourcq”  writes:
>>
>> >
>> > Le Lundi, Octobre 24, 2022 13:43 CEST, Sébastien Rey-Coyrehourcq 
>> >  a écrit:
>> >
>> >> Hi,
>> >>
>> >> I’m trying to package Quarto Cli (
>> >> <https://github.com/quarto-dev/quarto-cli> ), used in combination with
>> >> Pandoc to publish -reproducible- scientific document : website, blog, etc.
>> >>
>> >> I first think this is a classic gnu build : ./configure && make && make
>> >> install BUT, there is a problem because the ./configure script bootstrap
>> >> “Deno” during the run of configure.sh.
>> >>
>> >> Because this download and compilation of Deno occur during ./configure.sh
>> >> running, guix cannot patch the #!/bin/bash path, so ./configure failed.
>> >> Deno seems also not packaged into guix.
>> >>
>> >> Do you have an idea to resolve this ? Perhaps we could try all together 
>> >> to do this.
>> >>
>> >> I’m starting with this quarto-cli.scm :
>> >>
>> >> ┌
>> >> │ (use-modules
>> >> │ (guix packages)
>> >> │ (guix downl

[NTG-context] Change in \vec behavior

2022-12-18 Thread Jean-Philippe Rey via ntg-context
Hello,

As I usually do at the end of each year, I upgraded my ConTeXt installation. I 
noticed a change in \vec behavior which doesn't extend the arrow anymore. Here 
is my example:

\starttext
Engine: \texenginename\ \texengineversion

\ConTeXt: \contextversionnumber

\type{$\vec{AB}$} : $\vec{AB}$
\stoptext

The result with the latest ConTeXt version:



GraphiqueCollé-1.pdf
Description: Adobe PDF document


and with the version from a year ago:



GraphiqueCollé-2.pdf
Description: Adobe PDF document


I am aware that I could use \overrightarrow, but I prefer the shape and 
position of the \vec arrow, especially with single letters.



GraphiqueCollé-3.pdf
Description: Adobe PDF document
  

GraphiqueCollé-4.pdf
Description: Adobe PDF document

What is the rationale for the change in \vec? Is there a way to get the 
previous behavior back?

Thanks,

-- 
Jean-Philippe Rey
jean-philippe@centralesupelec.fr
91192 Gif-sur-Yvette Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[Wikimedia-l] Re: Obnoxious fundraisers again: Undismissable notice

2022-12-18 Thread Rey Bueno via Wikimedia-l
Because of that, the proposition still stands, in which anyone can re-post if 
another village pump RfC is ever needed.
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/4I5TCXK2FRZWYAH6JE53TW6KK6SAFZQQ/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


[Wikimedia-l] Re: Obnoxious fundraisers again: Undismissable notice

2022-12-17 Thread Rey Bueno via Wikimedia-l
Here's a proposition for the WMF. 

You can keep the banners as big and as long as you want, but in return you must 
sponsor the next Arch Missions to back contents from top 10 Wikipedias 
(English, Japanese, Russian, French, German, Spanish, Italian, Chinese, Arabic, 
Portuguese) to Moon & beyond. Editors do not get paid from spending so much 
time on Wikipedia, but at least they'll all derive some reward from it.

Context of Arch Mission:
https://www.space.com/40598-lunar-library-wikipedia-astrobotic-moon-mission.html
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/Z63PMAW7ICAPH7XWHMWOUA5JDPKGPTY3/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


[Wikimedia-l] Re: New proposals for new projects Wikilawsuits and Wikitranslations

2022-12-17 Thread Rey Bueno via Wikimedia-l
How about a "true" compendium where articles deleted for notability reasons can 
go to?
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/H452QZRRZUYO4GTJLVGSXZMZW33C3NIG/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


[Wikimedia-l] Re: Long Reddit post laying out inner workings of English Wikipedia

2022-12-15 Thread Rey Bueno via Wikimedia-l
The consequences will be a great sight to behold if ChatGPT reaches superhuman 
sentience and intelligence.
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/Z5MSX2OAR2MPWP5P52HRW2GZ52UI3Z63/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


Re: Help packaging R Quarto Cli

2022-12-15 Thread Sébastien Rey-Coyrehourcq
Hi,

I’m happy to say, Deno is packaged (except the test, see the last conversion on 
this thread) compile and run on my machine :D

┌
│ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno 
--version
│ deno 1.25.2 (release, x86_64-unknown-linux-gnu)
│ v8 10.6.194.5
│ typescript 4.7.4
│ 
│ /-> /gnu/store/xvjymz07g2dy112cz4x6pz7v4q8p7c6a-rust-deno-1.25.2/bin/deno run 
hello-world.js
│ Hello John
│ Hello Sarah
│ Hello Kai
│ 
└

Next steps :
• Packaging Quarto (that need Deno).
• Merge and Cleaning mess with dependency.

If you want to try :
<https://git.sr.ht/~reyman/build-deno-guix>

Best regards,
SR

“Sebastien Rey-Coyrehourcq”  writes:

>
> Le Lundi, Octobre 24, 2022 13:43 CEST, Sébastien Rey-Coyrehourcq 
>  a écrit:
>
>> Hi,
>>
>> I’m trying to package Quarto Cli ( 
>> <https://github.com/quarto-dev/quarto-cli> ), used in combination with 
>> Pandoc to publish -reproducible- scientific document : website, blog, etc.
>>
>> I first think this is a classic gnu build : ./configure && make && make 
>> install BUT, there is a problem because the ./configure script bootstrap 
>> “Deno” during the run of configure.sh.
>>
>> Because this download and compilation of Deno occur during ./configure.sh 
>> running, guix cannot patch the  #!/bin/bash path, so ./configure failed. 
>> Deno seems also not packaged into guix.
>>
>> Do you have an idea to resolve this ? Perhaps we could try all together to 
>> do this.
>>
>> I’m starting with this quarto-cli.scm :
>>
>> ┌
>> │ (use-modules
>> │ (guix packages)
>> │ (guix download)
>> │ (guix build-system gnu)
>> │ (guix licenses)
>> │ )
>> │
>> │ (define-public quarto-cli
>> │   (package
>> │ (name “Quarto-CLI”)
>> │ (version “1.1.251”)
>> │ (source (origin
>> │   (method url-fetch)
>> │   (uri (string-append 
>> “<https://github.com/quarto-dev/quarto-cli/archive/refs/tags/v"version".tar.gz>”))
>> │   (sha256
>> │(base32
>> │ “1ycwrjndrrrciymnm3l0lhcd375fddkvjibvc0n084irg6z1lxn6”
>> │ (build-system gnu-build-system)
>> │ (synopsis “Quarto-cli”)
>> │ (description
>> │  “Quarto-cli description”)
>> │ (home-page “<https://github.com/quarto-dev/quarto-cli>”)
>> │ (license gpl3+)))
>> │ quarto-cli
>> │
>> └
>>
>> To compile and fail :
>> guix build -f quarto-cli.scm
>>
>> Best,
>> Sebastien RC.
>
> Deno contain lot of packages dependencies actually,
> here i comment all packages not packaged in rust after a simple run of guix 
> import …
>
> #+BEGIN_SRC scheme
>
> (use-modules
> (guix packages)
> (guix build-system cargo)
> (guix download)
> (guix licenses)
> (gnu packages rust)
> (gnu packages crates-io)
> )
>
> (define-public rust-deno-1
>   (package
> (name “rust-deno”)
> (version “1.26.2”)
> (source (origin
>   (method url-fetch)
>   (uri (crate-uri “deno” version))
>   (file-name (string-append name “-” version “.tar.gz”))
>   (sha256
>(base32
> “1yzvdkj8sq475kfbkms1lfysjddkfwcyqhp1ggalfbk4hqhbiz29”
> (build-system cargo-build-system)
> (arguments
>  `(#:cargo-inputs ((“rust-atty” ,rust-atty-0.2)
>(“rust-base64” ,rust-base64-0.13)
> ;   (“rust-cache-control” ,rust-cache-control-0.2)
> (“rust-chrono” ,rust-chrono-0.4)
> ;   (“rust-clap” ,rust-clap-3)
> ;   (“rust-clap-complete” ,rust-clap-complete-3)
> ;   (“rust-clap-complete-fig” ,rust-clap-complete-fig-3)
> (“rust-data-url” ,rust-data-url-0.1)
> ;   (“rust-deno-ast” ,rust-deno-ast-0.19)
> ;   (“rust-deno-broadcast-channel” 
> ,rust-deno-broadcast-channel-0.67)
> ;   (“rust-deno-cache” ,rust-deno-cache-0.5)
> ;   (“rust-deno-console” ,rust-deno-console-0.73)
> ;   (“rust-deno-core” ,rust-deno-core-0.155)
> ;   (“rust-deno-core” ,rust-deno-core-0.155)
> ;   (“rust-deno-crypto” ,rust-deno-crypto-0.87)
> ;   (“rust-deno-doc” ,rust-deno-doc-0.46)
> ;   (“rust-deno-emit” ,rust-deno-emit-0.9)
> ;   (“rust-deno-fetch” ,rust-deno-fetch-0.96)
> ;   (“rust-deno-graph” ,rust-deno-graph-0.34)
>

[Wikimedia-l] Re: Long Reddit post laying out inner workings of English Wikipedia

2022-12-14 Thread Rey Bueno via Wikimedia-l
Cool. Sad to see that there's still no viable alternatives ATM, though there's 
some potential in Atsme's Justapedia. The proposed pitch in attracting editors 
by offering knowledge posterity like the disc on Beresheet sounds interesting.
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/T6MLEXT7WMTQ25XMM5Z3FUPAKIH2GQPZ/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


Re: Help packaging R Quarto Cli

2022-12-14 Thread Sébastien Rey-Coyrehourcq
gt; Also, the git-fetch issues will become nonexistent if you manage to do
> it this way :)
>

I will revert my code to manage the deno compilation without test phase.
My objective is quarto, and i don’t know much about the next obstacle :)
I see later for this nested crate.

> Since your rust-deno recipe uses `(method url-fetch)` with
> `(crate-uri)`, I’m starting to wonder if the tarball that’s being used
> in this case contains exactly the same files as the git checkout. I
> earlier assumed that it does when I suggested reusing the origin in
> your rust-deno-test-util recipe. But perhaps it doesn’t? I could
> imagine deno devs omitting e.g. `test_util/` from the source tarball
> they upload to the crates repo.:

As <https://github.com/denoland/deno/blob/v1.25.2/Cargo.toml#L5> say, the 
`deno_root_package/test_util/' folder is well downloaded even with `method 
url-fetch'

>
>> How do you reference/call/reuse a package that already exist in your 
>> /gnu/store in a .scm file ?
>
> You don’t :)
>
> That’s the point of a functional package manager - there’s never need
> to *explicitly* reference files in the store. They are always referenced
> indirectly through packages, derivations, plain-file’s, gexps, etc. And
> they get created or reused automatically.
>

So you directly say into the scm, passing this unique path 
`/gnu/store/x-deno-util-1-0-1' to input function ??

Thanks for your support and your kind word, that help me to continue :)

Best

> Wojtek
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #25: blessed Maksymilian Binkiewicz
> Poznaj świętych krakowskich!  #25: błogosławiony Maksymilian Binkiewicz
> <https://pl.wikipedia.org/wiki/Maksymilian_Binkiewicz>
> – (sig_end)
>
>
> On Wed, 14 Dec 2022 17:16:45 +0100
> Sébastien Rey-Coyrehourcq  wrote:
>
>> Wojtek Kosior  writes:
>>
>>
>> > Hello again
>> >
>> > I am impressed with your determination :)
>> >
>>
>> thx :D
>>
>> > I see most packages in Guix that use `(method git-fetch)` also use
>> > `(file-name (git-file-name name version))` in `(origin)`.
>> >
>> > Note that this only affects the name under which the git checkout is
>> > saved. Whether the source checkout directory under `/gnu/store` is
>> > named `8479xfpn9hp2b3kc9d3596kpncan9d8w-rust-deno-test-util-0.1.0.tar.gz/`
>> > or something else should not be relevant to the build.
>> >
>>
>> Yes, you’re right i correct this thing, but this is weird in all case, here i
> clone all deno repository (at tag v1.25.2), and this is renamed as
> `deno-test-util-checkout-0-1-0’ because i’m only interested by this folder
>>
>> <https://git.sr.ht/~reyman/rust-channel/commit/00e9ef93bbe5a853b8a196305b6d86451c036156>
>>
>> I found only one crate that use this method `git-fetch’ in the list :
>> <https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/crates-io.scm#n1576>
>>
>> So i suppose this is possible to reuse as a dependency in another build…
>>
>> This is an intuition but i think i have a problem of ordering in my way to 
>> do things :
>>
>> When i read the `cargo-build-system’ sources here (
> <https://github.com/ecbrown/guix/blob/master/guix/build/cargo-build-system.scm#L76>
> ) i see that the build input wait for an /gnu/store link that contain a 
> `.crate’
> or the equivalent as `tar.gz’
>>
>> Or in my case, the /gnu/store link called by cargo contain only sources,
> because the `deno-util’ need to be built before creating .crate into the
> gnu/store. Perhaps i could cheating the system by providing myself a
> `gnu/store/.tar.gz’ that contain this sources.
>>
>> Inside my `rust-deno-test-util-1-0-0.scm` file i could `(invoke tar …)’
> command to generate a tar.gz at the root of the this folder. Do you think that
> could work ?
>>
>> Hum, not sure … the real problem is the fact that guix don’t build the
> derivation completely? (creating and storing a .crate for deno-test-util-0-1-0
> into /gnu/store) when i run build of main rust-deno.scm … only the source are
> present, and not the package resulting from the build of this derivation.
>>
>> Another way is to first compile deno-test-util.scm, that install the
> corresponding crate into /gnu/store, and after that i give this local path to
> the inputs of my main rust-deno.scm . But i don’t know how to give this path 
> to
> my cargo build system input . How do you reference/call/reuse a package that
> already ex

[Wikimedia-l] Re: Long Reddit post laying out inner workings of English Wikipedia

2022-12-14 Thread Rey Bueno via Wikimedia-l
The last part of the great wall of text appears to persuade him to invest in 
alternatives instead of buying Wikipedia. For him Wiki is like a sole 
McDonald's in a food dessert, and that the solution is to open new 
"restaurants".
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/6LNO3HAMIVCEXO7PBMZGRAOG2JGGI4IW/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


[Wikimedia-l] Re: Long Reddit post laying out inner workings of English Wikipedia

2022-12-14 Thread Rey Bueno via Wikimedia-l
"A lot of it is fairly obvious"

So all the problems he described are already an open secret here, right? If so 
then that's disheartening.
___
Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: 
https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and 
https://meta.wikimedia.org/wiki/Wikimedia-l
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/S4U5HAWKEV2PQP6DYPM72J6GO7E45T6T/
To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org


Re: Help packaging R Quarto Cli

2022-12-14 Thread Sébastien Rey-Coyrehourcq
Wojtek Kosior  writes:


> Hello again
>
> I am impressed with your determination :)
>

thx :D

> I see most packages in Guix that use `(method git-fetch)` also use
> `(file-name (git-file-name name version))` in `(origin)`.
>
> Note that this only affects the name under which the git checkout is
> saved. Whether the source checkout directory under `/gnu/store` is
> named `8479xfpn9hp2b3kc9d3596kpncan9d8w-rust-deno-test-util-0.1.0.tar.gz/`
> or something else should not be relevant to the build.
>

Yes, you’re right i correct this thing, but this is weird in all case, here i 
clone all deno repository (at tag v1.25.2), and this is renamed as 
`deno-test-util-checkout-0-1-0' because i’m only interested by this folder

<https://git.sr.ht/~reyman/rust-channel/commit/00e9ef93bbe5a853b8a196305b6d86451c036156>

I found only one crate that use this method `git-fetch' in the list :
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/crates-io.scm#n1576>

So i suppose this is possible to reuse as a dependency in another build…

This is an intuition but i think i have a problem of ordering in my way to do 
things :

When i read the `cargo-build-system' sources here ( 
<https://github.com/ecbrown/guix/blob/master/guix/build/cargo-build-system.scm#L76>
 ) i see that the build input wait for an /gnu/store link that contain a 
`.crate' or the equivalent as `tar.gz'

Or in my case, the /gnu/store link called by cargo contain only sources, 
because the `deno-util' need to be built before creating .crate into the 
gnu/store. Perhaps i could cheating the system by providing myself a 
`gnu/store/.tar.gz' that contain this sources.

Inside my `rust-deno-test-util-1-0-0.scm` file i could  `(invoke tar ...)' 
command to generate a tar.gz at the root of the this folder. Do you think that 
could work ?

Hum, not sure … the real problem is the fact that guix don’t build the 
derivation completely? (creating and storing a .crate for deno-test-util-0-1-0 
into /gnu/store) when i run build of main rust-deno.scm … only the source are 
present, and not the package resulting from the build of this derivation.

Another way is to first compile deno-test-util.scm, that install the 
corresponding crate into /gnu/store, and after that i give this local path to 
the inputs of my main rust-deno.scm . But i don’t know how to give this path to 
my cargo build system input . How do you reference/call/reuse a package that 
already exist in your /gnu/store in a .scm file ?

> Although I doubt I will be able to help with no knowledge of Rust, I’ll
> at least suggest that you attach the full rust-deno build logs here.
> This will perhaps at least enable others to help (the time needed to
> build it all does scare away!).
>
> Btw, it seems awkward to be required to provide the test_util package
> as a separate crate. I’d rather imagine Deno devs somehow using the
> test_util sources already in the deno tree.
>

Yeah, but now it’s packaged and the package compile, i try one more time like 
that :D

> Have you tried fiddling around inside the build container? If not, you
> may want to look at this manual node[1]. Perhaps after running some of
> the build commands manually you’ll get better ideas?

Thanks i will look on that
>
> At the end, in the worst case, you could resort to disabling tests for
> the package. Nobody likes this “solution” but sometimes it is the only
> way to go ¯\_(ツ)_/¯

Ahah right, i probably do that if i want to finish in 2022 :D

Best,
Sébastien Rey-Coyrehourcq

>
> Good luck,
> Wojtek
>
> [1] <https://guix.gnu.org/manual/en/html_node/Debugging-Build-Failures.html>
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #24: blessed Ludwik Pius Bartosik
> Poznaj świętych krakowskich!  #24: błogosławiony Ludwik Pius Bartosik
> <https://pl.wikipedia.org/wiki/Ludwik_Pius_Bartosik>
> – (sig_end)
>
>
> On Wed, 14 Dec 2022 11:30:16 +0100
> Sébastien Rey-Coyrehourcq  wrote:
>
>> Hi,
>>
>> After two weeks of suffering and pain with this complex rust packaging, and
>> thanks to people on the libera #guix chat, my “rust packaging adventure” is
>> near ending… at least with deno, i see quarto after that…
>>
>> Everything compile by parts, and i need a final help to merge things.
>>
>> I only have a problem at `testing-phase’, with a local rust package defined 
>> on Deno `/test_util’ folder. This package is not published at all on 
>> crates.io and it’s needed at test-phase…
>>
>> This nested crate package is not detected/compiled by actual 
>> `cargo-build-system’, so i decide to package it myself , as 
>&g

Re: Help packaging R Quarto Cli

2022-12-14 Thread Sébastien Rey-Coyrehourcq
Hi,

After two weeks of suffering and pain with this complex rust packaging, and 
thanks to people on the libera #guix chat, my “rust packaging adventure” is 
near ending… at least with deno, i see quarto after that…

Everything compile by parts, and i need a final help to merge things.

I only have a problem at `testing-phase', with a local rust package defined on 
Deno `/test_util' folder. This package is not published at all on crates.io and 
it’s needed at test-phase…

This nested crate package is not detected/compiled by actual 
`cargo-build-system', so i decide to package it myself , as 
`rust-deno-test-util-0.1.0'

I tested and this crate compile well, with two derivation :

• `/gnu/store/ma04jfp0f33kf38cdn66qai60nhqxx7d-rust-deno-test-util-0.1.0/'
• `/gnu/store/zp5flzykz7y5n35kqrlryqkynvrvcw3z-rust-deno-test-util-0.1.0.drv'

`/gnu/store/ma04jfp0f33kf38cdn66qai60nhqxx7d-rust-deno-test-util-0.1.0/share/cargo/registry/'
  contain the test_util-0.1.0.crate

So … i added this *.scm* to my *deno/deno-dep* list of package in the 
*rust-channel* needed by deno to compile :
<https://git.sr.ht/~reyman/rust-channel/tree/543fee4cc3626ae27da5b41a7884cecb71b9dcf8/item/deno-dep/rust-deno-test-util-0-1-0.scm>

*My problem is simple?* i added this crate as a dependency of my main 
`rust-deno.scm' :
• `#:use-module (deno-dep rust-deno-test-util-0-1-0)'
• `#:cargo-development-inputs `((("rust-deno-test-util", 
rust-deno-test-util-0.1.0) ... )'

BUT BUT BUT … rust-deno-test-util is not found and not added to `/guix-vendor' 
during deno crate retrieval, so there is a problem somewhere during packaging 
retrieval from local `/gnu/store'. I found in the log that

`/gnu/store/8479xfpn9hp2b3kc9d3596kpncan9d8w-rust-deno-test-util-0.1.0.tar.gz/' 
 contain the sources and not a `tar.gz' like others crates. I suppose this is 
part of the problem, but i don’t know how to solve that.

See by yourself using :

guix time-machine -C channels.scm – build -f rust-deno.scm

that return :

error: no matching package named `deno_test_util` found

**Info to reproduce**

• All these package needed by Deno are defined into my-rust channel here : 
<https://git.sr.ht/~reyman/rust-channel>
• The building and channel scm needed to build deno are here : 
<https://git.sr.ht/~reyman/build-deno-guix>
• /Final Warning :/ Deno build (outside rust build) take at least 2 hours on my 
machine, rusty-v8 is huge and take itself ~30 to 45 minutes.

Any *final* help appreciated !

Best ,
Sébastien Rey-Coyrehourcq


Sébastien Rey-Coyrehourcq  writes:

>
> Hi,
>
> Thanks a lot, that helps me to make one more step :)
>
> I set :
>
> ┌
> │ (arguments
> │ `(#:phases
> │(modify-phases %standard-phases
> │  (add-before ’configure ’set-source
> │(lambda _
> │  (setenv “V8_FROM_SOURCE” “1”)
> │  (setenv “RUST_BACKTRACE” “1”)
> │  (setenv “CLANG_BASE_PATH” (getenv “CMAKE_PREFIX_PATH”))
> │  #t)))
> └
>
> I also try C_INCLUDE_PATH
>
> and native input :
>
> ┌
> │ (native-inputs (list ninja gn clang-toolchain ccache clang))
> └
>
> I have now another problem during compilation of v8, i don’t understand why 
> “clang” path is not well recognized by the buildscript, test is defined here :
>
> <https://github.com/denoland/rusty_v8/blob/main/build.rs#L517>
>
> The backtrace :
>
> error: failed to run custom build command for `v8 v0.49.0`
>
> Caused by:
>   process didn’t exit successfully: 
> `/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/v8-bbb68ec56db1d802/build-script-build`
>  (exit status: 101)
>   — stdout
>   cargo:rerun-if-changed=.gn
>   cargo:rerun-if-changed=BUILD.gn
>   cargo:rerun-if-changed=src/binding.cc
>   cargo:rerun-if-env-changed=CCACHE
>   cargo:rerun-if-env-changed=CLANG_BASE_PATH
>   cargo:rerun-if-env-changed=DENO_TRYBUILD
>   cargo:rerun-if-env-changed=DOCS_RS
>   cargo:rerun-if-env-changed=GN
>   cargo:rerun-if-env-changed=GN_ARGS
>   cargo:rerun-if-env-changed=HOST
>   cargo:rerun-if-env-changed=NINJA
>   cargo:rerun-if-env-changed=OUT_DIR
>   cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE
>   cargo:rerun-if-env-changed=RUSTY_V8_MIRROR
>   cargo:rerun-if-env-changed=SCCACHE
>   cargo:rerun-if-env-changed=V8_FORCE_DEBUG
>   cargo:rerun-if-env-changed=V8_FROM_SOURCE
>   cargo:rustc-link-lib=static=rusty_v8
>   using Chromiums clang
>   clang_base_path 
> /tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/clang
>
> — stderr
> thread ’main’ panicked at ’called `Result::unwrap()` on an `Err` value: Os { 
> code: 2, kind: NotFound, message: “No such file or directory” }’, 
> /tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/guix-vendor/rust-v8-0.49.0.tar.gz/build.rs:537

[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/

2022-12-10 Thread Jesús P Rey
commit: 2b3dbacad0149566d518e20c99ea5dc249b85dba
Author: Jesus P Rey (Chuso)  chuso  net>
AuthorDate: Sat Dec 10 18:35:07 2022 +
Commit: Jesús P Rey  chuso  net>
CommitDate: Sat Dec 10 18:38:42 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b3dbaca

app-crypt/autofirma: 1.7.1 version bump

Signed-off-by: Jesus P Rey (Chuso)  chuso.net>

 app-crypt/autofirma/Manifest   |  2 +-
 .../{autofirma-1.6.5-r1.ebuild => autofirma-1.7.1.ebuild}  | 10 +++---
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index 2db192482..b8cbdd610 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1 +1 @@
-DIST autofirma-1.6.5.zip 155509984 BLAKE2B 
cc5def6ff029d3e1799485a25035ae95e6da03c11bb7186eab01adf55e4457de00ffcff6cb79129c4ad98e5024b79625ace70c41507825f706dff992f8c3408c
 SHA512 
927b67a93c111f1d040e38d26122f7a9d7b8d41599da776fa2895fd97409696d4a97663f4b5b4fea32e6d613e21f104cabd2c860f719954cf954e081dc3a727d
+DIST autofirma-1.7.1.zip 152716878 BLAKE2B 
d985bfa71ce1b4318a50fc4c93b1a85a388de445f8e4a18c7e616988955b94ac79e73a7fb4e3c202cf303255cb497679eaeb7b2546c08f3e3974d440e793ce12
 SHA512 
52098e74537dea9b72be8f4b2b05c2c57ed79f0c496ff5a4c4e1ddfe88fab528b2e9a237d9c8f0151bc499687a6fc2966227d6b3f2cae2943d7c772b9286755b

diff --git a/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild 
b/app-crypt/autofirma/autofirma-1.7.1.ebuild
similarity index 66%
rename from app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
rename to app-crypt/autofirma/autofirma-1.7.1.ebuild
index 0a6f2d76d..c0886964f 100644
--- a/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
+++ b/app-crypt/autofirma/autofirma-1.7.1.ebuild
@@ -10,11 +10,9 @@ HOMEPAGE="
https://administracionelectronica.gob.es/ctt/clienteafirma
https://github.com/ctt-gob-es/clienteafirma
 "
-#TODO: use ver_split instead of hardcoded 1/6/5
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/1/6/5/AutoFirma_Linux.zip
 -> ${P}.zip"
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- 
/)/AutoFirma_Linux.zip -> ${P}.zip"
 
-#TODO: investigate and fix licenses 
https://github.com/ctt-gob-es/clienteafirma/blob/master/license/LICENSE.txt
-LICENSE="|| ( GPL-2+ EUPL-1.1 )"
+LICENSE="|| ( GPL-2 EUPL-1.1 )"
 SLOT="0"
 KEYWORDS="~amd64"
 
@@ -25,15 +23,13 @@ S=${WORKDIR}
 
 src_unpack() {
default
-   rpm_unpack "./${P}-1.noarch.rpm"
+   rpm_unpack "./${P}-1.noarch_FEDORA.rpm"
 }
 
 src_install() {
-   #TODO: use $(get_libdir) or mask non ~amd64 arches
java-pkg_dojar "usr/lib64/${PN}/${PN}.jar"
java-pkg_dolauncher
java-pkg_dojar "usr/lib64/${PN}/${PN}Configurador.jar"
-   #TODO: icons in /lib are suspect
doicon "usr/lib64/${PN}/${PN}.png"
make_desktop_entry "${PN} %u" AutoFirma "${PN}" "Utility" 
"Comment[es]=Aplicación de firma electrónica de la 
FNMT\nMimeType=x-scheme-handler/afirma"
 }



Re: Help packaging R Quarto Cli

2022-11-25 Thread Sébastien Rey-Coyrehourcq
Hi,

Thanks a lot, that helps me to make one more step :)

I set :

┌
│ (arguments
│ `(#:phases
│(modify-phases %standard-phases
│  (add-before 'configure 'set-source
│(lambda _
│  (setenv "V8_FROM_SOURCE" "1")
│  (setenv "RUST_BACKTRACE" "1")
│  (setenv "CLANG_BASE_PATH" (getenv "CMAKE_PREFIX_PATH"))
│  #t)))
└

I also try C_INCLUDE_PATH

and native input :

┌
│   (native-inputs (list ninja gn clang-toolchain ccache clang))
└

I have now another problem during compilation of v8, i don’t understand why 
“clang” path is not well recognized by the buildscript, test is defined here :

<https://github.com/denoland/rusty_v8/blob/main/build.rs#L517>

The backtrace :

error: failed to run custom build command for `v8 v0.49.0`

Caused by:
  process didn’t exit successfully: 
`/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/v8-bbb68ec56db1d802/build-script-build`
 (exit status: 101)
  — stdout
  cargo:rerun-if-changed=.gn
  cargo:rerun-if-changed=BUILD.gn
  cargo:rerun-if-changed=src/binding.cc
  cargo:rerun-if-env-changed=CCACHE
  cargo:rerun-if-env-changed=CLANG_BASE_PATH
  cargo:rerun-if-env-changed=DENO_TRYBUILD
  cargo:rerun-if-env-changed=DOCS_RS
  cargo:rerun-if-env-changed=GN
  cargo:rerun-if-env-changed=GN_ARGS
  cargo:rerun-if-env-changed=HOST
  cargo:rerun-if-env-changed=NINJA
  cargo:rerun-if-env-changed=OUT_DIR
  cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE
  cargo:rerun-if-env-changed=RUSTY_V8_MIRROR
  cargo:rerun-if-env-changed=SCCACHE
  cargo:rerun-if-env-changed=V8_FORCE_DEBUG
  cargo:rerun-if-env-changed=V8_FROM_SOURCE
  cargo:rustc-link-lib=static=rusty_v8
  using Chromiums clang
  clang_base_path 
/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/clang

— stderr
thread ’main’ panicked at ’called `Result::unwrap()` on an `Err` value: Os { 
code: 2, kind: NotFound, message: “No such file or directory” }’, 
/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/guix-vendor/rust-v8-0.49.0.tar.gz/build.rs:537:6
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: core::result::Result::unwrap
   4: build_script_build::clang_download
   5: build_script_build::build_v8
   6: build_script_build::main
   7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose 
backtrace.

Best,


Wojtek Kosior  writes:

>> Hi,
>>
>> You’re both right, seems there is a flag to skip binary downloading and
>> compile the V8 lib.
>>
>> […]
>
> Good to see you found it :)
>
>> So, my packaging friend :), what’s the best way to push an “export
>> V8_FROM_SOURCE=1” or something like that into my rust-deno.scm ?
>>
>> Best,
>>
>> SR
>
> When I first read your question, I did not know the exact function. But
> I knew where to look. So I thought I’d better share my way of learning
> rather than just the solution ;)
>
> I started with
>
> grep -R ’export’ 
> ~/.config/guix/current/share/guile/site/3.0/gnu/packages/ | less
>
> That showed a lot of results. I noticed a line like this
>
>> /home/urz/.config/guix/current/share/guile/site/3.0/gnu/packages/engineering.scm:
>>  (setenv “HOME” (getcwd)) ;; cmake needs this to export modules
>
> Thought it might be the thing I was looking for, so I did
>
> less 
> /home/urz/.config/guix/current/share/guile/site/3.0/gnu/packages/engineering.scm
>
> and navigated to this line. This seems to be it. The (setenv) function.
> Can be used as from a modified packaging phase function (as you can see
> in engineering.scm).
>
> Hope I helped. Good luck once again!
>
> W.
>
> P.S. Make sure you know some ’less’ shortcuts if you’re going to do
>  things this way. It cad speed things up ^^
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #12: saint Jadwiga Andegaweńska
> Poznaj świętych krakowskich!  #12: święta Jadwiga Andegaweńska
> <https://pl.wikipedia.org/wiki/Jadwiga_Andegaweńska>
> – (sig_end)
>
>
> On Wed, 16 Nov 2022 21:38:47 +0100
> Sebastien Rey-Coyrehourcq  wrote:
>
>> Hi,
>>
>> You’re both right, seems there is a flag to skip binary downloading and
>> compile the V8 lib.
>>
>>  From the githubpage (<https://github.com/denoland/rusty_v8>) : “V8 is
>> very large and takes a long time to compile. Many users will prefer to
>> use a prebuilt version of V8. We publish static libs for every version
>

Re: [LincolnTalk] Black Lives Matter sign vandalized

2022-11-16 Thread Rey Rey Romero
1. Dont ever not speak your mind.
I think it's important to and more importantly to understand other's
perspectives and vice-versa.
My suggestion in the vandalism is to get a solar powered security camera,
set it to motion sensor.  They're very inexpensive nowadays.

Im sorry you went through what you did, but we can't be quick to assume, as
other's may do to us, without evidence. As cheesy as it sounds, we must
become the change we want to see and treat others how we want to be
treated.  Generally speaking.

Good luck & stay strong
Rey

On Wed, Nov 16, 2022, 11:50 AM Katrin Roush  wrote:

> Thank you all for both the love and the hate messages I received about the
> BLM sign vandalism. Now I am more informed and glad that I chose speak out.
> Much progress needs to be made for our children’s future.
>
> Peace,
>
> Kat Chapman
>
> Sent from my iPhone
>
> On Nov 16, 2022, at 11:31 AM, john gregg  wrote:
>
> 
> Come on now, so this has to do with white supremacy and Donald Trump.
> Before you start making such claims you had better be ready to back it up
> considering signs were taken down that supported candidates with whom
> people in this community disagree with both at 117 and the Trapelo Road
> intersection. And lets also not forget the sign at the 150 ft boundary of
> the election which said "Preserve, Protect and Defend DEMOCRACY Save the
> soul of our Nation ELECT DEMOCRATS"...and then went on to claim
> that anyone who dared vote against a Democrat or questions election
> integrity is a "FAR-RIGHT Extremist & MAGA Fascist"and then
> claims of "INTIMIDATION of VOTERS and election officials". That is by
> definition INTIMIDATION at the voting polls and by definition supporting
> Autocracy as only one party can rule with the morals and integrity some
> claim to support.
>
>
> https://www.npr.org/2022/04/07/1091487910/blm-leaders-face-questions-after-allegedly-buying-a-mansion-with-donation-money
>
> BLM spent at least $12M on luxury properties in LA, Toronto: tax filing
> <https://nypost.com/2022/05/17/black-lives-matter-spent-at-least-12-million-on-mansions/>
>
> BLM spent at least $12M on luxury properties in LA, Toronto: tax filing
>
> Black Lives Matter spent millions on luxury properties in Los Angeles and
> Toronto, according to the first public...
>
> <https://nypost.com/2022/05/17/black-lives-matter-spent-at-least-12-million-on-mansions/>
>
>
>
> Now no one should be taking down anyone's private property but people can
> disagree whether BLM is an actual upstanding and law abiding group when
> people who supported BLM burned down blocks of Cities including a Federal
> Court House, a Police Station, and a Post Office, also torched tax payer
> funded police cars and threatened police officers. But if you dig deeper
> into BLM as a tax exempt organization and the leaders of this group
> specifically Patrisse Cullors have siphoned off MILLIONS of dollars to fund
> Estates in California and Toronto Canada I think some people could disagree
> whether the group and slogan really have done what they said they stand up
> for. My guess is some HS kids looking for trouble, report it to the police
> and put your sign back up. But let's not virtue signal and place the blame
> on Trump or anyone else with whom you do not like just because it is a
> convenient shot.
>
> Thanks,
>
> John Gregg
> On Wednesday, November 16, 2022 at 09:20:50 AM EST, Katrin Roush <
> katrinmu...@gmail.com> wrote:
>
>
> Last night we heard erratic driving/wheel screeching outside of our home
> on Old Sudbury Rd. This morning we found our Black Lives Matter sign run
> over and deep tire marks where the truck bowled over the sign and our snow
> stakes. It was reported and I do believe there is no coincidence it
> happened shortly after Trump announced his presidential run.
>
> The sign is going back up
>
> Peace,
>
> Kat Chapman
>
> Sent from my iPhone
> --
> The LincolnTalk mailing list.
> To post, send mail to Lincoln@lincolntalk.org.
> Search the archives at http://lincoln.2330058.n4.nabble.com/.
> Browse the archives at https://pairlist9.pair.net/mailman/private/lincoln/
> .
> Change your subscription settings at
> https://pairlist9.pair.net/mailman/listinfo/lincoln.
>
> --
> The LincolnTalk mailing list.
> To post, send mail to Lincoln@lincolntalk.org.
> Search the archives at http://lincoln.2330058.n4.nabble.com/.
> Browse the archives at https://pairlist9.pair.net/mailman/private/lincoln/
> .
> Change your subscription settings at
> https://pairlist9.pair.net/mailman/listinfo/lincoln.
>
>
-- 
The LincolnTalk mailing list.
To post, send mail to Lincoln@lincolntalk.org.
Search the archives at http://lincoln.2330058.n4.nabble.com/.
Browse the archives at https://pairlist9.pair.net/mailman/private/lincoln/.
Change your subscription settings at 
https://pairlist9.pair.net/mailman/listinfo/lincoln.



Re: Help packaging R Quarto Cli

2022-11-16 Thread Sebastien Rey-Coyrehourcq

Hi,

You're both right, seems there is a flag to skip binary downloading and 
compile the V8 lib.


From the githubpage (https://github.com/denoland/rusty_v8) : "V8 is 
very large and takes a long time to compile. Many users will prefer to 
use a prebuilt version of V8. We publish static libs for every version 
of rusty v8 on Github <https://github.com/denoland/rusty_v8/releases>.


Binaries builds are turned on by default: |cargo build| will initiate a 
download from github to get the static lib. To disable this build using 
the |V8_FROM_SOURCE| environmental variable.


When making changes to rusty_v8 itself, it should be tested by build 
from source. The CI always builds from source"


So, my packaging friend :), what's the best way to push an "export 
V8_FROM_SOURCE=1" or something like that into my rust-deno.scm ?


Best,

SR

Le 15/11/2022 à 08:58, Efraim Flashner a écrit :

On Mon, Nov 14, 2022 at 11:30:47PM +0100, Sébastien Rey-Coyrehourcq wrote:

Hi,

After some day of packaging rust crate, i progress and deno start to compile … 
but after 1min i have this error when cargo start compiling *rust-v8-0.49* . 
Any rust + guix help appreciated.

I push the channel to reproduce the problem here :

The rust scm repo : git.sr.ht:~reyman/rust-channel
Channel info to put into *channels.scm* :<https://paste.debian.net/1260722>
The *rust-deno.scm* file to build :<https://paste.debian.net/1260723>
The command : guix time-machine -C channels.scm – build -f rust-deno.scm

And the rust error :

—

error: failed to run custom build command for `v8 v0.49.0`

Caused by:
   process didn’t exit successfully: 
`/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/v8-bbb68ec56db1d802/build-script-build`
 (exit status: 101)
   — stdout
   cargo:rerun-if-changed=.gn
   cargo:rerun-if-changed=BUILD.gn
   cargo:rerun-if-changed=src/binding.cc
   cargo:rerun-if-env-changed=CCACHE
   cargo:rerun-if-env-changed=CLANG_BASE_PATH
   cargo:rerun-if-env-changed=DENO_TRYBUILD
   cargo:rerun-if-env-changed=DOCS_RS
   cargo:rerun-if-env-changed=GN
   cargo:rerun-if-env-changed=GN_ARGS
   cargo:rerun-if-env-changed=HOST
   cargo:rerun-if-env-changed=NINJA
   cargo:rerun-if-env-changed=OUT_DIR
   cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE
   cargo:rerun-if-env-changed=RUSTY_V8_MIRROR
   cargo:rerun-if-env-changed=SCCACHE
   cargo:rerun-if-env-changed=V8_FORCE_DEBUG
   cargo:rerun-if-env-changed=V8_FROM_SOURCE
   cargo:rustc-link-lib=static=rusty_v8
   download lockfile: 
“/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/lib_download.fslock”
   static lib 
URL:<https://github.com/denoland/rusty_v8/releases/download/v0.49.0/librusty_v8_release_x86_64-unknown-linux-gnu.a>
   
cargo:rustc-link-search=/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/gn_out/obj
   
Downloading<https://github.com/denoland/rusty_v8/releases/download/v0.49.0/librusty_v8_release_x86_64-unknown-linux-gnu.a>
   Python downloader failed, trying with curl.

Looks like you need to patch rust-v8-0.49 to not try to download
librusty_v8_release... but instead you'll have to build it from source
and let it know where to find it.


   — stderr
   thread ’main’ panicked at ’called `Result::unwrap()` on an `Err` value: Os { 
code: 2, kind: NotFound, message: “No such file or directory” }’, 
/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/guix-vendor/rust-v8-0.49.0.tar.gz/build.rs:405:10
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish…
error: build failed
error: in phase ’build’: uncaught exception:
%exception #< program: “cargo” arguments: (“build” “–release”) 
exit-status: 101 term-signal: #f stop-signal: #f>
phase `build’ failed after 105.5 seconds
command “cargo” “build” “–release” failed with status 101
builder for `/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv’ 
failed with exit code 1
la compilation de 
/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv a échoué
Vous trouverez le journal de compilation dans « 
/var/log/guix/drvs/g4/m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv.gz ».
guix build: erreur : build of 
`/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv’ failed




Re: [LincolnTalk] Black Lives Matter sign vandalized

2022-11-16 Thread Rey Rey Romero
Who said, " we can live cautiously, but don't be an ass by assuming"?

On Wed, Nov 16, 2022, 12:28 PM dean stillings 
wrote:

> I believe Rodney King said “Can’t we all get along”.   Vandalism is going
> to happen on any side.  It is unfortunate and a reality. Let’s try to find
> common ground and be respectful and civil.
> Thank you
> Dean
>
> On Wed, Nov 16, 2022 at 10:38 AM Katrin Roush 
> wrote:
>
>> There is only one side of racism. There is only one side
>>
>> Sent from my iPhone
>>
>> On Nov 16, 2022, at 10:28 AM, Vicki Konstandakis 
>> wrote:
>>
>> 
>> Sadly this happens on both sides of the fence.  My car was keyed on both
>> passenger side as well as drivers side.  I usually stay quiet but respect
>> and civility is challenged in our world.
>>
>> On Wed, Nov 16, 2022 at 9:42 AM Forest Brown 
>> wrote:
>>
>>> I am so sorry to hear that happened. I also found a raw egg thrown into
>>> my mailbox yesterday after dark on Sandy Pond Rd.
>>>
>>> > On Nov 16, 2022, at 9:20 AM, Katrin Roush 
>>> wrote:
>>> >
>>> > Last night we heard erratic driving/wheel screeching outside of our
>>> home on Old Sudbury Rd. This morning we found our Black Lives Matter sign
>>> run over and deep tire marks where the truck bowled over the sign and our
>>> snow stakes. It was reported and I do believe there is no coincidence it
>>> happened shortly after Trump announced his presidential run.
>>> >
>>> > The sign is going back up
>>> >
>>> > Peace,
>>> >
>>> > Kat Chapman
>>> >
>>> > Sent from my iPhone
>>> > --
>>> > The LincolnTalk mailing list.
>>> > To post, send mail to Lincoln@lincolntalk.org.
>>> > Search the archives at http://lincoln.2330058.n4.nabble.com/.
>>> > Browse the archives at
>>> https://pairlist9.pair.net/mailman/private/lincoln/.
>>> > Change your subscription settings at
>>> https://pairlist9.pair.net/mailman/listinfo/lincoln.
>>> >
>>>
>>
>>> --
>>> The LincolnTalk mailing list.
>>> To post, send mail to Lincoln@lincolntalk.org.
>>> Search the archives at http://lincoln.2330058.n4.nabble.com/.
>>> Browse the archives at
>>> https://pairlist9.pair.net/mailman/private/lincoln/.
>>> Change your subscription settings at
>>> https://pairlist9.pair.net/mailman/listinfo/lincoln.
>>>
>>> --
>> The LincolnTalk mailing list.
>> To post, send mail to Lincoln@lincolntalk.org.
>> Search the archives at http://lincoln.2330058.n4.nabble.com/.
>> Browse the archives at
>> https://pairlist9.pair.net/mailman/private/lincoln/.
>> Change your subscription settings at
>> https://pairlist9.pair.net/mailman/listinfo/lincoln.
>>
>> --
> The LincolnTalk mailing list.
> To post, send mail to Lincoln@lincolntalk.org.
> Search the archives at http://lincoln.2330058.n4.nabble.com/.
> Browse the archives at https://pairlist9.pair.net/mailman/private/lincoln/
> .
> Change your subscription settings at
> https://pairlist9.pair.net/mailman/listinfo/lincoln.
>
>
-- 
The LincolnTalk mailing list.
To post, send mail to Lincoln@lincolntalk.org.
Search the archives at http://lincoln.2330058.n4.nabble.com/.
Browse the archives at https://pairlist9.pair.net/mailman/private/lincoln/.
Change your subscription settings at 
https://pairlist9.pair.net/mailman/listinfo/lincoln.



Re: Help packaging R Quarto Cli

2022-11-14 Thread Sébastien Rey-Coyrehourcq
Hi,

After some day of packaging rust crate, i progress and deno start to compile … 
but after 1min i have this error when cargo start compiling *rust-v8-0.49* . 
Any rust + guix help appreciated.

I push the channel to reproduce the problem here :

The rust scm repo : git.sr.ht:~reyman/rust-channel
Channel info to put into *channels.scm* : <https://paste.debian.net/1260722>
The *rust-deno.scm* file to build : <https://paste.debian.net/1260723>
The command : guix time-machine -C channels.scm – build -f rust-deno.scm

And the rust error :

—

error: failed to run custom build command for `v8 v0.49.0`

Caused by:
  process didn’t exit successfully: 
`/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/v8-bbb68ec56db1d802/build-script-build`
 (exit status: 101)
  — stdout
  cargo:rerun-if-changed=.gn
  cargo:rerun-if-changed=BUILD.gn
  cargo:rerun-if-changed=src/binding.cc
  cargo:rerun-if-env-changed=CCACHE
  cargo:rerun-if-env-changed=CLANG_BASE_PATH
  cargo:rerun-if-env-changed=DENO_TRYBUILD
  cargo:rerun-if-env-changed=DOCS_RS
  cargo:rerun-if-env-changed=GN
  cargo:rerun-if-env-changed=GN_ARGS
  cargo:rerun-if-env-changed=HOST
  cargo:rerun-if-env-changed=NINJA
  cargo:rerun-if-env-changed=OUT_DIR
  cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE
  cargo:rerun-if-env-changed=RUSTY_V8_MIRROR
  cargo:rerun-if-env-changed=SCCACHE
  cargo:rerun-if-env-changed=V8_FORCE_DEBUG
  cargo:rerun-if-env-changed=V8_FROM_SOURCE
  cargo:rustc-link-lib=static=rusty_v8
  download lockfile: 
“/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/lib_download.fslock”
  static lib URL: 
<https://github.com/denoland/rusty_v8/releases/download/v0.49.0/librusty_v8_release_x86_64-unknown-linux-gnu.a>
  
cargo:rustc-link-search=/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/gn_out/obj
  Downloading 
<https://github.com/denoland/rusty_v8/releases/download/v0.49.0/librusty_v8_release_x86_64-unknown-linux-gnu.a>
  Python downloader failed, trying with curl.

  — stderr
  thread ’main’ panicked at ’called `Result::unwrap()` on an `Err` value: Os { 
code: 2, kind: NotFound, message: “No such file or directory” }’, 
/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/guix-vendor/rust-v8-0.49.0.tar.gz/build.rs:405:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish…
error: build failed
error: in phase ’build’: uncaught exception:
%exception #< program: “cargo” arguments: (“build” “–release”) 
exit-status: 101 term-signal: #f stop-signal: #f>
phase `build’ failed after 105.5 seconds
command “cargo” “build” “–release” failed with status 101
builder for `/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv’ 
failed with exit code 1
la compilation de 
/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv a échoué
Vous trouverez le journal de compilation dans « 
/var/log/guix/drvs/g4/m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv.gz ».
guix build: erreur : build of 
`/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv’ failed


Wojtek Kosior  writes:


>> > I think I almost understand your approach. Just a quick question - what
>> > Guix command are you using to try building? With this setup I’d try
>> > something like
>> >
>> > guix shell -L ./export/ rust-deno
>> >
>>
>> Actually, from export folder i try :
>> i try *guix build -L . -f rust-deno-1.scm*
>
> I see in your repo that rust-deno-1.scm is a module file (i.e. it has
> “define-module” at the top), so you’re not expected to use it with
> “-f”. Instead, you can rely on Guix loading it (because it is inside the
> directory passed via “-L”) and just do
>
> guix build -L . rust-deno
>
> Where “rust-deno” is the same as in the package’s “name” property.
>
>> But the module are not loaded, i don’t understand well the way guix load 
>> module it seems.
>>
>> Into rust-deno-1.scm i put :
>>
>> (define-module (rust-deno-1 rust-deno-1)
>>  #:use-module (rust-cache-control-0.2 rust-cache-control-0.2)
>>
>> and into ./rust-cache-control-0.2/rust-cache-control-0.2.scm i put :
>>
>> (define-module (rust-cache-control-0.2 rust-cache-control-0.2)
>>
>> But any of this pass using the *guix build* command :
>>
>> `no code for module (rust-cache-control-0.2 rust-cache-control-0.2)’
>
> Perhaps modules can’t contain periods (’.’)? I’m not sure - too little
> experience with scheme. I’d try giving them names without version
>
>
> Wojtek
>
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #12: saint J

[Ubuntustudio-bugs] [Bug 1995644] Re: No AC3/EAC3 Ubuntu 22.10

2022-11-03 Thread Neo Rey
** Also affects: pavucontrol (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to pavucontrol in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1995644

Title:
  No AC3/EAC3 Ubuntu 22.10

Status in pavucontrol package in Ubuntu:
  New
Status in wireplumber package in Ubuntu:
  New

Bug description:
  I posted the same issue in Pipewire Issues and Pipewire-Wirplumber
  @Gitlab. There someone suggested it might be a Wireplumber issue so
  I'm going to try my luck here.

  I recently upgraded to 22.10 with Pipewire as audio server. In Ubuntu
  22.04 I used to be able to control the audio formats which my receiver
  can decode with Pulse Audio Volume Control. Now this doesn't work
  anymore. My receiver no longer switches between DD, DD+ and DTS
  signals (defaults to DD). For example, when I play DTS audio, my
  receiver stays on DD.

  In PulseAudio Volume Control I can still set which formats my receiver
  understands, but after a reboot these options are all turned off
  again. So these settings are not saved.

  When I set the audio formats back in PulseAudio Volume Control after a
  reboot, DTS is passed on to my receiver, AC3 and EAC3 too (my receiver
  switches format to DD or DD+) but there's no sound or I hear
  intermittently very stuttering audio, as if a piece of audio is
  repeated over and over like a sample.

  So without setting formats with pavucontrol there's only AC3.
  AC3, EAC3 and DTS are submiited as AC3.

  With formats AC3, EAC3 and DTS turned on only DTS works and EAC3 is
  sent to my receiver (the display changes to DD+) but there's no sound.

  I have read Wireplumber and Pipewire wikis but I can't get it to work.

  How can I get Pipewire-Wireplumber to play EAC3 and other surround
  formats, if at all possible?

  Ubuntu 22.10

  Package: pipewire
  Version: 0.3.58-2ubuntu1

  Package: wireplumber
  Version: 0.4.12-1

  Package: vlc
  Version: 3.0.17.4-5

  Package: pavucontrol
  Version: 5.0-2

  Package: pulseaudio
  Version: 1:16.1+dfsg1-1ubuntu3

  Might be related to bug 1991934 as I too see the error Can't find xdg-
  portal?

  nov 03 19:40:39  systemd[2871]: Started PipeWire Multimedia Service.
  nov 03 19:40:39  pipewire[3023]: mod.rt: Can't find xdg-portal: (null)
  nov 03 19:40:39  pipewire[3023]: mod.rt: found session bus but no portal

  pactl list short sinks
  46 alsa_output.pci-_00_1b.0.analog-stereo PipeWire s32le 2ch 48000Hz 
RUNNING

  
  pw-cli ls Node

id 45, type PipeWire:Interface:Node/3
object.serial = "87"
object.path = "alsa:pcm:0:hdmi:0:playback"
factory.id = "18"
client.id = "31"
device.id = "40"
priority.session = "696"
priority.driver = "696"
node.description = "Built-in Audio Digital Stereo (HDMI)"
node.name = "alsa_output.pci-_00_1b.0.hdmi-stereo"
node.nick = "DENON-AVR"
media.class = "Audio/Sink"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pavucontrol/+bug/1995644/+subscriptions


-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1995644] Re: No AC3/EAC3 Ubuntu 22.10

2022-11-03 Thread Neo Rey
** Also affects: pavucontrol (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wireplumber in Ubuntu.
https://bugs.launchpad.net/bugs/1995644

Title:
  No AC3/EAC3 Ubuntu 22.10

Status in pavucontrol package in Ubuntu:
  New
Status in wireplumber package in Ubuntu:
  New

Bug description:
  I posted the same issue in Pipewire Issues and Pipewire-Wirplumber
  @Gitlab. There someone suggested it might be a Wireplumber issue so
  I'm going to try my luck here.

  I recently upgraded to 22.10 with Pipewire as audio server. In Ubuntu
  22.04 I used to be able to control the audio formats which my receiver
  can decode with Pulse Audio Volume Control. Now this doesn't work
  anymore. My receiver no longer switches between DD, DD+ and DTS
  signals (defaults to DD). For example, when I play DTS audio, my
  receiver stays on DD.

  In PulseAudio Volume Control I can still set which formats my receiver
  understands, but after a reboot these options are all turned off
  again. So these settings are not saved.

  When I set the audio formats back in PulseAudio Volume Control after a
  reboot, DTS is passed on to my receiver, AC3 and EAC3 too (my receiver
  switches format to DD or DD+) but there's no sound or I hear
  intermittently very stuttering audio, as if a piece of audio is
  repeated over and over like a sample.

  So without setting formats with pavucontrol there's only AC3.
  AC3, EAC3 and DTS are submiited as AC3.

  With formats AC3, EAC3 and DTS turned on only DTS works and EAC3 is
  sent to my receiver (the display changes to DD+) but there's no sound.

  I have read Wireplumber and Pipewire wikis but I can't get it to work.

  How can I get Pipewire-Wireplumber to play EAC3 and other surround
  formats, if at all possible?

  Ubuntu 22.10

  Package: pipewire
  Version: 0.3.58-2ubuntu1

  Package: wireplumber
  Version: 0.4.12-1

  Package: vlc
  Version: 3.0.17.4-5

  Package: pavucontrol
  Version: 5.0-2

  Package: pulseaudio
  Version: 1:16.1+dfsg1-1ubuntu3

  Might be related to bug 1991934 as I too see the error Can't find xdg-
  portal?

  nov 03 19:40:39  systemd[2871]: Started PipeWire Multimedia Service.
  nov 03 19:40:39  pipewire[3023]: mod.rt: Can't find xdg-portal: (null)
  nov 03 19:40:39  pipewire[3023]: mod.rt: found session bus but no portal

  pactl list short sinks
  46 alsa_output.pci-_00_1b.0.analog-stereo PipeWire s32le 2ch 48000Hz 
RUNNING

  
  pw-cli ls Node

id 45, type PipeWire:Interface:Node/3
object.serial = "87"
object.path = "alsa:pcm:0:hdmi:0:playback"
factory.id = "18"
client.id = "31"
device.id = "40"
priority.session = "696"
priority.driver = "696"
node.description = "Built-in Audio Digital Stereo (HDMI)"
node.name = "alsa_output.pci-_00_1b.0.hdmi-stereo"
node.nick = "DENON-AVR"
media.class = "Audio/Sink"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pavucontrol/+bug/1995644/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1995644] [NEW] No AC3/EAC3 Ubuntu 22.10

2022-11-03 Thread Neo Rey
Public bug reported:

I posted the same issue in Pipewire Issues and Pipewire-Wirplumber
@Gitlab. There someone suggested it might be a Wireplumber issue so I'm
going to try my luck here.

I recently upgraded to 22.10 with Pipewire as audio server. In Ubuntu
22.04 I used to be able to control the audio formats which my receiver
can decode with Pulse Audio Volume Control. Now this doesn't work
anymore. My receiver no longer switches between DD, DD+ and DTS signals
(defaults to DD). For example, when I play DTS audio, my receiver stays
on DD.

In PulseAudio Volume Control I can still set which formats my receiver
understands, but after a reboot these options are all turned off again.
So these settings are not saved.

When I set the audio formats back in PulseAudio Volume Control after a
reboot, DTS is passed on to my receiver, AC3 and EAC3 too (my receiver
switches format to DD or DD+) but there's no sound or I hear
intermittently very stuttering audio, as if a piece of audio is repeated
over and over like a sample.

So without setting formats with pavucontrol there's only AC3.
AC3, EAC3 and DTS are submiited as AC3.

With formats AC3, EAC3 and DTS turned on only DTS works and EAC3 is sent
to my receiver (the display changes to DD+) but there's no sound.

I have read Wireplumber and Pipewire wikis but I can't get it to work.

How can I get Pipewire-Wireplumber to play EAC3 and other surround
formats, if at all possible?

Ubuntu 22.10

Package: pipewire
Version: 0.3.58-2ubuntu1

Package: wireplumber
Version: 0.4.12-1

Package: vlc
Version: 3.0.17.4-5

Package: pavucontrol
Version: 5.0-2

Package: pulseaudio
Version: 1:16.1+dfsg1-1ubuntu3

Might be related to bug 1991934 as I too see the error Can't find xdg-
portal?

nov 03 19:40:39  systemd[2871]: Started PipeWire Multimedia Service.
nov 03 19:40:39  pipewire[3023]: mod.rt: Can't find xdg-portal: (null)
nov 03 19:40:39  pipewire[3023]: mod.rt: found session bus but no portal

pactl list short sinks
46 alsa_output.pci-_00_1b.0.analog-stereo PipeWire s32le 2ch 48000Hz RUNNING


pw-cli ls Node

id 45, type PipeWire:Interface:Node/3
object.serial = "87"
object.path = "alsa:pcm:0:hdmi:0:playback"
factory.id = "18"
client.id = "31"
device.id = "40"
priority.session = "696"
priority.driver = "696"
node.description = "Built-in Audio Digital Stereo (HDMI)"
node.name = "alsa_output.pci-_00_1b.0.hdmi-stereo"
node.nick = "DENON-AVR"
media.class = "Audio/Sink"

** Affects: wireplumber (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wireplumber in Ubuntu.
https://bugs.launchpad.net/bugs/1995644

Title:
  No AC3/EAC3 Ubuntu 22.10

Status in wireplumber package in Ubuntu:
  New

Bug description:
  I posted the same issue in Pipewire Issues and Pipewire-Wirplumber
  @Gitlab. There someone suggested it might be a Wireplumber issue so
  I'm going to try my luck here.

  I recently upgraded to 22.10 with Pipewire as audio server. In Ubuntu
  22.04 I used to be able to control the audio formats which my receiver
  can decode with Pulse Audio Volume Control. Now this doesn't work
  anymore. My receiver no longer switches between DD, DD+ and DTS
  signals (defaults to DD). For example, when I play DTS audio, my
  receiver stays on DD.

  In PulseAudio Volume Control I can still set which formats my receiver
  understands, but after a reboot these options are all turned off
  again. So these settings are not saved.

  When I set the audio formats back in PulseAudio Volume Control after a
  reboot, DTS is passed on to my receiver, AC3 and EAC3 too (my receiver
  switches format to DD or DD+) but there's no sound or I hear
  intermittently very stuttering audio, as if a piece of audio is
  repeated over and over like a sample.

  So without setting formats with pavucontrol there's only AC3.
  AC3, EAC3 and DTS are submiited as AC3.

  With formats AC3, EAC3 and DTS turned on only DTS works and EAC3 is
  sent to my receiver (the display changes to DD+) but there's no sound.

  I have read Wireplumber and Pipewire wikis but I can't get it to work.

  How can I get Pipewire-Wireplumber to play EAC3 and other surround
  formats, if at all possible?

  Ubuntu 22.10

  Package: pipewire
  Version: 0.3.58-2ubuntu1

  Package: wireplumber
  Version: 0.4.12-1

  Package: vlc
  Version: 3.0.17.4-5

  Package: pavucontrol
  Version: 5.0-2

  Package: pulseaudio
  Version: 1:16.1+dfsg1-1ubuntu3

  Might be related to bug 1991934 as I too see the error Can't find xdg-
  portal?

  nov 03 19:40:39  systemd[2871]: Started PipeWire Multimedia Service.
  nov 03 19:40:39  pipewire[3023]: mod.rt: Can't find xdg-portal: (null)
  nov 03 19:40:39  pipewire[3023]: mod.rt: found session bus but no 

Re: Help packaging R Quarto Cli

2022-10-28 Thread Sébastien Rey-Coyrehourcq
Wojtek Kosior  writes:

> I think I almost understand your approach. Just a quick question - what
> Guix command are you using to try building? With this setup I’d try
> something like
>
> guix shell -L ./export/ rust-deno
>

Actually, from export folder i try :
i try *guix build -L . -f rust-deno-1.scm*

But the module are not loaded, i don’t understand well the way guix load module 
it seems.

Into rust-deno-1.scm i put :

(define-module (rust-deno-1 rust-deno-1)
 #:use-module (rust-cache-control-0.2 rust-cache-control-0.2)

and into ./rust-cache-control-0.2/rust-cache-control-0.2.scm i put :

(define-module (rust-cache-control-0.2 rust-cache-control-0.2)

But any of this pass using the *guix build* command :

`no code for module (rust-cache-control-0.2 rust-cache-control-0.2)'


> and then I’d put
>
> (define-module (rust-ecdsa-0.14 rust-ecdsa-0.14)
>   #:use-module (rust-serdect-0.1 rust-serdect-0.1))
>
> inside `./export/rust-ecdsa-0.14/rust-ecdsa-0.14.scm`. That’s how guile
> modules work - a module is identified by a list of symbols that match
> module file’s path (starting from a guile’s modules root directory, in
> this case the one passed via the `-L` option).
>
>> If that works locally i suppose i could sent a patch with all the
>> rust modules needed to build Deno ?
>
> A patch would then expect the module(s) to be put under gnu/packages in
> the Guix repo and then their `#:use-module` lines would need to be
> modified accordingly… So you’d need to make these small adaptations
> first.
>
> Honestly, I haven’t been submitting patches before and I don’t know
> exactly what module structure Guix devs expect. Perhaps someone else
> may help you here.
>
> Anyway, it seems right now you just have the result of running
> `guix import` and you have not yet built any of those recipes? I don’t
> want to be pessimistic but here’s a warning - there’ll surely be some
> fixes you’ll have to make. Be prepared to dive into scheme :)
>

I first put all the things into deno.scm, with thousand of lines, that compile 
a little… and i changing my mind finally …
imho the module way is perhaps less discouraging : Resolving bug modules by 
modules…

I push some corrections to my python script to generate good module name when i 
found.

Yes, i probably need some guile diving …

Best,
Sr-C.

> Best,
> Wojtek
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #16: saint Jan z Dukli
> Poznaj świętych krakowskich!  #16: święty Jan z Dukli
> <https://pl.wikipedia.org/wiki/Jan_z_Dukli>
> – (sig_end)
>
>
> On Fri, 28 Oct 2022 18:19:32 +0200
> Sébastien Rey-Coyrehourcq  wrote:
>
>> Hi,
>>
>> Wojtek Kosior  writes:
>>
>> >> Hi,
>> >>
>> >> I continue the packaging using guix import crate, this is a slow process, 
>> >> but everything goes well at this time.
>> >>
>> >> My file deno.scm contain 6000 line, with all packages imported, this is a 
>> >> problem because i need to remove duplicate.
>> >> The best way was probably to export all `(define public method … )`  into 
>> >> a folder with corresponding library.scm.
>> >
>> > Do you have wour work-in-progress in some public repo? This would make
>> > us easier to understand your setup and would also allow more ppl to
>> > cooperate (although unfortunately Idk if there’s anyone else who’s
>> > particularly interested in deno at this particular moment).
>> >
>>
>> Here we are : <https://git.sr.ht/~reyman/build-deno-script>
>>
>> This is a wip python script that build an `export/’ directory containing all 
>> rust module needed to compile deno (i suppose)
>>
>> The deno script is localized at the root of `export/’ folder
>>
>> I build the modules folders, but know i don’t know how to compile all this 
>> folders correctly using correct path …
>> Any guile help appreciated to do that !
>>
>> For example, the module *./export/rust-ecdsa-0.14/rust-ecdsa-0.14.scm* need 
>> a module localized to *./export/rust-serdect-0.1/rust-serdect-0.1.scm*
>>
>> I simply try *#:use-module (../rust-serdect-01)* in *rust-ecdsa-0.14* 
>> define-module but this probably not the good way.
>>
>> >> I need to create a module by package do you thing ? and after that import 
>> >> all the package using `use-modules` ?
>> >
>> > From what I’ve seen, Guix package definitions are usually grouped into
>> > modules thematically. Altho

Re: Help packaging R Quarto Cli

2022-10-28 Thread Sébastien Rey-Coyrehourcq
Hi,

Wojtek Kosior  writes:

>> Hi,
>>
>> I continue the packaging using guix import crate, this is a slow process, 
>> but everything goes well at this time.
>>
>> My file deno.scm contain 6000 line, with all packages imported, this is a 
>> problem because i need to remove duplicate.
>> The best way was probably to export all `(define public method … )`  into a 
>> folder with corresponding library.scm.
>
> Do you have wour work-in-progress in some public repo? This would make
> us easier to understand your setup and would also allow more ppl to
> cooperate (although unfortunately Idk if there’s anyone else who’s
> particularly interested in deno at this particular moment).
>

Here we are : <https://git.sr.ht/~reyman/build-deno-script>

This is a wip python script that build an `export/' directory containing all 
rust module needed to compile deno (i suppose)

The deno script is localized at the root of `export/' folder

I build the modules folders, but know i don’t know how to compile all this 
folders correctly using correct path …
Any guile help appreciated to do that !

For example, the module *./export/rust-ecdsa-0.14/rust-ecdsa-0.14.scm* need a 
module localized to *./export/rust-serdect-0.1/rust-serdect-0.1.scm*

I simply try *#:use-module (../rust-serdect-01)* in *rust-ecdsa-0.14* 
define-module but this probably not the good way.

>> I need to create a module by package do you thing ? and after that import 
>> all the package using `use-modules` ?
>
> From what I’ve seen, Guix package definitions are usually grouped into
> modules thematically. Although until you actually try upstreaming your
> work, you’re not bound by any reqs and you can structure the
> definitions in a way that’s comfortable for you.
>
> Also, are you adding your package by modifying the actual Guix sources?
> Or by creating modules outsite of these? Perhaps this was already
> metioned but I don’t have previous emails on the top…
>

If that works locally i suppose i could sent a patch with all the rust modules 
needed to build Deno ?

Best !
SR.

> Good luck :)
> Wojtek
>
> – (sig_start)
> website: <https://koszko.org/koszko.html>
> PGP: <https://koszko.org/key.gpg>
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #33: blessed Antonin Bajewski
> Poznaj świętych krakowskich!  #33: błogosławiony Antonin Bajewski
> <https://pl.wikipedia.org/wiki/Antonin_Bajewski>
> – (sig_end)
>
>
> On Thu, 27 Oct 2022 09:05:52 +0200
> Sébastien Rey-Coyrehourcq  wrote:
>
>> Hi,
>>
>> I continue the packaging using guix import crate, this is a slow process, 
>> but everything goes well at this time.
>>
>> My file deno.scm contain 6000 line, with all packages imported, this is a 
>> problem because i need to remove duplicate.
>> The best way was probably to export all `(define public method … )`  into a 
>> folder with corresponding library.scm.
>>
>> I need to create a module by package do you thing ? and after that import 
>> all the package using `use-modules` ?
>>
>> Best
>>
>> Wojtek Kosior  writes:
>>
>>
>> >> > Out of curiosity - what are the problems between Guix and JS? When I
>> >> > read this my first suspicion was that maybe TS is a self-hosted
>> >> > language and cannot be bootstrapped. However, when I ran `guix search
>> >> > typescript`, it revealed the existence of some TS->JS compiler called
>> >> > ’rust-swc’. So I guess problems lie somewhere else, right?
>> >>
>> >> Nothing per se.  Note that «TypeScript is a strongly typed programming
>> >> language that builds on JavaScript» and from my understanding (maybe I
>> >> am wrong?), it is hard to package Javascript for Guix because the
>> >> Javascript ecosystem is messy.  Janneke provides some explanations [1]
>> >> and I am not convinced the situation have changed since then.  Maybe I
>> >> am wrong…
>> >>
>> >> 1: <https://yhetil.org/guix/87fudzndu7@gnu.org>
>> >
>> > A few months ago (I think) I did run some code to actually check what
>> > the dependency tree of the protocol buffers JS library (from npm) is.
>> > The tree of runtime deps wasn’t horribly big. The tree of
>> > recursively-computed dev deps was, on the other hand, as bad as
>> > described by Janneke or even worse… However, It seems in most cases
>> > many of those packages designated as dev deps are not strictly needed
>> > for actually building stuff. Some are just test dependencies. Others
>> > 

Re: [ipv6-wg] IPv6 for Dutch email servers

2022-10-28 Thread Enno Rey
Hi Michael,

I think you're looking for this:

https://ripe79.ripe.net/archives/video/164/

cheers

Enno


On Fri, Oct 28, 2022 at 12:10:05PM +0200, Michael Richardson wrote:
> 
> A few years ago there was a presentation about getting IPv6 MX setup for
> various Dutch entities: Municipalities, Hospitals, etc.  I couldn't find this
> in the agendas for the past ten RIPE meetings for IPv6.  Maybe it was in a
> plenary.  I think it was pre-pandemic.
> 
> I wondered (I am suggesting) that maybe an update on this effort would be 
> timely?
> 
> --
> Michael Richardson , Sandelman Software Works
>  -= IPv6 IoT consulting =-
> 
> 
> 



> -- 
> 
> To unsubscribe from this mailing list, get a password reminder, or change 
> your subscription options, please visit: 
> https://lists.ripe.net/mailman/listinfo/ipv6-wg


-- 
Enno Rey

Cell: +49 173 6745902
Twitter: @Enno_Insinuator
IPv6 Blog: https://theinternetprotocolblog.wordpress.com

-- 

To unsubscribe from this mailing list, get a password reminder, or change your 
subscription options, please visit: 
https://lists.ripe.net/mailman/listinfo/ipv6-wg


Re: Help packaging R Quarto Cli

2022-10-27 Thread Sébastien Rey-Coyrehourcq
Hi,

I continue the packaging using guix import crate, this is a slow process, but 
everything goes well at this time.

My file deno.scm contain 6000 line, with all packages imported, this is a 
problem because i need to remove duplicate.
The best way was probably to export all `(define public method … )`  into a 
folder with corresponding library.scm.

I need to create a module by package do you thing ? and after that import all 
the package using `use-modules` ?

Best

Wojtek Kosior  writes:


>> > Out of curiosity - what are the problems between Guix and JS? When I
>> > read this my first suspicion was that maybe TS is a self-hosted
>> > language and cannot be bootstrapped. However, when I ran `guix search
>> > typescript`, it revealed the existence of some TS->JS compiler called
>> > ’rust-swc’. So I guess problems lie somewhere else, right?
>>
>> Nothing per se.  Note that «TypeScript is a strongly typed programming
>> language that builds on JavaScript» and from my understanding (maybe I
>> am wrong?), it is hard to package Javascript for Guix because the
>> Javascript ecosystem is messy.  Janneke provides some explanations [1]
>> and I am not convinced the situation have changed since then.  Maybe I
>> am wrong…
>>
>> 1: 
>
> A few months ago (I think) I did run some code to actually check what
> the dependency tree of the protocol buffers JS library (from npm) is.
> The tree of runtime deps wasn’t horribly big. The tree of
> recursively-computed dev deps was, on the other hand, as bad as
> described by Janneke or even worse… However, It seems in most cases
> many of those packages designated as dev deps are not strictly needed
> for actually building stuff. Some are just test dependencies. Others
> were perhaps put there because developers understood “dev dependencies”
> differently from how packagers understand it…
>
> Anyway, it seems the only way to check what the situation really is is
> to actually try packaging something. I’m confident it will be way
> easier than it seems :)
>
> Luckily for Sébastien, it seems quarto-cli - although written mostly in
> JS/TS - has no NPM deps. Or at least I don’t see any…
>
> Wojtek
>
> – (sig_start)
> website: 
> PGP: 
> fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
>
> Meet Kraków saints!   #15: saint Jan Paweł II
> Poznaj świętych krakowskich!  #15: święty Jan Paweł II
> 
> – (sig_end)
>
>
> On Tue, 25 Oct 2022 12:08:59 +0200
> zimoun  wrote:
>
>> Hi,
>>
>> On Mon, 24 Oct 2022 at 20:40, Wojtek Kosior via  wrote:
>>
>> > Out of curiosity - what are the problems between Guix and JS? When I
>> > read this my first suspicion was that maybe TS is a self-hosted
>> > language and cannot be bootstrapped. However, when I ran `guix search
>> > typescript`, it revealed the existence of some TS->JS compiler called
>> > ’rust-swc’. So I guess problems lie somewhere else, right?
>>
>> Nothing per se.  Note that «TypeScript is a strongly typed programming
>> language that builds on JavaScript» and from my understanding (maybe I
>> am wrong?), it is hard to package Javascript for Guix because the
>> Javascript ecosystem is messy.  Janneke provides some explanations [1]
>> and I am not convinced the situation have changed since then.  Maybe I
>> am wrong…
>>
>> 1: 
>>
>> Cheers,
>> simon
>>
>
>


Re: Help packaging R Quarto Cli

2022-10-24 Thread Sebastien Rey-Coyrehourcq

Le Lundi, Octobre 24, 2022 13:43 CEST, Sébastien Rey-Coyrehourcq 
 a écrit:

> Hi,
>
> I’m trying to package Quarto Cli ( <https://github.com/quarto-dev/quarto-cli> 
> ), used in combination with Pandoc to publish -reproducible- scientific 
> document : website, blog, etc.
>
> I first think this is a classic gnu build : ./configure && make && make 
> install BUT, there is a problem because the ./configure script bootstrap 
> “Deno” during the run of configure.sh.
>
> Because this download and compilation of Deno occur during ./configure.sh 
> running, guix cannot patch the  #!/bin/bash path, so ./configure failed. Deno 
> seems also not packaged into guix.
>
> Do you have an idea to resolve this ? Perhaps we could try all together to do 
> this.
>
> I’m starting with this quarto-cli.scm :
>
> ┌
> │ (use-modules
> │ (guix packages)
> │ (guix download)
> │ (guix build-system gnu)
> │ (guix licenses)
> │ )
> │
> │ (define-public quarto-cli
> │   (package
> │ (name "Quarto-CLI")
> │ (version "1.1.251")
> │ (source (origin
> │   (method url-fetch)
> │   (uri (string-append 
> "https://github.com/quarto-dev/quarto-cli/archive/refs/tags/v"version".tar.gz;))
> │   (sha256
> │(base32
> │ "1ycwrjndrrrciymnm3l0lhcd375fddkvjibvc0n084irg6z1lxn6"
> │ (build-system gnu-build-system)
> │ (synopsis "Quarto-cli")
> │ (description
> │  "Quarto-cli description")
> │ (home-page "https://github.com/quarto-dev/quarto-cli;)

> │ (license gpl3+)))
> │ quarto-cli
> │
> └
>
> To compile and fail :
> guix build -f quarto-cli.scm
>
> Best,
> Sebastien RC.

Deno contain lot of packages dependencies actually,
here i comment all packages not packaged in rust after a simple run of guix 
import ...

#+BEGIN_SRC scheme

(use-modules
(guix packages)
(guix build-system cargo)
(guix download)
(guix licenses)
(gnu packages rust)
(gnu packages crates-io)
)

(define-public rust-deno-1
  (package
(name "rust-deno")
(version "1.26.2")
(source (origin
  (method url-fetch)
  (uri (crate-uri "deno" version))
  (file-name (string-append name "-" version ".tar.gz"))
  (sha256
   (base32
"1yzvdkj8sq475kfbkms1lfysjddkfwcyqhp1ggalfbk4hqhbiz29"
(build-system cargo-build-system)
(arguments
 `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2)
   ("rust-base64" ,rust-base64-0.13)
;   ("rust-cache-control" ,rust-cache-control-0.2)

("rust-chrono" ,rust-chrono-0.4)
;   ("rust-clap" ,rust-clap-3)
;   ("rust-clap-complete" ,rust-clap-complete-3)
;   ("rust-clap-complete-fig" ,rust-clap-complete-fig-3)
("rust-data-url" ,rust-data-url-0.1)
;   ("rust-deno-ast" ,rust-deno-ast-0.19)
;   ("rust-deno-broadcast-channel" 
,rust-deno-broadcast-channel-0.67)
;   ("rust-deno-cache" ,rust-deno-cache-0.5)
;   ("rust-deno-console" ,rust-deno-console-0.73)
;   ("rust-deno-core" ,rust-deno-core-0.155)
;   ("rust-deno-core" ,rust-deno-core-0.155)
;   ("rust-deno-crypto" ,rust-deno-crypto-0.87)
;   ("rust-deno-doc" ,rust-deno-doc-0.46)
;   ("rust-deno-emit" ,rust-deno-emit-0.9)
;   ("rust-deno-fetch" ,rust-deno-fetch-0.96)
;   ("rust-deno-graph" ,rust-deno-graph-0.34)
;   ("rust-deno-lint" ,rust-deno-lint-0.33)
;   ("rust-deno-net" ,rust-deno-net-0.65)
;   ("rust-deno-node" ,rust-deno-node-0.10)
;   ("rust-deno-runtime" ,rust-deno-runtime-0.81)
;   ("rust-deno-task-shell" ,rust-deno-task-shell-0.5)
;   ("rust-deno-url" ,rust-deno-url-0.73)
;   ("rust-deno-web" ,rust-deno-web-0.104)
;   ("rust-deno-webgpu" ,rust-deno-webgpu-0.74)
;   ("rust-deno-websocket" ,rust-deno-websocket-0.78)
;   ("rust-deno-webstorage" ,rust-deno-webstorage-0.68)
   ("rust-dissimilar" ,rust-dissimilar-1)
; 

Help packaging R Quarto Cli

2022-10-24 Thread Sébastien Rey-Coyrehourcq
Hi,

I’m trying to package Quarto Cli (  
), used in combination with Pandoc to publish -reproducible- scientific 
document : website, blog, etc.

I first think this is a classic gnu build : ./configure && make && make install 
BUT, there is a problem because the ./configure script bootstrap “Deno” during 
the run of configure.sh.

Because this download and compilation of Deno occur during ./configure.sh 
running, guix cannot patch the  #!/bin/bash path, so ./configure failed. Deno 
seems also not packaged into guix.

Do you have an idea to resolve this ? Perhaps we could try all together to do 
this.

I’m starting with this quarto-cli.scm :

┌
│ (use-modules
│ (guix packages)
│ (guix download)
│ (guix build-system gnu)
│ (guix licenses)
│ )
│ 
│ (define-public quarto-cli
│   (package
│ (name "Quarto-CLI")
│ (version "1.1.251")
│ (source (origin
│   (method url-fetch)
│   (uri (string-append 
"https://github.com/quarto-dev/quarto-cli/archive/refs/tags/v"version".tar.gz;))
│   (sha256
│(base32
│ "1ycwrjndrrrciymnm3l0lhcd375fddkvjibvc0n084irg6z1lxn6"
│ (build-system gnu-build-system)
│ (synopsis "Quarto-cli")
│ (description
│  "Quarto-cli description")
│ (home-page "https://github.com/quarto-dev/quarto-cli;)
│ (license gpl3+)))
│ quarto-cli
│ 
└

To compile and fail :
guix build -f quarto-cli.scm

Best,
Sebastien RC.


signature.asc
Description: PGP signature


Re: SQLite for contacts and relations to Org - Re: contact management in emacs

2022-10-11 Thread Sébastien Rey-Coyrehourcq
Hi Jean Louis,

First i want to thank you for this very detailled explanation, this is very 
valuable for someone that start in elisp like me.

Secondly, i found the idea of using sqlite for contacts very interesting, and i 
think a lot on this solution on my side the last weeks. With the new emacs 
interface to sql, it was easy i suppose to create a “both-way” syncing tool 
between org-contact (to easily maintain info, linking to notes, agenda, etc.) 
and a database that anyone could reuse, move, send also using mobile phone.

I use org-roam that use both of the two world, database and org, in the light 
of recent discussion, why we cannot do the same things for org-contact ? 
Linking / syncing properties with unique hash/id also stored in a database. If 
you have 15 contact, with 15 unique ID, and if you want to create an 
org-contact file/propertie into an org document, that’s probably easy to inject 
and maintain some sort of syncing (like org-roam do) between the info in 
database and the info into some properties block no ?

Best regards,
SR

Jean Louis  writes:

> * Sébastien Rey-Coyrehourcq  
> [2022-09-09 ven. 19:12]:
>> Hi,
>>
>> After some search today on the web, like Alan i try to compare all
>> possibility to manage my contact + mail using emacs, mu4e, and org.
>
> I will describe you how to manage contacts with Emacs in the reverse
> example reverse of what org-contacts tries to do for you.
>
> Org contacts try to keep people in Org file. Emacs 29 has a built-in
> SQLite database which allows every Emacs user to keep information in
> ordered, structured manner in the relational database.
>
> For people who do not use latest development Emacs version, there are
> SQLite Emacs packages that allow immediate usage of file based
> single-user access database, see <https://www.sqlite.org>
>
> In Emacs 29, here is how I create the SQLite database, or open the existing 
> one:
>
> (setq my-db (sqlite-open “~/my-people”))
>
> This is database handle:
>
> my-db ⇒ # name=/home/data1/protected/my-org-properties>
>
> This is how to create a table of `people’ in the database. The
> structure of the table `people’ is thus pretty much individual,
> one can record any kind of entries and be sure if the the entry
> is there or not. It does not allow vague guessing with text files
> like in Org or Hyrolo in Hyperbole.
>
> This is example table, one can build upon it. This one contains emails only.
>
> (sqlite-execute my-db “CREATE TABLE people1 (people_id INTEGER PRIMARY KEY,
>people_firstname TEXT,
>people_middlenames TEXT,
>people_name TEXT NOT NULL DEFAULT 
> ’>>>UNKNOWN<<<‘,
>people_email TEXT,
>people_description TEXT)”)
>
> This is how to get all queries from the table:
>
> (sqlite-select my-db “SELECT * FROM people”) ⇒ nil
>
> This is how to insert new entry programmatically:
>
> (sqlite-execute my-db “INSERT INTO people (people_firstname, people_name, 
> people_email)
>   VALUES (?, ?, ?)
>RETURNING people_id”
>   ’(“Robert” “Weiner” “r...@gnu.org”))
>
> Get information back from database, programmatically. Do with information 
> what you wish.
>
> (sqlite-select my-db “SELECT * FROM people”) ⇒ ((1 “Robert” nil “Weiner” 
> “r...@gnu.org” nil) (2 “Robert” nil “Weiner” “r...@gnu.org” nil))
>
> Delete everything in the database.
>
> (sqlite-execute my-db “DELETE FROM people”) ⇒ 0
>
> ;; Backup?
>
> Backup database by simple copy of the file “~/my-people”
>
> (sqlite-select my-db “SELECT * FROM people”) ⇒ nil
>
> Make nicer function to add new people:
>
> (defun my-people-add ()
>   (interactive)
>   (let* ((first-name (read-string “First name: ”))
>(middle-names (read-string “Middles names: ”))
>(name-or-last-name (let ((result))
> (while (not result)
>   (setq result (apply ’read-string ’(“Last name: 
> ”
> result))
>(email (read-string “Email: ”))
>(description (read-string “Description: ”)))
> (sqlite-execute my-db “INSERT INTO people (people_firstname, 
> people_middlenames, people_name, people_email, people_description)
>VALUES (?, ?, ?, ?, ?) RETURNING people_id”
>   (list first-name middle-names name-or-last-name 
> description
>
> Run the function by using (my-people-add) or M-x my-people-add
>
> Verify that per

[Desktop-packages] [Bug 1940417]

2022-10-10 Thread Neo Rey
Similar bug 179352: some menus but now mostly context menus flicker
while mouse is moving. So right click to evoke the context menu, as long
as you keep the mouse steady it stays visible. As soon as you move the
mouse it starts flickering and it take 3 - 4 clicks to select an item
from the contect menu. When clicking the library button > History or
Bookmarks, the folowing menu flickers a few times before opening.

Firefox 105.0.2 / Ubuntu 22.04.1 LTS
User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 
Firefox/105.0

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1940417

Title:
  On Wayland toolbar menus are sometimes invisible/flickering

Status in Mozilla Firefox:
  Invalid
Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0)
  Gecko/20100101 Firefox/91.0

  Steps to reproduce:

  Open Downloads panel, Library or Application menu form the Toolbar by
  clicking on the corresponding icons.

  Actual results:

  From version 90 I noticed that Library or other items in the Toolbar
  won't open when I click it. Instead it flickers a few times on mouse
  movement - it looks like it opens but it's not visible, it becomes
  visible a fraction of a second when I move the mouse otherwise it's
  completely transparent.

  Which Toolbar icon this affects seems random. I tried to fix it by
  resetting the Toolbar and disabling extensions which have icons in the
  Toolbar. Then I noticed that Library was working normal again but
  Downloads or Application Menu wouldn't open.

  When this happened with the Application Menu I could barely see the
  contents of the menu by moving the mouse which made the menu flicker.
  The cursor was able to select menu items in the menu but it was
  completely transparent.

  In the enclosed screenshot you can see I selected the Library menu
  item but it isn't opened.

  Expected results:

  The menus in the Toolbar should open like they used to.
  --- 
  ProblemType: Bug
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jeroen 3189 F pulseaudio
   /dev/snd/pcmC0D3p:   jeroen 3189 F...m pulseaudio
  BuildID: 20210804193234
  CasperMD5CheckResult: pass
  Channel: Unavailable
  CurrentDesktop: ubuntu:GNOME
  DefaultProfileExtensions: extensions.sqlite corrupt or missing
  DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  DefaultProfileLocales: extensions.sqlite corrupt or missing
  DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:352
  DefaultProfileThemes: extensions.sqlite corrupt or missing
  DistroRelease: Ubuntu 21.04
  ForcedLayersAccel: False
  InstallationDate: Installed on 2021-05-22 (87 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  IpRoute:
   default via 192.168.0.1 dev enp3s0 proto dhcp metric 20100 
   10.0.0.243 dev wgpia0 scope link 
   10.17.128.1 dev wgpia0 scope link 
   169.254.0.0/16 dev enp3s0 scope link metric 1000 
   192.168.0.0/24 dev enp3s0 proto kernel scope link src 192.168.0.102 metric 
100
  Package: firefox 91.0+build2-0ubuntu0.21.04.1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22
  Profile0Extensions: extensions.sqlite corrupt or missing
  Profile0IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  Profile0Locales: extensions.sqlite corrupt or missing
  Profile0PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:352
  Profile0PrefSources: prefs.js
  Profile0Themes: extensions.sqlite corrupt or missing
  Profiles:
   Profile1 (Default) - LastVersion=None/None (Out of date)
   Profile0 - LastVersion=91.0/20210804193234 (In use)
  RunningIncompatibleAddons: False
  Tags:  wayland-session hirsute
  Uname: Linux 5.11.0-31-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 04/29/2014
  dmi.bios.release: 4.6
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0602
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: VM60
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0602:bd04/29/2014:br4.6:svnASUSTeKComputerINC.:pnVM60:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnVM60:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  

Re: Lost all my guix home application packages from channels after guix update (pull, reconfigure)

2022-10-10 Thread Sébastien Rey-Coyrehourcq
Hi,

You’re right Ludovic, i run the command guix home describe –list-installed and 
everything is here but … my home applications are only accessible directly by 
using the store path “/gnu/store/” :

reyman@xxx ~> 
/gnu/store/rxjjk0qslv24cxk136z1ch3spgc781vp-emacs-native-comp-28.1.91-203.82bcd44/bin/emacs

Fish term and Gnome activity menu don’t see/recognize binary stored into 
/gnu/store.

So this is more linked to the way Fish manage environnement ?

Thanks,
A+

Ludovic Courtès  writes:

> Hi,
>
> “Sebastien Rey-Coyrehourcq” 
> skribis:
>
>> I used guix home without problem last month but with a recent guix pull, guix
> system reconfigure, guix home reconfigure, all my package defined into guix 
> home
> manifest disapear !!
>
> What do you mean by “disappear”?  What does this report:
>
>   guix home describe –list-installed
>
> ?
>
> Thanks,
> Ludo’.


signature.asc
Description: PGP signature


Re: Lost all my guix home application packages from channels after guix update (pull, reconfigure)

2022-10-07 Thread Sébastien Rey-Coyrehourcq
After some trial/error, i found that the problem is probably in link with 
“FISH” home-fish-service-type.

If i add these code to my guix home/system config, fish is installed yep, but 
all other packages declared in my guix home are removed …

In home.scm :

/–
━━━
 (service home-fish-service-type   
 (home-fish-configuration  
 (config   
 (list 
 (local-file “../config/fish/config.fish”) 
━━━
-

In system.scm :

/–
━━━
 (users (cons* (user-account   
 (name “reyman”)   
 (comment “Rey-Coyrehourcq”)   
 (group “users”)   
 (home-directory “/home/reyman”)   
 (supplementary-groups 
 ’(“wheel” “netdev” “audio” “video” “docker”)) 
 (shell (file-append fish “/bin/fish”)))   
 %base-user-accounts)) 
━━━
-

Is it a bug i suppose ?

Best regards,
SR

“Sebastien Rey-Coyrehourcq”  writes:

> Hi guix people,
>
> I used guix home without problem last month but with a recent guix pull, guix 
> system reconfigure, guix home reconfigure, all my package defined into guix 
> home manifest disapear !!
> And guix home say nothing (no error) about that. The only thing i change is 
> removing zshrc to move on fish-service-type.
>
> Here my configuration :
>
> - $myconfigfolder/base/home.scm : <https://paste.debian.net/1256154>
> - $myconfigfolder/base/package.scm : <https://paste.debian.net/1256155>
> - $myconfigfolder/base/system.scm : <https://paste.debian.net/1256156/>
>
> - $myconfigfolder/machines/Sulayh-latitude-home : 
> <https://paste.debian.net/1256157/>
> - $myconfigfolder/machines/Sulayh-latitude-system : 
> <https://paste.debian.net/1256158>
>
> To update system i run from : $myconfigfolder
>
> - guix home -L . reconfigure machines/Sulayh-latitude-home
> - sudo guix system -L . reconfigure machines/Sulayh-latitude-system
>
>
> My describe for home
>
> Génération 95 06 oct. 2022 10:55:04   (actuelle)
>   nom de fichier : /var/guix/profiles/per-user/reyman/guix-home-95-link
>   nom de fichier canonique : /gnu/store/mfylyvf57bpqjbxqvmxf1mj16cc9f17x-home
>   canaux :
> guix:
>   URL du dépôt : <https://git.savannah.gnu.org/git/guix.git>
>   branche : master
>   commit : 40a42c4348635f186553938015f7e6a06be1e10c
> guix-android:
>   URL du dépôt : <https://framagit.org/tyreunom/guix-android.git>
>   branche : master
>   commit : 1e149a2cdbd221c299c9105e316f36717f81b41e
> guix-science:
>   URL du dépôt : <https://github.com/guix-science/guix-science.git>
>   branche : master
>   commit : 0ee692ecbc32f1917be3512953ee39762e7410c2
> flat:
>   URL du dépôt : <https://github.com/flatwhatson/guix-channel.git>
>   branche : master
>   commit : e57424b680e1724105e2598b68c30084b180cf58
> my-guix:
>   URL du dépôt : <https://git.sr.ht/~reyman/channel-g>/
>   branche : master
>   commit : 85cc8aa8c301eda46147f9e62989a0a1ff85a6e7
> nonguix:
>   URL du dépôt : <https://gitlab.com/nonguix/nonguix>
>   branche : master
>   commit : d7791ba66b806c54fbb16b531a79fe1793a61e35
>   fichier de configuration : 
> /gnu/store/vqb24jsz04kq9v5ldfbxjwh3744ak140-configuration.scm
>
> My describe for system
>
> Génération 65 06 oct. 2022 10:02:30   (actuelle)
>   nom de fichier : /var/guix/profiles/system-65-link
>   nom de fichier canonique : 
> /gnu/store/5hrlb2wkznyhm2h2y7n0z0ypydacizqb-system
>   étiquette : GNU with Linux 5.19.11
>   chargeur de démarrage : grub-efi
>   périphérique racine : /dev/mapper/cryptroot
>   noyau : /gnu/store/sf67y13f80gcpa9dal9q96h86788nnmh-linux-5.19.11/bzImage
>   canaux :
> guix:
>   URL du dépôt : <https://git.savannah.gnu.org/git/guix.git>
>   branche : master
>   commit : 40a42c4348635f186553938015f7e6a06be1e10c
> guix-android:
>   URL du dépôt : <https://framagit.org/tyreunom/guix-android.git>
>   branche : master
>   commit : 1e149a2cdbd221c299c9105e316f36717f81b41e
> guix-science:
>   URL du dépôt : <https://github.com/guix-science/guix-science.git>
>   branche : master
>   commit : 0ee692ecbc32f1917be3512953ee39762e7410c2
> flat:
>   URL du dépôt : <https://github.com/flatwhatson/guix-channel.git>
>   branche : master
>   commit : e57424b680e1724105e2598b68c30084b180cf58
&

Lost all my guix home application packages from channels after guix update (pull, reconfigure)

2022-10-06 Thread Sebastien Rey-Coyrehourcq


Hi guix people,

I used guix home without problem last month but with a recent guix pull, guix 
system reconfigure, guix home reconfigure, all my package defined into guix 
home manifest disapear !!
And guix home say nothing (no error) about that. The only thing i change is 
removing zshrc to move on fish-service-type.

Here my configuration :

- $myconfigfolder/base/home.scm : https://paste.debian.net/1256154
- $myconfigfolder/base/package.scm : https://paste.debian.net/1256155
- $myconfigfolder/base/system.scm : https://paste.debian.net/1256156/

- $myconfigfolder/machines/Sulayh-latitude-home : 
https://paste.debian.net/1256157/
- $myconfigfolder/machines/Sulayh-latitude-system : 
https://paste.debian.net/1256158

To update system i run from : $myconfigfolder

- guix home -L . reconfigure machines/Sulayh-latitude-home
- sudo guix system -L . reconfigure machines/Sulayh-latitude-system


My describe for home

Génération 95   06 oct. 2022 10:55:04   (actuelle)
  nom de fichier : /var/guix/profiles/per-user/reyman/guix-home-95-link
  nom de fichier canonique : /gnu/store/mfylyvf57bpqjbxqvmxf1mj16cc9f17x-home
  canaux :
guix:
  URL du dépôt : https://git.savannah.gnu.org/git/guix.git
  branche : master
  commit : 40a42c4348635f186553938015f7e6a06be1e10c
guix-android:
  URL du dépôt : https://framagit.org/tyreunom/guix-android.git
  branche : master
  commit : 1e149a2cdbd221c299c9105e316f36717f81b41e
guix-science:
  URL du dépôt : https://github.com/guix-science/guix-science.git
  branche : master
  commit : 0ee692ecbc32f1917be3512953ee39762e7410c2
flat:
  URL du dépôt : https://github.com/flatwhatson/guix-channel.git
  branche : master
  commit : e57424b680e1724105e2598b68c30084b180cf58
my-guix:
  URL du dépôt : https://git.sr.ht/~reyman/channel-g/
  branche : master
  commit : 85cc8aa8c301eda46147f9e62989a0a1ff85a6e7
nonguix:
  URL du dépôt : https://gitlab.com/nonguix/nonguix
  branche : master
  commit : d7791ba66b806c54fbb16b531a79fe1793a61e35
  fichier de configuration : 
/gnu/store/vqb24jsz04kq9v5ldfbxjwh3744ak140-configuration.scm

My describe for system

Génération 65   06 oct. 2022 10:02:30   (actuelle)
  nom de fichier : /var/guix/profiles/system-65-link
  nom de fichier canonique : /gnu/store/5hrlb2wkznyhm2h2y7n0z0ypydacizqb-system
  étiquette : GNU with Linux 5.19.11
  chargeur de démarrage : grub-efi
  périphérique racine : /dev/mapper/cryptroot
  noyau : /gnu/store/sf67y13f80gcpa9dal9q96h86788nnmh-linux-5.19.11/bzImage
  canaux :
guix:
  URL du dépôt : https://git.savannah.gnu.org/git/guix.git
  branche : master
  commit : 40a42c4348635f186553938015f7e6a06be1e10c
guix-android:
  URL du dépôt : https://framagit.org/tyreunom/guix-android.git
  branche : master
  commit : 1e149a2cdbd221c299c9105e316f36717f81b41e
guix-science:
  URL du dépôt : https://github.com/guix-science/guix-science.git
  branche : master
  commit : 0ee692ecbc32f1917be3512953ee39762e7410c2
flat:
  URL du dépôt : https://github.com/flatwhatson/guix-channel.git
  branche : master
  commit : e57424b680e1724105e2598b68c30084b180cf58
my-guix:
  URL du dépôt : https://git.sr.ht/~reyman/channel-g/
  branche : master
  commit : 85cc8aa8c301eda46147f9e62989a0a1ff85a6e7
nonguix:
  URL du dépôt : https://gitlab.com/nonguix/nonguix
  branche : master
  commit : d7791ba66b806c54fbb16b531a79fe1793a61e35
  fichier de configuration : 
/gnu/store/gz3wln2riwbq41i6wg4sl425hwafhvkh-configuration.scm

Any help appreciated because loosing all packages (emacs, etc.) is a big 
handicap to work ...

Thanks,

Best regards,
Sébastien RC.






Re: You can now support Org-mode through https://liberapay.com/org-mode/

2022-09-23 Thread Sébastien Rey-Coyrehourcq

Done !

Thanks for all your work !

Le 21/09/2022 à 08:34, Bastien a écrit :

Thanks for all you do – donation forthcoming!




Re: contact management in emacs

2022-09-09 Thread Sébastien Rey-Coyrehourcq

Hi,

After some search today on the web, like Alan i try to compare all 
possibility to manage my contact + mail using emacs, mu4e, and org.


Since Alan Schmitt message, i think many people jump into the great 
*org-roam* wagon to manage notes, bibliography, links, everything...


I'm into this *crazy* wagon, trying now to manage contact, with this 
workflow :


- one file/node by contact,
- stored into the org-roam specific folder "/myorgroamfolder/contact/ 
with this encrypted org pattern to protect files "*.org.gpg"

- using into mu4e

There are some post exploring part of this use case on the web, but i 
first focus to *org-contacts*, because it's well integrated with mu4e 
auto-completion :


Moving from org-contrib to https://repo.or.cz/org-contacts.git , 
accessible with melpa,  the documentation is mostly into the source-code 
actually, i found few example on the web .


What property field are correct :MOBILE:, :PHONE:, :BIRTHDAY: , and ?

I found some information about configuration in Terencio Agozzino 
dotfiles (https://github.com/rememberYou/.emacs.d) but when i try to 
adapt to this use case,
that don't work, probably because i misunderstand something, about 
properties name, or localization into the .org.gpg files.


I config like that (org-contacts-file (file-expand-wildcards 
"~/my-org-roam-folder/contact/*.org.gpg))


It's slow because everything need to be unencrypted before (this is 
another problem ...) but something i don't understand is how matching 
work :
calling "M-x org-contacts", i try multiple patterns, so i'm interested 
by a working org/org-roam contact example.


I found some alternatives to test next week :

- org-vcard (on github) compatible with org-contacts, focusing on 
import/export of vcard files

- mu4e-contacts (on gitlab) using helm / mu4e, inspired by org-contacts
- org-ql query ?

Best,

Sebastien R.C



Le 27/02/2021 à 12:08, Alan Schmitt a écrit :

Hello,

This may be slightly off-topic for the list, but as I’m considering
org-contacts for my question, I hope it will be of interest here.

I would like to migrate my contact management to emacs, as I’m already
using it for email. My requirements are the following ones:
- address completion in emacs email clients (I currently use notmuch)
- support for multiple email addresses and custom fields
- creation of org links to contacts
- export to vcard format for synchronization to my mobile phone (using
vdirsyncer)
- keep the data under version control

I have looked at two tools, which almost seem fit for the job.
- ebdb does most of this, with the exception of vcard export (it seems
to be worked on, https://github.com/girzel/ebdb/issues/60), and I’m not
sure using version control on an sqlite file is a good idea.
- org-contacts also seem to have all the required features, including
vcard export (and if not sufficient there is
https://github.com/novoid/org-contacts2vcard). I was worried it was
unmaintained when looking at the copyright line, but I see in
https://code.orgmode.org/bzg/org-mode/commits/master/contrib/lisp/org-contacts.el
that there are recent commits to the file.

Do you manage your contacts in emacs? And if so, what tools or workflow
do you recommend?

Best,

Alan




Re: gpg: problem with the agent: No pinentry

2022-09-02 Thread Sébastien Rey-Coyrehourcq
About GPG + Gnome and Seahorse, the package modification  into dotfile ~ of 
dominicm work very well :

Redefine gnome keyring :


Other package (seahorse, ssh + gpg, etc.) :


Best regards,

Reza Housseini  writes:

>> I don’t recall this happening to me before. Anyone has had this issue or any
>  clue about how to solve it?
>
> I have this in my ~/.gnupg/gpg-agent.conf file:
>
> default-cache-ttl 600
> max-cache-ttl 7200
> enable-ssh-support
> use-agent
> pinentry-program /run/current-system/profile/bin/pinentry-gnome3
>
> Hope this solves your problem.
>
> Cheers
> Reza


signature.asc
Description: PGP signature


Using pass with tomb into guix home ? RW problems

2022-08-01 Thread Sébastien Rey-Coyrehourcq
Hi guix !

I continue to dig into guix home, and thanks of ~dominicm src hut dotfile repo 
(Yubikey config works !) and your help on previous message on this mailling 
list, everything goes pretty well …

But … actually, i’m stuck with a mutable configuration with my password 
management.

Using password-manager (pass) with tomb () 
and pass-tomb extension seems not possible due to read write problem. Guix home 
create  symbolic link with file in read mode, so how so you manage dotfile in 
this case ?

(simple-service `pass-secret-service
 home-files-service-type
   `((“.password.tomb” ,(local-file “../secrets/password.tomb”))
 


Output of tomb command :

bash-5.1$ tomb open .password.tomb
.tomb-real  .  Commanded to open tomb .password.tomb
.tomb-real [W] Tomb file is not writable: .password.tomb
.tomb-real [E] Tomb command failed: open

It’s possible to open passing option “-o ro” for mounting in read only, but 
it’s not very interesting if you want to create/store new password :)

Best regads,


signature.asc
Description: PGP signature


Re: Some help needed to use curl lib to download binary file

2022-08-01 Thread Sébastien Rey-Coyrehourcq
Thanks a lot for this very detailled explanation Vivien, that’s help me a lot 
to understand what happens here !!

I’m trying to continue my learning of Lisp/Scheme like language, this is a new 
fascinating world to explore :)

Best regards,

Vivien Kraus  writes:

> Hello,
>
> I see in the paste:
>
>> ;; function taken on
>> 
>> ;; then adapted to use cookie jar
>> (define-public (http-get url cookie-exist)
>>   ;; Create a Curl handle
>>   (let ((handle (curl-easy-init)))
>>     ;; Set the URL from which to get the data
>>     (curl-easy-setopt handle ’url url)
>>     (if cookie-exist
>>     (curl-easy-setopt handle ’cookie “cookie.txt”)
>>     (curl-easy-setopt handle ’cookiejar “cookie.txt”))
>>
>>     ;; Request that the HTTP headers be included in the response
>>     (curl-easy-setopt handle ’header #t)
>>     ;; Get the result as a Latin-1 string
>>     (let* ((response-string (curl-easy-perform handle))
>>    ;; Create a string port from the response
>>    (response-port (open-input-string response-string))
>>    ;; Have the (web response) module to parse the response
>>    (response (read-response response-port))
>>    (body (utf8->string (read-response-body response
>>   (close response-port)
>>   ;; Have the (web response) module extract the body from the
>>   ;; response
>>   (values response body
>
> So here the call expects the response to be UTF-8 text. If it is a
> binary file that you are downloading, the function will raise an
> exception. Guile has that python3 feeling where you are supposed to
> know in advance whether what you are using is text or binary, which is
> hurting you here. 
>
> However, you can avoid the problem by either having bytevectors
> everywhere, so removing the call to utf8->string and bind the “body”
> variable directly to (read-response-body response), or pretend that you
> know better than guile and pretend that it is latin-1-encoded, so you
> lose no information and guile won’t complain. In that case, load (ice-9
> iconv) and replace (utf8->string …) with (bytevector->string … “ISO-
> 8859-1”).
>
> If you go the first route, you get a bytevector back. If you go the
> second one, you get a string, but you must remember that it contains
> raw bytes and not text (unless the response body was indeed text).
>
> There are some cases when you might want to have such strings-that-
> contain-binary-or-text, such as if you want to use the strings API on
> them and the bytevector API does not provide what you want, or you want
> to interface with NUL-terminated strings. In other cases you might
> prefer bytevectors. Anyway, there is no encoding cost to convert
> between strings-that-contain-binary-or-toxt and bytevectors, it is as
> simple as a copy.
>
>> ;; write content into file
>> (call-with-output-file “download.zip” (lambda (current-output-port)
>>     (get-file get-file-link)
>>     (put-bytevector (current-
>> output-port) body)))
>
> call-with-output-file calls its function argument with a port. Plus,
> you just ignore the result of get-file, so instead you should do
> something with it.
>
> If you chose to have get-file return a bytevector, you can do:
>
> (call-with-output-file “download.zip”
>   (lambda (port)
>     (put-bytevector port (get-file get-file-link)))
>   #:binary #t)
>
> If get-file returns a string, you can do:
>
> (call-with-output-file “download.zip”
>   (lambda (port)
>     (put-string port (get-file get-file-link)))
>   #:encoding “ISO-8859-1”)
>
> Best regards,
>
> Vivien


signature.asc
Description: PGP signature


Some help needed to use curl lib to download binary file

2022-07-29 Thread Sébastien Rey-Coyrehourcq
Hi guile community,

I’m a new user, jumping into guix and guile in the same time,
i’m interested to build a module to download file stored on Zenodo platform, 
using curl to request their REST Api.

This is usefull for reproducibility, i need to recover some data from Zenodo 
before running guix package that compile simulation that use this data.

I built a first part, using some info i found about curl lib of guile, but i’m 
now blocked by the last part, writing the binary body retrieved by curl into 
some file on my disk.

Here the full script  on debian paste :  

My problem is probably here, i don’t know how to pass the byte of body (from 
(get-file get-file-link)) into some file, i try with and without 
“string->bytevector” body conversion, without success  :

;; report body content from url string
(define (get-file url)
  ((receive (response body) (http-get url #true) (string->bytevector body

;; write content into file
(call-with-output-file “download.zip” (lambda (current-output-port)
(get-file get-file-link)
(put-bytevector (current-output-port) 
body)))

Thanks for your help
Best regards,
S.RC.


signature.asc
Description: PGP signature


[sage-devel] Re: sage error 9.6 I got this errors and I don't know how to fix them

2022-07-26 Thread Rey David Gutiérrez Torres
[image: Screenshot from 2022-07-26 15-54-39.png]

El lunes, 25 de julio de 2022 a las 3:17:35 UTC-5, Rey David Gutiérrez 
Torres escribió:

> [image: Screenshot from 2022-07-24 23-23-15.png]
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/f0d62754-fafa-4916-a91f-27d433b01faen%40googlegroups.com.


RE: How does FreeBSD expect to compete in a DPDK/VPP world?

2022-07-22 Thread Robert de la Rey
We did a VPP porting exercise last year for one of our products. Got it working 
with DPDK, but ran into some issues that caused us to abandon the effort.
Original thread here: 
https://lists.freebsd.org/archives/freebsd-net/2021-October/000810.html

Our biggest stumbling block was that we couldn’t get a VFIO solution that works 
for us:
 - VPP relies on VFIO to map device memory into user space. This code is 
implemented for Linux in DPDK but the FreeBSD implementation has the functions 
stubbed.
 - To interface with the virtual functions on our hardware device, VFIO is 
obviously also needed.

We started having doubts as to whether our efforts would yield the performance 
required within the timeframe given for our project, and decided to swap over 
to Linux instead. In future we would like to have this running on FreeBSD, as 
all our other products are FreeBSD-based.

Here is our VPP porting attempt for those that are interested: 
https://github.com/ftk-ntq/vpp/tree/freebsd

Regards,
Robert



-Original Message-
From: Santiago Martinez [mailto:s...@codenetworks.net]
Sent: Friday, 22 July 2022 11:56
To: sth...@nethelp.no; l...@donnerhacke.de
Cc: n...@freebsd.org; freebsd-net@FreeBSD.org
Subject: Re: How does FreeBSD expect to compete in a DPDK/VPP world?

I think there is a mix of things here.

For the VXLAN or MPLS this depends on the role of BSD.

For DC with leaf and spine deployment, nowadays VXLAN is good enough, as we can 
terminate the VXLAN on FreeBSD + Bhyve.

Now if you are in a transport network or need to terminate services (L2VPN, 
L3VPN, VPLS ,EVPNoMPLS) then MPLS and SR-MPLS are required for the data-plane 
and RSVP, BGP-LU and ISIS/OSPF with SR extension for the control plane. Some 
networks are still running LDP but nobody will deploy a greenfield on or a 
modern network on it.

On the DKDP and VPP, the intention is to bypass the kernel, so i don't see why 
FreeBSD itself should come with a solution for that apart from making sure DPDK 
and VPP work on FreeBSD. The last time i spoke with somebody from Intel, the 
response was that DPDK was is good shape (For FreeBSD), but also I remember 
some email on this list saying that some things are missing. Not sure what the 
current status for VPP.

Regards.

Santi


On 7/21/22 19:38, sth...@nethelp.no wrote:
>>> Not that I work at an ISP or tech company in a networking role, I don't.
>>> Heck, adding even MPLS support has been on my bucket list for a
>>> while, but am too lazy to get started. I do want to move to a
>>> networking-based role at $DAYJOB, but we'll see about that.
>> MPLS is outdated (performance-wise) and (functionally) replaced by
>> vxLan, or do I miss something?
> No idea what you mean by outdated (performance-wise). Yes, I know the
> initial claims for MPLS touted faster packet switching times - but
> that hasn't been relevant for many years.
>
> MPLS is about functionality. Yes, there is some functionality overlap
> with VXLAN - but the overlap is certainly not complete. Personally,
> I'd love to see an MPLS implementation in FreeBSD.
>
> Steinar Haug, Nethelp consulting, sth...@nethelp.no
>





Important Notice:

This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail legal 
notice available at:
http://www.nanoteq.com/ContactUs/Disclaimers.aspx


Re: [slurm-users] slurmctld up and running but not really working

2022-07-20 Thread Julien Rey
Actually, I was able to fix the problem by starting slurmctld with the 
-c option and then clear the runaway jobs with sacctmgr.


Thanks for your help.

J.

Le 20/07/2022 à 17:06, Julien Rey a écrit :

Hello,

Unfortunately, the sacctmgr show runawayjobs is returning the 
following error:


sacctmgr: error: Slurmctld running on cluster cluster is not up, can't 
check running jobs


J.

Le 20/07/2022 à 14:45, Ole Holm Nielsen a écrit :

Hi Julien,

You could make a database dump of the current database so that you 
can load it on another server outside the cluster, while you 
reinitialize Slurm with a fresh database.


So the database thinks that you have 253 running jobs?  I guess that 
slurmctld is not working, otherwise you could do: squeue -t running


This command can report current jobs that have been orphaned on the 
local cluster and are now runaway:


sacctmgr show runawayjobs

Read the sacctmgr manual page.

I hope this helps.

/Ole

On 7/20/22 14:19, Julien Rey wrote:
I don't mind losing jobs information but I certainly don't want to 
clear the slurm database altogether.


The /var/lib/slurm-llnl/slurmctld/node_state and 
/var/lib/slurm-llnl/slurmctld/node_state.old files look effectively 
empty. I then entered the following command:


sacct | grep RUNNING

and found about 253 jobs.

Is there any elegant way to remove these jobs from the database ?

J.

Le 19/07/2022 à 20:29, Ole Holm Nielsen a écrit :

Hi Julien,

Apparently your slurmdbd is quite happy, but it seems that your 
slurmctld StateSaveLocation has been corrupted:


[2022-07-19T15:17:58.356] error: Node state file 
/var/lib/slurm-llnl/slurmctld/node_state too small
[2022-07-19T15:17:58.356] error: NOTE: Trying backup state save 
file. Information may be lost!
[2022-07-19T15:17:58.356] debug3: Version string in node_state 
header is PROTOCOL_VERSION

[2022-07-19T15:17:58.357] Recovered state of 71 nodes
[2022-07-19T15:17:58.357] error: Job state file 
/var/lib/slurm-llnl/slurmctld/job_state too small
[2022-07-19T15:17:58.357] error: NOTE: Trying backup state save 
file. Jobs may be lost!
[2022-07-19T15:17:58.357] error: Incomplete job state save file 


Did something bad happen to your storage of 
/var/lib/slurm-llnl/slurmctld/ ?  Could you possibly restore this 
folder from the last backup?


I don't know if it's possible to recover from a corrupted slurmctld 
StateSaveLocation, maybe some others have an experience?


Even if you could restore it, the Slurm database probably needs to 
be consistent with your slurmctld StateSaveLocation, and I don't 
know if this is feasible...


Could you initialize your slurm 17.02.11 and start it from scratch?

Regarding an upgrade from 17.02 or 17.11, you may find some useful 
notes in my Wiki page 
https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#upgrading-slurm


/Ole


On 19-07-2022 16:28, Julien Rey wrote:
I am currently facing an issue with an old install of slurm 
(17.02.11). However, I cannot upgrade this version because I had 
troubles with database migration in the past (when upgrading to 
17.11) and this install is set to be replaced in the next coming 
monthes. For the time being I have to keep it running because some 
of our services still rely on it.


This issue occured after a power outage.

slurmctld is up and running, however, when I enter "sinfo", I end 
up with this message after a few minutes:


slurm_load_partitions: Unable to contact slurm controller (connect 
failure)


I set SlurmctldDebug=7 in slurm.conf and DebugLevel=7 in 
slurmdbd.conf, however I don't get much info about any specific 
error that would prevent the slurm controller from working in the 
logs.


Any help would be greatly appreciated.

/var/log/slurm-llnl/slurmctld.log:

[2022-07-19T15:17:58.342] debug3: Version in assoc_usage header is 
7936

[2022-07-19T15:17:58.345] debug3: Version in qos_usage header is 7936
[2022-07-19T15:17:58.345] debug:  Reading slurm.conf file: 
/etc/slurm-llnl/slurm.conf
[2022-07-19T15:17:58.347] debug:  Ignoring obsolete SchedulerPort 
option.

[2022-07-19T15:17:58.347] debug3: layouts: layouts_init()...
[2022-07-19T15:17:58.347] layouts: no layout to initialize
[2022-07-19T15:17:58.347] debug3: Trying to load plugin 
/usr/local/lib/slurm/topology_none.so

[2022-07-19T15:17:58.347] topology NONE plugin loaded
[2022-07-19T15:17:58.347] debug3: Success.
[2022-07-19T15:17:58.348] debug:  No DownNodes
[2022-07-19T15:17:58.348] debug3: Version in last_conf_lite header 
is 7936
[2022-07-19T15:17:58.349] debug3: Trying to load plugin 
/usr/local/lib/slurm/jobcomp_none.so

[2022-07-19T15:17:58.349] debug3: Success.
[2022-07-19T15:17:58.349] debug3: Trying to load plugin 
/usr/local/lib/slurm/sched_backfill.so

[2022-07-19T15:17:58.349] sched: Backfill scheduler plugin loaded
[2022-07-19T15:17:58.349] debug3: Success.
[2022-07-19T15:17:58.350] debug3: Trying to load plugin 
/usr/local/lib/slurm/route_default.so

[2022-07-19T15:17:58.350] route default plugin loaded
[2022-0

Re: [slurm-users] slurmctld up and running but not really working

2022-07-20 Thread Julien Rey

Hello,

Unfortunately, the sacctmgr show runawayjobs is returning the following 
error:


sacctmgr: error: Slurmctld running on cluster cluster is not up, can't 
check running jobs


J.

Le 20/07/2022 à 14:45, Ole Holm Nielsen a écrit :

Hi Julien,

You could make a database dump of the current database so that you can 
load it on another server outside the cluster, while you reinitialize 
Slurm with a fresh database.


So the database thinks that you have 253 running jobs?  I guess that 
slurmctld is not working, otherwise you could do: squeue -t running


This command can report current jobs that have been orphaned on the 
local cluster and are now runaway:


sacctmgr show runawayjobs

Read the sacctmgr manual page.

I hope this helps.

/Ole

On 7/20/22 14:19, Julien Rey wrote:
I don't mind losing jobs information but I certainly don't want to 
clear the slurm database altogether.


The /var/lib/slurm-llnl/slurmctld/node_state and 
/var/lib/slurm-llnl/slurmctld/node_state.old files look effectively 
empty. I then entered the following command:


sacct | grep RUNNING

and found about 253 jobs.

Is there any elegant way to remove these jobs from the database ?

J.

Le 19/07/2022 à 20:29, Ole Holm Nielsen a écrit :

Hi Julien,

Apparently your slurmdbd is quite happy, but it seems that your 
slurmctld StateSaveLocation has been corrupted:


[2022-07-19T15:17:58.356] error: Node state file 
/var/lib/slurm-llnl/slurmctld/node_state too small
[2022-07-19T15:17:58.356] error: NOTE: Trying backup state save 
file. Information may be lost!
[2022-07-19T15:17:58.356] debug3: Version string in node_state 
header is PROTOCOL_VERSION

[2022-07-19T15:17:58.357] Recovered state of 71 nodes
[2022-07-19T15:17:58.357] error: Job state file 
/var/lib/slurm-llnl/slurmctld/job_state too small
[2022-07-19T15:17:58.357] error: NOTE: Trying backup state save 
file. Jobs may be lost!
[2022-07-19T15:17:58.357] error: Incomplete job state save file 


Did something bad happen to your storage of 
/var/lib/slurm-llnl/slurmctld/ ?  Could you possibly restore this 
folder from the last backup?


I don't know if it's possible to recover from a corrupted slurmctld 
StateSaveLocation, maybe some others have an experience?


Even if you could restore it, the Slurm database probably needs to 
be consistent with your slurmctld StateSaveLocation, and I don't 
know if this is feasible...


Could you initialize your slurm 17.02.11 and start it from scratch?

Regarding an upgrade from 17.02 or 17.11, you may find some useful 
notes in my Wiki page 
https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#upgrading-slurm


/Ole


On 19-07-2022 16:28, Julien Rey wrote:
I am currently facing an issue with an old install of slurm 
(17.02.11). However, I cannot upgrade this version because I had 
troubles with database migration in the past (when upgrading to 
17.11) and this install is set to be replaced in the next coming 
monthes. For the time being I have to keep it running because some 
of our services still rely on it.


This issue occured after a power outage.

slurmctld is up and running, however, when I enter "sinfo", I end 
up with this message after a few minutes:


slurm_load_partitions: Unable to contact slurm controller (connect 
failure)


I set SlurmctldDebug=7 in slurm.conf and DebugLevel=7 in 
slurmdbd.conf, however I don't get much info about any specific 
error that would prevent the slurm controller from working in the 
logs.


Any help would be greatly appreciated.

/var/log/slurm-llnl/slurmctld.log:

[2022-07-19T15:17:58.342] debug3: Version in assoc_usage header is 
7936

[2022-07-19T15:17:58.345] debug3: Version in qos_usage header is 7936
[2022-07-19T15:17:58.345] debug:  Reading slurm.conf file: 
/etc/slurm-llnl/slurm.conf
[2022-07-19T15:17:58.347] debug:  Ignoring obsolete SchedulerPort 
option.

[2022-07-19T15:17:58.347] debug3: layouts: layouts_init()...
[2022-07-19T15:17:58.347] layouts: no layout to initialize
[2022-07-19T15:17:58.347] debug3: Trying to load plugin 
/usr/local/lib/slurm/topology_none.so

[2022-07-19T15:17:58.347] topology NONE plugin loaded
[2022-07-19T15:17:58.347] debug3: Success.
[2022-07-19T15:17:58.348] debug:  No DownNodes
[2022-07-19T15:17:58.348] debug3: Version in last_conf_lite header 
is 7936
[2022-07-19T15:17:58.349] debug3: Trying to load plugin 
/usr/local/lib/slurm/jobcomp_none.so

[2022-07-19T15:17:58.349] debug3: Success.
[2022-07-19T15:17:58.349] debug3: Trying to load plugin 
/usr/local/lib/slurm/sched_backfill.so

[2022-07-19T15:17:58.349] sched: Backfill scheduler plugin loaded
[2022-07-19T15:17:58.349] debug3: Success.
[2022-07-19T15:17:58.350] debug3: Trying to load plugin 
/usr/local/lib/slurm/route_default.so

[2022-07-19T15:17:58.350] route default plugin loaded
[2022-07-19T15:17:58.350] debug3: Success.
[2022-07-19T15:17:58.355] layouts: loading entities/relations 
information

[2022-07-19T15:17:58.355] debug3: layouts: loading node node0
[2022-07-19T15:17:58.3

Re: [slurm-users] slurmctld up and running but not really working

2022-07-20 Thread Julien Rey

Hello,

Thanks for your quick reply.

I don't mind losing jobs information but I certainly don't want to clear 
the slurm database altogether.


The /var/lib/slurm-llnl/slurmctld/node_state and 
/var/lib/slurm-llnl/slurmctld/node_state.old files look effectively 
empty. I then entered the following command:


sacct | grep RUNNING

and found about 253 jobs.

Is there any elegant way to remove these jobs from the database ?

J.

Le 19/07/2022 à 20:29, Ole Holm Nielsen a écrit :

Hi Julien,

Apparently your slurmdbd is quite happy, but it seems that your 
slurmctld StateSaveLocation has been corrupted:


[2022-07-19T15:17:58.356] error: Node state file 
/var/lib/slurm-llnl/slurmctld/node_state too small
[2022-07-19T15:17:58.356] error: NOTE: Trying backup state save file. 
Information may be lost!
[2022-07-19T15:17:58.356] debug3: Version string in node_state header 
is PROTOCOL_VERSION

[2022-07-19T15:17:58.357] Recovered state of 71 nodes
[2022-07-19T15:17:58.357] error: Job state file 
/var/lib/slurm-llnl/slurmctld/job_state too small
[2022-07-19T15:17:58.357] error: NOTE: Trying backup state save file. 
Jobs may be lost!
[2022-07-19T15:17:58.357] error: Incomplete job state save file 


Did something bad happen to your storage of 
/var/lib/slurm-llnl/slurmctld/ ?  Could you possibly restore this 
folder from the last backup?


I don't know if it's possible to recover from a corrupted slurmctld 
StateSaveLocation, maybe some others have an experience?


Even if you could restore it, the Slurm database probably needs to be 
consistent with your slurmctld StateSaveLocation, and I don't know if 
this is feasible...


Could you initialize your slurm 17.02.11 and start it from scratch?

Regarding an upgrade from 17.02 or 17.11, you may find some useful 
notes in my Wiki page 
https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#upgrading-slurm


/Ole


On 19-07-2022 16:28, Julien Rey wrote:
I am currently facing an issue with an old install of slurm 
(17.02.11). However, I cannot upgrade this version because I had 
troubles with database migration in the past (when upgrading to 
17.11) and this install is set to be replaced in the next coming 
monthes. For the time being I have to keep it running because some of 
our services still rely on it.


This issue occured after a power outage.

slurmctld is up and running, however, when I enter "sinfo", I end up 
with this message after a few minutes:


slurm_load_partitions: Unable to contact slurm controller (connect 
failure)


I set SlurmctldDebug=7 in slurm.conf and DebugLevel=7 in 
slurmdbd.conf, however I don't get much info about any specific error 
that would prevent the slurm controller from working in the logs.


Any help would be greatly appreciated.

/var/log/slurm-llnl/slurmctld.log:

[2022-07-19T15:17:58.342] debug3: Version in assoc_usage header is 7936
[2022-07-19T15:17:58.345] debug3: Version in qos_usage header is 7936
[2022-07-19T15:17:58.345] debug:  Reading slurm.conf file: 
/etc/slurm-llnl/slurm.conf
[2022-07-19T15:17:58.347] debug:  Ignoring obsolete SchedulerPort 
option.

[2022-07-19T15:17:58.347] debug3: layouts: layouts_init()...
[2022-07-19T15:17:58.347] layouts: no layout to initialize
[2022-07-19T15:17:58.347] debug3: Trying to load plugin 
/usr/local/lib/slurm/topology_none.so

[2022-07-19T15:17:58.347] topology NONE plugin loaded
[2022-07-19T15:17:58.347] debug3: Success.
[2022-07-19T15:17:58.348] debug:  No DownNodes
[2022-07-19T15:17:58.348] debug3: Version in last_conf_lite header is 
7936
[2022-07-19T15:17:58.349] debug3: Trying to load plugin 
/usr/local/lib/slurm/jobcomp_none.so

[2022-07-19T15:17:58.349] debug3: Success.
[2022-07-19T15:17:58.349] debug3: Trying to load plugin 
/usr/local/lib/slurm/sched_backfill.so

[2022-07-19T15:17:58.349] sched: Backfill scheduler plugin loaded
[2022-07-19T15:17:58.349] debug3: Success.
[2022-07-19T15:17:58.350] debug3: Trying to load plugin 
/usr/local/lib/slurm/route_default.so

[2022-07-19T15:17:58.350] route default plugin loaded
[2022-07-19T15:17:58.350] debug3: Success.
[2022-07-19T15:17:58.355] layouts: loading entities/relations 
information

[2022-07-19T15:17:58.355] debug3: layouts: loading node node0
[2022-07-19T15:17:58.356] debug3: layouts: loading node node1
[2022-07-19T15:17:58.356] debug3: layouts: loading node node2
[2022-07-19T15:17:58.356] debug3: layouts: loading node node3
[2022-07-19T15:17:58.356] debug3: layouts: loading node node4
[2022-07-19T15:17:58.356] debug3: layouts: loading node node5
[2022-07-19T15:17:58.356] debug3: layouts: loading node node6
[2022-07-19T15:17:58.356] debug3: layouts: loading node node7
[2022-07-19T15:17:58.356] debug3: layouts: loading node node8
[2022-07-19T15:17:58.356] debug3: layouts: loading node node9
[2022-07-19T15:17:58.356] debug3: layouts: loading node node10
[2022-07-19T15:17:58.356] debug3: layouts: loading node node11
[2022-07-19T15:17:58.356] debug3: layouts: loading node node12
[2022-07-19T15:17:58.356] debug

[slurm-users] slurmctld up and running but not really working

2022-07-19 Thread Julien Rey
.979] debug2: StorageHost   = localhost
[2022-07-19T15:11:40.979] debug2: StorageLoc    = slurm_acct_db
[2022-07-19T15:11:40.979] debug2: StoragePort   = 3306
[2022-07-19T15:11:40.979] debug2: StorageType   = 
accounting_storage/mysql

[2022-07-19T15:11:40.979] debug2: StorageUser   = slurm
[2022-07-19T15:11:40.979] debug2: TCPTimeout    = 2
[2022-07-19T15:11:40.979] debug2: TrackWCKey    = 0
[2022-07-19T15:11:40.979] debug2: TrackSlurmctldDown= 0
[2022-07-19T15:11:40.979] debug2: acct_storage_p_get_connection: request 
new connection 1

[2022-07-19T15:11:41.168] slurmdbd version 17.02.11 started
[2022-07-19T15:11:41.168] debug2: running rollup at Tue Jul 19 15:11:41 2022
[2022-07-19T15:11:41.170] debug2: No need to roll cluster clusterdev 
this hour 1658235600 <= 1658235600
[2022-07-19T15:11:41.170] debug2: No need to roll cluster clusterdev 
this day 1658181600 <= 1658181600
[2022-07-19T15:11:41.170] debug2: No need to roll cluster clusterdev 
this month 1656626400 <= 1656626400
[2022-07-19T15:11:41.170] debug2: No need to roll cluster cluster this 
hour 1658235600 <= 1658235600
[2022-07-19T15:11:41.170] debug2: No need to roll cluster cluster this 
day 1658181600 <= 1658181600
[2022-07-19T15:11:41.170] debug2: No need to roll cluster cluster this 
month 1656626400 <= 1656626400

[2022-07-19T15:11:41.170] debug2: Got 2 of 2 rolled up
[2022-07-19T15:11:41.170] debug2: Everything rolled up
[2022-07-19T15:11:58.000] debug2: Opened connection 9 from 10.0.1.51
[2022-07-19T15:11:58.003] debug:  REQUEST_PERSIST_INIT: CLUSTER:cluster 
VERSION:7936 UID:64030 IP:10.0.1.51 CONN:9
[2022-07-19T15:11:58.003] debug2: acct_storage_p_get_connection: request 
new connection 1

[2022-07-19T15:15:28.671] debug2: Opened connection 10 from 10.0.1.51
[2022-07-19T15:15:28.672] debug:  REQUEST_PERSIST_INIT: CLUSTER:cluster 
VERSION:7936 UID:0 IP:10.0.1.51 CONN:10
[2022-07-19T15:15:28.672] debug2: acct_storage_p_get_connection: request 
new connection 1

[2022-07-19T15:15:28.710] debug2: DBD_FINI: CLOSE:0 COMMIT:0
[2022-07-19T15:15:28.790] debug2: DBD_GET_USERS: called
[2022-07-19T15:15:28.847] debug2: DBD_FINI: CLOSE:1 COMMIT:0
[2022-07-19T15:15:28.847] debug2: persistant connection is closed
[2022-07-19T15:15:28.847] debug2: Closed connection 10 uid(0)
[2022-07-19T15:17:19.421] debug2: Closed connection 9 uid(64030)
[2022-07-19T15:17:53.635] debug2: Opened connection 12 from 10.0.1.51
[2022-07-19T15:17:53.636] debug:  REQUEST_PERSIST_INIT: CLUSTER:cluster 
VERSION:7936 UID:64030 IP:10.0.1.51 CONN:12
[2022-07-19T15:17:53.636] debug2: acct_storage_p_get_connection: request 
new connection 1

[2022-07-19T15:17:53.674] debug2: DBD_GET_TRES: called
[2022-07-19T15:17:53.754] debug2: DBD_GET_QOS: called
[2022-07-19T15:17:53.834] debug2: DBD_GET_USERS: called
[2022-07-19T15:17:54.150] debug2: DBD_GET_ASSOCS: called
[2022-07-19T15:17:58.304] debug2: DBD_GET_RES: called
[2022-07-19T16:00:00.171] debug2: running rollup at Tue Jul 19 16:00:00 2022
[2022-07-19T16:00:00.318] debug2: No need to roll cluster clusterdev 
this day 1658181600 <= 1658181600
[2022-07-19T16:00:00.318] debug2: No need to roll cluster clusterdev 
this month 1656626400 <= 1656626400

[2022-07-19T16:00:00.320] debug2: Got 1 of 2 rolled up
[2022-07-19T16:00:01.603] error: We have more time than is possible 
(1576800+216+0)(3736800) > 3456000 for cluster cluster(960) from 
2022-07-19T15:00:00 - 2022-07-19T16:00:00 tres 1
[2022-07-19T16:00:01.693] debug2: No need to roll cluster cluster this 
day 1658181600 <= 1658181600
[2022-07-19T16:00:01.694] debug2: No need to roll cluster cluster this 
month 1656626400 <= 1656626400

[2022-07-19T16:00:01.711] debug2: Got 2 of 2 rolled up
[2022-07-19T16:00:01.711] debug2: Everything rolled up

--
Julien Rey

Plate-forme RPBS
Unité BFA - CMPLI
Université de Paris
tel: 01 57 27 83 95




Help to debug a try with home-mcron-service-type on guix home

2022-06-29 Thread Sébastien Rey-Coyrehourcq


Hi guix !

I'm trying to config a mcron service type for mbsync, something 
simple, but there are few example on the web for the new 
home-mcron-service-type. I try something like this :


(use-modules (gnu packages mail)
(gnu packages tls)
(gnu home services mcron))


(define update-mail-service
 #~(job '(next-minute '(range 0 60 5))
(lambda ()
  (execl (string-append #$isync "/bin/mbsync")
 "mbync"
 "-a"))
"fetch mail"))

(define-public %mail-module
 (home-module
  (list mu
isync
imapfilter
msmtp
gnutls)

  (list
   (simple-service 'isync-mail-config-service
   home-files-service-type
   `(
 (".mbsyncrc" ,(local-file 
 "../config/mail/mbsyncrc"))
 (".msmtprc",(local-file 
 "../config/mail/msmtprc"))
 (".imapfilter/config.lua",(local-file 
 "../config/mail/config.lua"

   (simple-service `mcron-mail-update-service
   home-mcron-service-type
   (list update-mail-service))
   )))

but when i run reconfigure, i have an error in drv compilation :

Backtrace:
  7 (primitive-load 
  "/gnu/store/dpaczpr4j05437bk4dr1snqnfjx9ipfl-mcron-1.2.1/bin/mcron")

In mcron/scripts/mcron.scm:
   103:6  6 (main)
In ice-9/boot-9.scm:
  260:13  5 (for-each #  mcron/scripts/mcron.scm:103:16 (file)> _)

In unknown file:
  4 (eval-string "update-mail-service" #  job-specifier) 74035780>)

In ice-9/boot-9.scm:
  2835:4  3 (save-module-excursion #  ice-9/eval-string.scm:66:9 ()>)

In ice-9/eval-string.scm:
38:6  2 (read-and-eval # #:lang 
_)

In ice-9/eval.scm:
  223:20  1 (proc #  74035780>)

In unknown file:
  0 (%resolve-variable (7 . update-mail-service) 
  #)


ERROR: In procedure %resolve-variable:
Unbound variable: update-mail-service
Backtrace:
  2 (primitive-load 
  "/gnu/store/b3k8pm2gabw29rmb86r5j4j4jzz7847d-mcron-job-builder")

In ice-9/eval.scm:
   619:8  1 (_ #f)
In guix/build/utils.scm:
   762:6  0 (invoke 
   "/gnu/store/dpaczpr4j05437bk4dr1snqnfjx9ipfl-mcron-1.2.1/bin/mcron" 
   "--schedule=20" "prologue" "job")


guix/build/utils.scm:762:6: In procedure invoke:
ERROR:
 1. :
 program: 
 "/gnu/store/dpaczpr4j05437bk4dr1snqnfjx9ipfl-mcron-1.2.1/bin/mcron"

 arguments: ("--schedule=20" "prologue" "job")
 exit-status: 1
 term-signal: #f
 stop-signal: #f

Any help appreciated :) !
Best regards,



signature.asc
Description: PGP signature


Reunión

2022-06-27 Thread FERNANDEZ REY ELISA
Bo día, Antón!

Escríboche para preguntarche que che parecería termos unha reunión do Proxecto 
Trasno e o Proxecto Nós, para vermos as formas en que poderiamos colaborar para 
impulsar a participación da comunidade galega en Common Voice.

Non sei se o veriades moi apurado para esta semana (podería ser o mércores á 
tarde, por exemplo). Se cadra é algo enriba da hora, pero é que a semana que 
vén marcho a un congreso e para a outra máis xa é o Curso de Verán en 
Tecnoloxías Lingüísticas. En todo caso, xa me dis se vos parece ben ter esa 
reunión e cando poderiades vós.

Grazas de antemán pola atención. Unha aperta,

Elisa

- Lista de correo de Proxecto Trasno - Enviar correo a - proxecto@trasno.gal
- Administrador - administra...@trasno.gal - de - Proxecto Trasno
- Cancelar a subscrición no URL : 
http://trasno.gal/web?confirm_unsubscribe=indeed=7723=cad9929f8879dfa9d32944fc7f4a42e735c6d6f6=1795394706



Strange Wifi behavior with wpa_supplicant / gnome (eduroam)

2022-06-17 Thread Sébastien Rey-Coyrehourcq

Hi,

Like many european academic i use eduroam wifi.

a) I restart using "herd restart wpa-supplicant"

b) I generate the wpa supplicant .conf using the cat installer

c) wlo1 is up and running well, i already use it to connect on wifi with 
4G phone


d) Running sudo wpa_supplicant -c cat_installer.conf -i wlo1 -B return

Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: kernel reports:could not set interface 'p2p-dev-wlo1' UP
nl80211: deinit ifname=p2p-dev-wlo1 disabled_11b_rates=0
p2p-dev-wlo1: Failed to initalize driver interface
p2p-dev-wlo1: CTRL-EVENT-DSCP-POLICY clear_all
P2P: failed to enable p2p device interface

e) running dmsg :

debugfs Directory 'netdev:p2p-dev-wlo1' with parent 'phy0' already present
... + lot of wlo1 thing : authenticate, send auth, etc. ...

f) Running sudo dhclient -v wlo1 i get an IP : BOUND to 10.0.89.236 
--renewal in 438 seconds


g) sudo nmcli return "wlo1:disconnected" ... and gnome doesn't display wifi

h) ip -a address return wlo1 bounded with inet 10.0.89.236

So Internet works (it seems, i need to rerun dhclient time to time) but 
this is not recognized by gnome, nmcli ... I also have error on running 
wpa_supplicant, i'm not sure this is normal.


I'm interested by config of other academics that use eduroam/wpa 
supplicant :)


**Bonus**

If you have some info to directly add this to some manifest : system.scm 
, i'm interested :)


Thanks

Best regards;






Some strange things :

- Gnome doesn't display the fact i'm connected to wifi

-



OpenPGP_0xD262AFCCE42732D3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Guix home package confusion

2022-06-15 Thread Sébastien Rey-Coyrehourcq

Hi,

Happy to see i'm not alone, a little lost when jumping into the guix 
home bath ;)


I think there is something to do (a schema, a table ?) to better 
visualize relation between guix home, guix system, guix install, guix 
package for the beginer. That could help a lot when you start your 
workflow from scratch and you don't know how thing relate each others.


A list with dotfile shared by others, like sqrtminus / dominicm could 
also help (copy / pasting and learning from others).


Best regards

Src

Le 15/06/2022 à 07:38, Tangonov a écrit :
With some more proper reading around I managed to find this thread 
from May:


https://www.mail-archive.com/help-guix@gnu.org/msg13655.html

The end of the conversation answered many of my questions. I think I 
know how I want to proceed from here.


Thanks for taking the time if you made it this far :)

Tangonov  writes:


Thanks for the reply. I of course felt the need to keep trying after I
messaged you. Call it determination (or impatience). I had manged to
do such a good job of addressing my own questions that I ended up
breaking my home environment.

In the end, I ended up logging in as root, deleting my profile
symlinks for my user and garbage collecting my user state.

From there I was able to install my manifest from scratch using guix
home.

I am still pretty confused about the relationship between guix
package, guix home and how they interact with packages. It seems like
I can install many packages by invoking guix install, and then one
system home reconfigure would undo my links to those packages if they
aren't included in the home configuration. So it seems like I should
maintain my package manifest should my interests in which packages to
keep or discard should change above and beyond a base system.

What's more confusing is after I installed from a clean slate, my
pinentry broke for gpg. It was fixed by invoking guix install
pinentry, which required no download or build for pinentry. It seems
like the de-duplication worked in that case, but I now have (again)
two divergent records of which packages I should, or should not have.

It feels like I am swinging at a nail with my thumb in the path of the
hammer.

What exactly is the intended use of guix home?

I am happy to provide my configurations, though, they have evolved
since my initial message.
Efraim Flashner  writes:


[[PGP Signed Part:Undecided]]
On Tue, Jun 14, 2022 at 08:05:45AM -0700, Tangonov wrote:

I am trying out guix for the first time and feel like I may have
jumped in
head-first into the shallow end of the pool.
I had started out with using guix package for my packages and
updated my env
for around 30 generations. Then I discovered guix home and thought
"hey,
that may be better".
I set up guix home following the documentation and it created my
first home
generation and completely re-installed my packages.
However, after subsequent changes to my home config, a guix home
reconfigure
is now attempting to re-install (and build) my packages all over
again,
despite never having run a guix pull.
I tried to "undo" the initialization of guix home as I feel like I
maybe
should stick to the "older way" for a while longer while I get the
hang of
Guile Scheme and try not to change too much at once. I have been
unable to
revert my initial revision, or find a clear path back without doing
something dramatic.
With all of my history in mind, I have 3 questions:
1. Is there a supported way to apply incremental changes in guix
home,
without re-doing (and re-compiling) all of my software?
2. Is there a supported way to revert back to just using GNU Stow
and guix
package?
3. If I can be happy with guix home, is there any supported way to
remove
potential bloat from having run guix package for 30 generations?
Thanks for the incredible software and help, if you're able.



I suppose the quick answer is to make sure you don't have 'guix' as
one
of the packages in your config.

If you share your config we might be able to see if anything sticks
out.







Re: Guix home, guix system, channels, some noob questions

2022-06-14 Thread Sébastien Rey-Coyrehourcq


Le 13/06/2022 à 21:31, Dominic Martinez a écrit :


sebastien rey-coyrehourcq  
writes:



Hi,

I jump into guile world by learning and copy/pasting Dominic Martinez 
config :)


Nice to know my config helped someone! Sorry it's a bit of a mess, I 
didn't really document anything.
I'm interested to better understand some Guile snippet of your config, 
if you're ok, is it possible to ask that in another mail or irc ?


Everything going pretty well but now i'm blocked with yubikey 
configuration.


And without yubikey that contain your only private key to 
sign/decrypt everything, that's a

little complicated ...

Running "gpg --card-status" my yubikey is correclty detected. That a 
good news ... BUT

that's all,
other command don't work, for example both :

gpg --list-secret-keys
gpg --list-keys


When you say it doesn't work, do you mean it doesn't list any keys? If 
you have keys on your Yubikey that you used with GPG on a different 
system, you'll have to re-export the key stubs for GPG to use the 
Yubikey for authentication (see 
https://github.com/drduh/YubiKey-Guide#switching-between-two-or-more-yubikeys).


Thanks! This only manipulation seems not enough and i finally found that 
importing public key is required, from server or directly from the key 


yourkey.asc | gpg --import

After that, everything goes well !

If you're getting other errors, you might need to enable some system 
services. For instance, you need the pcscd service 
(https://guix.gnu.org/manual/devel/en/guix.html#index-pcscd), and also 
the udev rules appropriate for your Yubikey model 
(https://github.com/Yubico/libfido2/blob/main/udev/70-u2f.rules). The 
below snippet should get all Yubikey functionality working:


#+begin_src scheme
(service pcscd-service-type)
(udev-rules-service 'yubikey-rules
    (udev-rule
 "70-u2f.rules"
 (string-append
  ;; All keys
  "ACTION!=\"add|change\",   
GOTO=\"u2f_end\"\n"

  ;; Yubikey
  "KERNEL==\"hidraw*\", "
  "SUBSYSTEM==\"hidraw\", "
  "ATTRS{idVendor}==\"1050\", "
"ATTRS{idProduct}==\"0113|0114|0115|0116|0120|0121|0200|0402|0403|0406|0407|0410\", 
   "

  "TAG+=\"uaccess\", MODE=\"0660\"\n"
  ;; End all keys
  "LABEL=\"u2f_end\"")))
#+end_src


I already copy paste this part from your config :)

Thanks again !

Sébastien RC.



OpenPGP_0xD262AFCCE42732D3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Guix home, guix system, channels, some noob questions

2022-06-12 Thread sebastien rey-coyrehourcq
Hi,

I jump into guile world by learning and copy/pasting Dominic Martinez config :) 

Everything going pretty well but now i'm blocked with yubikey configuration. 

And without yubikey that contain your only private key to sign/decrypt 
everything, that's a little complicated ...

Running "gpg --card-status" my yubikey is correclty detected. That a good news 
... BUT that's all, 
other command don't work, for example both : 

gpg --list-secret-keys

gpg --list-keys 

don't ask pin, and return nothing when yubikey is plugged ... 
gnome seahorse also see nothing ...
emacs see anything when i try to decipher thing ...

I reboot and retry without success ...

I miss something with this $# gpg-agent conf ? 

I post the home config here : 

https://gitlab.com/reyman64/dotfiles

June 1, 2022 10:38:09 PM CEST "Sébastien Rey-Coyrehourcq" 
 wrote:Thanks Julien, Daniel, Dominic, 
Efraim for these very detailed answers 
and snippets, that will be very useful in my current migration from 
Ubuntu to Guix.

I answer here if i need some highlights or if i found interesting 
questions or remarks to share with you.

Best regards,

Le 26/05/2022 à 02:31, Dominic Martinez a écrit :
>
> Sébastien Rey-Coyrehourcq  
> writes:
>
>> The only things holding me back at the moment is two things :
>>
>> a) doom emacs flavour, how to manage the fact that doom use straigt.el
>> to maintain packages
>
> I don't think it's possible to use Doom with Guix emacs packages, but 
> you can just set up Doom as you would on another distro. I did this 
> while I transitioned to a Guix config, using ~home-files-service-type~ 
> to deploy my Doom config files.
>
>> b) "password / secrets" management ?
>>
>> There are two things, file to directly encrypt (like ssh key) and
>> password to hide into configuration file (templating)
>>
>> b.1) So, that need to encrypt/decrypt more or less "on-the-fly" the
>> files using gpg/yubikey or age like yadm ( 
>> https://yadm.io/docs/encryption ) or chezmoi
>> (https://www.chezmoi.io/user-guide/encryption/gpg/) do ?
>
> I use small wrappers around GPG's built in encryption 
> (https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L2663) 
> and decryption 
> (https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L2691) 
> functions to manage secrets directly in my repository on the fly. Then 
> I can have supported services call the script to get secrets without 
> storing them in plain-text 
> (https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L1648).
>
>> b.2) And for templating, like replacing ${mypassword} into some
>> configuration file by getting info stored into password manager like 
>> "pass", i also don't know how to do that.
>
> Org makes this really convienent. Using noweb and shell scripts I can 
> decrypt and insert secrets into templated areas when I tangle my 
> configuration files. That way my repo only contains encrypted secrets, 
> but as long as I have my GPG keys I can build my configuration files 
> locally. See 
> https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L5 and 
> https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L1937.
>
>> c) synchronization of my .dotfiles between two different OS/System :
>> Ubuntu (home) / Guix (work & home)
>
> I keep all my configuration in a git repository, then use ~guix home~ 
> to put all the files in the right places. As others have noted, there 
> are many ways to identify the current system and do system-specific 
> operations. I personally use an environment variable to keep track, 
> and wrap guix operations with scripts that detect the system and use 
> different system/home configurations 
> (https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L2366). 
> Then all I have to do is supply the script with the system name on the 
> first run, and ~home-environment-variables-service-type~ takes it from 
> there.


Re: Guix home, guix system, channels, some noob questions

2022-06-01 Thread Sébastien Rey-Coyrehourcq
Thanks Julien, Daniel, Dominic, Efraim for these very detailed answers 
and snippets, that will be very useful in my current migration from 
Ubuntu to Guix.


I answer here if i need some highlights or if i found interesting 
questions or remarks to share with you.


Best regards,

Le 26/05/2022 à 02:31, Dominic Martinez a écrit :


Sébastien Rey-Coyrehourcq  
writes:



The only things holding me back at the moment is two things :

a) doom emacs flavour, how to manage the fact that doom use straigt.el
to maintain packages


I don't think it's possible to use Doom with Guix emacs packages, but 
you can just set up Doom as you would on another distro. I did this 
while I transitioned to a Guix config, using ~home-files-service-type~ 
to deploy my Doom config files.



b) "password / secrets" management ?

There are two things, file to directly encrypt (like ssh key) and
password to hide into configuration file (templating)

b.1) So, that need to encrypt/decrypt more or less "on-the-fly" the
files using gpg/yubikey or age like yadm ( 
https://yadm.io/docs/encryption ) or chezmoi

(https://www.chezmoi.io/user-guide/encryption/gpg/) do ?


I use small wrappers around GPG's built in encryption 
(https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L2663) 
and decryption 
(https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L2691) 
functions to manage secrets directly in my repository on the fly. Then 
I can have supported services call the script to get secrets without 
storing them in plain-text 
(https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L1648).



b.2) And for templating, like replacing ${mypassword} into some
configuration file by getting info stored into password manager like 
"pass", i also don't know how to do that.


Org makes this really convienent. Using noweb and shell scripts I can 
decrypt and insert secrets into templated areas when I tangle my 
configuration files. That way my repo only contains encrypted secrets, 
but as long as I have my GPG keys I can build my configuration files 
locally. See 
https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L5 and 
https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L1937.



c) synchronization of my .dotfiles between two different OS/System :
Ubuntu (home) / Guix (work & home)


I keep all my configuration in a git repository, then use ~guix home~ 
to put all the files in the right places. As others have noted, there 
are many ways to identify the current system and do system-specific 
operations. I personally use an environment variable to keep track, 
and wrap guix operations with scripts that detect the system and use 
different system/home configurations 
(https://git.sr.ht/~dominicm/dotfiles/tree/main/item/System.org#L2366). 
Then all I have to do is supply the script with the system name on the 
first run, and ~home-environment-variables-service-type~ takes it from 
there.


OpenPGP_0xD262AFCCE42732D3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Presentación Proxecto Nós

2022-05-21 Thread FERNANDEZ REY ELISA
Bo día!

Desculpade que vos moleste en sábado, pero acábanme de mandar o enlace da 
emisión do evento do vindeiro luns: https://youtu.be/vgSeaOW2sYQ

Grazas polo voso interese. Un saúdo,

Elisa

De: FERNANDEZ REY ELISA
Enviado: luns, 16 de maio de 2022 00:23
Para: Antón Méixome ; Cc: direct...@trasno.gal 
; proxecto@trasno.gal 
Asunto: Presentación Proxecto Nós

Prezado Antón, prezados amigos:

Agradecemos moito o voso interese na nosa xornada de presentación e apreciamos 
moito o voso traballo, a vosa experiencia e a vosa traxectoria no campo das 
tecnoloxías da fala. Así mesmo, tamén estamos moi interesados na vosa 
asistencia e participación porque hai temas de interese común sobre os que nos 
gustaría falar convosco.

Neste momento estamos intentando resolver a emisión do evento, pero aínda non 
podemos garantir a posibilidade de conexión telemática. Espero que ao longo 
desta semana poidamos darvos máis información a este respecto.

Saúdos cordiais,

Elisa Fernández Rei
IP Proxecto Nós
Instituto da Lingua Galega (USC)

- Lista de correo de Proxecto Trasno - Enviar correo a - proxecto@trasno.gal
- Administrador - administra...@trasno.gal - de - Proxecto Trasno
- Cancelar a subscrición no URL : 
http://trasno.gal/web?confirm_unsubscribe=indeed=7677=5052296f8791b832601ab5a6576d87b7fa1f452c=1985169094



Re: [lustre-discuss] how to unsquash users

2022-05-20 Thread Julien Rey via lustre-discuss

Hello Sebastien,

Thanks for your clear explanation.

I managed to "unsquash" my directory's ownership with a simple chown and 
without having to re-mount the lustre filesystem.


I understand that I should activate the "admin" and "trusted" properties 
on the default nodemap to turn it off completely for the rest of the 
clients. Am I correct ?


J.

Le 20/05/2022 à 17:10, Sebastien Buisson a écrit :

Hi,

It looks like you did not set properties on the default nodemap, which gets 
involved for your machine not in the 10.0.1.[35-38] range.
When in use, the nodemap feature does not change anything about UID/GID of 
files as stored on servers, it just changes (maps) the way clients see them. 
Once deactivated, you should unmount then remount Lustre on your client (I 
understand that you have your home directories on Lustre?).

Also, if you set the trusted property on the ’seamless’ nodemap, no id or gid 
mapping will be actually carried out, because by definition it means you trust 
the file system's canonical identifiers.

HTH,
Sebastien.


Le 20 mai 2022 à 16:57, Julien Rey via lustre-discuss 
 a écrit :

Hello everyone,

We are running lustre 2.12.7 and today I tried to set up a few nodemaps so as 
to restrict access to an unique user (seamless user with uid/gid 3669) to a 
subdirectory (/webservices/seamless) from a range of machines (10.0.1.[35-38]).

Here's what I did so far :

lctl nodemap_add seamless

lctl nodemap_add_range --name seamless --range 10.0.1.[35-38]@tcp

lctl nodemap_modify --name seamless --property trusted --value 1

lctl nodemap_add_idmap --name seamless --idtype uid --idmap 3669:3669

lctl nodemap_add_idmap --name seamless --idtype gid --idmap 3669:3669

lctl nodemap_set_fileset --name seamless --fileset '/webservices/seamless'

lctl nodemap_activate 1


However, when I tried to log on one of the machine NOT in the 10.0.1.[35-38] 
range with my user account (uid 2154), my home directory ownership got 
immediately squashed to:

drwx-- 12 nobody  nobody   4096 Apr  5 17:11 rey

So I immediatly deactivated the nodemaps using :

lctl nodemap_activate 0

However, the directory ownership remains nobody/nobody and I can no longer log 
in.


Does anyone know how to revert this ? And what was wrong with my nodemaps 
configuration ?

Thanks.

--
Julien REY

Plate-forme RPBS
Modélisation Computationnelle des Interactions Protéines-Ligand (CMPLI)
Université de Paris
tel : 01 57 27 83 95

___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


--
Julien REY

Plate-forme RPBS
Modélisation Computationnelle des Interactions Protéines-Ligand (CMPLI)
Université de Paris
tel : 01 57 27 83 95

___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] how to unsquash users

2022-05-20 Thread Julien Rey via lustre-discuss

Hello everyone,

We are running lustre 2.12.7 and today I tried to set up a few nodemaps 
so as to restrict access to an unique user (seamless user with uid/gid 
3669) to a subdirectory (/webservices/seamless) from a range of machines 
(10.0.1.[35-38]).


Here's what I did so far :

lctl nodemap_add seamless

lctl nodemap_add_range --name seamless --range 10.0.1.[35-38]@tcp

lctl nodemap_modify --name seamless --property trusted --value 1

lctl nodemap_add_idmap --name seamless --idtype uid --idmap 3669:3669

lctl nodemap_add_idmap --name seamless --idtype gid --idmap 3669:3669

lctl nodemap_set_fileset --name seamless --fileset '/webservices/seamless'

lctl nodemap_activate 1


However, when I tried to log on one of the machine NOT in the 
10.0.1.[35-38] range with my user account (uid 2154), my home directory 
ownership got immediately squashed to:


drwx-- 12 nobody  nobody   4096 Apr  5 17:11 rey

So I immediatly deactivated the nodemaps using :

lctl nodemap_activate 0

However, the directory ownership remains nobody/nobody and I can no 
longer log in.



Does anyone know how to revert this ? And what was wrong with my 
nodemaps configuration ?


Thanks.

--
Julien REY

Plate-forme RPBS
Modélisation Computationnelle des Interactions Protéines-Ligand (CMPLI)
Université de Paris
tel : 01 57 27 83 95

___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


  1   2   3   4   5   6   7   8   9   10   >