• 3 Posts
  • 24 Comments
Joined 3 years ago
cake
Cake day: June 1st, 2023

help-circle


  • Maybe 25 years ago i build my first website for a paying customer ( my dad). I decided to go for php which was new to me at the time.

    I figured it would be too risky ( even back then) to have PHP generate dynamic pages so instead I had php generate static html.

    So whenever website needed updating , for example a new folder with images was added, you could just load the admin.php and it would generate gallery pages for you.

    Would probably still work 25 year later if wasn’t eventually replaced with some WordPress or something









  • I forced a shutdown of my Linux server by holding down the power button last night after it had been thrashing the harddisk for I don’t know how long.

    Wouldn’t respond to SSH so I just gave up, guess I could have tried to plug in a keyboard and use some magic keys.

    Maybe I should just remove the swapfile and let it kill something before it gets to that state. Or is that what swappiness setting is supposed to prevent? Only swap out stuff that is not actively used? In any case defaults don’t seem to work very well for me.

    Guess I’ll have to go boot it again today and try to find out what went wrong from the logs.