Perl 6 - the future is here, just unevenly distributed

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

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

All times shown according to UTC.

Time Nick Message
01:35 FROGGS_ joined #perl6-lwp-gsoc
06:27 sergot hi o/
06:50 sergot ohh, HTTP UA fails ssl tests
06:51 sergot # Exception message: This type cannot unbox to a native integer
06:51 sergot in method initialize at lib/IO/Socket/SSL.pm6:72
07:06 FROGGS o/ :o)
07:08 FROGGS hmmmm, what native integer? I don't sport the problem
07:12 sergot file descriptor from client_connect() C function
07:12 sergot we want to assign the value to has int32 $.fd;
07:13 sergot https://github.com/sergot/io-socket-ssl/blob/master/lib/IO/Socket/SSL.pm6#L72
07:24 sergot if I change int32 to Int it prints:
07:24 sergot Type check failed for return value; expected 'Int' but got 'Whatever'
07:24 sergot something can be wrong with the C func
07:42 moritz sergot: update to newest rakudo
07:42 moritz sergot: commit bceb13ed7db9c0d8cee27339ce3dec1fabc6cbc7 in rakudo should have fixed it
07:44 sergot moritz:
07:44 sergot $ git branch -vv
07:44 sergot * nom 66c6e6a [origin/nom] New initializer for $*VM
07:45 sergot I'm on the newest rakudo
07:45 moritz eeks.
07:46 moritz sergot: https://github.com/sergot/io-socket-ssl/blob/master/lib/IO/Socket/SSL.pm6#L10 change those '*' to '...'
08:19 FROGGS I don't understand it... it really is meant to be fixed, I mean, it should work with { * }
08:19 FROGGS but changing it to { ... } is also sane
08:45 sergot changing
08:50 sergot ok, now it works :))
08:50 dalek openssl: 161a740 | sergot++ | lib/OpenSSL (5 files):
08:50 dalek openssl: change * to ...
08:50 dalek openssl: review: https://github.com/sergot/openssl/commit/161a740f9f
08:52 dalek io-socket-ssl: 5d5db0a | sergot++ | lib/IO/Socket/SSL.pm6:
08:52 dalek io-socket-ssl: change * to ...
08:52 dalek io-socket-ssl: review: https://github.com/sergot/io-socket-ssl/commit/5d5db0ac84
12:17 sergot thanks!
13:17 FROGGS[mobile] joined #perl6-lwp-gsoc
14:31 FROGGS[mobile] joined #perl6-lwp-gsoc

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