Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2014-06-23

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

All times shown according to UTC.

Time Nick Message
02:33 pdurbin joined #pdl
19:01 mohawk joined #pdl
19:31 sivoais Relevant to PDL: "Graham Ollis (plicease) Foreign Function Interface (FFI): Never Need to Write XS Again" <https://www.youtube.com/watch?v=cY-yqQ_nmtw>
19:32 sivoais about both FFI and Alien
19:51 vicash does it work for callbacks from a separate thread ?
20:00 sivoais not sure. Everything is based off of XS bindings to libffi
20:00 sivoais but it does support callbacks
20:01 vicash cool
20:01 mohawk why do people make videos about writing software?
20:01 mohawk seems like a category error ;-)
20:02 sivoais it's from YAPC...happening live *NOW* :-)
20:02 sivoais YAPC::NA
20:03 vicash oh yea.. cool
20:03 vicash are you at YAPC sivoais
20:03 sivoais no, not this year :-( School and work
20:04 sivoais there's an Atari hacking panel happening now
20:04 sivoais <https://www.youtube.com/watch?v=Ulcq0pVlQ1c>
20:04 vicash is there live streaming ?
20:04 sivoais yep
20:04 mohawk sivoais, ah that's different!
20:05 vicash sivoais: is there a video for the hackathon that is happening ?
20:05 vicash the hardware hackathon
20:06 vicash maybe i should ask this on #hardware
20:07 * sivoais still has to write the driver for the RadioShack DMM
20:08 vicash sivoais: which DMM is this ?
20:09 vicash sivoais: also have you looked at sigrok ? they may have already written a C layer for it which you can just adapt
20:09 vicash i think rblackwe on #hardware is planning to get folks to write an XS module for sigrok so that many devices can be directly used
20:09 vicash not sure how successful he will be
20:10 sivoais I've got the RS22812
20:10 sivoais ah, it has support <http://sigrok.org/wiki/RadioShack_22-812>
20:11 sivoais ooh, so it's just C? interesting
20:12 vicash yes it is and they have a #sigrok channel on freenode. so maybe you can ask if someone has done or is working on a Perl layer for it
20:12 * sivoais adds to TODO pile
20:12 vicash seems like their focus is also on the UI part but i am thinking PDL can be used to analyze a lot of signals  from logic analyzers which could be 100s of MBs if stored for a long time
20:13 sivoais but I probably won't get to it for a bit
20:13 vicash sivoais: if no one gets to it then i can collaborate with you on the perl xs version. sigrok is a pretty big library
20:15 sivoais if you start, ping me about it. I might be free in a couple of weeks
20:16 mohawk did someone say Alien module then using Inline to get 90+% of the way there?
20:16 vicash sivoais: sure..
20:18 sivoais mohawk: from the talk, the main advantage of FFI is no compilation needed. I'm not sure about where FFI will not be enough, but it looks like it can handle most run-of-the-mill C code
20:21 sivoais no compilation == more places that can use your code
20:21 sivoais as long as the library you're using is available
20:27 mohawk wow
20:27 mohawk i'm just reading through a tut on GIMP and blender to do 2.5d parallax photo effects
20:27 mohawk then i'll watch the ffi ved
20:27 mohawk http://www.diyphotography.net/2-5d-parallax-animated-photo-effect-using-free-software/
20:30 mohawk ved = vid
20:30 mohawk that was freudian
20:36 mohawk had a quick read of the blender WP page
20:36 mohawk was shocked to see mention of a python binding, but no perl
20:37 sivoais Blender has Python scripting embedded from the start, iirc
20:39 vicash sivoais: is correct.. Blender embedded Python when it was released first because they wanted something that looked like Visual Basic and could be embedded
20:39 mohawk yes, saw a post about that from 2012
20:40 mohawk i was just thinking "oh, we could use GIR to make a perl binding"
20:40 mohawk then i realise it probably doesn't use Glib
21:26 mohawk this FFI thing is sex on legs
21:26 vicash mohawk: sex is always between the legs
21:27 mohawk and of course, if blender had a C API like GIMP does, we could just make a perl FFI interface - done
21:27 mohawk vicash, you are so naive ;-)
22:00 mohawk holy cow, this FFI thing has possibilities
22:00 mohawk sivoais, any other seriously ground-breaking stuff, please flag up!
22:08 sivoais will do. Still working on this IPython kernel
22:08 sivoais I need to figure out how to debug ZeroMQ messages so that I can see what they are supposed to look like
22:09 sivoais the docs for the messages emitted by IPython aren't very clear
22:09 sivoais well, they're clear up to a point... but when you want to do more advanced things, they've got nothing
22:11 pdurbin sivoais: the IPython kernel is out?
22:14 sivoais pdurbin: not yet. I need to make a demo showing that images/plotting works. Not sure I understand those messages yet, but I'm getting there
22:15 sivoais also... my code needs a whole lot more abstraction. It's a bit of an embarrassing mess.
22:16 * pdurbin should probably have more shame about his code
22:17 mohawk ha ha!
22:17 mohawk if you think that, you may well be right
22:17 mohawk sivoais, why not release early, release often?
22:20 sivoais mohawk: I will...I just started this project last week... :-P
22:20 mohawk ok
22:20 mohawk so it's been several days
22:20 mohawk nothing to release yet? ;-)
22:21 sivoais well, you can try the code <https://github.com/zmughal/p5-Devel-IPerl>
22:21 sivoais but there's no docs on how to use it yet
22:21 sivoais I'll throw something up now
22:22 sivoais err... phrasing
22:22 sivoais I'll add some text on how to use it... *there*
22:22 mohawk an archer fan?
22:25 sivoais I've seen a few episodes with friends. Been meaning to watch more :-D
22:25 mohawk watch every episode ever made
22:25 mohawk the writing is SO good
22:27 sivoais ok, some docs are up... now to head to the gym :-)
22:28 mohawk enjoy!
22:28 mohawk HULK LIFT

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