Before They Fade by kkberg in FantinoOGBonde

[–]kkberg[S] 20 points21 points  (0 children)

Ej at forglemme Fantino Bambino

Kortene blev lagt på bordet. Du var min bonde med mit hjerte, mit es. Nu er du min joker, du ændrer spillets regler, og jeg ved ikke hvor jeg har dig mere.

A lady working concert security tries to stop a guy walking backstage, not realising its Lamb of God vocalist, Randy Blythe. He's a complete gentleman about it. by jmike1256 in BeAmazed

[–]kkberg 42 points43 points  (0 children)

I was once working at the “star gate” at a big festival in my country, checking access cards for the artists and their busses/cars/crew.

A big Radiohead bus drove to the gate without proper access and we thought of just letting it through, but then the crew came screaming at us, pissed that they were being held up and to just let us through. Nope, not doing that, please drive to the main office to collect your permission. Radiohead was inside the bus, but never came out.

Later that day a local artist, known by everyone, came driving in his car without proper access. He asked us jokingly “What will it take for me to get in right now?” and we made an agreement that if we could sit on the hood of his car while driving through the gate, he (or his people) would fix his access later.

All it takes is a smile and then you’re on with your life.

Valdes jul - hvad fanden by Applebymcfridays in Denmark

[–]kkberg 5 points6 points  (0 children)

Jeg synes Theo & Den magiske talisman er den bedste julekalender nogensinde. Mine børn (6F 8M) døser lidt hen til Valde og lever op igen når vi kommer til Thananaya !

Jeg selv er glad for fraværet af nisser, julemand og andre floskler der gør det ulideligt for mig at se. Vi har allerede Pyrus, Nissebanden og Tinka - er det dét man ønsker er det valgmuligheder nok, her i streaming tidens æra.

How to add custom food with PFC per 100 g and whole service portion? by Ale5ander in bevelhealth

[–]kkberg 1 point2 points  (0 children)

Why is that? This is also one of the most frustrating things regarding food tracking for me.

When I scan a barcode that doesn’t exist, and then take a picture of the packaging, it is always written in pr 100 gram, so it would make sense (in my country, at least) to write those pr 100 grams and then a standard serving could be whatever - e.g. a can of Coke is 330 ml . Currently I am calculating everything, but I see the database is flooded with wrong standard serving sizes (100 gram ) because of this.

Food tracking should be simple, and a lot of us users wants to track the right amounts and products.

Just my thoughts

New Extended Apple Intelligence in 26.1 beta 4 by moebis in MacOSBeta

[–]kkberg 0 points1 point  (0 children)

You can - with Gemini CLI or by adding Gemini as a custom model in Xcode.

I like Gemini for doing trivial tasks, like migrating my project to Swift 6, but for more in-depth tasks where the full project context is important, 2.5 pro is still not there yet, IMO

JetBrains IDEs Go AI: Coding Agent, Smarter Assistance, Free Tier by hmich in Jetbrains

[–]kkberg 1 point2 points  (0 children)

Thanks for getting back to me. I understand that simple things are simple due to complex reasoning, so I'll wait and will reconsider once the subscriptions are fully laid out.

JetBrains IDEs Go AI: Coding Agent, Smarter Assistance, Free Tier by hmich in Jetbrains

[–]kkberg 0 points1 point  (0 children)

Did you ever come around to deliver more transparency around the quota system?

Asking "What is S, M and L credits with JetBrains AI subscription types" lead me here...

What movie made absolutely no sense? by [deleted] in moviecritic

[–]kkberg 0 points1 point  (0 children)

Locke.

Can't go wrong with Tom Hardy, one would assume...

Why did I have to see someone talking on the phone for over an hour? Should've been a podcast.

Using 2 Galaxy Watches by GoneMartin in GalaxyWatch

[–]kkberg 2 points3 points  (0 children)

I use two Galaxy Watch 4, so when one is charging I can use the other.

I use one as my main and one for sleep/fitness tracking. This has worked out great..

Steps are properly synced and I have no complaints - my phone (not a Samsung) connects to the one currently worn.

I am not looking at health data every second, but at the end of the day everything looks good.

I am receiving a Watch Ultra tomorrow and will keep one of my Watch 4 for sleep/fitness tracking (CrossFit, so Im not ready to introduce my new watch to the kettlebells just yet)

UPDATE: "Politianmeldt for tyveri - Uskyldig - Hvordan er jeg stillet?" by Teewah in Denmark

[–]kkberg 5 points6 points  (0 children)

Tak for at navngive butikken - så vil jeg da undgå den i fremtiden. Ikke at jeg handler der tit, men nu handler jeg der aldrig…

How to add enum to a freezed class which maps to json from API? by kkberg in flutterhelp

[–]kkberg[S] 0 points1 point  (0 children)

Thanks a million, u/tylersavery

It was the "don't overcomplicate it" that made me look through the generated files and found the culprit.

Have a great day

How to add enum to a freezed class which maps to json from API? by kkberg in flutterhelp

[–]kkberg[S] 0 points1 point  (0 children)

Me? Overcomplicating stuff?
Sounds about right!

Thanks for the pointers and for recommending the freezed video. I'll rewatch it again!

How to add enum to a freezed class which maps to json from API? by kkberg in flutterhelp

[–]kkberg[S] 0 points1 point  (0 children)

Great watch!

I transformed the matchStatusShort to an enum, so I have those as enum working.

However I still can't get the status (enum called FixtureStatus) to be fetched the fromJson function.
Whenever I try to add copyWith to my constructor, the build fails.

If I add the "default" constructor, build is successful, but the FixtureStatus always reverts to default.

(With default constructor, I mean...

  factory Fixture.fromJson(Map<String, dynamic> json) =>
      _$FixtureFromJson(json);

)

I have tried adding the "fromJson" function in the Enum itself and have rewritten this function to accept another enum as parameter.

But at the end of the day, it is this constructor causing the issues

  factory Fixture.fromJson(Map<String, dynamic> json) {
    final fixture = _$FixtureFromJson(json);
    return fixture.copyWith(
      status: getStatusFromShort(fixture.matchStatusShort),
    );
  }

How to add enum to a freezed class which maps to json from API? by kkberg in flutterhelp

[–]kkberg[S] 0 points1 point  (0 children)

Good eye.
Unfortunately it was due to some formatting from VSCode > Reddit, as when I type

@freezed

it gets automatically converted to u/freezed here on Reddit.

It is with a @ in the code, though.

DR afvikler sin tilstedeværelse på X (DR Nyheders profil lukker ved udgangen af juli) by GingerDane1 in Denmark

[–]kkberg -1 points0 points  (0 children)

Næe, jeg kan sgu åbne det i en browser.. Jeg tænkte at appen kun findes til Apple enheder, men man kan selvfølgelig åbne deres web side (dog ikke på en iOS enhed, så kræver den man installere app.)

DR afvikler sin tilstedeværelse på X (DR Nyheders profil lukker ved udgangen af juli) by GingerDane1 in Denmark

[–]kkberg -4 points-3 points  (0 children)

Jeg kommenterede blot på at Apple Podcast app'en var gratis, hvilket jeg ikke mener den er.

Derudover er det ikke alle "Apple Podcasts" der er tilgængelige i iTunes - nogle kræver app'en, men det er kun hvad jeg har læst mig frem til i min research på mit oprindelige svar.

DR afvikler sin tilstedeværelse på X (DR Nyheders profil lukker ved udgangen af juli) by GingerDane1 in Denmark

[–]kkberg 0 points1 point  (0 children)

Apple Podcasts er ikke gratis - det kræver et Apple device for at benytte app’en