»ö« | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, alpha:, pugs:, std:, or /msg p6eval perl6: ... | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by moritz_ on 25 June 2010.
00:11 supernovus joined 00:24 xinzp joined, ciphertext_ joined 00:25 xinzp left
supernovus The one disadvantage of working on my netbook: the core setting take 10+ minutes to compile... :( 00:31
00:34 rgrau_ left
TimToady std: /[ ]/ 00:38
p6eval std 31520: OUTPUT«===SORRY!===␤Null pattern not allowed at /tmp/zsKkBtPwao line 1:␤------> /[ ⏏]/␤ expecting any of:␤ quantifier␤ regex atom␤Parse failed␤FAILED 00:01 111m␤»
supernovus Bah, what is the best way to share subs between different classes in the Rakudo core setting? I want to make assert-valid-date, days-in-month and is-leap from the Date class available to Temporal as well.
00:42 lkk- joined
TimToady you could try exporting from a class; dunno if rakudo supports that yet though (a class is supposed to "do" module...) 00:43
frew moritz_: hey, I saw that you ported (or are porting) CGI::Application
moritz_: you might want to port at least the basic parts of Plack 00:44
sorear yay it's TimToady
diakopter: reping
supernovus TimToady: Thanks, I will try that and see if the current rakudo supports it. 00:50
I'm guessing subs in roles don't get merged in classes that do those roles? 00:51
00:56 cls_bsd joined 00:57 masonkramer joined 00:58 ash_ joined 01:03 songmaster joined
supernovus Well, using our sub in a role worked. I'm out for dinner, but soon Temporal will have working validation on the parameters of new() 01:08
01:09 supernovus left 01:14 whiteknight left
dukeleto New blog post about PL/Parrot and PL/Perl6: leto.net/dukeleto.pl/2010/06/rakudo...abase.html 01:30
01:40 supernovus joined
supernovus Hmm, I'm not too familiar with how the core setting works, but if you have an 'our sub' in a class, role or module should it leak through to the global namespace? 01:57
ashleydev Is any of the viv / gimmy5 / STD bootstrapping on Perl 5 using Regexp::Grammars? 01:59
ash_ ashleydev: no, i don't believe they do 02:00
ashleydev hmm
i just discovered that and have almost wet myself... I'm shocked to have found it by searching CPAN rather than through the usual news channels... 02:01
(I wasn't looking for it, but for something else actually and have spend the last hour reading the doc)
[Coke] I only heard about it because Damian just showcased it at YAPC. 02:06
so it's not just you. =-)
ashleydev bummed I missed YAPC, and I didn't see any blogs talking about it yet... I googled it and the only ref I saw was for OSCON (future) 02:07
what was the response at YAPC?
02:09 agentzh joined
[Coke] something akin to "OOOOH IT'S DAMIAAAAAN" 02:16
ashleydev i still can't believe it... WOW
pmichaud exit
sorear ashleydev: viv implements a -real- Perl 6 parsing engine; it' 02:17
s far more complete than even the one in rakudo
we haven't been using the Perl 5 regex engine for a couple weeks now
02:19 supernovus left
ashleydev so it's perl 5 implementation of a perl 6 grammar engine? 02:19
(viv that is)
sorear yes and no 02:22
ashleydev where can I get viv?
sorear viv is a compiler; it takes in Perl 6 and generates Perl 5 with a similar structure
the grammar engine is in Cursor and CursorBaser
src/perl6 in the pugssvn
ashleydev k
sorear note that viv relies on STD.pmc in order to parse STD.pm6; it's a bit bootstrapped 02:23
ashleydev so is it aiming to be an implementation of perl 6? 02:24
or just a parsing engine? -- I keep seeing people test syntax with the std: bot here.. but is viv aiming to be more than that? 02:25
sorear viv/Cursor is a sandbox where we play with parsing technology on a mature VM 02:29
.oO(mature == "for mature audiences only")
ashleydev so is that sandbox for proving via real world use the Perl6 grammar syntax? 02:40
02:42 TiMBuS joined
tylercurtis sorear: is there a way to use viv outside of pugs/src/perl6/? When I try, I get "cannot open unicode maps from ./lib . : No such file or directory" as an error. 02:43
02:44 justatheory joined
sorear tylercurtis: viv needs to find syml/CORE.lex.store in $STD5PREFIX, uniprops in $PERL6LIB, and RE_ast.pm et al in $PERL5LIB 02:45
tylercurtis: try running 'make dist', the files will be automatically sorted
tylercurtis sorear: thanks. I'll try that once I finish what I'm doing. 02:48
sorear TimToady: After calling .Bool, how does Perl 6 know if the return value of that is true or false? 02:55
03:02 jaldhar joined 03:09 jaldhar left, jaldhar joined, agentzh left
ash_ doesn't .Bool --> Bool? 03:13
sorear Given a Bool, can I just *assume* it's either Bool::True or Bool::False? 03:15
03:15 agentzh joined
lue how can I test if a variable is rw? 03:16
pmichaud latest thinking has been that Bool is defined as enum bool Bool <True False>
(although jnthn++ and I aren't sure that's going to hold up) 03:17
sorear How is bool defined?
lue sorta likes the sound of enum
pmichaud bool is a native type, like int
sorear is just now trying to figure out how to make enum work
pmichaud in general, bool has been described as a bit1
sorear: yeah, there's some unclear aspects of enums at the moment, at least for jnthn++ and I 03:18
lue is it possible to use filetest operators on a variable to test for rw/ro?
03:19 felliott joined
ash_ lue: yes 03:19
rakudo: my $a = '/etc/passwd'; say $a ~~ :r 03:20
p6eval rakudo 7df2c2: OUTPUT«Method 'r' not found for invocant of class 'Str'␤ in 'Enum::ACCEPTS' at line 4488:CORE.setting␤ in 'infix:<~~>' at line 322:CORE.setting␤ in main program body at line 11:/tmp/btUNrXWpTJ␤»
tylercurtis pmichaud: are all NQP regexes isa Regex::Method or a subclass?
pmichaud tylercurtis: checking 03:21
lue no, to test if the variable itself is rw/ro.
ash_ rakudo: my $a = '/etc/passwd'; say $a ~~ :e
p6eval rakudo 7df2c2: OUTPUT«1␤»
ash_ oh
pmichaud tylercurtis: only those that are being used in rvalue (non-void) context 03:22
sorear pmichaud: I need to pick your brain on just how Perl 6 lists are supposed to work
pmichaud lue: there's been speculation that testing for ro-ness would be handled by a role, or some other aspects of a trait 03:23
sorear: I'll answer as best I can :-)
lue because I noticed that := already has a definition in some P6 (well, it's just a die statement, but still), and thought of coding there. 03:24
sorear lue: in niecza you can test if a variable is read-only using VAR($x).readonly, as described in S06
pmichaud tylercurtis: NQP doesn't wrap all regexes in Regex::Method objects. I suppose it could do that.
sorear (actually you can't because the parser isn't written yet, but that's a SMOP)
tylercurtis pmichaud: if I'm understanding you correctly, any regex that got passed as a function parameter would be in non-void context and thus would be a Regex::Method? 03:25
pmichaud tylercurtis: correct.
tylercurtis: that's how we can get .match and other methods on the regex object itself. 03:26
tylercurtis pmichaud: okay. Thanks.
sorear pmichaud: so, uh. What are the important types for lists? 03:28
lue Well, I think something like $a ~~ :rw is appropriate. 03:29
pmichaud sorear: at the moment, Rakudo has a base List type
well, let me back up a bit further 03:30
here's a list of classes involved in lists and iterators
Iterable - things that support .iterator . Also the base class for things that can flatten in list context
sorear I'm trying to implement lists in niecza from first principles
pmichaud s/flatten/interpolate/
sorear I have the mechanics of scalar containers fully implemented and I have native CLR arrays/dictionaries/etc 03:31
pmichaud List - the basic lazy list type. A list is simply a list of objects, which can be containers and/or values
Array - a List where each element is its own scalar container.
sorear What, mechanistically, is "list context"?
pmichaud in general, list context is created by &infix:<,> 03:32
wait, that's not right.
sorear is currently implementing ClassHOW, but wants a head start on understanding lists 03:33
pmichaud &infix:<,> is used to create a Parcel. flattening list context on a parcel creates a List where list elements of the Parcel are considered to be "interpolated" into the overall list
so, with (1, 2, @a, 4).flat the elements of @a are considered to be part of the list 03:34
sorear I have this vague understanding that contexts in Perl 6 are mediated by methods
ie .Bool
pmichaud I'm not convinced that's the case (more) 03:35
sorear so... the compiler automatically calls .flat on values in some place?
(more) ack
03:35 agentzh left
pmichaud about a year ago there was a push to try to get all of the contexts to correspond to types, but that hasn't worked out 03:35
but yes, the compiler automatically calls .flat on values in some places
for example, assignment to an array variable imposes .flat 03:36
also, when a Parcel is converted to a Seq (e.g., in item context), it's flattened.
sorear What constitutes item context? When is .item called?
pmichaud it can be called explicitly; it's also called implicitly when assigning a value to a scalar container 03:37
my $x = (1, 2, @a); imposes item context on the parcel
rakudo: say (1,2,3).WHAT; my $x = (1,2,3); say $x.WHAT;
p6eval rakudo 7df2c2: OUTPUT«Parcel()␤Seq()␤»
pmichaud for Parcels, .item returns a Seq containing the values of the Parcel (flattened) 03:39
for Iterables, .item returns a non-flattening reference to the Iterable
for most everything else (that I've encountered thus far), .item returns self 03:40
sorear What does a non-flattening reference look like? 03:42
What about binding?
pmichaud in Rakudo, it's an ObjectRef with the 'scalar' property set. (I'm expecting to change the property name to 'item' at some point)
but basically, flattening behavior does not appear to be purely a property of the type of a value
i.e., if we have
my @a = 1,2,3; my $b := @a; say (4, 5, @a).elems; say (4, 5, $b).elems; 03:43
sorear I can do (in Mu) the equivalent of method item ($self is rw:) is rw { $self }, in niecza
pmichaud even though @a and $b are the same object, the first say will report 5 while the second say will report 3
sorear rw invocants are possible as a quirk of my model
I'm thinking this will come in handy here 03:44
03:44 dimid joined
pmichaud sure, Rakudo defines Mu.item as { self } 03:44
sorear does that work for rw?
03:45 sftp joined
pmichaud rakudo isn't yet distinguishing is rw, but yes, it would work for that. 03:45
(i.e., rakudo tends to treat all methods as 'is rw' at the moment)
(if the method returns a container)
sorear Why is self a container? 03:48
pmichaud it isn't always a container
sorear I thought all methods in Rakudo were delegated to the value
pmichaud oh, that's a good point.
you're correct, they are, so in Mu.item it's currently returning the value 03:49
anyway, I suspect that in general using .item should remove any containers from the invocant
sorear How does binding to $x is rw work, if .item is called?
pmichaud ah, that.
03:50 skids joined
pmichaud I suspect that binding isn't currently calling .item. checking 03:50
sorear in niecza, there is no such thing as container(s)
every variable has one and only one container
it feels like a much nicer model
pmichaud rakudo: sub xyz($a) { say $a.WHAT; }; xyz((3,4,5));
sorear I'm trying to keep it
p6eval rakudo 7df2c2: OUTPUT«Parcel()␤»
pmichaud looks like Rakudo isn't imposing .item on binding yet 03:51
sorear ok.
pmichaud in rakudo, every variable also has only one container, I think.
sorear Would it be possible to do away with 'scalar' by instead saying that the compiler doesn't .flat $-variables?
When exactly is .flat called?
frew so Mu is what p5 would call UNIVERSAL right? 03:52
pmichaud when something is put into flattening context
...which somewhat answers your question -- the compiler cannot statically determine flattening context 03:53
(it might be able to do so if it has complete knowledge of all possible signature binds... but in the general case that's not always available) 03:54
sorear What creates flattening context? 03:55
pmichaud Arrays, Seq, and '&flat'
(there might be more -- that's what I know of at the moment)
sorear What is '&flat' and where is it used?
pmichaud it's a contextualizer 03:56
along with &list, &slice, and &item
(I'm not sure that &list is useful yet.) 03:57
oh, and &hash
sorear What stops the return value of &flat from being contextualized again?
pmichaud nothing.
that's even normal (more) 03:58
for example, with my $x = (1,2,@a);
what happens is that a Seq is created that imposes flat context on the Parcel, and then item context is imposed on the Seq
so if I had 03:59
sorear What is the difference between foo(|@arr) and foo(|$arr)?
pmichaud my @a = (1, 2, 3, (item flat @c, @d)); then @a would end up with 4 elements, the last of which is a Seq of the flattened elements of @c and @d 04:00
it's generally more interesting to think of flat in terms of the return value of various parcel-generating operators 04:01
as in
my @a = (1, 2, 3, (item flat @c Z @d))
lue afk
pmichaud here, flat imposes flattening context on the results of @c Z @d, and item context converts that to a Seq
I'm not sure about the difference between foo(|@arr) and foo(|$arr) 04:04
jnthn++ might know. 04:05
I mean, I know what foo(|@arr) does, but foo(|$arr) seems a bit weird.
04:06 skids left
pmichaud oh, wait. I know. 04:06
in any case, foo(|$arr) basically does $arr.Capture
so it's up to the .Capture method to return a Capture object that then gets used in the binding 04:07
sorear What happens after my $x := @y; my @z := $x; for (@z) { .say } 04:09
What's the difference between &flat($a) and $a.flat? 04:10
04:10 chronniff joined, felliott left 04:11 chronniff left
ingy is there a text that describes the difference between token rule and regex in grammars? 04:12
sorear S05
ingy where
pmichaud sorear: @z gets flattened.
ingy I just read it
pmichaud ingy: regex is a normal regex -- it automatically backtracks on various quantifiers 04:13
ingy: token is a regex where backtracking is disabled by default
04:13 kaare joined
pmichaud ingy: rule is a token (backtracking disabled) where whitespace in the pattern corresponds to intertoken whitespace in the match 04:13
04:14 kaare is now known as Guest36062
pmichaud rakudo: say 'aaaaa' ~~ regex { a* a } # matches 04:14
p6eval rakudo 7df2c2: OUTPUT«aaaaa␤»
pmichaud rakudo: say 'aaaaa' ~~ token { a* a } # doesn't match
p6eval rakudo 7df2c2: OUTPUT«␤»
pmichaud sorear: the difference between &flat($a) and $a.flat is that the former flattens its parcel while the latter returns the flattened version of $a 04:15
ingy pmichaud: thank you 04:16
pmichaud rakudo: say "you're welcome" ~~ rule { \S* \S* }
p6eval rakudo 7df2c2: OUTPUT«you're welcome␤»
pmichaud note that in the rule I didn't have to specify anything to match the whitespace
ash_ does rule chomp front and back? 04:17
ingy rakudo: say "you're welcome" ~~ rule { \S* \S* }
p6eval rakudo 7df2c2: OUTPUT«you're welcome␤»
pmichaud rakudo: say " you're \n welcome " ~~ rule { \S* \S* }
p6eval rakudo 7df2c2: OUTPUT« you're ␤ welcome ␤»
ingy rakudo: say "you'rewelcome" ~~ rule { \S* \S* } 04:18
p6eval rakudo 7df2c2: OUTPUT«you'rewelcome␤»
sorear pmichaud: so, if $a is the Seq <a b c>, my @b := $a results in @b.elems == 3, but my @b = $a results in @b.elems == 1?
pmichaud + is more interesting here
rakudo: say "you'rewelcome" ~~ rule { \S+ \S+ } # fails
p6eval rakudo 7df2c2: OUTPUT«␤»
ingy ah 04:19
pmichaud sorear: correct.
ingy: rule { \S+ \S+ } is the same as token { <.ws> \S+ <.ws> \S+ <.ws> }
ingy ahrakudo: say "you're welcome" ~~ rule { \S+ \S+ }
rakudo: say "you're welcome" ~~ rule { \S+ \S+ } 04:20
p6eval rakudo 7df2c2: OUTPUT«you're welcome␤»
ingy pmichaud: maybe not :)
pmichaud ?
ingy isn't that <.ws>+
pmichaud <.ws> already allows for multiple whitespace characters
ingy I see 04:21
pmichaud it's basically defined as { <!ww> \s* }
ingy backs down
pmichaud where <ww> is true when in the middle of a word
ingy ;)
pmichaud (i.e., between two word characters)
so, <.ws> requires at least one space between two word characters, and zero or more spaces anywhere else 04:22
ingy gets back to ascending the learning curve
pmichaud I should write a canonical blog post about regex, token, and rule -- it's a FAQ 04:23
afk for 15 -- walking furry canine creature that seems to inhabit my house
04:31 ash_ left 04:35 davidfetter left 04:45 tedv left 04:57 Guest36062 is now known as kaare_
kaare_ pmichaud: Doesn't the book contain a canonical chapter? 05:06
kaare_ downloaded book and will bring on vacation
05:25 LionMadeOfLions joined 05:26 justatheory left
sorear pmichaud: What I still don't quite get is binding to @ variables 05:41
moritz_ it explains the difference 05:42
sorear with $ variables, it is a universal truth that my $a := X1; $a = X2 means (X1).item = X2
but the identity does not seem to hold with @a and .flat 05:43
05:57 cono joined 05:59 ram__ joined, ram__ left 06:03 uniejo joined 06:05 mberends joined
mberends for MiniDBD::Pg, it's hard to choose between Parrot/Pg.pir and Zavolaj to reach the underlying libpq. There may be a way to have the cake and eat it, by including code for both options and then switching the module one way or another. That looks like a job for a macro. hmm 06:14
sorear After my $x; my @y := $x; what do fetches and stores to @y do? 06:20
mberends just a guess, but would @y[0] be bound to $x, and @y[1] and up be bound to an anonymous array? 06:23
it looks like a terribly confusing mess :/ 06:25
kaare_ mberends: Too me it looks like Zavolaj has a more fine grained access to libpg. 06:27
But that's without having looked very closely at it.
mberends kaare_: working with Zavolaj is nice, because it points directly into native libraries. Its main drawback is that it's an external dependency that needs to be installed. Rakudo * will bundle it though. 06:30
moritz_ mberends: Pg.pir doesn't (yet) give access to the error messages yet 06:31
and I think the right approach would be to have separate DBD modules for each approach 06:33
mberends moritz_: ah, didn't see that yet. The libpq API is so friendly though, getting error messages should be very easy.
moritz_ mberends: should I push my not-yet-quite-workiing Pg.pir based DBD module? 06:34
kaare_ I would be happy to work on a DBD::PgPir version, except my vacation makes me unstable :-)
moritz_ that's fine 06:35
mberends moritz_: yes, go for it!
kaare_ - and the fact that Pg.pir needs some updating.
mberends kaare_: the name PgPir is useful for having cake and eating it :) 06:36
moritz_ one thing I'd like to improve over the DBI interface is passing around paramaters in DBI.connect as a hash instead of a string 06:37
at least optionally
letting the user do the quoting seems wrong
mberends moritz_: as long as it's optional. I'd like to keep the P5->P6 migration path as easy as possible. 06:38
moritz_ understood. 06:39
kaare_ It is _so_ wrong. But a lot of these things are there because of age. DBI 2.0 should be designed from new. MiniDBI is OK as a 1:1 from P5 06:41
_someone_ with Parrot knowledge and tuits should look at Pg.pir (or postgres.pir?) and www.postgresql.org/docs/9.0/static/libpq.html 06:42
moritz_ pushed MiniDBD::PgPir
mberends moritz_++ 06:43
06:44 hugme joined
kaare_ pulled 06:45
mberends kaare_: yes, that's the Postgresql manual I used to make a Zavolaj client. I'm currently low on Parrot tuits, getting perldancer into P6 matters more to me ;) 06:46
kaare_ mberends: I was hoping maybe dukeleto *hint hint* ;-) 06:49
moritz_ I'm testing a last_error method in Pg.pir right now 06:51
mberends kaare_: yes :) I like his blog posting (of course;)
the Postgresql C API was so much easier to work with than the MySQL one, because the parameters passed and returned were simpler. Conversely, MySQL probably performs slightly faster because it passes more information per call. 06:56
sorear pmichaud: Are the current list-context tests all correct? 06:57
kaare_ moritz_: I get Typename MiniDBD::StatementHandle must be pre-declared to use it with does at line 3, near "{\n has " 06:58
I guess it's because MiniDBI isn't installed here. I hoped that a export PERL6LIB=lib would help, but no. 07:01
moritz_ I guess I have to 'use MiniDBD'
07:01 mj41_ joined
moritz_ fix pushed 07:01
07:01 [particle]1 joined
kaare_ sorry. Forgot you mentioned it's untestet :-) 07:01
07:02 p6eval joined, songmaster left, PZt left, stef_ left, opx^away left 07:03 mj41_ is now known as mj41
kaare_ I changed the Makefile to include PgPir. Is it OK to push? 07:03
moritz_ sure
07:04 songmaster joined, PZt joined, stef_ joined, opx^away joined, felipe joined, thepler joined, tomaw joined, Gothmog_ joined 07:05 felipe left 07:16 rgrau joined 07:20 cuppe joined 07:21 cuppe_ joined
songmaster \o/ My p6 sudoku solver works! 07:29
mathw \o/ 07:32
07:35 songmaster left 07:40 agentzh joined 07:43 Ross joined 07:58 wallberg joined 07:59 felipe joined 08:00 timbunce joined 08:14 cygx joined 08:26 tadzik joined
moritz_ rakudo: say @*ARGS.perl 08:26
p6eval rakudo 7df2c2: OUTPUT«[]␤»
08:31 dakkar joined 08:32 Ross left
pugssvn r31521 | moritz++ | [t/spec] test @*ARGS 08:32
mathw moritz_: I must thank you again for introducing me to Wise Guys. Wenn Sie Tantzt is currently the only thing keeping me attached to my last tenuous thread of sanity. 08:33
moritz_ wise guys and sanity. /me chuckles :-) 08:34
IllvilJa mathw: isn't sanity overrated? GROSSLY overrated...?
dalek kudo: 3d2cb82 | moritz++ | t/spectest.data:
run test file for @*ARGS
mathw IllvilJa: It depends which bit of sanity you lose...
Right now I'm about ready to start throwing people out of windows and through floorboards
IllvilJa mathw: please don't. It messes up the windows and floorboards very badly... 08:36
mathw I know
I doubt my employer would be very happy with the damage to the facilities 08:37
08:43 molaf joined 08:46 thebird joined 08:49 molaf left 08:52 masak joined
masak oh hai, #perl6! 08:52
phenny masak: 30 Jun 18:39Z <moritz_> tell masak github.com/moritz/modules.perl6.org - my approach at phasing out the web/ folder from proto
masak moritz_++ 08:53
I like 'modules'. it's not ideal, but it's far better than 'proto'.
08:54 Trashlord left 08:55 azert0x joined 08:56 azert0x left 08:57 azert0x joined, azert0x left
mathw oh hai masak 08:57
sorear Hello! Masak!
mathw enjoys a brief moment of seeing the SVN log as rather like 1080p CCTV footage of somebody breaking into a bank vault 08:59
09:01 azert0x joined, azert0x left, lkk- left 09:02 azert0x joined, azert0x left
masak rakudo: say +Failure 09:03
p6eval rakudo 7df2c2: OUTPUT«Use of uninitialized value in numeric context␤0␤»
09:05 azert0x joined 09:10 tylercurtis left 09:11 silug joined
sorear yay, niecza has a working-seeming rudimentary ClassHOW now 09:25
09:28 cygx left
mathw sorear++ 09:28
09:30 mikehh joined
sorear niecza has gotten to the point where typing in ASTs to test is getting tiring, so tomorrow I'm going to try and hook it up to STD.pm6 09:37
STD.pm6 will probably need a few changes for this to work; niecza is AFAIK the first compiler to be directly connected to STD 09:38
(viv, mildew, and elf work by processing match trees, not providing action methods, which is what I want to try and do)
mberends sorear: very nice. Mildew also ran STD.pmc in-process afair, but yes, sharing data only at the tree level 09:40
09:41 sorear sets mode: +o mberends
sorear mberends: did mildew or elf define any extensions to Perl 6? 09:41
niecza is going to have to, since I'm trying to define my setting in extended-Perl-6 09:42
(you can't well define a class that is its own metaclass, to name an egregious example)
mberends sorear: no, nothing beyond STD.pm6 language
masak I'm glad Perl 6 is among the answers here: stackoverflow.com/questions/23930/f...-languages 09:45
sorear out
mberends hi masak, I like their lolcode answer too :) 09:53
masak :)
jnthn o/ 09:56
09:56 sorear sets mode: +o masak
masak \o 09:56
09:57 sorear sets mode: +vv hugme p6eval, sorear sets mode: +oo [particle]1 ingy 09:58 sorear sets mode: +v IllvilJa, sorear sets mode: +v ilogger2, sorear sets mode: -v IllvilJa
bbkr Is there any direct replacement of $. from P5? or do I have to use ZIP operator like "for .lines Z 1 .. * -> $line_content, $line_number { ... }" ? 10:07
mathw masak: Awesome, they have it in Inform 7 as well :) 10:09
"To decide what number is the factorial of (n - a number):"
masak the more I learn about Inform 7, the more it looks like a complex incarnation of HyperTalk. 10:13
mathw It's bizarre 10:14
rather fun from time to time
not to mention that it's the only language in which I've ever successfully written a game :)
10:16 pmurias joined
pugssvn r31522 | pmurias++ | [mildew] [smop] say 7 works with an installed SMOP 10:18
jnthn But what about "say 42"?
pmurias checks ;) 10:19
phenny pmurias: 30 Jun 18:18Z <sorear> tell pmurias pong.
pmurias jnthn: works too
jnthn \o/ 10:20
masak lunch & 10:25
pragma_ checks ;) 10:27
oh, it was some on-next-visibility-send-memo thing. 10:28
10:29 Su-Shee joined
Su-Shee good morning everyone. 10:29
pragma_ what's good about it?
Su-Shee everything you make good of it. ;) 10:30
10:35 agentzh left 10:40 araujo joined 10:42 clintongormley joined
pmurias pragma_: on-next-visibility-send-memo thing? 10:45
10:46 tadzik left
pragma_ pmurias: yes. 10:46
pmurias which thing did you refer to? 10:49
pragma_ phenny's thing. 10:51
pmurias understands 10:52
pragma_: i checked if "say 42" worked in mildew
10:59 tadzik joined 11:06 amkrankruleuen joined
sorear pmurias: you're very lucky I can't sleep tonight. 11:09
is there any chance you could be online at a time other than 4am US west coast time? Or should we take this to email?
bbkr: try for .lines.kv -> $n, $text { ... 11:10
pmurias checks what does 4am translate to in his timezone
arnsholt is occasionally convinced that everyone should just move to Swatch beats 11:11
bbkr sorear++ :) I always forget there is kv for arrays available now :)
pmurias sorear: i'm in UTC+2 11:13
sorear: what's the current time in your place?
s/time/hour/ 11:14
sorear 4:15 11:15
arnsholt California time, isn't it? 11:18
pmurias sorear: i could be on the channel any time while i'm awake (uni ended and i don't have anything planned for this week) 11:19
sorear arnsholt: I don't expect random Internet people with other-side-of-the-world timezones to know where California is 11:22
arnsholt Yeah, that's reasonable. I ask primarily so that I can place you on my mental people-time-map
For some reason I find it easier to remember California or New York than -9 or -6 hours 11:23
pmurias sorear: are you awake enough to answer STD questions? 11:30
sorear maybe
if not try again in ~14 hours
pmurias what would it take to make STD installable? 11:33
sorear if by "installable" you mean "like any other perl module" - that would require the CPAN folks to figure out what data files are 11:34
if you're willing to assume more of the issues yourself, you can use 'make dist', install the result of that somewhere, then set PERL5LIB, PERL6LIB, and STD5PREFIX to the right paths 11:35
pmurias you can install data file with File::ShareDir
sorear note: I don't recommend installing the PERL5LIB files into the system PERL5LIB
STD and Cursor are reserved module names in P6, not in P5 11:36
I'll have to check out File::ShareDir. When I'm awake. 11:38
pmurias ok 11:39
amkrankruleuen ls
pmurias sorear: if you need something done to help with STD being installable tell me 11:40