Attempting to correct sync with lemmy.world

@tetris11@lemmy.ml avatar

tetris11

@tetris11@lemmy.ml

This profile is from a federated server and may be incomplete. View on remote instance

tetris11 , (edited )
@tetris11@lemmy.ml avatar
  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 ,
@tetris11@lemmy.ml avatar

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 ,
@tetris11@lemmy.ml avatar

Yep, fantastic for annotation, doesn't rasterize other layers, keeps the quality intact

tetris11 ,
@tetris11@lemmy.ml avatar

"Naw boss, I can't make it out there. I've been in too long, a cage is all I know... but Boss, did that lady there just mention something bout crackers?"

tetris11 ,
@tetris11@lemmy.ml avatar

this is the language we were given on the web, not the language we chose

tetris11 ,
@tetris11@lemmy.ml avatar

I'm pretty judgemental of people who use more than one screen. Do you not have hotkeys to jump between bookmarked parts of your buffers? Is momentarily splitting a screen between two programs so difficult? Does Alt-Tab simply not exist in your universe?

The judgement continues.

tetris11 ,
@tetris11@lemmy.ml avatar

On Linux, using AwesomeWM bindings:

  • Caps+E, pull up emacs
  • Caps+D, pull up IDE
  • Caps+Q, pull up browser (repeated calls pull up different windows)
  • Caps+Y, pull up terminal
  • Caps+Down, split the last two called windows side by side
  • Caps+Down, undo the split
  • Caps+Up, maximize the current window

I have many more bindings, but these are the main ones and probably the only one's I will ever need

If I need to do something concurrently I will split my focus between two tasks and no more.

If I need to edit a UI with code, I do Caps+E, do my edit, then Caps+D and refresh the UI.

I'm literally a finger away from everything, and my head does not need to move from center.

tetris11 ,
@tetris11@lemmy.ml avatar

I guess I can see for more UI oriented stuff how it can be useful to have on persistent graphic window

tetris11 ,
@tetris11@lemmy.ml avatar

Alt-tab was my very last use-case because I literally have bindings to pull up my main programs.

As someone who has gone from tiling(i3), to floating (stump), to tiling again (i3/sway), and finally back to floating (awesome) - I can say floating wins in terms of predictability. You press a button to focus on your desired window and your entire desktop does not need to convulse to accommodate for it.

Floating window managers win on speed and predictability, and I'm wondering now if this is causing the rift in single/multi monitors in this discussion chain.

tetris11 ,
@tetris11@lemmy.ml avatar

Thank you! It's not often that users on Lemmy reply with such openness and honesty, instead of hiding behind the skirt of sarcasm

tetris11 ,
@tetris11@lemmy.ml avatar

Ah I see what you mean by tiling. Still, such a setup feels... excessive, no? I can completely understand that you literally never need to pull up anything since it's all just there, but I dunno (I'm reaching here) doesn't your machine get hot from all the displays and forcing all screens to do constant screen updates?

It just seems unneccesary to me (like I said, I'm judgemental on this front). When you have to travel, you can't take all that with you -- so working on a laptop at the airport must be incredibly frustrating if you're used to things just being there, no?

Did you seriously set up awesome as a floating window manager?

Haha, yes, the other layouts are wasted on me. Ideally a dwm desktop would suit me fine, but I enjoy the Lua extensibility.

tetris11 ,
@tetris11@lemmy.ml avatar

Cos. Superiority complex. No true hacker should need more than a harddrive and a needle to flip bits to do what they need to do in a pinch

tetris11 ,
@tetris11@lemmy.ml avatar

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 ,
@tetris11@lemmy.ml avatar

I've seen puppies literally thrown into a bin. Y'all got issues with your pet/animal divides

tetris11 ,
@tetris11@lemmy.ml avatar

My ex's family were pissed when I didn't take her to see Buckingham Palace. There is NOTHING there to see. They make it as boring a possible on purpose. It's on a fucking roundabout for cry sake, you'd see more driving past.

tetris11 ,
@tetris11@lemmy.ml avatar

Are you confessing to something

tetris11 ,
@tetris11@lemmy.ml avatar

"You do realize that when I straddle your leg like this it means that I wan-"
"We know, Ricky!"

tetris11 ,
@tetris11@lemmy.ml avatar

Pikachu on Acid might be a better fit

tetris11 ,
@tetris11@lemmy.ml avatar

Nachts sind alle Katzen grau

https://de.wikipedia.org/wiki/Nachts_sind_alle_Katzen_grau

Apparently it was originally adapted from Don Quixote

tetris11 ,
@tetris11@lemmy.ml avatar

For me it works 80% of the time. It's only if your hands are slightly moist when you're in trouble.

tetris11 ,
@tetris11@lemmy.ml avatar

I'd buy vast swathes of land in the countryside, and just make it a homeless refuge. They can erect a tent town if they want, host festivals, do farm work for money. Whatever, they're protected from the police.

tetris11 ,
@tetris11@lemmy.ml avatar

I watched my sister and her fiance call each other stupid and mentally deficient, purely as jokes, and it made me feel bad for them... even though they have a great relationship and say shit like that to each other as a joke.

I think people just have different sensitivies

tetris11 ,
@tetris11@lemmy.ml avatar

Catch all the sheep I lost getting head from my old bleak gay shuns.

tetris11 , (edited )
@tetris11@lemmy.ml avatar

sure, but wouldn't making a club out of larger pieces of wood make more sense?

tetris11 ,
@tetris11@lemmy.ml avatar

I was once in an open relationship. It was worst experience of my life. She'd mention her old boyfriend like he was still current, we had weird codewords if one of us was interested in someone else, and any talk of future plans was just this large void. Never again.

tetris11 , (edited )
@tetris11@lemmy.ml avatar
  1. I voted remain, but I made a big fuss that the leave camp had a valid point about the workers rights in this country, with the expectation that "remain" would be the outcome still. Yes, I'm a shyster.
  2. Yes
  3. He's a racist ego-maniac, but he is funny at times and I like his show about tractors. People are a spectrum.
  4. I did when I was a teen. Now I find them whiney, though I do get nostalgic for that 90s sound sometimes. Ocean Colour Scene, Verve, Manics, etc.
  5. I'm sorry there's a h-wat now?
tetris11 ,
@tetris11@lemmy.ml avatar

What's a topic you could talk for hours about, and are you capable of summarizing it for a lay person?

(it shows that they're interesting, so when the looks fade with time you still have something to talk about, and it shows they're capable of not just parroting what they hear but internalizing it, and more importantly: coming down to meet you half way, the epitome of compromise through mutual dialogue)

tetris11 ,
@tetris11@lemmy.ml avatar

I am, it just feels like to me that, on some level, they are truly saying what they think in the same way that jokes have a small nugget of truth to them. Again, perhaps I'm being too sensitive.

tetris11 ,
@tetris11@lemmy.ml avatar

Oh they might definitely do these things, but mainly they will drive the local rent and house prices down, so it's still a win-maybewin

tetris11 ,
@tetris11@lemmy.ml avatar

My mum simply doesn't understand temporary joblessness. She doesn't understand that people might need to take some time to figure out who they are and what they want to do, and that jumping from one job to another without any pause is akin to a mental disease.

It sucks also that the world will not let you tread water, financially I mean. I have two months before my contract ends and already I'm sweating at the prospect of a) not having a job lined up, and b) facing my mother without one.

(I should add that in all other respects, she is a sweet lady)

tetris11 ,
@tetris11@lemmy.ml avatar

"We've noticed that your eyes track boobs a lot, so here are some ads for better bras to reduce back ache."

tetris11 ,
@tetris11@lemmy.ml avatar

when houses become free, land/freeholds will be the new hustle. Cappies gotta cap.

tetris11 ,
@tetris11@lemmy.ml avatar

Don't be silly. Elon is going to anonymize the data extraction first, categorise you into one of five badly defined groups, and then beam that shitty group product back into your brain.

tetris11 ,
@tetris11@lemmy.ml avatar

I thought I was the only one. Fuck you Easyjet!

tetris11 ,
@tetris11@lemmy.ml avatar

Make money for your family, after you're gone! If you get 1 million visitors, you get 1000 dollars a month! Just need to train a bird to swoop by every few minutes, and you're living the life!

tetris11 , (edited )
@tetris11@lemmy.ml avatar

Futurama, eh?

tetris11 ,
@tetris11@lemmy.ml avatar

he does raise very valid points about reproducible builds, which should be a priority if your product is security

Edit: oh @Wolflink below points out that such builds are available for Android, but iOS has issues stemming from Apple and not Signal. This then begs the question, why is Telegram reproducible on iOS?

tetris11 ,
@tetris11@lemmy.ml avatar

How does Telegram ensure reproducible builds for iOS? Or is Dorsey lying

tetris11 ,
@tetris11@lemmy.ml avatar

that's not a fantastic answer to my question...

tetris11 ,
@tetris11@lemmy.ml avatar

that's indeed what I am asking

tetris11 ,
@tetris11@lemmy.ml avatar

It's from a Star Wars spinoff movie: Hoth Tusk

tetris11 ,
@tetris11@lemmy.ml avatar

"would you get shot by Boeing....?"
"me personally? no. not really."

tetris11 ,
@tetris11@lemmy.ml avatar

Nonsense. Everyone knows you can defeat airborne icebergs with attack insects.

tetris11 ,
@tetris11@lemmy.ml avatar

Terrifyingly overpowered, but cartoonishly stupid to the point that it needs a 9 year old human girl sidekick for it to properly execute tasks?

Huh, you might be right -- that probably is the holy grail of AI

tetris11 ,
@tetris11@lemmy.ml avatar

I just invested in Anagram Inverters

How should I change my polite behavior to be more accommodating?

My parents raised me to always say "yes sir" and "no ma'am", and I automatically say it to service workers and just about anyone with whom I'm not close that I interact with. I noticed recently that I had misgendered a cashier when saying something like "no thank you, ma'am" based on their appearing AFAB, but on a future visit...

tetris11 ,
@tetris11@lemmy.ml avatar

No, you call them "shorty" and make wild claims about it being their birthday

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • news
  • movies
  • leopardsatemyface
  • stillalive
  • ServerNonsense
  • istillthinkofyou
  • oneorangebraincell
  • MBBS
  • All magazines