News for hackers. Stuff that matters.
Re:Website hosted on a 24 year old Linux server by doublerabbit on Thursday April 06, 2023 @11:53AM (#35470159)
> You mostly likely need a WAL Mode SQLite database.

Overkill, If you are writing to the text file only to increment a number of visitors, none of what you mentioned above is even required.

Create a "counter-hit" file for each visitor, count the number of files in the resources directory. Populate the master file with the file count and delete all the temporary files. Configure it on a crontab for say every three seconds.

Online now was even easier. IFrame refresh within the homepage. Upon refresh, populate the file with something like "online=true". Read the file every X, if the file modifcation hasn't been refreshed within 30 seconds, nerf the text file and mark that user as offline. psuedo-dynamic, but times were different then. I coded these in perl back in the day for my RTCW clan and how I miss it much.

Being a webmaster was art, an art that's now lost..

Re:Website hosted on a 24 year old Linux server by artificial on Thursday April 06, 2023 @12:32PM (#35470802)
64 Player Depot. I always had a fondness for Tram. Played CAL Main. Good times. v43