[–] 1 point 1 month ago (2 children)

You could do ./$TEMPDIR or better yet, just check it is still defined and non-empty.

Or even betterer yet, don't use Bash for something that you want to be robust. That's like trying to build a life vest out of knives.

  • source
  • [+] -6 points 1 month ago (11 children)

    It's absolutely going to last. IMO until Astra the models were not good enough to really be worth bothering with, but we've reached a tipping point.

    And while I still do read the code they make and then fix things (or tell them to do things differently), it's still waaaay quicker than doing it "by hand".

    Sorry but if you're expecting this to be a temporary thing you're going to be very disappointed.

  • source
  • parent
  • context
  • [–] 7 points 2 months ago

    Leetcode is still good for weeding out people who can't code at all. I would never give someone a "hard" question from leetcode.com because those are more or less "have you practiced this?" but definitely easy and most medium questions are ok. You'd be surprised how many candidates can't do an easy leetcode.com question.

    It is perhaps slightly less relevant with AI being good, but really if you're happy hiring someone who can't write a for loop but can talk to AI, what added value are they even bringing?

  • source
  • [–] 18 points 2 months ago (1 child)

    In order or preference, out of the ones I'm familiar with:

    1. Java. Very simple. Diff friendly. Import names match the filesystem.
    2. Rust. Also good - you can do it diff friendly though nobody does. Slightly confusing distinction between module hierarchy and filesystem.
    3. Python. Pretty bad. Conflates third party packages with local files, almost nobody actually understands relative imports, even more confusing distinction between module hierarchy and filesystem. Module imports can have side effects. Unnecessarily different syntax between import... and from .... import....
    4. C/C++. Obviously this is the worst.
  • source
  • view more: ‹ prev next ›