snaggen

joined 3 years ago
0
The ???? operator (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by snaggen@programming.dev to c/rust@programming.dev
 

I found this funny.

The context is as explained by @laund@hachyderm.io

the issue is that you can't return from inside a closure, since the closure might be called later/elsewhere

and this post was the asnwer to the question by @antonok@fosstodon.org

you got me curious what the record for the longest ? operator chain on crates.io is

Original post: https://fosstodon.org/users/antonok/statuses/111134824451525448

 

I didn't know I needed it, but what I know is that I will download it.

 

Quoting the author

I’ve starting working on a lemmy front end called lemmy-ui-leptos using leptos, a Rust UI framework with isomorphic support, and tailwind + daisyUI for the component styling. This could eventually replace the frankenstein’s monster that lemmy-ui has become.

 

From the release notes:

We are happy to release the new version of ratatui mouse, a community-maintained fork of tui.

In this version, we have introduced a new Scrollbar widget and enhanced the functionality of existing widgets like Block and Barchart. We have also made significant improvements to the stylization/widgets API, ensuring a smoother experience when creating TUIs. Additionally, we have addressed various bugs and implemented enhancements to optimize the overall user experience in TUI development.

Here is a blog post highlighting the prominent new features and providing practical examples of their usage: https://blog.orhun.dev/ratatui-0-22-0

 

fjärrinlägg från: https://lemmyrs.org/post/154420

Ruffle, a Flash Player emulator built in Rust, is being used on archive.org to allow modern browsers access to classics like n, All Your Base, Weebl and Bob, Strong Bag Emails, Happy Tree Friends and many more.

Jason Scott writes:

Thanks to efforts by volunteers Nosamu and bai0, the Internet Archive's flash emulation just jumped generations ahead.

Mute/Unmute works. The screen resizes based on the actual animation's information. And for a certain group who will flip their lid:

We can do multi-swf flash now!

A pile of previously "broken" flashes will join the collection this week.

view more: ‹ prev next ›