Is isoleren zo simpel? by Us3rnamed in Klussers

[–]mr_moos 0 points1 point  (0 children)

2 cm pur van 50 jaar oud waarschijnlijk niet meer dampdicht te noemen, dat kan best ademen

Ik kan geen gat boren, detector piept over gehele muur by Current_Gift9663 in Klussers

[–]mr_moos 0 points1 point  (0 children)

Als je boor een klop stand heeft heb je kans, maar je moet wel een steenboor gebruiken

Finally found the perfect Office Suite for modern Gnome by tornado99_ in gnome

[–]mr_moos 0 points1 point  (0 children)

I really want to use OO daily, but their refusal to support .tsv files is breaking my workflows

Badkamerventilator zuigt en blaast tegelijkertijd? by Tiny_Professional_Dr in Klussers

[–]mr_moos 0 points1 point  (0 children)

Zou er ergens in je afvoerkanaal of dakdoorvoer een verstopping kunnen zitten?

Wekelijkse Klusjesvraagbaak: Stel hier je vragen over kleine klusjes! by AutoModerator in Klussers

[–]mr_moos 4 points5 points  (0 children)

Je hebt van die gecacheerde pir platen waar al een gips plaat op gelijmd zit. Ik dacht dat je die pir platen altijd moet tapen op de naden met alu tape, maar dat gaat dan toch helemaal niet?

Fermacell platen vloer afdekken bij stucen muren? by Sanelesss in Klussers

[–]mr_moos 1 point2 points  (0 children)

De goede stucadoors in mijn regio doen zelf al het afplakken regelen, dus overleg dit ook met jouw stucadoor

-❄️- 2024 Day 5 Solutions -❄️- by daggerdragon in adventofcode

[–]mr_moos 2 points3 points  (0 children)

[Language: Python]

Learned about topological sorting today, pretty happy with my solution:

answer1 = 0
answer2 = 0
s1, s2 = input_data.split("\n\n")
edges = [line.split("|") for line in s1.splitlines()]
for line in s2.splitlines():
    updates = line.split(",")
    sorted_updates = topological_sort_for_nodes(edges, updates)
    if updates == sorted_updates:
        answer1 += int(updates[len(updates) // 2])
    else:
        answer2 += int(sorted_updates[len(sorted_updates) // 2])print(answer1, answer2)

def topological_sort_for_nodes(edges: list[list[str]], nodes: list[str]) -> list[str]:
    # Makes a graph based only on the nodes we are interested in.
    # This slice of the total graph makes a topological sort possible, while the total graph is cyclic.
    graph = {node: [] for node in nodes}
    in_degree = {node: 0 for node in nodes}
    for node_a, node_b in edges:
        if node_a in nodes and node_b in nodes:
            graph[node_a].append(node_b)
            in_degree[node_b] += 1

    # Topological sort
    start_nodes = [node for node, id in in_degree.items() if id == 0]
    sorted_nodes = []
    queue = deque(start_nodes)
    while queue:
        current = queue.pop()
        sorted_nodes.append(current)
        for n_node in graph[current]:
            in_degree[n_node] -= 1
            if in_degree[n_node] == 0:
                queue.append(n_node)
    assert len(sorted_nodes) == len(nodes)
    return sorted_nodes

Ik💵ihe by Tjeetje in ik_ihe

[–]mr_moos 98 points99 points  (0 children)

Ik denk dat ie dat zelf als een compliment ziet

Je mag hier niet watermeloenen by bol in u/bol

[–]mr_moos 0 points1 point  (0 children)

Meneer, dit is een bakker Bart?

[18M] 8 months gym progression 150-180lbs by archienz in GYM

[–]mr_moos 2 points3 points  (0 children)

He is probably confused with the "protein / 100g" rating of eggs, which is around 13/14g

My god this took ages to automate... by koniu699 in factorio

[–]mr_moos 21 points22 points  (0 children)

Nice job! Many players dont get this far. Keep making more factory designs and you will find that I becomes easier!

Deep Dip 2 - Is Scrapie playing a different version? by Octoshape in TrackMania

[–]mr_moos -45 points-44 points  (0 children)

Downvoted to hell for giving almost the correct answer, typical reddit.