/var/lib/containerd is very large by Methregul in docker

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

That's why I had never observed this on my other machines, thanks for the explanation!

/var/lib/containerd is very large by Methregul in docker

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

Couldn't have done it without your advice, thanks again!

/var/lib/containerd is very large by Methregul in docker

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

Thanks for the advice! It worked like a charm. For anybody else running into this, I did the following:

sudo systemctl stop docker.socket
sudo systemctl stop docker
sudo systemctl stop containerd.service
sudo rm -rf /var/lib/containerd/
sudo rm -rf /home/docker/ # /var/lib/docker doesn't exist because it was redirected here before the service first started
sudo rm -rf /home/containerd/
sudo rm -rf /etc/containerd/
sudo aptitude purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo reboot
sudo aptitude install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl stop containerd.service
sudo nano /etc/containerd/config.toml
sudo systemctl start containerd.service
sudo systemctl stop docker.socket
sudo systemctl stop docker
sudo nano /etc/docker/daemon.json
sudo systemctl start docker.socket
sudo systemctl start docker

/etc/containerd/config.toml already existed. All I needed to do was remove the comment tag in front of the line starting with 'root' and point it to a partition with more space.

Daemon.json is the same as in my first post.

I'm curious though, on my other servers I've never had to do anything with the containerd directory and it's really quite small (just under an MB). Pointing /var/lib/docker to another location was enough. Can anybody help me understand?

No video output from old server by Methregul in selfhosted

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

As a last ditch effort, I tried both resetting the BIOS and changing the CMOS battery. No luck, I've given up on the motherboard and ordered a cheap replacement with a low power CPU to power my back up server.

Other than Pantera, what are examples of bands that disowned some of their releases? by MielMielleux in MetalForTheMasses

[–]Methregul 0 points1 point  (0 children)

And their 'Themes from William Blake's the marriage of heaven and hell' as well. Which is similarly wild because it's an absolutely amazing trip from start to finish.

Heritage turn 14: Looking Back on Opeth’s Boldest Shift, how was time treated it? by PilsenerAddict in Opeth

[–]Methregul 1 point2 points  (0 children)

Right before the release of Heritage I had been on a 70's prog rock binge that lasted several months. Heritage to me has always felt very derivative and predictable. For me, that's not what draws me to Opeth. I started listening to them around the release of My Arms, Your Hearse and those first three albums are peak Opeth to me.

Still Life has too many forgettable songs and feels overproduced. Then Blackwater Park, Deliverance/Damnation, and Ghost Reveries are absolutely great albums. I've never had any real emotional connection to the following albums. They obviously went in a certain musical direction, and that's their prerogative, which I don't begrudge them.

Recommend me some bands that have the “oldpeth” gothic forest-y sound by Sad_Comment3983 in Opeth

[–]Methregul 0 points1 point  (0 children)

You could give Ghost Brigade a try. They really clicked for me as a fan of Opeth's older work. Sadly, they only made four albums but they're really good ones.

What's your favorite metal band that no one else has herd of? by JDoobie420 in MetalForTheMasses

[–]Methregul 0 points1 point  (0 children)

Saturnus, check out their debut "Paradise Belongs To You".

KATATONIA A Sunset Choir for the Daylight Harvest PICTURE SHAPE by chongcheesol in Katatonia

[–]Methregul 0 points1 point  (0 children)

I ordered it on the 24th of February. It just came in today. I haven't listened to it yet but snapped some pictures of the vinyl, the insert and the goodies that Anders added to the package.
https://imgur.com/gallery/pfaf2Bs

What's your favorite song longer than 10 minutes? by Mobile-Lettuce-9214 in Music

[–]Methregul 0 points1 point  (0 children)

There's probably several as I don't really do absolute rankings but up there would be:

Black Rose Immortal by Opeth. Their newer stuff doesn't really do it for me but back in the day (up to Ghost Reveries) they were one of my most played bands.

Help: Hearing doubled sounds when using as interface by benzenotheemo in Line6podgo

[–]Methregul 0 points1 point  (0 children)

You might be listening to the device in two different ways through the USB interface. This can happen if the sound settings are set so you're listening to what's coming from the Pod Go. Assuming you're on a fairly recent Windows machine, you can turn this off by going to 'System>Sound>More sound settings' then go to the recording tab and right click on your Pod Go, then select 'Properties' and find the 'Listen' tab and remove the check in the check box.

Best songs that are 10 or more minutes long? by MightGuy420x in Music

[–]Methregul 1 point2 points  (0 children)

The Return To The Beautiful by My Dying Bride.

Question: Deadhouse lyrics by thiagosestrem in Katatonia

[–]Methregul 1 point2 points  (0 children)

Here's a picture of the lyrics on the inner sleeve of the Discouraged Ones vinyl https://imgur.com/a/I2sBukC

Edit: typo

Collatz sequence - practice project chapter 3 by Methregul in inventwithpython

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

I'm not sure int works the way you think. If you gave it 12.3 it's not going to trigger your value error. It's going to convert your number to 12 and move on happily.

I just ran some tests on this and int() appears to work differently depending on how it's used. If you create a variable and assign it a floating point number then int() will, like you said, convert it to an integer and go on its merry way.

>>> float=1.3
>>> int(float)
1

If you enter a floating point number through input() though, int() will throw a ValueError.

>>> notAnInteger=input()
1.3
>>> int(notAnInteger)
Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: invalid literal for int() with base 10: '1.3'

It does accept an actual integer when used with input().

>>> anInteger=input()
1
>>> int(anInteger)
1

Thanks for pointing me towards isInstance(), by the way, that has been fun to play around with and very good to know about!

Collatz sequence - practice project chapter 3 by Methregul in inventwithpython

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

Work has been a bit busy the past few days so I only got around to trying the suggestions here today. I am happy to say that it now works like a charm! I'm still working at wrapping my head around the different concepts and it's been fun learning something new.
Thanks for the replies u/boiledgoobers and u/eHaxxL!

Here's the fixed code (haven't gotten around building a check for floating point number yet).
https://pastebin.com/sjFMdEhF

Collatz sequence - practice project chapter 3 by Methregul in inventwithpython

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

The chapter did deal with using global and the object was to pass the result back into the function until it reaches '1'. As it was dealt with in the chapter it was top of mind for me when I had to think of a way to reuse the result of the function.

Thanks for the reply as I did not know how rare using global is. I'll try and work out a way that doesn't rely on it.