HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cjvirtucio

no profile record

comments

cjvirtucio
·il y a 3 ans·discuss
my favorite tool; makes writing a bash fun for me.
cjvirtucio
·il y a 3 ans·discuss
you could also just write as if you're writing go:

function main {

  if ! failing_cmd; then
    log "this fails!"
    return 1
  fi

  log "this won't log"
}

main

I only mention this because there are folks who don't like set -e.
cjvirtucio
·il y a 3 ans·discuss
reddit and youtube were my last remaining social platforms. quit reddit because of the API changes. might be quitting youtube, as well, because of the ads. and then there'll be nothing left for me to spend time on except code and family.
cjvirtucio
·il y a 3 ans·discuss
most fun I've had with a programming language in years
cjvirtucio
·il y a 4 ans·discuss
good ole find, grep, sed, and jq.
cjvirtucio
·il y a 4 ans·discuss
the main thing that allows me to be productive with "only" vim is, funnily enough, things outside vim: bash knowledge. search, for instance, I can usually do in flexible ways with a pipeline of commands.
cjvirtucio
·il y a 4 ans·discuss
I wouldn't mind this, honestly. a game can be solid even on an old engine. just look at how long the Monster Hunter series had been on their old engine before overhauling with World.
cjvirtucio
·il y a 4 ans·discuss
it's so much easier to glue tools together with it. I'd end up writing more code if I had used python's subprocess package or ruby's IO package. as long as I don't need a complex data structure of some sort.
cjvirtucio
·il y a 4 ans·discuss
huh. TIL, that's pretty cool. guess I know what I'm doing next weekend..
cjvirtucio
·il y a 4 ans·discuss
would've liked something like this on hugo