Question for all the @rustlang hackers out there -- Do you prefer #[cfg(test)] stuff in your crate, or code in the tests/*.rs files for testing the majority of your code when your library is almost entirely public API?
I'd forgotten just how rewarding it can be to write code for fun. #rustlang has reignited my love of coding for the heck of it. Though I should probably write more unit tests since 65+ doctests doesn't quite cut it any more.
6
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง retweeted
Hey @monzo when my husband and I use shared tabs, sometimes the entries change cost after a few days (e.g. adjustments to a payment at a car charger results in a 5 quid prepay turning into 6 or 3 or whatever) but that change does not get reflected into the shared tab. Ideas?
A modern mobile phone CPU (let alone the rest of it) has enough transistors in it that it'd take 87 tonnes of rice to have the same number of grains of rice. What amazes me is how much rice/wheat is produced rather than how many transistors.
One day, *one day* They'll actually do what we ask when we ask, and our situation will be resolved with minimum fuss and cost on both sides. Until then, they'll continue to waste their money, our time, and our mental health resources.
I know @pietroalbini was working on something fancy using YAML anchors and a rust program to expand them, for the rust-lang/rust CI. Perhaps he has ideas?
I've just been adding extra variables to some parts of the matrix and then making certian parts of the job conditional on those. You can see that in rustup's workflows