this post was submitted on 06 Jan 2025
28 points (100.0% liked)

Anime

2056 readers
258 users here now

This community is the place to discuss and ask questions about anime, anime news, and related topics.

Currently airing show discussion threads are created by our resident bot, rikka@ani.social. If it doesn't make a thread for an episode that you want to discuss, see the user guide on the wiki for instructions on how to ask rikka to make a thread for you to use.

Check out our wiki to find:

Rules

More complete rules on the wiki.

Related General Communities

rikka

founded 2 years ago
MODERATORS
 

Previous Thread | Next Thread

It's time for a new general discussion thread! Hot takes, recommendations, questions, cautionary tales, all of it is welcome here.

As always, remember to be mindful of spoilers. If you want to know more about how to handle spoilers in this community, check the guide here (also linked in the sidebar).

you are viewing a single comment's thread
view the rest of the comments
[โ€“] wjs018@ani.social 3 points 1 week ago (1 children)

download what you need as a batch, and then serve static results

Yeah, I think this is what I am going to do for the most part. Especially when dealing with the slow api responses, I can just make all the requests in a background script and save what I need to a local database. It's just text at the end of the day, so even a couple thousand entries is nothing.

Promises in JS

Haven't really gotten a handle on these yet. I have almost exclusively worked with python and R in the past, so dipping a toe into JS has been challenging. I haven't gotten too far into frontend stuff yet, but think I might try to just avoid it as much as possible through flask+htmx. Some JS is going to be unavoidable though I think since I do want certain things to be interactable.

[โ€“] nyan@lemmy.cafe 2 points 1 week ago* (last edited 1 week ago)

You guys have just reminded me why I no longer try to do any kind of website work. ๐Ÿ™„ ๐Ÿ˜ญ