1. 1

    Mine is at https://samrat.me – I use Hugo and host it on Netlify. Like some other people here, the Hugo theme I was using broke due to some templating changes and I too lost a few hours fixing it.

    I did write my own static site generator once and used it for my site for a while.

    1. -3

      Totally ignoring the PAGER env var. Good job.

      Also outright ignoring the result of the execpv() call and always printing an error message for it, afaict?

      1. 3

        I can’t tell if you’re being sarcastic with your comment :) . I was just trying to put out a minimal example, so felt was okay to ignore the PAGER environment variable.

        Also outright ignoring the result of the execpv() call and always printing an error message for it, afaict?

        From the execvp manpage: “The exec() functions return only if an error has occurred. The return value is -1, and errno is set to indicate the error.” Did I miss anything?

      1. 5

        Hey! Just signed up for Lobsters after lurking here for a long time. This is my first time posting here:

        • Reading Scott Young’s “Ultralearning”
        • Going to go bouldering early Sunday morning to a crag nearby here in Bangalore
        • Finalizing details and running errands for a trip to Japan in early September