• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle

  • Nonprofits can “own” for-profits.

    One of the saner reasons for this structure is that the non-profit owns the things the for-profit works on. If the for-profit goes under, all things are still owned by the non-profit, so some large tech company can’t swoop in and yoink anything available.

    This includes any and all data generated by the for-profit, which means your data is “safe”.




  • Here’s what I remember from Haskell (around 2018):

    I love the language, but hate the tooling.

    Used it for Uni (did a minor where I learned Haskell, recursion, parsing and regex - probably the most information dense part of school I’ve ever had. Half a year of minor also burned me out, so I never went for my masters; I’m OK with my Bachelors :D ), but never felt like picking it back up.






  • What’s even the “gold standard” for logging stuff I guess?

    structlog. Or just Structured Logging in general.

    Don’t do:

    logging.info(f"{something} happened!")

    But do

    logging.info(“thing-happened”, thing=something)

    Why? Your event will become a category, which means it’s easily searchable/findable, you can output either human-readable stuff (the typical {date}, {loglevel}, {event}) or just straight up JSONL (a JSON object/dict per line). If you have JSON logs you can use jq to query/filter/manipulate your logs, if you have something like ELK, you can insert your logs there and create dashboards.

    It’s amazing - though it may break your brain initially.