chmln
First, lifetimes are elided in most cases.
Second, the curly braces for the closure are not needed and rustfmt gets rid of them.
Finally, the "map" on result can be replaced with a return statement below.
So, in the end we get something like:
Trying::to_read(syntax, |like| this.can_be(maddening))?;
Ok(())Most terminals today have a copy-on-select feature, which means you don't need to ctrl-c at all. Just select and ctrl-v.
Just a reminder there's like 7 different context menu styles in Windows 10, not to mention two control panels.
I use resolved and timesyncd however and they work amazing for my basic needs on the laptop.
The best performing languages are imperative (C, C++, Rust), with functional languages being at least an order of magnitude slower both in benchmarks and real-life workloads. Whatever properties were supposed to make it faster/parallelizable have clearly not manifested themselves very well after decades.
Imperative and parallel code also does not have to be a nightmare at all, as evidenced by Rust and even Go.
> Your comment serves as an attempt to change the subject
That's funny because you did not refute anything I said and just brought up Trump, whose opinion I couldn't care less about.
Besides, unchecked migration would lead not only to seriously depressed wages but also massive social issues.
And leaky "abstractions" that create more problems than they solve but look cooler than doing things the straightforward way.
Also, while systemd and pulseaudio were heavily pushed by many distros, alsa was and still is an option and systemd alternatives exist for those who care that much.
Majority of users, like me, never really comment on those two because they do their job so well - they get out of my way and just work.
Firefox is inferior in all regards except privacy. People will claim it's just as fast as others, but even if it wasn't obviously false it wouldn't be enough. It should be undoubtedly better in all regards. With all the money of Mozilla they could've built a better, faster browser but they just didn't want to badly enough. And that's the tragedy.
As a male, white, urban, and affluent, perhaps he could demand to get replaced by a POC like some corporate board members have done, instead of endlessly yapping and proudly showing off his self-hating racism.
> we're removing the types from internal code and making it pure JS. this reduces complexity and helps us ship a faster product
Yeah, because dropping static types from 10K lines of code is definitely not going to be a maintenance nightmare in the long run.
But perhaps this is something beyond the simpleton comprehension of us novice programmers
They must be doing something horribly wrong, because tsc takes literally 1 second for my 3KLOC codebase[1] in incremental mode.
As a maintainer of a popular 3k LOC typescript library, even at 1k LOC you start running into frequent type-related bugs with JavaScript
Latency makes much more difference in how fast a terminal feels. This is where kitty does a fantastic job, even letting me trade some CPU cycles for really low latency with its options. I can strongly recommend it to anyone who values low latency.
I think it's best to always start from clean slate because even 'good' manufacturers put a tonne of shit in there. So in that sense, it doesn't really matter what the manufacturer does, apart from the terrible decision making that they should learn from.
Since linux drivers live mostly in kernel space, for new devices I would imagine a lot of issues would be fixed by running the latest kernel or mainline for even newer hardware.
Sadly this isn't true for a lot of math/computer science courses, speaking from very recent experience. While having an open book and even online access is an advantage, many profs implement measures ranging from webcam proctoring services to extremely difficult time-limited exams to compensate.