Mostly Grey former ginger with a preference for Rust. Leads wg-rustup, sorry about the mess. He/Him or They/Their Now @kinnison@fosstodon.org too

Manchester
Joined December 2008
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?
13
2
1
14
Replying to @grhmc
Well, I hope I *did* manage to give you something useful in the end, though "good luck" remains my parting comment on the matter :-D
2
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
EVERYONE SHUT UP AND LOOK AT THIS COFFEE ADVERTISEMENT
2,579
100,046
11,445
444,024
0
Replying to @monzo
I'd imagine it'd be something you could end up with a user-acceptance-test story for once the right engineer gets to think about it :D
Replying to @monzo
We removed the old entry and added the updated one so I no longer have screenshotable evidence, but if you have audit trails then sure, I'll do that.
1
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?
1
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.
1,000 times more transistors are produced globally than grains of rice or wheat.
4
Replying to @rjek @virginmedia
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.
Replying to @mjg59
One thing I've found about getting older is that the people who complain to/near me about getting older appear to be getting younger.
Replying to @burntsushi5
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?
Replying to @burntsushi5
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
2
Oh dear :( I'm glad my react work doesn't seem to be affected like that, but I don't do a lot of it.
Naah, I only run `beta` not a nightly browser build; so crashes are a little more rare than that.
1
Web browsers crash, etc. Also I'm really used to kanban work management from my day job, so trello is suited to my brain :D
1
1