ArkScript lang developer, split keyboard fanatic
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).
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…
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.
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
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).
Probably too long. That was a philosophy I had at school and iirc the founders never finished school and started MS in a garage.