ArkScript lang developer, split keyboard fanatic

  • 4 Posts
  • 23 Comments
Joined 1Y ago
cake
Cake day: Jun 11, 2023

help-circle
rss

Probably too long. That was a philosophy I had at school and iirc the founders never finished school and started MS in a garage.


Who needs tests when you have users?

The testing environment is production!


This feels like not a game but a card grabber. And no, saying « this is just a game » isn’t convincing at all.


I was thinking more like just having dockers on macOS

But running a Linux like asahi is an option


Anyone self hosting on Mac mini M1/M2?
I currently have a server, a Dell T310 with an SSD in it and 12Gig of ram (weird config, I know I messed up but it works fine so I can’t be bothered to change that for now), with all my dockers running in it. It runs mostly fine, with Debian 11, a VPN so that I can block public ssh and allow it only on the VPN network, an nginx proxy to have services like a forgejo and a music library (ampache). However it can’t run a Minecraft server with more than a single person on it without stuttering ; so I was considering changing it maybe next year, after more than 3 years of services, for something beefier but also consuming less W/h (current consumption is 80W), and since I already have a Mac for work I was wondering how suitable a Mac Mini M1/M2 would be for a homelab? Does anyone have such a configuration and how does it work for you? Any hurdle that you should be aware of?
fedilink


What do you mean, I’d love to see ai design a potato


I use a plain 34 keys layout based on qwerty for letters, comma/dot/semicolon. The numpad and symbols layers are handcrafted so that every symbol is easy to reach, it’s also optimize to type things like <- and -> easily


This isn’t selfhosted but you can use uptime robot. They can send regular http get requests or ping an IP or URL, the free tier can have like 10 monitors I think? I receive an email when an host isn’t available, in 5 minutes usually.


There is still the journal you could use to recover the old state of your database. I assume you commited after your update query, thus you would need to copy first the journal, remove the updates from it, and reconstruct the db from the altered journal.

This might be harder than what I’m saying and heavily depends on which db you used, but if it was a transactional one it has to have a journal (not sure about nosql ones).


That could be because of duckduckgo anti tracking system running 24/7 on my phone haha


It doesn’t load for me, and according to the way back machine (it couldn’t save the readme somehow?) it redirects to a framagit repo that wants me to create an account.


Well that’s a bit of both: I need to be able to get on my server from work (with my phone… Yeah not great but that works), because I often break stuff haha ; also a nice thing to have when I’m on the bus and want to add more music or movies to listen to during the travel!

Are there ISPs that don’t provide dynamic IPs? I had to setup a script and get some API keys for different services to ensure the IP is properly updated on my DNS servers.

Speaking of brutality, I considered doing the same but then I would have banned myself from testing the APIs of my services 🤧


No, this doesn’t remove the need to stay up to date.

However, it works on my server and was very easy to setup: a few ufw rules so that port 22 is blocked everywhere, allowed only on the VPN IP range and my local network range. Nmapping from outside does not show port 22 accessible, and indeed you can’t SSH to it without the VPN.

Security is quite tough to get right eh? I tried my best to harden everything opening ports on my server, having a fail2ban, VPN for maintenance, webserver to expose some personal services…


One could setup a VPN and expose the SSH port to the VPN network only. It think tailscale operates this way?



I’ll bite the bullet: I’m making my own scripting language for fun, as a learning experience and a tool for my own projects. If it can help others, great! But that’s not my main goal.

In nearly 5 years working on it, I’ve made at most 400$ from donations and grants. Open source isn’t a viable source of income, no matter what ; and programming language dev is even less profitable.


All I see is another wannabe generic purpose and C++ (and Rust? Already?) replacement. I’m not saying they shouldn’t try, but a lot have already and it’s pretty tough. C alternatives like Zig and Nim don’t seem to have taken off, Vala either.


Synth Waves 84 with a few colors tweaks to the comments to make them more green. Also disabled gloomy effects even though that can look cool for 5 seconds.


I prefer being delusional and a cranky old dev, rather than trusting AI by giving all of my workplace code and logic. Powerful? Maybe. Helping you ship products faster? I don’t know ; no metrics have been published about that in controlled settings, and I still think people will get lazy and after some time even the ones that tweaked the code and analyzed it thoroughly will just stop caring.

Go ahead, jump in that bandwagon, and prove me wrong in 5 years. All I want is proof.

Also, I didn’t know one could be a cranky old dev after a few years of experience only


I didn’t say that people should go on the internet and pick the first forum post either ; that would be like trusting whatever chatgpt is handing you :p

My point was more on the “people are lazy” side of things, but yeah you have to stay critical of both chatgpt and forum posts.


People prefer having something generating shitty code and not checking it, instead of asking or searching on internet for a substantially better solution


Short SMART test, the drive is 5 years old at most. The most I’m doing on the drive is MB/s… So it should be fine

I’ll try to get a new drive, probably SSD. Can it be related to the drives card? I have an hardware RAID drive aggregator card, with a single disk on it (had 3 in the past and the 2 oldest ones just died at the same time, making scratching noises ; they were 10+ years old but SMART said everything is fine (short one, haven’t tried a long one as smartctl -a tells me it will take about 5-10 for all disks).


I turned it off after taking the pic. Will try, thanks


It boots “fine”, but I’m now pretty sure it will crash again the same way. The disk is only 5 years old, I hope it’s not an hardware problem.


I screwed up but dont know how/what
3 days ago I setup fail2ban. Nothing fancy, just reading the logs of my docker containers where it applied. Then 2 days ago my server crashed out of nowhere, nothing in the f2b logs (I thought I had banned the entire internet by mistake), doing a nap just tells me port 80 and 443 were open (a few more should have been for Plex). The same happened yesterday and I pulled the cable just in case I was being hacked (I'm paranoid but not too much), and looked in it. usually I ssh from my local network into the server, but couldn't this time, so I put a screen on it and it was quickly flooded with systemd failures and ext4 errors. I reformated the disk a few months ago and ran a SMART, it told me the disk was fine, no error detected. It is a chonky 2TB disk and I have at most 150gigs used (movies, music, backups waiting to be transferred on daily basis to other servers/media, dockers). Where should I look? I know how to work with Linux but when looking for a problem like this, except using systemctl status/restart I'm lost.
fedilink

A dashboard / widget to monitor fail2ban jails?
Hi all, I'm looking for a dashboard or widget for [homepage](https://github.com/benphelps/homepage) to be able to monitor quickly my fail2ban jails. Does it even exist? How do you people monitor your jails? I don't want to go through the hassle of setting up a mail server and send report daily/weekly
fedilink