~gpanders

https://gpanders.com

~gpanders/ijq-devel

Last active a month ago

~gpanders/passage

Last active 5 months ago

~gpanders/public-inbox

Last active 10 months ago

~gpanders/pushbroom

Last active 11 months ago
View more

Recent activity

[PATCH sr.ht-docs] builds.sr.ht-manifest.md: document complete-build 8 days ago

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

---
 builds.sr.ht/manifest.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md
index 1a02e31..75ff983 100644
--- a/builds.sr.ht/manifest.md
@@ -128,6 +128,10 @@ order specified.
Each task is run in a separate login session, so if you modify the groups of the
`build` user they will be effective starting from the subsequent task.

The build environment also defines a shell function `complete-build` which,
when called, causes the build to terminate. Any subsequent tasks will not be
[message trimmed]

Re: Branch-specific build manifests? 10 days ago

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

> On May 1, 2021, at 10:37 AM, Eyal Sawady <ecs@d2evs.net> wrote:
> 
> On Sat May 1, 2021 at 12:33 PM EDT, Pyxel wrote:
>> I get that much, just unsure how to tell the website to skip the build
>> after parsing.
> 
> Run `complete-build`.

Is this documented somewhere? Also, is this any different than just `exit 0`?

Missing project in patchset a month ago

From Gregory Anders to ~sircmpwn/public-inbox

My apologies, I forgot to include the project name in the patch email in 
the two patches I just sent. They are both for useplaintext.email.

Thanks,

Greg

[PATCH 2/2] Change macOS mail to Apple Mail a month ago

From Gregory Anders to ~sircmpwn/public-inbox

Pedantic fix for the OCD among us.
---
 index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html
index 5c62a50..f676f13 100644
--- a/index.html
+++ b/index.html
@@ -179,7 +179,7 @@
      <li><a href="#kmail">KMail</a></li>
      <li><a href="#mailbox-org">mailbox.org</a></li>
      <li><a href="#mailspring">Mailspring</a></li>
      <li><a href="#macos">macOS mail</a></li>
[message trimmed]

[PATCH 1/2] Update format=flowed status for Apple Mail a month ago

From Gregory Anders to ~sircmpwn/public-inbox

---
Apple Mail does support format=flowed (just double checked to make 
sure).

 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 1968cbf..5c62a50 100644
--- a/index.html
+++ b/index.html
@@ -361,7 +361,7 @@
    <h3 id="macos">macOS Mail</h3>
    <div class="breakdown">
[message trimmed]

Re: Sentinal-terminated arrays from @cImport 2 months ago

From Gregory Anders to ~andrewrk/ziglang

On Thu, 11 Mar 2021 23:22:35 +0100, Vincent Rischmann wrote:
>Hello.
>
>I just tested this with zig 0.8.0-dev.1445+4fc6f631e (latest master at this time) and I don't need to do any casting, config.OPTION_FOO is coerced to a slice by the compiler like this:
>
>    const slice: []const u8 = config.OPTION_FOO;
>
>In the generated zig code OPTION_FOO is not defined as an array:
>
>    pub const OPTION_FOO = "some value";
>
>So this is confusing if you're also on master.
>

Sentinal-terminated arrays from @cImport 2 months ago

From Gregory Anders to ~andrewrk/ziglang

Hi all!

I have a small little utility that imports configuration from a C header 
file. Example:

     #define OPTION_FOO "some value"
     #define OPTION_BAR "some other value"

In my zig source file, I import this using

     const config = @cImport(@cInclude("config.h"));

This gives me access to config.OPTION_FOO and config.OPTION_BAR in my 
zig code, which is great! The problem is that the type of

Re: Wiki "Public" page 2 months ago

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

On Thu, 11 Feb 2021 at 14:16 -0500, gildarts wrote:
>On 2/11/2021 10:27 AM, Jean-Christophe Helary wrote:
>>How can I remove the "~brandelune/applescript/" part ?
>
>You can't unless you are running your own man.sr.ht instance. The main 
>site wiki is a special case, any user wiki will be prefixed with your 
>username and wiki name.
>
>-gildarts

When I originally read OP's email, I thought they were referring to the 
URL, in which case I fully agree that it makes sense what one cannot 
remove the username and wiki name.

[PATCH] Fix typo on installation page 3 months ago

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

---
 installation.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installation.md b/installation.md
index a981845..34af200 100644
--- a/installation.md
+++ b/installation.md
@@ -5,7 +5,7 @@ title: Installation
This document covers the installation steps common to all sr.ht services.

<div class="alert alert-success">
  If you would like to hack on or contribute sr.ht, see the
  If you would like to hack on or contribute to sr.ht, see the
[message trimmed]