!GczNDVOkmUAxrFFnCg:maralorn.de

❄️ Nix Da(rmstadt)

118 Members
Nächstes Treffen: 03.11.2025.(<https://md.darmstadt.ccc.de/nixda-202507>) | Dekoratives Systemmanagement. How dare you … wenn Nix hilft | Use `/roomnick` for silly sentiments. | https://nix-cheatsheet.pixie.homes66 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 Nov 2025
@piegames:flausch.socialpiegames zitrone: würdest du die Grafiken auch ins Forum kippen für alle? 13:05:34
@zitrone:utwente.iozitronekann ich machen13:07:53
@zitrone:utwente.iozitronein welche kategorie passt sowas oder einfach als antwort auf das announcement13:09:54
@hexa:lossy.networkhexaapproval from the upper half of votes13:17:03
@hexa:lossy.networkhexa
{
  "GaetanLepage": 188,
  "JulienMalka": 262,
  "K900": 332,
  "Scrumplex": 215,
  "aanderse": 180,
  "adamcstephens": 251,
  "cafkafk": 275,
  "crertel": 115,
  "djacu": 131,
  "drupol": 209,
  "getchoo": 206,
  "jopejoe1": 237,
  "leona-ya": 290,
  "mschwaig": 181,
  "niklaskorz": 287,
  "nim65s": 179,
  "nyabinary": 231,
  "philiptaron": 246,
  "pinpox": 190,
  "pluiedev": 292,
  "rhendric": 261,
  "samueldr": 244,
  "tomberek": 141,
  "tomodachi94": 173
}
13:17:07
@hexa:lossy.networkhexa
#!/usr/bin/env python3
from collections import defaultdict
import json

votes = []
candidates = []

with open("./opavote-ballots-5.blt") as fd:
    for line in fd.readlines():
        line = line.strip()
        if line.startswith("1") and line.endswith("0"):
            vote = line.split()
            vote.pop(0)
            vote.pop()
            votes.append(vote)
        if line.startswith('"'):
            candidate = line.strip().strip('"')
            candidates.append(candidate)

candidates.pop()

approvals = defaultdict(int)

for vote in votes:
    approval = vote[:12]
    for candidate in approval:
        approvals[int(candidate)] += 1

result = {}

for slot, name in enumerate(candidates, 1):
    print(slot, name)
    result[name] = approvals[slot]

print(json.dumps(result, indent=2))
13:17:38
@hexa:lossy.networkhexa *
#!/usr/bin/env python3
from collections import defaultdict
import json

votes = []
candidates = []

with open("./opavote-ballots-5.blt") as fd:
    for line in fd.readlines():
        line = line.strip()
        if line.startswith("1") and line.endswith("0"):
            vote = line.split()
            vote.pop(0)
            vote.pop()
            votes.append(vote)
        if line.startswith('"'):
            candidate = line.strip().strip('"')
            candidates.append(candidate)

candidates.pop()

approvals = defaultdict(int)

for vote in votes:
    approval = vote[:12]
    for candidate in approval:
        approvals[int(candidate)] += 1

result = {}

for slot, name in enumerate(candidates, 1):
    result[name] = approvals[slot]

print(json.dumps(result, indent=2))
13:17:49
@piegames:flausch.socialpiegames
In reply to @zitrone:utwente.io
in welche kategorie passt sowas
oder einfach als antwort auf das announcement
Einfach als Antwort
13:18:04
@zitrone:utwente.iozitronedone14:24:19
@zitrone:utwente.iozitronehttps://discourse.nixos.org/t/results-for-the-second-nix-steering-committee-election-2025/71628/20?u=quantenzitrone14:25:04
@niklaskorz:matrix.orgniklaskorzcool ich bin der Platz 2 der Masse :D14:35:32
@niklaskorz:matrix.orgniklaskorz* cool ich bin der Platz 3 der Masse :D14:35:44
@niklaskorz:matrix.orgniklaskorznach leona und pluie, wenn ich das richtig sehe14:35:52

Show newer messages


Back to Room ListRoom Version: 6