user-pic

silent11

  • Commented on When Laziness Isn't
    LarryL and brian, thank for pointing out I could have just used 1..5 My perl is rusty to say the least....
  • Posted When Laziness Isn't to silent11

    I just needed a few rows of UUIDs in a column of a spreadsheet, more for esthetics than anything else. uuidgen to the rescue.

    At the time I didn't realize that uuidgen natively supports outputting multiple ids like …
  • Commented on graphql-perl - plugin to make GraphQL "just work" with Mojo publish/subscribe functionality
    Awesome to see Perl/Mojo GraphQL libraries! Thank you! If I just want to use Pg can I stop there, or is Redis a requirement along side Pg?...
  • Commented on Perl 7, not quite getting better yet
    spot on dude....
  • Commented on A GUI for CPAN::Mini
    Good use for a GUI, and it looks good too!...
  • Commented on Dance with the one that brung ya
    @Joel, I'd love it if M::L were front and center in the newcomer's face. But how do we make it so obvious to newcomers that they think of M::L when their boss says they have till the end of the...
  • Commented on Dance with the one that brung ya
    Regarding "de facto", I think CGI.pm is the victim here, it grew to a de facto standard within a TMTOWTDI language and culture. Though it wasn't the language or our culture that promoted CGI.pm to this status, I think it...
  • Posted Dance with the one that brung ya to silent11

    I just read chris fedde's response to Ejecting CGI.pm From the Perl Core, my head nodded in agreement from start to…

  • Commented on The Making of Mojocasts
    The content, flow, and esthetic of first two screencasts were excellent! Nice Job!...
  • Posted 10 years of programming perl to silent11

    I logged in to perlmonks yesterday to find this!

    HappyMonkDay-10.png

    10 years of programming Perl.

  • Posted Onion and CPAN to silent11

    Onion CPAN Logo

  • Commented on My Perl Pillow
    @Robert, As far as I know it's one of a kind. I gave this image to this pillow designer and a few day later I had a pillow delivered :)...
  • Posted My Perl Pillow to silent11
  • Commented on Perl is Dead (to bing.com)
    @coke, yes. That was the point of the post. Bing doesn't realize that "Perl is Alive" is a topic of discussion on the web. I pointed out the link in my screenshot....
  • Commented on Perl is Dead (to bing.com)
    There is nothing custom to my bing setup (not that I've done anyway), and I get the same results in firefox, again having never been to bing before in this browser. Oh well....
  • Posted Perl is Dead (to bing.com) to silent11

    I've been a google user ever since giving up AltaVista back in the day. I've heard good things about bing, laughed at their funny TV advertisements, and have deep-down (in a weird sort of way) wanted a search product from M$ to be a success.

    I decided a few days ago that I'd give bing.com …

  • Commented on Tips on perl.org
    When I whiped up this post last night I knew there'd be parts I'd come to regret (if not all of it). So, after cooling off and getting some sleep... Leo, I didn't mean to take anything out on you...
  • Posted Tips on perl.org to silent11

    Why does perl.org dis on other languages?

    "Perl -- It's like Java, only it lets you deliver on time and under budget."

    Are you kidding me? Is that what we're about?

    Instead, why don't we be critical abou…

  • Posted Another reason why I use Emacs as my primary editor to silent11

    My editor of choice is Emacs. Like Perl, one of its strengths is its flexibility. (some would argue this a weakness. to each their own) Here's just one example I recently found... you can extend Emacs to change the cursor based on what mode you are in (normal, read-only, overwrite)

  • Posted Thank You, Perl Advent Calendar Authors of 2009 to silent11

    I Love ALL the Perl Advent Calendars!! The Perl6 calendar has got me SO excited for Perl6, I can't wait to finish a couple of my projects so I can get a new version of pugs installed. The last time I installed pugs was 11…

  • Posted Hello World to silent11

    I'm very glad to see another perl blogging/journaling site. More to come...

Subscribe to feed Recent Actions from silent11

  • Mike Houghton commented on graphql-perl - plugin to make GraphQL "just work" with Mojo publish/subscribe functionality

    This is impressive!

    I have just used it for a little internal project; I didn't realise it was so fresh though.

    Could I suggest a followup where you discuss how to amend the schema?

    For example:

    - if I flat out do not want any of the mutations just for safety reasons
    - if I want to add a query type?
    - if I want to add a default where clause to an existing query?

    I've bodged the first two of these things but I'm sure not healthily...

  • Mike Houghton commented on graphql-perl - plugin to make GraphQL "just work" with Mojo publish/subscribe functionality

    Oops, I left my comment on the wrong one of your posts. Still -- thanks for the Mojo/GraphQL stuff!

  • BWVA commented on When Laziness Isn't

    @briandfoy - My shell now sources a separate zsh_aliases file with many dozen aliases - about half of which I've learned from you, like your set of very handy number conversions. I'm sure others collect yours, too. So it seemed worthwhile to post that this one gives me an error (recent macOS, Perl 5.40.1):
    alias u="perl -le 'system q(uuidgen) for 1..$$ARGV[0]'"

    Looks like the double '$' is being interpreted as the process ID:

    Bareword found where operator expected (Missing operator before "ARGV"?) at -e line 1, near "54994ARGV"

  • BWVA commented on When Laziness Isn't

    But I'm not clear why plain $ARGV[0] doesn't work there. Your suggested '$$ARGV[0]' doesn't mean the same thing as '@ARGV[0]' in perl directly. Is this a shell thing? (I'm using zsh.)

  • Tony Cook commented on When Laziness Isn't

    The $$ in $$ARGV[0] is being replaced when the alias is created:
    tony@venus:~$ alias u="perl -le 'system q(uuidgen) for 1..$$ARGV[0]'"
    tony@venus:~$ alias
    alias u='perl -le '\''system q(uuidgen) for 1..95370ARGV[0]'\'''
    The shell doesn't use @ here so @ARGV[0] works.

    The single $ARGV is replaced with nothing, so it also doesn't work:

    $ alias u="perl -le 'system q(uuidgen) for 1..$ARGV[0]'"
    tony@venus:~$ alias
    alias u='perl -le '\''system q(uuidgen) for 1..[0]'\'''

    You can avoid the replacement with bash an…

Subscribe to feed Responses to Comments from silent11

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.