user-pic

Kang-min Liu

  • Website: gugod.org/
  • About: I /((blog|think) about|(work|have fun) with|write|extend|hate|love)/ Perl.
  • Commented on Type::Const released
    I like the idea ! :) It also seems to me that there can also be at attribute trait declaring that "this attribute is const-y" on the types that are already defined. IOW I'm pondering about making the following syntax...
  • Commented on Your Personal CPAN In The Sky
    I also like the idea in several aspects. But freedom and authority would be the two major factor that makes me happy. Current CPAN basically suggests people name their distribution according to some fuzzy classification rules. Top level namespaces tend...
  • Commented on Being anti-social
    You cloud just `echo "0.0.0.0 twitter.com" > /etc/hosts` and leave it there for a while... :-)...
  • Commented on GitHub-like activity indicator for authors and distributions
    That looks sweet! In the output SVG, I'd like to suggest to change `width="100%" height="100%"` to some pixel value like `width="177px" height="22px"`. This makes it looks nicer to when using img tag to contain the svg, and it is also...
  • Commented on For speakers at Perl conferences...
    FYI. Snow Leopard user can simply use Quicktime to record full screen....
  • Commented on Combinatory Substitution
    I like the question and came up with a recursive solution. The code is posted here: http://gugod.org/2010/07/post-79.html It probably dose not meet your original requirement but it's fun thinking the solution. Thanks for the question :)...
Subscribe to feed Recent Actions from Kang-min Liu

  • Ranguard commented on For speakers at Perl conferences...

    Typically, even though I ran a full test before hand, the software crashed at the end of my talk! - So *cheer* for conference organisers (and others) who have uploaded the Perl Talk Videos

  • chimerix commented on Your Personal CPAN In The Sky

    gugod, CPAN is about sharing, and if you just toss random-named stuff into the pot, you wind up with a cesspool like Python's PyPi or Ruby's Gems. Their authors are frequently vain hipsters who appear to be in a contest to make the weirdest names.

    Whenever somebody makes a comparison of Perl to another language, the first pro in Perl's favor is CPAN. If we lose the community professionalism for the resource it no longer becomes a selling point. I always avoid odd-named modules unless they have reached critical mass (like Moose or Dancer) because it usually reveals the author was thin…

  • Jeffrey Ryan Thalhammer commented on Your Personal CPAN In The Sky

    I think that is Kang-min's point: to use the Perl toolchain *without* having to coordinate namespaces. A custom CPAN-like repository would let you do just that. If you eventually do decide to release to the public CPAN, *then* you can worry about namespaces. But until then, you can just point cpanm at your repository in the cloud to get your stuff, no matter what it is called.

    Some developers still feel that CPAN-style distributions are only useful for code that will be released to the public CPAN. I want to help dispel that belief.

  • Robert Rothenberg commented on Type::Const released

    I've updated it in v0.3.0 so that there is a single Const type that takes an optional parameter, e.g. Const[ArrayRef[Int]]

    I have removed the ConstArrayRef and ConstHashref types as well.

  • Robert Rothenberg commented on Type::Const released

    I would have thought something like

    has things => (
    is => 'const',
    isa => BagOfWind,
    );

    It should be fairly easy to write something automatically modifies the type and adds a coercion.

Subscribe to feed Responses to Comments from Kang-min Liu

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.