»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:07 clairvy left 00:08 clairvy joined, clairvy left 00:09 clairvy joined 00:13 am0c joined, clairvy left 00:14 clairvy joined
[Coke] TimToady: rt.perl.org/rt3/Ticket/Display.html?id=74492 is asking for a spec repeal. 00:14
00:14 Guest20438 left
[Coke] rakudo: sub foo(:$a, :$b, :$c) {}; foo(:a :b :c) 00:14
00:14 clairvy left
p6eval rakudo ef4702: OUTPUT«===SORRY!===␤Unable to parse postcircumfix:sym<( )>, couldn't find final ')' at line 1␤» 00:14
[Coke] rakudo: sub foo(:$a, :$b, :$c) {}; foo(:a, :b, :c)
p6eval rakudo ef4702: ( no output )
00:15 clairvy joined, whiteknight joined 00:16 whiteknight is now known as Guest97406, clairvy left, saaki joined 00:17 clairvy joined 00:18 bacek left, clairvy left
[Coke] nom: say NaN.perl 00:18
p6eval nom ef4702: OUTPUT«NaNe0␤»
00:19 clairvy joined
tadzik nom: sub NaNcat { say NaN x Inf }; NaNcat() 00:20
00:20 clairvy left
p6eval nom ef4702: OUTPUT«␤» 00:20
tadzik nom: sub NaNcat { say NaN x 99 }; NaNcat()
p6eval nom ef4702: OUTPUT«NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNN…
00:20 clairvy joined
[Coke] nom: say 3.perl 00:20
p6eval nom ef4702: OUTPUT«3␤»
00:30 ksi left, clairvy left
japhb Current progress on Str.Numeric() work: gist.github.com/1361357 00:30
00:31 clairvy joined 00:32 clairvy left 00:33 clairvy joined 00:36 molaf joined 00:37 worr left, clairvy left, worr joined, clairvy joined 00:42 clairvy left 00:43 clairvy joined, clairvy left 00:44 clairvy joined 00:46 wolfman2000 left, clairvy left 00:47 clairvy joined 00:48 localhost left 00:50 localhost joined, clairvy left, clairvy joined 00:53 lichtkind left 00:54 clairvy left 00:55 clairvy joined 00:57 lue joined
lue I'm playing around with Ratel (in Web), and it's trying to play with an %attrs hash that only ever shows up the signature of the render method 00:58
00:58 clairvy left
lue whoops, meant to say that Ratel's BUILD submethod is trying to play with the %attrs hash 00:59
00:59 clairvy joined 01:00 evhan left, clairvy left, clairvy joined 01:15 clairvy left 01:16 clairvy joined 01:18 daniel-s joined, clairvy left 01:19 clairvy joined 01:24 bluescreen10 left 01:43 jferrero joined, clairvy left, clairvy joined 01:50 clairvy left 01:51 clairvy joined 02:01 Guest97406 left, clairvy left 02:02 clairvy joined
dalek odel: 3bd021b | diakopter++ | lua/compiler/LST2Lua.pm:
inline the pcalls, but don't combine them, for a 10% overhead reduction. Omg. I just figured out why I haven't yet been able to combine them.
02:10
02:11 jimmy1980 left, clairvy left 02:13 clairvy joined 02:19 clairvy left 02:20 clairvy joined 02:21 clairvy left 02:25 clairvy joined 02:29 abercrombie joined, clairvy left 02:30 clairvy joined 02:34 worr left 02:52 wolfman2000 joined, clairvy left 02:54 clairvy joined 02:55 risou is now known as risou_awy, clairvy left 02:56 clairvy joined
dalek odel: 6ec1991 | diakopter++ | lua/compiler/Makefile:
makefile fix
02:57
03:10 Yu joined 03:12 Yu left 03:32 cooper left 03:34 cooper joined 03:38 clairvy left 03:39 clairvy joined, clairvy left 03:41 clairvy joined 03:43 colomon left 04:09 clairvy left 04:10 clairvy joined, clairvy left 04:12 clairvy joined, clairvy left, clairvy joined, clairvy left 04:14 clairvy joined 04:17 risou_awy is now known as risou 04:24 clairvy left, clairvy joined 04:26 clairvy left
dalek ecs: 59b0ea5 | util++ | S (6 files):
Fix typos.
04:26
04:27 clairvy joined 04:34 clairvy left, clairvy joined 04:35 clairvy left, clairvy joined 04:42 colomon joined 04:45 ethndbst left 04:57 Chillance left 05:01 vlixes joined, clairvy left, clairvy joined 05:13 orafu left, orafu joined 05:15 cognominal_ left 05:20 cognominal joined
dalek odel: ac8f6f4 | diakopter++ | / (47 files):
revert most of the last week's "progress"
05:25
05:25 clairvy left 05:30 clairvy joined
dalek odel: 442d8d3 | diakopter++ | lua/ (2 files):
remove use of LocalsOptimizer from try.bat; fix off-by-one in DispatchCache.lua (gives 60% reduction in runtime of decrement/compare microbenchmark)
05:35
diakopter jnthn++ (again) for the last one
05:37 xinming left
dalek odel: 37d0e04 | diakopter++ | lua/runtime/ (7 files):
more prep for integer index optimization
05:40
odel: 8e7c66f | diakopter++ | lua/ (2 files):
optimize try/catch/finally some; 40% overall speedup.
odel: bcc2021 | diakopter++ | lua/ (2 files):
reimplement try/catch/finally entirely.
sorear diakopter: ow. I sort of guessed something was up with the dispatch cache, how did it work? 05:42
I mean how did it not work :)
diakopter jnthn found the off-by-one
the cache would never get hit 05:44
05:44 clairvy left 05:45 clairvy joined 05:49 xinming joined
diakopter oh well, the rest of the "optimizations" for the week added only another 10% I guess. <bleh> 05:49
dalek odel: 0f6bf67 | jnthn++ | dotnet/runtime/Metamodel/KnowHOW/KnowHOWBootstrapper.cs:
Get KnowHOWs to publish a method cache. ~9% performance improvement in 'loop up to 10 million' benchmark.
05:55
odel: a74f3fa | diakopter++ | lua/runtime/Metamodel/KnowHOW/KnowHOWBootstrapper.lua:
Get KnowHOWs to publish a method cache. ~25% performance improvement in 'loop up to 1 thousand' benchmark. jnthn++
05:55 clairvy left
diakopter cherry-picking is fun, ish
05:55 clairvy joined
diakopter that's enough damage for one day/week. 05:57
&
05:57 donri joined 06:01 Sarten-X left 06:09 Sarten-X joined 06:18 clairvy left, clairvy joined 06:22 cooper left, clairvy left 06:23 clairvy joined 06:27 cooper joined 06:31 cooper left 06:38 clairvy left 06:39 clairvy joined 06:56 [particle]1 is now known as [particle], clairvy left 06:57 clairvy joined 06:59 daniel-s left 07:01 clairvy left 07:02 clairvy joined 07:07 GlitchMr joined 07:22 clairvy left 07:23 clairvy joined 07:32 clairvy left 07:38 clairvy joined
sorear o/ GlitchMr 07:39
GlitchMr Hello :)
07:41 vlixes left
moritz niecza: for 1, 2, 3, 4 -> $x, $y { say "$x|$y" } 07:42
p6eval niecza v11-22-gbebf7a0: OUTPUT«1|2␤3|4␤»
07:50 clairvy left
GlitchMr Why I cannot use "-" as filename? 07:51
07:51 clairvy joined
GlitchMr It was possible to do this in Perl5... 07:51
moritz is that a feature you actually want/need? 07:53
07:54 daniel-s joined 07:55 clairvy left
moritz on second thought, the DWIMming on '-' should probably be off by default, so that the defaults are safe 07:59
08:10 donri left 08:24 molaf left
sorear moritz: I agree 08:27
moritz: more generally, I would say that we should try to keep channels as transparent as possible to avoid suprises
08:28 PZt joined
sorear although, there is an argument to be made for providing easy access to $*IN from $*ARGFILES 08:30
I suspect that the need for this stuff has been eroded by shell and kernel improvements 08:31
1987: "myPerlProgram 'ps|'"
2010: "myPerlProgram <(ps)"
08:34 wk_ joined, wk left 09:13 daniel-s left 09:14 risou is now known as risou_awy
sorear hmm. I've spent some hours trying to design a very compact, random access format for unicode property data, but now I'm starting to wonder if random access is even relevant 09:20
the Perl 5 model is to store property data in a non-random-access format and convert it into swashes on first use
09:29 sayu joined
moritz what do you want to access by? codepoint? 09:29
sorear right 09:32
09:35 muixirt joined
muixirt Good morning! 09:35
rakudo: my Int $z; my Int $m; my Int $n; $z = $n*$m 09:36
p6eval rakudo ef4702: OUTPUT«Parameter '' requires an instance, but a type object was passed␤ in method Bridge at src/gen/CORE.setting:2239␤ in sub infix:<*> at src/gen/CORE.setting:2164␤ in block <anon> at /tmp/MwAIu4FbLs:1␤ in <anon> at /tmp/MwAIu4FbLs:1␤»
moritz knows how to fix that
muixirt moritz: yes? 09:37
moritz yes.
sorear .u FBF9
phenny U+FBF9 ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA ISOLATED FORM (ﯹ)
sorear "this is why you shouldn't hardcode limits in your 'na' property compressor" 09:38
moritz -> afk 09:40
aaaargh, mp_get_int only returns 32 bits, even on 64bit platforms 09:45
and it says so right in the docs 09:46
and here I wonder why unboxing an Int fails long before the platform limit is reached :(
muixirt moritz: did you mean you would fix my code snippet or rakudo? 09:47
rakudo: my int $z; my int $m; my int $n; $z = $n*$m 09:48
p6eval rakudo ef4702: ( no output )
09:52 lue left 09:53 sayu left
tadzik good morning 09:53
muixirt rakudo: my Int $z; my Int $m = 11; my Int $n = 12; $z = $n*$m; say $z 09:57
p6eval rakudo ef4702: OUTPUT«132␤»
muixirt rakudo: my Int $z = 0; my Int $m = 0; my Int $n = 0; for ^3 X ^4 -> $n,$m { $z = $n * $m } 09:59
p6eval rakudo ef4702: OUTPUT«Type check failed in assignment to '$z'; expected 'Int' but got 'Num'␤ in block <anon> at /tmp/i1D8n1bwwm:1␤ in method reify at src/gen/CORE.setting:4007␤ in method reify at src/gen/CORE.setting:3914␤ in method reify at src/gen/CORE.setting:3914␤ in method gim…
muixirt niecza: my Int $z = 0; my Int $m = 0; my Int $n = 0; for ^3 X ^4 -> $n,$m { $z = $n * $m } 10:00
p6eval niecza v11-22-gbebf7a0: OUTPUT«Potential difficulties:␤ $m is declared but not used at /tmp/U3pJ9xVu7M line 1:␤------> my Int $z = 0; my Int ⏏$m = 0; my Int $n = 0; for ^3 X ^4 -> $n␤ $n is declared but not used at /tmp/U3pJ9xVu7M line 1:␤------> my Int $z = 0;…
sorear it would be nifty if we could somehow cap warnings to X chars under p6eval 10:01
10:09 bacek_ joined, bacek_ is now known as bacek 10:16 Kivutarrr joined
muixirt sorear: so what was wrong with my code snippet? 10:29
sorear muixirt: what do you mean?
I can't even tell if it worked or not 10:30
there are so many warnings that the actual output is hiding behind the ...
the declarations of $m and $n are superfluous 10:31
muixirt niecza: my Int $z = 0; for ^3 X ^4 -> Int $n, Int $m { $z = $n * $m } 10:32
p6eval niecza v11-22-gbebf7a0: ( no output )
sorear you don't have any output commands in there
muixirt niecza: my Int $z = 0; for ^3 X ^4 -> Int $n, Int $m { $z += $n * $m }; say $z 10:33
p6eval niecza v11-22-gbebf7a0: OUTPUT«18␤»
sorear looks right to me 10:34
muixirt sorry for the mess 10:35
rakudo: my Int $z = 0; for ^3 X ^4 -> Int $n, Int $m { $z += $n * $m }; say $z 10:36
p6eval rakudo ef4702: OUTPUT«Nominal type check failed for parameter '$m'; expected Int but got Num instead␤ in block <anon> at /tmp/1rH_kYjSTq:1␤ in method reify at src/gen/CORE.setting:4007␤ in method reify at src/gen/CORE.setting:3914␤ in method reify at src/gen/CORE.setting:3914␤ in m…
muixirt hmm...
sorear rakudo: say 3.perl; say 3e0.perl 10:41
p6eval rakudo ef4702: OUTPUT«3␤3e0␤»
sorear rakudo: say (^4).perl
p6eval rakudo ef4702: OUTPUT«0..^4␤»
sorear rakudo: say [^4].perl
p6eval rakudo ef4702: OUTPUT«[0, 1, 2, 3]␤»
sorear rakudo: say [^3 X ^4].perl 10:42
p6eval rakudo ef4702: OUTPUT«[0, 0, 0, 1, 0, 2, 0, 3e0, 1, 0, 1, 1, 1, 2, 1, 3e0, 2e0, 0, 2e0, 1, 2e0, 2, 2e0, 3e0]␤»
sorear rakudo: say [1, 2 X 3, 4].perl
p6eval rakudo ef4702: OUTPUT«[1, 3, 1, 4, 2, 3, 2, 4]␤»
sorear rakudo: say [(^3) X (^4)].perl 10:43
p6eval rakudo ef4702: OUTPUT«[0, 0, 0, 1, 0, 2, 0, 3e0, 1, 0, 1, 1, 1, 2, 1, 3e0, 2e0, 0, 2e0, 1, 2e0, 2, 2e0, 3e0]␤»
sorear rakudo: my @a = ^4; say [@a X @a].perl
p6eval rakudo ef4702: OUTPUT«[0, 0, 0, 1, 0, 2, 0, 3, 1, 0, 1, 1, 1, 2, 1, 3, 2, 0, 2, 1, 2, 2, 2, 3, 3, 0, 3, 1, 3, 2, 3, 3]␤»
sorear nom's X is doing something improper with Range objects
10:46 mj41 joined
sorear rakudo: say (^4).flat.perl 10:48
p6eval rakudo ef4702: OUTPUT«(0, 1, 2, 3).list␤»
sorear rakudo: say [0 X ^2].perl 10:49
p6eval rakudo ef4702: OUTPUT«[0, 0, 0, 1e0]␤»
sorear rakudo: say [^2 X ^2].perl
p6eval rakudo ef4702: OUTPUT«[0, 0, 0, 1e0, 1e0, 0, 1e0, 1e0]␤»
sorear rakudo: (-> **@lol { say @lol.perl })((^2),(^2)) 10:50
p6eval rakudo ef4702: OUTPUT«LoL.new(0..^2, 0..^2)␤»
sorear rakudo: (-> **@lol { say @lol.elems; say @lol[0].perl; say @lol[0].flat.perl })((^2),(^2))
p6eval rakudo ef4702: OUTPUT«2␤0..^2␤(0, 1).list␤»
sorear rakudo: (-> **@lol { say @lol.elems; say @lol[0].perl; say (@lol[0].flat,).list.perl })((^2),(^2))
p6eval rakudo ef4702: OUTPUT«2␤0..^2␤(0, 1).list␤»
sorear I don't get what's up with X 10:51
nothing in this function appears to be capable of causing Numification
TiMBuS rakudo: say [0 Z ^2].perl 10:52
p6eval rakudo ef4702: OUTPUT«[0, 0]␤»
TiMBuS uh ok 10:53
rakudo: say [^2 Z ^2].perl
p6eval rakudo ef4702: OUTPUT«[0, 0, 1e0, 1e0]␤»
TiMBuS nothins up with X
rakudo: say [0 X, ^2].perl
p6eval rakudo ef4702: OUTPUT«[0, 0, 0, 1e0]␤»
TiMBuS rakudo: say [^2 , ^2].perl 10:54
p6eval rakudo ef4702: OUTPUT«[0, 1, 0, 1]␤»
TiMBuS i used to be able to read --target=pir code =/ 10:56
sorear rakudo: say [^1, ^1].perl
p6eval rakudo ef4702: OUTPUT«[0, 0]␤»
sorear rakudo: say (^5).reify 10:57
p6eval rakudo ef4702: OUTPUT«0 1 2 3 4␤»
sorear rakudo: say (^5).reify.perl
p6eval rakudo ef4702: OUTPUT«(0, 1, 2, 3, 4)␤»
sorear rakudo: say [(^5).reify].perl 10:58
p6eval rakudo ef4702: OUTPUT«[0, 1, 2, 3, 4]␤»
10:59 alvis left
sorear rakudo: say DUMP [1,2,3,4] 11:00
p6eval rakudo ef4702: OUTPUT«▶Array<-2175618081084395398>(:items(▶Mu), :nextiter(ListIter<-2175618081084395424>(:reified(▶Mu), :rest(RPA<-2175618081084395410>(Parcel<-2175618081084387225>(:storage(RPA<-2175618081084387204>(1, 2, 3, 4))))), :list(Array<-2175618081084395398>))))␤»
11:07 mj41 left 11:14 alvis joined 11:21 cognominal left, cognominal joined 11:29 MayDaniel joined 11:42 Kivutarrr left
dalek ecza: 18f7db0 | sorear++ | tools/digest-ucd-xml.pl:
Nth draft of a program to generate compact binary UCD dumps
11:43
sorear output files for the full 6.0.0 UCD are ~600kb, smaller than STD.dll but not as small as I'd like 11:44
1/6 size of original XML; 232k gzip 11:45
curiously the output actually compresses _better_ (by 1%) with gizp than bzip2. xz still wins out by a large margin (139k)
oh, read the wrong number for the first one, actually 483k uncompressed 11:47
sorear sleep
12:11 Psyche^ joined 12:15 Patterner left, Psyche^ is now known as Patterner
muixirt rakudo: my $string = "1234"; my $type = Num; my $num = $type($string) 12:20
p6eval rakudo ef4702: OUTPUT«Method 'postcircumfix:<( )>' not found for invocant of class 'Num'␤ in <anon> at src/gen/Metamodel.pm:3190␤ in block <anon> at /tmp/UEtvWwj7jI:1␤ in <anon> at /tmp/UEtvWwj7jI:1␤»
12:23 GlitchMr left 12:26 GlitchMr joined 12:29 brrt joined, brrt left, integral left 12:30 integral joined, integral left, integral joined
muixirt std: my $string = "1234"; my $type = Num; my $num = $type($string) 12:34
p6eval std be1f10e: OUTPUT«ok 00:01 122m␤» 12:35
12:35 fsergot joined
fsergot Hello! o/ 12:36
12:44 clairvy joined, dorlamm joined 12:59 dorlamm left 13:05 GlitchMr left 13:17 wk joined 13:18 clairvy left, wk_ left, clairvy joined 13:19 tomaw left 13:20 tomaw joined 13:22 tomaw left, tomaw joined 13:23 Kivutarrr joined 13:24 tokuhirom joined, tomaw left, clairvy left, integral left, PZt left, Sarten-X left, wolfman2000 left, simcop2387 left, Trashlord left, dju left, krakan left, HarryS left, mikemol left, DarthGandalf left, jrockway left, rhr left, tokuhirom3 left, nine left, SHODAN left, avar left, gfldex left, itz left, xinming left, abercrombie left, mantovani left, djanatyn left, c1sung left, shinobicl left, Maddingue left, tokuhirom left, wk left, bacek left, imarcusthis left, flussence left, pmichaud left, sorear left, ascent_ left, frettled left, dukeleto left, kthakore left, Gothmog_ left, jfried left, sivoais left, tty234 left, moritz left, ruoso left, wooden left, jerome_ left, dalek left, Exodist left, cotto left, PerlJam left, betterworld left, Helios left, jjore left, zostay_ left, fsergot left, alvis left, muixirt left, orafu left, [particle] left, benabik left, Yappoko___ left, pochi left, cognominal left, [Sec] left, jlaire left, jferrero left, Tene left, Mowah_ left, sunnavy left, pjcj left, uniejo_ left, s1n1 left, takesako left, mathw left, amkrankruleuen left, scottp left, bonsaikitten left, Juerd left, prammer left 13:25 szbalint left, _jaldhar left, carlin left, Ingis left, preflex left, bbkr left, p6eval left, mattp_ left, daemon left, spacebat left, hugme left, renormalist left, tadzik left, nebuchadnezzar left, BinGOs left, sjn left, cxreg left, BooK left, broquaint left, felipe left, mdxi left, yahooooo left, literal left, huf left, Lothar left, yath left, odoacre left, fhelmberger left, Woodi left, japhb left, mls left, zamolxes left, miso2217_ left, risou_awy left, jevin left, revdiablo left, Patterner left, localhost left, smash left, skangas left, geekosaur left, Khisanth left, Grrrr left, PacoLinux left, Util left, nsh_ left, shachaf left, breinbaas left, Bucciarati left, diakopter left, charsbar__ left, LoRe left, kranius left, eiro left, chitragupt left 13:28 szbalint joined, prammer joined, Juerd joined, bonsaikitten joined, scottp joined, amkrankruleuen joined, mathw joined, jlaire joined, takesako joined, s1n1 joined, uniejo_ joined, pochi joined, Yappoko___ joined, pjcj joined, sunnavy joined, [Sec] joined, Mowah_ joined, Tene joined, benabik joined, [particle] joined, jferrero joined, orafu joined, muixirt joined, alvis joined, cognominal joined, fsergot joined, _jaldhar joined, carlin joined, Ingis joined, preflex joined, bbkr joined, p6eval joined, mattp_ joined, daemon joined, spacebat joined, hugme joined, renormalist joined, tadzik joined, nebuchadnezzar joined, BinGOs joined, sjn joined, cxreg joined, BooK joined, felipe joined, broquaint joined, mdxi joined, hubbard.freenode.net sets mode: +vv p6eval hugme, yahooooo joined, literal joined, tokuhirom joined, wk joined, bacek joined, imarcusthis joined, flussence joined, pmichaud joined, sorear joined, ascent_ joined, frettled joined, dukeleto joined, kthakore joined, Gothmog_ joined, jfried joined, sivoais joined, Patterner joined, localhost joined, smash joined, skangas joined, geekosaur joined, Khisanth joined, Grrrr joined, PacoLinux joined, Util joined, nsh_ joined, shachaf joined, breinbaas joined, Bucciarati joined, diakopter joined, charsbar__ joined, LoRe joined, kranius joined, eiro joined, chitragupt joined, zostay_ joined, jjore joined, Helios joined, betterworld joined, PerlJam joined, cotto joined, Exodist joined, dalek joined, jerome_ joined, wooden joined, ruoso joined, moritz joined, tty234 joined, hubbard.freenode.net sets mode: +v dalek, xinming joined, abercrombie joined, mantovani joined, djanatyn joined, shinobicl joined, c1sung joined, Maddingue joined, huf joined, Lothar joined, yath joined, odoacre joined, fhelmberger joined, Woodi joined, japhb joined, mls joined, zamolxes joined, miso2217_ joined, risou_awy joined, jevin joined, revdiablo joined 13:30 WAATSDK joined, clairvy joined, integral joined, PZt joined, Sarten-X joined, wolfman2000 joined, simcop2387 joined, Trashlord joined, dju joined, krakan joined, HarryS joined, mikemol joined, DarthGandalf joined, jrockway joined, rhr joined, tokuhirom3 joined, nine joined, SHODAN joined, avar joined, gfldex joined, itz joined 13:31 HarryS left 13:32 HarryS joined 13:35 sjn left, clairvy left, sjn joined 13:36 simcop2387 left, clairvy joined 13:37 simcop2387 joined, clairvy left 13:38 clairvy joined 13:41 whiteknight joined 13:42 whiteknight is now known as Guest97173
dalek p/bigint: 506177f | moritz++ | src/ops/nqp_bigint.ops:
make nqp::isbig_I consistent with set_int and get_int

turns out that set_int and get_int only support 32bit, even on 64bit platforms. While the better fix would be to make them work on 64 bit width, this approach change nqp::isbig_i to return 1 if the stored int takes more than 32bit.
13:43
13:43 clairvy left
13:44 clairvy joined, clairvy left, simcop2387 left, integral left, PZt left, Sarten-X left, wolfman2000 left, Trashlord left, dju left, krakan left, mikemol left, DarthGandalf left, jrockway left, rhr left, tokuhirom3 left, nine left, SHODAN left, avar left, gfldex left, itz left, Patterner left, localhost left, smash left, skangas left, geekosaur left, Khisanth left, Grrrr left, PacoLinux left, Util left, nsh_ left, shachaf left, breinbaas left, Bucciarati left, diakopter left, charsbar__ left, LoRe left, kranius left, eiro left, chitragupt left, sjn left, nebuchadnezzar left, BinGOs left, cxreg left, BooK left, broquaint left, felipe left, mdxi left, yahooooo left, literal left, tokuhirom left, wk left, bacek left, imarcusthis left, flussence left, pmichaud left, sorear left, ascent_ left, frettled left, dukeleto left, kthakore left, Gothmog_ left, jfried left, sivoais left, Guest97173 left, _jaldhar left, carlin left, Ingis left, preflex left, bbkr left, p6eval left, mattp_ left, daemon left, spacebat left, hugme left, renormalist left, tadzik left, fsergot left, alvis left, muixirt left, orafu left, [particle] left, benabik left, Yappoko___ left, pochi left, cognominal left, [Sec] left, jlaire left, jferrero left, Tene left, Mowah_ left, sunnavy left, pjcj left, uniejo_ left, s1n1 left, takesako left, mathw left, amkrankruleuen left, scottp left, bonsaikitten left, Juerd left, prammer left, szbalint left, tty234 left, moritz left, ruoso left, wooden left, jerome_ left, dalek left, Exodist left, cotto left, PerlJam left, betterworld left, Helios left, jjore left, zostay_ left 13:45 broquaint joined, shinobicl left, Maddingue left, BooK joined, nebuchadnezzar joined, tty234 joined, moritz joined, ruoso joined, wooden joined, jerome_ joined, dalek joined, Exodist joined, cotto joined, PerlJam joined, betterworld joined, Helios joined, jjore joined, zostay_ joined, hubbard.freenode.net sets mode: +v dalek 13:47 yahooooo joined, Maddingue joined, cxreg joined, sjn joined, mdxi joined, clairvy joined, Guest97173 joined, simcop2387 joined, itz joined, gfldex joined, avar joined, SHODAN joined, nine joined, tokuhirom3 joined, rhr joined, jrockway joined, DarthGandalf joined, mikemol joined, krakan joined, dju joined, Trashlord joined, wolfman2000 joined, Sarten-X joined, PZt joined, integral joined, WAATSDK joined, chitragupt joined, eiro joined, kranius joined, LoRe joined, charsbar__ joined, diakopter joined, Bucciarati joined, breinbaas joined, shachaf joined, nsh_ joined, Util joined, PacoLinux joined, Grrrr joined, Khisanth joined, geekosaur joined, skangas joined, smash joined, localhost joined, Patterner joined, sivoais joined, jfried joined, Gothmog_ joined, kthakore joined, dukeleto joined, frettled joined, ascent_ joined, sorear joined, pmichaud joined, flussence joined, imarcusthis joined, bacek joined, wk joined, tokuhirom joined, tadzik joined, renormalist joined, hugme joined, spacebat joined, daemon joined, mattp_ joined, p6eval joined, bbkr joined, preflex joined, Ingis joined, carlin joined, _jaldhar joined, fsergot joined, cognominal joined, alvis joined, orafu joined, jferrero joined, [particle] joined, benabik joined, Tene joined, Mowah_ joined, [Sec] joined, sunnavy joined, pjcj joined, Yappoko___ joined, pochi joined, uniejo_ joined, s1n1 joined, takesako joined, jlaire joined, mathw joined, amkrankruleuen joined, scottp joined, bonsaikitten joined, hubbard.freenode.net sets mode: +vv hugme p6eval, Juerd joined, prammer joined, szbalint joined, clairvy left 13:48 clairvy joined, clairvy left, clairvy joined 13:49 clairvy left 13:50 literal joined, clairvy joined 13:53 BinGOs joined, clairvy left, clairvy joined 14:19 mj41 joined 14:22 am0c left 14:26 wk_ joined 14:28 wk left 14:32 buubot_backup left 14:37 felipe joined 14:40 clairvy left 14:41 clairvy joined 14:44 tokuhirom left, clairvy left 14:45 clairvy joined 14:47 tokuhirom joined 14:51 buubot_backup joined, clairvy left, clairvy joined, clairvy left 14:53 clairvy joined, clairvy left 14:54 clairvy joined 14:57 clairvy left, clairvy joined 15:10 mkramer joined, clairvy left, mkramer left 15:11 clairvy joined, mj41 left 15:13 clairvy left 15:14 tokuhirom left, clairvy joined 15:15 Trashlord left 15:17 bluescreen10 joined, clairvy left 15:18 clairvy joined, clairvy left 15:19 clairvy joined 15:37 wk joined, wk_ left 15:41 jlaire left, skangas left 15:44 jlaire joined 15:46 skangas_ joined 15:48 Chillance joined 15:56 clairvy left 15:57 skangas__ joined, clairvy joined 15:58 skangas_ left 15:59 clairvy left 16:05 clairvy joined 16:11 clairvy left 16:12 clairvy joined, clairvy left 16:13 clairvy joined 16:14 daniel-s joined, clairvy left 16:23 clairvy joined 16:29 orafu left 16:32 orafu joined, clairvy left 16:34 silug left 16:39 clairvy joined 16:42 clairvy left 16:47 dual joined 16:53 clairvy joined 16:58 molaf joined 16:59 risou_awy is now known as risou, clairvy left 17:01 daniel-s left 17:04 tokuhirom joined 17:07 am0c joined, clairvy joined 17:15 orafu left 17:17 clairvy left, orafu joined 17:20 clairvy joined 17:27 cognominal left, clairvy left 17:28 clairvy joined 17:31 orafu left, clairvy left, orafu joined 17:32 clairvy joined, vmspb joined, clairvy left 17:33 clairvy joined
tadzik 'evening 17:37
colomon o/ 17:39
17:44 bluescreen100 joined 17:50 bluescreen100 left
moritz \o 17:50
japhb o/ #perl6 17:51
17:52 bluescreen10 left 17:55 wk left 17:58 tokuhirom left
tadzik o/ 18:01
18:04 PacoLinux_ joined 18:11 cooper joined 18:14 snearch joined, clairvy left, clairvy joined
dalek p/bigint: bee86c9 | moritz++ | / (6 files):
add platform dependent implementation of set_int and get_int; adjust nqp::isbig_I accordingly
18:17
moritz could somebody on a 32bit machine please build latest nqp branch bigint run this script: gist.github.com/1362443 and paste the output for me? 18:20
18:20 clairvy left 18:21 cooper left, clairvy joined, wk joined, clairvy left 18:22 clairvy joined 18:27 cooper joined, clairvy left, clairvy joined
sorear good * #perl6 18:36
18:37 clairvy left 18:38 clairvy joined
tadzik hi sorear 18:38
18:48 cooper left 18:50 wk left 18:53 simcop2387 left, clairvy left, clairvy joined 18:55 cooper joined
japhb moritz, have you had any takers yet? 18:57
18:58 simcop2387 joined
japhb I'll give it a try anyway, I've got a 32-bit box here ... it will just take a while to build. 18:59
19:15 mberends joined
moritz no takers yet 19:17
japhb Incoming
Er, supposedly.
tadzik no 32bits here :/
japhb Hmmm. Appears nopaste does not like me today
Ah, could only paste into MAGnet. 19:18
19:18 fsergot left
japhb moritz, the paste should be on #parrot now. 19:18
moritz japhb: thanks. Can you please also change $i to 28 (instead of 30) and paste the first 6 lines of the output then? 19:20
19:27 cooper left
japhb moritz, sorry, got pulled away for a bit 19:27
OK, will do.
19:29 wolfman2000 left
japhb moritz, OK, paste (of full output, sorry, it's easiest) is in #parrot 19:30
moritz japhb: thanks again
japhb moritz, np, hope it helps
moritz japhb: it does. Unfortunately it tells me that my latest patch is broken on 32bit :/ 19:31
japhb Oh dear.
Ah, wait.
May not be your fault.
I built from rakudo, and it pulled nqp. May not have gotten latest. 19:32
Hold on
moritz the 1 is the output from nqp::isbig_I 19:33
which checks if an integer is too large to unbox to a parrot INTVAL 19:34
when it returns 1 even if it shouldn't then it makes the codgen inefficient
when it returns 0 even if it shouldn't then we lose precision 19:35
japhb :-(
japhb is rebuilding NQP
Ughh, I hate building on slow hardware 19:36
tadzik (don't listen to this, dear laptop! You aren't slow, I hate building anyway)
19:41 Moukeddar joined 19:42 fsergot joined
japhb BTW, that build didn't work: trying again with a fresh configure and --gen-parrot, just in case something's hinky here 19:42
19:43 wk joined
japhb OK, after all that: no change, sorry moritz. 19:53
moritz, anything else you want me to try? 19:54
19:57 Kivutarrr left
moritz is out of ideas for the moment 19:59
20:02 MayDaniel left
snearch Hi moritz, just ran your test on 32 Bit nopaste.info/f77fe95f71.html 20:04
20:04 anazawa joined
moritz snearch: thanks 20:05
moritz swears loudly 20:07
diakopter btw, latest parrot regresses on parrot-nqp; after 3.9.0 there was a change that made parrot-nqp generate wrong pir for the *.pm in nqplua/nqpclr 20:09
I didn't bother reporting it to #parrot since all my other bug reports have gone ignored
20:14 ksi joined
benabik diakopter: Wrong how? 20:18
diakopter I got a "could not call method on variable because it's Undef 20:19
"
or something like that
downgrading to 3.6.0 (package in ubuntu) fixed it
benabik Between 3.6 and 3.9, then?
diakopter or after 3.9 20:20
I've used 3.9 on windows and it didn't have the problem
I was using parrot Head
on ubuntu
before downgrading to 3.6.0
benabik So probably 3.9+, but possibly anywhere since 3.6. Fun. 20:21
Where is nqplua?
diakopter diakopter/6model.git
benabik diakopter: I've got a bit of spare time between studying, I'll see what I can track down. 20:22
diakopter I'll see if I can reproduce it with 3.9 on ubuntu
3.9.0 (built from source) didn't have the problem 20:27
sigh. now I can't reproduce it with the same parrot checkout I had the problem with earlier. 20:28
benabik :-(
20:34 wolfman2000 joined 20:38 mj41 joined 20:46 ethndbst joined, ethndbst left, ethndbst joined 20:48 abercrombie left 20:54 Guest97173 left 21:17 PacoLinux left, PacoLinux_ is now known as PacoLinux 21:18 MayDaniel joined 21:39 vmspb left, ethndbst left 21:45 Mowah_ left 21:46 ethndbst joined, ethndbst left, ethndbst joined 21:54 ethndbst left 21:55 ethndbst joined, ethndbst left, ethndbst joined 21:57 wolfman2000 left 22:05 anazawa left 22:08 Moukeddar left 22:25 mj41 left 22:34 mberends left 22:36 MayDaniel left 22:41 Trashlord joined 23:04 Hello joined 23:05 ksi left 23:06 imarcusthis left 23:07 dukeleto left, simcop2387 left 23:08 flussence left, imarcusthis joined, flussence joined 23:10 simcop2387 joined 23:26 aloha joined 23:30 Hello left 23:32 cooper joined, tokuhirom joined 23:48 simcop2387 left, bacek left 23:49 bacek joined, pmichaud left, Gothmog_ left 23:50 pmichaud joined, Gothmog_ joined, sorear left, sorear joined