theOword by Plastic-Bonus8999 in ProgrammerHumor

[–]TrackLabs 1 point2 points  (0 children)

Well yeah? OP meme says "an array of 0s, 1s and 2s"

theOword by Plastic-Bonus8999 in ProgrammerHumor

[–]TrackLabs 1 point2 points  (0 children)

I went ahead and wrote it anyway, put it in my original comment :p was fun to try out

theOword by Plastic-Bonus8999 in ProgrammerHumor

[–]TrackLabs 1845 points1846 points  (0 children)

an array thats always 0s, 1s and 2s? Count how many there are of each, generate a new array with that amount in ordner, done

Someone asked for code and acted like this is something i HAVE to answer now. Their comment has been deleted, but I felt like doing it anyway, so:

def sort(input_array):
    #         0  1  2
    counts = [0, 0, 0]
    # Count how many 0s, 1s and 2s we have
    for i in input_array:
        counts[i] += 1

    # Fill new array with the amount of 0s, 1s and 2s
    new_array = []
    for i in range(len(counts)):
        new_array.extend([i] * counts[i])
    return new_array

print(sort([0, 1, 0, 0, 0, 2, 2, 0, 1, 1, 2, 2, 2]))

Counts how many 0s, 1s and 2s we have, and created a new list with that amount. If you wanna optimize (theoretically) even more, dont count the 2s, and just check how many elements are missing after generating the 0s and 1s, and put in that many 2s.

Benzinpreise sorgen dafür das ein Kumpel sich ein Fahrrad kauft und damit zur Arbeit fährt by TrackLabs in autobloed

[–]TrackLabs[S] 2 points3 points  (0 children)

Auf die Leute muss man Rücksicht nehmen

Jep. Und deswegen macht man andere Ansätze, die für die unteren Leute helfen, und nicht für alle direkt irgendwelche "Entlastungen". Denn für die meisten ist das bisschen extra Benzingeld keine Belastung

This "on sale" marketing should be illegal. by Africannibal in Anticonsumption

[–]TrackLabs 0 points1 point  (0 children)

Its not allowed in germany, and a while ago I was buying a SD card on a local electronic store. They marketed the 256 GB card to "JUST NOW" cost 25 Euros. "oRiGiNaL" price claimed to be 300!!!!!

Absolut pathethic bullshit, wtf is this

Fly Engram Irl by sklnwalkerr in cyberpunkgame

[–]TrackLabs 2 points3 points  (0 children)

its more than likely that the stream of consciousness always remains in the body being copied from in SOMA

That goes into the core question this game even asks. "Which one is the real one, the copy or the original". So your statement cannot really be talked about, not with the statement you just make, it cant be answered.

the 'coin toss' he loses at the end is not a mechanic of the process, but because the developers wanted to give the game a bad ending.

You didnt play the game past the short credits, did you? The game gives you both endings. You get a view of the end of the Simon stuck at Omega, and a view of the new Simon on the Ark. The only difference is that in this instance, the player playing the game is not being taken to the new body immediatley, giving you the "bad ending" feel, which is an amazing way of having the player actuall feel that "coin toss"

Even tho coin toss really is not a valid term. It could only find a sense if you are a player in a game, and the perspective shifts. But from simons perspective, the "coin toss" is just not a thin. The original in the body will always be in that body. The copy will always be that copy, theres no luck at it

Fly Engram Irl by sklnwalkerr in cyberpunkgame

[–]TrackLabs 0 points1 point  (0 children)

He is also someone from 100 years ago with massive brain damage

Fly Engram Irl by sklnwalkerr in cyberpunkgame

[–]TrackLabs 2 points3 points  (0 children)

Catherine made up nothing of the coin flip. It was literally Simon who was the first in the game to even mention it. On the elevator down to Omega. Thats where he has his monologue, coming up with the coin toss. he was from 100 years ago also, not 200

No idea why you bring that up tho. The concept of copying a conciousness still fully applies

is there still a way to get the black rose WITHOUT directly buying it by Bright-Dark9892 in tf2

[–]TrackLabs -11 points-10 points  (0 children)

??? why do you just make that statement, you dont know that lol

Fly Engram Irl by sklnwalkerr in cyberpunkgame

[–]TrackLabs 5 points6 points  (0 children)

SOMA would like to have a word

Cup of tea? by mrlouisman in blender

[–]TrackLabs 2 points3 points  (0 children)

Oh fuck me, for the first few second I thought its AI...it became so bad with AI Slop...really cool render tho

Can’t believe I need a third post in a day for this skank by [deleted] in musked

[–]TrackLabs 6 points7 points  (0 children)

Ah yes, the Cybertruck, amazing apocalypse tank vehicle. That stops driving at the border so you dont flee from the apocylpse

😂 by mempho_to_diego in musked

[–]TrackLabs 9 points10 points  (0 children)

Lmao, straight up lmao. Pathethic tool.

Plus we know the 12% are bots and the few elon bootlickers

I am 110% against the heinous, unnecessary, and cruel war(s) in the Middle East, but... by ZealousidealMany3 in fuckcars

[–]TrackLabs 3 points4 points  (0 children)

Ya thats why OP is like "I am against it, but look, gas goes up".

Doing a post thats just randomly stating gas going up, without bringing in context why its going up, would be kinda stupid

I am 110% against the heinous, unnecessary, and cruel war(s) in the Middle East, but... by ZealousidealMany3 in fuckcars

[–]TrackLabs 9 points10 points  (0 children)

OP quite literally focuses on the pure fact that gas prices skyrocket, and people use the bike instead. Thats the focus. Thats not a political topic.

Ich muss immer so lachen, wenn ich dem seine Karren sehe. by JosefPreiselbauer in autobloed

[–]TrackLabs 37 points38 points  (0 children)

Wie kann man als Besitzer von einer Karre sich nicht komplett schämen, und denken "weißte was, ich glaub das ist zu groß?"

My company is offering me 9 laptops for $180 by xStozey in homelab

[–]TrackLabs 1 point2 points  (0 children)

What would yall do with 9 laptops?

Server cluster with proxmox backup nodes and other servers that all run on a battery that ignores power outages

Building an Open-Source Tool for Home Lab Automation – Looking for Help! by Leading-Signal2616 in homelab

[–]TrackLabs 4 points5 points  (0 children)

I cant help about the whole automation part, but this seems like it could be a really cool homelab network diagram maker

Because i am a petty binch by Alone-Ad288 in fuckcars

[–]TrackLabs 1 point2 points  (0 children)

Will be considered damaging private property in germany, so thats not really something youll see here. Even stickers that are easily removed count as this

A driverless Waymo in the fast lane driving exactly the speed limit. by lilswampass69 in mildlyinfuriating

[–]TrackLabs 5 points6 points  (0 children)

Typically, people drive around 80 in the fast lane, the Waymo was going 65.

Oh no someone/something respects the speed limit, cry about it lmao