Went trekking in the mountain with some friends. The forecast was good, and in fact the bad weather skipped us by going from the mountain nearby down to the valley.

oh yeah. once I realized that termux-notification needed Termux::API to be installed, even the notification works!

Ideally I should find a way to intercept the headsets buttons, but for now I'm already happy :flan_blush:

Show thread

actually... amused-web works too, so I have the control UI available too. this is starting to become an interesting option. I only need to discover if the android scheduler will let my audio thread working in the background.

Show thread

a screenshot can't show it obviously, but I got amused (my little music player) working on via :flan_aww: :flan_hacker:

it required writing a custom audio backend using the oboe library, and there are a few hack here still, but it's a start.

thanks to @thfr, we're making progresses with 4 on . After a tiresome fight with some C++ types mismatches, here it is! :flan_aww:

Wasted some hours last night implementing websockets support in the amused-web' home-grown HTTP server. It even seems to work!

extra fun points for using only libc (plus SHA1*() and imsg.)

It means that, with a bit of added javascript, the UI now automatically updates itself when events happen (a track finishes, another client jumps to some other track, ...). Still a few details to adjust but it's almost done! :flan_hacker:

mad enough to start writing an audio backend for amused (on , I'm afraid of the world of pain would be to port android studio to and I don't have non-virtualized linux at hand anyway)

The good news is that so far it compiles, which is already something, and I'm still free from C++-induced headaches (for the time being.)
The so-so news is that I'm likely misusing the oboe' APIs and so it doesn't make any sound.
The bad news is that I need more work anyway since amused expects an fd to poll(2) on and the android audio doesn't work that way.

finally found the right incantation to fix the printing of non-ASCII characters in amused-monitor. I can finally see what I'm listening :flan_aww:

Managed to steal^W incorporate the crypto privsep engine from opensmtpd into gmid :flan_evil:

This means that the certificate' private key is never ever loaded in the server process and so can't be leaked. The internal crypto process owns the keys and just signs stuff on the behalf of the server processes.

I've started to work on gmid again after quite some time of inactivity. The first step was working on a real privsep (i.e. fork + exec, not fork only.) Still has a few things to fix before being able to commit, but it's a start! :flan_hacker:

(next thing is a privsep crypto engine, looking forward to play with that.)

tl;dr hacking on mg is fun :)

"no-tab-mode" almost works out of the box once unifdef'd, convincing mg to use different tab widths per buffer was also easier than what I imagined. Still have an hack to fix before sharing the diff (I'm using a global to tell vtputc how wide a tab is... meh)

sneak peek of 4 on !

it builds without (too much) patches and simple stuff runs. There's some issue with the bundled copy of vulkan that requires to use the opengl renderer (--rendering-driver opengl3)

(had to create a new project because the 2d/platformer demo didn't run :flan_think:​)

Finally got around finding some time to play with libgrapheme. It's really nice to use!

Next version of telescope will use it for text wrapping. While telescope can't handle (yet?) right-to-left languages, the improvement is already visible, especially for smaller screens. Note also how the Thai text triggered a bug in the old naive algorithm that makes the buffer 530 (!!) long.

(disclaimer: I don't have the slightest idea what that text means :flan_shrug:​)

loving the update! The models for the Han buildings and units are really cool! :flan_awe:

(i'm still sucking at it, but that's another story :flan_XD:​)

La prossima versione di dovrebbe essere completamente localizzata in italiano! :flan_aww:

Some time ago I wrote sndio.el, a small package to tweak the volume levels from . I haven't used it much tbh because the Ui was clunky.

Today, I've just added a small hydra-like "popup" window and it seems to be much, *much* more useful.

git.omarpolo.com/sndio.el/abou

BSD Network

bsd.network is a *BSD-adjacent Mastodon Instance. We have a code of conduct.