#parrot Parrot 4.11.0 "[All together - Happy Birthday Lovebird]" --with-threads | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 3 January 2013.
dalek rrot/rurban/sanitycheck_install-gh910: d96a652 | rurban++ | / (3 files):
[GH #910] add Parrot::Install::sanitycheck_install

Check for some common possibly ungenerated configure and make targets in MANIFEST.generated and die with the appropriate error message. Suggest make clean or make reconfig then.
00:14
00:21 awwaiid_ joined 01:04 kid51 joined 01:18 contingencyplan joined 01:46 contingencyplan joined
dalek rrot/rurban/manifest-installed-gh899: af4815b | rurban++ | / (5 files):
[GH #899] Install generated MANIFESTs for all installed files

Into datadir, as MANIFEST, MANIFEST.dev and MANIFEST.doc
02:12
02:21 kid51_ joined
dalek p: 5f89700 | rurban++ | .gitignore:
add MANIFEST.generated to .gitignore

This is generated by parrot > 4.11
02:37
03:17 DarthGandalf joined
DarthGandalf Hello, why github.com/parrot/parrot/blob/mast.../cotorra.c doesn't use "parrot/api.h", but some other functions? 03:21
04:00 MikeFair joined 06:12 Reini joined 06:47 Reini joined 07:53 ggherdov joined 08:18 Reini joined 09:18 Reini joined 09:42 Psyche^ joined 10:08 PacoAir joined 11:03 contingencyplan joined 13:14 Reini joined
Reini DarthGandalf: Yes you are right. Inconsistent example. 13:17
13:57 kid51 joined
dalek rrot: bafa68c | rurban++ | docs/deprecations/deprecations.pod:
deprecations: change . in libpath to moderate impact, mention nqp, rakudo

Also prefer -L./ and -X./ over env variables. See lists.parrot.org/pipermail/parrot-d...07317.html
14:02
DarthGandalf Reini: so parrot doesn't look quite ready for me to embed it yet :( No docs how to call functions, examples of embedding are outdated... 14:07
dalek rrot: 294d6fb | rurban++ | docs/deprecations/deprecations.pod:
deprecations: change . in libpath to high

Everybody needs to change their builds and tests. build systems need to change their build and tests to favor their new libraries over already installed ones, to use absolute paths or add -L./ -X./.
14:08
Reini DarthGandalf: yeah, also the tests still use the old non-api. 14:09
we'd need someone to rewrite the samples and tests 14:13
14:15 travis-ci joined
travis-ci [travis-ci] parrot/parrot#774 (master - bafa68c : Reini Urban): The build was fixed. 14:15
[travis-ci] Change view : github.com/parrot/parrot/compare/6...fa68c19b58
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/3985247
14:15 travis-ci left
kid51 Reini: This change in libpath appears to be a moderately big deal. Perhaps a blog post about the rationale for it would be good. 14:15
I myself don't know enough to have a strong opinion about it, but if users are expressing concerns, we should address them. 14:16
Reini Sure. I think now it will have a big impact 14:17
But I need to get my feet wet first, trying it out, on some other languages.
kid51 good 14:18
14:25 travis-ci joined
travis-ci [travis-ci] parrot/parrot#775 (master - 294d6fb : Reini Urban): The build was fixed. 14:25
[travis-ci] Change view : github.com/parrot/parrot/compare/b...4d6fb9743c
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/3985289
14:25 travis-ci left 16:50 kid51_ joined
mrshu hey everyone 17:05
I have a totally noob question
Let's say I've got an FixedIntegerArray full of random numbers 17:06
how do I call rand function on them?
sry, I meant how do I sort them?
moritz with sort, I'd assume? 17:16
FixedIntegerArray has a method called sort
mrshu right 17:17
I'm totoally noobish with PIR
could you give me a hint here?
how to call it?
the array is $P0
moritz $P0.'sort'() 17:21
mrshu oh 17:24
thank you
I'm so stupid
17:25 kid51 joined
moritz not knowing something is not at the same as being stupid 17:27
mrshu agreed, but if I've read the docs proprerly I wouldn't have to bother you 17:28
I already tried $P0.sort()
dalek kudo/nom: 60c572c | moritz++ | src/Perl6/ (2 files):
crude implementation of "require ::($modulename) <importlist>

only works for a single chunk, e.g. "require Test::($name) <&symbols>" does not work
18:30
rrot/mrshu/simple_sort_benchmark-gh175: eaecde7 | mr.Shu++ | examples/benchmarks/sort.pir:
added a simple sort benchmark
18:32
rrot/mrshu/simple_sort_benchmark-gh175: 45be9e7 | mr.Shu++ | examples/benchmarks/sort.pir:
added command line option
rrot/mrshu/simple_sort_benchmark-gh175: 1248f2c | mr.Shu++ | examples/benchmarks/sort.pir:
updated docs
rrot/mrshu/simple_sort_benchmark-gh175: 7183b5b | rurban++ | examples/benchmarks/sort.pir:
Merge remote-tracking branch 'mrshu/simple_sort_benchmark' into mrshu/simple_sort_benchmark-gh917
Reini mrshu: I renamed your branch to mrshu/simple_sort_benchmark-gh175 and added it to parrot 18:38
dalek rrot/mrshu/simple_sort_benchmark-gh175: 2dbfd6a | dukeleto++ | MANIFEST:
Run tools/dev/mk_manifest_and_skip.pl so that sort.pir gets added to the manifest
19:06
dukeleto mrshu: thanks for your pull request! 19:15
mrshu: i would have thought that $P0.sort() would work too, but perhaps I haven't had enough coffee
A PHP VM written in PHP: github.com/ircmaxell/PHPPHP (what could go wrong?) I laughed out loud at the image in their README 19:16
moritz dukeleto: $P0.sort() looks for a variable named 'sort', looks it up, and takes the content as the method name
dukeleto moritz: right. Bareword method names are not allowed in PIR 19:21
19:27 Reini joined
dalek rrot/rurban/socket-gh909: daccc68 | rurban++ | src/pmc/socket.pmc:
[spec] Update the socket doc for read and recv, to clarify our changed POSIX like behaviour

Before the high-level read() returned the wanted amount of bytes. Now it behaves the same as recv(). We need to add a setsockopt(optname, optvalue) method.
19:48
kudo/nom: e67fa90 | moritz++ | docs/running.pod:
document environment variables

patch by flussence++
20:14
21:02 particle joined 21:14 Reini joined
dalek rrot/rurban/sockopt-gh909: 60d36f8 | rurban++ | / (5 files):
[GH #909] Implement Socket.{get,set}sockopt methods
22:09
22:18 Reini joined 22:25 contingencyplan joined