~rockorager

St. Paul, MN

https://timculverhouse.com/

~rockorager/comlink

Last active a day ago

~rockorager/vaxis

Last active 5 days ago

~rockorager/go-jmap-devel

Last active 2 months ago

~rockorager/vaxis-announce

Last active 9 months ago

~rockorager/tcell-term

Last active 9 months ago

~rockorager/mjmap-dev

Last active 9 months ago

~rockorager/shtc

Last active 1 year, 4 days ago

~rockorager/hutui

Last active 1 year, 2 months ago

~rockorager/spunky-dev

Last active 1 year, 3 months ago

~rockorager/offmap

Last active 1 year, 4 months ago
View more

Recent activity

Re: [PATCH] irc: implement /part command a day ago

From Tim Culverhouse to ~rockorager/comlink

On Fri Jul 19, 2024 at 12:50 PM CDT, Gregory Anders wrote:
> /close is an alias.
> ---

Applied! Thanks!

-- 
Tim

Re: [PATCH] ui: add /redraw command and default binding to redraw screen a day ago

From Tim Culverhouse to ~rockorager/comlink

On Fri Jul 19, 2024 at 2:08 PM CDT, Gregory Anders wrote:
> This is useful if the screen state becomes garbled for any reason (e.g.
> error messages printing to stderr).
> ---

Applied! Thanks!

-- 
Tim

Re: [PATCH v1] docs: document the tls connection parameter a day ago

From Tim Culverhouse to ~rockorager/comlink

On Fri Jul 19, 2024 at 10:57 AM CDT, Tristan Partin wrote:
> This was missing from the docs.
> ---
>  docs/comlink.lua | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/docs/comlink.lua b/docs/comlink.lua
> index 61c036f..0513dc6 100644
> --- a/docs/comlink.lua
> +++ b/docs/comlink.lua
> @@ -12,6 +12,7 @@ local comlink = {}
>  ---@field nick string Nick to use when connecting via SASL to IRC
>  ---@field password string Password for server
>  ---@field real_name string Real name of user

Re: [PATCH] ui: use channel and sender in notification title 2 days ago

From Tim Culverhouse to ~rockorager/comlink

On Fri Jul 19, 2024 at 8:40 AM CDT, Gregory Anders wrote:
> ---
>  src/App.zig | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/src/App.zig b/src/App.zig
> index 20912f4..5d0e864 100644
> --- a/src/App.zig
> +++ b/src/App.zig
> @@ -784,7 +784,17 @@ pub fn run(self: *App) !void {
>                                  const content = iter.next() orelse continue;
>                                  var has_highlight = false;
>                                  if (std.mem.indexOf(u8, content, msg.client.config.nick)) |_| {
> -                                    try self.vx.notify(writer, "comlink", content);

Re: [PATCH v3] ui: set window title to current channel 4 days ago

From Tim Culverhouse to ~rockorager/comlink

On Tue Jul 16, 2024 at 4:40 PM CDT, Gregory Anders wrote:
> The IRC specification does not mention an explicit channel name length
> [1], but I found that Libera.Chat does enforce a length of around 48
> characters. So the 64 byte buffer should be plenty in most cases, but
> just in case we truncate the channel name (and drop the " - comlink"
> suffix) if the channel name is too long.
>
> [1]: https://modern.ircdocs.horse/#channels
> ---

Applied! Thanks!

Re: [PATCH] ui: set window title to current channel 4 days ago

From Tim Culverhouse to ~rockorager/comlink

On Tue Jul 16, 2024 at 4:32 PM CDT, Gregory Anders wrote:
> Libera at least enforces a ~48 character max (many error code 479s were 
> encountered to discover this). The spec doesn't mention anything about 
> channel name limits though: https://modern.ircdocs.horse/#channels. So 
> to be safe, we can truncate the channel name if it's longer than 64 
> characters.

Truncating sounds like a good plan to me

Thanks for looking into it!

-- 
Tim

Re: [PATCH] ui: set window title to current channel 4 days ago

From Tim Culverhouse to ~rockorager/comlink

On Tue Jul 16, 2024 at 3:28 PM CDT, Gregory Anders wrote:
> ---
>  src/App.zig | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/src/App.zig b/src/App.zig
> index 7e7e0c1..5169ab2 100644
> --- a/src/App.zig
> +++ b/src/App.zig
> @@ -1532,7 +1532,9 @@ fn draw(self: *App) !void {
>                      self.loop.?.postEvent(.redraw);
>                  }
>              }
> -            var chan_style: vaxis.Style = if (row == self.state.buffers.selected_idx)

Re: [PATCH v2] ui: redisplay sender nick if interval between messages exceeds 5 minutes 5 days ago

From Tim Culverhouse to ~rockorager/comlink

On Tue Jul 16, 2024 at 1:25 PM CDT, Gregory Anders wrote:
> ---
> v2:
>   - Add explicit type annotation to time_gap block

Thanks! Applied

-- 
Tim

Re: [PATCH] ui: redisplay sender nick if interval between messages exceeds 5 minutes 5 days ago

From Tim Culverhouse to ~rockorager/comlink

On Tue Jul 16, 2024 at 1:17 PM CDT, Gregory Anders wrote:
> ---
>  src/App.zig | 25 +++++++++++++++++++------
>  1 file changed, 19 insertions(+), 6 deletions(-)
>
> diff --git a/src/App.zig b/src/App.zig
> index d5bcba7..a3cded2 100644
> --- a/src/App.zig
> +++ b/src/App.zig
> @@ -1686,6 +1686,7 @@ fn draw(self: *App) !void {
>                  });
>  
>                  var prev_sender: ?[]const u8 = null;
> +                var prev_time: ?zeit.Time = null;

Re: [PATCH] sixel: Greatly speed up resizing by quantizing with an octree algorithm 5 days ago

From Tim Culverhouse to ~rockorager/vaxis

On Tue Jul 16, 2024 at 8:38 AM CDT, delthas wrote:
> Instead of creating a palette from a median quantizer, then brute-forcing
> the palette by drawing the image again against the palette.
>
> This brings a 10x speed improvement for drawing SIXEL images, at the cost
> of a slightly image quality decrease.
>
> As the sole author of octreequant, I also submit the file under the
> LICENSE of vaxis.
> ---

Applied! Thanks - and great work with octreequant. This is a massive
improvement!