News for hackers. Stuff that matters.

muhmud

Re:Show HN: Qsh – Improved database querying from your terminal on Thursday September 16, 2021 @02:01PM (#28554964)
This reminds me of the LSP server for SQL in neovim. Its also nice, however, I want the actual terminal SQL client available as well.
Re:Show HN: Qsh – Improved database querying from your terminal on Thursday September 16, 2021 @10:31AM (#28552311)
These look nice, I just prefer having an editor with a whole bunch of queries in it.
That's basically it; you get LSP, Treesitter, completion, snippets, ... all setup and ready to go. I've been using it for a few weeks now and it's pretty nice.

If you want to try it, use the rolling branch.

Re:Java for Everything (2014) on Monday April 26, 2021 @09:36PM (#26950756)
Java 11 now has a built-in mechanism to run a single file Java program: https://medium.com/se-notes-by-alexey-novakov/shell-script-i...
This is my main issue with Ansible: as soon as you run a single raw shell command, haven't the main benefits of Ansible just disappeared? And wouldn't it be likely that you'll probably need to do this pretty regularly?

Some of the modules seem pretty pointless as well, like the synchronize files one; why not just use rsync directly? And while you're at it, just SSH to servers from shell! Sure, you would need something similar to the inventory, but that wouldn't be too difficult to come up with...

I think investing time in building a library of idempotent shell scripts instead is the way to go personally.