• 0 Posts
  • 11 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle
  • Once you’ve learned it, Rust is just a very nice compiled language to work with.

    You get higher level constructs than in C++, a language without a billion weird edge cases, a modern package manager, and much more. In my experience, my code written in Rust is more likely to work as intended, both because of the stricter compile-time checks, but also because language features like sum types make it easier to check the core logic at compile time.

    I work in both C++ and Rust, among other languages, but these days I never reach for C++ for a new project



  • That’s definitely a possibility, along with the possibility that countries with worse English language skills might be underrepresented on GitHub, despite having universal healthcare. Conversely, if the US is over-represented on GitHub, then the pool of US developers who are not already active on GitHub may also be depleted compared to other countries. However, that is not something we can read out of the available evidence.

    The most we can conclude is probably that the US getting universal healthcare might result in an increase in available OSS developers, depending on which assumptions turn out to be correct, but suggesting that it would lead to an order of magnitude increase is surely premature



  • Also, having critical software depend on one guy is not safe. We should avoid that. If critical software depends on one guy it should be phased out.

    Here are the percent of commits from the top committer in each repository you mentioned, as well as rsync, over the last 3 months:

    • rsync: 99.0%
    • restic: 93.2%
    • rclone: 87.5%
    • union: 82.9%
    • syncthing: 74.4%

    As you can see, each of this projects depends heavily on a single person, though to a lesser degree than rsync. That’s just the nature of most open-source software.

    Note that I excluded dependabot commits from the calculations and counted Claude commits as the lead developer for rsync


  • Yes, there’s been several regressions that would’ve been caught by the original tests, but missed by the new vibe-coded tests.

    That is directly contradicted by what the developer of rsync wrote in the linked article:

    yes, there were regressions in some use cases of rsync in the 3.4.3 release. … None of those cases were covered by the existing rsync test suite or by all the manual testing I did (yes, I use rsync, I don’t just develop it).

    It’s possible that somebody in the issue you linked to pointed to a test that would have caught one of the regressions, but I was not able to find it in the 327 comment mess. A direct link would be appreciated, if that is the case.

    But I doubt that you will find such a comment. Because I tried running the 3.4.1 test-suite with the 3.4.3 binary, and all tests passed


  • I write python code for a living. There is no way to sugarcoat it, the new unittests are slop. There already exists a good writeup of why, which I’m going to quote here:

    They are not unit tests, they are integration tests. Which in my experience makes unit-testing frameworks like pytest a poor fit. I’ve also had to write my own framework, for that reason, despite preferring pytest for unit-testing.

    The author also greatly exaggerates the amount of code duplication: They claim that “tests are whole python scripts that redefine basic test functions in every script”, but in reality it is less than half of the tests that even define their own functions.

    Most basic functions are imported from a shared module (rsyncfns.py), and when they aren’t it’s mostly because the code needs to do something different. From what I can see, there is some code duplication that could be moved to the shared module, and some code that could be refactored, but it’s a modest amount