[–] 1 point 10 months ago (1 child)

At a previous job I remember a PR to do essentially

temp=$(mktemp -d) mv $target $temp rm -r $temp &

I thought it was pretty clever. Obviously you would need to make sure mktemp is on the same filesystem (there are good flags to just use a dot file in the current directory). mv is atomic on most filesystems and then the & just runs the rm in the background .

  • source
  • [–] 38 points 11 months ago (2 children)

    Hard to imagine but back in the day it wasn’t up to your operating system to distribute software. They were just a platform and you had open choice to obtain software.

    Apple showcasing what their hardware and software was capable of was normal. I don’t think this was negligent but maybe naive seeing how things are run now. It was much better and we got better products and competition.

    Budgie was an apple developer before with Marathon which was exclusive not because of any distribution rights but just preference for the platform.

    Alas money talks.

  • source
  • parent
  • context
  • view more: ‹ prev next ›