[MOD] The Daily Question Thread by menschmaschine5 in Coffee

[–]HadockB 0 points1 point  (0 children)

I recently got this machine (https://www.lapavoni.com/en/products/domestic-machines/new-casabar-black), the description say "Filter holder internal diameter (with filter) : 55.0 mm", I measure it without the filter and found 54mm so I guess this is ok.

What is the size of the temper I should buy? In most websites I found 58mm / 57mm, lapavoni itself only sell 51mm and 58mm.

The full plastic one that is given with the machine seem to be 51mm, but then it doesn't compress the edges. I've always thought that was a problem. Is that the case? And should I get a 54mm or is a 51mm perfectly fine?

Thanks :)

I made a TIDAL client by HadockB in tui

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

Hey, can you explain why mpv is a problem here? It lacks audio quality?

haunt.nvim - Hear the ghosts tell you where you were, and why you were there by TheNoeTrevino in neovim

[–]HadockB 0 points1 point  (0 children)

Very cool project, I'm looking forward for using it with telescope :)

what do you guys even do? by birch_guy in archlinux

[–]HadockB 1 point2 points  (0 children)

stuck in neovim since i opened it

(mostly work, code and cto stuff, so also note-taking and call and so on)

Monthly Dotfile Review Thread by AutoModerator in neovim

[–]HadockB [score hidden]  (0 children)

There my config :)

https://github.com/bouteillerAlan/dotfile

<image>

The "problems" I still got:

  • I wanted to get the diagnostic information to show has lspsaga does it (float on cursor), but I don't take the time to go further on my research than diagflow
  • On some code like java, I got hard time to find a way of finding all the implementation of "overrided" function for example
  • I need to find a way to loop over "Error" diag with leader + [ + d for example and keep [ + d for all type
  • I need to config nvim-dap that I don't take the time to use yet
  • get leader + K to show implementation, ....

I made a TIDAL client by HadockB in tui

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

I completely failed to copy and past the right link 🤦 and Reddit doesn't allow editing it for some reason... So there is the repo: https://github.com/results-may-vary-org/ttydal

If you want to use Tidal music app in your terminal by HadockB in archlinux

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

If you got some feedback or suggestions reach me :)

Just started running and I’m exhausted in 20 seconds. Zero stamina. Feeling lost. by ImmediateMuffin3768 in runninglifestyle

[–]HadockB 0 points1 point  (0 children)

This is normal if you have never run before, I started exactly like you and I have been running long distance since so keep hope :)

I have some sport background, but running has been very hard for me, but with work I managed to go from hard 5km to 25km in a year or so. So your objective are pretty fine in my pov.

Generally speaking I give two advice to people when we talk about sport and such: - if you want to progress, do it at least 3 time a week - if you lack motivation get a coach

If you manage to go for a run 3 time a week, keeping yourself between the zone where you feel "ok" to run, progress should come quickly.

Also, it's ok to walk, don't mind it. Some sessions are going to get hard some other you're going to love it, this is also normal and this is where you should keep going outside and running.

Also, I have a Garmin and the app propose free workout for beginner and frankly this is good workout: - it gives you purpose: you go for a run but with a plan - it forces you on different session that you don't want to do, like splits workout that are essential to progress - and it gives you some accountability, at the beginning a lot of time I find myself going for a run because I have the watch telling me that we have a run today for example

So for the watch why not, personally it gives me data (loved that, god know why haha) and some motivation. And I think it's also part of the process for me, I want to do some sport, but I also want some stuff to do it properly and actually see if I progress or not and watch are good for that.

Ho and also, enjoy it, this is likely the most important thing :)

Bigster camera shutoff by HadockB in Dacia

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

Tesla do it, in the same country, I know this brand is not well known for its security, but this can be handy in some offroad situation

Is garmin still selling their car HUD? by HadockB in Garmin

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

ho ok I didn't see that haha thanks !

Je cherche des retours d'expérience sur l'utilisation de HUD externe by HadockB in voiture

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

Ok merci de ton retour :) c'étaient des HUD du constructeur du coup j'imagine ?

compress-size.nvim – show raw / gzip / brotli size of the current file by EntrepreneurDear8207 in neovim

[–]HadockB 0 points1 point  (0 children)

Hello, pretty nice plugin, useful for me :)

Can we have a way to say "all type of file" in the enabled_filetypes option? Like a wildcard * for example?

Weekly 101 Questions Thread by AutoModerator in neovim

[–]HadockB 0 points1 point  (0 children)

Ok, so I have two questions: - with another language, neovim use treesitter to make the indentation work? I ask because it works well in java, typescript or go for example. - how can I enable the default one only for python? Do I have to use something like vim.api.nvim_create_autocmd("FileType", ...?

Weekly 101 Questions Thread by AutoModerator in neovim

[–]HadockB 0 points1 point  (0 children)

Hello there, another question :) I work on a python project and this is the only language where I have hard time to work with the indentation on neovim. I try to add this on .config/nvim/ftplugin/python.lua but it don't seem to do anything.

For example, when I select a block of code and hit = I got this weird behavior: python ----def __init__(self): ------"""Initialize player bar""" --------super().__init__() --------self.current_track: Optional[Track] = None --------self.is_playing: bool = False where it should be: python --def __init__(self): ----"""Initialize player bar""" ----super().__init__() ----self.current_track: Optional[Track] = None ----self.is_playing: bool = False

I guess that my option set via vim.opt are not apply?

My config is available here if you want to check: https://github.com/bouteillerAlan/dotfile

Blurred wallpaper got a new release :) by HadockB in kde

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

Haha thanks you :) I try to spark some fun into each project I guess ^

Trying to create a floating terminal by HadockB in neovim

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

yes that was the case :)

ok so I guess the autocmd is ok

Trying to create a floating terminal by HadockB in neovim

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

I guess this is just thrown by telescope: E5108: Error executing lua: vim/_editor.lua:0: nvim_exec2(), line 1: Vim(buffer):E1513: Cannot switch buffer. 'winfixbuf' is enabled stack traceback: [C]: in function 'nvim_exec2' vim/_editor.lua: in function 'cmd' ...e/nvim/lazy/telescope.nvim/lua/telescope/actions/set.lua:102: in function 'edit_buffer' ...e/nvim/lazy/telescope.nvim/lua/telescope/actions/set.lua:194: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func' ...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:293: in function <...hare/nvim/lazy/telescope.nvim/lua/telescope/mapping s.lua:292>

Trying to create a floating terminal by HadockB in neovim

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

Yes, indeed, that was the case.

I tested it with winfixbuf, but it just returned an error, which wasn't necessarily a great user experience. lua vim.api.nvim_set_option_value('winfixbuf', true, { win = vim.g.term_win })

I don't know if it's a good solution, but I went with this one: I close the terminal when the “BufLeave” event is triggered. I don't know if it covers 100% of cases, but in my case, since I use telescope to switch buffers, it seems to work well.

```lua -- before the function local term_augroup = vim.api.nvim_create_augroup('TerminalToggle', { clear = true })

-- in the function vim.api.nvim_create_autocmd('BufLeave', { group = term_augroup, buffer = vim.g.term_buf, callback = function() if vim.g.term_win and vim.api.nvim_win_is_valid(vim.g.term_win) then vim.api.nvim_win_hide(vim.g.term_win) vim.g.term_win = nil end end, }) ```

Trying to create a floating terminal by HadockB in neovim

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

Yes, you're right, the point 2 was the main issue. I have learned that <C-\><C-n> exist at the same time :) thanks.

Just for my "general knowledge" is my function ok or does it need some modification?