~williewillus

Austin, TX

https://www.vincent-lee.net/

Interests: systems programming, Minecraft modding, Touhou Project

~williewillus/public-inbox

Last active 4 days ago

~williewillus/blog-comments

Last active 4 months ago
View more

Recent activity

Re: [PATCH r16] Implement trick-local storage 13 days ago

From Vincent Lee to ~williewillus/public-inbox

Looks good, just rebase and also reformat to match normal lisp indenting
conventions. In particular, all arguments should always be aligned.

wenming.yi@gmail.com writes:

> From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>
>
> ---
> Trick-local storage is currently *transient*.
> By necessity, evaluation-contexts now know what trick they're from;
> read/write are no-ops for `!rkt eval`.
> Storage comes in three varieties: global (64kb), per-channel (8kb), per-user (2kb).
> Right now they use `write` for measuring/saving stored data, for lower overhead than `serialize`.

Re: [PATCH r16 v2 1/2] Fix #lang for langs with protected exports 16 days ago

From Vincent Lee to ~williewillus/public-inbox

Applied this patch (amended to restore the gitignore) but not the 2/2.
I'm going to change the bot so that
the trick data dir is passed as a CLI parameter, so adding it to the
gitignore/repo is unnecessary.

eutro writes:

> ---
>  .gitignore    | 6 ------
>  evaluator.rkt | 4 ++--
>  2 files changed, 2 insertions(+), 8 deletions(-)
>  delete mode 100644 .gitignore
>
> diff --git a/.gitignore b/.gitignore

[PATCH r16] Eliminate flatten trick context into db and guild id a month ago

From Vincent Lee to ~williewillus/public-inbox

---
Here's how things flowed before the previous commit:
* r16 module: db:get-trick-context
* db module: calls the contextualizer, which was defined in r16 module
* r16: contextualizer extracts guild id
* db: gets value back from contextualizer, construct trick ctx and return it
* r16: gets trick ctx back, calls db with the actual call it wanted to do
* db: does it

There's many hidden back and forth calls over the module boundary which in my mind points
to major complection of the db and main modules.

Instead, the main module always computes the context id of the message
(either the guild id, or the channel id if the former is absent, which should support
[message trimmed]

Re: [PATCH r16] Add methods to lookup and fetch emotes a month ago

From Vincent Lee to ~williewillus/public-inbox

wenming.yi@gmail.com writes:

> From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>
>
> ---
>  r16.rkt | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/r16.rkt b/r16.rkt
> index dd94f89..5cd74a5 100755
> --- a/r16.rkt
> +++ b/r16.rkt
> @@ -7,6 +7,7 @@

Re: [PATCH r16] Add typing indicator for trick evaluations a month ago

From Vincent Lee to ~williewillus/public-inbox

A couple comments. Also, please specify what patches your patch should
be applied on top of/depends on, or base them off of current master if possible.

wenming.yi@gmail.com writes:

> From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>
>
> ---
>  r16.rkt | 40 +++++++++++++++++++++++++++++++---------
>  1 file changed, 31 insertions(+), 9 deletions(-)
>
> diff --git a/r16.rkt b/r16.rkt
> index 5cd74a5..1c982c9 100755

[PATCH r16] Replace hardcoded admin check with administrator + manage guild a month ago

From Vincent Lee to ~williewillus/public-inbox

---
Reply with ok/lgtm and I'll apply :wacko:

 r16.rkt | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/r16.rkt b/r16.rkt
index 97a4910..bc6e918 100755
--- a/r16.rkt
+++ b/r16.rkt
@@ -7,10 +7,8 @@
  (prefix-in db: "trick-db.rkt")

  (only-in racket/serialize serializable-struct/versions)
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email a month ago

From Vincent Lee to ~sircmpwn/email-test-drive

---
This fixes the issues raised from the first patch.

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

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

[PATCH] Demonstrate that I can use git send-email a month ago

From Vincent Lee to ~sircmpwn/email-test-drive

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

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

Re: [PATCH r16] Create JSON (symbol->)+string database module 2 months ago

From Vincent Lee to ~williewillus/public-inbox

Alwinfy writes:

>> Let's call this `filename`
>
> gotcha
>
>
>> I don't really understand why there's a loop here, shouldn't the db just
>> be guild -> trickname -> trick body? I'd rather just write those two
>> levels of traversal out instead of a whole path loop.
>> In general, I'm not quite sure what the data model of the db is from
>> reading the code.
> The general idea here is that it's a subset of JSON: only objects and strings allowed.

Re: [PATCH r16] Create JSON (symbol->)+string database module 2 months ago

From Vincent Lee to ~williewillus/public-inbox

Alwinfy writes:

> As of yet unintegrated, but here you go:
>
>
> From 1bfd596e70ae258872096d49bcda98b601114161 Mon Sep 17 00:00:00 2001
> From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>
> Date: Mon, 1 Feb 2021 18:49:40 -0600
> Subject: [PATCH] Create JSON (symbol->)+string database
>
> ---
>  json-db.rkt | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 76 insertions(+)