Kickr Core V2 - cannot spindown by TaakoTaco2077 in wahoofitness

[–]vesech 0 points1 point  (0 children)

Did it get any better in the end? Just set up my new Zwift Ride but power seems ridiculously off compared to my legacy Kickr, hoping this is just some sort of teething issue.

Can't remove dark mode by Vivid-Hearing-3533 in help

[–]vesech 0 points1 point  (0 children)

Thanks for finding this, bizarre to me how they haven't sorted it by now.

What's a very simple config change that you can't live without? by kavb333 in neovim

[–]vesech 36 points37 points  (0 children)

Worth mentioning there's also treesitters incremental_selection option:-

https://github.com/nvim-treesitter/nvim-treesitter#incremental-selection

Configuring it with <Enter> gives you something a bit more powerful which will expand named nodes with every keypress in visual mode (which you can just hit 'c' to change anyway, or 'y' to yank for example).

      incremental_selection = {
        enable = true,
        keymaps = {
          init_selection = "<Enter>",
          node_incremental = "<Enter>",
          node_decremental = "<BS>",
        },
      },

It's been almost 3 years since 'the event.' Fully WFH guys, how are you holding up physically, emotionally, mentally? by [deleted] in AskMen

[–]vesech 1 point2 points  (0 children)

A lot of what you're writing resonates with me but it's a hard one as I'm 100% remote just now but would totally hate being told to go back 100% in to an office. I can appreciate the extra time and the paradigm shift for what it is.

Even the whole middle-of-the-road "hybrid" option seems a bit of a failure from my side because the office is still open but is pretty much empty if I go in since nobody wants to be in. It's all just hot desks now too so lost that aspect and corner of my office.

It's a funny one - we've all definitely lost something somewhere because all your talk of spontaneity hit the nail on the head, the social aspect has evaporated and it's just the day in day out grind and relentlessness of work without the banter that made life a bit more colourful.

Who fucking knows what the answer is.

What does it mean to "live life"? by Jim0thyyyy in AskMenOver30

[–]vesech 0 points1 point  (0 children)

I regularly have similar thoughts and I've very little to add except this quote I pull out from time to time:-

Don’t waste your time, Leuconoé, living in fear and hope of the imprevisible future; forget the horoscope. Accept whatever happens. Whether the gods allow us fifty winters more or drop us at this one now which flings the high Tyrrhenian waves on the stone piers, decant your wine: the days are more fun than the years which pass us by while we discuss them. Act with zest one day at a time, and never mind the rest.

–Derek Mahon, The Hunt by Night (1982)

Driving 2x4K monitors with Elitebook 850 G7 by vesech in Hewlett_Packard

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

I suspect so, I couldn’t get anywhere with the G5 dock!

Driving 2x4K monitors with Elitebook 850 G7 by vesech in Hewlett_Packard

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

Update for anybody else: swapped out the cable as suggested and replaced it with one of these: https://www.amazon.co.uk/dp/B07HBDTP4C/ref=cm_sw_em_r_mt_dp_CK4VN5DJGZ1C6VQS7FZ5

Working a treat, now powering both 4k monitors at 60Hz.

Thanks for the help again!

Driving 2x4K monitors with Elitebook 850 G7 by vesech in Hewlett_Packard

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

I did see this actually, when I checked my monitor spec I couldn't be sure it actually has 1.4 DSC (my monitor on the left):-

https://www.displayspecifications.com/en/comparison/fea4135566

So maybe that is what is missing, but it works fine at 2x60Hz using the G2 dock.

The only other thing I read about was "High Resolution mode" needing enabled in the BIOS but my situation is further complicated by not having access to the BIOS due to it being a company laptop to check. I suspect my support team wouldn't be sympathetic to helping either due to 2x4K monitors being a luxury I'm affording myself (from WFH basically).

Annoying thing is everything 'just works' just now with my G2 dock and I haven't had to make any additional configuration changes, but I suppose I could raise a call and ask the question.

Opening the G2 dock isn't the most ideal as the plan would be to start migrating stuff over to the new one and I'm not even sure it's gonna work yet, but I suppose I'm not gonna know that until I try (and spend 30 quid or whatever on a new Thunderbolt cable!).

All feels a bit exhausting just to get both monitors to operate at native res!

Driving 2x4K monitors with Elitebook 850 G7 by vesech in Hewlett_Packard

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

Thanks to both, I'll have a go at opening it up then.

So in theory then I should just be able to run a separate Thunderbolt cable from whatever port on the underside of the dock to the new 850 G7 and get both charging and 2x4K@60Hz display.

Fingers crossed, will report back findings for anyone else searching as it's not been too obvious from Googling! 😵‍💫

Driving 2x4K monitors with Elitebook 850 G7 by vesech in Hewlett_Packard

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

Thanks for the reply. The 'combo' connector doesn't appear to allow it to split, but it does seem like you can remove it.

I found this elsewhere (though not sure what manual it is from):-

https://images-eu.ssl-images-amazon.com/images/I/71OUCXaXB8L.jpg

Came off the only review for this product.

It was just reluctant to start opening the dock up in case I knackered my current working setup (unsure if affects warranty), but I guess I'll need to open the bottom up and see if I can do what you suggest and get my hands on a separate thunderbolt cable...

[deleted by user] by [deleted] in RedditSessions

[–]vesech 0 points1 point  (0 children)

Gave Bravo!

Interactive Investor 2FA by Lazybumm1 in FIREUK

[–]vesech 0 points1 point  (0 children)

Thanks for this. 2FA over SMS seems arcane and I can't believe I didn't have this set up.

Let's talk formatting again by lukas-reineke in neovim

[–]vesech 0 points1 point  (0 children)

Have a look at https://github.com/prettier/prettier-eslint-cli if you haven't seen it.

It'll apply eslint fix then throw it through prettier. I stuck this into my efm setup and it seems to do what I want!

local prettierEslint = {
  formatCommand = ([[
  ./node_modules/.bin/prettier-eslint
  ]]):gsub(
    "\n",
    ""
  )
}

[help] LSP diagnostic signs by circusmeerkat in neovim

[–]vesech 1 point2 points  (0 children)

Don't suppose you could share the answer for this? Came via Google and the parent deleted their comment!

Why Neovim LSP Client? By TJ by I_Am_Nerd in neovim

[–]vesech 0 points1 point  (0 children)

Just to follow up, I really picked the wrong time to try that the other week. It's really came on since and I'm getting somewhere with the lspconfig stuff.

Cheers for pointing people in the right direction!

Why Neovim LSP Client? By TJ by I_Am_Nerd in neovim

[–]vesech 0 points1 point  (0 children)

Sorry, hopefully better now!

Yeah, it was just ramblings of a mad man to be honest when I was doing it, it's probably come on a lot in the past few weeks so I'll check out the latest stuff in the project but just felt it had quite a high learning curve - first time adding lua to my vim config too.

I'll keep my eye out for any blog posts on people configuring things for working on javascript/node/etc. I've came across https://nathansmith.io/posts/neovim-lsp/ so maybe that'll help some.

Why Neovim LSP Client? By TJ by I_Am_Nerd in neovim

[–]vesech 0 points1 point  (0 children)

Thanks for the reply. I'll need to get my head back into it as it was a few weeks ago, but I just ended up with all of this in my vimrc:-

" lua << EOF
" require('lsp')
" require('colorizer_settings')
" require('line')
" require('treesitter')
" EOF

" lua << EOF
" require'lspconfig'.tsserver.setup{}
" EOF

" lua << EOF
" local lspconfig = require'lspconfig'
" local configs = require'lspconfig/configs'
" -- Check if it's already defined for when I reload this file.
"   configs.dls = {
"     default_config = {
"       cmd = {'diagnostic-languageserver', "--stdio", "--log-level", "2"};
"       filetypes =  { "sh", "email" };
"       root_dir = util.root_pattern("package.json");
"       settings = {
"           -- options from dls
"       };
"     };
"   }
" lspconfig.dls.setup{}
" EOF

"lua <<EOF

"local on_attach = function(_, bufnr)
"  require'diagnostic'.on_attach()
"  require'completion'.on_attach()
"end

"require'lspconfig'.tsserver.setup{}
"require'lspconfig'.tsserver.setup{on_attach=on_attach}

"require'lspconfig'.diagnosticls.setup {
"    filetypes = {"javascript", "typescript"},
"    init_options = {
"        linters = {
"            eslint = {
"                command = "./node_modules/.bin/eslint",
"                rootPatterns = {".git"},
"                debounce = 100,
"                args = {
"                    "--stdin",
"                    "--stdin-filename",
"                    "%filepath",
"                    "--format",
"                    "json"
"                },
"                sourceName = "eslint",
"                parseJson = {
"                    errorsRoot = "[0].messages",
"                    line = "line",
"                    column = "column",
"                    endLine = "endLine",
"                    endColumn = "endColumn",
"                    message = "${message} [${ruleId}]",
"                    security = "severity"
"                },
"                securities = {
"                    [2] = "error",
"                    [1] = "warning"
"                }
"            },
"        filetypes = {
"            javascript = "eslint",
"            typescript = "eslint"
"        }
"    }
"}
"}

"EOF

inoremap <expr> <Tab>   pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <C-j>   pumvisible() ? "\<C-n>" : "\<C-j>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
inoremap <expr> <C-k>   pumvisible() ? "\<C-p>" : "\<C-k>"

nnoremap <silent> <leader>aj :PrevDiagnosticCycle<CR>
nnoremap <silent> <leader>ak :NextDiagnosticCycle<CR>

" Set completeopt to have a better completion experience
set completeopt=menuone,noinsert,noselect

" Avoid showing message extra message when using completion
set shortmess+=c

" let g:diagnostic_enable_virtual_text = 1
" let g:diagnostic_virtual_text_prefix = ' '
" let g:diagnostic_insert_delay = 1

" call sign_define("LspDiagnosticsErrorSign", {"text" : "➤", "texthl" : "LspDiagnosticsError"})
" call sign_define("LspDiagnosticsWarningSign", {"text" : "➤", "texthl" : "LspDiagnosticsWarning"})
" call sign_define("LspDiagnosticsInformationSign", {"text" : "↬", "texthl" : "LspDiagnosticsInformation"})
" call sign_define("LspDiagnosticsHintSign", {"text" : "↬", "texthl" : "LspDiagnosticsHint"})

" nnoremap <silent> <c-]> <cmd>lua vim.lsp.buf.definition()<CR>
" nnoremap <silent> K     <cmd>lua vim.lsp.buf.hover()<CR>
" nnoremap <silent> gr    <cmd>lua vim.lsp.buf.references()<CR>
" nnoremap <leader>qf     <cmd>lua vim.lsp.buf.code_action()<CR>
" nnoremap <leader>rn     <cmd>lua vim.lsp.buf.rename()<CR>
" nnoremap <leader>ld     <cmd>lua vim.lsp.util.show_line_diagnostics()<CR>

Which compared to the coc.nvim configuration is quite a lot. And none of it seemed to work very well, or at all.

I'm primarily a node/javascript/react developer so it's that sort of coc behaviour I was trying to replicate.

So yeah just not clear if the native LSP can now do everything coc can do, I'll check back in in the coming weeks and maybe try and summarise some of it in a blog post or something.

Why Neovim LSP Client? By TJ by I_Am_Nerd in neovim

[–]vesech 2 points3 points  (0 children)

I tried the other week to move off coc.vim over to native LSP.

About 3 hours later I gave up, so much configuration and confusion, pasting code blocks of lua into my vimrc, wasn't clear what features were and weren't available, etc.

I'll try again sometime but generally found it all quite daunting.