I bring my kid to school on a bike. I follow the right-of-way rules at the 4-way stops and at left turns. But every day there are 1-3 drivers who wave me ahead, and refuse to move until I go first. I don't care what the rules are - I just want consistency!
hallettj
I read that electronic shifting can automatically downshift when you come to a stop which I find a little tempting. But not tempting enough at the price I've seen. There's a spot on my regular route where my habit is to downshift 6 times as I come to a stop sign at the bottom of a hill. I do wonder what it would be like not to have to think about that so much.
Yeah the performance differences don't matter in most cases. Rust makes it tempting to optimize everything because the language is explicit about runtime representations. But that doesn't mean that optimizing is the best use of your time.
To expand on why generics are preferred, just in case you haven't seen these points yet: the performance downsides of Box<dyn MyTrait>
are,
- methods use dynamic dispatch in this case
- requires heap allocation
There is also a possible type theory objection which is that normally there is a distinction between types and traits. Traits are not types themselves, but instead define sets of types with shared behavior. (That's why the same feature in Haskell is called a "type class", because it defines a class of types that have something in common.) But dyn
turns a trait into a type which undermines the type/trait distinction. It's useful enough to justify being in the language, but a little unsettling from a certain perspective.
What helps me most is to find a comfortable rhythm, which is a combination of stride cadence and breathing. I've read advice on counting strides, and matching breaths to certain steps. It's hard for me to coordinate all that so I go by feel. If you're not feeling comfortable maybe try going slower.
When your legs don't want to move it could mean that your muscles aren't warmed up. You might feel better after taking it easy at the start of the run. Or your muscles might be tired from recent exercise. Either way make sure you're hydrated.
It would make sense for the terminal to handle syntax highlighting since that would match how editors work. But the convention is that the shell handles highlighting, not the terminal. You can check which shell you are running with the command,
$ echo $SHELL
It's done that way because the shell is a running program that is capable of telling the terminal which colors to show (by mixing color escape sequences into text). Compare that to code in an editor which is text, not a running program so the only option is for the editor to handle highlighting[1]. Editors need syntax files to configure highlighting for all the different programming languages, while terminals don't need this because the shell tells them what colors to show.
[1] setting aside the "semantic highlighting" LSP capability - that was invented long after syntax highlighting conventions were established
Specifically programs.steam.enable = true
sets up the direct rendering and 32-bit libraries that you generally need.
I was confused at first about how to install wine runners in Lutris or in Bottles. It turns out you do it the same way as in any other distro, through the app.
Seems like a matter of preference, and I see the logic in it. I'll mention that Nushell makes it easy to create custom shell functions that are invoked as sub-commands in this manner. https://www.nushell.sh/book/custom_commands.html#command-names
I'm not an expert, but I've heard that Rad bikes are good for their price, and they have been touting the safety of their batteries. (Rad is not the cheapest, but is not as expensive as the high-end bikes.)
I wanted a cargo bike to transport my kid, and I wanted a mid-drive since I'm told the motor assist on that type of drive feels more natural. So I went with a Tern.
As someone who is not onboard with dismantling the existing political system without a better system ready to go, I think that dual power sounds like a great idea!
This happens to be the plot of the book series, The Accidental Minecraft Family
What does "under pressure" mean? Does it mean shifting while stopped? I'm told some non-electronic belt drives can do that.