Avatar

siipale

siipale@sopuli.xyz
Joined
9 posts • 9 comments
Direct message

It’s the same reason why U-M B-N is human being

permalink
report
parent
reply

Sata andagi

permalink
report
reply

Happy cake day! I just also recently had mine. There must be dozens of us who joined this time last year. Unfortunately RiF never became a Lemmy client but Connect for Lemmy is good.

permalink
report
reply

At first I read SIMD bucks and I thought they must take optimizing code seriously.

permalink
report
reply

Can you give an example how that would happen?

permalink
report
parent
reply

I’ve always thought that macros in vim are slow and clumsy to use. You have to think about getting back to initial state as you record if your intent is to repeat the macro several times. If you make a mistake you have to either record an action that corrects the mistake or edit the macro later after recording. You have to know beforehand how many times you want to repeat the macro or run it one at a time which is clumsy at least with Finnish keyboard layout.

Norm command is much faster to use for my purposes because I can use it for several lines at a time without thinking about the state. I can use it with ranges or with g/re/ and v/re/ commands. If I make a mistake I just delete it. Only thing on the plus side I can think of for macros is it’s WYSIWYG approach. You have to have a visual editor in your mind when you write long norm commands.

Here’s a tip for you: use :%norm @a to run the macro in register a for every line of the file.

permalink
report
parent
reply

I’ve heard of it too. You would need an analytical balance to get accurate measurements weighing a piece of paper. Just cut out the part you want to take an integral of, then cut out a piece of paper with known size (or cut several pieces with different sizes to get more accurate results) and weigh each of them. I guess this used to be cheaper and faster than using computers when computers were big and expensive.

permalink
report
parent
reply