~kennylevinsen

Denmark

https://kl.wtf/

This space intentionally left blank.

~kennylevinsen/public-inbox

Last active 13 hours ago

~kennylevinsen/greetd

Last active 29 days ago
View more

Recent activity

[PATCH soju] service: Handle zero-value in stringPtrFlag.String a month ago

From Kenny Levinsen to ~emersion/public-inbox

FlagSet.PrintDefaults uses reflection to construct a zero value, calls
.String on it, and compares the result with the current flag value to
detect zero-value flags. For stringPtrFlag, this would result in a
panic, as String() always dereferenced the first level of its **string.

Add another check so that both pointer levels are nil-checked.
---
 service.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service.go b/service.go
index ef708e1..85dfe19 100644
--- a/service.go
+++ b/service.go
[message trimmed]

[PATCH soju] docs: Fix manpage syntax a month ago

From Kenny Levinsen to ~emersion/public-inbox

---
 doc/soju.1.scd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/soju.1.scd b/doc/soju.1.scd
index a756302..896bf5d 100644
--- a/doc/soju.1.scd
+++ b/doc/soju.1.scd
@@ -166,7 +166,7 @@ abbreviated form, for instance *network* can be abbreviated as *net* or just
	Disable SASL EXTERNAL authentication and remove stored certificate.

*user create* -username <username> -password <password> [-admin]
    Create a new soju user. Only admin users can create new accounts.
	Create a new soju user. Only admin users can create new accounts.
[message trimmed]

Re: [PATCH] Make sure to require codec in tokio-codec feature 2 months ago

From to ~kennylevinsen/greetd

May 31, 2020 6:59 PM, "Robert G├╝nzler" <r@gnzler.io> wrote:

> ---
> I'm trying to package for gentoo. Using the cargo eclass I get errors
> like this:
> 
> error[E0432]: unresolved import `greetd_ipc::codec`
> --> greetd/src/server.rs:17:5
> |
> 17 | codec::{Error as CodecError, TokioCodec},
> | ^^^^^ could not find `codec` in `greetd_ipc`
> 
> error[E0433]: failed to resolve: could not find `codec` in `greetd_ipc`
> --> greetd/src/error.rs:42:23

Re: [PATCH poweralertd] Introduce systemd user unit file 2 months ago

From to ~kennylevinsen/public-inbox

May 21, 2020 10:14 AM, "Antoine Damhet" <antoine.damhet@lse.epita.fr> wrote:

> The unit will be installed if `poweralertd` is built with `logind`.
> 
> Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr>
> ---
> 
> I needed to re-craft the default install path of binaries, that should
> be consistent with `meson`'s one.
> 
> contrib/systemd-user/poweralertd.service.in | 12 ++++++++++++
> meson.build | 12 ++++++++++++
> 2 files changed, 24 insertions(+)
> create mode 100644 contrib/systemd-user/poweralertd.service.in

[PATCH v2] Demonstrate that I can use git send-email! 3 months ago

From Kenny Levinsen to ~sircmpwn/email-test-drive

---
 kennylevinsen | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 kennylevinsen

diff --git a/kennylevinsen b/kennylevinsen
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/kennylevinsen
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.26.0
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 3 months ago

From Kenny Levinsen to ~sircmpwn/email-test-drive

---
 kennylevinsen | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 kennylevinsen

diff --git a/kennylevinsen b/kennylevinsen
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/kennylevinsen
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.26.0
[message trimmed]

[PATCH v3] Demonstrate that I can use git send-email! 6 months ago

From Kenny Levinsen to ~sircmpwn/email-test-drive

---
La da dii, la di duum

 kennylevinsen | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 kennylevinsen

diff --git a/kennylevinsen b/kennylevinsen
new file mode 100644
index 0000000..4538de2
--- /dev/null
+++ b/kennylevinsen
@@ -0,0 +1,2 @@
I have successfully used git send-email!
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email! 6 months ago

From Kenny Levinsen to ~sircmpwn/email-test-drive

---
 kennylevinsen | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 kennylevinsen

diff --git a/kennylevinsen b/kennylevinsen
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/kennylevinsen
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.25.0
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 6 months ago

From Kenny Levinsen to ~sircmpwn/email-test-drive

---
 kennylevinsen | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 kennylevinsen

diff --git a/kennylevinsen b/kennylevinsen
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/kennylevinsen
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.25.0
[message trimmed]