~taiite

France

https://hirtzfr.eu/@hubert

~taiite/public-inbox

Last active a month ago
View more

Recent activity

Re: [PATCH soju] Support UNIX listeners 5 days ago

From Hubert Hirtz to ~emersion/public-inbox

> I'd prefer to use a URI scheme for consistency with upstream URLs:
> 
> - ircs://<host>:<port>
> - irc+insecure://<host>:<port>
> - unix://<path>
> 
> If the scheme isn't specified, assume "ircs". If the port isn't specified,
> deduce it from the scheme.

I disagree:

- it would be redundant, how should soju behave if "listen" is set to 
"ircs://localhost:6667" but "tls" is unset?
- thus "ircs" wouldn't be the default scheme, since TLS is enabled with

[PATCH soju] Support UNIX listeners 8 days ago

From Hubert Hirtz to ~emersion/public-inbox

Since soju isn't shutting down gracefully, UNIX sockets aren't closed
and thus need to be removed manually before running soju again. For now.
---
 cmd/soju/main.go | 11 +++++++++--
 doc/soju.1.scd   |  9 +++++----
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/cmd/soju/main.go b/cmd/soju/main.go
index 5f80fb4..647530d 100644
--- a/cmd/soju/main.go
+++ b/cmd/soju/main.go
@@ -5,6 +5,7 @@ import (
	"flag"
	"log"
[message trimmed]

Re: [PATCH] Use LinkButton for links 24 days ago

From Hubert Hirtz to ~julienxx/castor

I understand!  Must admit this patch was also a crash test to try out 
sr.ht mailing lists haha.

[PATCH] Use LinkButton for links 25 days ago

From Hubert Hirtz to ~julienxx/castor

It looks better!
---
 src/draw.rs | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

diff --git a/src/draw.rs b/src/draw.rs
index 1fb78cb..79a6df3 100644
--- a/src/draw.rs
+++ b/src/draw.rs
@@ -224,28 +224,28 @@ pub fn gemini_link(gui: &Arc<Gui>, link_item: String) {
    match GeminiLink::from_str(&link_item) {
        Ok(GeminiLink::Finger(url, label)) => {
            let button_label = if label.is_empty() {
                url.clone().to_string()
[message trimmed]