Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2015-01-02

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:57 drrho joined #pdl
08:21 rindolf joined #pdl
09:18 opkick [pdl] wchristian pushed 1 new commit to master: http://git.io/B9CgAQ
09:18 opkick pdl/master bb1afb7 kmx: using eval around Pod::Parser method parse_from_filehandle which occasionally dies (observed with PDL/Graphics/Gnuplot.pm on MSWin32)
14:14 rindolf joined #pdl
14:38 vicash left #pdl
14:46 vicash joined #pdl
20:28 mohawk one assumes kmx added a test for this pod::parser failure
20:28 mohawk good heavens, in fact he didn't
22:04 vicash why use eval instead of Try::Tiny ?
22:05 mohawk dude, don't start asking why PDL things are done in any particular way
22:05 vicash hahaha
22:06 vicash btw is there a way to start "re.pl" faster ?
22:06 vicash it is so slow to start for some reason ..
22:06 vicash is there another interactive perl shell that can be used ?
22:06 mohawk why not put some BEGIN { warn "now" } in to see what's slow?
22:06 mohawk there's the Gimp-Perl console
22:07 vicash for that I have to have Gimp-perl installed
22:07 mohawk has a 10-space command-line history
22:07 mohawk cpanm should make that easy ;-)
22:07 vicash does gimp also need to be installed ?
22:07 mohawk regrettably, yes
22:07 mohawk although i actually find it nice enough it could well be split out
22:09 vicash well my problem is much simpler.. when i want to do some basic calculations to verify some stuff, i end up using bc or python. bc sucks for doing things with bit shifts and other math functions. Python is great for that but i dont want to write a for loop in python. so i try to use perl but it takes a long time for re.pl to start
22:09 vicash so i end up using python for quick work or expr and bc
22:09 mohawk huh
22:09 vicash an interactive perl shell for doing some math calcs is what i am trying to find.. re.pl does it but takes time to start up
22:10 mohawk pdl itself?
22:10 mohawk or perldl
22:10 vicash never tried that.
22:10 mohawk because why have only one REPL supplied, when you can supply two
22:10 vicash at least for non-PDL stuff
22:10 vicash perldl is much faster than pdl
22:10 mohawk do not under any circumstances think about actually why
22:10 vicash well one uses Devel::REPL which is really slow i think
22:11 vicash ok. i guess pdl is faster to load on my system than re.pl. i will just use that
22:13 mohawk does D::REPL need to be so slow?
22:13 mohawk i think i'm just asking you to spend minutes few on finding preliminary info on where it's slow, no more
22:14 vicash so how would i do that ?
22:14 vicash re.pl just invokes Devel::REPL::Script
22:14 mohawk i reckon editing the relevant top-level bit, putting in the BEGINs i mentioned above
22:14 mohawk and just watch for what takes ages
22:15 mohawk not high-tech, which is why it's quick to do but a little crude ;-)
22:16 vicash i will try when my system is under load
22:17 vicash right now re.pl loads much much faster than when i ran it earlier probably because the OS is caching the loads of the Perl modules
22:17 mohawk so create some load ;-)

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary