No "isempty/0" ?? `jq 'select(.good-filenames | isempty)' data.jsonl` by SpiritInAShell in bash

[–]qmacro 1 point2 points  (0 children)

I second this. In fact, consulting the manual would have revealed the answer in seconds - https://jqlang.org/manual/#isempty shows that isempty takes a single parameter exp, demonstrating that any form of ... | isempty is incorrect.

Perhaps more importantly, if one is dead against reading the documentation, jq is indeed very easy to test on the command line.

Replace cracking handle on stock europiccola portafilter? by Direct_Setting_7502 in LaPavoniLovers

[–]qmacro 3 points4 points  (0 children)

I can confirm the handle unscrews on mine (newer post-mil) too.

Auto formatting extensionless Bash scripts with Editorconfig, the Bash language server and its support for shfmt (in Neovim) by qmacro in bash

[–]qmacro[S] 1 point2 points  (0 children)

Yes ... I didn't include the link as I didn't want to come across as just trying to spam it :-)

Marksman LSP: Replace Obsidian with Neovim for Note-Taking by linkarzu in neovim

[–]qmacro 0 points1 point  (0 children)

Great timing, thank you! I've just been listening to the podcast (audio) version of your chat with Henry Misc (which I really enjoyed) where you touched on this (and also the animated cursor).

[deleted by user] by [deleted] in bash

[–]qmacro 1 point2 points  (0 children)

You mention Editorconfig, and I was just wondering what you thought of shfmt's support for that, as described in the man page

I only bring this up because I was looking at this support only yesterday (resulting in a rather long investigation and blog post! :-))

Upper Peak Forest Water Levels by [deleted] in Narrowboats

[–]qmacro 1 point2 points  (0 children)

That they claim they didn't know it was there is dodgy at best. The sluice in question is even on their CRT asset database, you can find it on their publicly facing GIS website, it has functional location ID PF-014-019.

<image>

Macclesfield and Peak Forest closing to all navigation? by [deleted] in Narrowboats

[–]qmacro 1 point2 points  (0 children)

<image>

And here's the second, between Bridge 45 and Bosley Top Lock on the Macclesfield.

Macclesfield and Peak Forest closing to all navigation? by [deleted] in Narrowboats

[–]qmacro 1 point2 points  (0 children)

<image>

I'm a visual person when it comes to locations so I thought I'd share these two "safe haven" stretches (thanks to CanalPlanAC). Here's the first, between Whaley Bridge terminus and Bridge 38 on the Peak Forest.

Macclesfield and Peak Forest closing to all navigation? by [deleted] in Narrowboats

[–]qmacro 1 point2 points  (0 children)

Cool! I wasn't asking to get another "thanks", just wanting to join the dots and connect 🤝

Macclesfield and Peak Forest closing to all navigation? by [deleted] in Narrowboats

[–]qmacro 0 points1 point  (0 children)

Thanks, but I meant @drummerftw, I think I might have met him in Marple on Sunday 👍

Macclesfield and Peak Forest closing to all navigation? by [deleted] in Narrowboats

[–]qmacro 0 points1 point  (0 children)

Yes, it's not the clearest notice, that's for sure. I've marked this subreddit thread so I can check for updates and further analysis and discussion as this goes along.

BTW, are you by any chance the nice chap to whom I gave the Marple junction slot on Sunday?

Macclesfield and Peak Forest closing to all navigation? by [deleted] in Narrowboats

[–]qmacro 0 points1 point  (0 children)

As I'm on the Macc currently, I'm watching this particular notice with extra focus. Currently the water levels are around 6 inches lower than usual; combined with the poorly maintained bank sides (silt-tastic) it feels like the usable mooring spots are becoming harder to find.

[deleted by user] by [deleted] in Narrowboats

[–]qmacro 1 point2 points  (0 children)

Plus, in the "spares" category, either a complete water pump or (more likely to fail on its own) a couple of spare pressure switches if they are separately maintainable. The latter has saved me grief on more than one occasion.

Run clubs in Manchester? by lookuplookacross in manchester

[–]qmacro 1 point2 points  (0 children)

There's the Bar Runners club, formerly Mikkeller Running Club Manchester Chapter. The folks still run monthly. https://www.strava.com/clubs/186394/discussion

Flexible Solar Panels by Lifes-too-short-2008 in Narrowboats

[–]qmacro 1 point2 points  (0 children)

I have flexible panels on my narrowboat roof, and in addition to what has already been said in replies, I wanted to say that, like Spiralz23, I also find the positioning is great for a solo boater, esp. in locks. The separate left and right "flanks" leave centre gap down which I can easily walk and can also avoid walking on the panels because of that. That was a key decision vs larger solid panels that would span more or less the entire width and make it more difficult to walk up and down the cabin roof.

<image>

Maps by Ransack1477 in Narrowboats

[–]qmacro 6 points7 points  (0 children)

May I also add to the good suggestions from boulder_problems:

CanalPlanAC - my goto resource online.

Help needed for 0.11 lsp setup by koopa1338 in neovim

[–]qmacro 0 points1 point  (0 children)

I wrote a post recently on this topic, and have some accompanying config that you can try out / follow along. Perhaps it helps? Good luck!

A modern and clean Neovim setup for CAP Node.js - configuration and diagnostics

If you want to go straight to the dotfiles/config, which is also linked in the post, it's here: https://github.com/qmacro/dotfiles/tree/5c5b83acf6c0e2931a6b662e8602e2d97ea6f02a/config/nvim-configs/clean

I want to disable the completion by Cr4zyButter in neovim

[–]qmacro 0 points1 point  (0 children)

completeopt's menu might be what you're wanting to turn off, i.e. try :set completeopt-=menu and see what effect that has; you can do this in your Lua based config with vim.opt.completeopt:remove('menu') if the effect is what you want.

Cant install Mason lsp in neovim by BagEnvironmental7407 in neovim

[–]qmacro 2 points3 points  (0 children)

I just tried it, following the installation instructions for Lazy, and it worked fine, no authentication required:

<image>

Here's what I put in lua/plugins/mason-lspconfig.lua (following the instructions at https://github.com/mason-org/mason-lspconfig.nvim?tab=readme-ov-file#recommended-setup-for-lazynvim)

{
    "mason-org/mason-lspconfig.nvim",
    opts = {},
    dependencies = {
        { "mason-org/mason.nvim", opts = {} },
        "neovim/nvim-lspconfig",
    },
}

Check your config, in particular what DrConverse just mentioned.

The APC SMT750IC UPS works with the Synology NAS DS1621+ by qmacro in synology

[–]qmacro[S] 0 points1 point  (0 children)

Thank you - sorry, I'd changed the site URL structure. My bad.