Perl 6 - the future is here, just unevenly distributed

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

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

All times shown according to UTC.

Time Nick Message
01:12 FROGGS_ joined #perl6-lwp-gsoc
06:46 sergot o/
07:11 FROGGS_ o/
07:14 sergot FROGGS: I'm working on this:
07:14 sergot https://rt.perl.org/Public/Bug/Display.html?id=121947
07:14 FROGGS sergot: ahh yes, that one should be easy
07:15 FROGGS err wait
07:15 FROGGS sergot: please get an answer to my comment there from TimToady first please
07:15 sergot ok
07:15 sergot this is my suggestion: http://sprunge.us/FDUM
07:15 FROGGS because I personally think that the current behaviour is correct
07:15 sergot but I will get an answer from TimToady
07:18 FROGGS btw, I did this yesterday evening (just a simple test to bind one libxml2 function):
07:18 FROGGS perl6 -I../p6-XML-LibXML/lib -MXML::Parser -e1
07:18 FROGGS xmlDoc.new(_private => OpaquePointer, type => 9, name => Str, children => OpaquePointer.new(83193360), last => OpaquePointer.new(83193360), parent => OpaquePointer, next => OpaquePointer, prev => OpaquePointer, doc => OpaquePointer.new(83193520), compression => -1, standalone => -1, intSubset => OpaquePointer, extSubset => OpaquePointer, oldNs => OpaquePointer, version => "1.0", encoding => Str, ids => OpaquePointer, refs => Opaqu
07:18 FROGGS ePointer, URL => "doc/TankUndRast/FooTicketService.wsdl")
07:18 FROGGS I hope to work on this more this year
07:19 FROGGS so we can have a XML::Compile later, that lets you slurp wsdl files and get the operations autogenerated
07:33 sergot oh! nice
07:34 sergot if any help needed I'm eager to help
07:38 FROGGS I need to put it on github first and stub the namespaces or so...
07:51 sergot FROGGS: I was wondering if it is possible somehow to bind C++ functions in p6
07:51 sergot I wanted to work on Qt5 in P6
07:51 FROGGS it should be possible, but I don't know about the quirks
07:51 sergot https://github.com/sergot/perl6-qt
07:51 sergot I want to start soon
07:52 sergot How should I treat C++ classes in P6?
07:52 sergot C's struts ware easy to handle
07:52 sergot structs
08:07 sergot should I map classes in C++ to C's structs?
08:07 sergot or they behave like structs?
08:07 sergot I mean, behave like structs and are treated so in p6
08:21 FROGGS I don't know... I would look at how other languages do it
08:45 sergot ok :)
09:23 moritz joined #perl6-lwp-gsoc
10:03 dalek http-useragent: 6b3c40c | sergot++ | / (2 files):
10:03 dalek http-useragent: get rid of warnings
10:03 dalek http-useragent: review: https://github.com/sergot/http-useragent/commit/6b3c40cb3d
10:24 psch joined #perl6-lwp-gsoc
10:51 sergot_ joined #perl6-lwp-gsoc
11:00 sergot_ FROGGS: what do you think about taking part in gsoc 2015 with a rakudo/moarvm project?
11:01 sergot_ Writing a module is a great fun, but I think rakudo/moarvm project can be the same fun or even better
11:03 FROGGS sergot_: I'd like to... if there are good project ideas :o)
11:18 sergot_ great :)
11:18 sergot_ I've just started working on HTML::Tree, then I want to create HTML::Parse and finally use it to WWW::Mechanize.
11:19 sergot_ sergot/html-tree
11:19 sergot_ And I want to use WWW::Mechanize to fetch examples from rosettacode, test them and prepare a summary of passing/failing
11:20 FROGGS nice!
11:20 FROGGS libxml2 can also parse html
11:20 sergot_ oh, then I should read more about it
11:22 sergot_ but it should be faster to create this parser without nativecall, am I right?
11:22 sergot_ I mean:
11:22 sergot_ the module would be faster if created without NativeCall I meant
11:23 FROGGS hmmm, that might be true, but it is harder to develop me thinks
11:24 sergot_ dinner &
11:28 FROGGS lunch &
11:28 FROGGS :o)
11:44 sergot_ I thought there is no difference between dinner and lunch :P
11:44 sergot_ Acutally, I think so
11:46 sergot_ still
11:46 FROGGS I always thought that dinner happens in the evening, but that might not be true everywhere
11:52 sergot_ that makes sense tho
11:53 sergot_ :)
13:12 sergot_ FROGGS: could you push what you have done with libxml2?
13:13 sergot_ I can join
13:13 sergot_ then
13:16 FROGGS sergot_: you should have a mail
13:16 FROGGS https://github.com/FROGGS/p6-XML-LibXML
13:16 FROGGS do not exptect too much though :o)
13:17 sergot_ FROGGS++
13:32 sergot_ ohhh, this htmlParseFile says that my index.html is wrong :(
13:33 sergot_ so it works :)))
13:34 FROGGS sergot_: see http://xmlsoft.org/html/libxml-HTMLparser.html
13:34 FROGGS "this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view. "
13:34 sergot_ https://github.com/FROGGS/p6-XML-LibXML/commit/b1463928f7f4ed89abc5078340297de32e9370ea
13:34 sergot_ is it about libxml2?
13:34 sergot_ or 1?
13:34 FROGGS 2
13:35 sergot_ hm, ok
13:35 sergot_ we'll need another HTML5 parser as well then
13:40 FROGGS is it so different syntax wise?
19:01 FROGGS o/

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