Show newer
Stanislas :NotLikeThis: boosted

Instead of querying last.fm + spotify at once, I update the view with the last.fm data right when I get it, and I run the search queries for each artist in a background thread and then re-update the view with the new image URLs (kingfisher will automatically refetch the images asynchronously), which seems OK in terms of speed:

Show thread

How is this slider thing called in SwiftUI? I can’t find it in the metatext source code

I wish I could pass a function to github.com/onevcat/Kingfisher in order to launch the Spotify search asynchronously :sadness:

Show thread
Stanislas :NotLikeThis: boosted

I'm playing with the python rich module and am really in love with it, I think I'm going to force it on every project I'm involved in to get better error messages and a bunch of other cool things (it provides so much stuff it's awesome)

github.com/willmcgugan/rich

I like Cloudflare Pages but I keep getting random timeouts and Internal Errors 😐 Not super reliable

mmh... I think I'll do a last.fm API proxy that inject the images from Spotify, it's annoying to have to handle all that logic client-side

In the artist list above, I have to do a search query to the Spotify API for *each* artist and then another request for each image... not great

Show thread

I made an Android client for last.fm as a project for my Android class last semester; so let's do iOS for this one!

For some reason Kibana seems to be much faster for me in Firefox, that's unusual

Stanislas :NotLikeThis: boosted
Show older

Stanislas :NotLikeThis:'s choices:

Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!