tatterdemalion

joined 1 year ago
[–] [email protected] 1 points 10 months ago (1 children)

I don't like the default behavior where I have to hold a comment to collapse the thread. Is there a way to change it to just a tap?

[–] [email protected] 6 points 1 year ago

the Rust folks wouldn’t care about the in-memory representation as long as the compilation is on point.

Well I can't speak for everyone, but Rust is very intentional about supporting things like repr(C). At least some of us care a lot.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

Nah these are the actual integer representations. Otherwise you would have Some(None) == Some(Some(None)) which is way too Javascripty for Rust folks.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

All of my top picks have been mentioned, but I have a few more that stand out from recent memory.

Hijack (Apple TV+) was one of my favorite thrillers, perfectly wrapped up in one season. Multiple jaw-dropping moments. Very hard to put down.

Perry Mason (HBO) is an enigmatic murder mystery that will keep you guessing. Characters are written with depth. Feels realistic for the time period.

Watchmen (HBO) is a faithful continuation of the comic book that, like the book, uses superheros to explore ethical and social issues instead of drawing clean lines between good and evil. Also responsible for teaching many Americans about the Tulsa Massacre.

[–] [email protected] 25 points 1 year ago* (last edited 1 year ago)

I have a feeling you are misunderstanding what is meant by "theorems for free" here. For example, one theorem that is proven by all safe Rust programs is that they don't have data races. That should always be a requirement for functional software. This is a more pragmatic type of automatic theorem proving that doesn't require a direct proof from the code author. The compiler does the proof for you. Otherwise the theorem would not be "free" as stated in OP.

[–] [email protected] 21 points 1 year ago* (last edited 1 year ago) (2 children)

And a lot more bug prone. I'm just explaining the OP because people didn't get it. I'm not saying dynamic languages are bad. I'm saying they have different trade-offs.

[–] [email protected] 9 points 1 year ago (2 children)

Yes if you use type annotations. Languages like Python and Typescript end up resorting to "Any" types a lot of the time, which breaks any kind of theorem proving you might have otherwise benefited from.

[–] [email protected] 61 points 1 year ago (26 children)

It's making fun of dynamic languages because rather than letting the compiler prove theorems about statically typed code, they... don't.

[–] [email protected] 5 points 1 year ago (1 children)

Was anyone else bored of this meme as soon as it started?

[–] [email protected] 6 points 1 year ago (4 children)

As a non-physicist, what is the technical reason Elon was wrong? I assume that when the CEO said 500 pounds, they meant 500 pounds of force relative to some surface area of the floor? I'm guessing that surface area was significantly larger than one wheel on the rack, so the combined force of all 4 wheels was still well over the limit. Maybe someone who knows physics could explain better.

[–] [email protected] 6 points 1 year ago (1 children)

I don't even think he's that smart.

[–] [email protected] 2 points 1 year ago

EVERYBODY STOP. Nobody make a move or the memory dies. We have a Mexican Memory Standoff.

view more: ‹ prev next ›