[-] hallettj@leminal.space 14 points 1 month ago

Inefficient compared to batteries? I found another article saying this company hopes that the energy dome will cost ⅔ the cost of a lithium-ion battery installation with the same energy capacity. https://www.popularmechanics.com/science/energy/a61572150/carbon-dioxide-energy-dome-plant/

[-] hallettj@leminal.space 24 points 2 months ago

After seeing this comment I had to check how Disney is involved if they don't own the restaurant. The restaurant is in Disney World (specifically Disney Springs). https://www.bbc.com/news/articles/c8jl0ekjr0go

IIUC that does put the restaurant in the special tax district that gives Disney the authority of a county government. But my very cursory search seems to indicate that restaurant safety oversight is managed at the state level.

[-] hallettj@leminal.space 3 points 2 months ago

It seems like only one side of the ancient rivalry is represented in the comments here. No worries, I'm right there with you.

[-] hallettj@leminal.space 3 points 2 months ago

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@leminal.space 4 points 2 months ago

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.

[-] hallettj@leminal.space 2 points 2 months ago

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.

[-] hallettj@leminal.space 2 points 2 months ago

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.

[-] hallettj@leminal.space 2 points 2 months ago

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

[-] hallettj@leminal.space 4 points 2 months ago

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

[-] hallettj@leminal.space 7 points 3 months ago

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!

[-] hallettj@leminal.space 11 points 3 months ago

This happens to be the plot of the book series, The Accidental Minecraft Family

[-] hallettj@leminal.space 2 points 3 months ago

My favorite is Time Surfer. The core mechanic is basically the same as Tiny Wings, but the theme, artwork, levels, etc are all very different. I especially enjoy the chiptunes!

view more: ‹ prev next ›

hallettj

joined 7 months ago