(Justin)

Tech nerd from Sweden

Matrix: @jlh:jlh.name

  • 2 Posts
  • 416 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle




  • Build scripts are often written in bash, yes, but I would say that you should find a utility program, or write your own utility in python, if you’re breaking out sed. It’s very hard to read code like this, no matter the team size.

    There’s probably only 100-300 usages of sed in the entire nixpkgs repo, with over 100,000 packages.

    I definitely agree Linux is easier to maintain and build code on than Windows, but yeah abusing sed is not really an ideal use case 😅












  • I’m looking at the future and what might be good replacement that offers a blend of power-efficiency, flexibility, and storage cost.

    Any modern CPU will improve energy efficiency. AMD AM4 platform and Intel N100 are very cheap. AMD SP3 platform is also very cheap and has a ton of PCIe lanes and memory expandability for gpus, NVMe, and running lots of VMs.

    For storage cost, used hdds are currently $8/TB, generic NVMe is currently $45, and used enterprise SSDs are $50/TB, decide which you want to invest in depending on your needs. Used enterprise drives will be the fastest and most durable for databases and RAID.

    https://diskprices.com/

    https://www.ebay.com/sch/i.html?_nkw=pm983+m.2

    SSD prices are expected to decrease faster than HDD prices, and will probably overtake HDDs for value in ~5 years.

    About dGPUs, Intel A310 is the best transcoding Gpu out there. Used Nvidia datacenter gpus probably have the best vram/$ and pytorch compatibility for AI