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
Replying to @fanf
Yeah I switched from emacs to vscode a few years back and my vscode keybindings had a lot of emacsy things in for a while as I retrained fingers after decades of emacs :D I still emacs for C code tbf :D
1
1
Replying to @fanf
Aah most people I know who Rust seem to use vim or vscode, both of which seem to have competent lsp stuffs. Pity emacs hasn't got there yet then :(
1
Replying to @fanf
Out of interest have you got rust-analyzer sorted in your development environment? I find that with all the IDE badgers turned on, type inlays, etc. that all the more terse syntax like `?` and the last-expression-is-value stuff makes things so beatifully readable.
1
Replying to @nick_r_cameron
If you find such a resource I'd *love* a link. This kind of thing comes up a lot in my workplace and I've yet to find anything truly suitable. Everything I know was picked up by trial/error over the (gulp) decades :/
4
Replying to @fanf
itertools is love. itertools is life. (oh, and rayon too, rayon is happiness)
3
Replying to @fanf
This isn't *quite* what you're after, but it's close (Option,Option,Option) rather than (Option,value,Option) -- play.rust-lang.org/?version=โ€ฆ
1
1
Replying to @fanf
I'm just trying to grok what you actually need in terms of data. Is it that for each entry in the list you want (prev,this,next) where at the start that'd be (None,entry,Some(next)) and a the end it'd be (Some(prev),entry,None) ?
1
I repeat, the ideal information for this to show me is the *charge rate* in *kW* and even better would be to provide a graph over time. percent-per-hour is worthless and confusing, as is miles-per-hour.
Replying to @fanf
If I knew the shape of what you had and what you wanted, I might be able to make a suggestion.
1
Well yes, but the UI is awful. What you want is "I'm charging at x kW now, I will begin throttling after y kWh" or similar. Ideally just give you a graph and you can learn. Bad predictions are just microsoft progress bars all over again.
Replying to @dickontoo
I certainly wouldn't expect it to take over 2h if it's charging at over 50%/hr. All I want is "You're receiving X kW right now, averaging Y kW across the charge so far. The battery could take Z kWh more before it's full" type statements.
Replying to @fanf
I keep wanting if/else expressions in other languages because ?: is so easy to misread :D
I thought that was what it was meant to be. i.e. only first-time contributors get caught with this.
1
2
Replying to @grhmc
That does go some way to settling my nerves on this. I can only hope I see more people with this kind of view than the horrorpile of that thread about blocking.
2
Replying to @rjek
We made some expensive earbuds which will fall out of your ears as they have no limits on distance from your head when "in use"
2
Replying to @grhmc
That's my hope, but is there anyone who is nominally able to speak on behalf of the project to say that. Can someone state "This is our position" ?
5
Replying to @grhmc
please tell me this isn't serious. I was considering nixos as a new home after debian resoundingly failed to condemn the fsf/rms debacle, but I couldn't join a community which was anti-inclusion.
1
2