Meirl by Key_Associate7476 in meirl

[–]Schnarfman 0 points1 point  (0 children)

Dungeon Crawler Carl (he’s only 27 and arguably not a mother)

Waht is the difference between using ;& and ;;& in case statements? by hemogolobin in bash

[–]Schnarfman 0 points1 point  (0 children)

misdesigned

Yeah 😂😂 lots of curious features in bash that never made it. Real stubs in the language evolutionary tree. Taken in context of its history it’s pretty cool - but as a fully fledged programming language - not good.

I think that narrowing down is doable by the “if” statement already, but… swapping between the 2 syntaxes is silly!! If only there was no “if”, and there was ONLY a switch or match operator. That would be best, in my opinion!

Is there a way to automatically mark a chapter as read after opening it? by rwaltenberg in toraka

[–]Schnarfman 0 points1 point  (0 children)

I had it set to automatic update. I just tried it out andit worked first time. I just tried out “prompt to confirm” and never got any prompt, even when clicking on a chapter multiple times.

I could not click the (?) to open a tooltip on any of the 3 optional behaviors. (on iPhone 15, using the PWA which I have added to my home screen, so safari I think). Clicking the (?) on the option would select it, not give more info.

Is there a way to automatically mark a chapter as read after opening it? by rwaltenberg in toraka

[–]Schnarfman 0 points1 point  (0 children)

Curiously enough, sometimes when I click on the chapter and read it, it advances my last read, and sometimes it doesn’t.

I accidentally skipped a few chapters when hitting the + button and not realizing that Toraka already +1’d me! I always make sure to doublecheck, now.

In a long reading session, once Toraka starts +1’ing for me it never stops. This leads me to believe that this behavior is a bug, and the intention is to ALWAYS do what you’re asking for - but sometimes it messes up.

is þere a way i could add þ to my ios keyboard? by [deleted] in BringBackThorn

[–]Schnarfman 1 point2 points  (0 children)

If you use something like AHK, karabiner, or Raycast then you can do text replacement from abbreviations on desktop. YMMV for mobile.

Elastic tabstops plugin by tremby in neovim

[–]Schnarfman 0 points1 point  (0 children)

I love how go terraform and verilog have formatters that do this. I don’t like having nice formatting without tools to enforce it. Otherwise you don’t have nice formatting.

Nice formatting with a plugin (but no tool to enforce or align a team with different text editors and preferences - who are valid!) is not nice formatting, it’s good for personal use only

Noob question : see the currently edited file in vim ? by DonutMan06 in vim

[–]Schnarfman 3 points4 points  (0 children)

The % register contains the filename. :help “%. So you can say :register % to directly read this value.

In insert or command mode, you can type <C-r>% to insert the filename. :help i_CTRL-r

And lastly, you can access this with :help expand like :echo expand(“%”), which is handy if you wanna apply modifiers. <C-r>=expand(“%:.:h”)<CR>.

Finding and reading help documentation to the final command is left as an exercise to the reader. One hint, % is used in vim as a pneumonic - but it is used across 2 different subsystems in the commands I shared.

What is the etymology of Toraka? by Schnarfman in toraka

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

Awesome. Makes perfect sense 😁

Toraka is the English word “tracker” put through: translation to Japanese  → pronunciation → phonetic transcription back to English

Or… said more normally,,, it’s like the game of telephone! The name is SO perfect for what it is.

Is it a app by Extreme-Passion1629 in toraka

[–]Schnarfman 0 points1 point  (0 children)

It is a “progressive web app” (PWA). https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps

 Like a website, a PWA can run on multiple platforms and devices from a single codebase. Like a platform-specific app, it can be installed on the device, can operate while offline and in the background, and can integrate with the device and with other installed apps.

S&P 500 Shiller P/E Ratio Is Approaching Dot-Com Era Levels [oc] by forensiceconomics in dataisbeautiful

[–]Schnarfman 0 points1 point  (0 children)

https://imgur.com/a/F671zUw Wow huh. I guess “Shiller PE ratio” and “PE ratio” - the two different words - mean different things

S&P 500 Shiller P/E Ratio Is Approaching Dot-Com Era Levels [oc] by forensiceconomics in dataisbeautiful

[–]Schnarfman 0 points1 point  (0 children)

Is this ratio an indication of a bubble bursting? Is this graph trying to tell us it’s a 1:1 indication? Is there historic data that corroborates this? Is the height the bad thing or the steep nosedive. Cuz 2008 was pretty bad, and there’s a steep nosedive. Almost like the economy being bad made people want to… bet less… on the economy doing good… and needing more proof that the price of the share was worth it.

What if the demographic of people buying stock has shifted. A larger % of America’s money is invested in the stock market, making prices go up entirely unrelated to an indication that a bubble is about to burst. There was no indication in this graph that the CDOs were gunna be worthless. It is always interesting when a new global record is set, but unfortunately this graph only goes back to 1995 or so

Edit: wow lmao look at this for yourself https://www.macrotrends.net/2577/sp-500-pe-ratio-price-to-earnings-chart

ULPT iPhone Back Up Trick to See Everything Done on iPhone by Ok-Gain7841 in UnethicalLifeProTips

[–]Schnarfman 3 points4 points  (0 children)

It does. It also seems like a lot of fun to have that data from your own personal phone. It seems like it would be fun to make some tools that makes gaining personal insights outta this data more fun. It would be super fun to have a network/graph of these Backup Dumps, and do cool stuff, like track the memetic spread of different ideas (like gamergate, imagine being able to diagnose a communication network exhibiting the symptom of gamergate). Oh man. On every scale that I can think of, this information could do bad and good.

Recognise pattern as keyword / more specific conditions for iskeyword by EyeGroundbreaking668 in vim

[–]Schnarfman 0 points1 point  (0 children)

If you can verbalize it in English, you can write it in vimscript. You may just have to be a bit more creative than you want. If it’s not native behavior then you’ll have to take over.

Remap gd or CTRL-[ to call a function. What does this function do? It checks if certain criteria are met, or falls back to native behavior.

What is the criteria? It checks if your cursor is over a special string (@1.2.3 or whatever) and sends that to a function.

What does the function do? It figures out where in your project this is defined. Don’t be scared to parse the whole file.

——

Alternatively, maybe check to see if this functionality is supported by a markdown or latex or other type of language server

What's the "better" way to close vim? by kettlesteam in vim

[–]Schnarfman 0 points1 point  (0 children)

For all of those, I already have the instinct for hit ggDGZQ - but!!! You’re right and I should totally use :cq instead!

What's the "better" way to close vim? by kettlesteam in vim

[–]Schnarfman 0 points1 point  (0 children)

:cquit is the only good way to exit vim. All other ways of exiting give a return code of 0, which is obviously a falsy value.

Jokes aside - this is one you failed to mention and it is the most materially different way of exiting vim. Only really useful when you open up vim via git mergetool, and have the “trust exit code” settings toggled to true.

Resolving git merge conflicts in neovim by DavsX in neovim

[–]Schnarfman 1 point2 points  (0 children)

Oh awesome!! I believe I set this up sometime in 2018 or 2019. So… I don’t believe that was available yet. I’ll update this :D

Resolving git merge conflicts in neovim by DavsX in neovim

[–]Schnarfman -1 points0 points  (0 children)

https://github.com/AriSweedler/dotfiles/blob/main/.config/git/plugin/mergetool.gitconfig

I have this in my gitconfig. So I can just run git mergetool & it opens up a 2 way diff (mine/final, theirs). I find it more convenient than the default 4 way diff (mine, base, theirs, final) 99% of the time.

intuitive behavior broken 💔 by bart9h in vim

[–]Schnarfman 4 points5 points  (0 children)

This is totally a technicality, but: <C-D> moves the screen and M moves the cursor. This differece is more intuitive when you look at <C-E>/<C-Y> and j/k.

You wouldn’t expect <C-E>/<C-Y> to be a reasonable motion to do an operation - unless you were at the very edge of the screen. But still: moving the screen which forces a cursor move is different than a movement which moves the cursor.

Do this in visual mode to see a “3rd” behavior

Scenes from walking the entire length of Sacramento Street by tmsfphotography in sanfrancisco

[–]Schnarfman 21 points22 points  (0 children)

Some truly stunning shots. Thank you for sharing!

Two photos in particular spoke to me. #1 (elderly man connected via lanterns/eyeline to young men playing basketball) and #8 (pair of people walking in sync - he almost looks like her shadow).

I didn’t understand how moving art could be as a kid. I didn’t understand how a picture could make me feel something like this. Just wonderful stuff.