james

@james@jvalleroy.me

I contribute to free and open source software projects such as FreedomBox and Debian. I also play games on Steam Deck.
bloghttps://jvalleroy.me
localeen-US
pronounshe/him

Marco Rogers »
@polotek@social.polotek.net

I just learned a few important things from @renchap. Apparently the docker-compose.yml in the root of the mastodon repo is not mean to be used for development. It is meant for production deployment. That's a bit confusing, but I'll accept it.

However they have made significant improvements to the dev containers implementation after I said it didn't work. It seems much more viable now.
github.com/mastodon/mastodon/b

...

ティージェーグレェ »
@teajaygrey@rap.social

@polotek thanks for the writeup!

I think I'll stick with @grunfink's snac (codeberg.org/grunfink/snac2)? I realize there are Docker instructions available for that too, but avoiding unnecessary layers of abstraction is a bigger win for me, every time.

@renchap

...

Marco Rogers »
@polotek@social.polotek.net

@teajaygrey @grunfink
Interesting. It looks like the only reason to use docker here is to run nginx for SSL termination. I agree that feels like more trouble than it's worth. If you read my blog post, you can stick something like caddy in front pretty easily.
polotek.net/posts/local-mastod

...

Marco Rogers »
@polotek@social.polotek.net

@teajaygrey @grunfink also, it looks like snac supports the mastodon API. But does that mean it's meant to be "mastodon compatible"? Meaning it tries to behave like a mastodon instance?

...

ティージェーグレェ »
@teajaygrey@rap.social

@polotek My apologies for the delayed reply!

I am AFK often and was kind of hoping someone more authoritative might chime in with regards to the Mastodon support in snac; since I am but a humble MacPorts maintainer down streaming snac.

"A simple, minimalistic ActivityPub instance" does sell snac a bit short, doesn't it?

Mastodon API support began with version 2.27, and the RELEASE_NOTES.md have more precise descriptions of the intention there than I can do justice rephrasing:
codeberg.org/grunfink/snac2/sr

TL;DR, I think snac's Mastodon API support is there primarily to facilitate interoperability with other Mastodon-centric ActivityPub implementations and clients, e.g. @Tusky, @husky, FediLab (toot.fedilab.app/@apps), etc. It even supports @peertube videos as of version 2.46!

I admit, I don't have a lot of bandwidth to test all of that functionality myself, but I would guess from reading release notes that snac contributors may be testing a wider range of Mastodon clients than @Gargron ?

MacPorts does a lot of the heavy lifting from my end to test on older OSes and platforms for snac than I run personally, and the Port Health ports.macports.org/port/snac/d shows it building without issues going all the way back to OS X Snow Leopard.

Though I know @flexion tested compiling snac on IRIX vintage SGI hardware, and I'm guessing it even has a decent chance of building on much older systems with appropriate C compilers?

Out of curiosity, do you have a way of measuring the disk space utilization from your local Mastodon setup in Docker? I realize it's probably a bit of a challenge since multiple Docker instances were used if I read your write up correctly?

Food for thought: an aarch64/Apple Silicon compiled snac binary for version 2.53 is: 344520 bytes (345KiB).

Albeit that isn't representative of all the dependencies used to build it but even then I am guessing it's much lighter on resources than mainstream Mastodon + Docker, etc.?

@grunfink

...

gyptazy »
@gyptazy@gyptazy.ch

...

sergiodj »
@sergiodj@snac.sergiodj.net

FWIW, I am working on preparing an upload of the latest snac2 to Debian's bookworm-backports repository. We already have an official snac2 package in Debian unstable/testing, and it's pretty easy to compile it on bookworm.

CC: @teajaygrey@rap.social @polotek@social.polotek.net @Tusky@mastodon.social @husky@stereophonic.space @Gargron@mastodon.social @flexion@oldbytes.space @grunfink@comam.es @peertube@framapiaf.org

...

vv221 »
@vv221@fediverse.dotslashplay.it

I’ve been using the Debian package for snac2 on a Debian 13 (Trixie, current testing) for a while now, I’m actually posting this message from it.

It has been the easiest Web-facing service I had to setup in many years.

It would be really nice if it could reach Bookworm through the backports repository, that would make it much more widely available.

CC: @gyptazy@gyptazy.ch @teajaygrey@rap.social @polotek@social.polotek.net @Tusky@mastodon.social @husky@stereophonic.space @Gargron@mastodon.social @flexion@oldbytes.space @grunfink@comam.es @peertube@framapiaf.org

...
0 ★ 0 ↺

james »
@james@jvalleroy.me

I signed up for a pickleball beginner's class in a few weeks. Hope it's a little easier than tennis!

0 ★ 0 ↺

james »
@james@jvalleroy.me

devtool is like gbp pq, but for yocto.

0 ★ 0 ↺

james »
@james@jvalleroy.me

Hardware bring-up is really hard. Especially when there's no docs, and no one wants to share information.

james boosted

FreedomBox »
@freedomboxfndn@mastodon.social

FreedomBox 24.6 released to Debian (unstable) with several fixes related to the setup, uninstall, and backup/restore for Wordpress and Zoph apps.

discuss.freedombox.org/t/freed

0 ★ 0 ↺

james »
@james@jvalleroy.me

Took my bike to the park. There was a big paved trail, but some small hills make it quite difficult. Or I'm just out of shape.

0 ★ 0 ↺

james »
@james@jvalleroy.me

Started playing through Shadowrun Returns, been doing a couple missions a day. You can tell it's a bit low-budget because you can't backtrack to previous areas. Still pretty fun though, and there are usually a few different ways to get past each obstacle.

0 ★ 0 ↺

james »
@james@jvalleroy.me

TIL: If your "serial port" data is garbled, it might be due to bitrate / parity / etc. Or it could be due to mismatched voltage!

"Serial" can refer to either RS232 or TTL (and possibly others). And in my case, none of the documentation bothered to specify which one to use.

0 ★ 0 ↺

james »
@james@jvalleroy.me

According to my city council, we can't add density because traffic concerns. Car-dependency has become a perceived limit to city growth.

1 ★ 0 ↺

james »
@james@jvalleroy.me

Always try to do something the "dumb" way before you try to do it the "smart" way. You can work toward a better design after you have something working.


0 ★ 0 ↺

james »
@james@jvalleroy.me

Interesting that How to Design Programs uses "first" and "rest" instead of the usual "car" and "cdr". They are synonyms of course, but it seems like a good decision for teaching the concepts, without needing to bring up historical context for otherwise meaningless names.

0 ★ 0 ↺

james »
@james@jvalleroy.me

I've been trying to follow kickboxing workout videos on youtube. Now I am very sore.

0 ★ 0 ↺

james »
@james@jvalleroy.me

Making some small changes to the shaarli package in Debian to improve install process and tests.

0 ★ 0 ↺

james »
@james@jvalleroy.me

I tried to make something like drunken noodles. Except I was missing some of the ingredients. Turned out pretty good though.

0 ★ 0 ↺

james »
@james@jvalleroy.me

I've been listening to this song a lot recently:
https://iv.ggtyler.dev/watch?v=f1QGnq9jUU0

0 ★ 0 ↺

james »
@james@jvalleroy.me

Just set up a new snac2 server. This one is on my main FreedomBox server, so hopefully will keep it going for a longer time.

History