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
755
Joined
2 yr. ago

  • You probably missed the news. But Firefox is becoming a data seller too.

    Recently they updated their policies, since they are on GitHub you can see the exact changes.

    One of them was the elimination of a phrase like "we won't sell your data, and that's a promise". So promise broken I guess.

  • As I said, I don't consider going out of bounds of a buffer a memory safety issue. Forcing the programmer to handle an out-of-bounds case every time there is an array access can be incredibly tedious. So much that not even rust forces you to do so. And if that language has iterators, it's even less of an issue.

    I consider out-of-bounds array access to same as casting a pointer to another type. Just because a language lets you do it, it doesn't mean that it is not memory safe. It is a performance feature, since checking the bounds every time is always possible (and incredibly easy to implement), but also with too big of an impact when you could just check the length once per loop instead of per loop iteration.

  • How can you not have memory-safety while also having a garbage collector?

    Garbage collection means that all objects live as long as you have a reference to it. Which means that you can only dereference a pointer to invalid memory if you willingly create an invalid pointer, or reinterpret the type of one pointer into another. Going out of bounds of an array counts as the first case.

    If a language has garbage collection but no compiler/interpreter supports it, then the language doesn't have garbage collection.

  • Null safety and memory safety are different features.

    Null safety means that you cannot access a struct's fields without first checking if the pointer to that struct isn't null. And this must be a compile-time check.

    Memory safety means that you cannot read or write to/from memory that has been free-ed. Without leaks ofc, otherwise it would be very easy.

  • Barcelona in particular is a bit more difficult than the rest of Europe since we have a different rail standard in Spain.

    But also Barcelona in particular is very close to the french border. So making one connection there doesn't sound too bad.

  • I kinda disagree. The reason rust caught on is because it is much safer than C++ while having the same or even better performance. And in some contexts, being garbage collected means bad performance.

    Before rust you could either have a fast language (C/C++) or a memory safe language (any other language. That is, languages with garbage collector). But if you required memory safety and peak performance, there wasn't any option.

    Yes, the reason that rust is both memory safe and fast is because it has a borrow checker. But the borrow checker is the means, not the end.

  • Boeing is famous for enshittifying its part manufacturers. Even if it wasn't manufactured by boing, if it is in a boing plane chances are that boing pressured them to make it faster/for cheaper. Which is what leads to all these plane failures.

    What are you gonna do? Lose the boing contract and be out of work? Or sacrifice quality to meet boing's demands? This is the only possible outcome.

  • Over aggressive? The west has only been on the defensive against china and Russia.

    Russia:

    The west hoped that relying on Russia for energy would mean that they would calm and see the economic benefits of peace. Even after they invaded a European nation, the west has not militarily attacked Russia.

    China:

    The west has attacked 0 Chinese vessels. Meanwhile china continually attack other nation's vessels. And violate airspace and territorial waters.

    The last war of aggression by the west (excluding the stupid bombing of Iran by the US) was Afghanistan, which ended years ago and was neither against Russia nor China.

  • Permanently Deleted

    Jump
  • It is not. App X creates image A with location data.

    App Y without location permission accesses image A in read mode. Now image A has no location.

    You open image A again from app X and the location is no longer there. It makes no sense. Had app Y written to image A, it makes sense that location data was stripped. But opening a file in read mode should not alter it. Except for metadata of the kind "last opened at ...".

  • Traffic circles are not real roundabouts. They are just a road that have a circle shape. For example traffic circles often have traffic lights.

    Roundabouts are traffic circles. But they have to be just a circle with "give way" at the entrance. No stop signs, no traffic lights.

  • That's a shit ton of money for someone that is "broke and desperate". This is from a European cost of living PoV. In india it is probably a shitton of money

    EDIT: this comment is wrong. See responses below.

  • The answer depends on a LOT of things. Most importantly country of origin.

    If you're from Latin America, most people won't even notice. Since we already have huge amount of Latin American immigrants, so we are used to it.

    If you're from a "white" country, it's very important that you are respectful to the local culture and try to genuinely learn Spanish. This is mostly a problem with tourists instead of immigrants, but most Spaniards hate with passion when foreigners complain about things not being in English/German/french/whatever.

    If you're from a "black" country, it depends on where you move to. In some parts of Spain you'll inevitably face a lot of racism. In others, you'll find groups of people that will try to protect you. But as always, there's always at least some racists.

    And of course, don't do crime. But that goes for locals too.

    And I think this is a global advice. But people will instantly judge if you are lazy or hard-working. If you help your local community without asking much in return, people will probably talk about how hard working you are, and even racists will probably say "for being for country X, he's a nice guy".