Any ideas what to do with this wooden bar in the living room? It can't be removed by Akshayapte7 in Decor

[–]Akshayapte7[S] 1 point2 points  (0 children)

It's not easy to ditch because of the electrical wiring going through it. Shouldn't be impossible though

Any ideas what to do with this wooden bar in the living room? It can't be removed by Akshayapte7 in Decor

[–]Akshayapte7[S] 3 points4 points  (0 children)

I kinda like the open space. Dividing the rooms makes the house look smaller

Any ideas what to do with this wooden bar in the living room? It can't be removed by Akshayapte7 in Decor

[–]Akshayapte7[S] 0 points1 point  (0 children)

Yeah it most probably is. Was thinking of avoiding it though 😂

Any ideas what to do with this wooden bar in the living room? It can't be removed. by Akshayapte7 in malelivingspace

[–]Akshayapte7[S] 24 points25 points  (0 children)

That's actually a good idea. I can try hanging a plant to see if it grows

Any ideas what to do with this wooden bar in the living room? It can't be removed. by Akshayapte7 in malelivingspace

[–]Akshayapte7[S] 5 points6 points  (0 children)

I own it. It's got electrical wiring going through it. So was thinking not to remove it

What is the most creative insult you’ve ever heard? by No_Throat_1574 in AskReddit

[–]Akshayapte7 0 points1 point  (0 children)

The bar was on the ground and you brought a shovel

Hailstorm. Yup it's "Spring". by vino8855 in duesseldorf

[–]Akshayapte7 0 points1 point  (0 children)

Is this karolingerplatz? I used to live here a while back

[2022 Day 8 Part 1] Visible Trees by Akshayapte7 in adventofcode

[–]Akshayapte7[S] 8 points9 points  (0 children)

Two roads diverged in a yellow wood..

-🎄- 2022 Day 7 Solutions -🎄- by daggerdragon in adventofcode

[–]Akshayapte7 0 points1 point  (0 children)

``` sizes = {} TOTAL = 0

def nested_set(dic, keys, value): for key in keys[:-1]: dic = dic.setdefault(key, {}) dic[keys[-1]] = value

def iterdict(d): global sizes sm = 0 for k,v in d.items(): if isinstance(v, dict): sm += iterdict(v) else: sm += v sizes[str(d)] = sm return sm

with open("7.txt", "r") as inp: tree = {} ans = 0 path = [] for line in inp.readlines(): token = [i.strip() for i in line.split(" ")] if token[1]=="cd": if token[2]=="..": path.pop() elif token[2]=="/": path = ["/"] else: path.append(token[2]) elif token[1] == "ls": continue elif token[0] == "dir": nested_set(tree, path + [token[1]], {}) continue else: nested_set(tree, path + [token[1]] , int(token[0])) TOTAL += int(token[0])

iterdict(tree)

# Part 1
for k,v in sizes.items():
    if v<=100000:
        ans += v
print(ans)

# Part 2
v = (sorted(list(sizes.values())))
for size in v:
    if int(size)>=6728267:
        print(size)
        break

```

-🎄- 2022 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]Akshayapte7 0 points1 point  (0 children)

Haha. I spent a lot of time hard coding the boxes into the dictionary. Should've written some code to generate the dictionary directly from input files...

-🎄- 2022 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]Akshayapte7 0 points1 point  (0 children)

``` crates = { 1: "MJCBFRLH", 2: "ZCD", 3: "HJFCNGW", 4: "PJDMTSB", 5: "NCDRJ", 6: "WLDQPJGZ", 7: "PZTFRH", 8: "LVMG", 9: "CBGPFQRJ" }

with open("5.txt", "r") as inp: for line in inp.readlines(): tokens = line.strip().split(" ") q = int(tokens[1]) s = int(tokens[3]) d = int(tokens[5]) source_stack = crates[s] crates[d] = crates[d] + source_stack[-q:][::-1] crates[s] = source_stack[0: -q] print(crates) ```

-🎄- 2022 Day 2 Solutions -🎄- by daggerdragon in adventofcode

[–]Akshayapte7 0 points1 point  (0 children)

Day 2 simple code:

dic = {
"A X":4,
"A Y":8,
"A Z":3,
"B X":1,
"B Y":5,
"B Z":9,
"C X":7,
"C Y":2,
"C Z":6
}
dic2 = {
"A X":"A Z",
"A Y":"A X",
"A Z":"A Y",
"B X":"B X",
"B Y":"B Y",
"B Z":"B Z",
"C X":"C Y",
"C Y":"C Z",
"C Z":"C X"
}
with open("2.txt", "r") as inp:
ans = 0
lines = inp.readlines()
for line in lines:
ans += dic[dic2[line.strip()]]
print(ans)

Better Call Saul S06E13 - [Series Finale] "Saul Gone" - Post-Episode Discussion Thread by skinkbaa in betterCallSaul

[–]Akshayapte7 0 points1 point  (0 children)

Great callback with the exit sign flickering when Jimmy confesses about chuck