tetris11

joined 2 years ago
[–] tetris11@lemmy.ml 6 points 1 year ago

Or just don't like that sweet sweet pepsi

[–] tetris11@lemmy.ml 19 points 1 year ago* (last edited 1 year ago) (4 children)

Its quite embarrassing you've asked this, tbh. Obviously you've never run

dd if=$(while :; do curl bing.com/q=$RANDOM; done) of=/dev/sda1

and I think that's sad.

[–] tetris11@lemmy.ml 2 points 1 year ago

Thanks for your insight!

[–] tetris11@lemmy.ml 1 points 1 year ago (1 children)

What other tools are there for ensuring a fair market? Government intervention seems like the only avenue

[–] tetris11@lemmy.ml 1 points 1 year ago

I'm not sure if you're replying to right comment

[–] tetris11@lemmy.ml 2 points 1 year ago

Second attempt that factors in cheating.

spoiler

from numpy import median
from random import choice
from pprint import pprint

# Functions
get_mode_coin = lambda x: int(median(x))
def pick(player, wants):
    for neighbor in players:
        if player != neighbor:
            neighbor_purse = players[neighbor]["purse"]
            if wants:
                if wants in neighbor_purse: # Cheat
                    players[play]["purse"] = players[play]["purse"] + [wants]
                    continue
            players[play]["purse"] = players[play]["purse"] + [choice(neighbor_purse)]


# Main
players = {"p1" : {"purse": [1,0,1], "wants": False}, ## playing fair
           "p2" : {"purse": [0,0,1], "wants": 0}, ## cheating
           "p3" : {"purse": [1,1,0], "wants": 1}, ## cheating
           "p4" : {"purse": [1,1,0], "wants": 0}, ## cheating
           "p5" : {"purse": [0,0,1], "wants": False}}   ## playing fair

for play in players: ## Players pick a desired coin from each of their neighbours
    pick(play, players[play]["wants"])
print("First picks:")
pprint(players)

for play in players: ## Players collapse their collections to mode
    players[play] = [get_mode_coin(players[play]["purse"])]
print("Last modes:", players)

print("Final choice:", get_mode_coin([x for x in players.values()]))

So, my method doesn't work

[–] tetris11@lemmy.ml 4 points 1 year ago* (last edited 1 year ago) (3 children)
  1. Everyone tosses three coins, and posts it in the chat
    • If a player tosses three of the same, they have to toss again.
  2. Everyone chooses the mode coin from their neighbour, and adds it to their stack
  3. Each player, with 3+N coins, picks the mode coin in their own collection.
    • Ideally: the player's own bias, is outweighed by the other player's biases.
  4. The final coin is the mode of all players coins.

spoiler

from numpy import median
from pprint import pprint

players = {"p1" : [1,0,1],  ## playing fair
           "p2" : [0,0,1],  ## cheating
           "p3" : [1,1,0],  ## cheating
           "p4" : [1,1,0],  ## cheating
           "p5" : [0,0,1]}   ## playing fair
print("Initial rolls:")
pprint(players)

get_mode_coin = lambda x: int(median(x))
get_all_mode_coins = lambda x: [get_mode_coin(y) for y in x]

for play in players: ## Players add the mode coin from their neigbours
    players[play] = players[play] + get_all_mode_coins(players.values())
print("First picks:")
pprint(players)

for play in players: ## Players collapse their collections to mode
    players[play] = [get_mode_coin(players[play])]
print("Last modes:", players)

print("Final choice:", get_mode_coin([x for x in players.values()]))

Which as you can see, is no better than simply picking the median coin from the initial rolls. I thank you for wasting your time.

[–] tetris11@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

https://ourworldindata.org/us-life-expectancy-low

The life expectancy in the US is also dragged down by other factors. The US is a huge outlier in several other aspects:

  • Higher death rates from smoking, obesity, homicides, opioid overdoses, suicides, road accidents, and infant deaths, compared to other countries.
  • Additionally, deeper poverty, economic inequality.

It could just be that the US has way more vices per capita than other countries.

[–] tetris11@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

I don't know about much diversity is celebrated in Australia. I have cousins who grew up in NSW and eventually migrated to the UK, which they said had a marketed improvement in how they were treated. (N=2)

[–] tetris11@lemmy.ml 14 points 1 year ago* (last edited 1 year ago) (11 children)

If the free market had any real competitors, the problem would genuinely solve itself in favor of the consumer. We see this with any new tech where a bunch of new firms try to win customers by any means necessary in those first few years.

The problem as always is: where are the competitors after X years, and are these "competitors" actually competing anymore?

The solution as always is: regulate. Ensure competition. Ensure cartels aren't price fixing. But no one wants to hear that

[–] tetris11@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Well it sounds like your desktop is pretty scalable - no matter how many monitors - so that's pretty good.

And hah yeah, it might be worth investing in a badge that reads "Hi, I'm an IT specialist, this all normal" and pinning it on your shirt before you enter customs

[–] tetris11@lemmy.ml 1 points 1 year ago

I don't think sitting and suffering (the english way) is to be applauded either, and since we have tentative control of our democracy, I'm not sure what other meaningful options we have

view more: ‹ prev next ›