~ecs

https://ecs.d2evs.net

Recent activity

Re: [PATCH] check_expr_switch: add missing return statement 11 days ago

From Ember Sawady to ~sircmpwn/hare-dev

Thanks!

To git@git.sr.ht:~sircmpwn/harec
   011593a..987ceb7  master -> master

[PATCH] Add a mailmap 11 days ago

From Ember Sawady to ~sircmpwn/hare-dev

Signed-off-by: Ember Sawady <ecs@d2evs.net>
---
To be applied to harec, hare, hare-specification, and any other things
I've contributed to if you can be bothered to figure out what exactly
that list of repos is
 .mailmap | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 .mailmap

diff --git a/.mailmap b/.mailmap
new file mode 100644
index 0000000..fa10312
--- /dev/null
+++ b/.mailmap
[message trimmed]

[PATCH hare-specification] Fix my name 11 days ago

From Ember Sawady to ~sircmpwn/hare-dev

Signed-off-by: Ember Sawady <ecs@d2evs.net>
---
 introduction.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/introduction.tex b/introduction.tex
index c9beecf..3d3ee1a 100644
--- a/introduction.tex
+++ b/introduction.tex
@@ -18,7 +18,7 @@ The abstract and appendices are informative.

\section{Copyright}

\textcopyright\ Drew DeVault, Eyal Sawady, et al., 2020--2022
[message trimmed]

[PATCH harec] Fix casting of rconst to void 11 days ago

From Ember Sawady to ~sircmpwn/hare-dev

Signed-off-by: Ember Sawady <ecs@d2evs.net>
---
 src/check.c | 2 +-
 src/types.c | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/check.c b/src/check.c
index e4b912e..21d50d6 100644
--- a/src/check.c
+++ b/src/check.c
@@ -1440,7 +1440,7 @@ check_expr_cast(struct context *ctx,
			free(secondarytypename);
			return;
		}
[message trimmed]

[PATCH qbe] Fix parsing of multiple globals in datadef 11 days ago

From Ember Sawady to ~sircmpwn/hare-dev

Eg. data $a = { w $b $c }
---
 parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parse.c b/parse.c
index 1912c8b..cfed548 100644
--- a/parse.c
+++ b/parse.c
@@ -1049,7 +1049,7 @@ parsedat(void cb(Dat *), Lnk *lnk)
				err("constant literal expected");
			cb(&d);
			t = nextnl();
		} while (t == Tint || t == Tflts || t == Tfltd || t == Tstr);
[message trimmed]

[PATCH qbe] Fix parsing of multiple globals in datadef 11 days ago

From Ember Sawady to ~mpu/qbe

Eg. data $a = { w $b $c }
---
 parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parse.c b/parse.c
index 1912c8b..cfed548 100644
--- a/parse.c
+++ b/parse.c
@@ -1049,7 +1049,7 @@ parsedat(void cb(Dat *), Lnk *lnk)
				err("constant literal expected");
			cb(&d);
			t = nextnl();
		} while (t == Tint || t == Tflts || t == Tfltd || t == Tstr);
[message trimmed]

Re: [PATCH] Fix labeled-response without downstream echo-message 20 days ago

From Ember Sawady to ~emersion/soju-dev

On Mon Sep 5, 2022 at 10:19 AM UTC, Simon Ser wrote:
> Hm, I think this breaks if upstream sends a message which isn't echo
> but still is our own prefix. This can happen if another client is
> connected to the upstream server with the same nick, or if the server
> is configured with an auto-reply of some kind, etc.

Wouldn't those be caught by the dc.id == originID check? The messages
soju relays with this patch should be a strict superset of the messages
it used to relay.

> We're trying to fix the Ergo + weechat case here right? Ergo supports
> both echo-message and labeled-response. weechat supports neither.

Yes, specifically responses from NickServ et al, which are labelled:

Re: Match overhaul 20 days ago

From ecs to ~sircmpwn/hare-dev

On Mon Sep 5, 2022 at 12:53 PM UTC, Johann Freymuth wrote:
> Another option would be to store types with different padding depending 
> on alignment. (u8 | i8 | u64) would then be:

I think that should work, but I'm not sure if it'd be simpler than my
proposal. I think it's probably worth prototyping both to see which one
is best.

Re: Windows support a month ago

From ecs to ~sircmpwn/hare-users

On Thu Aug 25, 2022 at 7:11 AM UTC, Dmitry B wrote:
> > Ah, the kernel developed by the Soviet computer hacker
> named Linyos Torovoltos!
>
> Soviet? Are you joking?
>
> > America and the world safe by dropping tons of freedom
> to foreign nations every year!
>
> But for some reason everyone is fleeing to horrible America and no one
> is going to Russia or North Korea

I'm not sure who you're quoting here, and this really isn't the right
place to discuss geopolitics, unless for some reason they become

[PATCH v2] Fix NICK on upstreams supporting MONITOR a month ago

From Ember Sawady to ~emersion/soju-dev

Previously, uc.network.Network.Nick wasn't successfully updated on
downstream NICK. This would cause soju to immediately switch back to the
old nick when the upstream supported MONITOR, so long as the network had
a nick configured as of initialization.

In addition, stop monitoring our desired nick once we've successfully
switched to it once, in order to not immediately undo server-induced
nick changes.
---
v1 => v2: only update network.Network.Nick if err == nil, and only
monitor the desired nick once on connection if it wasn't available.
 downstream.go |  1 +
 upstream.go   | 13 +++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
[message trimmed]