HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nsb1

no profile record

comments

nsb1
·22 days ago·discuss
Halos == HAL OS ? That didn't work out so well in 2001
nsb1
·24 days ago·discuss
There! Are! Three! Trees!

-- Picard
nsb1
·5 months ago·discuss
Who doesn't like grey-on-slightly-darker-grey for readability?
nsb1
·6 months ago·discuss
The best thing I ever told Claude to do was "Swear profusely when discussing code and code changes". Probably says more about me than Claude, but it makes me snicker.
nsb1
·6 months ago·discuss
A lot of the complaints about these tools seems to revolve around their current lack of ability to innovate for greenfield or overly complex tasks. I would agree with this assessment in their current state, but this sentiment of "I will only use AI coding tools when they can do 100% of my job" seems short-sighted.

The fact of the matter, in my experience, is that most of the day to day software tasks done by an individual developer are not greenfield, complex tasks. They're boring data-slinging or protocol wrangling. This sort of thing has been done a thousand times by developers everywhere, and frankly there's really no need to do the vast majority of this work again when the AIs have all been trained on this very data.

I have had great success using AIs as vast collections of lego blocks. I don't "vibe code", I "lego code", telling the AI the general shape and letting it assemble the pieces. Does it build garbage sometimes? Sure, but who doesn't from time to time? I'm experienced enough notice the garbage smell and take corrective action or toss it and try again. Could there be strange crevices in a lego-coded application that the AI doesn't quite have a piece for? Absolutely! Write that bit yourself and then get on with your day.

If the only thing you use these tools for is doing simple grunt-work tasks, they're still useful, and dismissing them is, in my opinion, a mistake.
nsb1
·12 months ago·discuss
For those interested in self-hosting, here's a site that maintains a collection of self-hostable services.

https://selfh.st
nsb1
·12 months ago·discuss
Reminds me of the Acts of Gord, but with less malice.

https://www.actsofgord.com/
nsb1
·last year·discuss
But why not 'Thickel'?? It was right there!
nsb1
·last year·discuss
I cribbed these from someplace - slightly different approach:

  ###################################################################
  # Add directory to path
  pathadd() {          
      newelement=${1%/}
      if [ -d "$1" ] && ! echo $PATH | grep -E -q "(^|:)$newelement($|:)" ; then
          if [ "$2" = "after" ] ; then
              PATH="$PATH:$newelement"
          else         
              PATH="$newelement:$PATH"
          fi
      fi
  }
 
  ###################################################################
  # Remove directory from path
  pathrm() {
      PATH="$(echo $PATH | sed -e "s;\(^\|:\)${1%/}\(:\|\$\);\1\2;g" -e \
      's;^:\|:$;;g' -e 's;::;:;g')"
  }