sum_yung_gai

joined 2 years ago
[โ€“] [email protected] 10 points 1 month ago* (last edited 1 month ago) (1 children)

Prob gonna get downvoted but lemmy is so negative. I feel like what gets the most up votes is negativity with no nuance. Like this post is comparing working endlessly on a literally endless grueling task that has no benefit to a job which gives us money to do the things we want to do in life.

Maybe it's on me for not curating my feed more but the negativity on lemmy is getting old. Does anyone else notice this trend of negativity?

Edit: I suppose I'm being negative about negativity. Am I a hypocrite? Lol

[โ€“] [email protected] 2 points 3 months ago (1 children)

If it's just xml parsing and you are willing to rewrite in typescript I recommend writing as a static web app served through GitHub pages. Free hosting :D

[โ€“] [email protected] 2 points 3 months ago

Is it because it reduces dysphoria/improves mental health? I am not trying to be rude, I just want to understand.

[โ€“] [email protected] 7 points 3 months ago (2 children)
[โ€“] [email protected] 32 points 4 months ago

My main project is in a private repo with me as the sole dev but I swear there is some dumbass pushing shitty code.

[โ€“] [email protected] 2 points 5 months 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] 5 points 5 months 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 5 months 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 5 months ago (1 children)

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

[โ€“] [email protected] 1 points 6 months ago

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

[โ€“] [email protected] 3 points 6 months 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 7 months ago (7 children)

What is the principle for manual cars?

 

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

view more: next โ€บ