Skip Navigation

Posts
407
Comments
271
Joined
3 yr. ago

  • Per trip is more in line with how people think about danger. Like, am I going to die on this trip?

  • I think you underestimate the number of trips per car per day. Most people will take more trips by car per month than they will fly for their lifetime. In Sweden , a country of 10 million, we have about 150 people killed per year from car accidents, yet most adults travel by car daily. That is millions of trips per day, and only half a death.

  • The fact that airplane travel is safer than cars is a myth invented to promote airplane travel. Well, it is not fully a myth, but to get to that result they measure per mile, and that greatly favor airplane travel. If you instead measure how likely you are to die on your next trip, then the dangers of airplane travel will significantly exceed car travel and other means of transportation.

  • One breaking change, that they doesn't list as breaking (I guess since I assume the old was always broken) is: Dynamic registration of LSP capabilities. An implication of this change is that checking a client's server_capabilities is no longer a sufficient indicator to see if a server supports a feature. Instead use client.supports_method(

    <method>

    ). It considers both the dynamic capabilities and static server_capabilities.

    So if you had code like

     lua
        
    if client.server_capabilities.inlayHintProvider then
    ...
    end
    
    
      

    you now should use

     lua
        
    if client.supports_method("inlayHintProvider") then
    ...
    end
    
    
      

    So, not really a breaking change I guess, but something you should change any way.

  • You are confusing Google and Internet.... they are very different things.

  • Had to test with Kagi also, leads with official documentation, after that tutorials and unofficial things. Nothing obviously irrelevant. The only thing with the Kagi results, was that there were a few very simmilar official documentation links (for different postgresql versions) at top. But, still good search results. Not sure why anyone is still using google, when there are quite a few better alternatives availale

  • You don't have to understand everything, it is ok. And joining a language community for a language you hate just to rant about it, shows that you should try to focus on letting things go. It feels a bit obsessive.

    If you actually like to have a conversation about the language, I suggest you be a bit more specific and we will try to answer to the best of our ability.

    Have a nice day, and don't forget to breathe.

  • Rust @programming.dev

    Security advisory for the standard library (CVE-2024-24576)

    blog.rust-lang.org /2024/04/09/cve-2024-24576.html
  • Rust @programming.dev

    Rust Analyzer Changelog #228

    rust-analyzer.github.io /thisweek/2024/04/08/changelog-228.html
  • Rust @programming.dev

    Ratatui Received Funding: What's Next? - Orhun's Blog

    blog.orhun.dev /open-source-funding-with-ratatui/
  • Rust @programming.dev

    A memory model for Rust code in the kernel

    lwn.net /SubscriberLink/967049/0ffb9b9ed8940013/
  • What I feel looks interesting with "on rails" is that you get things like database management built in, like setup, upgrades aso. Of course, this also means that it might be difficult to jump off the rails if you need that. And even if I feel like I'm not the target audience, since I prefer to pick and choose smaller libraries, I'm watching this with interest since Ruby on Rails seems to be quite popular.

  • Now when I look in to it, it seems that the things I would like to adjust is mostly formatting of imports, and most of these options seems to still be unstable.

  • I agree. I have written server software my entire career, and the need for performance is a corner case in my experience. The never crash in runtime aspect of rust should get much more attention (I know it can panic, but that really never happens in practice unless you use unwrap or smilar).

  • Rust @programming.dev

    Have anyone tried Loco, a rusty attempt to be Rust on Rails

    loco.rs /docs/getting-started/guide/
  • Rust @programming.dev

    Rust in Web Development (Also): Efficient API Layer Based on Rust Foundations

    mito.hu /digital/rust-in-web-development-also-efficient-api-layer-based-on-rust-foundations/
  • Rust @programming.dev

    This Week in Rust 541 · This Week in Rust

    this-week-in-rust.org /blog/2024/04/03/this-week-in-rust-541/
  • I also think the defaults are fine, so I was quite surprised to see 14% modify the settings. That is much higher than I expected.

  • Rust @programming.dev

    Rust Digger: More than 14% of crates configure rustfmt. 35 have both rustfmt.toml and .rustfmt.toml

    rust-digger.code-maven.com /news/rustfmt-stats
  • It is always nice to see things progress in the IDE space, even though I must say that since rust analyzer have progressed a lot and JetBrains switched to Rust Rover, I use Rust Rover less now and NeoVim / VSCode more.

  • Rust @programming.dev

    Rust Unit and Integration Testing in RustRover | The RustRover Blog

    blog.jetbrains.com /rust/2024/04/02/rust-unit-and-integration-testing-in-rustrover/
  • Rust @programming.dev

    Rust Analyzer Changelog #227

    rust-analyzer.github.io /thisweek/2024/04/01/changelog-227.html
  • Rust @programming.dev

    This Development-cycle in Cargo: 1.78 | Inside Rust Blog

    blog.rust-lang.org /inside-rust/2024/03/26/this-development-cycle-in-cargo-1.78.html
  • Rust @programming.dev

    Rust Analyzer Changelog #226

    rust-analyzer.github.io /thisweek/2024/03/25/changelog-226.html
  • Rust @programming.dev

    BLOG: Why choose async/await over threads?

    notgull.net /why-not-threads/
  • Rust @programming.dev

    2024 Edition Update

    blog.rust-lang.org /inside-rust/2024/03/22/2024-edition-update.html
  • Rust @programming.dev

    BLOG: How I reduced (incremental) Rust compile times by up to 40%

    www.coderemote.dev /blog/faster-rust-compiler-macro-expansion-caching/
  • Rust @programming.dev

    Sovereign Tech Fund invests in uutils coreutils

    www.sovereigntechfund.de /news/newsletter-march-2024
  • Rust @programming.dev

    1.77.0 pre-release testing | Inside Rust Blog

    blog.rust-lang.org /inside-rust/2024/03/17/1.77.0-prerelease.html
  • Rust @programming.dev

    rustc_codegen_gcc: Progress Report #31

    blog.antoyo.xyz /rustc_codegen_gcc-progress-report-31
  • Rust @programming.dev

    This Week in Rust 538 · This Week in Rust

    this-week-in-rust.org /blog/2024/03/13/this-week-in-rust-538/
  • Rust @programming.dev

    Nice to see work being done towards deadlock safe mutexes

    crates.io /crates/happylock