~rkta

Germany

https://rkta.de

~rkta/h2g

Last active 11 months ago

~rkta/w3m-announce

Last active 1 year, 2 months ago

~rkta/w3m

Last active 2 years ago

~rkta/public-inbox

Last active 2 years ago

~rkta/microtojson

Last active 3 years ago

~rkta/workinghours

Last active 3 years ago
View more

Recent activity

Re: [PATCH pages.sr.ht] contrib: add tool to purge old sites from storage 10 days ago

From Rene Kita to ~sircmpwn/sr.ht-dev

There's a stray in the README.

On Thu, Feb 08, 2024 at 04:14:21PM +0100, Conrad Hoffmann wrote:
> ---
> Potentially dangerous, for obvious reasons. Please scrutinize.
> 
>  contrib/cleanup-old-versions/README.md |   7 ++
>  contrib/cleanup-old-versions/main.go   | 159 +++++++++++++++++++++++++
>  2 files changed, 166 insertions(+)
>  create mode 100644 contrib/cleanup-old-versions/README.md
>  create mode 100644 contrib/cleanup-old-versions/main.go
> 
> diff --git a/contrib/cleanup-old-versions/README.md b/contrib/cleanup-old-versions/README.md
> new file mode 100644

Re: dns oddities with sr.ht? a month ago

From Rene Kita to ~sircmpwn/sr.ht-discuss

On Fri, Jan 12, 2024 at 10:20:56AM +0100, Greg Minshall wrote:
> hi.  i am seeing odd behavior resolving sr.ht.

Hi Greg!

Probably others have already contacted you, but JFYI:

https://outage.sr.ht/

Regards, Rene

Re: [PATCH builds.sr.ht 0/2] [PATCH builds.sr.ht] Add OpenBSD 7.4 2 months ago

From Rene Kita to ~sircmpwn/sr.ht-dev

On Wed, Nov 22, 2023 at 01:33:42AM +0000, ~aqtrans wrote:
> OpenBSD 7.4 was released last month: https://www.openbsd.org/74.html
> 
> Jordan Anderson (2):
>   Rebase with upstream; Add OpenBSD 7.4
>   Add OpenBSD 7.4
> 
>  images/openbsd/7.4/functions | 1 +
>  images/openbsd/7.4/genimg    | 3 +++
>  images/openbsd/latest        | 2 +-
>  images/openbsd/old           | 2 +-
>  4 files changed, 6 insertions(+), 2 deletions(-)
>  create mode 120000 images/openbsd/7.4/functions
>  create mode 100755 images/openbsd/7.4/genimg

Re: [PATCH git.sr.ht] show ref in title 3 months ago

From Rene Kita to ~sircmpwn/sr.ht-dev

On Thu, Nov 16, 2023 at 01:12:38PM +0100, Conrad Hoffmann wrote:
> On 11/12/23 13:17, Gabriel Augendre wrote:
> > My opinion is to always display it, in order to be explicit.
> > For reference, here's the (short) thread discussing the idea:
> > https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3CZUiH2lSmaFraZh3g%40dj3ntoo%3E
> 
[...]
> What I do not like, however, is the usage of the preposition "on". What is
> being added here is not a branch name, but a git ref in general. That may be
> a branch name, but it might also be a tag, or a raw revision. For the latter
> two, "on" does not make sense. Given the generic nature of a ref I have hard
> time proposing a better proposition, so how about we just put it in
> parenthesis without any preposition at all?
> 

Re: Querying OAuth2 token scope 6 months ago

From Rene Kita to ~sircmpwn/sr.ht-dev

On Sun, Aug 20, 2023 at 11:16:02AM +0000, Simon Ser wrote:
> Hi,
> 
> It would be useful to be able to expose the scope of a given OAuth2 token in the
> GraphQL API.

[...]

> I see two ways of implementing this:

[...]

> - Add an OAuthGrant.scope field to the GraphQL API. Since the DB only stores
>   the token hash, we'll need to add a new "scope" field in the DB. The

Re: pages.sr.ht: gemini request fails when port is given 6 months ago

From Rene Kita to ~sircmpwn/sr.ht-discuss

On Tue, Aug 08, 2023 at 02:31:20PM +0200, René Wagner wrote:
> Hi Rene :D
> 
> I've tried with the "simplest" client of all - OpenSSL. The results
> are as shown below.
> 
> My understanding is that both requests should serve the some content.
> This works for most capsulses/servers out there, but not for sr.ht
> hosted capsules.

The specs says in 1.2 Gemini URI scheme:
| Clients SHOULD normalise URIs (as per section 6.2.3 of RFC 3986) before
| sending requests (see section 2) and servers SHOULD normalise received
| URIs before processing a request.

Re: pages.sr.ht: gemini request fails when port is given 6 months ago

From Rene Kita to ~sircmpwn/sr.ht-discuss

On Sun, Aug 06, 2023 at 03:41:33PM +0200, René Wagner wrote:
> Hi,
> 
> i have a gemini capsule hostet at pages.sr.ht.
> 
> When requesting the capsule with an URI without port everything is fine, but explicitly specifying the port in the request make pages.sr.ht return a `PERMANENT FAILURE 51 File not found`.
> 
> Tested with different clients, can be verified via gemini://gmn.clttr.info:1965/

Works for me with a patched w3m.

Re: git-send-email help 11 months ago

From Rene Kita to ~sircmpwn/sr.ht-discuss

On Tue, Feb 21, 2023 at 12:25:45PM -0600, Ben Buhse wrote:
> Hi, I’m trying to test my `git send-email` on Mac but I’m getting this issue:
> 
> ```
> ~/email-test-drive master ⇡
> ❯ git send-email --to="~sircmpwn/email-test-drive@lists.sr.ht" HEAD^
> zsh: no matches found: HEAD^
> 
> ~/email-test-drive master ⇡
> ❯ git send-email --to="~sircmpwn/email-test-drive@lists.sr.ht" ^HEAD
> README.md
> ben-buhse
> drew-devault
> No subject line in README.md? at /Library/Developer/CommandLineTools

Re: SVGs as form buttons and text browsers 1 year, 1 month ago

From Rene Kita to ~sircmpwn/sr.ht-discuss

On Fri, Jan 06, 2023 at 02:48:12PM +0100, Rene Kita wrote:
> On Fri, Jan 06, 2023 at 07:00:55PM +0900, Nguyễn Gia Phong wrote:
> > On 2023-01-06 at 09:39+01:00, Rene Kita wrote:
> > > On Thu, Jan 05, 2023 at 02:08:43PM +0100, Drew DeVault wrote:
> > > > Patches welcome for this one
> > >
> > > Ok, I had a look at the sources, but I have no idea where to go from
> > > there. I have no experience with flask.
> > >
> > > The relevant places seem to be
> > > todosrht/filter.py:111
> > 
> > The function icon is defined in core.sr.ht/srht/flask.py,
> > and the actual SVG is in core.sr.ht/srht/static/icons/times.svg
[message trimmed]

Re: SVGs as form buttons and text browsers 1 year, 1 month ago

From Rene Kita to ~sircmpwn/sr.ht-discuss

On Fri, Jan 06, 2023 at 07:00:55PM +0900, Nguyễn Gia Phong wrote:
> On 2023-01-06 at 09:39+01:00, Rene Kita wrote:
> > On Thu, Jan 05, 2023 at 02:08:43PM +0100, Drew DeVault wrote:
> > > Patches welcome for this one
> >
> > Ok, I had a look at the sources, but I have no idea where to go from
> > there. I have no experience with flask.
> >
> > The relevant places seem to be
> > todosrht/filter.py:111
> 
> The function icon is defined in core.sr.ht/srht/flask.py,
> and the actual SVG is in core.sr.ht/srht/static/icons/times.svg
[message trimmed]