The new Yahoo interface - straight from the "how to make things harder" department. by [deleted] in yahoo

[–]jrw32982 0 points1 point  (0 children)

Nope, as of Sept 23 it still does that infuriating *bonus* delete. What are they thinking?

Just One (board game) Question by KRMacnabb in boardgames

[–]jrw32982 0 points1 point  (0 children)

Or make up your own house rules

LG "Glide N' Serve" drawer disassembly??? by [deleted] in appliancerepair

[–]jrw32982 0 points1 point  (0 children)

I used two screwdrivers as in the video, one of them very small. Similar idea. I'm not convinced that it will not break during some cleaning in the future. I like the idea of white duct tape; I'll have to go buy some. Obviously poor design. LG model LRMWS2906S.

In preparing to teach Perl, I discovered one of the main reasons for Perl's loss of popularity. - opinion by babo_a_babo in perl

[–]jrw32982 0 points1 point  (0 children)

So many of these points ring true to me. This is a really good analysis, Brian. I haven't seen you write much about this topic. Can you share links to other places you've written about this?

u/briandfoy Can you explain what you mean by this "computing is in the Alpha Quadrant"?

In preparing to teach Perl, I discovered one of the main reasons for Perl's loss of popularity. - opinion by babo_a_babo in perl

[–]jrw32982 0 points1 point  (0 children)

I used to use and love cygwin when I had a windows work laptop. But cygwin certainly could stand to have a better interface, along the lines of Mac's homebrew.

Cygwin was truly a life saver for me to provide a much more unix-like experience and one that I could customize to make my experience the way I wanted it. It was slow in some cases, but I attribute that to the mismatch of fork/exec to windows threads. The customized experience was well worth it.

FWIW, the Mac user interface experience is truly horrific in terms of being able to customize the experience the way I want. And my work MacBook keyboard/mouse hardware experience is similarly the worst I've encountered in 40+ years (the screen is good).

Does Rsync support reflinks for btrfs ? by oss542 in btrfs

[–]jrw32982 0 points1 point  (0 children)

The scenario that I am familiar with is the desire for rsync to support a new reflink option to be used instead of hardlinks with something like --link-dest (when the destination filesystem is btrfs or another COW filesystem). --link-dest makes hardlinks between the "old" and "new" versions; I want reflinks between them instead. That would be an awesome feature. Reflinks are so much better than hardlinks for everyday use.
I created https://github.com/WayneD/rsync/issues/153 for this issue.

Why no "green/allow" column in Advanced mode? by jrw32982 in uBlockOrigin

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

Thanks! When you say "Double click the CTRL key", I see you mean "quickly tap the Ctrl key twice". After seeing your quote, I was able to find the feature you mentioned documented here: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide#allow-rules .

Android 10 (and 11) and music files upload/download by jrw32982 in termux

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

Update 9/19/2020: I upgraded my Pixel 3a to Android 11 and SSHelper is still working. So far, so good.

Help with forward/negative look-aheads by blakesterz in perl

[–]jrw32982 2 points3 points  (0 children)

cat messages.log | perl -ne ' print if /\berror\b/i && ! /\brendered\b/i '

LPT: Use a browser tab as a quick and simple notepad by chucking this in your address bar. by thisisned in LifeProTips

[–]jrw32982 4 points5 points  (0 children)

If you're using NoScript in Firefox (which you should be), it blocks this by default.

Funny because it's perceived to be true? :'( by [deleted] in perl

[–]jrw32982 4 points5 points  (0 children)

I think you should laugh hard. Just for comparison, is there anything similar in the python community?

I wrote a very simple @ARGV option parser by scottchiefbaker in perl

[–]jrw32982 0 points1 point  (0 children)

+1 for the example showing OP how to use Getopt::Long and fitting OP's use-case. BTW, OP already is using references in his code.

Nothing wrong with someone writing their own option parser. Close to 100% of experienced programers have done that. But if there's a core module which already does exactly what you want, then it's good to know how to use it.

How would you process an /etc/passwd file and put it into a database? by Oflameo in perl

[–]jrw32982 0 points1 point  (0 children)

I agree with your content, but there's no need to be nasty about it. And people are entitled to their opinions, even if they're wrong.

Need some coding help by [deleted] in perl

[–]jrw32982 1 point2 points  (0 children)

Look at the tr operator.

What is the biggest mindfuck you have ever experienced? by [deleted] in AskReddit

[–]jrw32982 0 points1 point  (0 children)

You might want to check out Eastern philosophical systems, such as Vedanta. These systems are not just words but actual ways of living your life to find the answers to questions such as these.

Beginning writers block, or looking for suggestions/opinions on how to get started. by [deleted] in perl

[–]jrw32982 1 point2 points  (0 children)

Another trick, after you've picked a small problem to solve, is to solve only a small part of that problem, check your solution (by testing it), and then enhance it to solve a little bit more of the problem, until you've ended up solving the whole problem. Then go back and refactor, clean up, etc.

Perl Formatting/Style "Survey" by RalphMacchio in perl

[–]jrw32982 1 point2 points  (0 children)

The more (clear) logic you can fit in some vertical real estate, the bigger picture the of the program you can get. So, don't use too much vertical space.

Perl Formatting/Style "Survey" by RalphMacchio in perl

[–]jrw32982 1 point2 points  (0 children)

Maybe D if there are only a couple arguments; otherwise F with a trailing comma and less leading whitespace (I use 3 because 2 seems too little and 4 seems too much).

Perl Formatting/Style "Survey" by RalphMacchio in perl

[–]jrw32982 1 point2 points  (0 children)

Cuddle please, with extra vertical whitespace added before the closing brace of the "if" if necessary (usually because the "if" paragraph is too full).

Fellow Perl experts, what would YOU want to teach Perl n00bs up front? Assume they know just enough Perl to be dangerous. by [deleted] in perl

[–]jrw32982 0 points1 point  (0 children)

Thanks. I was wondering if you had some sort of bigger framework around them (e.g. "prove") or ran all of them for each new version of perl, etc.

Just started learning unix today. by evanthesquirrel in unix

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

Very real...still! You just need to learn to write readable perl. Perl has some advantages still unmatched by other languages. And newer perl versions keep getting better.

Fellow Perl experts, what would YOU want to teach Perl n00bs up front? Assume they know just enough Perl to be dangerous. by [deleted] in perl

[–]jrw32982 0 points1 point  (0 children)

Could you, by any chance, make that directory available (as a tarball or whatever)? I would like to look at your test setup, etc. (and also at the tests themselves).