calcopiritus

joined 2 years ago
[–] calcopiritus@lemmy.world 3 points 11 hours ago (1 children)

There's probably 2-3 Paris in the US.

Same thing happens with Latin America and Spain. There's maybe an Almería in America.

[–] calcopiritus@lemmy.world 11 points 14 hours ago

Your Airbnb was someone's home.

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

Having more people always adds overhead. It's not only software developers.

You don't need to have two developers working on the same piece of code, you can have each one working on a feature. And different teams can develop different projects/products. If a project takes 1 year to complete but you want an output of 2 projects per year, you don't need to overwork your current employees. You can hire a new team so there are 2 simultaneous projects being worked on at the same time.

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

The thing is, you can look at the image a few seconds more and notice that there are plenty of cars obstructing the sidewalk more than the bike.

[–] calcopiritus@lemmy.world 4 points 3 days ago

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".

[–] calcopiritus@lemmy.world 38 points 4 days ago

Sometimes you can't not have a god class (struct in this case). When doing UI specifically, I always end up with one.

You can try using encapsulation to reduce the amount of fields technically, but in the end it's the same amount of information in a single god class.

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

The comment you replied to originally was talking about why billionaires should support a democratic society.

If the society is not democratic, it would be authoritarian. Therefore what I explained could happen.

[–] calcopiritus@lemmy.world 6 points 6 days ago (3 children)

A billionaire cannot exist in 2 countries at the same time. It doesn't matter if his company is multinational, he isn't.

If you jail that billionaire, which is not hard as a state if said billionaire resides in your country, you can "convince" him to give even assets in foreign countries.

That's why they removed his passport.

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

To anyone unfamiliar with Spain politics, it might not be even noticed.

But it is incredible that the party with most scandals and corruption (PP) claims that they'll party will do less corruption than them. Why don't the media give attention to other parties that have less corruption than PSOE instead of the masters of corruption PP?

We no longer live in a 2-party country.

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

What chat? Is that a mastodon feature?

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

I can block .ml communities in my GUI. But I can't block its users, unless I go 1 by 1. Blocking the communities is big, but not enough.

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

Most legislation is not done through petitions like these.

The EU is composed of tens of countries with very different cultures. And plenty of parties.

In the US there are only 2 parties. And they mostly vote in favour of whatever their party wants.

Having multiple parties means that it is very rare for a single party to have 50% of the vote. Which means they have to make agreements constantly. Which is very time consuming.

Let's say you have parties ABCDEF. Parties A and B are big, the other small.

Party A wants to make a law. It either needs help of B, or 2 of the small parties. Parties BC are immediately opposed. So it has to convince D, E or F. D will only support it if they can pass another bill. That other bill is a deal breaker for E and F.

Now A's only option are E and F. So if they want to have that bill passed, they'll have to give E and F whatever they want. Which probably A doesn't want. So even though A is a big party, it is impossible for them to pass that bill.

 

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 ›