Show newer

Had a full day yesterday. Finished day5 and day6 today.

As always, these aren't clever solutions, but quick ones.

Day 5 was interesting - slicing and dicing static buffers to move the "boxes" is nice, IMO.

My Day6 solution is stupid but straightforward and done in a couple of minutes.

git.sr.ht/~tomterl/aoc22/tree/

git.sr.ht/~tomterl/aoc22/tree/

#adventofcode #harelang

@drewdevault My next goal with Hare is to rewrite my wee-matter Weechat backend as an Hare weechat-to-irc translation node. I will probably blog about this a lot. I think I have a lot to say about either Hare implementation or more generally about technical problem this design will solve.

(A well designed event loop would be lovely :D)

[wee-matter]: https://sr.ht/~stacyharper/wee-matter/

Are you folks going to participate in this year's #AdventOfCode? I am planning to do (as much as I can) in Go, but I am checking Hare now and it looks awesome

I've been solving some AoC 2021 puzzles with #Hare.

Did the dumbest possible queue for a BFS for day 16:

let queue = []
enqueue: append(queue, ...)
dequeue: queue[0]; delete(queue[0])

Dirt simple and probably not very efficient, but it Just Works™.

First parts of RSA support have been submitted to the #harelang stdlib. That's just enough to provide RSA support for hare-ssh, if accepted. I'll also send patches for himitsu-ssh.

Hi everyone!

I contribute code to the #HareLang cryptographic module.

I plan to post about what I'm up to regularly.

Given #Honk is written in #Go, I wonder whether it would be possible to make a faster, lighter-weight port in #HareLang, given the similariteis of standard libraries yet higher efficiency of the latter?
(cc @tedu and @drewdevault )

powerctl: A small case study in Hare for systems programming
August 28, 2022 on Drew DeVault's blog
drewdevault.com/2022/08/28/pow

Presenting Bonsai - Improved sxmo complex keybinds 

I've been very busy last week writing hare code. The main goal is to replace some #sxmo ugly scripts that handle multi-key keybinds but this can be used in way more situations (aka: domotics).

I named it Bonsai cause you basically write trees full of branches and a voyager travel it and eventually trigger things.

I just wrote a basic readme to give more explanation on how it works :

https://git.sr.ht/~stacyharper/bonsai

Thanks a lot to Drew and other #hare folks that worked on Harelang and replied to my questions. I had much fun writing this and I hope it will become very reliable soon enough !

Just shipped a massive diff to the Harelang people: the first draft of #OpenBSD support in the #Hare stdlib.

lists.sr.ht/~sircmpwn/hare-dev

Show older

Hare Propaganda 🐰's choices:

Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.