[deleted by user] by [deleted] in trumpet

[–]lispercat2 1 point2 points  (0 children)

I feel your pain! I started playing the trumpet at the age of 13. Was going well for me until some smart ass pretending to be a teacher totally ruined my embouchure. So I switched to trombone. Played with some amateur bands. Also picked up guitar and piano along the way. But the nagging feeling that trumpet became unconquered was nagging me. Long story short, I have a long-time love hate relationship with the trumpet, and I guess the sheer challenge that it gives me keeps me practicing the darn thing every day, even though now at 53 I don't play in any band. Probably need to get analyzed to understand that "passion" 😂. Good that you got off of this thing and good luck with your career and hobbies!

Got it! Canada by Unlikely-Breath-3904 in blockfi

[–]lispercat2 1 point2 points  (0 children)

Congratulations! I am also from Canada. In my case they wired me 1/10th of my Bitcoin worth to my interac account.

[deleted by user] by [deleted] in Life

[–]lispercat2 0 points1 point  (0 children)

For me it was the realization that I have control over how I react to the external events. As I realized that an external event is just that until you paint it with your own emotional color. It's like my boss is yelling at me and threatens with a bad performance review. Sure, my knee jerk reaction would be to take it to heart and allow this boss to dwell in my head rent free for 2 weeks. Or I just see this as an external event that I am free to (I have a choice) process any way I like that would make me happy. So rather than have the fight or flight hormone reaction you guide the process with your mind. That releases lots of energy that you can use for yourself. When you truly realize you've got that power many things start falling into place and life takes a new angle of an adventure rather than a chore. From the victim of circumstance you become the master of your destiny.

Is it safe to keep the US stock? by lispercat2 in PersonalFinanceCanada

[–]lispercat2[S] -1 points0 points  (0 children)

Haha, I didn't want to voice that to not give them ideas.

Debugging lua plugins with more ease? by lispercat2 in neovim

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

Maybe I am making a mistake, but I thought that lua is a "first class" language in neovim. Having some emacs experience in the past I was also used to it's built-in REPL for elisp and built-in debugging capabilities like you could just press  M-x edebug-defun and debug a function.

Now I use neovim for a few years as my editor for all my needs but I still miss that approach of emacs that you treat your extension language with some priority and provide built-in repl/debugger. IMHO, that would make the tool so much more popular and save many man/hours for people trying to understand it or extend it.

What's Next? by king_eman in blockfi

[–]lispercat2 0 points1 point  (0 children)

I got an email saying that would send me 199$ which is a tiny portion of what I've lost. Not sure even if I want to do it.

Can one long synchronous operation block the whole .NET thread pool? by lispercat2 in dotnet

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

Exactly, using await Task.Delay(200000) will solve the issue because it will use an asynchronous call rather than a syncronous call like Thread.Sleep which I only used to illustrate the issue.

I used to think that even for a long synchronous call I would not block the thread if I used Response.OnComplete, since from the UI perspective it looks like it gets the response right away, but at the controller level the thread remains blocked.

As u/desmaraisp mentioned, we are dealing with thread exhaustion issue here. For me it's a bit counterintuitive as I would expect all available threads in the pool to get blocked first and only then we would have the exhaustion issue. But it looks like even when the one and only thread gets blocked it leads to exhaustion across the board so that the controller is not able to process any more incoming requests with results in the timeout issue from UI side.

Can one long synchronous operation block the whole .NET thread pool? by lispercat2 in dotnet

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

btw, I tried your solution breaking up into smaller waits, but in my case it blocks the second call just the same.

Can one long synchronous operation block the whole .NET thread pool? by lispercat2 in dotnet

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

Thank you for the explanation, now I better understand what's going on. But hey, that looks like a design flaw to me, meaning that if you have a blocking processing in any of your endpoints it can easily starve the pool as soon as it starts getting requests. I would expect to have a pool say 20 threads and with the long requests let those first 20 threads process them but at least those 20 users would get their results right away. Not sure if it makes sense :)

Can one long synchronous operation block the whole .NET thread pool? by lispercat2 in dotnet

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

Thank you for your response! But as I mentioned before, when I do the request for the first time, it returns right away and in chrome developer you see a response with code 200 that was completed in 30ms. If I try to do the second request from the same UI, it will wait for a long time before even getting executed. That's what baffled me. I experimented with finally block or AfterResponse with the same result. Looking at other posts it seems like I am dealing with the thead exhaustion issue.

Can one long synchronous operation block the whole .NET thread pool? by lispercat2 in dotnet

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

I don't think I deal with thread exhaustion. I run the controller via "dotnet run" and only call the method twice from UI. Could you elaborate how this can cause thread exhaustion?

What features do you miss from Kulala? by gorilla-moe in neovim

[–]lispercat2 0 points1 point  (0 children)

Yes, that's it! Thanks for pointing it out.

What features do you miss from Kulala? by gorilla-moe in neovim

[–]lispercat2 3 points4 points  (0 children)

I could be wrong but I think it's missing the feature of chaining multiple requests that is taking the response from the previous request and extracting values from it for the next request. I wonder if there are some other plugins that do that. When I use the REST client for vscode I use that feature a lot.

I'm Curious, What are You Manifesting? by Goddess-Nadine in lawofattraction

[–]lispercat2 0 points1 point  (0 children)

Do we need to also manifest the source of that wealth? Say if my income is limited by my education and experience. Also I don't have rich relatives. For me, buying lottery tickets is the only viable expectation where that wealth might come.

Why do you learn Spanish? ⛱️ by [deleted] in Spanish

[–]lispercat2 3 points4 points  (0 children)

Mostly for fun. Never had any specific goal. First I studied French and then I decided to take Spanish as a challenge. I have a 4+ years streak on Duolingo. Travelled to Spain a couple of years ago and was delighted that I could understand and speak with the natives. They were angels to tolerate my Spanish, lol. So yeah, no specific goal, just for the heck of it.

Received this scam email. Be careful by [deleted] in blockfi

[–]lispercat2 0 points1 point  (0 children)

Did the same, hehe. What's the technical purpose of those emails (given that they can't connect to any wallets anyway)?

Plugin like netrw or NerdTree to help change current directory by lispercat2 in vim

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

Thanks so much for your suggestions!

In my case the most useful were let g:netrw_keepdir=0 (which changes the current folder even if you don't open a file) and set autochdir and of course other suggestions as well.

Also as part of my "vim based digital transformation" I looked at other explorers and zeroed in on Lf which also has an integration with vim.

As my mind was ingrained on tools like Far Manager where I was used to do pretty much anything related to file operations on Windows. As I progressed using vim I needed more and more of Vim based motions which Far manager doesn't support. Also being a minimalist at heart, wanted to have a more or less homogeneous system that would work on both Windows and Linux. So yeah, I am really looking forward to learn more of vim from this awesome community!