kylxbn

joined 2 years ago
[–] [email protected] 1 points 2 years ago (1 children)

What music player is this? :)

[–] [email protected] 1 points 2 years ago
[–] [email protected] 2 points 2 years ago
[–] [email protected] 4 points 2 years ago
[–] [email protected] 2 points 2 years ago

If this is accurate, that's really interesting.

[–] [email protected] 2 points 2 years ago

Exactly!

In case it helps anyone, I made a (rather frugal) tool called kmus for keeping a list of songs you like to have on your phone, and then syncing that list of songs to your phone with automatic lossy compression. It's extremely customizable. Admittedly I made it for my own use but I'm sure anyone can modify it for their own purposes.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

For a serious reoly, I think the expression "If they have eggs, buy two" is redundant. If they didn't have eggs, the kid just can't and won't buy any eggs.

I think the proper command would be, "Please buy 1 bottle of milk and two eggs." That way, the kid won't be confused and it's still a proper valid command.

Unfortunately though, the sentence is ambiguous even to non-programmers. It is unknown whether the if condition applies to

  • buying two eggs (buy two eggs)
  • buying two bottles of milk (buy two bottles instead)
  • or buying a bottle of milk (buy another bottle)

Simply because they didn't specify which to buy.

For a non-serious reply,

cart.add(supermarket.takeProduct(ProductType.milk, 1));

if (supermarket.getProduct(type: ProductType.eggs).length > 0) {
    cart.add(supermarket.takeProduct(Product type.milk, 2));
}

cart.checkout();

The kid should have bought a total of 3 bottles.

[–] [email protected] 2 points 2 years ago

Wow, didn't know that... Now I understand how those coupon services work.

Very shady considering it knows what you're trying to buy and can offer you appropriate coupons.

[–] [email protected] 8 points 2 years ago

Can't even center a radial gradient SMH

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

I've read somewhere that Proton Mail does not support notifications without Google Play Services... Not sure if F-Droid allows apps that use Google Play Services...

view more: next ›