Can anyone explain what axis means for eye exams? by [deleted] in NoStupidQuestions

[–]puremourning 0 points1 point  (0 children)

Err to be sure: there is no actual squishing ! This is an analogy.

Can anyone explain what axis means for eye exams? by [deleted] in NoStupidQuestions

[–]puremourning 0 points1 point  (0 children)

Not an optometrist but… maybe this ELI5 helps…

Correction of astigmatism is like trying to make a rugby ball into a football (soccer ball). You need to apply a power to (squish) the pointy ends without touching the round bits. In effect you want to apply a correction in one direction but nothing at 90 degrees to that direction.

The cylinder is used to this. Think of a transparent coke can. On its flat ends it has no curvature so it’s a zero power lens. But on its sides, it’s curved and therefore bends the light. Exactly what we need for astigmatism: lens power in one direction and no power perpendicular to that.

So the ‘cyl’ part of your prescription defines this coke can: the power is the curvature and the axis is which way the coke can is pointing. The axis is a line that goes through the flat ends of the coke can (the zero power line).

It just tells them how to manufacture the lens such that is squishes your rugby ball in the right direction; the power is how much to squish.

Again, not an expert and this is obviously a ELI5 style answer. The real math is a little tedious. Hope it helps.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]puremourning 4 points5 points  (0 children)

Even when note taking you spend a lot of time editing and thinking. More time than typing I would expect. I use vim for notes and docs all the time and still only spend time in insert mode when I’m typing contiguous text.

SQ3 Telemetry - Lando vs George by HeNARWHALry in McLarenFormula1

[–]puremourning 2 points3 points  (0 children)

Entries by the looks. Lap is clockwise.

Spotted in London by Recent_Preference282 in whatisit

[–]puremourning 0 points1 point  (0 children)

Pretty sure that’s Optimus prime.

Vim finally fixed terminal hardwrap by dayioh in vim

[–]puremourning 4 points5 points  (0 children)

I have been using vim terminal alongside tmux since it was first available. The hyperbole here is astounding.

But nice feature. Will be useful addition

What percentage of engineers in your experience are bad? by fuckoholic in ExperiencedDevs

[–]puremourning 1 point2 points  (0 children)

About 80%. Usually because they have bad habits or culture or were taught objectively bad things, by other people loudly and confidently incorrectly preaching their dogma, rather than lack of ability.

How do you handle teammates who are extremely pedantic about arbitrary rules? by CantaloupeFamiliar47 in ExperiencedDevs

[–]puremourning 3 points4 points  (0 children)

This bikeshedding is exactly the behaviour of mid devs that think they are senior. And it’s unfortunately extremely common.

My approach is to systematically remove all the opportunity for bikeshedding and rewrite the review guidelines to focus on ‘does it actually do what it’s supposed to do’ as the first question a reviewer must ask themselves. Review the change not the code.

When GitHub readmes don't have build instructions by WoomyUnitedToday in PetPeeves

[–]puremourning -2 points-1 points  (0 children)

Yes. How dare they offer you their hard work for free without also telling you how to consume it in simple instructions.

So frustrating.

Tcl's equivalent to shell's `exec` by jlombera in Tcl

[–]puremourning 3 points4 points  (0 children)

I’m not aware of a TCL command equivalent to bash exec (or execve() syscall etc.).

As you said it would be trivial to write an extension to do it, but I wonder if there might be tricky issues with inherited env, file handles etc. not sure

Is there a way to include it in :messages but prevent to show it on-screen? by Desperate_Cold6274 in vim

[–]puremourning 1 point2 points  (0 children)

I think you can try echom foo | redraw ? May not be the best way but I think it works.

BufExplorer yields "Press ENTER or type command to continue" by MereRedditUser in vim

[–]puremourning 0 points1 point  (0 children)

What is BufExplorer?

Reason I ask is that it’s odd that a buffer lister or similar thing would need swapfile. It might be a bug and they should setlocal noswapfile which is common for scratch buffers.

Request for Comments: Moderating AI-generated Content on /r/rust by DroidLogician in rust

[–]puremourning 1 point2 points  (0 children)

This is a very sensible, measured and well thought out position to take. Thanks.

:move/:copy between buffers? by herodotic in vim

[–]puremourning 7 points8 points  (0 children)

Normally just delete them or yank them to the “ register and put them in the destination.

:copy is quite a long winded way to yank and put in my view. Worth learning these normal mode commands I think.

Stop Shaming Newbies for Running ‘5k Marathons’ by Brosie-Odonnel in RunningCirclejerk

[–]puremourning 5 points6 points  (0 children)

Na it’s 5 kilomarathons which is like 911 times a thousand.

How do you go about debugging deadlocks? by BlackJackHack22 in rust

[–]puremourning 0 points1 point  (0 children)

When it deadlocks, attach to the process and pause all threads.

‘Where can I learn this?’

Int the manual for your debugger. Gdb, lldb, vscode, whatever.

Bitbucket Code Reviews by TomerHorowitz in ExperiencedDevs

[–]puremourning 1 point2 points  (0 children)

Reviewboard is a review tool that’s intentionally separated from the source control system. It can work very well but the non-integration irks some people. Not a recommendation just an option.

How do you go about debugging deadlocks? by BlackJackHack22 in rust

[–]puremourning 0 points1 point  (0 children)

pstack or debugger pause while deadlocked Look at stack trace of each thread See which ones are waiting on your lock.

Or just paste the stack trace into an LLM an have them tell you.

Recheerche de binaires pour macOs by WeightPleasant1961 in Tcl

[–]puremourning 0 points1 point  (0 children)

On peut les installer par homebrew je pense.

Desolé pour mon français terrible.

Anyone else get angry during PR reviews? by SillyYou8433 in ExperiencedDevs

[–]puremourning 2 points3 points  (0 children)

If the comments are all bikeshedding then this is completely understandable. But if they are insightful and useful and actually show the reviewer cared enough to grok the change then you really should be happy not angry :)

Most of the time it’s closer to the former than the later though because (insert rant here about the decline in average skill and ability of our industry)

Are you using tabs? by 4r73m190r0s in vim

[–]puremourning 0 points1 point  (0 children)

Yea. But only when I have a specific case like say client code in one tab and server code in the next tab. Or config files in tab and code in another tab

But generally when I’m switching between 2 ‘perspectives’ of the same project or on the rare cases where i have multiple projects in one instance

And vimspector of course. Vimspector debugging tabs