• 402 Posts
  • 236 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle












  • 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.


  • snaggen@programming.devtoxkcd@lemmy.worldxkcd #2940: Modes of Transportation
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    12
    ·
    22 days ago

    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

    if client.server_capabilities.inlayHintProvider then
    ...
    end
    

    you now should use

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

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