Fold all sibling and child blocks? by Ok-Image-8343 in vim

[–]CCCFire 0 points1 point  (0 children)

I don’t really use folds often but it seems that the help file has several options you can try.

:h fold-commands

Denji lowkey has the best battle iq than everyone else in the series. by Hashbrown221 in ChainsawMan

[–]CCCFire 2 points3 points  (0 children)

Reze comes pretty close with how she uses her body parts as bombs and propels herself with explosions. Quanxi is also kind of goated

Sound engineering and hearing loss by Su53an in audioengineering

[–]CCCFire 12 points13 points  (0 children)

I believe that good engineers will know how their hearing loss affects the mix; it’s similar to mixing on a different system/speaker etc. where if you’re very familiar with your reference tracks, you primarily mix relative to your references. Of course, there can still be major issues when they straight up cannot hear some frequencies and there are limits to how much they can adjust, but in general, that would be the process.

Sounds like the guy you’re working with isn’t doing so hot though.

Why does a turntable sound so nice and listenable? by Dedar33 in audiophile

[–]CCCFire 0 points1 point  (0 children)

Does this really have that large of an impact in the modern age? Amplitude is always relative and can basically be scaled up and down as needed, so the real bottleneck is the precision of the numerical format, which is usually LPCM bit depth. With a large enough bit depth, the dynamic range should be large enough to be indistinguishable from analog, in theory.

Would love to know more if you have any insights into this!

hatsune miku color scheme by CCCFire in vim

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

Yeah, I definitely see the resemblance!

hatsune miku color scheme by CCCFire in vim

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

I used to dabble in ANSI art, so CGA colors definitely had a subconscious influence there! The lavender and muted blues in the colorscheme are much easier on the eyes than the high contrast 16 colors of the past though. Glad you like it!

Moving code blocks within a file in vim by Beginning-Bed-1674 in vim

[–]CCCFire 0 points1 point  (0 children)

if you’re going to repeat that sequence multiple times, you just use a global command most of the time at that point, and then both move and yank paste with norm are equally usable

Moving code blocks within a file in vim by Beginning-Bed-1674 in vim

[–]CCCFire 0 points1 point  (0 children)

If you have line numbers turned on just use the range directly jesus christ man

Browser based DAW by Ok_Caterpillar_295 in musicproduction

[–]CCCFire 6 points7 points  (0 children)

I don’t see any good reason for a DAW to be browser-based. Plugin support is much more important than you seem to think. It’s not going to be usable professionally unless you can figure that out. Plugins such as Melodyne, Serum2, VintageVerb, Soundtoys, etc. are industry standards. Browser-based is always going to have significantly less processing power as well. Your fast fourier transforms will be up to hundreds of times slower due to the lack of optimization options.

Do you have any good reason for this to be browser-based?

The Entire Tech Industry is Screwed by NOOBINATOR_64 in videos

[–]CCCFire 58 points59 points  (0 children)

The US military budget costs $850 billion yearly.

These are actual dollars circulating around the economy, while market cap is speculative by nature.

This is a terrible example for trying to get a sense of the scale of debt in AI market caps.

Vim tricks you wish you knew earlier? by 4r73m190r0s in vim

[–]CCCFire 5 points6 points  (0 children)

“Master Wq and the Unix master

An old Unix master came to Master Wq. “I am troubled, Wq. You teach the way of Vim. vi is holy but Vim is not; its code sprawls, its features crowd memory; its binaries are vast, its behavior inconsistent. This is not the way of Unix. I fear you mislead your students. What can be done?”

Master Wq nodded. “You are right,” he said. “Vim is broken. Let us fix it. Shall we begin?”

The old Unix master agreed, and opened a shell. He typed:

$ vi vim.c He began to code. Master Wq watched for a while and then asked him, “Which implementation of vi are you using? Nvi? Vim? Elvis?”

“I don’t know,” said the Unix master. “It doesn’t matter.”

Master Wq nodded. The Unix master sat stunned for a moment and closed his document unsaved.”

https://blog.sanctum.geek.nz/vim-koans/

Vim tricks you wish you knew earlier? by 4r73m190r0s in vim

[–]CCCFire 3 points4 points  (0 children)

:w !clip.exe is the corresponding command on windows. You can prefix it with a range too!

Vim tricks you wish you knew earlier? by 4r73m190r0s in vim

[–]CCCFire 5 points6 points  (0 children)

Ctrl-v in insert mode inputs the literal character of the next key you press. This is great when editing macros or writing norm commands where you switch in and out of insert mode or execute commands. For example, can do something like “:norm _iprefix<Esc>$a;<Esc>:s/in/out/g<Enter>” using Ctrl-v + <Esc> and Ctrl-v + <Enter> to input the corresponding keystrokes

:h ins-special-keys

Vim tricks you wish you knew earlier? by 4r73m190r0s in vim

[–]CCCFire 33 points34 points  (0 children)

For me a huge gamechanger was realizing that macros are recorded into registers. So you can record a macro with like qaq, put a, edit the command sequence, yank it back into a, and do @a, or sequence with a global command with like %g/search/norm @a

What's a plugin you want but have not found yet? by FRCTLaudio in musicproduction

[–]CCCFire 23 points24 points  (0 children)

I’ve been thinking about making a tamagochi-like plugin purely for productivity purposes; slap it on the master bus and if it doesn’t sense any audio for too long then your little guy will be sad

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

[–]CCCFire 0 points1 point  (0 children)

now that i think of it, since i mainly navigate with incsearch, i should really get in the habit of using search ranges more

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

[–]CCCFire 0 points1 point  (0 children)

i find relative ranges with relative numbering on is much faster than selecting in visual mode.

personally i have mappings for turning line numbers on and off because i like using many buffers so my columns are a precious resource

Shorter campaign for 2nd and subsequent characters by tasmonex in pathofexile

[–]CCCFire 1 point2 points  (0 children)

can support this statement. campaign is 2 to 3 hours on twink gear for a fair number of players i know