»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, std:, or /msg camelia p6: ... | irclog: irc.perl6.org | UTF-8 is our friend! Set by masak on 12 May 2015. |
|||
TimToady | I'm pretty settled these days | 00:00 | |
maybe I should write that part of the new book first :) | |||
japhb | :-) | 00:01 | |
00:01
larion joined
|
|||
TimToady | my rules are perhaps a bit more finessed these days, given the various additional degrees of freedom, which all have their purpose | 00:01 | |
japhb | Nodnod | ||
TimToady | these days it's more like "Know which of these principles you're emphasizing, to the detriment of other principles." | 00:02 | |
rjbs files perl6.vim bug: github.com/vim-perl/vim-perl/issues/188 | 00:04 | ||
TimToady | m: say < a \# b > | 00:05 | |
camelia | rakudo-moar 68c432: OUTPUT«a \# b» | ||
TimToady | hmm | ||
m: say << a \# b >> | |||
camelia | rakudo-moar 68c432: OUTPUT«a#b» | ||
TimToady | m: say << a \# b >>.elems | ||
camelia | rakudo-moar 68c432: OUTPUT«3» | ||
00:05
gfldex left
|
|||
TimToady | m: say << a \# b >>.WHAT | 00:06 | |
camelia | rakudo-moar 68c432: OUTPUT«(Parcel)» | ||
TimToady | m: say < a \# b >.WHAT | ||
camelia | rakudo-moar 68c432: OUTPUT«(Parcel)» | ||
TimToady | why one has spaces and the other not, dunno.. | ||
m: say << a \# b >><> | 00:07 | ||
camelia | rakudo-moar 68c432: OUTPUT«a # b» | ||
TimToady | apparently <<>> is itemizing itself | ||
m: say < a \# b >.perl | 00:08 | ||
camelia | rakudo-moar 68c432: OUTPUT«("a", "\\#", "b")» | ||
rjbs has not yet attempted to understand itemization, but knows he'll need to. | |||
TimToady | m: say << a \# b >>.perl | ||
camelia | rakudo-moar 68c432: OUTPUT«("a", "#", "b")» | ||
japhb | m: say < a \# b >.DUMP | ||
camelia | rakudo-moar 68c432: OUTPUT«Parcel<1>(:$!storage(BOOTArray<2>( "a", "\\#", "b")))» | ||
japhb | m: say << a \# b >>.DUMP | ||
camelia | rakudo-moar 68c432: OUTPUT«Parcel<1>(:$!storage(BOOTArray<2>( "a", "#", "b")))» | ||
TimToady | beats me | 00:09 | |
japhb | Huh | ||
TimToady | well, hopefully that one smooths out after GLR | ||
japhb | m: say < a \# b >.elems | ||
camelia | rakudo-moar 68c432: OUTPUT«3» | ||
00:09
f3ew left
|
|||
japhb | That is just mystifying. | 00:09 | |
TimToady | $!flattens maybe | 00:10 | |
japhb | m: my \a := < a \# b >; say a.DUMP; | ||
camelia | rakudo-moar 68c432: OUTPUT«Parcel<1>(:$!storage(BOOTArray<2>( "a", "\\#", "b")))» | ||
japhb | m: my \a := << a \# b >>; say a.DUMP; | ||
camelia | rakudo-moar 68c432: OUTPUT«Parcel<1>(:$!storage(BOOTArray<2>( "a", "#", "b")))» | ||
TimToady | except a parcel doesn't have $!flattens | ||
00:10
f3ew joined
|
|||
japhb | Oh wait, perhaps they aren't compiling to the same tree. | 00:11 | |
TimToady | quite possible | ||
japhb | Does camelia have a way to dump QAST? | ||
TimToady | m: say quasi { 1 + 1 }.WHAT | 00:12 | |
camelia | rakudo-moar 68c432: OUTPUT«(AST)» | ||
TimToady | m: say quasi { 1 + 1 }.dump | ||
camelia | rakudo-moar 68c432: OUTPUT«Method 'dump' not found for invocant of class 'AST' in block <unit> at /tmp/ZeHLHrwRV9:1» | ||
TimToady | aw | ||
m: say quasi { 1 + 1 }.QAST.dump | |||
camelia | rakudo-moar 68c432: OUTPUT«Method 'QAST' not found for invocant of class 'AST' in block <unit> at /tmp/G9U_xcAWo1:1» | ||
japhb | m: say quasi { 1 + 1 }.^methods>>.name; | ||
camelia | rakudo-moar 68c432: OUTPUT«BUILD incarnate evaluate_unquotes is_quasi_ast Str» | ||
japhb | m: say quasi { 1 + 1 }.Str | 00:13 | |
camelia | rakudo-moar 68c432: OUTPUT«quasi { 1 + 1 }» | ||
japhb | m: say quasi { say < a \# b > }.Str | ||
camelia | rakudo-moar 68c432: OUTPUT«quasi { say < a \# b > }» | ||
TimToady | m: say quasi { 1 + 1 }.incarnate.WHAT | ||
camelia | rakudo-moar 68c432: OUTPUT«Too few positionals passed; expected 3 arguments but got 1 in block <unit> at /tmp/DXltPBB0Mu:1» | ||
japhb | m: say quasi { say << a \# b >> }.Str | ||
camelia | rakudo-moar 68c432: OUTPUT«quasi { say << a \# b >> }» | ||
TimToady | probably cheating | ||
japhb | Ah, it's probably just saving the code | ||
yeah | |||
TimToady | well, one could probably monkey patch some action method and capture control inside an EVAL somehow | 00:14 | |
or dynamically lookup a $/ from inside a BEGIN (evil) | 00:15 | ||
00:15
laouji joined
|
|||
TimToady | m: BEGIN say callframe(1) | 00:16 | |
camelia | rakudo-moar 68c432: OUTPUT«CallFrame.new(level => 3, annotations => {:file("src/Perl6/World.nqp"), :line("1704")}<>, my => EnumMap.new())» | ||
TimToady | m: BEGIN say callframe(2) | ||
camelia | rakudo-moar 68c432: OUTPUT«CallFrame.new(level => 4, annotations => {:file("src/Perl6/World.nqp"), :line("3494")}<>, my => EnumMap.new("\$ex" => Mu, :RETURN(Mu)))» | ||
TimToady | m: BEGIN say callframe(3) | ||
camelia | rakudo-moar 68c432: OUTPUT«CallFrame.new(level => 5, annotations => {:file("src/Perl6/World.nqp"), :line("2531")}<>, my => EnumMap.new(:RETURN(Mu)))» | ||
TimToady | m: BEGIN say callframe(4) | 00:17 | |
camelia | rakudo-moar 68c432: OUTPUT«CallFrame.new(level => 6, annotations => {:file("src/gen/m-Perl6-Actions.nqp"), :line("1459")}<>, my => EnumMap.new())» | ||
TimToady | heh | ||
00:17
larion left
|
|||
TimToady | m: BEGIN say CALLER::CALLER::<$/> | 00:18 | |
camelia | rakudo-moar 68c432: OUTPUT«(Any)» | ||
japhb | Yeah, they do compile differently. I used: | ||
diff -u <(perl6 --target=ast -e 'say < a \# b >') <(perl6 --target=ast -e 'say << a \# b >>') |less | |||
TimToady | m: BEGIN say CALLER::CALLER::CALLER::<$/> | ||
camelia | rakudo-moar 68c432: OUTPUT«(Any)» | ||
TimToady | m: BEGIN say CALLER::CALLER::CALLER::CALLER::<$/> | ||
camelia | rakudo-moar 68c432: OUTPUT«(Any)» | ||
japhb | And you can see (non-trivial) differences. | ||
TimToady | m: BEGIN say CALLER::CALLER::CALLER::CALLER::CALLER::<$/> | ||
camelia | rakudo-moar 68c432: OUTPUT«(Any)» | ||
TimToady | m: BEGIN say CALLER::CALLER::CALLER::CALLER::CALLER::CALLER::<$/> | ||
camelia | rakudo-moar 68c432: OUTPUT«(Any)» | ||
TimToady | aww | ||
00:19
larion joined
|
|||
japhb | In short, the < > form inserts a call to &infix:<,>, and the << >> form does not | 00:20 | |
00:20
laouji left
00:22
raiph left
|
|||
TimToady | m: say < 42 >.WHAT | 00:22 | |
camelia | rakudo-moar 68c432: OUTPUT«(Str)» | ||
TimToady | m: say << 42 >>.WHAT | ||
camelia | rakudo-moar 68c432: OUTPUT«(Str)» | ||
TimToady | but it's not in order to force a Parcel of 1 element | 00:23 | |
japhb | m: say (<< 42 >>).WHAT # Just in case | ||
camelia | rakudo-moar 68c432: OUTPUT«(Str)» | ||
japhb | phew | ||
m: say (< 42 >).WHAT # Just in case | |||
camelia | rakudo-moar 68c432: OUTPUT«(Str)» | ||
TimToady | could be a superstitious comma, I suppose | ||
japhb | Sorta like that one? :-) | ||
TimToady | I paused there in my internal speec | 00:24 | |
*ch | |||
japhb | In any case, superstitious tokens are not supposed to be affect semantics .... | 00:25 | |
s/to be/to/ | |||
TimToady | kinda like a block can have multiple statements without a Stmts node... | 00:27 | |
but this is a parcel without a comma node | |||
japhb | Would you expect there to always be one, or always not be one? | 00:28 | |
00:29
skids joined
|
|||
TimToady | well, comma just makes a list of things, so a list of things doesn't much care, I expect | 00:30 | |
a bit surprising it doesn't turn into 1 elem though | |||
perhaps there's compensating code somewhere that strips the outer comma | 00:31 | ||
japhb | But only for the << >> case. :-/ | ||
rjbs | Stringification of Buf seems a bit off for non-octet bufs. | 00:33 | |
m: Buf.new(100,200,300).say | |||
camelia | rakudo-moar 68c432: OUTPUT«Buf:0x<64 c8 2c>» | ||
rjbs | That 2C is probably a cropped 12C. | 00:34 | |
TimToady | yeah, would be nice to prettify the ASCII subset at least, if not Latin-1 | ||
oh, that, it's just overflow | |||
C semantics on small ints | |||
rjbs | Sure. | ||
Oh, gosh, it's truncated in the buf, silently... | 00:35 | ||
The docs only say: A Buf is a mutable sequence of (usually unsigned) integers. | |||
TimToady | it's a "feature" :) | ||
rjbs | I reckon I'll use an array. | ||
The code I'm porting is my ZSCII codec, which maps between four states of text for working with Z-Machine: | 00:36 | ||
japhb | m: buf16.new(100,200,300).say | ||
camelia | rakudo-moar 68c432: OUTPUT«Buf[uint16]:0x<64 c8 12c>» | ||
japhb | rjbs: ^^ | ||
rjbs | japhb++ !! | ||
That'll do. | |||
japhb | It's because the default type specialization for Buf when it puns is uint8 | 00:37 | |
TimToady | Buf is really a role that instantiates for an integer type | ||
rjbs | (a) unicode strings (b) zscii strings [codepoints between 0 and 0x3FF] (c) zchars (d) packed zchars | ||
In p5, it's easy: they're all strings. :) | |||
which is also awful, of course | |||
japhb | rjbs: See src/core/Buf.pm for the gory details, and all the default specializations. | ||
TimToady | m: say Buf[Int].new(1, 2, 4 ... 10000000000000000) | ||
camelia | rakudo-moar 68c432: OUTPUT«MVMArray: bindpos expected object register in any at src/gen/m-Metamodel.nqp:1640 in block <unit> at /tmp/y36TPyihca:1» | ||
TimToady | hmm | 00:38 | |
rjbs | I find it hard to type "buf" and not "bug" :) | ||
Okay, great. From now on, I type "buf8" | |||
TimToady | m: say buf64.new(1, 2, 4 ... 10000000000000000) | ||
camelia | rakudo-moar 68c432: OUTPUT«Buf[uint64]:0x<01 02 04 08 10 20 40 80 100 200 400 800 1000 2000 4000 8000 10000 20000 40000 80000 100000 200000 400000 800000 1000000 2000000 4000000 8000000 10000000 20000000 40000000 80000000 100000000 200000000 400000000 800000000 1000000000 2000000000…» | 00:39 | |
TimToady | m: say Buf[int64].new(1, 2, 4 ... 10000000000000000) | ||
camelia | rakudo-moar 68c432: OUTPUT«Buf[int64]:0x<01 02 04 08 10 20 40 80 100 200 400 800 1000 2000 4000 8000 10000 20000 40000 80000 100000 200000 400000 800000 1000000 2000000 4000000 8000000 10000000 20000000 40000000 80000000 100000000 200000000 400000000 800000000 1000000000 2000000000 …» | ||
TimToady | I guess Buf is biased towards native types | ||
japhb | TimToady: Makes sense to me ... | ||
TimToady | m: say Buf[num].new(1, 2, 4 ... 10000000000000000) | 00:40 | |
camelia | rakudo-moar 68c432: OUTPUT«MVMArray: bindpos expected num register in any at src/gen/m-Metamodel.nqp:1640 in block <unit> at /tmp/KGT3y5fEUG:1» | ||
japhb | Though the error for Buf[Int] is definitely LTA | ||
m: say Buf[num].new(1e0, 2e0, 4e0 ... 10000000000000000e0) | |||
camelia | rakudo-moar 68c432: OUTPUT«This type cannot unbox to a native integer in any at src/gen/m-Metamodel.nqp:1640 in block <unit> at /tmp/PmtxCa80jI:1» | ||
japhb | Heh. | ||
TimToady | o_O | ||
japhb | o/~ somebody cheated ... o/~ | 00:41 | |
TimToady | and got cot | ||
00:42
zacts left
|
|||
TimToady | either that, or made an ass out of u and me | 00:43 | |
japhb | Speak for yourself, donkey man. ;-) | 00:44 | |
TimToady | hee haw! | ||
00:44
larion left
00:45
larion joined
|
|||
BenGoldberg | m: say Buf[num].new( 1.0, 2.0, 4.0 ) | 00:46 | |
camelia | rakudo-moar 68c432: OUTPUT«This type cannot unbox to a native integer in any at src/gen/m-Metamodel.nqp:1640 in block <unit> at /tmp/X1MSq10t4a:1» | ||
00:53
laouji joined
00:56
thou joined
|
|||
raydiak is starting to think CAPTCHAs on comment boxes are written to check the length and offer something sarcastic if you write too much...this time it gave me "evermore" | 01:03 | ||
BenGoldberg | . o O (Quoth the aven, evermore?) | 01:06 | |
01:10
kurahaupo1 left,
Akagi201 joined
|
|||
raydiak | searched for it and ironically the first thing I saw was "Quoth the aven radiant ...", make the machines stop talking to me! :) | 01:12 | |
not even google-personalized results | 01:14 | ||
rjbs | So is "buf16" an implementation-specific type? | 01:24 | |
TimToady | no | ||
it's a standard Perl 6 type | |||
rjbs | Great, thanks. | ||
(I thought there was some convention about Int vs. int, but that memory is well aged.) | 01:25 | ||
TimToady | lower-case types tend to native, but that's not the same as implementation-specific | 01:26 | |
rjbs | Aha, I see! | ||
TimToady | int itself is a bit ambiguous, compared to int32 or int64 | ||
it's not likely to be the same as int in C | 01:27 | ||
p6 defines int as the largest integer that runs at "full speed" | |||
rjbs | I know how to use \c[...] to go from name to char, but how do I go from char to name? (in p5, via charnames::viacode) | ||
TimToady | so the native call interface tends to be more specific about C types as viewed in p6 | ||
m: say uniname("💩") | 01:28 | ||
camelia | rakudo-moar 68c432: OUTPUT«PILE OF POO» | ||
rjbs | Super. | ||
TimToady: but that was a really crappy example! | |||
(haw haw haw) | |||
TimToady | uniname also works with integer codepoints | 01:30 | |
m: say uniname(0x2424) | 01:31 | ||
camelia | rakudo-moar 68c432: OUTPUT«SYMBOL FOR NEWLINE» | ||
rjbs | This whole exercise is worth it just for the joy of replacing low lines with hyphen minuses in variable names. | ||
TimToady | o-O | ||
01:31
colomon left
01:32
aborazmeh joined,
aborazmeh left,
aborazmeh joined
01:33
colomon joined
|
|||
TimToady | m: say uniname(0x1F35F) | 01:38 | |
camelia | rakudo-moar 68c432: OUTPUT«FRENCH FRIES» | ||
01:38
dayangkun joined
|
|||
TimToady | m: say uninames(0x1F350..0x1F35F) | 01:38 | |
camelia | rakudo-moar 68c432: OUTPUT«Cannot call uninames(Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int); none of these signatures match: (Str $str) in block <unit> at /tmp/XK4NzAbW2k:1» | ||
TimToady | m: say (0x1F350..0x1F35F)».uniname | 01:39 | |
camelia | rakudo-moar 68c432: OUTPUT«PEAR PEACH CHERRIES STRAWBERRY HAMBURGER SLICE OF PIZZA MEAT ON BONE POULTRY LEG RICE CRACKER RICE BALL COOKED RICE CURRY AND RICE STEAMING BOWL SPAGHETTI BREAD FRENCH FRIES» | ||
TimToady is getting hungry | |||
raydiak | m: say uniname(0x20), <the>, uniname(0x3c2).comb(/\S+/)[*-2], <frontier> | ||
camelia | rakudo-moar 68c432: OUTPUT«SPACEtheFINALfrontier» | ||
raydiak | .oO( in your stomach :) ) |
01:40 | |
TimToady | m: say uniname('ꗴ') | 01:41 | |
camelia | rakudo-moar 68c432: OUTPUT«VAI SYLLABLE THE» | ||
BenGoldberg | m: say char(0x1F366); | ||
camelia | rakudo-moar 68c432: OUTPUT«5===SORRY!5=== Error while compiling /tmp/iTmHxvT41yUndeclared routine: char used at line 1. Did you mean 'chars', 'chr'?» | ||
BenGoldberg | m: say chr(0x1F366); | ||
camelia | rakudo-moar 68c432: OUTPUT«🍦» | ||
BenGoldberg | m: say uniname(chr(0x1F366)); | ||
camelia | rakudo-moar 68c432: OUTPUT«SOFT ICE CREAM» | ||
BenGoldberg | m: say uniname(0x1F366); | 01:42 | |
camelia | rakudo-moar 68c432: OUTPUT«SOFT ICE CREAM» | ||
raydiak was having a phone conversation today, started talking about manna and got hungry... | 01:45 | ||
01:46
ilbot3 joined
|
|||
TimToady | m: say '𐌼'.uniname | 01:48 | |
camelia | rakudo-moar 68c432: OUTPUT«GOTHIC LETTER MANNA» | ||
raydiak | okay, that's it, I'm grabbing the pretzels... | 01:49 | |
rjbs | Does Unicode 8 give us flavor selectors for ice cream yet? | ||
raydiak | m: say (0x1f34e, 0x1f34f)».uniname # may I offer you a healthier alternative? :) | 01:54 | |
camelia | rakudo-moar 68c432: OUTPUT«RED APPLE GREEN APPLE» | ||
TimToady | Eve, to Adam: Here, you wanna finish this for me? | 01:59 | |
raydiak | ha ha :) | 02:01 | |
02:03
Akagi201 left
02:04
laouji_ joined
|
|||
rjbs | I had p5 code that did: while (my $str = substr $x, 0, 2, '') { ... } | 02:05 | |
In p6, $x is a buf. Is there an analogous behavior, or shall I use a $i? | |||
TimToady | m: my $b = buf8.new(1..10); .say for $b.rotor(2) | 02:07 | |
camelia | rakudo-moar 68c432: OUTPUT«1 23 45 67 89 10» | ||
rjbs | So, that's not sufficient, because inside the loop, I might need to consume more. | ||
TimToady | m: my $b = buf8.new(1..10); for @$b -> $a, $b { say "$a $b" } | 02:08 | |
camelia | rakudo-moar 68c432: OUTPUT«1 23 45 67 89 10» | ||
02:08
noganex joined
|
|||
TimToady | well, there's always subbuf | 02:08 | |
02:09
laouji_ left
|
|||
TimToady | also, regexes have an optional starting pos | 02:09 | |
rjbs | Can you use a regex on a buf? | ||
Looks like no. | 02:10 | ||
02:11
noganex_ left
|
|||
raydiak | you could also turn it into a compact array like my int8 @b = "foobar".encode.list, and then you get shift or splice or whatever, though I'm sure it's one of the less-efficient approaches | 02:11 | |
TimToady goes to buffer some dinner & | |||
rjbs | Don't overflow! | 02:12 | |
02:12
telex left
|
|||
raydiak | (but avoid the underruns too) | 02:14 | |
rjbs | any form of runs | ||
02:14
telex joined
|
|||
raydiak | yes, of course...doubly so if you're only in your underwear | 02:16 | |
jercos | m: "taxes and stuff" ~~ /taxes?/ | 02:17 | |
camelia | ( no output ) | ||
jercos | m: say "taxes and stuff" ~~ /taxes?/ | ||
camelia | rakudo-moar 68c432: OUTPUT«「taxes」» | ||
jercos | m: say "taxes and stuff" X~~ (/taxes?/, /taxes??/) | ||
camelia | rakudo-moar 68c432: OUTPUT«True True» | ||
02:27
rmgk_ joined,
rmgk left,
rmgk_ is now known as rmgk
02:46
cognominal left
02:47
aborazmeh left
02:49
aborazmeh joined,
aborazmeh left,
aborazmeh joined
02:54
agentzh_ joined
|
|||
rjbs | What best way to append an element to a buf? | 03:01 | |
$b[ $b.elems ] = 0xA0; # seems wordy | 03:02 | ||
dalek | ast/date-time-slices-tz: dd9ef10 | (Chris Jepeway)++ | S32-temporal/DateTime.t: Added tests to check that DateTime.{utc,local} preserve timezone types. type itself beyond merely the current "be an Int()" expectation. |
03:03 | |
raydiak | you can use +* instead of $b.elems | ||
rjbs | $b[+*] = 1 # <-- like that? | ||
raydiak++ tanks | 03:04 | ||
thanks, also | |||
raydiak | yep :) and you're totally welcome | ||
* in numeric context in a subscript evaluates to .elems | |||
03:05
laouji_ joined
|
|||
raydiak | not as useful in this case but if the other thing were a buf already, you can concat too (~) as if they were strings | 03:05 | |
rjbs | Hm, might be useful, I'll have to revisit the code later. | 03:06 | |
It's late now. I should take out the trash and go to bed. | |||
:) | |||
raydiak | sleep well :) | ||
rjbs | A whole hour of p6 hacking time lost to planning a *vacation* on which I won't write any code at all. What's wrong with the world?! | ||
Thanks :) Ta ta! | |||
raydiak | haha, darned vacations :) | ||
03:10
laouji_ left
03:12
skids left
03:23
BenGoldberg left
03:36
mr_ron joined
|
|||
mr_ron | m: %h{'a';'b'}=3 | 03:37 | |
camelia | rakudo-moar 68c432: OUTPUT«5===SORRY!5=== Error while compiling /tmp/yQhTRcPrFgVariable '%h' is not declaredat /tmp/yQhTRcPrFg:1------> 3<BOL>7⏏5%h{'a';'b'}=3» | ||
mr_ron | sorry - different result on my system | ||
m: no strict; %h{'a';'b'}=3 | 03:42 | ||
camelia | rakudo-moar 68c432: OUTPUT«Use of Nil in string context at src/gen/m-BOOTSTRAP.nqp line 2235Use of Nil in string context at src/gen/m-BOOTSTRAP.nqp line 2235Use of Nil in string context at src/gen/m-BOOTSTRAP.nqp line 2235Use of Nil in string context at src/gen/m-BOOTSTRAP.…» | ||
mr_ron | thar it blows | ||
03:42
laouji left
03:47
mr_ron left
03:48
Sqirrel left
|
|||
labster | m: my %h; %h{'a';'b'}=3 | 03:49 | |
camelia | ( no output ) | ||
labster | no strict bug? | ||
raydiak | m: my %h; %h{'a';'b'}=3; say %h.perl | 03:51 | |
camelia | rakudo-moar 68c432: OUTPUT«{:a({:b(3)})}<>» | ||
raydiak | m: no strict; $a = 1 | 03:52 | |
camelia | ( no output ) | ||
raydiak | gr so much lag | 03:53 | |
raydiak goes to play with it in a local terminal | |||
and then find myself waiting on rakudobrew instead of flaky wifi :) | 03:56 | ||
m: no strict; %h{'a'}=3 | 03:57 | ||
camelia | ( no output ) | ||
raydiak | m: no strict; %h{'a'}{'b'}=3 | 03:58 | |
camelia | rakudo-moar 68c432: OUTPUT«Use of Nil in string context at src/gen/m-BOOTSTRAP.nqp line 2235Use of Nil in string context at src/gen/m-BOOTSTRAP.nqp line 2235Use of Nil in string context at src/gen/m-BOOTSTRAP.nqp line 2235Use of Nil in string context at src/gen/m-BOOTSTRAP.…» | ||
03:59
molaf left
|
|||
raydiak | wow stage parse is up over 100s for me | 04:02 | |
TimToady | about the same for me; sure you're not looking at the jvm compile? | 04:05 | |
I mean, no worse here | |||
a browser in the background chewing cpu maybe? | 04:06 | ||
raydiak | yeah don't really do jvm any more...it's been about 90 for me | ||
only a single window with a single tab open a site I know to be well-behaved | |||
TimToady | cron job? | 04:07 | |
raydiak | my desktop is a newer revised arrangement of data.cyberuniverses.com/pub/screenshot.png | 04:08 | |
mainly, I got a bunch of meters watching everything | |||
I know right away when anything goes awry in the background | |||
TimToady | turn on debugging or profiling? | ||
raydiak | I did "rakudobrew build moar" | ||
haven't made any changes I know of lately | 04:09 | ||
to my system I mean, or env vars | |||
or even notable updates | |||
TimToady just builds from git | |||
raydiak | I like how it migrates all the panda modules | ||
and, well, ... laziness is a virtue, no? | 04:10 | ||
TimToady | maybe it does a parallel make? | ||
just guessin' | |||
it'd interleave other messages though if that were the case | 04:11 | ||
raydiak | really with dynamic underclock and overclocking, I guess I wouldn't read too much into it unless it's repeatable | ||
it is getting warmer here than it has been | |||
TimToady | could just be that | ||
blocking the vent can have that effect too | |||
raydiak | just on a tabletop atm | 04:12 | |
cleaned it out within the last few months | |||
TimToady | recently lose any feet off of it? | ||
raydiak looks | |||
TimToady | that can cut the air gap underneath | ||
raydiak | clever, didn't consider that one, but nope | ||
TimToady | out of ideas for the moment... | 04:13 | |
raydiak | though, I'd probably notice that too, that rocking diagonally thing drives me nuts when it happens | ||
yeah me too | |||
good game though :) | 04:14 | ||
TimToady | :) | ||
raydiak | unless we fall back to cosmic rays and other improbable unprovable hypotheticals | ||
maybe God just decided it'd be fun if we had this conversation *shrug* | 04:15 | ||
TimToady | lessee, your system clock had a large time adjustment come in from ntp or so | ||
04:15
agentzh_ left
|
|||
raydiak | wish I knew what time to look for in the system logs | 04:15 | |
TimToady | one of your devices started interrupting continually | 04:16 | |
dalek | kudo-star-daily: d00a5fd | coke++ | log/ (2 files): today (automated commit) |
||
raydiak | maybe, but only if somehting's failing, nothing even plugged in besides power | ||
TimToady | your disk is filling your logs with I'm about to go bad messages | ||
raydiak | still 183 gig free | 04:17 | |
wait myh logs arent on that one | |||
TimToady | free space doesn't matter if it's working up toward a head crash | ||
TimToady is full of good news... :) | 04:18 | ||
raydiak | :) | ||
raydiak wonders if his system meters do something dumb like ignore nice time or something | 04:19 | ||
TimToady just uses top to see what's really chewing time | |||
raydiak | ah! I got a plausable one! if a process acted up *after* I started the build, I wouldn't be able to tell on the meters because of all the noise | 04:20 | |
TimToady | could well have been a cron job running at the top of the hour then, if you'd just finished at 2 after | ||
raydiak | I'll bet that's exactly what happened. | 04:21 | |
raydiak will build again later, but has gotten hisself way out in left field from his originally intended direction, and still intends to head that way :) | 04:22 | ||
TimToady | well, hope you get to first base then | 04:23 | |
assuming that's the opposite of left field | |||
raydiak | heh thanks, here's hoping that my childhood baseball experiences aren't indicative of my probability of success | 04:25 | |
04:26
yeahnoob joined
04:28
laouji joined
|
|||
raydiak | off to worry about food and things | 04:30 | |
TimToady | o/ | 04:31 | |
04:46
quester joined
|
|||
raydiak | \o back from the store | 04:49 | |
car's still broken until tomorrow, so had to run to the gas station when we noticed we were out of bread | |||
04:51
agentzh_ joined
|
|||
moritz | raydiak: no instant food delivery by drones? :-) | 05:05 | |
raydiak at least found the ~Nil warning at github.com/rakudo/rakudo/blob/0fe9....nqp#L2250 if anyone wants to take it from there, my nqp-fu is weak, and sadly now is not the time to train it | |||
moritz: no...(thankfully?) | 05:06 | ||
though even if there were such a thing around... if we could afford it the car wouldn't be broken :) | |||
just takes me longer sometimes b/c I usually accomplish it for nearly no money, which in and of itself is kinda cool in a way | 05:08 | ||
05:12
labster_ joined
05:14
jercos_ joined
|
|||
raydiak | copy & paste of part of something I wrote earlier today about whether automated cars need windows, which summarizes my thoughts on delivery dromes as well: | 05:14 | |
Anyway, once we're all tightly sealed up in our automated capsules to shoot us from one building to another, you don't really have to interact with most of the outside world any more, and you don't need cops so much. | |||
You also take some heavy losses in the form of creativity, freedom, fresh air, human spirit, the diversity of natural things like weather and plants, and so much more...but nobody seems worried about those kinds of qualitative factors any more. :P | |||
05:15
labster_ is now known as labster
|
|||
raydiak | was kinda flabbergasted that someone would even pose the question "do vehicles need windows if the computer can see?" | 05:15 | |
05:15
jdv79_ joined,
vike1 joined
|
|||
raydiak | meant to mention motion sickness too but forgot | 05:16 | |
05:16
b2gills1 joined,
mls_ joined
|
|||
[Coke] | m: my @a = <a b c>; my @b = <q r s>; for @a Z @b -> $q, $t { say "$q, $t" } | 05:17 | |
camelia | rakudo-moar 68c432: OUTPUT«a q, b rToo few positionals passed; expected 2 arguments but got 1 in block <unit> at /tmp/pkhK8N1lu5:1» | ||
[Coke] | ^^ root cause of explosion in t/spec/integration/advent2009-day17.t | 05:18 | |
TimToady | m: my @a = <a b c>; my @b = <q r s>; for @a Z @b -> ($q, $t) { say "$q, $t" } | ||
camelia | rakudo-moar 68c432: OUTPUT«a, qb, rc, s» | ||
TimToady | m: my @a = <a b c>; my @b = <q r s>; for flat @a Z @b -> $q, $t { say "$q, $t" } | ||
camelia | rakudo-moar 68c432: OUTPUT«a, qb, rc, s» | ||
[Coke] | excellent, thanks. | ||
TimToady | it's the 'for no flattens' thing | ||
*no longer | |||
05:19
tony-o_ joined,
jnthn_ joined,
_thou joined,
spider-mario left
05:20
b2gills left,
b2gills1 is now known as b2gills
|
|||
dalek | ast: f73c005 | coke++ | integration/advent2009-day17.t: fix fallout from "for no longer flattens" TimToady++ |
05:20 | |
05:21
El_Che_ joined,
laouji_ joined
05:22
vytas` joined
|
|||
dalek | kudo/nom: 2805390 | coke++ | t/spectest.data: Not actually very stressful |
05:22 | |
05:23
kaare__ joined
|
|||
[Coke] | m: say cat(); | 05:24 | |
camelia | rakudo-moar 68c432: OUTPUT«5===SORRY!5=== Error while compiling /tmp/uqPAloD1uVUndeclared routine: cat used at line 1. Did you mean 'cas'?» | ||
dalek | kudo/nom: a6f5638 | coke++ | t/spectest.data: run fudged test |
||
ast: 0e6aac0 | coke++ | S32-container/cat.t: fudge test for rakudo |
05:25 | ||
05:26
ir2ivps4 joined,
bayprogrammer_ joined,
laouji_ left,
thou left,
El_Che left,
vytas left,
tony-o left
05:28
quester left,
quester joined
|
|||
[Coke] | m: $str = "abracadabra"; $str ~~ m:exhaustive/ a (.*?) a / && say "@()"; | 05:30 |
|