Parrot 4.7.0 "Hispaniolan" | parrot.org | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 4 September 2012.
rurban Not racy. I suspect stdin.readline has a problem on windows. 00:19
maybe we need to pass \\r\\n to the input string to be detected... 00:20
msg whiteknight io_cleanup added an interesting mix: stdin.readline on windows adds \\r\\n to the read string even if the input ended with \\n only 00:28
aloha OK. I'll deliver the message.
dalek rrot/threads: f77643e | rurban++ | t/src/threads_io.t:
fix t/src/threads_io.t for windows

stdin.readline() now returns input\\r\\n on windows.
00:29
rurban windows msvc smoked threads fine. Even t/perl/Parrot_IO.t 00:41
solaris also smoked threads fine 01:11
01:19 woosley joined 01:35 kid51 joined
dalek rrot/threads: 59e749c | jkeenan++ | / (72 files):
Merge commit 'origin/master' into threads
01:35
rrot/threads: 78c2dc9 | jkeenan++ | /:
Merge branch 'threads' of git@github.com:parrot/parrot into threads
rrot/threads: a704331 | jkeenan++ | / (6 files):
Merge branch 'threads' of git@github.com:parrot/parrot into threads
rrot/threads: 119f218 | jkeenan++ | / (30 files):
Merge branch 'threads' of git@github.com:parrot/parrot into threads
rrot/threads: c15424b | jkeenan++ | src/platform/generic/num_cpus.c:
[codingstd] No trailing whitespace.
rrot/threads: 7616024 | jkeenan++ | src/pmc/task.pmc:
[codingstd] No hard tabs.
rrot/threads: 696da6a | jkeenan++ | src/platform/generic/num_cpus.c:
[codingstd] No space between C function name and following open parenthesis.
rrot/threads: 15ee724 | jkeenan++ | src/platform/win32/num_cpus.c:
[codingstd] Follow C-indent standard inside #ifdef.
rrot/threads: 1af86fa | jkeenan++ | src/platform/win32/num_cpus.c:
[codingstd] Correct documentation of C function.
rrot/threads: 8d7b9a8 | jkeenan++ | frontend/parrot2/main.c:
[codingstd] No space after opening parenthesis.
rrot: c65d63a | rurban++ | t/op/sprintf.t:
[GH #832] TODO t/op/sprintf.t 217 on mingw (%+u prints +)
02:18
rrot: 00f8868 | rurban++ | t/op/string.t:
[GH #832] skip t/op/string.t 196,197 on mingw (%+u prints +)
02:29
rurban thanks jkeenan++ 02:31
dalek rrot/rurban/va_arg_print_n: 1908e61 | rurban++ | config/gen/config_h/feature_h.in:
[cage] ident #define properly
02:33
rrot/rurban/va_arg_print_n: 4902b3a | rurban++ | src/pmc/float.pmc:
use PARROT_VA_PTR_FLOATVAL in float.pmc
rrot: 169598d | rurban++ | t/perl/Parrot_IO.t:
[codingstd] t/perl/Parrot_IO.t copyright year
rrot/threads: c65d63a | rurban++ | t/op/sprintf.t:
[GH #832] TODO t/op/sprintf.t 217 on mingw (%+u prints +)
02:34
rrot/threads: 00f8868 | rurban++ | t/op/string.t:
[GH #832] skip t/op/string.t 196,197 on mingw (%+u prints +)
rrot/threads: 169598d | rurban++ | t/perl/Parrot_IO.t:
[codingstd] t/perl/Parrot_IO.t copyright year
rrot/threads: 4739ca8 | rurban++ | t/ (3 files):
Merge remote-tracking branch 'origin/master' into threads
03:06 travis-ci joined
travis-ci [travis-ci] parrot/parrot#557 (master - c65d63a : Reini Urban): The build is pending. 03:06
[travis-ci] Change view : github.com/parrot/parrot/compare/8...5d63a8031f
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2473521
03:06 travis-ci left
benabik "build is pending" is not a useful message. 03:10
03:26 travis-ci joined
travis-ci [travis-ci] parrot/parrot#558 (master - 00f8868 : Reini Urban): The build is pending. 03:26
[travis-ci] Change view : github.com/parrot/parrot/compare/c...f8868e727e
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2473614
03:26 travis-ci left 04:54 pjcj joined 05:28 alvis joined 05:54 contingencyplan joined 06:14 jsut joined 07:05 l3l1p joined 07:13 brrt joined 07:54 lucian joined 08:25 Psyche^ joined 09:05 schmooster joined 11:59 JimmyZ joined 13:01 PacoAir joined 13:26 PerlJam joined 14:31 benabik joined 15:27 dmalcolm joined
dalek rrot/rurban/broken-sprintf-uplus-gh832: 1e44cc1 | rurban++ | / (4 files):
[GH #832] Probe for broken snprintf %+..u in mingw and fix it.

snprintf %+u fails on mingw only. t/op/sprintf.t test 217 and t/op/string.t: 196, 198 (now 197) The + is always printed, but should not.
As it works okay in win32 (with msvcrt.ll) and cygwin (cygwin1.dll) on the same system, I assumed it's mingw only snprintf/sprintf wrapper issue.
Probe in auto:snprintf for PARROT_HAS_BROKEN_SPRINTF_UPLUS and skip the '+' in %+..u in spf_render.c.
But the probe is not yet correct. It passes on mingw, but should fail.
15:28
rrot/rurban/preload-config-steps-gh833: be71d13 | rurban++ | Configure.pl:
[GH #833] preload configure steps

Term::ReadLine does not work on my mingw, debugging configure steps is a pain. E.g. "b postpone auto::snprintf::runstep" does not set a breakpoint when debugging Configure.pl
I added a preloading of all steps into early Configure.pl so that breakpoints can easily be set. The old handling is not changed.
16:26
16:27 benabik joined
dalek rrot: 710de59 | rurban++ | .travis.yml:
.travis.yml: smoke threads branch also
16:35
kudo/nom: ec413ef | jnthn++ | src/Perl6/ModuleLoader.pm:
Fix busted GLOBAL preservation code.

Fixes a bug whereby require would clobber GLOBAL, discovered by sirrobert++.
16:38
rrot: f1a4c7e | rurban++ | .travis.yml:
.travis.yml: smoke more branches with less configurations

Add smoke-me branches and threads, but reduce the configurations a bit. Shuffle optimize and g++ a bit. 1-2 * 9 vs. now 3-4 * 5
16:42
16:51 travis-ci joined
travis-ci [travis-ci] parrot/parrot#560 (master - 710de59 : Reini Urban): The build was broken. 16:51
[travis-ci] Change view : github.com/parrot/parrot/compare/1...0de59bae04
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2481420
16:51 travis-ci left 17:01 tuxit joined 17:04 travis-ci joined
travis-ci [travis-ci] parrot/parrot#561 (master - f1a4c7e : Reini Urban): The build was fixed. 17:04
[travis-ci] Change view : github.com/parrot/parrot/compare/7...a4c7ece17c
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2481466
17:04 travis-ci left
rurban int3 trap is not supported on the solaris gcc (but triggered) 18:10
18:19 UncleFester6 joined
dalek rrot: 379faba | rurban++ | src/ops/ (2 files):
Fix solaris gcc build: int3 trap not supported

Apparently the solaris 10 gcc assembler does not define the int3 (0xCC) opcode. Disable it for solaris, i.e defined(sun). gcc (GCC) 4.5.2 SunOS solaris 5.11 11.0 i86pc i386 i86pc
   "<stdin>", line 127437 : Illegal mnemonic
   Near line: " int3"
   "<stdin>", line 127437 : Syntax error
   Near line: " int3"
18:20
UncleFester6 Anyone know how to get an nci call to return a bytebuffer or convert a ptr pmc returned from an nci call to a bytebuffer? 18:21
rurban I cannot close trac.parrot.org/parrot/ticket/579 (fixed by 379faba3e871ea9ff0a57611fa4a3bad91b9a6be) 18:23
Coke rurban: we're not using trac anymore. 18:25
we're using github.
rurban But I want to close this old ticket.
Coke we're not using that system. no updates. 18:26
close github.com/parrot/parrot/issues/583 instead.
rurban I ran into the same problem and just fixed it.
ssl cert for *.parrot.org expired at 9/5/11 cannot we extend this? We can pay for it. 18:27
Coke ssl cert handled by the board. particle was the last person I know that touched it. 18:28
rurban chrome does not let me in and firefox behaves weird on trac 18:29
I'll try MSIE :)
Coke "don't use trac"
it's dead. we've moved on.
all the open tickets were copied to github. 18:30
18:31 travis-ci joined
travis-ci [travis-ci] parrot/parrot#562 (master - 379faba : Reini Urban): The build was broken. 18:31
[travis-ci] Change view : github.com/parrot/parrot/compare/f...9faba3e871
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2482694
18:31 travis-ci left
rurban yep. found it. #583 18:32
Coke rurban++ 18:33
rurban I clean up now some old tickets. I have lots of branches to be merged. Who decides that. No review? 18:34
rurban/preload-config-steps-gh833 rurban/strip-install_config-gh824 native_pbc 18:35
dalek kudo/nom: 43ceae0 | jnthn++ | src/Perl6/ModuleLoader.pm:
Also fix setting loading; PerlJam++.
18:37
PerlJam rurban: I don't have an answer, but my first inclination would be to ping whiteknight about it.
Coke I would send an email to the list asking for review. 18:40
perhaps a separate thread per email? if there's a ticket, link back to that also
rurban solaris gcc build fail to relocate the generated blib/lib/libparrot.so strange, linking static works 18:45
19:04 alester joined
rurban back to sun cc 64bit. this just works 19:10
19:16 brrt joined 19:21 brrt left
dalek p/kill-nqpattr: 87eb6c8 | jnthn++ | src/core/NQPRoutine.pm:
Stub in an NQPRegex type.

This will serve as the code object for regexes, rules and tokens, and will come to hold the caps, NFA, etc.
19:22
p/kill-nqpattr: b24e129 | jnthn++ | src/NQP/World.pm:
Enable create_code to creates code object types besides NQPRoutine.
p/kill-nqpattr: 024c643 | jnthn++ | src/NQP/Actions.pm:
Start creating regexes as NQPRegex.
kudo/nom: 690dadc | jnthn++ | src/core/Set.pm:
Fix 'say KeySet'.
19:25
nine StartSSL offers simple domain certificates for free (valid 1 year_ 19:44
tadzik nine! \\o/ 19:48
nine hi tadzik!
tadzik threads now work nicely on parrot-nqp 19:50
nine groovy :)
tadzik not on nqp though
I'm yet to bug someone competent to look at it :)
19:50 UncleFester6 left
tadzik ...you're not volunteering? :P 20:28
nine a bit hesitant....but if you give me details I might have a look at it ;) 20:39
tadzik I think it may be something related to custom lexpads
I should have a backtrace somewhere
20:40 benabik joined
tadzik gist.github.com/3739650 with all the goodies from Parrot debugging build 20:41
but I'm falling asleep now :) goodnight #parrot 20:42
nine Good night 20:45
rurban nine: are you gone? 21:07
21:10 alvis joined 21:21 sivoais joined
nine not yet 21:23
rurban: but almost 21:24
rurban I juist wanted to know if could move threads_array to the heap? malloc with user-defined 4000 numthreads e.g. 21:25
Looks sane to me.
nine rurban: as long as the threads_array is in no way managed by some GC. Wasted a whole night back then trying to make this work... 21:30
rurban Ok, will keep an eye on this. I upped MAX_THREADS now to 16000
nine wow 21:31
rurban examples/threads/task.pir worked fine with that.
sorear is it smart enough to only allocate memory for the threads that are used, or is there an automatic MAX_THREADS * N byte allocation? 21:32
rurban currently we preallocate all needed threads in advance. it was useful for 8 threads. with massive parallel threads we might need to realloc, but I doubt that moving the whole structure is good. 21:41
oops, another logical error of mine 21:42
dalek rrot/threads: 97e5370 | rurban++ | src/thread.c:
Fix logical set_num_threads bug. Check the input

We need to check the input. num_threads is required to be -1 in this state.
21:44
rurban hmm, where do we stop existing threads before destruction? 21:54
22:18 whiteknight joined
rurban shouldn't we kill all tasks when we kill the interp 22:19
whiteknight good evening, #parrot 22:27
22:33 lucian joined
chekkaa The test Drupal 6 site is up: www.parrot.org:8082/ 23:07
If everything looks all right to you guys, let me know and I can push it to production 23:08
benabik Huh Seems to have lost the "create new content" on the right side. 23:11
Also, the expired SSL cert. :-(
rurban It's SSL. Does it need to be SSL? 23:13
chekkaa rurban: No, it's just how the test site was set up 23:15
rurban good. we have a little cert problem. chrome even refuses to login 23:17
chekkaa I can turn the SSL off for the test site
it was only turned on for some debugging earlier
benabik I just logged in with chrome. 23:18
It complained first, but could get on. :-)
chekkaa benabik: the "Create new content" link is back 23:40
benabik chekkaa: Awesome. 23:41
Thanks.
chekkaa I also noticed that the page numbers at the bottom are spaced badly
I'll try and fix that too
anything else need looking at?
benabik The sidebars on /resources.html and /foundation look funny 23:43
And we need to update our list of developer resources, but I don't think that's your job.
rurban I will be off the next two days, meeting with ingy and will in austin discussing the p5 optimizing compiler 23:45