Skip to Content Skip to Navigation
Profile image for Tyler Kennedy

Tyler Kennedy

Converting coffee into code.

36 Posts Posts & Replies 23 Following 10 Followers Search

@andrew This is a fantastic year for us folks who like relaxing single player games. Between Baldur's Gate and Starfield I don't need anything else for months!

Borrowed a trick used in @jcristharif's fantastic msgspec library and orjson to speed up loading ASCII strings in JSON documents, bringing py_yyjson juuuust ahead of msgspec and juuuuust behind orjson for string-heavy benchmarks in the updated

Tyler Kennedy boosted

RT @djangocon

Speaker shout-out to @paulox
Join us for his talk All about

Upcoming pysimdjson v6.0.0 release brings improved memory safety and up to 45% improvement in Python object creation times for string-heavy benchmarks (so far!) (cc. @lemire)

Testing out KDE's new mastodon client Tokodon with Takahe. Rapidly improved from crashing at auth (and never launching again) to fully functional in just a few weeks.

Tyler Kennedy boosted

Django is looking for a new paid Fellow to step into the role with Carlton's departure - I'd love nothing more than to have to make a difficult choice with my fellow committee members between loads of good applicants, so please apply if you think it's a good fit!

More details:

(boosts appreciated!)

Made some new shrine and spirit tokens to run with my Magic The Gathering shrine deck. Stable Diffusion is incredible for just starting with a sketch and filling in the details, and a game changer for games like DnD.

Flask-Babel v3.0.0 has been released with numerous improvements (and some breaking changes!) Time to find out how many of the 15k dependencies on GitHub haven't pinned their dependencies!

Tyler Kennedy boosted

Version 0.6.1 is out - lots of bugfixes (to the client API especially), as well as the ability to set profile metadata, fetching the history of reply threads, and optional infinite scroll!

@jph @literally An API endpoint is missing, I've implemented it in so this will work soon.

@literally @andrew has fixed this in 0.6.1 :)

Tyler Kennedy boosted

Toot v17.5 has been released!

This was meant to be the translation release, but the only bigger feature that made it in was selecting language when posting, as that feature turned out to be way more complicated to get right than I expected. Still not sure it's quite right, so let me know how it works out for you!

Other than that, this release has mainly bugfixes, and an experimental ability to select text in toots after you open them.

@tootapp Looking at the source it looks like they just use a 401 if the `read:search` scope isn't set, so I guess we'll just do that. Not a lot of consistency, would have expected a 422 like the timeline :(

@tootapp Is there a way to tell Toot! to hide the search sidebar if search is disabled?

@tootapp @takahe First successful post on Takahe from the Toot! iOS client :)

@tootapp Interesting, alrighty. My understanding was that a missing `Link` header implies that there's no next or previous page available. We'll add support for it but I'm not sure what to do in that case (what happens when a site only has a single status?) I will have to investigate.

It wasn't noticed initially because the clients tested against so far like Tusky are doing the pagination directly without using the Link header.

@tootapp 😭

@tootapp Alright our output is now a lot closer to, and I've removed a bunch of optional fields to make things easier to debug. What's the parser dying on now?

@tootapp hmm so this one is toot! being stricter than the spec? I can send a temporary image for now, I'll have to create one for the header. Did you see any other errors or is this our last one on the timeline parsing?

Edit: ah! Whoops, didn't see the neither. Fix incoming!

Edited 1y ago

@tootapp We're still not getting timelines, so we must still be failing on something else :(

A user reported this one:, I'm guessing you expect the header and header_static keys to be missing completely if not set, instead of `null`? This might be worth changing on your side since I know other servers are sending null here.

@tootapp Had 2 more folks ask about Toot! today :) Bought a copy myself, very smooth UX. Excited to get this working!

@tootapp Okay, this one should be fixed now. We were returning relative urls to hashtags, where it looks like Mastodon always returns absolute URLs.

For the @ in the user URL, it looks like it's okay. It's _technically_ against the spec, but the NSURL seems to parse fine and Mastodon is doing the same thing in its URL field.

@tootapp Awesome, I've fixed timestamps on to be identical (chopping to reduce precision down to 3 digits) to Mastodon and I've added a setting to enable/disable the public timeline API and return a 422 if it's disabled. Still not seeing any results, so I'm guessing there's another field that's failing validation :(

Tyler Kennedy boosted

merry christmas, xbox!

@tootapp Fixed that bug, the public timeline is public again :) Regarding the status code, what API endpoint are you expecting 422 from? If I hit without giving it a token, I get a 401 which is what I'd expect.