• 1 Post
  • 13 Comments
Joined 9 months ago
cake
Cake day: March 4th, 2024

help-circle



  • Well cron is “really easy” as long as your requirements are really easy too.

    Run a task at specific hour or minute or weekday or whatever? Easy peasy.

    Run a task at complex intervals? What the fuck is this syntax. How do I get it right even. Guess I’ll come back next week and see if it ran correctly.

    Actually have to look at the calendar to schedule this stuff? Oh lawd here come the hacks, they’re so wide, they’re coming

    Run a task at, say, granularity of seconds? Of course it’s not supported, who would ever need that, if you really need that just do an evil janky shellscript hack


  • Well, systemd developers made one of the classic blunders a software developer can do: make a program that has to deal with time and dates. Every time I have to deal with timestamps I’m like “oh shit, here we go again”.

    Anyway, as I understood it the reason this is in systemd is because they wanted to replace cron, and it’s fine by me because cron has it’s own brain-hurt. (The cron syntax is something that always makes me squint real hard for a while.)


  • But it would have been great for a Shakespearian minor joke character bit.

    GUARD: “See, milord, how in this year’s almanack the booba hath been veil’d, compared to last year’s edition.”

    KING: “Greatly?”

    GUARD: “Yes, greatly indeed! Two inches of cloth more!”

    KING: “Thou art a nutter and I ought to throw thee in the madhouse.”

    GUARD: “But you wouldn’t dare, sire? Tales of your treachery and oppression already circle widely.”

    KING: “Thou shouldst consider thee lucky that we have to get the Hell onward with our plot.”






  • /mnt is meant for volumes that you manually mount temporarily. This used to be basically the only way to use removable media back in the day.

    /media came to be when the automatic mounting of removable media became a fashionable thing.

    And it’s kind of the same to this day. /media is understood to be managed by automounters and /mnt is what you’re supposed to mess with as a user.




  • About 10 years ago I was like “FINE, clearly 512MB of memory isn’t enough to avoid swapping hell, I’ll get 1 GB of extra memory.” …and that was that!

    These days I’m like “4 GB on a single board computer? Oh that’s fine. You may need that much to run a browser. And who’s going to run a browser regularly on a SBC? …oh I’ve done it a lot of times and it’s… fine.”

    The thing I learned is that you can run a whole bunch of SHIT HOT server software on a system with less than a gigabyte of memory. The moment you run a web browser? FUCK ALL THAT.

    And that’s basically what I found out long ago. I had a laptop that had like 32 megs of memory. Could be a perfectly productive person with that. Emacs. Darcs. SSH over a weird USB Wi-Fi dongle. But running a web browser? Can’t do Firefox. Opera kinda worked. Wouldn’t work nowadays, no. But Emacs probably still would.