Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2014-04-20

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

All times shown according to UTC.

Time Nick Message
00:54 mohawk just had a bit of a read of https://github.com/verse/verse - it looks more like it's intended for 3d type software
00:55 mohawk the idea of collaborative graphics is neat, but if you and i were collaborating, what would you expect to see on your screen when i did stuff?
00:57 mohawk (this just says "please put me in an Inline module ;) https://github.com/verse/verse/wiki/Tutorial-Simple-C-Verse-Client
00:58 mohawk also, i think GIMP would need to have hooks to report data changes
01:00 sivoais that would get tricky
01:00 mohawk which bit?
01:00 sivoais syncing up the states of both Gimp
01:02 sivoais what if someone activates plugin while another person is adding a line
01:02 sivoais who gets priority?
01:02 mohawk collaboration is tricky
01:03 mohawk in that case i expect you could just apply both
01:03 mohawk yeah, i think the finest grain one would want would be a "send layer / image" button
01:04 mohawk it would be the image equivalent of what text is on IRC
01:06 mohawk what do you think?
01:07 sivoais that makes sense... each person can draw on their own layer and see the other layers with transparency
01:09 mohawk and on your collab console you'd see "new layer / image arrived"- "accept" would be display new image OR add layer to current or layer in new image
01:12 mohawk starting to feel a bit more practical
01:12 mohawk what say you?
01:15 sivoais makes sense for a first approach
01:15 sivoais having a seamless UI would be the most important part
01:15 sivoais after getting it working
01:16 mohawk seamless - that might be a bit ambitious ;)
01:44 mohawk did you have another go at Alien::L*
01:45 mohawk ?
02:00 mohawk i gather not, fair enough
02:01 mohawk reading through the gimp plugin archived at http://users.telenet.be/blendix/verse/#gimp_plugin
02:01 mohawk it looks like the trick is it just polls the relevant image/layer and syncs them up
02:01 mohawk so while they might clash, it doesn't worry about that
02:08 mohawk so, no hooks required
02:09 sivoais no, haven't worked on Leptonica
02:09 mohawk fair enough
02:09 sivoais working on Alien::pdf2json now because I need it for something else
02:09 mohawk also fair enough
02:29 mohawk i see a patch on A::L - i didn't know about metacpan's tool/patch thingummy
02:57 sivoais mohawk: oh, that's something I put together... I patch the source package myself <https://metacpan.org/source/ZMUGHAL/Alien-Leptonica-0.004/tool/create-source-package#L15>
02:58 sivoais ok, released Alien::pdf2json. This one comes with a pre-compiled Win32 binary which skips the build from source step
02:58 mohawk nice work
02:59 * sivoais rubs hands together
02:59 sivoais now to build the module that uses pdf2json
03:00 mohawk build = construct, or run make process on?
03:00 sivoais construct
03:01 mohawk wahay
03:01 mohawk thinking a little Inline action? ;)
03:02 sivoais no, not this time... pdf2json is just an executable... a bit boring
03:03 sivoais mostly File::Temp, system(), and slurping data
03:04 mohawk BORING
03:05 mohawk why not use IPC::Run3?
03:05 mohawk i have it on good authority it's quite useful in such circumstances
03:05 sivoais hahaha
03:06 sivoais pdf2json doesn't do STDOUT
03:06 sivoais and I can't use all the Unix tricks on Windows unless I start going into making named pipes
03:11 mohawk pity I::R3 doesn't support that
05:53 mohawk sivoais, take a look at GP's /Filters/Enhance/Selective Sharpen - the code is pretty sweet (no, not mine - just modifying for this ::Layer stuff)
05:55 sivoais ok, looking at <https://metacpan.org/source/ETJ/Gimp-2.3/examples/selective_sharpen>
05:56 mohawk aieee, ugly 2.3 version
05:56 mohawk it burns my eyes
05:56 mohawk i think the point i was driving at was the power of the GIMP builtins to do image-processing
05:57 mohawk thought you'd appreciate it (if i'm right and it's good rather than humdrum)
05:58 sivoais it is good! It's got a bunch of edge detection operators
05:59 sivoais I'll need to benchmark it against the same operators in Leptonica/OpenCV/VIPS
06:03 mohawk those are mostly plugins, rather than builtin operators
06:03 mohawk which actually i'd argue is even better
06:44 drrho joined #pdl
07:33 mohawk sivoais, by the way - i think it would be a very valuable exercise to benchmark these things and to publish a micro-article on that
11:37 vicash joined #pdl
18:06 rindolf joined #pdl
22:11 mohawk joined #pdl

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