Spyke
dbx12reply
programming.dev

So many people interpret "best before" as "poisonous as hell after". Look at it, smell it, taste (a little bit of) it. If it passes all three, still perfect to eat.

49
lemmy.zip

Until its not

Be mindful of perishables left out of the fridge for a long time. Most of the time it is fine but in some cases it can cause illness.

8

Well, I store my food as recommended and treat the best before as written above. If stored in suboptimal conditions for extended time, most bets regarding the best before are off anyways.

2
lemmy.world

That is only what the Canadians release to the outside world. They have a strategic maple syrup reserve.

43

TBF tho it doesn’t really matter because either way it won’t go out of date in 14000 years

2
lemmy.world

I wrote a program to figure out what day of the week this landed on (assuming it is in fact October 2nd, 151441).

It's a Saturday.

Real downer on the start of the weekend.

26
Epherareply
lemmy.ml

Yep, my immediate thought was, how the hell would you know it works?

6
Bgugireply
lemmy.world

Bro probably to account for leap Thursday's. We have one every ~28k years to keep in alignment with the true solar week.

3

Took me longer than it should have to realise this was a joke.

1
odiumreply
programming.dev

That program better be using an existing date library, because otherwise it's most definitely wrong.

3
programming.dev

public string GetDayOfWeek(DateTime date) => "saturday";

I also calculated it, his result checks out.

3

Don't be ridiculous, that would never pass QA.

But this one will. Joy for years to come:

public string GetDayOfWeek(DateTime date) {
    return ((date - new DateTime(1970, 1, 1)).Milliseconds / 86400000) % 7 switch {
        0 => "Thursday",
        1 => "Friday",
        2 => "Saturday",
        3 => "Sunday",
        4 => "Monday"
    };
}
4
lemmy.today

Best by ≠ Expiration date

It's the truth, and I'm tired pretending it's not.

10
lemmy.world

1441 is most likely the time stamp sorry guys...

(Not sure if Canada follows US or internal date format)

7
uisreply
lemm.ee

Slashes mean whatever american abomination

1

You reached the end

The last hope | Spyke