Skip Navigation
snaggen snaggen
Posts 408
Comments 243
Biden introduces Zelenskiy as ‘President Putin’ at Nato summit
  • Have he said something even close to the stupidity of Trump? Like suggesting bleach against Covid? Why should all Trump opponents be measured with a different scale then Trump. Could you imagine the number of headlines required if Trump would get a headline every time he does anything on this scale?

  • Russia's war-driven economy is so hot that the World Bank upgraded it to a 'high-income country'
  • Well, not sure an inflation, twice the size of the GDP is positive for a country...

  • How programmers comment their code
  • Comment about image

  • Rust has a HUGE supply chain security problem | Sylvain Kerkour | July 2, 2024
  • Well.... it is true that it doen't have all these crates like Url included in the rust standard library, and hence it is not official. On the other hand Url was created by Mozilla to be used in Firefox, hence it is a quite competent crate that is very well maintained. And my guess is that the http crate may have the same kind of origins... but I'm not entirely sure about that.

    And even Java that includes quite a lot, still didn't get a good Http library until very recent, until then you had to rely on some obscure library created by the unknown organization Apache... so...

    As a developer you always have to think about what libraries you use, and if you trust them... that goes for pretty much any language.

  • Started learning Perl
  • I learend it in the 90s, and was working on a large Perl codebase 2005 and a couple of years forward. And 20 years, it still started to feel dated, and 15 years ago it was just so out dated it hurt. So, starting to learn Perl 20 years ago would not have been great :) However, the things making Perl horrible, is pretty much threre in Python also with the addition of significant whitespace... so technically, going from Python to Perl might actually be a step in the right direction.... Now, if you excuse me, I will hide behinde this huge rock for a while to let the incoming projectiles settle.

  • JetBrains RustRover Is Released and Includes a Free Non-Commercial Option
  • I used to use IntelliJ Rust as my primary rust IDE, but when they switched to Rust Rover I stopped using it. Not sure why actually, possibly since I used Java with IntelliJ it was already my go to IDE, so using it for Rust was natural. I also guess, that I had nvim with rust-analyzer working, so that was available at my finger tips already. So, I might have switched over anyway... who knows.

    Anyway, it is good to see more options available, and I hope it is getting so good that it is worth the money.

  • COSMIC Alpha coming in July - System76 reveal branding, a big hardware sale with new merch
  • No, it is not based on Gnome. It is a full DE environment written in rust.

  • Rust Container Cheat Sheet

    Found this on Mastodon , and it is a very nice overview of the containers and their layout.


    Rust Foundation - Announcing the Safety-Critical Rust Consortium Rust Foundation

    The Rust Foundation is an independent non-profit organization to steward the Rust programming language and ecosystem, with a unique focus on supporting the set of maintainers that govern and develop the project.

    Rust Foundation
    What was your latest improvement to your Linux setup?
  • Not the latest, but one of the biggest improvements was the Ultimate Hacking Keyboard. Now I have programmed the keyboard to have VIM navigation at the keyboard level. The latest was switching to neovim and setting it up properly.

  • xkcd #2940: Modes of Transportation
  • Of course cars would loose if you tried to use it to travel across the Atlantic...

  • xkcd #2940: Modes of Transportation
  • But per mile measurement for flying implies that every mile of a flight is equally dangerous, but the truth I'd that it is most dangerous to start or land, which is a per trip occurrence. The take off and landing is equally dangerous whether you travel a long or short distance in between.

  • xkcd #2940: Modes of Transportation
  • And the question is am I going to die on this trip? And there the real statistics are pretty clear, cars are safer.

  • xkcd #2940: Modes of Transportation
  • Well, what I want to know is "Am I going to die today?". The distance traveled is irrelevant to answer that question. The only reason to add that to the equation is to make air travel look safer.

  • xkcd #2940: Modes of Transportation
  • Per trip is more in line with how people think about danger. Like, am I going to die on this trip?

  • xkcd #2940: Modes of Transportation
  • 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.

  • xkcd #2940: Modes of Transportation
  • 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.

  • [Gitoxide April] Welcome Eliah, and gitoxide for GitButler [April] Welcome Eliah, and `gitoxide` for GitButler · Byron gitoxide · Discussion #1375

    This month was very productive, just not directly for gitoxide. And it's notably the first month in my recollection where that happened. There must be a special reason for it, and bluntly, it's jus...

    [April] Welcome Eliah, and `gitoxide` for GitButler · Byron gitoxide · Discussion #1375

    LazyCell/LazyLock stabilized in nightly Rust Weekly 🦀 (@[email protected])

    `LazyCell`/`LazyLock` stabilized in nightly Discussions: #programming #rustlang

    NeoVim 0.10 Released!
  • 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

    you now should use

    if client.supports_method("inlayHintProvider") then

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

  • What it's like to be a developer in 2024
  • You are confusing Google and Internet.... they are very different things.

  • What it's like to be a developer in 2024
  • 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

  • How can Rust be so fast in the TechEmpower Web Framework Benchmarks?
  • 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.