al4s

joined 1 year ago
[–] [email protected] 4 points 1 month ago

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"
    };
}
[–] [email protected] 19 points 1 month ago

For distances >600km, flying is usually 4x-10x faster at a similar price. At least in and around Germany. I assume in the US trains compare way worse, also because the distances are way larger.

Examples: "Normal" example: Stuttgart (Germany) -> Amsterdam (Netherlands) Train: 11h 10min - 241€ Plane: 1h 20min - 225€

Best case scenario for train in Germany at around that distance (because there's a direct connection): München -> Berlin Train: 3h 54min - 167€ Plane: 1h 5min - 226€

[–] [email protected] 7 points 7 months ago (2 children)

I think it changed it after they were bought by Microsoft, you get infinite(?) private repos on a free account now.

[–] [email protected] 1 points 11 months ago

And now you know why your team is limited to six pokemon.

[–] [email protected] 1 points 11 months ago (1 children)

Roku TV is pronounced as "row coup TV" though? The Japanese is maybe closer to "rock coup", just the the R is rolled.

[–] [email protected] 12 points 11 months ago

Then why not use 1? It's closer to pi than 10 and even easier to calculate with.

[–] [email protected] 25 points 11 months ago* (last edited 11 months ago) (2 children)

There's a couple of reasons straws might be convenient or even necessary:

  • You have a disability that causes movement problems like shaking
  • Limited neck/shoulder/arm mobility or a swollen lip (The latter makes it hard to get a proper seal)
  • You wear lipstick or other makeup that could get washed away
  • Your edibles were too strong
  • You can build containers that don't spill when they fall over

(Edit: Add text at the beginning instead of just throwing a list out there)

[–] [email protected] 10 points 11 months ago

KDE is more similar to windows, Gnome is maybe closer to MacOS.

But generally, KDE felt always a bit "super user" to me, and I found the amount of customizability and features more overwhelming than useful. Gnome is simple, clean, and I prefer it for that reason.

[–] [email protected] 9 points 1 year ago

They place ads in the search results.

If you disable your ad blocker, the first search result will almost always an Amazon ad. I test searched for "Headphones" and it also shows a row of JBL headphones at the top ala google shopping, which is an ad as well.

Really, they make their money the same way as google, they just don't track your searches and site visits.

[–] [email protected] 10 points 1 year ago

That's not a logo, that's a laser weapon, holy shit.

[–] [email protected] 6 points 1 year ago (7 children)
  • No ads
  • Creators get more money than from ads
  • YouTube is less dependent on advertisers
  • You can get it in a bundle with YouTube music It's not that bad of a deal. Music and YouTube are the two pieces of media I consume most, so it makes sense for me.
[–] [email protected] 1 points 1 year ago (1 children)

I think you can disable NSFW in your user settings - unless the communities you mentioned don't tag their posts properly

view more: next ›