Had to dig GitHub issues because `shrink-ray` is dead, its maintained fork requires old dependencies that don't build on macOS (seemingly), so I ended up `compress-next` which is a fork of `compression` w/ brotli compression https://github.com/Econify/compression-next
Media working inside of quote tweets and I didn't have to change any styles (yet) for it to look nice
Found out about Lucide which is basically Feather Icons but with more icons so that'll be perfect for placeholder(?) icons https://lucide.dev/
@Eramdam awoo
@Eramdam i feel like you're going to hit edge cases because of float precision
@codl maybe but i dont really see what else I could do short of using Big Ints lmao
@codl fuck you're right, hum, guess I'll need to sort by date as a last resort
@Eramdam what's wrong with BigInts? also idk how you're sorting but you could split the id into a top and bottom part, compare top parts as integers, and only compare bottom parts if the top parts are equal
@codl well,
A) they're not widely supported yet iirc
B) they're not free to use.
That said, I checked a bit more and:
- IDs are sequential but I feel like edge cases could be possible but very unlikely
- I checked how current TweetDeck does its sorting and... it's not that much more complex lmao
@Eramdam hoping they dont have plans to kill off 1.1?
@dogo well, api v2 is supposed to replace 1.1 in the long term but it's not feature complete with it just yet so
@dogo like, the "deprecate legacy apis" is the very last item in the roadmap https://trello.com/b/myf7rKwV/twitter-developer-platform-roadmap
@Eramdam now if only telegram had this support 👏
Later this week I want to get tweet actions working somehow (minus reply) which also means I'll need to think about how to _not_ duplicate tweets in my Redux store whilst being able to have a different RT/liked state for each account/column. Should be fun 😅