~sbinet

France

Particle physicist turned software engineer

~sbinet/go-hep

Last active a month ago

~sbinet/star-tex-patches

Last active 3 months ago

~sbinet/star-tex

Last active 3 months ago
View more

Recent activity

Re: updating contacts list when sending a message 6 days ago

From Sebastien Binet to ~sircmpwn/aerc

On Sun Jun 6, 2021 at 12:14 CET, Sebastien Binet wrote:
> hi there,
>
> I am trying to automatically update my contacts' list when replying to
> an email (triggering the parsing of the message for its recipients and
> sending that list of recipients to my CardDAV server).
>
> reading through the various aerc man pages, I didn't notice anything
> related to this, only a 'new-email' trigger.
> did I miss something?
>
> reading through the send-mail code (commands/compose/send.go), I guess a
> possible avenue to do such a thing is to write a separate command, say
> `~/bin/mta`, that would forward the bytes written to its STDIN to both

updating contacts list when sending a message 15 days ago

From Sebastien Binet to ~sircmpwn/aerc

hi there,

I am trying to automatically update my contacts' list when replying to
an email (triggering the parsing of the message for its recipients and
sending that list of recipients to my CardDAV server).

reading through the various aerc man pages, I didn't notice anything
related to this, only a 'new-email' trigger.
did I miss something?

reading through the send-mail code (commands/compose/send.go), I guess a
possible avenue to do such a thing is to write a separate command, say
`~/bin/mta`, that would forward the bytes written to its STDIN to both
the "real" send-mail and to the "vcard-update" program.

retrieve mailing list stats -- was: display mailing list subscribers 27 days ago

From Sebastien Binet to ~sircmpwn/sr.ht-discuss

hi,

On Tue May 25, 2021 at 16:19 CET, Drew DeVault wrote:
> On Tue May 25, 2021 at 10:18 AM EDT, Jean-Christophe Helary wrote:
> > How do I manage list members ? Can't I unsubscribe people who don't
> > respect list rules for ex ?
>
> No, but you can block them. Settings => access => add an entry which
> removes their reply or post permissions.

to assess the health of a project, knowing how many subscribers there
are on a mailing list (w/o necessarily getting their email identity),
how many new subscribers per month/year, are valuable informations,
though.

Re: [PATCH gio] widget: make Editor implement io.Seeker, io.Reader and io.WriterTo a month ago

From Sebastien Binet to ~eliasnaur/gio-patches

On Wed May 19, 2021 at 10:21 CET, ~pierrec wrote:
> From: pierre <pierre.curto@gmail.com>
>
> Those methods help the case where the String method is called often and
> garbage wants to be reduced.
>
> Signed-off-by: pierre <pierre.curto@gmail.com>
> ---
> -
>
> widget/buffer.go | 10 ++++++++++
> widget/editor.go | 15 +++++++++++++++
> widget/editor_test.go | 45 +++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 70 insertions(+)

Re: [PATCH gddo v2] internal/source: Don't omit empty packages a month ago

From Sebastien Binet to ~sircmpwn/godocs.io

On Mon Apr 26, 2021 at 11:37 CET, Adnan Maolood wrote:
> ---
[...]

> diff --git a/gddo-server/crawl.go b/gddo-server/crawl.go
> index 730c877..afeff81 100644
> --- a/gddo-server/crawl.go
> +++ b/gddo-server/crawl.go
> @@ -11,6 +11,7 @@ import (
> "errors"
> "go/build"
> "log"
> + "path"
> "time"

[PATCH gddo] doc: point to new mailing list for patches a month ago

From Sebastien Binet to ~sircmpwn/godocs.io

Signed-off-by: Sebastien Binet <s@sbinet.org>
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index d1d5df8..66490d0 100644
--- a/README.md
+++ b/README.md
@@ -14,4 +14,4 @@ Click on "tools" for package owners at the bottom of the page.

## Questions? Patches?

Send them to my [public inbox](https://lists.sr.ht/~sircmpwn/public-inbox).
[message trimmed]

[PATCH gddo 2/2] gddo-server: implement a Gemini server a month ago

From Sebastien Binet to ~sircmpwn/public-inbox

From: "Sebastien Binet" <s@sbinet.org>

This CL implements a Gemini server listening on the default Gemini port,
displaying the documentation of the requested package.

Signed-off-by: Sebastien Binet <s@sbinet.org>
---

This CL adds the Gemini server parts.
This really is a first stab.

Missing:
 - integration of the package documentation generation with the
   'templateMap' type. I've just reused what I had written for my PoC in
[message trimmed]

[PATCH gddo 1/2] gddo-server: extract docServer and httpServer from main server a month ago

From Sebastien Binet to ~sircmpwn/public-inbox

From: "Sebastien Binet" <s@sbinet.org>

This CL is a simple code reorganization, regrouping doc-fetching related
code into a new docServer type and http-serving operations into a new
httpServer type.

Signed-off-by: Sebastien Binet <s@sbinet.org>
---

This CL is a first stab at splitting the server type into a set of more
focused components: docServer and httpServer, respectively handling the
retrieval of packages documentation and serving HTTP requests.
[message trimmed]

HarfBuzz port to Go 2 months ago

From Sebastien Binet to ~eliasnaur/gio

hi there,

I know this has been discussed already but I was looking for Type1
bibliography and stumbled upon this port of HarfBuzz to (seemingly)
a pure-Go package:

- https://github.com/benoitkugler/textlayout/blob/main/harfbuzz/harfbuzz.go

no idea how complete it is nor how robust it is :)

(a bit sad it doesn't seem to follow font.Face interface)

-s

Re: gddo: provide a gemini end-point 2 months ago

From Sebastien Binet to ~sircmpwn/public-inbox

On Mon Mar 29, 2021 at 20:17 CET, Drew DeVault wrote:
> I would definitely be interested in having Gemini support upstream. I
> think that the ?ex=1 parameter is a good solution to the examples issue.
> There should be a link available on the page which toggles these on and
> off.

great!

how do envision the architecture?
I was thinking about adding the gemini part directly to `gddo-serve` and,
more precisely, split the `server` type into 3 parts:
- db/crawling-related stuff
- http-related stuff
- gmni-related stuff