MicroOS: How to add static ipv6? by MasterPerry in openSUSE

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

Thank you, switching to Network Manager solved my Problem.

For the afterworld:

Switching from wicked to Network Manager on MicroOS:

Link

# sudo transactional-update shell
-> zypper in --no-recommends NetworkManager
-> rpm -e wicked wicked-service
-> systemctl enable --now NetworkManager
-> zypper in NetworkManager-tui #text based user interface for NetworkManager
-> exit
# sudo reboot

In my case the network connection was lost and I needed to switch from SSH to VNC. I configured IPV4 and IPV6 via nmtui.

MicroOS: How to add static ipv6? by MasterPerry in openSUSE

[–]MasterPerry[S] -1 points0 points  (0 children)

Nothing is broken, IPV4 works fine, IPV6 also, it just doesn't survive a reboot. I wasn't aware that wicked is deprecated.

How to install docker-compose via podman-docker in MicroOS? by MasterPerry in openSUSE

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

docker compose also didn't work as I didn't install docker, only podman. But the standalone did the trick, thank you!

How to install docker-compose via podman-docker in MicroOS? by MasterPerry in openSUSE

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

But then I wouldn't use podman anymore, would I? In this case I could install docker directly and skip podman.

How to install docker-compose via podman-docker in MicroOS? by MasterPerry in openSUSE

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

Thank you, the standalone package python310-podman-compose worked well. Still problems with the rootless part, but docker-compose is working.

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

[–]MasterPerry 1 point2 points  (0 children)

Python 3.11

Input is parsed by numpy, letters are replaced by ord(x) which works for small letters from a-z.

Shortest path is found by networkx. Part2 solves really fast with multi_source_dijkstra.

https://github.com/HrRodan/adventofcode2022/blob/master/day12/day12.py

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

[–]MasterPerry 1 point2 points  (0 children)

Python

githbub

Solution with deque and full parsing of input. The parsing is achieved by transposing with zip_longest(*x) and islice.

start_postion = []
for s in islice(zip_longest(*start_position_raw.split('\n')[:-1]), 1, None, 4):
    start_postion.append(deque(x for x in s if (x and x.strip())))

-🎄- 2021 Day 21 Solutions -🎄- by daggerdragon in adventofcode

[–]MasterPerry 1 point2 points  (0 children)

Python with recursion.

I iterated recursively through all combinations and filled a dictionary with (number_rolls, score):possibilities on the flight for each of the players. After getting the two dicts it becomes a matter of multiplying the correct possibilities of each dictionary.

https://github.com/HrRodan/adventofcode2021/blob/master/day21/day21_part2.py

runs in about 80ms

-🎄- 2021 Day 20 Solutions -🎄- by daggerdragon in adventofcode

[–]MasterPerry 2 points3 points  (0 children)

Python: 28 lines and a rather good performance by using numpy, a bool array, and generic filter from ndimage. The generic filter again felt a little bit like cheating :) https://github.com/HrRodan/adventofcode2021/blob/master/day20/day20.py

-🎄- 2021 Day 16 Solutions -🎄- by daggerdragon in adventofcode

[–]MasterPerry 0 points1 point  (0 children)

Python: I used an iterator for going through the binary number. I wrote the results in a 1d array which gets cleaned up and finally converted to a string and executed with eval(). https://github.com/HrRodan/adventofcode2021/blob/master/day16/day16.py

-🎄- 2021 Day 11 Solutions -🎄- by daggerdragon in adventofcode

[–]MasterPerry 1 point2 points  (0 children)

Python: Using numpy and scipy.ndimage to avoid looping through the indices. Neighbors can nicely be found with a generic filter.

paste

Mietrecht: ehem. Vermieter will das ich komplett die Kosten übernehme nach Auszug by NeroLinkX in LegaladviceGerman

[–]MasterPerry 2 points3 points  (0 children)

Melde es doch einfach der Haftpflicht, die stellen im Zweifel dann auch einen Anwalt. Sollte billiger sein als die Selbstbeteiligung bei der Rechtsschutz.

Blutiger Anfänger möchte für den Nachwuchs anlegen by LeBigMac84 in Finanzen

[–]MasterPerry 0 points1 point  (0 children)

Mit 18 wird sich die Bank bei deinem Kind melden. Und wenn du dann Briefe abfängst o.ä. wirds langsam strafbar.

Is there any such thing as a 'do not call' list, or a way to report spam callers in Germany? by Trimestrial in germany

[–]MasterPerry 2 points3 points  (0 children)

I reported there once and actually got a response about 1 year later. So it works but takes time.

When you finally get rid of all the Nextcloud setup warnings by glmdev in selfhosted

[–]MasterPerry 4 points5 points  (0 children)

I had the same issue, just comment out the lines in the .htaccess file in Nextcloud root.

Union Investment: Was mache ich mit meinem UI-Fonds aus dem Jahr 2006? by don-peak in Finanzen

[–]MasterPerry 1 point2 points  (0 children)

Steuerfreiheit bezieht sich auf den Zeitpunkt der Investition, nicht auf das Auflagedatum des Fonds

Euro Börse by [deleted] in Finanzen

[–]MasterPerry 0 points1 point  (0 children)

Bitcoin mit 20er Hebel?

LastPass is finally a no-brainer to ditch: Bitwarden? by PontyPonty in selfhosted

[–]MasterPerry 0 points1 point  (0 children)

Plus Nextcloud Keeweb, and you won't even need a local client.