~runxiyu

Shanghai

https://runxiyu.org/

I'm more of a philosophy student than a programmer but I do have some computer-related projects.

Pronouns: they/them

~runxiyu/asahi-announce

Last active 2 days ago

~runxiyu/cca

Last active 5 days ago

~runxiyu/public-inbox

Last active 9 days ago

~runxiyu/evosaur

Last active 3 months ago

~runxiyu/haxircd

Last active 3 months ago

~runxiyu/ykps

Last active 4 months ago

~runxiyu/sjdb

Last active 4 months ago
View more

Recent activity

[PATCH] {courses,sem,ws}.go: First step towards an efficient state propagator 9 days 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? 2 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 2 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 2 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 2 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]

[PATCH sr.ht-docs] installation.md: Note that only *x86_64* 2 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]

[PATCH v1] Makefile: Use install(1) rather than cp(1) for installing 2 months ago

From Runxi Yu to ~delthas/senpai-dev

If the user uses a restrictive umask, the files copied via cp(1) would
not be world-executable. Most of the time I install to /usr/local/bin as
root, which causes the installed binaries to be not executable by normal
users.

By default, install(1) uses -rwxr-xr-x, which solves this.

Signed-off-by: Runxi Yu <me@runxiyu.org>
---
 Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 7803bff..5eb9ea7 100644
[message trimmed]

Re: Error rt Module not found 2 months ago

From Runxi Yu to ~sircmpwn/hare-users

On Mon Jul 15, 2024 at 5:04 AM CST, Ben wrote:
> Error: rt: Module not found

For people who might encounter this post in the mailing list archives 
later:

This could also be shown if you don't have permissions to access the 
standard library (though the error message is slightly confusing). I've 
had this issue since my umask is typically 077, and while the "install" 
target in the Makefile uses install(1) to set up file permissions 
correctly, it also uses mkdir(1) without adjusting directory 
permissions.

If this describes your issue, namei -l might be useful.

[PATCH] Bump vaxis to v0.9.2 3 months ago

From Runxi Yu to ~rjarry/aerc-devel

Vaxis v0.9.2 fixes the handling of wide characters, so aerc could
display CJK characters without tearing. This commit therefore just
bumps to vaxis v0.9.2 in go.mod and go.sum.

Signed-off-by: Runxi Yu <me@runxiyu.org>
Fixes: https://lists.sr.ht/~rjarry/aerc-devel/%3CD20PNPBYICT9.312YFUVZCJBRT@runxiyu.org%3E
---
 go.mod | 2 +-
 go.sum | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
index e95e4c0..660e1b0 100644
--- a/go.mod
[message trimmed]

Re: [PATCH aerc] wrap: fix wide CJK characters support 3 months ago

From Runxi Yu to ~rjarry/aerc-devel

Hi,

I've tested it and it seems to work for me.

Thanks!

Runxi Yu
me@runxiyu.org