Last active 6 days ago


Last active 5 months ago


Last active 2 years ago


Last active 3 years ago
View more

Recent activity

ijq v1.1.0 released 6 days ago

From Gregory Anders to ~gpanders/ijq

Version 1.1.0 of ijq has been released.

The highlight of this release is significantly improved performance in
the ijq UI. For more details, see my blog post:


See the full release notes here:




Re: [PATCH] Update README links to jqlang 7 days ago

From Gregory Anders to ~gpanders/ijq


Re: [PATCH] chore: run go mod tidy a month ago

From Gregory Anders to ~gpanders/ijq

Thanks very much! Pushed.

ijq v1.0.0 released 3 months ago

From Gregory Anders to ~gpanders/ijq

Version 1.0.0 of ijq has been released.

ijq has been stable and usable for a while now, so a 1.0 release seemed
appropriate. There are a few bug fixes since the last release. See the full
release notes here: https://git.sr.ht/~gpanders/ijq/refs/v1.0.0


[PATCH] Make some vars consts 5 months ago

From Gregory Anders to ~gpanders/ztags

 src/Tags.zig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Tags.zig b/src/Tags.zig
index eb6c69e..c86d924 100644
--- a/src/Tags.zig
+++ b/src/Tags.zig
@@ -107,7 +107,7 @@ pub fn deinit(self: *Tags) void {
/// allocates, and is slower, but is only temporary until a cross-platform "map file" function
/// exists in the stdlib (or until someone implements it here)).
fn mapFile(allocator: std.mem.Allocator, fname: []const u8) !?[:0]const u8 {
    var file = try std.fs.cwd().openFile(fname, .{});
    const file = try std.fs.cwd().openFile(fname, .{});
[message trimmed]

[PATCH v2] Use next commit in log continuation 8 months ago

From Gregory Anders to ~sircmpwn/sr.ht-dev

Fix a bug where the first commit in the log after clicking "Next" is the
same as the last commit on the previous page.
Rebased on master. Also slightly reworded the commit message and tweaked
the implementation from v1.

 gitsrht/blueprints/repo.py | 10 ++++++----
 gitsrht/templates/log.html |  4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py
index ef379b2..f2f3fc4 100644
--- a/gitsrht/blueprints/repo.py
+++ b/gitsrht/blueprints/repo.py
[message trimmed]

Re: SoC hardware register test? 8 months ago

From Gregory Anders to ~andrewrk/ziglang

On Tue, 15 Aug 2023 11:17 +0200, Peter Bridge wrote:
>Hi All, I am still busy on the PinePhone SoC in Zig.  I have a funny 
>pair of 32b hardware registers representing a u56 value, a chance for 
>me to play with another nice Zig feature :)
>My construct currently supports passing in the u32 address of each 
>register along with a value to poke() into memory.  I basically use a 
>struct wrapping '*volatile u32' created via @intToPointer on the 
>passed in comptime 32b address.
>My question is, does Zig support anyway to test this design?  ie 
>poke() a value in, then peek() to make sure it is correct.
>I tried passing in an address generated via @ptrToInt to a slice. But 

ijq v0.4.1 released 1 year, 7 months ago

From Gregory Anders to ~gpanders/ijq

Version 0.4.1 of ijq has been released.

This is a small bug fix release. See the release notes here: https://git.sr.ht/~gpanders/ijq/refs/v0.4.1


Re: std.mem.eql and sentinels 1 year, 8 months ago

From Gregory Anders to ~andrewrk/ziglang

On Mon, 01 Aug 2022 15:55 +0200, Peter Bridge wrote:
>Are these considered equal?
>const a = [_:0]u8{ '4', '2'};
>const b = [_]u8{ '4', '2'};
>I am not sure how I could even check the sentinels match, or if it 
>even matters :) but since I still have some custom string utils (some 
>with sentinels, and some without (wasm not C)), I want to also have 
>some tests to make sure they are adding/not adding sentinels in the 
>correct place.  But then I get index of of bounds...  Any tips on how 
>to test such functions please? Cheers Peter

"Equal" in what sense? They have different types, but they would compare

ijq v0.4.0 released 1 year, 9 months ago

From Gregory Anders to ~gpanders/ijq

Version 0.4.0 of ijq has been released.

This is a minor feature release. See the [release notes][1] for a list
of changes.


[1]: https://git.sr.ht/~gpanders/ijq/refs/v0.4.0