sgued

joined 2 years ago
[–] sgued@programming.dev 2 points 2 months ago (2 children)

The limitation of needing compile-time knowledge of the max size of the Deque is pretty rough though.

 

This releases includes some pretty nice improvements to the usage of the crate.

If you want to know how the View types I talk about in the release post are built, take a look at my post from back when I contributed them:

https://sgued.fr/blog/heapless-howto/

[–] sgued@programming.dev 1 points 3 months ago

Pixelfed and Mastodon don't fit at all what I want as a "social network". They're not built for communication with friends, they're built for mass media.

I'm not looking for "reach" when I just want to share something with friends.

[–] sgued@programming.dev 8 points 3 months ago

Author here.

Facebook does not really allow you to specify that one post should only be sent to a specific group of people (like this should only be visible to my family, this should only be visible by close friends), the functionality is hidden, it's not end-to-end encrypted, and it expects you to specify manually the list of recipient each time if it's something other than just "all friends".

Facebook also shows you everything in a feed (with algorithmic ordering to make everything worse), instead of sending you to the user's feed so that you can have all the context.

[–] sgued@programming.dev 1 points 9 months ago* (last edited 9 months ago)

Dependong on your API there may be headers that can help you.

This talk has some info on that if memory serves me well https://m.youtube.com/watch?v=BIguvia6AvM

[–] sgued@programming.dev 4 points 1 year ago

Because when T is !Sized, the layout is different, it looks more like the layout of &[T].

[–] sgued@programming.dev 10 points 1 year ago

This is outdatded. Mutexes don't allocate anymore. That's how Mutex::new can be const.