calcopiritus

joined 2 years ago
[–] calcopiritus@lemmy.world 1 points 1 hour ago

Meanwhile game studios make profit and still lay off their employees.

[–] calcopiritus@lemmy.world 3 points 23 hours ago

The SUV was very far when the jeep entered the intersection. The SUV didn't even appear in the video when the jeep started crossing. If that SUV weren't speeding that much that was perfectly safe to cross. How can the jeep imagine that the SUV was going that fast? When it entered the intersection the SUV might have even been too far to see how fast it was really going.

[–] calcopiritus@lemmy.world 29 points 2 days ago (7 children)

And that's why lunch should be paid if it's inside the workday.

[–] calcopiritus@lemmy.world 2 points 4 days ago (2 children)

I thought teflon being long is what made it safe. It's the smaller molecules used in the process of making the long Teflon that are bad.

[–] calcopiritus@lemmy.world 2 points 5 days ago

I learned python with it back in the day. However, since then, python 3 has come out. And I believe their python 3 course is paid instead of free.

You can go through one of their free courses. If you like it, go for a paid one, if you don't, search for other resources.

[–] calcopiritus@lemmy.world 0 points 1 week ago (1 children)

It is not propaganda as it is factual information. If you believe this is 4D chess from Google to manipulate us to dislike Firefox you are out of your mind. https://github.com/mozilla/bedrock/commit/d459addab846d8144b61939b7f4310eb80c5470e this is an actual commit made by mozilla. It was not made by Google.

Changes include:

  • Removing "we don't sell access to your data". Curiously this change is only for the TOU. Presumable because that is legally binding. Idk where the "else" branch is displayed though.
  • Removing this question from FAQ: "Does Firefox sell your personal data? Nope. Never has, never will (...). That's a promise"
  • Remove another mention in the TOU "and we don't sell your personal data". That again was not removed from the "else" branch

That to me indicates one of the following:

  • They have started selling data.
  • They plan on selling data in the near future.
  • They don't feel confident that they can keep that promise forever. That is, they see a future where they sell data.

I don't like either of those alternatives.

I don't know if they are able to sell the data you mentioned. Because I'm not in the enshittification minds of giant American corporations. 20 years ago people would laugh at the idea of buying data about the screen size of a user. But now they do, and use it for fingerprinting. If recent history has shown anything is that most data has some kind of value. And giant corporations will find their way to use that data against users.

I've seen way too many companies that were supposed to be the cool kids and were doing everything morally enshittify. There's no reason to believe Mozilla is going to be different. They're showing the same signs.

[–] calcopiritus@lemmy.world 0 points 1 week ago (3 children)

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.

[–] calcopiritus@lemmy.world 1 points 1 week ago (1 children)

With your definition this conversation doesn't make sense though. Since rust's direct array access doesn't perform bounds checks when building in release mode. And it doesn't require using unsafe.

[–] calcopiritus@lemmy.world 1 points 1 week ago (4 children)

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.

[–] calcopiritus@lemmy.world 1 points 1 week ago (6 children)

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.

[–] calcopiritus@lemmy.world 12 points 1 week ago

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.

[–] calcopiritus@lemmy.world 6 points 1 week ago (1 children)

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.

 

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 people will also leave because of it.

Training runs should be done by people that actually want to train. If you want to encourage trainings, you should reward re-clearing wings, doesn't matter if it's a training run or not.

 

I want to do basically this:

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

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

view more: next ›