Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2015-03-21

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

All times shown according to UTC.

Time Nick Message
04:26 opkick [pdl] zmughal force-pushed travis-compiler-clang from 6ca153d to fcb0fbe: http://git.io/hPep
04:26 opkick pdl/travis-compiler-clang fcb0fbe Zakariyya Mughal: Travis-CI: change the value of $Config{cc} to clang instead of using PERL_MM_OPT...
05:18 opkick [pdl] coveralls comment on issue #85:
05:20 sivoais hah, that one failed because: "The log length has exceeded the limit of 4 Megabytes (this usually means that test suite is raising the same exception over and over)."
05:21 sivoais Build 145.15 <https://travis-ci.org/PDLPorters/pdl/jobs/55263014> which compiles using Clang. Which is why we need to remove all the warnings with the other PR
05:21 sivoais which is <https://github.com/PDLPorters/pdl/pull/84>
05:25 opkick [pdl] zmughal created travis-compiler-clang-fix-warnings (+7 new commits): http://git.io/hPTj
05:25 opkick pdl/travis-compiler-clang-fix-warnings 05aca50 Derek Lamb: Remove -Wunsequenced clang warnings....
05:25 opkick pdl/travis-compiler-clang-fix-warnings ce8016e Derek Lamb: Remove clang -Wformat-security warnings....
05:25 opkick pdl/travis-compiler-clang-fix-warnings 2adac14 Derek Lamb: Remove clang warning -Wlogical-op-parentheses for slices.pd...
05:26 opkick [pdl] zmughal opened pull request #86: Travis compiler clang fix warnings (master...travis-compiler-clang-fix-warnings) http://git.io/hPkL
06:12 opkick [pdl] coveralls comment on issue #86:
12:28 opkick [pdl] mohawk2 comment on issue #86: This looks fine (and nice Travis work, @zmughal) - this looks like it should be merged. http://git.io/hXRC
14:25 opkick [pdl] mohawk2 comment on issue #84: This branch was absolutely the right technique to use, and @zmughal has achieved brilliant things with Travis. His rebasing of this work onto that other branch (in #86) renders this PR now obsolete, so I am closing it and deleting the branches. http://git.io/h1f2
14:26 opkick [pdl] mohawk2 deleted travis-compiler-clang-fix-warnings at 358d0a7: http://git.io/h1fh
14:26 opkick [pdl] mohawk2 deleted travis-compiler-clang at fcb0fbe: http://git.io/h1J3
14:27 opkick [pdl] mohawk2 deleted clang_warnings at 4f05db5: http://git.io/h1J0
15:07 opkick [pdl] mohawk2 force-pushed proj4fix from 6f22050 to 94e9c63: http://git.io/htkH
15:07 opkick pdl/proj4fix 94e9c63 Ed J: Have Proj modules use Alien::Proj4 in inc
15:08 travis-ci PDLPorters/pdl#147 (master - 8391795 : Ed J): The build passed.
15:08 travis-ci Change view : https://github.com/PDLPorters/pdl/compare/aa7c61374c9c...8391795a242a
15:08 travis-ci Build details : http://travis-ci.org/PDLPorters/pdl/builds/55291444
16:44 opkick [pdl] zmughal pushed 1 new commit to master: http://git.io/h1Sq
16:44 opkick pdl/master 8467166 Zakariyya Mughal: Travis-CI: change --verbose install back to --quiet
16:44 mohawk sivoais, good call
16:45 mohawk sivoais, i added an extra commit to your work while merging with master
16:45 mohawk because my "core" target wasn't quite complete
16:45 mohawk now it is
16:45 mohawk sivoais, i'm pondering the Proj4 problem
16:45 mohawk you there? i'd like your thoughts
16:47 sivoais mohawk: yep, here
16:47 mohawk great
16:48 mohawk so i want to make Alien::Proj4
16:48 mohawk putting it in inc/ is not the solution to that
16:48 sivoais yeah
16:48 mohawk because in a perfect world it needs some XS
16:48 mohawk (to list the available projections)
16:48 mohawk and that means it needs building, and really also installing
16:48 sivoais ah, I see. That makes things a little complex.
16:49 mohawk outside of the PDL build world
16:49 mohawk so i have a workaround i want to bounce off you
16:49 mohawk i'll make inc/Alien/Proj4.pm
16:49 mohawk which will include some Inline code
16:49 sivoais ok
16:49 mohawk it won't get installed for now
16:49 mohawk it can be considered a prototype which can be rearranged into a proper AB in due course
16:50 sivoais that will go straight to _Inline/ right?
16:50 mohawk that DOES mean it will make an _Inline, indeed
16:50 mohawk does that sound AOK with you?
16:50 sivoais yeah, that does seem like the least complex solution
16:51 sivoais which means fewer ways to break... as long as Inline doesn't bail out ;-)
16:51 mohawk as if it would
16:56 mohawk although since it'll be in a Makefile.PL, that will mean the whole build depends on it not crashing
16:56 mohawk although i can just put it in an eval, i guess
17:15 sivoais mohawk++
17:15 sivoais and then eventually kick it out to its own module
17:16 mohawk if it's going to be an AB, that will be necessary
17:32 chm joined #pdl
17:33 chm Plan to push another CPAN devel release in about 4hrs:  http://sourceforge.net/p/pdl/mailman/message/33622619/
17:33 travis-ci PDLPorters/pdl#148 (master - 8467166 : Zakariyya Mughal): The build passed.
17:33 travis-ci Change view : https://github.com/PDLPorters/pdl/compare/8391795a242a...8467166ef779
17:33 travis-ci Build details : http://travis-ci.org/PDLPorters/pdl/builds/55301956
17:33 mohawk https://www.youtube.com/watch?v=M2dhD9zR6hk
17:34 mohawk sivoais, remember this?
17:45 sivoais hehe
17:46 sivoais Das Ist Nümberwang!
17:47 sivoais I'm looking at Julia <http://www.startup.ml/blog/julia> for some ideas
17:48 sivoais funny: "Almost everything in Julia is written in Julia.  This will get us out of the C/C++ and Fortran dependency-hell of scikit-learn."
17:48 sivoais they need an Alien equivalent ;-)
18:07 mohawk sivoais++
18:07 mohawk i'm into some fairly deep XS magic here
18:08 mohawk but having got past that, now i just need to only supply the info needed in Proj4.pd
19:22 mohawk sivoais, are you there?
19:22 mohawk the proj4fix stuff will be ready for review soon
19:24 sivoais yes, here
19:45 mohawk sivoais, ready to review
19:45 opkick [pdl] mohawk2 force-pushed proj4fix from 94e9c63 to 897c241: http://git.io/htkH
19:45 opkick pdl/proj4fix b0c6b75 Ed J: Have Proj modules use Alien::Proj4 in inc
19:45 opkick pdl/proj4fix de7affc Ed J: Add missing tests to MANIFEST
19:45 opkick pdl/proj4fix 897c241 Ed J: Clean and manifest-skip _Inline directories
19:45 mohawk btw, you missed off some tests in MANIFEST :-)
19:46 mohawk ...which was a thing because you made those new tests
19:46 mohawk sivoais++ # the test-meister
19:49 opkick [pdl] mohawk2 opened pull request #87: Make real Alien::Proj4 to break PDL::Transform::Proj4 -> PDL::GIS::Proj build dep (master...proj4fix) http://git.io/hMdk
19:49 sivoais ok, taking a look now
19:50 mohawk thanks amigo
19:50 mohawk travis has kicked off
19:50 mohawk i keep forgetting we need to PR the branches before they'll build
19:54 mohawk this is quite exciting though - using a genuine Alien module (albeit not yet an AB one) in PDL
19:54 mohawk jberger, i hope you like that :-)
19:56 mohawk sivoais, bad news - dev EUMM build has blown up
19:57 mohawk oh, that should be easy to fix
19:59 opkick [pdl] zmughal comment on pull request #87 897c241: Could we add a TODO to remove the dupes later? http://git.io/hMbF
19:59 opkick [pdl] zmughal comment on pull request #87 897c241: Same as before: add a TODO to remove the dupes. http://git.io/hMbp
20:00 opkick [pdl] mohawk2 comment on pull request #87 897c241: I'll do that now. http://git.io/hMNk
20:01 mohawk sivoais, where would I put the TODO items?
20:01 sivoais mohawk: I'd put them in the comments and open an issue. Both for searchability.
20:01 mohawk found it
20:02 mohawk it's in the comments already, will add to other place
20:51 opkick [pdl] zmughal comment on pull request #87 897c241: Can these comments be kept in a TODO for Alien::Proj4? http://git.io/hDmk
20:52 opkick [pdl] zmughal comment on issue #87: Other than a little better documentation of TODOs, this seems fine. Why is `projects.h` not being found? It should be in `/usr/include`. http://git.io/hDm4
20:53 opkick [pdl] mohawk2 comment on pull request #87 897c241: No, because look in the actual Proj4.pm - it already is. The WITH_PROJ does NOT belong in there, but within the PDL Makefile.PL, where it already is. http://git.io/hDmg
20:54 opkick [pdl] mohawk2 comment on issue #87: Because of defective packaging. http://git.io/hDmw
20:59 opkick [pdl] zmughal comment on pull request #87 897c241: Not that one line in particular! :-P... http://git.io/hDYM
21:02 mohawk sivoais, proj4.dll seems unlikely to be searched for - are you sure it's built? given that the other name seems to be proj
21:03 mohawk are you sure that wasn't just a typo?
21:05 sivoais mohawk: not sure. I'm assuming that is how it might be distributed pre-compiled on Windows and I see that in a search
21:05 mohawk which search?
21:06 sivoais a websearch
21:06 mohawk it seems challenging, given that it's "-lproj" that's used in both A::Proj4 for its Devel::CheckLib stuff, and everywhere else in the PDL mods
21:07 sivoais that's why I think it needs to be collected in a TODO :-)
21:08 sivoais don't know where to put it now, but an issue would be helpful
21:08 mohawk i'm interested to see your websearch
21:08 sivoais <https://encrypted.google.com/search?hl=en&amp;q="proj4.dll">
21:08 mohawk sigh
21:08 mohawk i don't mean literally the websearch
21:08 mohawk some sort of persuasive source
21:10 sivoais I see: ./bin/proj.dll in <http://download.osgeo.org/proj/proj446_win32_bin.zip> from <http://trac.osgeo.org/proj/>
21:10 mohawk what about proj4.dll
21:11 mohawk i should have been clearer in drawing attention to it's the *4* i think is incorrect
21:11 mohawk the .dll is kind of duh
21:12 sivoais I see it in other tools, but that's not really a good argument
21:12 sivoais like: proj4/libs/i386/proj4.dll in <http://rforge.net/bin/windows/contrib/3.0/proj4_1.0-8.zip> from <http://rforge.net/proj4/files/>
21:13 mohawk you'll forgive me if i don't think we should add TODO items based on that? :-)
21:15 sivoais mohawk: sure, makes sense. I just saw the comments and thought that they might be useful
21:15 mohawk i saw them and didn't
21:15 mohawk howEVER, i didn't read them as closely as you did
21:15 mohawk so it's been useful to check a bit deeper
21:16 sivoais :-)
21:17 mohawk (even if the questions i could have asked, you could have too ;-)
21:17 opkick [pdl] mohawk2 force-pushed proj4fix from 897c241 to 9db9245: http://git.io/htkH
21:17 opkick pdl/proj4fix a0b974a Ed J: Have Proj modules use Alien::Proj4 in inc
21:17 opkick pdl/proj4fix d4942be Ed J: Add missing tests to MANIFEST
21:17 opkick pdl/proj4fix 9db9245 Ed J: Clean and manifest-skip _Inline directories
21:17 mohawk SO
21:18 mohawk re-review if you feel like it, i have tweaked it about
21:18 mohawk including an actual check for libproj.$Config{dlext}
21:22 opkick [pdl] zmughal comment on issue #87: Should be good when it passes in Travis-CI! :-) :+1: http://git.io/hDnk
21:22 mohawk aww yeah
21:25 sivoais mohawk: would you like to assign this to the PDL v2.010 milestone? That way it goes with the rest of the Alien stuff
21:27 mohawk i really want to move to time-based releases
21:27 mohawk using branches, dev can happen at its own speed
21:27 mohawk if it's ready for that month's release, it goes in
21:27 mohawk if it's not, it's ok because it'll be next month
21:28 sivoais I see. I'll have to think about a better way to plan out a roadmap then
21:29 mohawk with time-based, the roadmap doesn't need numbering as such
21:29 mohawk at most you'd need to identify priorities
21:29 sivoais there should be subgoals and all the steps needed to achieve them and a clear way to know how far we are
21:29 mohawk a sort of deps chart
21:29 sivoais yes!
21:29 mohawk i don't think many of the items in TODO depend on each other
21:30 sivoais no, they don't, but there is an overarching goal for many
21:31 mohawk if they're not small and independently worthwhile, they probably won't get done
21:31 mohawk viz: pdl so far
21:32 sivoais right
21:34 sivoais I'll think about it some more. Breaking down the goals into manageable bits is the important part.
21:34 mohawk sivoais++ # thinking Deep Thoughts
21:34 mohawk 42 of them, in fact
21:39 mohawk green lights on travis so far
22:08 mohawk 26 mins for the coverage job
22:08 mohawk holy cow
22:08 mohawk when (not if, at this point) it passes, i'm going to merge it and cancel the master build
22:09 mohawk hm, i'm assuming there's anything else we want to merge
22:09 mohawk sivoais, how do you feel about test-cleanup?
22:09 mohawk i hate that we have better tests that aren't going to be dev-released?
22:10 sivoais I can rebase it now and give it a try
22:11 mohawk i was kind of thinking it could be done as a oner
22:11 mohawk ...with the proj4fix
22:11 mohawk then we can let either or both of travis and the dev-release tell us where we are
22:12 sivoais sure
22:13 opkick [pdl] mohawk2 comment on issue #51: @hainest, what are your thoughts on the readiness state of this? Does work remain to be done? http://git.io/hDg9
22:13 mohawk great
22:14 mohawk ok, so when i get a green light i'll merge p4f & rebase t-c
22:14 mohawk then push, and we'll see what travis makes of master
22:16 sivoais ok, sounds good. I'll be afk for a bit now
22:17 mohawk ok
22:19 opkick [pdl] mohawk2 force-pushed test-cleanup from 0a91f23 to 8ec951a: http://git.io/xXCA
22:19 opkick pdl/test-cleanup 1a69ddf Ed J: Add Test::Deep, move test dependencies to TEST_REQUIRES
22:19 opkick pdl/test-cleanup 7f34264 Zakariyya Mughal: convert aaa_load.t to Test::More
22:19 opkick pdl/test-cleanup 5857e9a Ed J: Convert tests to Test::More
22:19 mohawk (cancelled the travis on that)
22:43 opkick [pdl] coveralls comment on issue #87:
22:57 opkick [pdl] mohawk2 pushed 29 new commits to master: http://git.io/hDX9
22:57 opkick pdl/master 0745da9 Ed J: Have Proj modules use Alien::Proj4 in inc
22:57 opkick pdl/master 2d3fdf2 Ed J: Add missing tests to MANIFEST
22:57 opkick pdl/master 1932de1 Ed J: Clean and manifest-skip _Inline directories
22:58 opkick [pdl] wchristian force-pushed proj4fix from 9db9245 to 1932de1: http://git.io/htkH
22:58 opkick [pdl] mohawk2 force-pushed test-cleanup from 8ec951a to f879fb9: http://git.io/xXCA
23:01 opkick [pdl] mohawk2 deleted proj4fix at 1932de1: http://git.io/hD1o
23:01 opkick [pdl] mohawk2 deleted test-cleanup at f879fb9: http://git.io/hD11
23:55 mohawk just having a go with PGPLOT
23:55 mohawk just spent the last hour getting PGPLOT to actually compile and install
23:55 mohawk it's from 2001
23:56 mohawk but now i got it running (you have to add -fPIC to stuff), and the demos are pretty spectacular

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