|
master plan: gist.github.com/moritz/29301316955...90e4ce9e7b logs: irclog.perlgeek.de/perl6book/today mailing list signup: perl6book.com/ Set by moderator on 31 October 2016. |
|||
|
02:48
ilbot3 joined
|
|||
| moderator | master plan: gist.github.com/moritz/29301316955...90e4ce9e7b logs: irclog.perlgeek.de/perl6book/today mailing list signup: perl6book.com/ | ||
| moritz | good morning everybody | 06:48 | |
| I've pushed the first blog post with code examples and explanations | |||
| feedback is very welcome | |||
| [ptc] | moritz++ | 07:27 | |
| moritz: is it ok if I replace the spaces in the image filenames with underscores? | 07:28 | ||
| just me being an old terminal user and that :-) | |||
| moritz | [ptc]: yes, that should be fine | 07:32 | |
| I'm also a tiny bit unhappy about $line being an index in the earlier examples, and an actual line in the later examples | |||
| maybe I should change that to $line-number in the earlier examples? | 07:33 | ||
| [ptc] | have only just pulled from the repo, I need to have a read through of everything first | ||
| I'll give you feedback as soon as I can | |||
| moritz | ok, no hurry | 07:34 | |
| [ptc] | am about to reach Bremen, so probably won't be able to it now :-) | ||
| [ptc] is totally stoked Deutsche Bahn finally has free WiFi | |||
| moritz | it has? | 07:35 | |
| [ptc] | yup. Finally. | 07:36 | |
| they're rolling it out on all ICEs and are supposed to be finished with it by the end of the year | |||
| I still find trains that don't have it yet, but when I do, it's gooooood :-) | |||
| moritz | last I heard some ICE trains had experimental wifi for free, and then a few weeks ago when it came out of beta, they charged for it | ||
| [ptc] | I had that too, did a bit of looking around and found it's supposed to stay free | 07:37 | |
| we'll see how we go. Finger's crossed! | |||
| moritz | \\/X\\ | 07:38 | |
| [ptc] | had you thought of a DB example, maybe with DBIish? Or is that starting to get a bit outside the realm of Perl6 by Example? | 07:39 | |
| moritz | [ptc]: I had, in fact | ||
| [ptc]: recently for $work I wrote a small tool called silent-cron. It silences jobs that fail only occasionally, and keeps the state in an sqlite DB | 07:40 | ||
| a p6 implementation of such a tool might be a nice exercise | |||
| [ptc] | $silent-cron == /dev/null ;-) | ||
| agreed, that'd be a good task, small, but shows the essentials | 07:41 | ||
| bbiab & | 07:42 | ||
| moritz | the point is that it doesn't swallow all errors, only the occasional one :-) | ||
| github.com/noris-network/silent-cron/ | |||
|
16:39
FROGGS joined
|
|||
| [ptc] | moritz: I love the way the sudoku example gets first longer, and then finally shorter, as more functionality is added! That's very cool! | 17:05 | |
| moritz | [ptc]: I'm glad you like it | 17:10 | |
| fwiw I've checked in the examples as separate files, and expected output too, and I've written a very primitive test runner to check that the output is indeed correct | 17:31 | ||
| the leanpub toolchain allows inclusion of code files, so whenever we want to use the full scripts, we can avoid duplication | 17:32 | ||
| leanpub.com/perl6 | 17:45 | ||
| DrForr | Hopefully that's a namespace other books can fit in? :) | 19:59 | |
| moritz | no, not a namespace | 20:04 | |
| first come, first serve | |||
| other books will have to have qualified names (perl6-oo, perl6-blabla) | |||
| DrForr | Nod, didn't figure it was a big deal. Besides, just got back from vacation... | 20:05 | |