Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "tokio"
-
Me: "So, this is a new way to show to your clients the daily menu using a QR Code and..."
Client: "I like it. I wanna buy it."
Me: "What?"
Client:"This QR-thing. I wanna be the only one using it"
Me:"But you can't buy the QR Code technol..."
Client:"Don't bother me. I want it. And when I want it, I get it. I can pay, you know."
Me:"Ehm......Oooook."
Me: "It's 10$ for every QR Code that we, and only we, will create! But, hey! Shhh!!"6 -
Call between Me and IT Assistant Guy working @ the Ministry of Education in my Country:
Me: Hi! I'm wondering why my account has been disabled. Can you tell me something?
IT guy: Have you tried turning off and on your computer?
Ministry.Of.Education.4 -
When you want to use Visual Studio Code so bad, but you're waiting for them adding minimap feature.4
-
Who says that no one is still waiting for traditional mails? ;) Thanks from Italy @dfox ! I don't know how many devs from my country are here but you are more than welcome to come! :D6
-
It doesn't mind WHEN you'll complete a job.
What's really matter is WHEN your client will call for a new feature.1 -
I swear.
I will find the person who realized the category-management and the arrangement of items inside Woocommerce.
And when I'll find you, I'll make you change all the categories inside every single fu***n item.1 -
Please help, I can't figure out good names for my API :(
AsyncReadWriter and AsyncWriter are really close tokio's AsyncRead and AsyncWrite traits, it's confusing, and also you're not supposed to instantiate AsyncWriter yourself.
https://crates.io/crates/...
It's also kind of a shameful plug for my tiny lib, it's my first open source one, hopefully first of many2 -
[wk224 - stuff on my desk]
Cant post a picture because the office is closed again, but a ceramic cat chopstick holder from tokio, a harry potter mug, some 3d printed hex boxes for sd cards and usb sticks. -
So tokio-rs had me really confused on how to properly use split streams and sinks to read and write io, so I made a simplified interface to save others (and myself) some trouble.
Check it out, it's called tokio-simplified, and it's on https://crates.io/crates/...
I like it, you can place as many callbacks as you want to respond to each frame from the stream, and use as many mpsc::senders as you like to write to the sink.
And as a bonus, you can have a filter callback called before any other, to choose whether or not a frame should make it to the others, and bonus feature: that callback is 0 cost against just passing it as a for_each on your stream.
Hope it helps some of you on your journeys to Rust -
That precise moment when you have finished your brand new app, you're compiling to upload it to the devcenter and you NOTICE you haven't changed the test ID in your Ad banner unit.
Can you feel me bro, right?