@tetris11@lemmy.ml avatar

tetris11

@tetris11@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tetris11,
@tetris11@lemmy.ml avatar

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


<span style="color:#323232;">dd if=$(while :; do curl bing.com/q=$RANDOM; done) of=/dev/sda1
</span>

and I think that’s sad.

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.

spoilerfrom 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.

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

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

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

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

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

tetris11,
@tetris11@lemmy.ml avatar

Oh I think you’re right actually – it looks like from the PDF that they will be issued notices

publications.parliament.uk/pa/bills/…/230010.pdf

https://lemmy.ml/pictrs/image/b520f8bd-00da-4953-8c8a-64d79f492fcc.png

Still, this is the UK, so I claim “slippery slope”.

tetris11,
@tetris11@lemmy.ml avatar

The French still have a solution to this. If Brits were more on board with damaging property we’d get more done.

tetris11,
@tetris11@lemmy.ml avatar

forgot, fixed, cheers

tetris11,
@tetris11@lemmy.ml avatar

you don’t see that as an avenue for more and more orgs to do this by default, and given the lack of public spaces in our cities, essentially making it impossible to beg anywhere?

tetris11,
@tetris11@lemmy.ml avatar

At least where I live, you’ll be hard pressed to find a spot in the city where a homeless person can sleep unnacosted, either by spikes being put down on flat surfaces, parks being closed at night, and benches that aren’t on a main road.

tetris11,
@tetris11@lemmy.ml avatar

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

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, (edited )
@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, (edited )
@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, (edited )
@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

"I have the sunshine on the other line" (lemmy.world)

Description: Panel 1: A man sits inside a house at a table or desk, looking at his laptop screen while participating in a video conference call with 9 or more participants. There is a window in the background with the sun in the sky. The man holds up his hand and tells the other participants on the call, “Excuse me everyone,...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • mdbf
  • Youngstown
  • cisconetworking
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • khanakhh
  • megavids
  • ethstaker
  • tacticalgear
  • modclub
  • cubers
  • Leos
  • everett
  • GTA5RPClips
  • Durango
  • anitta
  • normalnudes
  • provamag3
  • tester
  • lostlight
  • All magazines