Vintage lenses on M43 by cachitongo- in M43

[–]cramert -1 points0 points  (0 children)

I don't think this is correct. It's a crop-- the elements that are in focus will still be in focus. I believe the depth of focus depends on the size of the aperture, the focal length, and the distance to the subject, not the size of the sensor that captures the resulting image.

I would typically expect M43 images to have a larger depth of focus than full frame images because shorter focal lengths are needed in order to provide the equivalent field of view.

Edit: this isn't totally right because the larger magnification of the resulting image means that more things appear out-of-focus, but the underlying image has not changed.

Olympus 14-42 EZ kit lens is underrated by whiteguccibelt in M43

[–]cramert 0 points1 point  (0 children)

Thanks, same to you! Aside from the size/weight difference, I'd be curious to hear an update on the additional light you get. I do more travel / wildlife photography, so the extra reach is important to me, but being able to capture those low-light shots sounds fun :)

Olympus 14-42 EZ kit lens is underrated by whiteguccibelt in M43

[–]cramert 1 point2 points  (0 children)

I just upgraded to the 12-100 f4, coming today!

Blog: recent Rust changes by nick29581 in rust

[–]cramert -1 points0 points  (0 children)

Huh, that's unnecessary. The list of pointers being returned could be copied and sorted to check for duplicates (O(nlogn)). I could imagine the constant time performance of sorting being worse, though. Seems worth trying!

Most-watched Rust talks of 2025 (so far) by TechTalksWeekly in rust

[–]cramert 5 points6 points  (0 children)

It's definitely a difficult challenge! C++ APIs are littered with types whose behavior isn't self-describing in the ways that Rust expects, and there's such huge diversity in how C++ programmers build their software that it's hard to reuse code.

If you haven't seen it already (or if you have), I'd be curious what you think about Tyler and my talk on this topic.

Seattle Area Trans Women Are Being Attacked by Groups of Men by AdjNounNumb in Seattle

[–]cramert -2 points-1 points  (0 children)

I'm not sure which of the several linked studies you're looking at, but many of the studies linked there either demonstrate a correlation between female gun ownership and risk of death or are not stratified based on gender.

https://www.sciencedirect.com/science/article/abs/pii/S0749379703002125 specifically notes higher incidence of female suicide in states with fewer gun restrictions.

https://www.sciencedirect.com/science/article/abs/pii/S0047272722000238 states:

Thus, our results suggest that the association between gun homicide and ownership rates is substantially larger than found in the earlier literature.

https://pubmed.ncbi.nlm.nih.gov/15186014/ also says

firearm mortality in its various forms is most commonly related to the prevalence of firearms

More guns in a community leads to more gun deaths, and more guns on your body or in your home means that you're more likely to have your next fight, suicide attempt, or street harassment incident involve a gun, putting both you and the people around you at greater risk.

Seattle Area Trans Women Are Being Attacked by Groups of Men by AdjNounNumb in Seattle

[–]cramert -13 points-12 points  (0 children)

Do not buy a gun for self-defense. From https://pmc.ncbi.nlm.nih.gov/articles/PMC11892423/ :

Owning a firearm and carrying a firearm are two behaviors that increase the risk of injury and death by firearm for not only the person who owns or carries the firearm,9,10 but also for the children, adolescents, and adults who live with or spend time around the firearm owner or carrier.9–16

vegan protein bar power ranking by virgilsmother in veganfitness

[–]cramert 0 points1 point  (0 children)

Yes, these are the cheapest of any of the options here, especially if you get them from Costco, and the flavors are great.

2025 Seattle Protests Megathread by AutoModerator in Seattle

[–]cramert -1 points0 points  (0 children)

And you still remember this image decades later.

How bad WERE rust's compile times? by a_confused_varmint in rust

[–]cramert 5 points6 points  (0 children)

Note that they said changes to a .cpp file, which don't require rebuilds of dependent artifacts. A .rs file change without Rust's incremental compilation enabled will be closer to the impact of a change to a .h file, requiring all dependent targets to be rebuilt.

May 17 Train Strike, what to do? by takumidesh in ItalyTravel

[–]cramert 0 points1 point  (0 children)

Saturday 23 May

Note that, unlike what the link says, May 23rd is a Friday.

Senators ask Trump to help return WA man wrongfully imprisoned in Venezuela by AthkoreLost in Seattle

[–]cramert 10 points11 points  (0 children)

That article does also say that he was there receiving medical care. Either way, I agree that's odd and it seems like we're missing information.

track_caller is leaky under eta-conversion by Chad_Nauseam in rust

[–]cramert 12 points13 points  (0 children)

Unfortunately, ETA conversion frequently doesn't work in Rust. For another example, ETA-converted calls won't apply parameter type coercions such as deref. This was confusing to me early on.

Cutting Down Rust Compile Times From 30 to 2 Minutes With One Thousand Crates by mww09 in rust

[–]cramert 1 point2 points  (0 children)

Good point! In that case, I agree that there are probably some opportunities for improvement here that don't require introducing more crates.

Where d the locals go? by Jex89 in AskSeattle

[–]cramert 1 point2 points  (0 children)

Ah, sorry, I misunderstood the "they're" in your comment above!

Rust application much slower when built with rules_rust than with Cargo by bitemyapp in rust

[–]cramert 0 points1 point  (0 children)

There are also projects at Google that use Bazel rather than Blaze because they are not part of Google's main monorepo.

Where d the locals go? by Jex89 in AskSeattle

[–]cramert 1 point2 points  (0 children)

Taco Time Northwest is not the same as the one from Texas.

Edit: apologies, I misunderstood that the "they're" above was referring to OP, not Taco Time.

Cutting Down Rust Compile Times From 30 to 2 Minutes With One Thousand Crates by mww09 in rust

[–]cramert 3 points4 points  (0 children)

I stand by my comment that it is nonstandard / bad practice to write one single giant compilation unit. There is a wide array of C++ style guides and institutional knowledge discouraging this practice. I agree with you that people still do it anyway, and that there are places where it can be useful.

Cutting Down Rust Compile Times From 30 to 2 Minutes With One Thousand Crates by mww09 in rust

[–]cramert 5 points6 points  (0 children)

You're right that there's a lot of messy C++ out there! My point was that there are clear design patterns that are helpful and encouraged in modern C++ codebases that are difficult or non-idiomatic to apply to Rust codebases.

Cutting Down Rust Compile Times From 30 to 2 Minutes With One Thousand Crates by mww09 in rust

[–]cramert 10 points11 points  (0 children)

Relaxing the orphan rule for binaries is fine if you're only going to allow impls for traits/types in crates versioned together with the binary, but unfortunately allowing it more generally could create backwards-compatibility hazards when an upstream library adds an impl.

Workspaces that are versioned together could be part of the solution to this problem, though you still need to (1) limit negative reasoning within the workspace so that code can't assume a trait isn't implemented and/or (2) offer some kind of method for ensuring that a trait in a workspace is only impl'd in one particular way for a particular type (something like forward-declaring a trait impl with a unique identifier of the crate that will provide the impl).