user
ELISHEVA
<small>Photo credits: [http://yedda.com/people/9512186217351/|Yaniv Golan]</small>
<h3>Thought of the day</h3>
<p>Every system that fails has a reason for failure and a path to success. One will never find the second unless one respects the first.</p>
<h3>Maxwell's parody of Robert Burns</h3>
<code>
Gin a body meet a body
Flyin' thro the air,
Gin a body hit a body,
Will it fly? And where?
Ilka impact has its measure
Ne'er a' ane hae I
Yet a' the lads they measure me,
Or, at least, they try.
Gin a body meet a body
Altogether free,
How they travel afterwards
We do not always see.
Ilka problem has its method
By analytics high;
For me, I ken na ane o' them,
But what the waur am I?
-- James Maxwell
</code>
<h3>Awesome, interesting and/or useful threads</h3>
<p>Here are some threads I've really enjoyed..</p>
<ul>
<li>[id://584790|Recommended Reading, started by Limbic~Region]</li>
<li>[id://22319|Things are not what they seem like, started by Abigail] - clever <i>and</i> well written. Fun way to learn perlish punctish.</li>
<li>[id://17890|Shift, Pop, Unshift, and Push with impunity, started by lhoward] - on the efficiency of Perl list operators.</li>
<li>[id://525392|Flipin good, or a total flop? by GrandFather] - on the nuances of <code>(2..5), (2...5), (/start/../end/), @foo[2..5]</code>, and <code>$foo[2..5]</code></li>
<li>[id://732286|Burned by precedence rules, started by vrk] - various styles and perspectives on how to code easy-to-read logical expressions</li>
<li>[id://705411], started by [missingthepoint] - I make loads of these. Lots of good advice, but the best? get some sleep.</li>
<li>[id://442597], started by [brian d foy] - bloopers made by even the best.</li>
<li>[id://485945], started by [Ovid] - Things you can do in Perl, but probably shouldn't.</li>
<li>[id://590607|Secret code generator, started by xiaoyafeng] - a battle between Perl and Python, OO and functional programming,... and two great coders - all because of a password generator.</li>
<li>[id://26380|Path to mastery, started by tilly] - reflections on learning, teaching, and the balance between elegance and clarity in code.</li>
<li>[id://727606|Small Perl quests for a beginner, started by masze77] - great list of resources for finding programming practice problems, some Perl specific, some not.</li>
<li>[id://611372|blandness is the problem, not plagarism, started by doom in response to blazer] - on how XP does and does not motivate people</li>
<li>[id://17245|Number of monks by level] - bar chart showing number of total users by level, number of users logged in over the last 24 hours, by level</li>
<li>[id://172086], started by [jeffa] - lots of tips on how to ask a good question</li>
<li>[id://640142], started by [cmv] - when a patch submitter and module author disagree, when is it time to let go?</li>
<li>[id://756889|Re: I want more monkquips, by BrowserUk] - food for thought when you've seen the same question for the 15th time <i>this week</i></li>
<li>[id://778107|An encouraging word] - nice little story on days when you are feeling stupid.</li>
<li>[id://646123] - on the merits of coaching vs. giving answers.</li>
<li>[id://552151] by [planetscape] - compilation of links to discussions on programming exercises for learning Perl.</li>
</ul>
<h3>Perl Monks How-tos</h3>
<ul>
<li>[id://43037] - includes information on how to use shortcuts to load nodes with custom attributes</li>
</ul>
<h3>Outside reading</h3>
<p>And some off-site links that have given me food for thought...</p>
<ul>
<li>[http://www.perl.com/pub/a/2000/08/conway.html|Interview with Damien Conway] - reflections on the limits of methodology.</li>
<li>[http://www.perl.com/pub/a/2004/10/14/file_editing.html|FMTYEWTK About Mass Edits In Perl] - how to use Perl as a souped-up sed</li>
<li>[http://foldoc.org/|The Free On-line Dictionary of Computing]</li>
<li>[http://perlgeek.de/en/article/encodings-and-unicode|Character encodings in Perl] - one of the clearest articles I've seen on the topic</li>
<li>[perldoc://perlrequick] - quick and fairly complete run through of regex syntax.</li>
</ul>
<h3>Things that matter to me...various insights from life and work</h3>
<readmore>
<ul>
<li>A good question opens more doors than a good answer.</li>
<li>What I like most about working with others is what they teach me <b>not</b> to assume.</li>
<li>[id://746865]</li>
<li>Don't forget how hard it was to learn what you now take for granted. <i>adapted from [id://756889|BrowserUk]</i></li>
<li>An amazing story and video [http://www.youtube.com/watch?v=wnmbJzH93NU&feature=related|Susan Boyle] - plain looking unknown 47 year old singer who is going viral on YouTube and elsewhere after her Brit's Got Talent audition.
And some thought-provoking commentary in Huffington Post by [http://www.huffingtonpost.com/letty-cottin-pogrebin/why-susan-boyle-makes-us_b_187790.html|Letty Cottin Pogrebin] (founder of Ms Magazine) and [http://www.huffingtonpost.com/steve-young/we-all-have-a-little-susa_b_187989.html|Steve Young]</li>
<li><c>print "hello, world...";</c> is syntactically correct, but doesn't do what I want. Namely be a CD inventory database.<br/><i><small>attributed to [jcwren] in the CB on 8-July-2002, on the user page of [John M. Dlugosz]</small></i></li>
<li>Life begins where the wild things are.</li>
</ul>
</readmore>
<h3>The Wisdom of Perl Monks</h3>
<ul>
<li> in a regex <code>$</code> (without m modifier) matches end-of-string <i>but also</i> before a newline, but only if it comes just before the end of the string. This is intended as a convenience so that you don't have to chomp lines just to apply regexes - see [id://742259]. Thanks, [jethro]!.
<small><p>Note: it does <i>not</i> actually match the newline, just the position before it.</p></small></li>
<li> the syntax <code>while($somevar = <...>)</code> and <code>while($somevar = readline(...))</code> is special. It automatically gets wrapped with <code>defined(...)</code>, e.g. <code>while(defined($somevar = readline(...)))</code>. - see [id://744240]. Thanks, [ikegami]!.
<small><p>But note: This applies only to that particular incantation - if you wrap the call to <code>readline(...)</code> in a subroutine and use that instead, e.g. <code>while($line=wrapped_readline(...))</code> the special behavior goes away.</p></small></li>
<li>to count the number of hash keys in constant time: <c>scalar keys %somearray</c>. Thanks, [BrowserUk].</li>
<li>to reset <c>each</c> in constant time: <c>scalar keys %somearray</c>. Thanks, [grandfather].</li>
</ul>
2022-08-28 04:13:23
10298
720220
749279
928
Asia/Jerusalem