Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)T
Posts
0
Comments
455
Joined
3 yr. ago

  • The anti-Rust circlejerk is strong, wow.

    I have loads of software written in Rust installed, many of which I compile myself. Not once has the language choice been an issue that I've had with the software. Some of that software may be missing features, but that has little to do with the language and more to do with my decision to install v0.1.4 of the software.

    Python, on the other hand...

    And while we're on the topic of coreutils, why does every C and C++ project I look at require me to install dozens of random libraries myself? I guess because they're dynamically linked, which is cool and all, except the page to install each dependency has an encyclopedia of a README written in 1984 in a text file. It's not usually an issue, just annoying.

  • You're right. The only reason someone would write something in Rust is to change the license. Nobody would use Rust for any other reason, nor would they use any other language for that purpose.

  • Canonical is headquartered in London. It is a UK company, unless I'm missing something?

  • Title is a little bit misleading, but it's still cool to see that Rust is able to run on such exotic hardware. The price of the device is mostly going to consist of its materials and manufacturing costs, though (if it went to mass-production, which I doubt will happen).

  • Their pressure is doing nothing to stop the war then. Canonical is not the UK. They might be located in the UK, but attacking them does nothing to the UK government.

    Also, none of this has anything to do with the US attacking Iran, so I still don't understand what that has to do with anything.

  • What does this have anything to do with Canonical?

  • I get not liking Canonical, but how does that justify a random Pro-Iran group DDoSing them? Did Canonical do something that specifically harmed Iranians?

  • Windows XP is Rustless if you're looking for that. Same with TempleOS.

  • That's a question of API, not type system.

    It's only enforced because of Rust's strict type system. Python, on the other hand, lets you do whatever you want by comparison, and complains only at runtime. I've seen far too many **kwargs for my liking.

    And FD types (e.g. OwnedFdBorrowedFd) are already in std.

    My example would be a thin wrapper around these, most likely. It's only an example of what I'm trying to convey, though.

  • I've heard the younger generation tends to prefer 21 or 67 long functions instead.

  • Many of their TOCTOU issues are something a type system can help with. Require operations to execute on a fd handle directly rather than using convenience functions.

     rs
        
    let fd = FileDescriptor::new(path);
    fd.delete()?;
    fd.create(mode)?;
    
    let is_root = fd == FileDescriptor::new("/"); // does (dev, inode) comparison internally
    // etc
    
      

    The uutils devs would need to create that themselves, but OpenOptions seems to get them part of the way there at least.

  • More than C would.

    • Nushell - because open blah.json | get foo.bar.2 just works. It also just works with yaml and any other formats I want to support (you can define custom commands to support any extension you want).
    • uv/fnm - good tools for Python and JS
    • Starship - nice looking prompt with useful info
    • zoxide/fzf - because z myproject saves enough time and effort to justify using it over cd most of the time
    • Carapace as my default completer for better completions on most common tools
    • Gitui - super nice git tool. I still use git directly a lot, but Gitui's interface is more convenient for staging changes
  • You're right, I should buy from Apple instead.

    Patel hasn't made any statements towards being a Nazi. Fuck Omarchy, and fuck him for supporting the development of it, but that itself doesn't make him a Nazi. Framework still makes a damn good laptop, and it has forcefully pushed laptop development in a positive direction. Lenovo sort of did too with Thinkpads, but that's the closest equivalent that comes to mind, and even that's a stretch. So, unless there's someone better out there, I'm still recommending Frameworks to people.

  • Last time I tried scanning and printing on Windows, it took me over an hour to get the device recognized, the right drivers installed, the printer to actually receive the print job, and so on. Printers are just shitty pieces of hardware, Linux or not.

  • This wouldn't be "illigal", but if that's the case Annas Archive should be "fine"... (I know that they are distributing, and this is the fight)

    I don't know much about European law, but redistribution changes things a lot here in the US. At least here, it then gets into copyright law, and you'd be reproducing copyrighted works without authorization (the Internet Archive attempted to get around this with books by getting legitimate copies of the books, digitizing them, then "lending" the digital copies of those books).

    So if I prefer to download the Anna's dataset instead of scrape myself, would this be illigal?

    No idea in Europe. In the US, it might be, depending on what the contents of the work are. I believe Anna's Archive would count as piracy in this case, though scraping directly from Spotify might not be because they are redistributing the music with authorization from the copyright holder. It gets pretty confusing, honestly.

    Regardless, if you aren't doing things at large scale, even if you are breaking a law by downloading pirated content, it's unlikely anyone will care. People usually only really start caring if you start redistributing stuff, so as long as you aren't hosting what you're scraping, you're unlikely to run into any trouble.

  • There's no obvious answer to your question without more information (for example, where are you?) but I'm not aware of scraping being illegal anywhere, with some exceptions. For example, in the US (where I am), as long as you're not doing "illegal hacking" to scrape your data, you're probably fine.

    There are TOSs that websites like to impose as well. If you have to agree to one to access any data, you should follow it. Breaking the TOS isn't really "illegal" in a criminal sense (in the US), but you may expose yourself to anything from being blocked from the site to a lawsuit. Bypassing blocks might also be illegal, though you'd have to speak to a lawyer to know more about that.

  • It's illegal

    Sauce? Also, where?

  • Seems like that might just be curl. I'd guess it's because they ended the bug bounty program for curl.

    It's good to see that the reports they get now are high quality bug reports now!