I’m also on Mastodon as https://hachyderm.io/@BoydStephenSmithJr .

  • 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: October 2nd, 2023

help-circle






  • Might check out the Haskell layout rules.

    Basically, when you leave out the ‘{’ then Haskell uses your intendation to insert ‘;}’ on later lines between the leading whitespace and the first token.

    There some really old Haskell code out there that lines up the ‘{;}’ characters on the left under block-introduction keywords.






  • I primarily operate in strict standard compliance mode where I write against the shell specifications in the lastest Single Unix Specification and do not use a she-bang line since including one results in unspecified, implementation-defined behavior. Generally people seem to find this weird and annoying.

    Sometimes I embrace using bash as a scripting language, and use one of the env-based she-bangs. In that case, I go whole-hog on bashisns. While I use zsh as my interactive shell, even I’m not mad enough to try to use it for scripts that need to run in more than one context (like other personal accounts/machines, even).

    In ALL cases, use shellcheck and at least understand the diagnostics reported, even if you opt not to fix them. (I generally modify the script until I get a clean shellcheck run, but that can be quite involved… lists of files are pretty hard to deal with safely, actually.)


  • I build my own. Though I still need non-free software to run, I don’t think it is from any DMCA enforcers.

    System76 is not too bad if you want something mildly customizable but don’t want to futz with doing assembly yourself. I get my laptops from them.

    I’ve tried open phones (multiple) and I still use a Pixel. There is a choice, but I was willing to trade off my freedom for function there. I wish that wasn’t the choice and when I can I support efforts to make it easier for people to choose freedom there.

    So, yeah, there is often a choice. Doesn’t make the status quo acceptable.