~runxiyu

Shanghai

https://runxiyu.org/

I'm migrating stuff. Some of the repos will come back on sr.ht. Check out https://git.runxiyu.org and https://git.lindenii.runxiyu.org.

Pronouns: they/them

~runxiyu/asahi-announce

Last active a month ago

~runxiyu/public-inbox

Last active 3 months ago
View more

Recent activity

Re: [PATCH aerc] imap: add support for plain auth 3 days ago

From Runxi Yu to ~rjarry/aerc-devel

Hi,

It works for me. Thanks!

Best regards,
Runxi Yu (they/them)
YKPS SJ Y11 E306
https://runxiyu.org

aerc uses LOGIN instead of PLAIN for IMAP 3 days ago

From Runxi Yu to ~rjarry/aerc-discuss

With the following,

    (printf '* OK [CAPABILITY IMAP4rev2 AUTH=PLAIN] test\r\n' | nc -l -p 1234 > /tmp/log) & aerc

    [local]
    source  = imap+insecure://me%40example.org:test@127.0.0.1:1234
    default = INBOX
    from    = Runxi Yu <me@example.org>

I see LOGIN instead of PLAIN. LOGIN is kinda deprecated. I was able to
reproduce this in add9e15e475d8e22d7ed1452ced37d7ec7ff8aff and 0.18.2.

Referencing the same ticket in a todo.sr.ht ticket 14 days ago

From Runxi Yu to ~sircmpwn/sr.ht-discuss

Hi,

While browsing https://todo.sr.ht/~emersion/soju/240 I noticed that
sr.ht recognized "https://todo.sr.ht/~emersion/soju/240#event-402678" in
one of the email bodies and inserted "Greg Linklater referenced this
from #240".

I don't think todo.sr.ht should recognize references to the same ticket
like this. I could open a ticket if desired.

Best regards,

Runxi Yu (they/them)
Year 11, E House

hut git list returns incomplete results when redirected to file 21 days ago

From Runxi Yu to ~xenrox/hut-dev

`hut git list` returns 25 repositories for me when I pipe its output to
a file, which is definitely less than I have. It returns 92 repositories
when I let it go to standard output (it seems to call less or
something).

--
Best regards,

Runxi Yu (they/them)
Year 11, E House
YK Pao School SJ
https://runxiyu.org

Re: Looking for feedback on migrating to CMake (and CTest) 21 days ago

From Runxi Yu to ~mpu/qbe

I completely agree with Drew and Jan. CMake is bloated, impossible to
bootstrap, and... yeah, no.

What you could instead do is to use https://github.com/rizsotto/Bear,
which would create compile_commands.json that clang tooling (e.g.
clangd, ccls, and probably many more language servers) recognize.

I'm not sure how test integrations work, and I'm not convinced they'll
really be useful for qbe.

Bear is available in many, many repositories:
https://repology.org/project/bear-clang/versions

--

[PATCH] {courses,sem,ws}.go: First step towards an efficient state propagator 3 months ago

From Runxi Yu to ~runxiyu/public-inbox

References: https://todo.sr.ht/~runxiyu/cca/7
---
 courses.go | 11 ++++++++-
 sem.go     | 40 +++++++++++++++++++++++++++++++++
 ws.go      | 65 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 3 files changed, 110 insertions(+), 6 deletions(-)
 create mode 100644 sem.go

diff --git a/courses.go b/courses.go
index b3d3a9c..815c85b 100644
--- a/courses.go
+++ b/courses.go
@@ -37,6 +37,11 @@ type courseT struct {
	/*
[message trimmed]

Should the lists.sr.ht archive page ignore patches by default? 5 months ago

From Runxi Yu to ~sircmpwn/sr.ht-discuss

Hi,

Since:
* We already have a separate patch tab
* Clicking on a patch in the archive leads to the patch view, not the 
archive view by default
* Having patches without any state displayed (e.g. applied, proposed) 
clutters up the archive

I believe that it would be appropriate to only include non-patch emails 
in the archive view by default.

--
Best regards,

Re: [PATCH harelang.org] tutorials/introduction: Fix appearance of alert in for-each loops 5 months ago

From Runxi Yu to ~sircmpwn/hare-dev

> https://builds.sr.ht/~sircmpwn/job/1301314

I see that the builds.sr.ht job for this patch is running. The "upload" 
step failed (which is probably expected), but I see that you're 
installing TeXLive from scratch.

Generating TeXLive formats uses a lot of resources; when I install a 
Linux-based system that I use day-to-day (well, a binary-based one, not 
Gentoo or anything like that), the single longest task is running the 
scripts that generate TeX formats (kpathsea, mktex*, etc). If at all 
possible, I'd suggest using an image that has TeX Live included; it's 
not like TeX Live gets many updates either, in most cases it's just once 
a year releases.

[PATCH harelang.org] tutorials/introduction: Fix appearance of alert in for-each loops 5 months ago

From Runxi Yu to ~sircmpwn/hare-dev

This commit partially reverts d2952709.

d2952709 replaced the broken `backtick quotes` with <pre>preformatted
blocks</pre>, but preformatted are actual block's rather than
inline-block's, which causes each of these to appear on a different line
and bleed out of the div.alert border on some some screen sizes.

This commits replaces them with <code>, which seems to work well in this
context.

Signed-off-by: Runxi Yu <me@runxiyu.org>
---
 content/tutorials/introduction.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
[message trimmed]

[PATCH sr.ht-docs v2] installation.md: Note that only *x86_64* Alpine is supported 5 months ago

From Runxi Yu to ~sircmpwn/sr.ht-dev

Signed-off-by: Runxi Yu <me@runxiyu.org>
---
 installation.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installation.md b/installation.md
index 1ef8ebd..f298d52 100644
--- a/installation.md
+++ b/installation.md
@@ -11,7 +11,7 @@ This document covers the installation steps common to all sr.ht services.

<div class="alert alert-warning">
  <strong>Warning:</strong> Currently, the only officially supported method for
  installing sr.ht software is through packages on Alpine Linux hosts.
[message trimmed]