HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cjvirtucio

no profile record

comments

cjvirtucio
·3 anni fa·discuss
my favorite tool; makes writing a bash fun for me.
cjvirtucio
·3 anni fa·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
·3 anni fa·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
·3 anni fa·discuss
most fun I've had with a programming language in years
cjvirtucio
·4 anni fa·discuss
good ole find, grep, sed, and jq.
cjvirtucio
·4 anni fa·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
·4 anni fa·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
·4 anni fa·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
·4 anni fa·discuss
huh. TIL, that's pretty cool. guess I know what I'm doing next weekend..
cjvirtucio
·4 anni fa·discuss
would've liked something like this on hugo
cjvirtucio
·4 anni fa·discuss
>Knowing that I had two offers, and that I had gone through a very long process with them and having received an offer, I knew that I was a candidate they'd like to hire. This is the perfect time to get that extra worth, as you hold a lot of the chips, especially with two offers.

This has always been really hard for me to do, particularly if I actually am happy with the offer. It could be imposter syndrome, where I often feel like I don't "deserve" it.
cjvirtucio
·4 anni fa·discuss
I've worked with .NET in the past few years and I've been pretty happy with it. The syntactic sugar is great, and it seems like we get interesting new features every release. My favorite from .NET 6.0 has to be the integration of dotnet-format as a subcommand. I regularly use vim so being able to format code without opening an IDE has been really helpful.
cjvirtucio
·4 anni fa·discuss
Ansible has a linter. We do use it on our playbooks (locally and in CI). There's also a framework for testing and linting ansible plugins (ansible-test IIRC), though that's been a little painful for us to setup.

That said, we do have a lot of helper scripts that we use in our day-to-day (local development). They're not "large bash scripts", but they're small enough that we don't really need a proper programming language. Some degree of code quality with style guides and shellcheck does help.
cjvirtucio
·4 anni fa·discuss
I find tests more helpful when the implementation is stable. It's a little tedious to re-write test cases as unknowns come up.