pleroma.debian.social

pleroma.debian.social

Wouter Verhelst | @wouter@pleroma.debian.social

Debian Developer. husband. FOSDEM organizer. Tennis lover. Amateur musician.

If it ain't fun, you're not doing it right.

@Ganneff
@venthur
Forgot to mention:

Planet Debian uses Django templates, which PtLink does not support (because perl, and Dotiac::DTL doesn't actually work as advertised -- yes, I tried). So I translated the templates to perl. Since Planet Debian has templates in a different git repository, so do I ;-)

https://salsa.debian.org/wouter/pd-templates

@venthur @Ganneff (I just updated the config, seemed to work with no conflicts, so yay)

@venthur @Ganneff Oh yes! https://salsa.debian.org/wouter/ptlink. It's in production use for https://planet.grep.be, and I have a (somewhat outdated by now, but still) configuration that works for Planet Debian at https://salsa.debian.org/wouter/pd-config/-/tree/ptlink?ref_type=heads

@mirabilos
I read it as "don't bother using your cache if it's older than this"

Unfortunately the spec is not very detailed, so while I think my reading is correct, I'm not confident enough of that to state that yours is wrong.

Regardless of which is the intended reading, it could definitely benefit from a "don't bother asking me if your cache is more recent than this" field.
@Ganneff @venthur

@venthur
PtLink uses a format-agnostic parser to figure out details of a stream, so that's not an issue (it will just return undef if a valid is not set, whether because it's optional and not set or because the format doesn't support it).

It also uses HTTP headers such as if-changed-since (not sure about etag, might have that too) to tell the server not to send anything unless there's an update since the last change.
@Ganneff @mirabilos

@mirabilos
Checking https://www.rssboard.org/rss-specification#ltttlgtSubelementOfLtchannelgt, I'm not sure that ttl actually means "do not update more often than this"; instead, my reading is that it means "if the source is older than this value, invalidate the cache entries for them". So I don't think it's a bug to update at every run...
@venthur @Ganneff

@mirabilos
I've never heard of this attribute.

Can you give me an example of a feed with this attribute? That'd make it easy to add a (currently failing) test case which I can then implement properly.

Preferably as a bug report against the salsa repository.
@venthur @Ganneff

@Ganneff
Unfortunately it also has a maintainer who hasn't been as active as he'd have liked. Hopefully I can fix that soon 😉
@venthur

@venthur
But on top of that, PtLink comes with

- a full test suite with known failures that were fixed and 93.1% coverage
- multi threading support
- a modular design with plans to also support ActivityPub (and perhaps more), as that's more popular than blogs these days.
@Ganneff

@venthur
So does ptlink, the thing I wrote 😉

The basic ini format of planet Venus is simple to parse and thus easy to be compatible with. Also the html template engine they used had origins in perl, which I use for ptlink. So backwards compatibility with Venus is trivial and done.
@Ganneff

I was asked by a 20 year younger friend how my internet was back then. I needed a moment but then I told her the story of an IRC channel and how we made the day for a young girl who happened to be on our IRC channel. Because this is what my internet was like back then and I wish sometimes it still was like this. Let me tell the story:

I was 25, the channel members were like 20 to 30 years old. Somehow this young girl found her way to us. She was 14 when she joined the channel. >>

TIL: KDEConnect/GSConnect mutes my computer audio when I take a call on my mobile.

@wyatt
Would be rather impressive if true though

@ives
Ik ben in 2019 van België naar Zuid-Afrika verhuisd, wat geen zomeruur/winteruur kent.

Toen ik in België woonde, dacht ik dat ik voor het verzetten van de klok ongeveer een week nodig had om mee terug op 'normaal' te zetten.

Ik weet nu beter. Sinds een half jaar of zo na mijn verhuis word ik elke dag consistent wakker op het zelfde uur. Dat lukte mij voordien niet.

Een uur verzetten kost je een stuk meer dan dat uurtje!
@Pentaxke

Norwegian car in Kirkenes, 15km from the Russian border...
a small van in the colours of the Ukrainian flag, with the words 'stop war' and 'stop Putin' stencilled in the sides and back

First time in my life I have two pending trips at the same time.

On holiday currently with the return flight still happening, and a work trip to happen late next month 🤷
screenshot of my Emirates app with the two flights

The world: whales are almost extinct! We should protect them!

Norway and Japan: but "Science"

Norway, really:
a picture of a whale salami

@mika
Looks like they're a 3 star hotel who called themselves 'the 5 star hotel' and have a score of 4 stars in whoever's review system?

Yes if you're okay with a 3 star hotel operated by 'clever' people I guess...
@GyrosGeier

@loke
Heretic.

COBOL is (very irrationally) the reason why I don't do Python these days.
@megmac @mcc

@jcoglan
It also supports 'symlink', which is a load of fun if you're trying to share with people running Windows.
@mcc

»