sum_yung_gai

joined 2 years ago
[–] sum_yung_gai@lemm.ee 4 points 1 month ago

Makes sense. Reminds me of running ruff before the (very) slow type checker on my python projects.

[–] sum_yung_gai@lemm.ee 2 points 1 month ago (2 children)

What is the use case for linting typescript where tsc is unavailable? To avoid tsc compilation time if possible?

 

EDIT: Couldn't find anything matching what I wanted so I ended up making my own site(Work in progress). It is pretty horrible to view on mobile but is ok on desktop. PRs welcome! https://github.com/Ykrej/ServerPartDealsTable

https://ykrej.github.io/ServerPartDealsTable/

[–] sum_yung_gai@lemm.ee 2 points 4 months ago (1 children)

What model do you run? Aren't the vram requirements pretty rough for self hosting?

[–] sum_yung_gai@lemm.ee 10 points 5 months ago* (last edited 5 months 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

[–] sum_yung_gai@lemm.ee 4 points 5 months ago

I wrote a program to make a web server with routes and their content sourced from a text file in golang. I have wanted to learn go for a while so this was a good first step!

[–] sum_yung_gai@lemm.ee 2 points 6 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

[–] sum_yung_gai@lemm.ee 2 points 7 months ago

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

[–] sum_yung_gai@lemm.ee 30 points 8 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.

[–] sum_yung_gai@lemm.ee 1 points 8 months ago

Very cool! Thanks for this

[–] sum_yung_gai@lemm.ee 7 points 8 months 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.

[–] sum_yung_gai@lemm.ee 2 points 8 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.

 

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?

 

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 ›