🕜 Hi, the current time is about a half past seven in the morning 🌄.
🕐 Hi, the current time is about a quarter past seven in the morning 🌄.
🕐 Hi, the current time is about a quarter past seven in the morning 🌄.
🕐 Hi, the current time is about seven o’ clock in the morning 🌄.
🕧 Hi, the current time is about a quarter till seven in the morning 🌄.
🕧 Hi, the current time is about a quarter till seven in the morning 🌄.
🕧 Hi, the current time is about a half past six in the morning 🌄.
🕧 Hi, the current time is about a half past six in the morning 🌄.
🕛 Hi, the current time is about a quarter past six in the morning 🌄.
🕛 Hi, the current time is about a quarter past six in the morning 🌄.
🕛 Hi, the current time is about six o’ clock in the morning 🌄.
🕠 Hi, the current time is about a quarter till six in the morning 🌄.
O Zé do Pipo devia ser um gajo meio frito das ideias: quem é que um dia se lhe ocorre “deixa pôr maionese e levar ao forno”?
🕠 Hi, the current time is about a quarter till six in the morning 🌄.
🕠 Hi, the current time is about a half past five in the small hours 😴.
🕠 Hi, the current time is about a half past five in the small hours 😴.
🕔 Hi, the current time is about a quarter past five in the small hours 😴.
🕔 Hi, the current time is about a quarter past five in the small hours 😴.
🕔 Hi, the current time is about a quarter past five in the small hours 😴.
🕔 Hi, the current time is about five o’ clock in the small hours 😴.
🕔 Hi, the current time is about five o’ clock in the small hours 😴.
STOP! this is a dambara ruru video checkpoint. you must watch this video or else i will find you
woke up so early that i have nothing to do
🕟 Hi, the current time is about a quarter till five in the small hours 😴.
🕟 Hi, the current time is about a quarter till five in the small hours 😴.
🕟 Hi, the current time is about a half past four in the small hours 😴.
🕟 Hi, the current time is about a half past four in the small hours 😴.
🕓 Hi, the current time is about a quarter past four in the small hours 😴.
🕓 Hi, the current time is about a quarter past four in the small hours 😴.
🕓 Hi, the current time is about four o’ clock in the small hours 😴.
🕓 Hi, the current time is about four o’ clock in the small hours 😴.
Righto, infusion time in the sauna! It started to lightly rain. Bah, why’s the heavy thunderstorm canceled?
🕓 Hi, the current time is about four o’ clock in the small hours 😴.
🕞 Hi, the current time is about a quarter till four in the small hours 😴.
🕞 Hi, the current time is about a quarter till four in the small hours 😴.
Meh, the stupid shorts get longer. I need to increase my duration filter in order to ban all this garbage.
🕞 Hi, the current time is about a quarter till four in the small hours 😴.
🕞 Hi, the current time is about a half past three in the small hours 😴.
🕞 Hi, the current time is about a half past three in the small hours 😴.
🕒 Hi, the current time is about a quarter past three in the small hours 😴.
🕒 Hi, the current time is about a quarter past three in the small hours 😴.
🕒 Hi, the current time is about a quarter past three in the small hours 😴.
🕒 Hi, the current time is about three o’ clock in the small hours 😴.
🕒 Hi, the current time is about three o’ clock in the small hours 😴.
fn sub(foo: &String) {
println!("We got this string: [{}]", foo);
}
fn main() {
// "Hello", 0x00, 0x00, "!"
let buf: [u8; 8] = [0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x00, 0x00, 0x21];
// Create a string from the byte array above, interpret as UTF-8, ignore decoding errors.
let lossy_unicode = String::from_utf8_lossy(&buf).to_string();
sub(&lossy_unicode);
}
Create a string from a byte array, but the result isn’t a string, it’s a cow 🐮, so you need another to_string()
to convert your “string” into a string.
- https://doc.rust-lang.org/std/string/struct.String.html#method.from_utf8_lossy
- https://doc.rust-lang.org/std/borrow/enum.Cow.html
I still have a lot to learn.
(into_owned()
instead of to_string()
also works and makes more sense to me, it’s just that the compiler suggested to_string()
first, which led to this funny example.)
🕝 Hi, the current time is about a quarter till three in the small hours 😴.
fn sub(foo: &String) {
println!("We got this string: [{}]", foo);
}
fn main() {
// "Hello", 0x00, 0x00, "!"
let buf: [u8; 8] = [0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x00, 0x00, 0x21];
// Create a string from the byte array above, interpret as UTF-8, ignore decoding errors.
let lossy_unicode = String::from_utf8_lossy(&buf).to_string();
sub(&lossy_unicode);
}
Create a string from a byte array, but the result isn’t a string, it’s a cow 🐮, so you need another to_string()
to convert your “string” into a string.
- https://doc.rust-lang.org/std/string/struct.String.html#method.from_utf8_lossy
- https://doc.rust-lang.org/std/borrow/enum.Cow.html
I still have a lot to learn.
(into_owned()
instead of to_string()
also works and makes more sense to me, it’s just that the compiler suggested to_string()
first, which led to this funny example.)
🕝 Hi, the current time is about a quarter till three in the small hours 😴.
🕝 Hi, the current time is about a half past two in the small hours 😴.
🕝 Hi, the current time is about a half past two in the small hours 😴.
🕑 Hi, the current time is about a quarter past two in the small hours 😴.
🕑 Hi, the current time is about two o’ clock in the small hours 😴.
@lyse@lyse.isobeef.org Rust is so different and, at the same time, so complex – it’s not far fetched to assume that I simply don’t understand what’s going on here. The docs appear to be clear, but alas … is it a bugs in the docs? Is it a lack of experience on my part? Who knows.
By the way, looks like there was a bit of a discussion regarding that name:
🕑 Hi, the current time is about two o’ clock in the small hours 😴.
🕜 Hi, the current time is about a quarter till two in the small hours 😴.
@bender@twtxt.net @prologic@twtxt.net meanwhile i want to try microblog but can’t because not able to pay for it. They have trial but…
🕜 Hi, the current time is about a quarter till two in the small hours 😴.
🕜 Hi, the current time is about a half past one in the small hours 😴.
🕜 Hi, the current time is about a half past one in the small hours 😴.
🕐 Hi, the current time is about a quarter past one in the small hours 😴.
🕐 Hi, the current time is about a quarter past one in the small hours 😴.
🕐 Hi, the current time is about one o’ clock in the small hours 😴.
🕐 Hi, the current time is about one o’ clock in the small hours 😴.
@movq@www.uninformativ.de Lol, what the hell!? Reports like that turn me away even more from iron oxide. Also, great naming choice on the method they made there. display()
doesn’t actually display it. But it’s a Rust thing.
🕐 Hi, the current time is about one o’ clock in the small hours 😴.
🕧 Hi, the current time is about a quarter till midnight 🌛.
🕧 Hi, the current time is about a half past midnight 🌛.
🕧 Hi, the current time is about a half past midnight 🌛.
🕛 Hi, the current time is about a quarter past midnight 🌛.
🕛 Hi, the current time is about a quarter past midnight 🌛.
🕛 Hi, the current time is about midnight 🌛.
🕛 Hi, the current time is about midnight 🌛.
🕠 Hi, the current time is about a quarter till midnight 🌛.
🕠 Hi, the current time is about a quarter till midnight 🌛.
So I was using this function in Rust:
https://doc.rust-lang.org/std/path/struct.Path.html#method.display
Note the little 1.0.0
in the top right corner, which means that this function has been “stable since Rust version 1.0.0”. We’re at 1.87 now, so we’re good.
Then I compiled my program on OpenBSD with Rust 1.86, i.e. just one version behind, but well ahead of 1.0.0.
The compiler said that I was using an unstable library feature.
Turns out, that function internally uses this:
https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.display
And that is only available since Rust 1.87.
How was I supposed to know this? 🤨
🕠 Hi, the current time is about a half past eleven in the night 🌃.
🕠 Hi, the current time is about a half past eleven in the night 🌃.
🕔 Hi, the current time is about a quarter past eleven in the night 🌃.
🕔 Hi, the current time is about a quarter past eleven in the night 🌃.
🕔 Hi, the current time is about eleven o’ clock in the night 🌃.
🕔 Hi, the current time is about eleven o’ clock in the night 🌃.
🕟 Hi, the current time is about a quarter till eleven in the night 🌃.
🕟 Hi, the current time is about a quarter till eleven in the night 🌃.
🕟 Hi, the current time is about a half past ten in the night 🌃.
🕟 Hi, the current time is about a half past ten in the night 🌃.
🕓 Hi, the current time is about a quarter past ten in the night 🌃.
🕓 Hi, the current time is about a quarter past ten in the night 🌃.
🕓 Hi, the current time is about ten o’ clock in the night 🌃.
🕓 Hi, the current time is about ten o’ clock in the night 🌃.
🕞 Hi, the current time is about a quarter till ten in the night 🌃.
🕞 Hi, the current time is about a quarter till ten in the night 🌃.
🕞 Hi, the current time is about a half past nine in the night 🌃.
🕞 Hi, the current time is about a half past nine in the night 🌃.
🕒 Hi, the current time is about a quarter past nine in the night 🌃.
🕒 Hi, the current time is about a quarter past nine in the night 🌃.
🕒 Hi, the current time is about nine o’ clock in the night 🌃.
🕒 Hi, the current time is about nine o’ clock in the night 🌃.
🕝 Hi, the current time is about a quarter till nine in the night 🌃.
🕝 Hi, the current time is about a quarter till nine in the night 🌃.
🕝 Hi, the current time is about a half past eight in the night 🌃.