outsidecontext 🇺🇦🕊️

I tagged a new release for hare-discid, the #MusicBrainz #libdiscid bindings for #harelang. This makes the library compatible with the recently released Hare 0.25.2 by handling nomem errors.

git.sr.ht/~phw/hare-discid

~phw/hare-discid - sourcehut git

git.sr.ht
🏳️‍🌈🤘 Blain Smith
I need to spend some time updating my Hare repos to account for the new nomem error. Most of them do not compile, because any use of alloc() can now return a nomem error which are currently not handled at all.

#HareLang
Jun 03, 2025, 18:32 · · · 0 · 0
uncomfy

on another topic, i havent written in hare for quite a long time. probably skill issue.

#harelang

🏳️‍🌈🤘 Blain Smith
#Introduction: I thought I should post and pin this again since moving to my own instance. I would appreciate the boosts to get this federated as mush as possible.

I've been writing software for 25+ years spanning many different industries until landing in my current final role as founding member of @limeleaf@social.coop #techcoop where I am doing some consulting projects in #GoLang and #RustLang while also building a few products such as https://apply.coop, https://limecast.net, https://blueskydirectory.com, and other federated/decentralized stuff. I try to get into some #HareLang every once in a while for fun as well. I believe in #opensource, #privacy, #diversity, #equity, and #fairness in all parts of life. You can read more about me on my website and reach out to me anytime you want!

https://blainsmith.com

Thanks for anyone who boosts this!
Find Meaningful Work at Values-Driven Organizations | apply.coop

apply.coop is where good people find great jobs. Looking…

apply.coop
Jasper 🍉

(harelang) can't figure out how to get `len(a_string)` into a C function

It says:
`Argument type size is not assignable to parameter type c_int` (`c_int` is just `int`, i wanted to distinguish.)

Trying to make a minimal FCGI..

export @symbol("FCGX_PutStr") fn _FCGX_PutStr(
string: const *c::char,
n: c_int,
request: *FCGX_Request
) c_int;

fn FCGX_PutStr(s: str, request: nullable *FCGX_Stream) c_int = {
return _FCGX_PutStr(c::fromstr(s), len(s), request);
};

#harelang

tomterl :emacs:

Small progress for my shell-prompt project thp.

I refactored the server code slightly and fixed config reloading in the process, i.e. 'thp -r' works correctly now.

git.sr.ht/~tomterl/thp

#thpd #harelang #bash #zsh

~tomterl/thp - tom's hare prompt - server and client - sourcehut git

git.sr.ht
Jan 15, 2025, 10:01 · · · 0 · 0
uncomfy

these students think i can't spot that they didn't really learn harelang.

there is less training data around the language so they think the AI they use to write a tutorial is reliable.

#harelang #ai #llm

Ⓑⓡⓔⓣⓣ

The #harelang mailing list is quite active recently, some breaking changes being proposed (have to scroll past the 'build failure' and 'build success' reports):

https://lists.sr.ht/~sircmpwn/hare-dev?page=2

I like the idea of such a minimal language that uses a smaller simpler compiler (QBE) rather than LLVM (LLVM is quite bloated and unstable these days).

Looking forward to the 1.0 version of Hare in the distant future!

brett
@mgorny@treehouse.systems that's onecreason I like #harelang which uses the simple QBE compiler
Armin Preiml

I'm working on x509 path verification for hare-tls. The testcases from github.com/C2SP/x509-limbo help a lot!

931 testcase to go, not counting all the false positives 😅

Let's see how far I come with a one-shot path traversing. But I guess I'll need to do proper backtracking for a versatile x509 implementation.

#harelang

GitHub - C2SP/x509-limbo: A suite of testvectors for X.509 certificate path validation and tools for building them

A suite of testvectors for X.509 certificate path validation…

GitHub
Blain Smith

Working on a WAL for fun and no profit in my spare time to get back into Hare coding.

#HareLang #WAL

Armin Preiml

Just posted another hare-tls status report onto lists.sr.ht/~apreiml/hare-tls

Highlights:

* ECC (p256, p384, p521) support for x509 certificates
* RSA PSS Signature support for x509 certificates
* Focus for now is the crypto::x509 API (parsing and verification of certificates)

#harelang