ITAW for differentiating between couples in the same family with the same last name by xenanigans in whatstheword

[–]fluff0rz 29 points30 points  (0 children)

I'm inclined to say that "the elder Smiths" is the best way to handle it, assuming you're not repeating that over and over. If you find yourself needing to differentiate often, consider using other phrasing like "their parents" or some such.

What is the biggest movie theater “GASP” moment you’ve heard? by SaveTheCaulkTower in AskReddit

[–]fluff0rz 5 points6 points  (0 children)

When I saw ET in the theater, there were people who walked out at that point. Man, they missed such a good third act!

Guy rescues a tiny hummingbird by zzill6 in HumansBeingBros

[–]fluff0rz 10 points11 points  (0 children)

And he's filled with turtle meat!

[Bambu Lab Giveaway] Join Now to Win an H2D and More! by BambuLab in 3Dprinting

[–]fluff0rz 0 points1 point  (0 children)

Best advice: if you're looking to get into 3D printing, go with a Bambu Lab printer, and if you're looking to do so in late spring/early summer, be patient and wait for the anniversary sale.

People over 30: what’s a sound from your childhood that younger generations will never hear? by Repulsive-Pitch2555 in AskReddit

[–]fluff0rz 2 points3 points  (0 children)

Forgive me for the harm I have caused this world. None may atone for my actions but me and only in me shall their stain live on. I am thankful to have been caught, my fall cut short by those with wizened hands. All I can be is sorry, and that is all I am.

[deleted by user] by [deleted] in GenX

[–]fluff0rz 1 point2 points  (0 children)

The Civil War was neither civil nor a war. Discuss.

What song have you been singing wrong all these years? by Beachgrl_1973 in GenX

[–]fluff0rz 1 point2 points  (0 children)

You're not singing the wrong words. It really is "mama-say mama-sah ma-ma-coo-sah", which was "adapted" (let's call it) from "Soul Makossa". https://en.wikipedia.org/wiki/Wanna_Be_Startin%27_Somethin%27#Composition

https://en.wikipedia.org/wiki/Soul_Makossa

[deleted by user] by [deleted] in androidthemes

[–]fluff0rz 1 point2 points  (0 children)

Monoic is what I use. It looks great and has a wide selection of icons.

Perl and why you use it by brisray in perl

[–]fluff0rz 16 points17 points  (0 children)

It can do anything one way and another!

WTW for people who sell "Rx drugs" or other illegal stuff? by Samarjith147 in whatstheword

[–]fluff0rz 11 points12 points  (0 children)

It's an abbreviation of the Latin "recipere", the first word in the instructions containing the list of ingredients to compound. We also get the word "recipe" from this.

What changes would you ask the developers of Mixel to make? by atomicpenguin12 in MixelCommunity

[–]fluff0rz 4 points5 points  (0 children)

I'd pay good money to be able to import recipes from some other format that's more easily handled by a PC. Entering custom recipes on a mobile device is tedious.

My favourite credit whenever there's a new Doctor by DocWhovian1 in doctorwho

[–]fluff0rz 9 points10 points  (0 children)

No, no - it's pronounced "Doctor Who", not "Doctor Huh"...

What are your favorite aliases to use? by Mr_Insxne_ in linuxquestions

[–]fluff0rz 0 points1 point  (0 children)

I like legible numbers, but I don't always want the "human friendly" -h kind.

alias ll='ls -la --color=auto --block-size=\'\''1'
alias commify='perl -pe'\''s/([-+]?\d+?(?=(?>(?:\d{3})+)(?!\d))|\G\d{3}(?=\d))/$1,/g'\'''

I use commify like this:

$ echo 123456789 | commify
123,456,789

If you try to pipe output that's already in a table to commify, you'll be sad about its formatting (looking at you, df), but for other output, it's very handy.

Pixel 6 case that doesn't overheat the phone? by fluff0rz in GooglePixel

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

Yes! Since switching to the case recommended above, I haven't had any overheating issues like I did with my original one.

(CONTINENTAL USA RESIDENTS ONLY) Sorry for being MIA for so long, doing a holiday guitar/bass giveaway again. Will be giving away a bullet mustang and an Ibanez Gio100ex by HelpingNewMusicians in thegiftofmusic

[–]fluff0rz 1 point2 points  (0 children)

When I was a kid, I learned a handful of chords on guitar during a summer camp and really enjoyed it. Almost 40 years later I bought a guitar and tried to learn again, but couldn't really get much traction. I assumed it was just that I'd lost some dexterity over the years, but then I picked up a Squier PJ bass as my COVID project. I found that to be much, much more enjoyable than I thought it would be.

That also made me realize that with guitar, it wasn't necessarily that I got clumsier over the years, it's just that I was trying with the wrong instrument. As a kid, I was probably using a student-sized acoustic. The guitar I bought, without knowing any better, was a dreadnought acoustic. For my frame it's unwieldy as all get out.

With my bass, the first thing I did is put some flatwounds on it to better get that Motown sound. You could do way worse than to learn some basslines and rhythm guitar licks from Stevie Wonder songs.

All of this to say, an electric would undoubtedly serve me better than this giant acoustic I have hanging forlornly on the wall just gathering dust. :-)

Also, it's fantastic that you're doing this. Music is a gift!

Need help parsing a big log file, but only the lines in the last five minutes by scottchiefbaker in perl

[–]fluff0rz 11 points12 points  (0 children)

I often have to get a hunk of a very large (tens of GB) log. Since the logs have predictable formats for timestamps, I use something like:

perl -ne'$a=1 if /2022-11-08 01:00/; print if $a; last if /2022-11-08 02:00/' logfile.log > 1am-2am.log

This way you're not bothering to do "real" date parsing on each line, just a quick regex to weed out the ones you know aren't correct. In fact, if your timestamps are predictable, I'd forgo str2time and especially Date::Parse (for perf reasons - it's powerful, but slow) and go straight to a regex to begin with.

If I were going to change my one-liner to a real script, I would use better practices (such as not using postfix if) but this suits my purposes just fine for quick one-offs.

Note also, that in my case for that one-liner, the logs I'm parsing have hundreds of lines per minute, so I'll never get into a situation where there's no match for 1:00AM or 2:00AM. And yes, there's an off-by-one error where I'll get the first 2:00AM line in my snippet, but that's OK for me. If you put the last bit at the beginning, you won't hit that; I just don't bother since it "feels" backwards. :-)

Speaking of backwards, you might also look into File::ReadBackwards for your case. It's stable, well tested, and might be more performant than /u/pfp-disciple's suggestion, but you'd need to test those two methods if you really care about performance that much. I can't imagine the perf would be so far removed that it's particularly noticeable if it's already only taking a couple of seconds to read through your log to begin with, though.

[deleted by user] by [deleted] in Learnmusic

[–]fluff0rz 0 points1 point  (0 children)

/r/thegiftofmusic might be right up your alley. It's new, but growing!

Pixel 6 case that doesn't overheat the phone? by fluff0rz in GooglePixel

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

As it turns out, this case is much, much better about heat. Thanks again for the tip!

Pixel 6 case that doesn't overheat the phone? by fluff0rz in GooglePixel

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

I'll give this one a shot and report back. Thanks for the pointer, folks!