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/)CA
Posts
2
Comments
601
Joined
2 yr. ago
  • You can see it for yourself.

    Write a comment/post critical of china in any community from the lemmy.ml instance.

    For example about the Uyghurs or the mass surveillance or whatever is your topic of choice.

    See how much time it takes for them to ban you/remove your comment under their rule of "no xenophobia".

  • The more sandboxed the extension system, the less powerful it is.

    You either have an entity that approves of extensions. Or your users have to be very careful and trusting of other people. There's no other way.

  • If someone tries to get a death sentence for an innocent person, that is attempted murder. If the punishment for attempted murder in your country is the death penalty, the false accuser should be charged with the death penalty.

    Note that this is all assuming that it's proven the accuser did a false claim. The accused being found not guilty is not enough to say that it was a false accusation. Due to the different standards of proof.

  • Their reasoning:

    If we have a trade deficit, that is because they're imposing barriers on us! Therefore if the trade deficit is of 50% it's equivalent to a 50% tariff!

    This is not just Donald trump math. This is being done by actual people with economics backgrounds. Some might even have PhDs

  • To be fair. Nintendo is currently the only producer of AAA games that I would consider buying.

    That being said. The rest of AAA devs should lower the prices of their games accordingly to their endhittification. Nintendo game quality didn't increase, some even decreased (looking at you, pokemon).

  • It do be like that

  • It's not an European thing. It's an awful statistics thing.

    People see a lot more trans people on the internet than IRL. Places on the internet usually have big programming spaces. Therefore the place where ppl see more trans ppl is in programming spaces. So now they think that most trans ppl are programmers. After that, they conclude that most trans ppl are programmers. Add to it the snowball effect of memes and now you have a huge misconception about reality.

  • Ai companies will just train on these specific puzzles. Then they will claim their AI is AGI and the quality of the models will be the exact same or worse than before. They'll just have one checkmark more in their marketing.

  • A program being written in rust itself doesn't guarantee anything, but it tells you what you'll probably find:

    • Utf-8 support
    • No shenanigans with installations, dynamic libraries and such. Just download and execute.
    • Multi-platform support
    • Low resource usage.
    • semver.
    • Compile with just 1 command if you want to.
    • MIT/apache2 license.
    • No memory leaks.
    • If it crashes, at least it will probably log out something more helpful than "SEGFAULT".

    Many of those are highly positive to the end consumer.

  • I'm one of those that use PowerShell on linux.

    You can use tmux, vim, sed, awk or whatever binary you want from PowerShell. Those are binaries, not shell commands.

    You can use pipes, redirects, stdin and stdout in PowerShell too.

    I personally don't regularly use any object oriented features. But whenever I search how to do something that I don't know what to do, a clear object-oriented result is much easier to understand than a random string of characters for awk and sed.

  • I use PowerShell as my main shell. The reason? The only way that any combination of Ctrl+shift+arrows/home/end works in Linux is by using powershell with vscode terminal. I have tried many other terminals and couldn't get it to work on bash, there's always some combination that doesn't work.

  • For some reason we decided that a lot of formats written by computers and read by computers would use ASCII encoding instead of raw data.

    Making a json or XML deserializer case insensitive would just make it slower for almost 0 benefit.

  • Guild Wars 2 @lemmy.wtf
    calcopiritus @lemmy.world

    Mount Balrior Raid Expert is the worst that could happen to raiding

    For those that don't know: Mount Balrior Raid Expert is an achievement of the new W8 raid. To get that achievement you have to obtain 100 points for each of the bosses of the wing. You obtain one point for each person in your squad for whom it was the first kill time ever that they kill that boss.

    1. It is a pyramid scheme. By design, only about 1/11 players can get it (at best).
    2. It encourages people that don't wanna train to do trainings. They are irritated more easily and are way less patient towards new players. Because they don't wanna train new people, they only want to get the achievement.
    3. It will only be harder as time goes on to get this achievement, further increasing the toxicity of it, as people rush to get it.
    4. It makes non-training runs worse. If there is an underperformer, you can't kick him because people will get angry that they wont get points for the achievement and they will leave. If you don't kick him, you'll both waste time on easily preventable wipes and
    Rust Programming @lemmy.ml
    calcopiritus @lemmy.world

    impl block for generic type overriden by specific type

    I want to do basically this:

     rust
        
    struct MyStruct < T> {
        data: T
    }
    
    impl < T> for MyStruct < T> {
        fn foo() {
            println!("Generic")
        }
    }
    
    impl for MyStruct < u32> {
        fn foo() {
            println!("u32")
        }
    }
    
      

    I have tried doing

     rust
        
    impl < T: !u32> for MyStruct < T> {
        ...
    }
    
    
      

    But it doesn't seem to work. I've also tried various things with traits but none of them seem to work. Is this even possible?

    EDIT: Fixed formatting