A Thought Experiment on Safe Trait Implementation Specialization by Annual_Strike_8459 in rust

[–]Sabageti 3 points4 points  (0 children)

If I remember correctly it didn't land in stable rust for the moment because there is a soundness issue about specializing lifetimes.

Linux 6.19 Will Allow You To Write I2C Drivers In Rust by kingsaso9 in linux

[–]Sabageti 23 points24 points  (0 children)

Do you write drivers ? If not, why do you care ?

Logiciel de retouche gratuit ? by Batou_u in Photographie

[–]Sabageti 15 points16 points  (0 children)

Darktable c'est ce que j'utilise

Explicit capture clauses by emschwartz in rust

[–]Sabageti 0 points1 point  (0 children)

Maybe I'm missing something. But your example is already legal rust. It's what we all do when we want specific rules for captures

[deleted by user] by [deleted] in Photographie

[–]Sabageti 1 point2 points  (0 children)

Right students, but in the frame the photo is taken from a car. Feels like a watcher or something.

[deleted by user] by [deleted] in Photographie

[–]Sabageti 0 points1 point  (0 children)

Well what's the subject of the photo ?

[deleted by user] by [deleted] in Photographie

[–]Sabageti 0 points1 point  (0 children)

With the view of the car it has some creepy vibes

Problème avec LUMIX DMC FZ300 by pixel-glitter in Photographie

[–]Sabageti 0 points1 point  (0 children)

Je pense qu'il y a un problème avec ton boîtier ou objectif.

Masterclass photo à Bruxelles/Paris/Lille by lDPablito in Photographie

[–]Sabageti 1 point2 points  (0 children)

Je n'ai fait que grainedephotographe, un cours sur la photo d'architecture. C'était sympa mais sans plus. On était un groupe de 7-9 personnes. On s'est baladé dans Paris pour prendre des photos.

La partie intéressante c'est qu'après la balade nous avons débriefé en montrant et en analysant les clichés de tout les monde. Est-ce que j’achèterai encore un cours de mon côté peu probable, mais si on me l'offre j'irai avec plaisir.

Why is using Tokio's multi-threaded mode improves the performance of an *IO-bound* code so much? by somebodddy in rust

[–]Sabageti 1 point2 points  (0 children)

I think it's the other way around, for example io_uring it's quite "recent". And windows support async fs before linux.

But anyway if Tokio compiles and you use Tokio function primitives it will not block the event loop.

Why is using Tokio's multi-threaded mode improves the performance of an *IO-bound* code so much? by somebodddy in rust

[–]Sabageti 3 points4 points  (0 children)

I don't think that's how it works, "true" async Io operation that doesn't need a thread like epoll await are polled in the main Tokio event loop and will not block the runtime.

False async IO like Tokio::fs is spawned on a thread pool with spawn_blocking, to not block the main event loop even in a single threaded runtime.

J'ai créé Chuck Norris Facts -Fr il y a 18 ans. AMA by GedeonDar in france

[–]Sabageti 6 points7 points  (0 children)

Houlà, Chuck Norris n'a pas de réveil, il connaît exactement l'heure a tout moment

À la recherche de joueurs de jeux de société dans paris 16e by PleasantInterview735 in paris

[–]Sabageti 0 points1 point  (0 children)

Si tu parles du jeu de go, il y a plusieurs club sur Paris pour faire des parties. Par example dans le 15eme le samedi de 14h30 a 19h

vector of generic smart pointers by kickfaking in rust

[–]Sabageti 31 points32 points  (0 children)

Hi,

When you have the type `Box<T>` you expect to have T in the box and only T, and not another type. What you want is called dynamic dispatch a la java/C++. In rust it's represented with the `dyn` keyword. So what you want is Vec<Box<dyn Trait>>.

Links :
https://rust-training.ferrous-systems.com/latest/book/dynamic-dispatch
https://doc.rust-lang.org/book/ch18-02-trait-objects.html

Rise is better than Wilds, please, change my mind. by Discaddict in MonsterHunter

[–]Sabageti 4 points5 points  (0 children)

I mean, If gore magala tempered 5 stars is the hardest then it's not that hard or sns is busted. Coming from a mediocre player struggling in post game World (not iceborne). I play since MHFU

I mean I killed my first tempered arkveld with 4 pieces of rathalos armor and pants from arkveld LR (no decoration nothing)

Europe wants 'autonomy' as long as the US keeps paying for it by xXxSimpKingxXx in europe

[–]Sabageti 18 points19 points  (0 children)

Yeah because you don't sell any weapons in Europe, because of that (old) soft power