HNHacker News
TopNewBestAskShowJobs

torqu3e

11 karma · joined December 11, 2020

submissionscomments
torqu3e··on Show HN: Git Auto Commit (GAC) – LLM-powered Git commit command line tool
Here's the 20 line bash version I whipped up a while back cuz yes lazy about writing good commit messages.

Supports claude and gemini with model selection and goes into the githook such that when you type `git commit` it invokes and generates the message.

https://gist.github.com/torqu3e/c08f4aa4e80fba66dce6c35d63dd...

torqu3e··on Ask HN: Best solution for homelab service monitoring?
TLDR - use Grafana cloud and configure the agent to do the needed things. There should almost be no need to check for SSH access if the machine is up but yes you can process monitor for sshd.

Bit of a longer dump for an answer...

Having been running services at home for way too long now and my day job being running the cloud for large businesses I am tired of special snowflakey prone to breaking hand rolled solutions. My idea of a well run infrastructure is that I should be able to walk away from it hands off for extended periods of time and it just continues running/self heals, to that effect this is what I've come down to:

- 3 node k8s cluster on a bunch of random mini nucs

- Github repo with helm charts/manifests hooked to ArgoCD (runs on cluster) for CD. All changes get checked into repo and auto deploy to cluster. https://www.argonaut.dev/ is an option to not run own ArgoCD

- Grafana cloud free tier for shipping machine/cluster metrics and monitoring. Alerting is via pushover, you can email too

- Uptime kuma on a fly.io free instance for inbound HTTP/DNS/Cert etc. monitoring from the outside hooked to techulus push/pushover for alerting

- Terraform for DNS/cloudflare management via TF cloud offering for automated deploys again

torqu3e··on Ask HN: Must have tools for a new MacBook
$ brew list -1

  ==> Formulae
  bash
  bash-completion
  bat
  flyctl
  kubectx
  kubernetes-cli
  mosh
  ripgrep   # way better grep
  starship  # awesome terminal prompt
  wget
  
  ==> Casks
  aldente   # stop your mac from charging beyond a configurable charge level
  bitwarden
  brave-browser
  ears      # switch audio source/output quickly
  kitty     # awesome terminal
  raycast   # spotlight/alfred replacement
  rectangle # window manager (successor to the unmaintained spectacle)
  shottr    # screenshotting app
  signal
  spotify
  stats     # hardware stats in the menu bar
  visual-studio-code
  vlc
  zoom
https://github.com/jaywcjlove/awesome-mac is a list of all the cool stuff you could need on a new mac organized by category.
torqu3e··on Ask HN: What's Your Side Hustle?
Mine is being an enabler for the partner's main hustle as an artist which entails being the IT guy, office manager, purchasing, research intern, whatever a small business needs done today.

She does the artwork commissions, freelance as well as sells direct to consumers https://sumitgill.me/

torqu3e··on Ask HN: Is a Master's in CS worth it?
TLDR - Read this https://ozwrites.com/masters/

Longer answer...

Have you seen https://teachyourselfcs.com/ which is literally a tailor made resource for teaching engineers to be better programmers rather than a language. It's easily a year worth of material but followed along will put you ahead of the average joe bootcamp grad trying to land the same job.

torqu3e··on Ask HN: Anyone using a WireGuard VPN they’d recommend?
Running the server end on an edgerouter as well as a sub $1/month VPS and both have been smooth!
torqu3e··on Ask HN: What is a small thing that would make your life better?
The book Atomic habits gives a great framework on how to build great habits of making these small incremental changes that compound into big gains.
torqu3e··on Ask HN: Where to get cheap VPS with big storage?
Racknerd with a discount code from lowendbox. They let you buy storage separately as well.
torqu3e··on Ask HN: What are you planning to unlearn in 2021?
This will help understand that a lot...

https://youtu.be/SkNGxM4LRKQ

torqu3e··on Print RAM Usage of process including children
All bash version of it... pgrep -f $1 | xargs -I{} pmap -x {} | grep total | awk '{sum=sum+$4}END{printf "%.2f%s", sum/1024," MB\n"}'

e.g.

$ pgrep -f bash | xargs -I{} pmap -x {} | grep total | awk '{sum=sum+$4}END{printf "%.2f%s", sum/1024," MB\n"}'

74.79 MB

torqu3e··on Ask HN: Have you had trouble with using alternative email providers?
Fastmail does email for my personal domain which is what I've been primarily using for not sure how many years and literally not once have I had any issues. Know at least a few other users in the same boat and never heard a complain.
torqu3e··on Ask HN: What's are your personal automations?
https://github.com/torqu3e/Bonafizy

Not really automation now with WFH but I had it hooked to a cron or tasker to turn the kettle on 5 minutes before the morning alarm goes off. Am quite proud of my ingenuity solving for my laziness :)