Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2014-06-19

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

All times shown according to UTC.

Time Nick Message
02:17 [1]mohawk joined #pdl
04:15 sivoais Mithaldu: you may know more about this. I'm making a Perl language kernel for IPython and I need async events. Out of the libraries on CPAN, which is the most portable on Win32? The big ones are AnyEvent, IO::Async, and POE. I'm using IO::Async now.
04:15 sivoais context: <http://comments.gmane.org/gmane.​comp.lang.perl.pdl.general/8223>
04:32 perigrin not AnyEvent
04:33 mohawk god, no
04:33 mohawk not anyevent
04:33 perigrin Marc isnt a fan of windows so you would have no upstream support
04:34 mohawk thanks ;-)
04:36 mohawk i've had io::async recommended to me, that's probably a good way forward
04:45 sivoais :-)
11:02 osfameron isn't there a successor to POE?
11:02 osfameron Reflex?
11:03 osfameron ah, looks like it's more like a different frontend to poe
11:35 jberger sivoais: I'm not sure what all is needed
11:35 jberger But certainly the lightest is Mojo::IOLoop
11:36 jberger Plus i don't know what ipython provides in terms of backend Web service but you would get that for free from Mojo too
11:37 jberger And i would be happy to help along the way
12:52 mohawk joined #pdl
14:30 mohawk sivoais, ping
14:57 sivoais :-)
15:00 sivoais Don't need Mojolicious yet... and I know I could use just the event loop, but IO::Async will let me stack event loops if I need to :-D And with the ideas I have for a Perl REPL, I think that will be good
15:01 sivoais think along the terms of LabVIEW. That needs to be asynchronous in order to be responsive
15:05 mohawk by the way, there's a remote chance that the gimp-perl Perl-Console may offer inspiration for your REPL
15:05 mohawk likewise, you'll probably have some good ideas for improving it!
15:06 mohawk i wonder whether there's any mileage in generalising a perl REPL into a CPAN module?
15:07 sivoais There's Devel::REPL and Reply! I'm actually wrapping around Devel::REPL
15:08 mohawk speaking of async, just realised that my plan to have a gimp-perl progress bar update while the perl plugin's func is running really does need threads or something like it
15:08 mohawk unless i fork, i suppose
15:08 sivoais I know nothing of the internals, but does it run in Glib's event loop?
15:10 mohawk it does
15:10 mohawk but plugins don't know about that, nor need to
15:11 mohawk oo, i have it
15:12 mohawk every time they call progress-update, that will do a quick eventloop slurp
15:13 mohawk and it COULD do that every time they call a GP function/method, actually
15:17 mohawk (which is similar to how script-fu does it)
15:17 mohawk anyway, enough gimp-perl stuff here ;-)
19:52 rindolf joined #pdl
21:25 mohawk quick conceptual PDL question:
21:26 mohawk if you had an image, with 4 bytes per pixel
21:26 mohawk with dimensions x=200, y=100
21:26 mohawk would you expect a piddle with dims 4 200 100? or 200 100 4?
21:28 mohawk (gimp-perl currently does option 1, and i think it should be option 2)
21:36 mohawk it appears this is forced on it by GIMP, so i'll just document it

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