Does anyone know of any training going on in the area that's a) soon and
b) local? If not local, other stuff would be interesting too, but Boston
is easy.
I have some co-workers asking.
___
Boston-pm mailing list
Boston-pm@mail.pm.org
l
> script.
What part of it? You could use:
use Inline C => q{
void * get_thx_loc () {
dTHX;
return (void*)aTHX;
}
};
my $loc = get_thx_loc();
But I cannot imagine any sane world in which you want to do that!
--
Aaron S
Steve Revilak wrote:
>> Basically I am dealing with using, storing, and sorting a LOT of data in a
>> mysql database.
>> With all the data in the table it makes for 404.8 Million rows. In a backup
>> sql file that makes just under 80GB.
>>
OK, so you're dealing with a tiny database.
mysql>
nd to be maintained a bit better. Of course, you may be
maintaining a legacy application, in which case that advice won't help.
--
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"We had some good machines, but t
taste.
> and on a final note, these days 300k is not even a long string.
But it IS a fairly large amount of XML, given how expensive XML parsing
can be (sigh). It's especially painful because this 300k of XML is XSLT,
which means that he's planning on reading / interpreting / t
and RPM(s).
If you need guidance on what a spec file should contain, just grab the
SRPM for any random package in your distribution, install it and look at
its spec file. They're like a Makefile, but with a bit more regular
structure.
--
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems E
Ronald J Kimball wrote:
>my @indices = (0) x $maxlen;
>
>
I have no idea why, because it's not more efficent or anything, but I
always find myself writing:
my @indices = map { 0 } 1..$maxlen;
The nice thing about it is that I tend to think of map even when I want
something very slightly
On Tue, 2005-10-25 at 06:54 -0400, Tom Metro wrote:
> Combining the official, unofficial, and my votes, we have:
>
> 4 Small Miracles
> 3 Perl 6: The Sky Isn't Falling
> 1 Time::Space::Continuum
> 1 Perl 6 Update
I'd vote for either of the p6 topics, which given the voting so far
would seem to
n RC, but the only truly definitive resource is the SRPM, and I would
literally fall out of my chair in shock if they so much as breathed on
the tarball inside of it. They'll heap on patches for anything they fix
until / unless it's accepted up-stream, but I've never seen them package
a tar-ball tha
the SRPM which are applied when the RPM is built. There is
also a changelog at the end of the file that details what was done to
this package.
--
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me
On Wed, 2005-05-11 at 15:24, Aaron Sherman wrote:
> This smells like homework, but *shrug*
Then my mailer decided to play the role of the proverbial dog and eat
said homework ;-) If it does so again, I'll just leave well-enough
alone.
> On Wed, 2005-05-11 at 14:59, John Tsangaris wrote:
answer and full sequence (preferably more
> advanced than my 2nd gradeanswer).
perl -le '$n=0;sub x{my($s,@l)[EMAIL PROTECTED];if (@l){for my
$l(@l){x($s.$l,grep{$_ ne [EMAIL PROTECTED])}}else{print ++$n,"
",$s}}x("",1,2,3,4,5)'
Easy permutation problem.
--
Aaron Sher
re time when IBM was still a big name in PCs,
before they were again.
--
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
he original URL.
Of course, you can violate the HTTP standard, but that's another barrel
of apple juice.
--
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback
__
On Tue, 2005-03-08 at 00:04 -0500, Uri Guttman wrote:
> >>>>> "AS" == Aaron Sherman <[EMAIL PROTECTED]> writes:
>
> AS> On Mon, 2005-03-07 at 15:33 -0500, Uri Guttman wrote:
>
> >> >>>>> "AS" == Aaron Sher
On Mon, 2005-03-07 at 15:33 -0500, Uri Guttman wrote:
> >>>>> "AS" == Aaron Sherman <[EMAIL PROTECTED]> writes:
> see what i do in File::Slurp. i wanted a single error handling sub but
> also to have the croak in there report back from the original call
On Mon, 2005-03-07 at 12:56, Ben Tilly wrote:
> On Mon, 07 Mar 2005 08:36:56 -0500, Aaron Sherman <[EMAIL PROTECTED]> wrote:
> > On Mon, 2005-03-07 at 01:51 -0500, James Freeman wrote:
> >
> > [...] If you know more trivia
> > than I do (I've yet to see that),
K<+> TOK<+> TOK<$z>, that
would be a different matter, but it's not.
Of course, Perl's parser and tokenizer are deeply incestuous, but that's
the general idea.
--
Aaron Sherman <[EMAIL PROTECTED]>
Senior Systems Engineer and Toolsmith
"It's the sound of a satelli
On Mon, 2005-03-07 at 11:36, Ronald J Kimball wrote:
> > $y = $x++ + 1;
> >
> > is quite readable, and very clear in its intent if you know know what
> > "postfix:++" and "infix:+" do (and you'd better). You don't even have to
> > know precedence, as it is implied by the (now correct) use of
On Mon, 2005-03-07 at 11:22, Palit, Nilanjan wrote:
> -Original Message-
> > From: Greg London [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 07, 2005 11:17 AM
> >
> > As for the triple-plus operator ;)
> > I'd think perl would take x, do a "++" on it,
> > get 2, and then do the
On Mon, 2005-03-07 at 10:57, David wrote:
> > - A rather nasty problem I sometimes pose is to print the answer
> > to:
> > $> perl -e '$x=1; $y=$x+++1; print "x=$x, y=$y\n"'
> ...
> > [Correct answer: x=2, y=2]
>
> I'd posit that the correct answer is: "rewrite it."
>
> And
On Mon, 2005-03-07 at 10:24, Palit, Nilanjan wrote:
> (b) nothing to do with Perl - just assess the person's attitude vs. your
> own team's dynamic. To me, this is much more important then the exact
> technical skill.
Also nothing to do with the questions as posted. The answers were wrong,
and I
On Mon, 2005-03-07 at 08:17 -0500, Greg London wrote:
> 3: What is printed when this script executes?
> my %hash;
> if($hash->{key1}->{key2})
> {print "Exists!";} else {print "Doesnt exist"}
> print Dumper \%hash;
> 5: What is printed when this script executes?
> package Dog;
> sub Speak { print
On Mon, 2005-03-07 at 01:51 -0500, James Freeman wrote:
> So this leads me to this scenario and a question, your manager has asked
> you to be part of the interview process for a new programmer position
> that involves Perl and he wants you to make sure this person knows their
> Perl.
I use a
On Sat, 2005-03-05 at 02:08 -0500, Tom Metro wrote:
> Aaron Sherman wrote:
> >>>* Help make CPANPLUS work well with all extant package managers
> > * CPANPLUS - Better integration (platform bias removal)
>
> Could you expand upon CPANPLUS? I played around with it
On Sat, 2005-03-05 at 01:16 -0500, Tom Metro wrote:
> I'd be willing to bet that Jesse has encountered, with some regularity,
> resistance to commercial adoption of RT due to its use of Perl.
Ah... hey, I'm a fan of RT overall, but lack of commercial adoption
would be a result of the fact that
On Fri, 2005-03-04 at 23:06 -0500, James Linden Rose, III wrote:
> Perhaps we have just seen the next step in the evolution of Perl
> culture. On stage dramatizations of "Classic" Perl polemics. Any body
> want to create an oil painting of the debate?
Actually, I'd love to see an
On Fri, 2005-03-04 at 14:02, Greg London wrote:
> andrew burke said:
> >> I never excluded people. I was asking them to play a different game.
> >> And I asked those who didn't want to play, to find a different game.
> >
> > This is said without realizing the irony?
>
> Hey, where were you as
On Fri, 2005-03-04 at 13:18, Andy Oram wrote:
> I'm sorry I wasn't on this (off-topic) thread earlier, but I don't have
> time to read every mailing list every day. I do some casual Perl coding
> of my own and edited a few Perl books at O'Reilly in the past, but I'm
> not in the Perl loop these
On Fri, 2005-03-04 at 07:54, Kate Wood wrote:
> [...] the barriers to learning and using Perl
[...]
> Managers, [...] expect you to have [available certification]
You do realize that those are orthoganal, right?
What's more, I GUARANTEE you that I could go learn Java (for which there
is a
On Fri, 2005-03-04 at 07:02 -0500, James Linden Rose, III wrote:
> On Friday, March 4, 2005, at 01:10 AM, Aaron Sherman wrote:
> > If you want to talk about making Perl more popular, here are some ideas
> > ranked in order of how likely I think they are to succeed in terms of
On Thu, 2005-03-03 at 23:52 -0500, Greg London wrote:
> Did you ever get a cool idea for a problem
> and just dive into it, explore it, learn
> about it, try out different things, and play?
Yes. When I do that, I don't post to a public list saying, "what if I
just take this line of code, and
On Thu, 2005-03-03 at 16:15 -0500, Greg London wrote:
> Ben Tilly said:
> > I think responses are more along the lines of, "certification
> > introduces a lot of problems, and we don't see how you'll
> > make a certification become accepted."
>
> I don't know how it can be done, so it must not be
On Mon, 2005-02-28 at 15:39, Tom Metro wrote:
> As others have argued on the list, as programmers we know certifications
> are pointless as a technical qualification, but we're not the audience
> that needs to be convinced otherwise.
I disagree. A certification says that you have a certain
On Mon, 2005-02-28 at 15:39, Gyepi SAM wrote:
> As I recall, there are quite a few cross language programmers on this
> list...
I've never used cross, but I hear it's a great language. What do you use
it for?
--
â 781-324-3772
â [EMAIL PROTECTED]
â http://www.ajs.com/~ajs
On Mon, 2005-02-28 at 12:51, Benjamin Kram wrote:
> Has anyone had a chance to play with pugs?
> I just svned down a copy and was going to toy with it a bit.
Only a little bit. I am, however, sure that the correct way to boost the
popularity of your favorite niche language is to write a compiler
On Tue, 2005-02-22 at 19:32 -0500, Bob Rogers wrote:
>The type safe programming languages instead force you to pre-declare
>that a variable is a "string" or "integer", and then to invoke a
>function or method which explicitly converts one to the other, and thus
>adding "five" to
On Tue, 2005-02-22 at 17:38, Ranga Nathan wrote:
> Here is an email I received internally regarding the shortlist of
> languages for future software development. I must add that this is a
> corporate environment. I responded saying that Perl has one of the richest
> data structures that I know
On Tue, 2005-01-25 at 11:34, Uri Guttman wrote:
> > "GL" == Greg London <[EMAIL PROTECTED]> writes:
> GL> After the system call, how do I test for a control-c
> GL> as the cause for the command ending?
>
> look at $@ and check for why the process died. you can extract a signal
> number
On Tue, 2005-01-18 at 16:08, Uri Guttman wrote:
> templating is not rocket science. that is why there
> are so many template modules on cpan. they are trivial to do basic
> versions. whether they mature into large systems like tt2 is another
> matter.
True, but the advantage of having a baseline
On Tue, 2005-01-18 at 12:07, Uri Guttman wrote:
> > "DB" == Dan Boger <[EMAIL PROTECTED]> writes:
> DB> I've been trying to be good, and seperate content from presentation.
> DB> But since starting using Mason, I find that's much harder to do? Yes
> in the templating world, there are
On Fri, 2005-01-14 at 10:33, Sean Quinlan wrote:
> On Thu, 2005-01-13 at 21:58, Tom Metro wrote:
> > This reminded me of something I've wondered about for a long time. Why
> > did PHP become as successful and popular as it is, even though it mostly
> > offers a subset of what Perl can do. (I'm
On Wed, 2005-01-05 at 10:14, Ronald J Kimball wrote:
> The [EMAIL PROTECTED] address is currently invalid. I do not know whether
> this is a permanent change or just a temporary side effect of the move.
> LIST POSTS MUST BE SENT TO boston-pm@mail.pm.org instead.
>
> Our lovely new Kwiki is now
On Thu, 2004-12-30 at 20:45, Ben Tilly wrote:
> On Thu, 30 Dec 2004 18:02:07 -0500, Aaron Sherman <[EMAIL PROTECTED]> wrote:
> > I understand risk assessment and the idea that nothing is 100% safe, but
> > when you have a situation where you KNOW from day one that some
On Wed, 2004-12-29 at 18:10, Ben Tilly wrote:
> Under normal circumstances, to get non-miniscule odds of having
> a collision somewhere between MD5 keys, you'd need about 2**64
> keys. If you have less than, say, a billion keys then you can ignore
> that possibility for all practical intents and
On Tue, 2004-12-28 at 13:46, Ian Langworth wrote:
> On 28.Dec.2004 01:14AM -0500, Tom Metro wrote:
>
> > If you are concerned about the performance impact of long
> > keys, and your application fits a "write-once, read-many"
> > model, then you could always hash the hash keys. Say generate
> > an
On Fri, 2004-11-12 at 10:26 -0500, Uri Guttman wrote:
> > "bdf" == brian d foy <[EMAIL PROTECTED]> writes:
>
> bdf> I'm in Boston from Nov 15-18.
> for those of you who don't know, bdf teaches for stonehenge (randal's
> biz) and is the founder of perl mongers (which you are a member of!)
On Fri, 2004-11-12 at 13:22 -0800, Ben Tilly wrote:
> On Fri, 12 Nov 2004 10:05:27 -0500, Uri Guttman <[EMAIL PROTECTED]> wrote:
> > > "GS" == Gyepi SAM <[EMAIL PROTECTED]> writes:
> [...]
> > this talk about mmap makes little sense to me. it may save some i/o and
> > even some buffering but
On Fri, 2004-11-12 at 21:47 -0500, William Ricker wrote:
> > This is at best 2/3 correct.
>
> > First you're right that mmap has a 2 GB limit because it maps
> > things into your address space, and so the size of your pointers
> > limit what you can address.
> (unless you have 64bit pointers of
On Wed, 2004-11-10 at 23:13 -0500, Uri Guttman wrote:
> sorry i missed the meeting but i have a nasty cold i am fighting off.
I just got over that one :-(
As for transposing a matrix that won't fit in ram... that's easy. Mail
it to someone who has more ram.
Aaron "Gordian Knot" Sherman, at
On Thu, 2004-11-04 at 14:05 -0500, Brian Reichert wrote:
> On Thu, Nov 04, 2004 at 10:08:56AM -0500, Anthony R. J. Ball wrote:
> >
> > Not sure how you could get sendmail to do it, but with perl you could
> > probably do it in about 20-50 lines. Just pull the messages one by one,
> > if spamc
On Wed, 2004-09-08 at 00:17, Uri Guttman wrote:
> use warnings should be here too.
[...]
> i like "_$method" better.
[...]
> i don't like using => like that.
Uri, you're ripping the guy's code to shreds over minor points of
syntactic sugar... I seem to remember that Perl's moto isn't "There's
On Wed, 2004-09-01 at 14:35, Uri Guttman wrote:
> the symbol table is just a special hash tree with
> global side effects. so why not just use a regular hash as it is safer
> (no global side issues), more flexible (you can pass it around, take
> references, create anonymous hashes) and you can
Bogart Salzberg wrote:
OK, I concede that you and Uri are right. Since lc() expects a string,
it should be expected to return a string. But I still think lc()
should WARN me if its argument is undefined, and this would be
consistent with the behavior of the concatenation operator that Uri
On Thu, 2004-08-05 at 11:16, Ronald J Kimball wrote:
> We had about 20 people at Tuesday's tech meeting. We started with a review
> of notable happenings at OSCON, including Dan Sugalski being hit in the
> face with a pie, and Jon Orwant receiving a White Camel award.
That former topic also
55 matches
Mail list logo