Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2017-01-04

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

All times shown according to UTC.

Time Nick Message
02:49 ilbot3 joined #perl6book
02:49 Topic for #perl6book is now https://leanpub.com/perl6 | logs at https://irclog.perlgeek.de/perl6book/today | announcement at https://perlgeek.de/blog-en/perl-6/2016-book.html
06:54 [ptc] silly question time: in the variable $.exitcode, the `.` is actually a twigil (not a sigil), isn't it?
06:56 [ptc] also, what do the 'I>' markers mean?  That doesn't look like markdown...
07:36 [ptc] SQLite is used on some airliners??  Do you have a reference for that?
07:40 FROGGS joined #perl6book
13:09 [ptc] moritz: I should have pinged you directly wrt the questions above.  I can post them again if you've missed them.
13:09 moritz [ptc]: yes, the . is a twigil
13:10 [ptc] moritz: I can then hopefully finish the proof reading on the way home tonight
13:10 moritz [ptc]: the I> markers are a LeanPub extension to markdown, and mark an "info" section
13:10 [ptc] cool!  Ta :-)
13:10 moritz [ptc]: re SQLite, I heard that in an interview with the SQLite creator on some podcast
13:11 [ptc] no rush!  Just wanted to ping you so you knew that I'd made noise in the channel :-)
13:11 moritz [ptc]: sure, appreciated
13:16 moritz http://www.sqlite.org/famous.html "Airbus confirms that SQLite is being used in the flight software for the A350 XWB family of aircraft."
13:21 [ptc] geil.  Danke!
16:15 [ptc] moritz: what's the motivation for using a class when testing the silent cron program?  Is it so that the testing is easier?
16:16 [ptc] moritz: just felt that at the beginning of the discussion that the motivation was missing slightly
16:36 [ptc] moritz: have proof read the two new silent-cron blog posts.  Not much to change; it's good stuff.  Clearly written, good logical flow.
19:08 moritz [ptc]: thanks
19:08 moritz [ptc]: I'll try to clarify the motivation a bit
19:18 [ptc] moritz: is there anything else you would like me to read over?  In other words: have I missed anything in the blog posts?
19:24 moritz [ptc]: there's blog/silent-cron-state.md
19:24 moritz :-)
19:32 [ptc] moritz: done that one :-)
19:32 moritz [ptc]: ah, great
19:33 moritz [ptc]: then you've caught up to me
19:33 * moritz reviews the review
19:34 [ptc] okey dokey
19:35 [ptc] if you've got any questions, or want me to change anything, just let me know
19:36 moritz I guess "what should I write next?" isn't a question you can answer? :-)
19:39 [ptc] actually, I'd been wondering about pattern matching.
19:40 [ptc] I mean, Perl is traditionally a language for text munging and showing people how to use the current regexp stuff would probably be a good idea
19:40 [ptc] or have I completely forgotten that you've already covered that?
19:41 moritz indeed I haven't
19:41 moritz the examples I've had in mind for that turned out to have much simpler solutions (.lines and .split, mostly)
19:42 [ptc] I don't know if one needs to go deeply into grammars, however using the current regexp stuff would definitely be helpful, especially for P5 people making the conversion
19:42 moritz maybe I should just do something dumb and develop yet another INI parser
19:42 [ptc] YAIP
19:43 [ptc] how about roles?
19:43 [ptc] like a task which could be well solved via composition instead of inheritance
19:44 moritz roles are vaguely on my agenda too, but so far I haven't thought of examples that might benefit from them
19:44 moritz I haven't used inheritance yet either
19:47 [ptc] I liked your example of finding pi by throwing random data at the unit square; there's an interesting example in (I think) numerical recipes about finding the volume of a torus
19:47 [ptc] maybe something like that would be interesting, especially to show off how easy it is to do parallel programming
19:48 moritz yes, that might be an option
19:50 moritz regarding grammars, things i've considered:
19:50 moritz csv: too many variants, little intrisic complexity => not a good fit for grammars
19:51 moritz ini: might be OK. No real spec though
19:51 moritz json: beaten to death already
19:52 moritz I wonder if there's a programming languge that's surprisingly easy to parse with grammars
19:52 moritz like Pascal maybe
19:53 [ptc] dave cross used an example of translating British English into American English in Munging Data with Perl.  Maybe that's an idea
19:54 [ptc] it's a bit amusing and yet could still require a grammar to do the translation
19:55 [ptc] another example was parsing /etc/passwd
19:55 moritz https://www.cs.utexas.edu/~novak/grammar.html not very complicated, but too much for a book example
19:56 [ptc] what about an example with Inline::Perl5?
19:56 [ptc] just to underline the bridges between the two Perls
19:57 moritz also a good idea
20:07 moritz https://www.adobe.com/products/postscript/pdfs/PLRM.pdf # postscript is also too complex to parse

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