LPThinker

joined 1 year ago
[–] LPThinker@lemmy.world 4 points 2 weeks ago

I've heard it as a word, "Rustles". Not sure how canonical that is though.

[–] LPThinker@lemmy.world 6 points 3 weeks ago (2 children)

This could be done almost trivially using the typestate pattern: https://zerotomastery.io/blog/rust-typestate-patterns/.

[–] LPThinker@lemmy.world 37 points 4 weeks ago
  • big oil, for the last 70 years, fully aware of the consequences of their greed.
[–] LPThinker@lemmy.world 24 points 1 month ago (1 children)

It’s satire, pointing the cognitive dissonance that allows people to recognize that fumes are deadly but never question the fact that our entire “modern” concept of city planning is built around constantly being in and around the machines that produce these fumes 24/7.

[–] LPThinker@lemmy.world 1 points 2 months ago

The most obvious cost of detached homes is the completely unsustainable amounts of infrastructure required to maintain them. Roads, sewage, electric, etc.

It’s a well documented fact that suburbs of sprawling suburban homes are bankrupting towns/cities all across America and only the densely built downtown cores are keeping these cities afloat because the tax revenue of dense mixed-use areas is substantially higher than the cost of maintaining the infrastructure for these places. Check out Strong Towns if you’d like to know more and see the studies showing all this.

[–] LPThinker@lemmy.world 5 points 3 months ago (2 children)
[–] LPThinker@lemmy.world 5 points 5 months ago

I switched from Zsh to Nushell almost two years ago and I have never looked back. If you need POSIX compliance, Nushell is a no go. But it sounds like your real problem was just that Zsh was familiar whereas fish was not. Nushell strikes the perfect balance of offering the commands you’re used to but letting everything just make intuitive sense. Plus, its help command is so far above and beyond other shells. I rarely need to open the Nushell docs (even though they’re really good), and I never have to go the community (even though it’s awesome), because I can figure pretty much everything out just from interacting help within the terminal.

[–] LPThinker@lemmy.world 31 points 5 months ago (1 children)

For anyone interested in learning more about bloom filters, this is a technical but extremely accessible and easy to follow introduction to them, including some excellent interactive visualizations: https://samwho.dev/bloom-filters/

 

I found this an extremely realistic, thoughtful perspective on why unions are gaining momentum and how we can continue to win back power for ourselves and our communities.

 

cross-posted from: https://lemmy.world/post/14246943

I found this talk really helpful in understanding the broader context of open source's recent difficulties (see xz vulnerability, Redis license change, etc.)

I am one of the people who has immensely enjoyed using open source at a personal level (and have done a tiny bit of contributing). I've seen and read a lot about burn out in open source and the difficulties of independent open source maintainers trying to make a living off their work while companies make billions using that work and only ever interact with the maintainer to demand more unpaid labor. But I've never seriously considered how we got to this point or what it might take to move to a more sustainable world of thriving, fair open source.

[–] LPThinker@lemmy.world 16 points 7 months ago (5 children)

The major car manufacturers have literally been collaborating for the better part of a century, along with oil companies, to keep Americans dependent on cars. It’s a well-documented fact. Even long before Citizebs United made corporate bribery legal, they’ve been using the state’s power to quell protests, destroy non-car infrastructure, and outlaw use of our streets for anything except cars.

[–] LPThinker@lemmy.world 4 points 9 months ago* (last edited 9 months ago) (1 children)

If you dig the structured output of powershell, you might want to check out Nushell. It’s a cross-platform shell that builds on powershell’s structured data approach but is much less verbose and, in my opinion, more intuitive than both powershell and Posix shells.

[–] LPThinker@lemmy.world 1 points 9 months ago

This misses the fact that even the experts have been using “AI” to refer to whatever technology used to seem impossible, until it becomes commonplace. Before LLMs there were heuristic algorithms, and then expert systems, and then intelligent agents and then deep learning. As the boundaries of what is deemed achievable expand, the definition of AI moves to just beyond the frontier.

[–] LPThinker@lemmy.world 33 points 9 months ago (3 children)

There are several things I disagree with in this article, although I see where the author is coming from. I will never be onboard with "I’ll take my segfaults and buffer overflows.", and I fundamentally disagree about concurrency. I also think that cargo is fantastic, and a lack of standard build tools is one thing that holds rust's predecessors back.

However, a majority of the authors points can be boiled down to "C is more mature", which doesn't tell us much about the long-term viability and value of these languages. For example, in the author's metric of stability and complexity, they use C99 as the baseline, but C99 is the state of a language that had already had almost 3 decades of development, whereas Rust has been stable for less than a decade. Talking about superior portability, stability, and even spec, implementations, and ABI is in some real sense just saying "C is older".

That's not to say those things aren't valuable, but rather they aren't immutable characteristics of either language. And given that safety is playing an ever more important role in software, especially systems software, I think Rust will catch up in all the ways that are meaningful for real projects more quickly than most of us realize. I certainly don't think it's going anywhere anytime soon.

view more: next ›