Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-lwp-gsoc, 2014-08-05

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:40 FROGGS_ joined #perl6-lwp-gsoc
07:12 sergot FROGGS_: I had no time to try unfortunately, I will do this today
07:55 FROGGS_ sergot: k
07:55 FROGGS_ sergot: btw, you should now just do last bugfixing and write the documentation
07:56 FROGGS_ please do that module by module, so you can raise a flag for every finished module so I (we) can review it easily
08:00 sergot FROGGS++ ok, this is what I'm doing right now :)
08:05 FROGGS_ awesome :o)
08:05 FROGGS_ since the API should be settled when GSoC ends, we can then work more on portability
08:06 sergot Great! :)
08:06 FROGGS_ i.e. NativeCall x86 issues, and windows and maybe even osx
08:06 FROGGS_ (I really hope there are no osx issues)
08:08 moritz OS X always has issues.
08:08 sergot hehe :)
08:08 FROGGS_ moritz: I know :o(
08:08 moritz (or we with OS X)
08:08 FROGGS_ and I hate it because of that
08:22 dalek http-useragent: a08c780 | sergot++ | lib/HTTP/Cookie.pm6:
08:22 dalek http-useragent: doc for HTTP::Cookie
08:22 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/a08c7800f2
08:22 sergot is this okay?
08:26 moritz well, it lacks a DESCRIPTION :-)
08:26 moritz and in perl6/doc, we format the method docs a bit differently
08:26 moritz let me get you an example
08:27 moritz https://github.com/perl6/doc/blob/master/lib/Type/Str.pod#L32
08:27 moritz it would be nice if you could stick to that format, though it's not a requirement
08:33 sergot moritz++ thanks :)
08:54 dalek http-useragent: 7d34530 | sergot++ | lib/HTTP/Cookie.pm6:
08:54 dalek http-useragent: format changed
08:54 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/7d34530916
08:59 dalek http-useragent: 1ea0616 | sergot++ | lib/HTTP/Cookies.pm6:
08:59 dalek http-useragent: doc for HTTP::Cookies (draft)
08:59 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/1ea0616248
09:06 dalek http-useragent: bc4373a | sergot++ | lib/HTTP/UserAgent/Common.pm6:
09:06 dalek http-useragent: doc for HTTP::UserAgent::Common
09:06 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/bc4373a1df
09:17 dalek http-useragent: 4fb7338 | sergot++ | lib/HTTP/Header.pm6:
09:17 dalek http-useragent: doc for HTTP::Header
09:17 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/4fb733888a
09:30 dalek http-useragent: 154c7c5 | sergot++ | / (9 files):
09:30 dalek http-useragent: rename: HTTP::Header -> HTTP::Header::Field, HTTP::Headers -> HTTP::Header
09:30 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/154c7c5937
09:32 dalek http-useragent: e344648 | sergot++ | META.info:
09:32 dalek http-useragent: rename again
09:32 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/e344648e6b
09:37 sergot FROGGS_: Are we able to put p6's modules to cpan.org already?
09:39 sergot and install them from therE?
10:45 FROGGS_ sergot: not quite
10:45 FROGGS_ I added stuff to my local panda so we can fetch the tar.gz stuff and unpack it
10:45 FROGGS_ but there is a precomp bug about the Archive::Tar module
10:48 FROGGS_ that also means that panda would already depend on HTTP::UserAgent
10:49 FROGGS_ so to ship panda with CPAN support we need to make that ultra stable
10:49 FROGGS_ and it would be nice if HTTP::UserAgent would work without OpenSSL, so that this is only an optional dependency
11:03 sergot hmm, how can I do this?
11:03 sergot the optional dependency
11:05 FROGGS_ where every you use openssl (or probably IO::Socket::SSL), you would do: given ::<IO::Socket::SSL> { where Failure { die "Sorry" }; default { .new(...) } }
11:05 FROGGS_ s/where/when/
11:08 sergot what about "use IO::Socket::SSL" then?
11:08 FROGGS_ we can't
11:09 FROGGS_ one would have to 'use IO::Socket::SSL' explicitly before using HTTP::UserAgent to use it
11:13 FROGGS_ <FROGGS_> star-m: try require Test; say GLOBAL::<Test>
11:13 FROGGS_ <camelia> star-m 2014.04: OUTPUT«(Test)␤»
11:13 FROGGS_ <FROGGS_> star-m: try require Täst; say GLOBAL::<Täst>
11:13 FROGGS_ <camelia> star-m 2014.04: OUTPUT«(Any)␤»
11:13 FROGGS_ this would work though
11:13 sergot oh, nice
11:13 FROGGS_ that is of course slower because that happens at runtime
11:14 FROGGS_ and you only get global symbols, since we cannot import from it that way
11:14 sergot Should I use it?
11:14 FROGGS_ <FROGGS_> star-m: try require Test; unless GLOBAL::<Test> ~~ Failure { import Test }
11:14 FROGGS_ <camelia> star-m 2014.04: OUTPUT«===SORRY!=== Error while compiling /tmp/kGhEeHWZmD␤Could not find module Test to import symbols from␤at /tmp/kGhEeHWZmD:1␤------> GLOBAL::<Test> ~~ Failure { import Test ⏏}␤    expecting any of:␤        statemen…»
11:15 FROGGS_ as I mentioned on #perl6 a while ago, we need a runtime import
11:15 FROGGS_ sergot: use what?
11:15 sergot try requirE?
11:15 FROGGS_ let's do all these things after GSoC
11:15 sergot try require
11:15 FROGGS_ let us finish one thing
11:16 FROGGS_ i.e. proper documentation and that it works on linux without known bugs
11:16 FROGGS_ (linux x86_64)
11:16 sergot ok :)
11:21 dalek http-useragent/ssl-optional: 333f92a | sergot++ | / (2 files):
11:21 dalek http-useragent/ssl-optional: SSL can be optional
11:21 dalek http-useragent/ssl-optional: review: https://github.com/sergot/http-useragent/commit/333f92af36
11:21 sergot just a draft
11:21 FROGGS_ documentation!
11:21 FROGGS_ :p
11:23 sergot I know, I know :P
11:44 sergot FROGGS_: have you seen I changed Headers to Header and Header to Header::Field?
11:44 sergot I think i should do the same with push,init,...-header methods
11:44 sergot what do you think?
11:56 dalek http-useragent: 9a98ee1 | sergot++ | lib/HTTP/Header.pm6:
11:56 dalek http-useragent: doc for HTTP::Header
11:56 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/9a98ee1d4c
12:04 FROGGS_ +1
12:20 sergot push-field, init-field etc
12:50 FROGGS_ sounds good

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary