user-pic

Matthew Persico

  • About: I was never in love with C or SQL like this...
  • Commented on A new object system for Perl
    Very interesting. Dot is more of a technique than code. Suggest you change the docs in one way: Use something other than 'class' for the subroutine name in your examples. I spent a few minutes trying to determine how to...
  • Commented on Four backends now for GUIDeFATE...but the struggle continues
    Ron, I am confused; I don't see anywhere in this project where a web server is relevant. As I understand it, this project is about GUIs - local, on machine, no-network programs. From the post: "GUIDeFATE is a tool that...
  • Commented on Pi Day!
    Just make sure you publish version 3.1415 next March 14th. :-)...
  • Commented on Guiding Fate
    At this point I would: 1) CPAN it. As is. That gives you exposure which will bring in Pull Requests so you don't have to do everything. 2) Once CPAN'ed I would add in support for Tk - that's the...
  • Commented on White Camels 2017
    White Camel site is missing 2016 winners....
  • Commented on Nominate Perl heroes for the 2017 White Camel Awards
    Just went to the WhiteCamel site. How in the world has Damian not won one of these? I think it's about time. As evidence, I present: https://www.youtube.com/watch?v=ob6YHpcXmTg&t=2s&index=1&list=PLlD3K-igA84dGmROLTKuPnNvNGgKjyADd From this work, we gain the ability to modify the Perl language in...
  • Commented on Perl less buggy than Python?
    Ugh - the link seems to have not made it to the post. http://www.i-programmer.info/news/98/11184.html...
  • Posted Perl less buggy than Python? to Matthew Persico

    The numbers would seem to suggest it:

  • Commented on Take a walk on the C side, ddt, du du, du du ...
    You are either a music connoisseur or you are dating yourself with that title. Of course, I am also dating myself. Lol. Great article....
  • Posted Maybe the King is facing revolt to Matthew Persico

    Python is often touted as the "winner" among scripting languages, but you couldn't tell from this post:

    https://developers.slashdot.org/story/17/07/22/2250237/ieee-spectrum-declares-python-the-1-programming-language

  • Commented on Perl5 to Java compiler - week 100 - bootstrapping
    Wow. Java is finally useful! Lol. Seriously, though, I'd love to see a presentation on this. Kudos....
  • Commented on Using the Perl debugger with DBIx::Class
    I would like to see more development of debugger hacks using .perldb. Maybe we can turn this into a module on CPAN, or at least a namespace on CPAN so we can add stuff like this in a standardized way....
  • Commented on Something New Every Day
    There's something to be said for braces whenever a variable bumps up against anything that !~ m/\s/: print "${user}'s crontab is missing!\n"...
  • Commented on TVPM Tech Talks in Reading, UK
    Understood. Could you at least post the presentation materials somewhere? Hmm. I wonder if we could do a PerlPM repo on git hub - one branch for each PM branch. Dated subdirs for the presentations, which could be the actual...
  • Commented on TVPM Tech Talks in Reading, UK
    Thanks. It occurred to me as I was reading this, that we've got over 100 pm groups all doing their own thing and although our cat's stupid tricks make it up to Facebook and YouTube, we aren't sharing that wealth...
  • Commented on TVPM Tech Talks in Reading, UK
    Any chance you might be streaming this someplace?...
  • Commented on Forthcoming site downtime
    Speaking of downtime, whatever happened to the beta of the site makeover?...
  • Commented on Not Comparing The Way You Meant
    Ugh - never mind. Need more coffee....
  • Commented on Not Comparing The Way You Meant
    You forgot to mention Problem #0 - this script cannot be using strict and warnings....
  • Commented on qk: Quote Membership Hash Keys
    I could live without either. I think qk() is more useful than qa(), given that qa saves you two non whitespace keystrokes: my $aref = qa( a b c ); ## vs my $aref = [qw( a b c)]; And...
  • Commented on qk: Quote Membership Hash Keys
    Well, if you're going to document qa() as qa[], you should then use qk{}, no?...
  • Commented on Saving Breakpoints in the Perl Debugger
    I posted an issue at the GitHub repo for the site and was pointed at the pre and code tags that work in markdown. Strangely enough, Preview is broken before you publish only. If you go back to edit an...
  • Commented on Saving Breakpoints in the Perl Debugger
    If anyone could point me to how to generate code blocks in Markdown, I'd appreciate it; as you can see, the formatting is poor. Thanks....
  • Posted Saving Breakpoints in the Perl Debugger to Matthew Persico

    I'll state right off the bat that I have re-invented the wheel here. However, I did not know that until I asked on Perlmonks and was pointed to the resources that I couldn't find on Google. It was suggested on Perlmonks that a blog post, even for…

  • Commented on DWIM Perl for Linux 5.18.1
    But you still need a compiler for other modules you might want to add on, no? You are not including a toolchain, right?...
Subscribe to feed Recent Actions from Matthew Persico

  • Ron Savage commented on Four backends now for GUIDeFATE...but the struggle continues

    Hi Saif

    Damn, forgot. For an article on the garden design app see Flowers.

  • Saif commented on Four backends now for GUIDeFATE...but the struggle continues

    Hi Ron,

    This is excellent...

    I accept your comments about exponential increase of effort with complex scenarios. It is I guess important to try these out in "real-life" applications. A tool is only useful if it makes life easier, the effort spent on *creating* the tool should therefore reduce the effort of using it. I will use your data set for an experiment with my tool.

    Thanks

  • bigfoot commented on A new object system for Perl

    Interesting...and very clean. So how does one for example use a CPAN module class that is typically instantiated as:

    my $foo = Foo::Bar->new(...);
    

    Are there issues with memory leaks? Do you have some more robust examples of code that uses this technique other than test cases?

    Quite interesting.

  • Yang Bo commented on A new object system for Perl

    Suppose Foo::Bar is a module implementing a Dot class, you typically create an instance from it by saying:

    my $obj = Foo::Bar::mod({}, ...);

    If the methods of a Dot class only refer to the object through a weakened reference there will be no circular link internally, and thus no memory leak.

    I did wrote some non-trivial stuff using Dot with success, it's on my TODO list to upload them to CPAN, but it may take some time. However I will upload a very simple (60 LOC), but non-superficial and useful one in just a couple of days, to demonstrate Dot more.

  • Joel Berger commented on A new object system for Perl

    An interesting pattern. Not too far removed from what I did with Class::Anonymous other than I made my objects subrefs and both the data and methods were closures for even more data privacy. I love playing with alternative patterns like this. It is fun that Perl gives us that freedom!

Subscribe to feed Responses to Comments from Matthew Persico

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.