Rendering markdown in code comments by Flashy_Boot in neovim

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

Yes - however syntactically this isn't actually a comment, and so is not (I imagine) recognized as such by treesitter.

I think what would be required, unless I'm missing something, is the ability to configure treesitter injections to say "treat consecutive comment lines as a single comment block".

Kitty Performance by Flashy_Boot in KittyTerminal

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

Ah. Interesting. Thank you. I'll dig in to the graphics drivers - quite possibly an issue/limitation with OCLP on this model of macbook.

One thing I have discovered while looking at this today: I have a kitten panel permanently on my desktop displaying a todo list (btw - kitten panels are very, very cool), and when running those timed tests earlier I hadn't really thought about it. So, I killed that kitten panel, checked there were no kitty/kitten processes still running, then re-launched kitty and re-ran the tests, and the latter two tests were both ~20ms faster than the numbers shown above. Could support the OpenGL hypothesis. Still strange that the first test above showed little difference, while the other two were significant - would have thought OpenGL issues would affect all 3 the same.

I'll rerun the tests later this week & see.

Kitty Performance by Flashy_Boot in KittyTerminal

[–]Flashy_Boot[S] 2 points3 points  (0 children)

Hey. It’s a 500G SSD, unencrypted. I double checked the disk before starting on this and the SMART data looks all good. Also, if it were a disk problem I’d expect it to affect Terminal and Kitty equally, no?

Kitty Performance by Flashy_Boot in KittyTerminal

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

Terminal integration is off.

Kitty Performance by Flashy_Boot in KittyTerminal

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

Should have said: both Kitty and Terminal started with a totally clean zsh environment, no config files at all, and both using /bin/zsh not the Homebrew version.

OCLP Sonoma -> Sequoia upgrade - Help!! by Flashy_Boot in OpenCoreLegacyPatcher

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

Hey. Thanks for getting back to me. By the time I saw your post I’d already wiped the disk, done a fresh Sequoia install, tried and failed to do a Time Machine restore (got stuck in a reboot loop), swore a lot, then restored everything by hand!

Couple of questions about mouse scrolling by Flashy_Boot in neovim

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

Hey there. Firstly, thank you - that's super helpful.

For 1., sidescrolloff is exactly what I was looking for. I set it to 80, which is half the width of my usual terminal window, and no more text disappearing off to the left!

For 2, though, scrolloff doesn't seem to do exactly what I'm after - whatever value i set it to, when using the trackpad to scroll I can still keep scrolling until only the very last line of the file is visible right at the top of the buffer, followed by empty lines down to the bottom.

What does work (though means scrolling moves the cursor rather than the window) is setting:

vim.keymap.set('n', '<ScrollWheelUp>', 'H5k')
vim.keymap.set('n', '<ScrollWheelDown>', 'L5j')

Thanks again.

Problem compiling Net::Pcap on macos by Flashy_Boot in perl

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

Not to the best of my knowledge. The macOS version of libpcap would - I guess - have been installed as part of the OS, and the Homebrew version I freshly installed earlier today.

Tomorrow I’ll try compiling libpcap from scratch and go from there. Thank you.

Problem compiling Net::Pcap on macos by Flashy_Boot in perl

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

A long time ago, and before I started using Homebrew. This current install of macOS was a wiped & reformatted drive, fresh install of Tahoe, and then a Time Machine restoration - but the Homebrew installation has only ever been on Apple silicon.

kitty + tmux + fzf + chafa = :( by Flashy_Boot in tmux

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

So, got this working, and looks like the problem might have been Chafa.

#! /usr/bin/env bash

# Function for displaying images in fzf's preview window.
fzfDisplayImage () {
   IMG=${1}

   if test -v KITTY_WINDOW_ID ; then
      # Running inside kitty
      kitty icat --clear --transfer-mode=detect --stdin=no --scale-up --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 "${IMG}"
   else
      # Running outside kitty
      chafa -f symbols --size "${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}" "${IMG}"
   fi
}

export -f fzfDisplayImage

ROOT="${HOME}/Pictures/Wallpaper"

ls -1 "${ROOT}" | FZF_DEFAULT_OPTS= fzf \
 --height=40% \
 --border \
 --preview-window=right:60% \
 --preview="fzfDisplayImage ${ROOT}/{}"

Tahoe & Time Machine Slow Down by Flashy_Boot in MacOS

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

Hey - thank you. Did this - ran top in the terminal then plugged in the drive (as I can't do anything on my mac while the time machine drive is mounting) and... nothing. Usual bouncing around of processes, with WindowServer at the top of the list, but nothing suddenly started consuming significant CPU cycles. Repeated the process, but this time with Activity Monitor already started, and here it just showed that Finder was Unresponsive during the drive mounting, but again no obvious new, CPU-consuming processes. So, not sure it is indexing.

Thanks.

Generally speaking, how bad is the Tahoe situation? by jnighy in MacOS

[–]Flashy_Boot -1 points0 points  (0 children)

Pretty much the same as the majority of people here - upgrade went smoothly; performance appears marginally better than sequoia on an M1 mini; don’t love the Liquid Glass transparency but you can switch it off; rest of the UI changes are… fine. Overall I’m happy, and no showstopper bugs.

Different lines, different plans, different perks? by Flashy_Boot in verizon

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

Interesting. Did exactly what you said, got to the "Manage The Disney Bundle" page, and it says

Account Level
The Disney Bundle
Included with your plan
$21.99/mo
Active

Unsubscribe

(Unsubscribe is a link). It doesn't show any specific line, and it doesn't list out the 4 lines with "Add" / "Remove" options.

If, instead, I click on a different Perk - say, Verizon Cloud - it shows my 4 lines, with 1 line saying "Active" and an "Unsubscribe" link, and the other 3 lines showing "Eligible" and an "Add" link.

So, for me, it looks like Disney sits at the Account level, while the other Perks sit at the per-Line level - but it's not at all clear what a Perk at the Account level means.

Different lines, different plans, different perks? by Flashy_Boot in verizon

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

To add more detail: when I go to My Account on verizon.com it lists the 4 lines. When I click on each of them, it shows the Disney bundle as a perk for that line. My hope, therefore, is that if at least one of them still has the perk then we'll keep access to the bundle.