We're pleased to announce that we've selected Phil Crow as the recipient of the
second Perl 6 microgrant. Phil is the hacker behind the Java::Swing module
which allows Perl programmers to put a Java Swing GUI on their application
without writing any Java and he'll be using this knowledge to
On 7/14/06, Tels [EMAIL PROTECTED] wrote:
afte seeing the recent discussion about CPANDB and CPAN::Index, I don't
think I want to work on that project anymore for two reasons:
Hey Tels,
Please ignore the other people in the thread. Instead spend a little
bit of time to do something simple
On 6/28/06, Gabor Szabo [EMAIL PROTECTED] wrote:
As Test::Expect was just mentioned here, I would like to know why Expect and
thus Test::Expect does NOT work on Windows?
Well, Test::Expect is a wrapper. Test::Expect works on Windows if and
only if Expect works on Windows. It has this comment,
On 6/17/06, Gabor Szabo [EMAIL PROTECTED] wrote:
http://www.szabgab.com/perl_in_test_automation.html
This is really neat. You might want to add a link to Test::Expect too,
which makes it almost to easy to test terminal-based programs.
Thanks again! Leon
it. Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Look out! Behind you!
Leon Brocard sent the following bits through the ether:
http://astray.com/tmp/phalanx.html
This now mentions core modules and notices Mandrake contrib
(Module-Packaged 0.79 just hit CPAN), so Mandrake jumps from 28 - 87.
Leon
--
Leon Brocard.http://www.astray.com
in the source of http://qa.perl.org/phalanx/100/)
There might be bugs, patches welcome, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... A living example of Artificial Intelligence
Johan Vromans sent the following bits through the ether:
Definitely. I'm quite sure Getopt::Long is in _every_ distribution...
Of course, this only notices individually-packaged CPAN dists (ignores
the core).
Leon
--
Leon Brocard.http://www.astray.com/
scribot
, it is
your module ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... But my little voice TOLD me to do it!
format. A module
on CPAN, perhaps.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... That must be wonderful! I don't understand it at all
Dan Sugalski sent the following bits through the ether:
I'd like everyone to give a welcome to Patrick Michaud, who's
volunteered to officially take charge of getting the Perl 6 compiler
module written.
Welcome Patrick! What's your plan of attack?
Leon
--
Leon Brocard
issues, this might be an interesting thing to look
at.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Better to understand a little than to misunderstand a lot
Adam Thomason sent the following bits through the ether:
No troubles here (see the palaeodictyoptera tinderbox). Is procps
up-to-date? Is NPTL causing different PIDs to show up?
OK, chalk it up to dodgy Fedora in that case. Please do not apply
patch.
Leon
--
Leon Brocard
Removes a warning.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... We're not worthy! We're not worthy!
Index: imcc/pbc.c
===
RCS file: /cvs
On our shiny 64-bit Opteron box I get a warning here. This silences
the warning.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Borg? Where? I don't se*(#$#..NO CARRIER
Index: pf/pf_items.c
Signals no worky under x86_64. I don't really understand why. Seeing
as we're skipping on lots of platforms anyway, I've added it to the
list of skipped platforms.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http
Leopold Toetsch sent the following bits through the ether:
Is this available on e.g. Windows?
Possibly, it's just POSIX. I have no way to test this however.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com
Leopold Toetsch sent the following bits through the ether:
Both interpreter and unit aren't unused, if JIT is enabled. Changed a
bit.
Ooh. Oops. Anyway, warnings bad.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http
Dan Sugalski sent the following bits through the ether:
A (Grand?) Unified Theory of Storage Reclamation
Slides here: http://www.research.ibm.com/people/d/dfb/talks/Bacon04Grand.ppt
Leon
--
Leon Brocard.http://www.astray.com/
scribot
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... I love it when a plan comes together!
now I want an RSS feed per author, so I don't have to subscribe to
30 RSS feeds ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... $$$ not found -- (A)bort (R)efinance (B)ankrupt
.
The scheme that you propose sounds awfully like a messaging system.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... But I don't *like* ponies!
Dan Sugalski sent the following bits through the ether:
So, the question--shall we do objects and maybe miss the Feb 29th
release, or do the Feb 29th release and do objects for the next
release?
Objects please!
Leon
--
Leon Brocard.http://www.astray.com
::Depends rocks.
Comments? Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Useless invention no. 404: Caffeine-free Diet Coke
install.pl
Description: Perl program
Installing Compress::Zlib...
... done
buildd
from Debian, having a box we don't mind destroying every so often, or
having a VMware virtual machine we can undo easily. What we need is
more free time ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http
Brent Dax sent the following bits through the ether:
Are there any objections to this?
Sounds good. For embedding (eg Ponie), we're going to have to make
sure that all symbols start with parrot_ / Parrot_...
Leon
--
Leon Brocard.http://www.astray.com/
scribot
like 'detailed_results' who is an url to detailed
report (today http://nntp.x.perl.org/group/perl.cpan.testers/xxx).
If you replace the xxx with the ID then you have the correct URL. The
next release of CPAN testers will have a report_url key containing
this.
HTH, Leon
--
Leon Brocard
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... C program run. C program crash. C programmer quit
! ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Hi-ho, hi-ho, it's hand grenades I throw...
.tar.gz
BACKPAN/authors/id/A/AL/ALIAN/MIME-Lite-HTML-1.18.tar.gz
Thanks for answering all these questions, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Change is inevitable, except from a vending machine
Tels sent the following bits through the ether:
Hm, it generates fast, but wrong results :-)
Ooops, the summaries are wrong. Fixed.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... For Sale: Slightly
was uploaded to CPAN, but that's external
information, bah.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Blueness is a way of life
you speed up
http://testers.cpan.org/search?request=by-distletter=M too? ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... 1001 Things To Do With Whipped Cream, LGLB (1995)
;-)
We've used the Perl testing framework (Test::Harness, eg: 1..1\nok 1)
in the main parrot test suite. It's working well for Perl and a Parrot
version of it might be nice idea...
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http
annoyed about it and wrote my own as it wasn't open source. It is much
much faster.
http://search.cpan.org/author/LBROCARD/CPAN-WWW-Testers/
http://testers.astray.com/
Comments welcome, Leon
--
Leon Brocard.http://www.astray.com/
scribot
Leon Brocard sent the following bits through the ether:
Secondly, who do I need to convince to add the make test results for
PASSes too? ;-)
So, does anyone actually have an opinion on this?
Leon
--
Leon Brocard.http://www.astray.com/
scribot
This is inconsistent and we're throwing information away. I say put it
in all the time.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... ASCII and ye shall receive
things becoming dead-ends. How much work do you think
it'd be to extend it some more and update it to latest Lua? Would it
be worth checking this into parrot CVS?
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com
J?rgen B?mmels sent the following bits through the ether:
The offending line is exceptions.c:123
if (m[strlen(m-1)] != '\n')
Thanks, applied.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com
distributions
which have a plan and have failed at least one test.
Firstly, is there a reason for this inconsistency?
Secondly, who do I need to convince to add the make test results for
PASSes too? ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot
mrnobo1024 sent the following bits through the ether:
Parrot_sprintf isn't recognizing 7 as a number in the precision field, so
trying to use that results in a '7' is not a valid sprintf format error.
Thanks, patch applied.
Leon
--
Leon Brocard.http
I just noticed that nobody had emailed perl6-internals about
ponie, which was announced yesterday as OSCON.
Ponie is perl 5 on parrot. For more info:
http://use.perl.org/article.pl?sid=03/07/09/0237202
Leon
--
Leon Brocard.http://www.astray.com/
scribot
CVS commit too :-(
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... 668 - Neighbor of the Beast
for the bug report. I've patched parrot in CVS to use perldoc
-U.
To be honest, I'm not entirely sure that any of us actually install
parrot at the moment, but it is a great area to investigate.
Leon
--
Leon Brocard.http://www.astray.com/
scribot
Alberto Sim?es/EPL sent the following bits through the ether:
Anybody can tell me the address for RT/perl software?
http://rt.perl.org/ is what you should be using to submit bugs (and
patches!)
HTH, Leon
ps it runs http://www.bestpractical.com/rt/
--
Leon Brocard
set P1, P0[1]
typeof S0, P1
print S0
print \n
end
Leon
ps i fixed your code
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Useless invention no. 404: Inflatable anchor
numbers? It'd be nice to have
objects, otherwise we're restricted to toy languages.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Komputors nefer maik erers
languages, and that gives away the fact that objects would
help in their implementation.
Objects are coming, though I've been too pressed for time recently.
String rework first, then objects.
Excellent.
Leon
--
Leon Brocard.http://www.astray.com/
scribot
for such a thing? A room, at least one
computer, an internet connection and a Plan? Are you looking to learn
more about Parrot or do you have something more specific in mind?
Leon
ps feel free to send in your location if you've forgotten to:
--
Leon Brocard.http
/classpath.html
HTH, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... Hmm... How *did* they finally kill Frosty?
with parrot, so it
doesn't work. I've attached a patch to config/gen/makefiles/ook.in to
make it work with imcc, although I assume we'd want $(IMCC) to work at
some point.
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
... You're in a maze of twisty little Java VMs, all different
Leon Brocard sent the following bits through the ether:
Now to get the hand of the signatures...
Ah, well, I gave up on SDL as it was a little complicated. Instead, I
played with curses. Please find attached a cute little curses life
program loading and calling curses at runtime with dlfunc
I get:
Loaded...
dlfunced...
../parrot: relocation error: /usr/lib/libSDL-1.2.so.0: undefined symbol:
pthread_mutexattr_init
Well, the C code on the page works fine, but of course you have to
link it with -lpthread. How would I do this for the parrot code?
Leon
--
Leon Brocard
directly to the Perl Foundation.
Enjoy, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
That does not compute
/vmspec/2nd-edition/html/Concepts.doc.html#33377
HTH, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
Cryptonomicon: The girl's guide to geek guys
Leon Brocard sent the following bits through the ether:
It looks like the DotGNU weekly IRC meeting will be discussing
Parrot. Could be interesting:
It was quite interesting. I managed to make it to the early one and
Dan to the later one. An annotated and abridged chatlog is available:
http
then it should be
fairly easy to target Parrot too (still-to-be-developed-features not
withstanding. This is quite interesting indeed, especially if you have
a good test suite ;-) I'll try and have a look at it over the weekend.
Leon
--
Leon Brocard.http://www.astray.com/
scribot
://www.dotgnu.org/pipermail/developers/2002-October/008345.html
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
Drive A: format failure, formatting C: instead...
://donate.perl-foundation.org and feed back
and/or T?iBooks to me, mailto:[EMAIL PROTECTED]. As usual, the fee
paid for publication of this summary on perl.com has been donated
directly to the Perl Foundation.
Enjoy, Leon
--
Leon Brocard.http://www.astray.com
/Java-JVM-Classfile/
In the past couple of weeks I've been wondering whether a hybrid
scheme a la Inline::Java where we dispatch stuff to a real JVM may be
a faster approach to get running.
Why, what exactly did you have in mind?
Leon
--
Leon Brocard.http
nobody has replied to this yet. Well, in the past this
feature existed in Parrot, but then was taken out again, presumably
because there was a better way to do it. However, I'm not sure what
that way may be. Can anyone shed some light upon this?
Leon
--
Leon Brocard.http
../../platform.o -lm
ld: multiple definitions of symbol _n_spilled
imcparser.o definition of _n_spilled in section (__DATA,__common)
imc.o definition of _n_spilled in section (__DATA,__common)
make: *** [imcc] Error 1
If only I knew more C / linker foo...
Cheers, Leon
--
Leon Brocard
: Undefined symbols:
_main
make[1]: *** [blib/lib/libparrot.so] Error 1
make: *** [all] Error 2
Thanks, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
Borderline psychotic with hermit-like tendencies
Andy Dougherty sent the following bits through the ether:
Yup, That's a long-standing bug. Here, again, is the correct fix for it.
Cool, finally imcc works. Now, what's the best way to roll in all the
patches? Are they the correct fixes?
Leon
--
Leon Brocard
Leon Brocard sent the following bits through the ether:
I have a weird bug where concatenation is sometimes failing
Well, this bug is still here. I saw some patches fly by but which of
them is the right patch and can it be applied please? ;-)
Leon
--
Leon Brocard
soon. BTW anyone want to work on getting Parrot to use less memory so
it can run on palmtops? ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
Try? Try not. Do, or do not. There is no try
it would make an ideal
PMC to learn from in future. Any takers? ;-)
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
If this were an actual tagline, it would be funny
Alberto Manuel Brandão Simões sent the following bits through the ether:
This means one more function to the vtable!
FWIW every object in Java must implement a hashCode method:
http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()
Leon
--
Leon Brocard
?
Cheers, Leon
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
This sentence no verb
that there were a couple of patches which appear to have slipped
though the gapes. Patch authors - if you follow the Parrot patch
procedure we won't forget your patches!
Leon
--
Leon Brocard.http://www.astray.com/
scribot.http
? We'll try and help and then add docs or
whatever.
HTH, Leon
ps as it so happens, blogan's question could go into a faq...
--
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/
I'd love to go out with you, but I'm
proper
nested datastructures... ;-)
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
I have seen the evidence. I want DIFFERENT evidence!
that are never called
externally you're welcome to optimise away and ignore the calling
conventions]
Next update will be PMC examples... Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
Abandon all hope
the patch). A BF compiler would be neat too, of
course.
Any chance of this going in the languages directory if I provide more
docs and examples?
Leon
ps yes, interpreters for real languages on the way
--
Leon Brocard.http://www.astray.com/
Nanoware
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
He who reads many fortunes gets confused
.
The main problem is that Perl is so dynamic. You can redefine almost
anything in Perl at runtime. This means we need a very dynamic virtual
machine behind it in order to run Perl (and possibly Ruby, Python)
efficiently.
Hope this helps, Leon
--
Leon Brocard.http
attached a fledgling jvm.ops. Does my C code
look ok?
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
(c) The Intergalactic Thought Association
/*
** jvm.ops
*/
VERSION = PARROT_VERSION;
=head1 NAME
jvm.ops
Andy Wardley sent the following bits through the ether:
http://andywardley.com/parrot/
That's a wonderful colour! ;-)
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
High message: 9434567. Message
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
It is now pitch dark. If you proceed, you will likely fall into a pit
objects and
classes. Converting the bytecode isn't the problem, it's converting
the Java APIs that is...
HTH, Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
#include witty.f
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
Do not clone your neighbors in their sleep
:
http://cvs.perl.org/cvsweb/parrot/docs/overview.pod?rev=1.2content-type=text/x-cvsweb-markup
http://www.parrotcode.org/examples/
http://www.astray.com/java/
Hope this helps, Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http
Leon Brocard sent the following bits through the ether:
o JVM is stack-based, Parrot is register-based (major difference!)
I forgot to point out that details of the JVM are available at:
http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html
Leon
--
Leon Brocard
# prints 4
print \n
set I0, 2
set I1, 2
add I2, I0, I1
print I2 # prints 4
print \n
end
Hope this helps, Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http
Dan Sugalski sent the following bits through the ether:
For the Java-impaired (i.e. me :) what's the -Xint option do?
It turns off the JIT (which is enabled by default).
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http
for you I imagine ;-)
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
Okay - right after this one we're BACK to the TOPIC
AOP:
http://search.cpan.org/search?dist=Aspect
http://lists.perl.org/showlist.cgi?name=perl-aspects
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
... There's someone in my head, but its not me
and not
have to worry about static type inference...
Errr, so not yet. But I'll be updating the parrotcode.org examples
rsn, honest...
Leon
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
... Gravity is a myth
,
although Simon's recent article on perl.com was damn good.
Leon
ps the assembler doesn't grok if I5, NEXT4, NEXT3 or comments
on lines which just have labels
--
Leon Brocard.http://www.astray.com/
Nanoware...http://www.nanoware.org/
... My
a bit more:
http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html
Leon
[1] No, attributes aren't limited to four characters. Let's
be modern about this...
--
Leon Brocard.http://www.astray.com/
Iterative Software...http://www.iterative-software.com
calling it pvm? parrotvm?
--
Leon Brocard.http://www.astray.com/
Iterative Software...http://www.iterative-software.com/
... I am serious. And don't call me Shirley
class Bench {
public static void main (String args[]) {
int q = 1;
int w = 1
. I'm
interested in converting between languages. At the moment I expect to
do that using pasm, but the second we have a bytecode-writing module...
Look at all these programming languages for the JVM.
s/JVM/ParrotVM/ perhaps?
http://grunge.cs.tu-berlin.de/~tolk/vmlanguages.html
Leon
--
Leon
Brocard.http://www.astray.com/
Iterative Software...http://www.iterative-software.com/
...
# Some simple code to print some Fibonacci numbers
# Leon Brocard [EMAIL PROTECTED]
print The first 20 fibonacci numbers are:\n
set I1, 0
set
is 1
I reg 1 is 1
I reg 1 is 2
I reg 1 is 3
I reg 1 is 3
I reg 1 is 6
I reg 1 is 4
I reg 1 is 10
I reg 1 is 5
I reg 1 is 15
I reg 1 is 6
I reg 1 is 21
I reg 1 is 7
I reg 1 is 28
I reg 1 is 8
I reg 1 is 36
I reg 1 is 9
I reg 1 is 45
Cool, huh. Much more on this soon! Leon
--
Leon Brocard
- for executables, perhaps?
Lucy McWilliam:
.rip?
HTH, Leon
--
Leon Brocard.http://www.astray.com/
Iterative Software...http://www.iterative-software.com/
... Fascinating, Captain
Nathan Torkington sent the following bits through the ether:
Hmm, it'd be interesting to see a Map of Perl.
Would a graph be good enough? I'll see what I can do ;-)
Leon
--
Leon Brocard.http://www.astray.com/
Iterative Software...http://www.iterative
for the actual function definition.
OTOH, this seems like action at a distance to me and the most logical
place would be to have it next to the memoized sub...
Leon
--
Leon Brocard.http://www.astray.com/
yapc::Europe - September 22-24 London - http://yapc.org/Europe
version might also be
interesting: or do we expect bytecode - source translators to do that
for us?
I'd strongly suggest that we drop local encodings and go for network
encodings at all times, but this point may be mute.
HTH, Leon
--
Leon Brocard.http://www.astray.com
Perl6 RFC Librarian sent the following bits through the ether:
Objects : NEXT pseudoclass for method redispatch
I really like this idea: it's quite simple and gets the job done. I'll
throw some AUTOLOAD ideas at London.pm and see what we come up
with... ;-)
Leon
--
Leon Brocard
100 matches
Mail list logo