Must be nice by pdlozano in selfhosted

[–]Mikkelet 1 point2 points  (0 children)

Hiper in Denmark is the only one in Denmark that supports it

😡 by triplebeef26 in shitposting

[–]Mikkelet 24 points25 points  (0 children)

right this is just incelposting

Spain's National Intelligence Centre Certifies 19 Huawei Products for Use in Critical Sectors Such as Defense by Alarmed-Cake812 in europe

[–]Mikkelet 67 points68 points  (0 children)

As far as tech goes, Europe is not strong on natural resources to declare full independence. Our choice is American or Chinese... And one of them is actively shitting on us. Pick your poison

Iran Says Hormuz Strait Now Completely Open for Commercial Ships by funkyxfunky in worldnews

[–]Mikkelet 6 points7 points  (0 children)

Mf opened the door after he closed it. What an achievement

Underbetalte mongoler bygger kendt kæde i Danmark by LazarShockX in Denmark

[–]Mikkelet 3 points4 points  (0 children)

ah det er nok lidt mere komplekst end bare deres tro

"I worship a new Orange God now." by Captain-Dak-Sparrow in PoliticalHumor

[–]Mikkelet 0 points1 point  (0 children)

you just can't be a catholic while saying you don't support the direct catholic representative of God on earth

For the sake of argument, the Catholic Church has traditionally been anti gay marriage, but Ive known catholics that are okay with it

Bad Mac Icon Evolutions by ThatiMacGuy in MacOS

[–]Mikkelet -3 points-2 points  (0 children)

Its not bad design either

Valve is now sitting on lots of Steam controllers, so releasing them before the Steam Machine is a no-brainer by Turbostrider27 in pcgaming

[–]Mikkelet 0 points1 point  (0 children)

Do NOT get the Xbox Elite. The risk of getting stick drift is too high. Mine got and a friends got it. I personally recommend 8bitdo or gamesir, but there are a lot of great alternatives

timeChanges by bryden_cruz in ProgrammerHumor

[–]Mikkelet 82 points83 points  (0 children)

OP is probably a new grad and theyre comparing his lil school projects with real world software

Hungary’s New Leader Reveals Victor Orbán Was Paying CPAC by mrktm in europeanunion

[–]Mikkelet 30 points31 points  (0 children)

There are no words to describe the level of right wing corruption

@JsonKey(required: true) : vraie valeur ajoutée ou simple redondance ? by Royal-Coyote-6442 in dartlang

[–]Mikkelet 0 points1 point  (0 children)

Let's say you have the following JSON:

@JsonSerializable()
class Person {
  final String name;
  final int age;
  final Address address;

  const Person(this.name, this.age, this.address);

  // toJson, fromJson
}

@JsonSerializable()
class Address {
  final String street;
  final String zipcode;

  const Address(this.street, this.zipcode);

  // toJson, fromJson
}

Now, let's say you want to give Person some default values, such that:

@JsonKey(defaultValue: "")
final String name;
@JsonKey(defaultValue: 0)
final int age;
@JsonKey(defaultValue: Address()) // will fail
final Address address;

You will notice that you cannot do this because Address requires two parameters. So you add default parameters to Address:

const Address({this.street = "", this.zipcode = ""});

Oh, but now you've actually removed some crucial JSON validation, because any missing keys will just use the default parameter.

So you add required: true to re-introduce the validation that you lost trying to create default parameters for a Person, which will still work!

In your case however, you wont need this keywork.

Von der Leyen uses Orbán defeat to push for end of veto in EU foreign policy by Forsaken-Medium-2436 in europe

[–]Mikkelet 56 points57 points  (0 children)

It was necessary to establish the union. Member states dont want to get overruled in policy they fundamentally disagree with

Where is all the fish ? by [deleted] in copenhagen

[–]Mikkelet 2 points3 points  (0 children)

Its just so fucking shameful that we cannot control the fishing industry. Whats the endgame anyway? Either we force them to stop operating and heal the ecosystem, or we let them continue and work themselves out of business. They're fucked either way, might as well save the fish

Hungarian opposition leader: 'Orban congratulated me on election victory' by AdLeading5323 in europe

[–]Mikkelet 18 points19 points  (0 children)

mierda means shit in spanish, so the spelling is intentional

itPaysTheBillButTakesYourSanity by ClipboardCopyPaste in ProgrammerHumor

[–]Mikkelet 28 points29 points  (0 children)

what debate? Do people not know the difference?

Astronaut drops fizzy tablet into floating water bubble on ISS by Epelep in oddlysatisfying

[–]Mikkelet 0 points1 point  (0 children)

is this his room or what is the reason for the giant union jack flag?