- 18 Posts
- 159 Comments
Jeena@piefed.jeena.netto
Technology@beehaw.org•Bluesky rolls out age verification for users in Ohio | TechCrunchEnglish
101·1 year agoI wonder how they do it for their distributed system.
What. Features does your programming language have and are you defining it in the Backus-Naur Form or are you doing it in a different way?
It’s now already 14 years ago when I did the compiler course at university, but it was one of the most interesting ones, even if the lab was quite hard to do, I learned so much!
But that doesn’t sound very bad to me, I wish I had a garden :D
you could ask AI to summerize it for you :D
Interesting that you make those very small programs in Rust which feels like a huge overhead, but at the same time I feel this would be a way to get into Rust, every time I try something it’s so overwhelming because I’m trying to solve a too big of a problem while learning Rust so I just give up on it.
A script which will find random pictures of anyone in the family from the Immich database, resize them and add metadata on them like where they were taken and when and put them on the TV to show as kind of a screen saver when we’re at home.
I like this Facebook feature which shows you “Today 10 years ago”, Immich, does have it in it’s UI too and perhaps I will mix in those pictures also to show on TV.
Jeena@piefed.jeena.netto
Programming@programming.dev•Let's Make Sure Github Doesn't Become the only Option - Edward LoveallEnglish
47·1 year agoI already set up my own forgejo instance and moved my code off of GitHub:
Jeena@piefed.jeena.netto
Programming@programming.dev•The Latest VS Code Release - auto-choosing LLMs, todos, checkout multibranchesEnglish
18·1 year agoSo many awesome AI features, and I just switched to helix /s
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
1·1 year agoHm, but this only works on tmpfs which is in memory. It seems that with XFS I could have done it too: https://fabianlee.org/2020/01/13/linux-using-xfs-project-quotas-to-limit-capacity-within-a-subdirectory/ but I used ext4 out of habit.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
1·1 year agoFor now I asked chatgtp to help me to implement a simple return 403 on bot user agent. I looked into my logs and collected the bot names which I saw. I know it won’t hold forever but for now it’s quite nice, I just added this file to /etc/nginx/conf.d/block_bots.conf and it gets run before all the vhosts and rejects all bots. The rest just goes normally to the vhosts. This way I don’t need to implement it in each vhost seperatelly.
➜ jeena@Abraham conf.d cat block_bots.conf # /etc/nginx/conf.d/block_bots.conf # 1️⃣ Map user agents to $bad_bot map $http_user_agent $bad_bot { default 0; ~*SemrushBot 1; ~*AhrefsBot 1; ~*PetalBot 1; ~*YisouSpider 1; ~*Amazonbot 1; ~*VelenPublicWebCrawler 1; ~*DataForSeoBot 1; ~*Expanse,\ a\ Palo\ Alto\ Networks\ company 1; ~*BacklinksExtendedBot 1; ~*ClaudeBot 1; ~*OAI-SearchBot 1; ~*GPTBot 1; ~*meta-externalagent 1; } # 2️⃣ Global default server to block bad bots server { listen 80 default_server; listen [::]:80 default_server; listen 443 ssl default_server; listen [::]:443 ssl default_server; # dummy SSL cert for HTTPS ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; # block bad bots if ($bad_bot) { return 403; } # close connection for anything else hitting default server return 444; }
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
2·1 year agoI already have LVM but I was using it to combine drives. But it’s not a bad idea, if I can’t do it with Docker, at least that would be a different solution.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
6·1 year agoOk, there was one issue already and I added my comment to it: https://codeberg.org/forgejo/forgejo/issues/7011#issuecomment-7022288
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
41·1 year agoSadly that’s not the solution to my problem. The whole point op open-sourcing for me is to make it accessible to as many people as possible.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
1·1 year agoHm, I’m afraid none of them really seems to cover the repo-archives case, therefor I’m afraid the size:all doesn’t include the repo-archives either.
But I’m running it in a container, perhaps I can limit the size the container gets assigned.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
2·1 year agoI have monitoring of it, but it happened during night when I was sleeping.
Actually I saw a lot of forgejo action on the server yesterday but didn’t think it would go so fast.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
4·1 year agoThere is no setting like that, at least I can’t find it.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
18·1 year agoCodeberg is a instance of forgejo, I run my own instance because I don’t want to be dependent on others.
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
3·1 year agoI need to look into it, thanks!
Jeena@piefed.jeena.netOPto
Selfhosted@lemmy.world•Forgejo fills up hard drive with repo-archivesEnglish
3·1 year agoYeah, I really need to figure out how to do quotas per service.





Start with RISC-V https://en.wikipedia.org/wiki/RISC-V