sum_yung_gai

joined 1 year ago
[–] [email protected] 1 points 3 days ago

Very cool! Thanks for this

[–] [email protected] 8 points 3 days ago (4 children)

I have been trying to be more functional but I still use classes for things like loading/modeling configs. What are some common situations where using an object is a good solution?

I use python if that helps at all.

[–] [email protected] 2 points 1 week ago (1 children)

I avoid apt because it does silly stuff. Always use apt-get. I suppose having to know that quirk is a con of the distro.

[–] [email protected] 4 points 1 week ago (3 children)

I just don't use snaps and it works great for me. For docker I add their apt repository and install it like that.

[–] [email protected] 2 points 1 week ago (11 children)

What is so bad about Ubuntu server?

 

Last night I was writing a script and it made a directory literally named "~" on accident. It being 3am I did an rm -rf ~ without thinking and destroyed my home dir. Luckily some of the files were mounted in docker containers which my user didn't have permission to delete. I was able to get back to an ok state but lost a bit of data.

I now realize I really should be making backups because shit happens. I self host a pypi repository, a docker registry both with containers and some game servers in and out of containers. What would be the simplest tool to backup to Google drive and easily restore?

[–] [email protected] 5 points 2 weeks ago (1 children)

With python you can use the := to assign and return new value.

[–] [email protected] 1 points 1 month ago

My one 3 is terrible. Keys dying after 2 or 3 years.

[–] [email protected] 3 points 1 month ago

I use poetry and it works really well. I would consider it solved but that doesn't mean there isn't the possibility of a better solution.

[–] [email protected] 9 points 2 months ago (7 children)

What is the principle for manual cars?

[–] [email protected] 7 points 4 months ago (2 children)

Growing up in the US public school system really painted communism in the worst light. They really only focused on those two dudes and never talked about any successful implementations of communism. I always felt like they weren't fairly representing communism in my schools. I feel like it could work but haven't found any successful examples. Could you provide a few communism successes?

[–] [email protected] 37 points 4 months ago (13 children)

Probably "Passion of the Christ". It was really hard to watch, didn't make it to the end.

[–] [email protected] 21 points 4 months ago (1 children)
 

My Internet goes down fairly often so I want to start keeping track of it.

 

Also asked them if torrenting legal stuff is allowed and they said no.

view more: next ›