~tomleb

https://blog.tomlebreux.com

I develop random projects to experiment and for fun.

~tomleb/public-inbox

Last active 11 months ago

~tomleb/mpdnotify

Last active 1 year, 9 months ago
View more

Recent activity

[PATCH] Document SELinux error 12 days ago

From Tom Lebreux to ~kennylevinsen/greetd-devel

---
 index.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/index.md b/index.md
index c540c319e5ce..90dc2b73c31b 100644
--- a/index.md
+++ b/index.md
@@ -210,6 +210,16 @@ The default greetd configuration uses `agreety` (which looks just like `agetty`

You can change the configuration as mentioned in the steps above to make `agreety` start another login environment of your choice (e.g. `sway`), or use a different greeter altogether.

## greetd fails with `unable to exec: Sys(EACCES)`

[message trimmed]

Re: Unable to list HEAD with graphql 2 months ago

From Tom Lebreux to ~sircmpwn/sr.ht-dev

On 2021-01-25 10:12 a.m., Drew DeVault wrote:
> Turns out that this was a GraphQL validation error. You need to select
> some sub-fields from the HEAD object; it's a Reference type. I've
> written a patch which displays GraphQL validation errors on the explorer
> UI instead of a generic error message.

It's much better now with the validation error in the explorer UI. Thanks.

> 
> (re-sent due to some lists.sr.ht issues, bear with me)
> 

Maybe related: Is this why I don't see your response on lists.sr.ht[0]?

Unable to list HEAD with graphql 2 months ago

From Tom Lebreux to ~sircmpwn/sr.ht-dev

Hi,

as mentioned on IRC, I'm getting an error when trying to get the HEAD 
field when using the git.sr.ht graphql playground [0].

I am using the following query:

     query {
       me {
         repositories(filter: { count: 5 }) {
           cursor
           results {
             id, name, updated, HEAD
           }

Questions about dmabuf 3 months ago

From Tom Lebreux to ~scoopta/wlrobs

Hi,

been using wlrobs to record my screen with sway. It seems to work great, 
so thanks for that!

I'm using the screencopy backend with standard OBS with the 
QT_QPA_PLATFORM=xcb set. What is the benefit of using the dmabuf backend?

It seems to be to avoid copying the screen to another buffer (?) which 
should result in better performance. Is this correct? How much 
performance gains / fps are we talking about here?

Thanks!

Re: [PATCH mkproof v4 1/4] Split mkproof logic into own function 3 months ago

From Tom Lebreux to ~sircmpwn/public-inbox

On 2020-12-24 9:05 a.m., Drew DeVault wrote:
> Can you rebase this following the recent changes to proof logic?
> 

Yes,

rebased in v5.

[PATCH mkproof v5 2/4] Use multiple processes to find proof 3 months ago

From Tom Lebreux to ~sircmpwn/public-inbox

---

Notes:
    Changes from v1:
    - Use sysconf with fallback to get number of processors
    - Statically allocate list of pids
    Changes from v2:
    - Set default value to nprocs - 1
    - Set default parallelism to 2 for unknown nprocs

 src/mkproof.c | 70 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 52 insertions(+), 18 deletions(-)

diff --git a/src/mkproof.c b/src/mkproof.c
[message trimmed]

[PATCH mkproof v5 4/4] Add -j option to specify number of processes 3 months ago

From Tom Lebreux to ~sircmpwn/public-inbox

---

Notes:
    Changes from v3:
    - Check nprocs >0

 src/mkproof.c | 36 ++++++++++++++++++++++++++----------
 1 file changed, 26 insertions(+), 10 deletions(-)

diff --git a/src/mkproof.c b/src/mkproof.c
index 11927e7c1cfe..962421c7c919 100644
--- a/src/mkproof.c
+++ b/src/mkproof.c
@@ -71,21 +71,43 @@ run_mkproof(argon2_context context, int digits)
[message trimmed]

[PATCH mkproof v5 3/4] Draw spinner while waiting for a proof 3 months ago

From Tom Lebreux to ~sircmpwn/public-inbox

---

Notes:
    Changes from v2:
    - Make spinners const
    - Increment i forever
    - int i -> size_t i

 src/mkproof.c | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/mkproof.c b/src/mkproof.c
index 8aeb51f3de7e..11927e7c1cfe 100644
--- a/src/mkproof.c
[message trimmed]

[PATCH mkproof v5 1/4] Split mkproof logic into own function 3 months ago

From Tom Lebreux to ~sircmpwn/public-inbox

---
 src/mkproof.c | 77 ++++++++++++++++++++++++++++-----------------------
 1 file changed, 43 insertions(+), 34 deletions(-)

diff --git a/src/mkproof.c b/src/mkproof.c
index 3ec703ceb5e3..04e549ccc673 100644
--- a/src/mkproof.c
+++ b/src/mkproof.c
@@ -17,6 +17,42 @@ die(int check, char *why)
	}
}

static void
run_mkproof(argon2_context context, int digits)
[message trimmed]

[PATCH mkproof v4 2/4] Use multiple processes to find proof 3 months ago

From Tom Lebreux to ~sircmpwn/public-inbox

---

Notes:
    Changes from v1:
    - Use sysconf with fallback to get number of processors
    - Statically allocate list of pids
    Changes from v2:
    - Set default value to nprocs - 1
    - Set default parallelism to 2 for unknown nprocs

 src/mkproof.c | 70 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 52 insertions(+), 18 deletions(-)

diff --git a/src/mkproof.c b/src/mkproof.c
[message trimmed]