Searching yarn

Twts matching #http
Sort by: Newest, Oldest, Most Relevant

Advent of Code 2025 starts tomorrow. 🥳🎄

This year, I’m going to use Python 1 on SuSE Linux 6.4, writing the code on my trusty old Pentium 133 with its 64 MB of RAM. No idea if that old version of Python will be fast enough for later puzzles. We’ll see.

⤋ Read More
In-reply-to » Which actively maintained Yarn/twtxt clients are there at the moment? Client authors raise your hands! 🙋

@lyse@lyse.isobeef.org Damn. That was stupid of me. I should have posted examples using 2026-03-01 as cutoff date. 😂

In my actual test suite, everything uses 2027-01-01 and then I have this, hoping that that’s good enough. 🥴

def test_rollover():
    d = jenny.HASHV2_CUTOFF_DATE
    assert len(jenny.make_twt_hash(URL, d - timedelta(days=7), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d - timedelta(seconds=3), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d - timedelta(seconds=2), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d - timedelta(seconds=1), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d, TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(seconds=1), TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(seconds=2), TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(seconds=3), TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(days=7), TEXT)) == 12

(In other words, I don’t care as long as it’s before 2027-01-01. 😏😅)

⤋ Read More
In-reply-to » Ah, the collateral damage of ActivityPub bridges...

@prologic@twtxt.net yeah, it is only Manton (with which I don’t see eye to eye) for now. I am simply anticipating the issue, rather than experiencing it fully right now. If efforts continue on this direction, you see what I am writing about, right?

⤋ Read More
In-reply-to » @bender a mobile phone camera doesn't cut it because it cant take long videos. I would say like the cheapest possible tbh! it doesn't have to be an amazing grade a camera, just something that will record in decent quality for long periods of time! I mostly want it to make vlogs :p

@kiwu@twtxt.net I see. I have no experience on the matter, sadly. :-( I am sure you can find plenty of recommendations online. Beware of anything below $100 (you will find plenty of cheap, but they are, indeed, cheap in the whole sense of the word). I’d say, a decent one will start around $250-$300, and up.

⤋ Read More