No relation to the sports channel.

  • 0 Posts
  • 91 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle













  • I watched this happen in a research institution in the early 2000s. Scientists who had been heavy SGI, Sun, or HP customers realized that they could get a lot more bang for their buck with beige-box PCs running Linux (or occasionally FreeBSD). Aside from up-front costs, hardware upgrades and replacements were much cheaper and easier to get for PCs.

    The big Unix vendors did not help their reputation when they started selling Windows machines — which all of them except Sun did in that era. It became increasingly clear that commercial Unix for scientific computing no longer had a future.







  • Regex is good for a few very specific things, and sysadmins used to use it for goddamn everything. If all your server logs are in lightly-structured text files on a small number of servers, being able to improvise regex is damn useful for tracking down server problems. Just write a shell loop that spawns an ssh logging into each server and running grep over the log files, to look for that weird error.

    These days, if you need to crunch production server logs you probably need to improvise in SQL and jq and protobufs or systemd assmonkery or something.

    But if you actually need a parser, for goodness sake use a parser combinator toolkit, don’t roll your own, especially not with regex. Describing your input language in plain Haskell is much nicer than kludging it.

    (This is the “totally serious software engineering advice” forum, right?)