~vladh

Edinburgh

https://vladh.net

Love cats, programming, philosophy, music, languages and videogames. Being kind is cool.

I worked on the Hare programming language, please check it out!

~vladh/hare-project-library

Last active 11 days ago

~vladh/hire.sr.ht-dev

Last active 11 months ago
View more

Recent activity

Re: [PATCH] add rham 11 days ago

From Vlad-Stefan Harbuz to ~vladh/hare-project-library

Thanks!

to git@git.sr.ht:~vladh/hare-project-library
  d92ed6c..760f88f  main -> main

Re: [PATCH hare-project-library] add hare-sunrise 20 days ago

From Vlad-Stefan Harbuz to ~vladh/hare-project-library

Thanks!

to git@git.sr.ht:~vladh/hare-project-library
  393712b..d92ed6c  main -> main

Re: [PATCH hare] regex: use types::SIZE_MAX instead of 9999999 a month ago

From Vlad-Stefan Harbuz to ~sircmpwn/hare-dev

Thanks!

to git@git.sr.ht:~sircmpwn/hare
  fe60d325..ef3d2b2d  master -> master

Re: Sourcehut works without billing a month ago

From Vlad-Stefan Harbuz to ~sircmpwn/sr.ht-discuss

The table overflows the page horizontally on mobile — mentioning it in
case anyone wants to send a patch.

Re: “certfp” flag in “network create” is confusing a month ago

From Vlad-Stefan Harbuz to ~emersion/soju-dev

On Thu Jan 4, 2024 at 7:45 AM GMT, Simon Ser wrote:
> "certfp" here just means "certificate fingerprint", both sides of the
> connection may send a certificate. Note, this isn't the same as the
> public key fingerprint.
>
> I'm not against renaming, but do you have a suggestion for a replacement?

Perhaps server-certfp, as in, the fingerprint of the server's
certificate, as opposed to that of the client's certificate? And perhaps
adding a note clarifying this to that option's documentation would also
be beneficial?

Re: [PATCH hare v2] Advance after zero-length regex matches a month ago

From Vlad-Stefan Harbuz to ~sircmpwn/hare-dev

Thanks!

to git@git.sr.ht:~sircmpwn/hare
  68dc855c..bcc845b8  master -> master

“certfp” flag in “network create” is confusing a month ago

From Vlad-Stefan Harbuz to ~emersion/soju-dev

I've seen someone try to do

    network create -addr xxx -username xxx -certfp cafebabecafebabe

to connect to a network using an existing certfp they had generated for
a different network. However, it seems that this “-certfp” flag is
unrelated and used to provide the fingerprint of a server's self-signed
TLS certificate. This introduces confusion with the cerfp used to log
in. Would you consider renaming this flag?

Re: [RFC v3] for-each loops a month ago

From Vlad-Stefan Harbuz to ~sircmpwn/hare-rfc

On Mon Jan 1, 2024 at 10:23 PM GMT, Sebastian wrote:
> I'm not a huge fan of the syntax for iterable bindings tbh. It's, fine,
> I guess, and I'm okay with it if everyone else is, but it just looks a
> bit ugly to me. What are everyone's thoughts on something like this?:
>
> 	for (@range elem = arr) {
> 		// enumerates by value...
> 	};
>
> 	for (@range *elem = arr) {
> 		// enumerates by pointer...
> 	};

I guess the difficulty with this approach is that the `=` is misleading.

Re: [RFC v3] for-each loops a month ago

From Vlad-Stefan Harbuz to ~sircmpwn/hare-rfc

I think this is really useful and can't currently think of any issues
with this proposal.

Re: [PATCH hare] Advance after zero-length regex matches a month ago

From Vlad-Stefan Harbuz to ~sircmpwn/hare-dev

Thanks for this. Do you think we could do something more useful than
that abort(), at least showing some kind of message to explain what
happened?