user-pic

educated_foo

  • Commented on I hate Dist::Zilla and missing Makefile.PL
    Jim -- your passive-aggressive BS is not amusing....
  • Commented on On the relative readability of Perl and Python
    Indentation-based scope plus implicit variable declarations plus no checks until runtime bit me several times the last time had significant contact with Python, on a mid-sized Django project. (It didn’t help that the previous developers had slightly different indentation styles.)...
  • Commented on Perl and Me, Part 3: A Møøse once bit my sister
    If doing x a thousand times is a thousand times slower than doing y a thousand times, then you should never do x. Got it....
  • Commented on Perl and Me, Part 3: A Møøse once bit my sister
    A 1000x slowdown should be noticeable, shouldn't it? I compared perl -e 'eval "package A$_; sub new{bless{@_}, shift};" for 1..1e3' to perl -MMoose -e 'eval "package A$_; use Moose;" for 1..1e3'. I agree that in a long-running process, class definition...
  • Commented on Perl and Me, Part 3: A Møøse once bit my sister
    For some jobs (CGI, simple command-line scripts, etc) load time is important, and the Moose penalty may be too great to bear. For others, such as a daemon, or a script which would take several hours to run anyway, it's...
  • Commented on Perl and Me, Part 3: A Møøse once bit my sister
    Anyone who tells you today that Moose is still too slow is trying to use Perl like it was C. This is laughably false. What about people who are trying to use Perl like a Unix scripting language? Moose takes...
  • Commented on Reconsidering Exercise 1
    Plain old Perl looks pretty good here: $max = (shift || 1000) - 1; for (1..$max) { $sum += $_ unless $_ % 5 || $_ % 3 } print "Total: $sum\n";...
  • Commented on Visualizing a CPAN install plan
    I'm guessing it was designed for an era when network connections were slower, and modules had fewer dependencies and/or smaller, faster test suites. Figuring out the deps requires a bunch of sequential network requests for META.yml or similar, which would...
  • Commented on Is it possible to run Movable Type under Apache HTTP Server?
    Exactly. CGI is the only sensible thing for your checkers club's guest book page, so to say. Or blogs.perl.org comments, of which there are a handful per day. Man, I need to look at this CGI thing......
  • Commented on OT: DataCite Recommends "doi:" Scheme Prefix
    How do DOIs compare to ISBNs? I had to get one of those recently, and it was basically "bend over and accept Bowker's thorny shaft." Has some useless company with a mutex and an integer managed to corner the DOI...
  • Commented on Debuging method for perl Complex data structures
    Getting any text posted here is a minor achievement. I think you can do syntax highlighting by using both "code" and "pre" tags, but checking this by using "preview" would probably either not work or log me out. People have...
  • Commented on A new blogs.perl.org or die trying
    Heck, an FTP server with logins would be a better blogging platform. Or a free Wordpress account -- perl.wordpress.com is still free....
  • Commented on Why Puppet is Intrinsically Better Than Chef
    I'm not sure where the urge to install your own private $X should stop. Do you link against a static libc? Do you force all XS modules to be statically linked? Does "best practice" abhor dynamic linking?...
  • Commented on An Intro to Perl - Presented to Makers Academy students
    Adding "my" all over the place would just be noise. Somewhere else in that page, MJD noted that there's not much difference between lexical and global scope in a one-screen program. We could pedant this out (recursive functions, dynamic scope,...
  • Commented on Dribbles from my Brain
    Say no to family members who need computer help because you are a computer geek. Grandma: Can you help me with my email? Douche: I'll consult at $50/hr. Otherwise, get lost, you old bag! No sociopaths here......
  • Commented on A new blogs.perl.org or die trying
    A righteous, justified rant! The comment system here seems to basically work now, and doesn't log me out too often. The journal-posting part is another story, being basically useless. In any case, I have long since learned to defensively copy-paste...
  • Commented on An Intro to Perl - Presented to Makers Academy students
    Not in the past five years, but I have tutored undergrad CS in the past ten, and it was pretty grim. If there were pseudocode on the lecture slides, you would inevitably run into a student in the lab who...
  • Commented on An Intro to Perl - Presented to Makers Academy students
    A more reasonable approach, for a more civilized time....
  • Commented on PDL::Lite, NiceSlice and OO interface is very good.
    Adding a module that is fragile and concise (PDL::NiceSlice, which is a source filter), while adding another that is robust and verbose (PDL::Lite, which makes you write a bunch of useless arrows), seems pointless....
  • Commented on CPAN modules for converting markdown to HTML
    I agree, to some extent, that "the slowness is not inherent to Moose itself but in how it is being used." But Moose seems to encourage that kind of use. By itself, it adds 10-20 dependencies to whatever you're doing,...
  • Commented on 100 CPAN Distributions + App-ManiacDownloader
    AFAICT a large portion of the stuff on the CPAN top 20 is either abandonware (do SIMON and AUTRIJUS even exist anymore?) or CPAN spam. Apparently even the "top 20" are not exempt from Sturgeon's Law....
  • Commented on CPAN modules for converting markdown to HTML
    Thanks for continuing to do these thorough reviews. As with HTTP clients, the "Moose tax" looks like 1-2 orders of magnitude more runtime and dependencies....
  • Commented on Update dist.ini with the versions you have installed
    Sadly, this unfriendliness has been a part of even the venerable ExtUtils::MakeMaker since forever: run "h2xs -AXn My::Module", and the Makefile.PL will claim that your module only runs on something at least as new as whatever version of Perl h2xs...
  • Commented on List shortage of Perl
    FWIW, it's "encapsulation," not "capsulation", because en- is a prefix: a prefix occurring originally in loanwords from French and productive in English on this model, forming verbs with the general sense “to cause (a person or thing) to be in”...
  • Commented on PDL 2.007 Released!
    (Ugh, formatting…) sub eye { push @_, $_[0] if @_ < 2; my $pdl = zeroes(@_); $pdl->diagonal(0,1) .= 1; $pdl; }...
  • Commented on PDL 2.007 Released!
    Why not PDL? I’m not sure. I’m an Octave (i.e. Matlab) and Perl user who has tried PDL several times. I want to like PDL, because the Matlab/Octave language is terrible, and the implementation is mediocre. But Octave is...
  • Commented on Compare projects p2, gperl, MoarVM
    P2? A prolific ruby coder and net celebrity wrote a minimal language VM, then disappeared. It is now apparently being used to run something similar to a subset of Perl. Gperl? No idea....
  • Commented on Is This a Hashref Which I See Before Me? (no, wait, it's an arrayref ...)
    Most likely the biggest reason I’m never going to hit this ambiguity is that I’m never likely to use keys or each on an array, much less an array reference. Though I disagree with many things in the rest of...
  • Commented on Top Github Languages for 2013 (so far)
    What's with the scare quotes around "your"? I wrote it. People can do what they want with it, even try to make money without giving me credit (though such people are sociopaths). My point was that measuring how good some...
  • Commented on Top Github Languages for 2013 (so far)
    I have never put a line of my distributed Perl code on Github, but it's mostly there through gitpan-style auto-copying. That suggests to me that these numbers are even less useful than TIOBE....
Subscribe to feed Recent Actions from educated_foo

  • jferrero commented on Ten million dollars to DotCloud, but still no Perl support

    G (Gnubila) PaaS is wrote in Perl, also.

    http://www.gnubila.com/geas/g-platform-as-a-service

    P.D. The G platform is enormous. And now they want to GPL it, but don't know how.

  • Manuel Ceron commented on On the relative readability of Perl and Python

    I’m a Python developer but I started coding Perl full time since a little bit more than a year. It’s true that Python has many quirks. That happens with any language that is more than 20 years old. But I think Perl probably has more quirks than Python.

    I think one reason why people think that Python is more readable is because it’s simpler. Both syntax and semantics are simpler. Less operators, less constructs, less ways of doing things. In practice this means that you can understand any Python code after an afternoon. While the same thing for Perl takes years.

  • https://openid.phys.ethz.ch/abe commented on I hate Dist::Zilla and missing Makefile.PL
    install/run/rpm-pack the module. Git copy is not suitable for this. Git copy is only for authoring (yes, and to submit patch).

    If you, as a user, need to install a git snapshot of a project hosted
    at GitHub, you can use https://undzilit4.me/ for that and you don't
    need to bother about all the plugins. It's not equivalent to "git
    clone", but you get what you want.

    btw, when packaging .deb files, Debian tools expect tarballs too. And if you try …
  • jjolla888 commented on On the relative readability of Perl and Python

    All languages suck. I have only come across one syntax that I mostly like (unfortunately you cant do much with that particular one).

    So Perl v Python arguments centered around syntax are somewhat irrelevant. You will find godawful things in both of them.

    For me, the only things that matter are:

    (i) lots of powerful libraries
    
    (ii) good documentation
    
    (iii) helpful communities
    
    (iv) speed [for some things]
    

    My main toolkit is made up of Perl, Python, Go, and C.

    Perl nails (i), (ii), and (iii). It is the super-glue that allows me to write small prog…

  • Gabriel Sharp commented on Don't release experiments to CPAN

    If you want this, first make the guys writing books about perl not tell new developers to submit their code to CPAN; I've read 2 such books. I am sure there are more books out there saying the same thing.

    I am also unclear on your reasoning for the problem. Is it: 1) because you don't like how long the module list is with the extra entries? 2) The submissions of Acme:: and related modules are …

Subscribe to feed Responses to Comments from educated_foo

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.