From tmetro+dfw-pm at gmail.com Tue Jan 7 21:52:24 2014
From: tmetro+dfw-pm at gmail.com (Tom Metro)
Date: Wed, 08 Jan 2014 00:52:24 -0500
Subject: [DFW.pm] [Discuss] Small website, non-technical users: Joomla,
Drupal, or WordPress? (Solved)
In-Reply-To: <20140008035433.50335.jc@trillian.mit.edu>
References: 52CC91E1.8060202@horne.net, <52CB82E1.5030005@horne.net>
<20140008035433.50335.jc@trillian.mit.edu>
Message-ID: <52CCE798.6010707@gmail.com>
jc at trillian.mit.edu wrote:
> I had a similar case recently. I've helped a few nonprofits build web
> sites, and several have started off looking into Drupal, Joomla, etc.
> After a month or so of this, with nothing working, I've combined a
> few scripts that I've collected or written anew with a few of their
> designs for the pages they want, and in a week or two they were
> happey with the results.
>
> ...they've looked at HTML manuals, and run terrified from the
> incomprehensible technical gobbledy-gook that they saw. HTML is this
> horrible stuff that mere mortals don't stand a chance of
> understanding, right?
>
> Then I show them the effect of wrapping them in a simple
> ... wrapper, and adding tags between paragraphs.
It funny that back in the days before CMSs we accomplished the two most
important features they offer - separating the appearance of a site from
the content, and making it user friendly to add/edit content - with some
primitive tools that seem to have disappeared.
The first objective was accomplished with frames. And then later when
frames were shunned, with (Apache) server includes[1]. Server includes
didn't gain much traction, as they were quickly eclipsed by PHP, Cold
Fusion, ASP, Mason, and other templating languages, that offered much
more functionality, but usually at the expense of requiring a programmer
or "web designer."
The other objective was accomplished with GUI HTML editors. For a while
there, there were actually some decent competitors to Microsoft Front
Page, including a few open source tools[2]. As developers we hated most
of these (mostly Front Page) for the ugly HTML they generated, because
sooner or later we'd be faced with making modification to the HTML
outside the tool. These days the ugliness is still there, being
generated by most CMSs, we just don't have occasion to look at it.
The CMSs seem to have killed off the market for HTML editors, but it
looks like the successor to the Mozilla Composer is still being
updated[3]. I don't think there is any significant benefit to having
content producers learn HTML, if they can find a suitable HTML editor.
I imagine today with the help of CSS and something like server side
includes, you could create a pretty functional poor man's CMS, where
your non-technical content producer creates a new page by doing
something like:
1. create a new directory named after the content title.
2. copy some boilerplate files to the directory, which might include an
index.html with the server include directives, and an empty context.html
file. (Steps 1 and 2 could be implemented with a shell script.)
3. load the content.html file into their GUI HTML editor and add content.
The content then doesn't need to have any presentation markup. Headers,
footers, and navigation all come from the server includes, and can be
updated site-wide by editing in one place. Content styling comes from
the site-wide CSS included by the boilerplate index.html. The user only
has to concern themselves with the simple structural markup in content.html.
-Tom
1. http://httpd.apache.org/docs/2.2/howto/ssi.html
2. http://en.wikipedia.org/wiki/Nvu
3. http://bluegriffon.org/pages/Download
--
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/
From tmetro+dfw-pm at gmail.com Tue Jan 7 21:57:48 2014
From: tmetro+dfw-pm at gmail.com (Tom Metro)
Date: Wed, 08 Jan 2014 00:57:48 -0500
Subject: [DFW.pm] [Discuss] Small website, non-technical users: Joomla,
Drupal, or WordPress? (Solved)
In-Reply-To: <52CCE798.6010707@gmail.com>
References: 52CC91E1.8060202@horne.net,
<52CB82E1.5030005@horne.net> <20140008035433.50335.jc@trillian.mit.edu>
<52CCE798.6010707@gmail.com>
Message-ID: <52CCE8DC.6070204@gmail.com>
Tom Metro wrote:
> It funny that back in the days before CMSs...
Sorry about that. Wrong list. please ignore.
(Sometimes it doesn't pay to be too reliant on Thunderbird extensions to
set the list-specific reply headers correctly.)
-Tom
--
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/
From wigthft at gmail.com Tue Jan 7 22:01:52 2014
From: wigthft at gmail.com (John Fields)
Date: Wed, 08 Jan 2014 00:01:52 -0600
Subject: [DFW.pm] [Discuss] Small website, non-technical users: Joomla,
Drupal, or WordPress? (Solved)
In-Reply-To: <52CCE8DC.6070204@gmail.com>
References: 52CC91E1.8060202@horne.net,
<52CB82E1.5030005@horne.net> <20140008035433.50335.jc@trillian.mit.edu> <52CCE798.6010707@gmail.com>
<52CCE8DC.6070204@gmail.com>
Message-ID: <52CCE9D0.8060902@gmail.com>
Haha. No worries.
But if he is stuck in PHP, check out SilverStripe?
VERY GUI and perfect for leaving with non-tech users.
JF
On 01/07/2014 11:57 PM, Tom Metro wrote:
> Tom Metro wrote:
>> It funny that back in the days before CMSs...
> Sorry about that. Wrong list. please ignore.
>
> (Sometimes it doesn't pay to be too reliant on Thunderbird extensions to
> set the list-specific reply headers correctly.)
>
> -Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Wed Jan 8 14:58:30 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Wed, 08 Jan 2014 16:58:30 -0600
Subject: [DFW.pm] Meeting Announcement - HACKATHON RESULTS TONIGHT AT 7!
Message-ID: <52CDD816.90405@internetalias.net>
Live Streaming Event 7pm CST - Watch Online
https://plus.google.com/events/crhv075mh20epuesqh853sqee00
...or attend at Dallas Makerspace (location provided below).
In this meeting we will discuss the results of the DFW Winter 2013
Deduplication Hackathon, have code review by the authors, recognition
of winners, and presentation of awards. Join us on IRC as well in
#dfwpm on irc.perl.org
Location Info:
2995 Ladybird Lane, Dallas, TX
www.dallasmakerspace.org
(214) 699-6537
See you at 7 PM!
--Tommy Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Wed Jan 8 15:45:51 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Wed, 08 Jan 2014 17:45:51 -0600
Subject: [DFW.pm] Meeting Announcement - HACKATHON RESULTS TONIGHT AT 7!
In-Reply-To: <52CDD816.90405@internetalias.net>
References: <52CDD816.90405@internetalias.net>
Message-ID: <52CDE32F.6040000@internetalias.net>
*Contestants please send me your google ID's so I can invite you to the
hangout on air.**
**
**--Tommy Butler*
On 01/08/2014 04:58 PM, Tommy Butler wrote:
> Live Streaming Event 7pm CST - Watch Online
> https://plus.google.com/events/crhv075mh20epuesqh853sqee00
>
> ...or attend at Dallas Makerspace (location provided below).
>
> In this meeting we will discuss the results of the DFW Winter 2013
> Deduplication Hackathon, have code review by the authors, recognition
> of winners, and presentation of awards. Join us on IRC as well in
> #dfwpm on irc.perl.org
>
> Location Info:
>
> 2995 Ladybird Lane, Dallas, TX
> www.dallasmakerspace.org
> (214) 699-6537
>
> See you at 7 PM!
>
> --Tommy Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Wed Jan 8 21:07:43 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Wed, 08 Jan 2014 23:07:43 -0600
Subject: [DFW.pm] youtube link for tonight's meeting
Message-ID: <52CE2E9F.7020309@internetalias.net>
You can watch tonight's meeting online at youtube:
https://www.youtube.com/watch?v=HvqqRFGMZS0
--Tommy Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From john.dexter at psydefect.com Thu Jan 9 15:11:36 2014
From: john.dexter at psydefect.com (John Dexter)
Date: Thu, 9 Jan 2014 17:11:36 -0600
Subject: [DFW.pm] Hackathon Proving Runs Now
In-Reply-To: <52CC7E93.8020201@internetalias.net>
References: <52CC6693.4000000@internetalias.net>
<52CC7E93.8020201@internetalias.net>
Message-ID:
Tommy,
Would it be possible to get links to all of the github repos for the
hackathon entries? There was some interesting code presented during the
meeting last night that I'd like to take a closer look at.
Sincerely,
John Dexter
On Tue, Jan 7, 2014 at 4:24 PM, Tommy Butler wrote:
> "
> If you are competing and would like to be on stand by to help if there is
> a question about how your code is to be executed, please "
>
> ...join us on IRC (irc.perl.org #dfwpm)
>
> --Tommy Butler
>
> On 01/07/2014 02:41 PM, Tommy Butler wrote:
>
> NOW The time has come for proving runs. Contestant server access will be
> terminated shortly to insure fairness during the proving runs. Before
> every run is performed, the server will be rolled back and all caches
> purged.
> DURING If you are competing and would like to be on stand by to help if
> there is a question about how your code is to be executed, please
> AFTER If you'd like to continue using the server after the contest for
> your own development pursuits, I'm happy to offer that, but for now all
> access will be relinquished.
>
> --Tommy Butler
>
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Thu Jan 9 15:47:24 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Thu, 09 Jan 2014 17:47:24 -0600
Subject: [DFW.pm] Hackathon Proving Runs Now
In-Reply-To:
References: <52CC6693.4000000@internetalias.net>
<52CC7E93.8020201@internetalias.net>
Message-ID: <52CF350C.3080109@internetalias.net>
How's this?
Innovative Modules
Contestant Repository Framework
Bruce Gray (Perl 6) /home/bruce.gray Perl 6 none
Joakim Lagerqvist tarball Moose File::Compare
Joel Berger https://github.com/jberger/DeDuperizer
Classic Procedural File::Map
reference code https://github.com/tommybutler/dupfind
Classic Procedural none =)
Reini Urban https://github.com/rurban/App-finddups-bloom Classic OO
Bloom::Faster
Tim King https://github.com/JTimothyKing/Data-Dedup
MOP signatures
Tommy Butler (unofficial) https://github.com/tommyprivate/dupfind
Moose Threaded Map Reduce
Yanick Champoux https://github.com/yanick/dfw-contest
Moose MooseX::App::Simple
Contestant Run time (S) Memory (MB) Lines of Code Perl::Critic score
Yanick Champoux 234.223 292.738 266 123
Tommy Butler (unofficial) 274.402 1,800.387 814 474
reference code 312.383 457.000 502 239
Tim King 321.000 522.000 763 841
Joakim Lagerqvist 419.647 187.816 1149 2
Reini Urban 433.877 0.010 150 165
Joel Berger 539.155 129.707 131 104
Bruce Gray (Perl 6) > 30 min N/A 6 N/A
--Tommy Butler
On 01/09/2014 05:11 PM, John Dexter wrote:
> Tommy,
>
> Would it be possible to get links to all of the github repos for the
> hackathon entries? There was some interesting code presented during
> the meeting last night that I'd like to take a closer look at.
>
> Sincerely,
>
> John Dexter
>
>
> On Tue, Jan 7, 2014 at 4:24 PM, Tommy Butler > wrote:
>
> "
> If you are competing and would like to be on stand by to help if
> there is a question about how your code is to be executed, please "
>
> ...join us on IRC (irc.perl.org #dfwpm)
>
> --Tommy Butler
>
> On 01/07/2014 02:41 PM, Tommy Butler wrote:
>>
>>
>> NOW
>>
>> The time has come for proving runs. Contestant server access
>> will be terminated shortly to insure fairness during the proving
>> runs. Before every run is performed, the server will be rolled
>> back and all caches purged.
>>
>>
>> DURING
>>
>> If you are competing and would like to be on stand by to help if
>> there is a question about how your code is to be executed, please
>>
>>
>> AFTER
>>
>> If you'd like to continue using the server after the contest for
>> your own development pursuits, I'm happy to offer that, but for
>> now all access will be relinquished.
>>
>> --Tommy Butler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tmetro+dfw-pm at gmail.com Thu Jan 9 15:49:43 2014
From: tmetro+dfw-pm at gmail.com (Tom Metro)
Date: Thu, 09 Jan 2014 18:49:43 -0500
Subject: [DFW.pm] Hackathon Proving Runs Now
In-Reply-To:
References: <52CC6693.4000000@internetalias.net> <52CC7E93.8020201@internetalias.net>
Message-ID: <52CF3597.20601@gmail.com>
John Dexter wrote:
> Would it be possible to get links to all of the github repos...
The info is in the leaderboard spreadsheet, which is public, but may not
be easy to find.
Here's what we have (IRC handle in parentheses):
Tim King (TimK)
https://github.com/JTimothyKing/Data-Dedup
Reini Urban (rurban)
https://github.com/rurban/App-finddups-bloom
Joel Berger (jberger)
https://github.com/jberger/DeDuperizer
Yanick Champoux (yanick)
https://github.com/yanick/dfw-contest/blob/master/dedup.pl
(I hope I'm assuming correctly that these authors don't mind these links
being shared publicly, given they published them in public repositories.)
Joakim Lagerqvist (Jokke) and Bruce Gray (Util) submitted code directly,
rather than providing a URL to a repository.
-Tom
--
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/
From joakim.lagerqvist at gmail.com Thu Jan 9 22:58:35 2014
From: joakim.lagerqvist at gmail.com (Joakim Lagerqvist)
Date: Fri, 10 Jan 2014 17:58:35 +1100
Subject: [DFW.pm] Hackathon Proving Runs Now
In-Reply-To: <52CF3597.20601@gmail.com>
References: <52CC6693.4000000@internetalias.net>
<52CC7E93.8020201@internetalias.net>
<52CF3597.20601@gmail.com>
Message-ID:
Joakim Lagerqvist (Jokke) and Bruce Gray (Util) submitted code directly,
> rather than providing a URL to a repository.
>
My code is also here:
https://github.com/jokke/Dedup-Hackaton
Cheers,
Jokke
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From kbrannen at pwhome.com Fri Jan 10 00:15:01 2014
From: kbrannen at pwhome.com (kevin)
Date: Fri, 10 Jan 2014 02:15:01 -0600
Subject: [DFW.pm] Concurrency not helping? Maybe you're doing it wrong
In-Reply-To: <52C9A9CF.5080308@internetalias.net>
References: <52C9A9CF.5080308@internetalias.net>
Message-ID: <52CFAC05.4080305@pwhome.com>
On 01/05/2014 12:51 PM, Tommy Butler wrote:
> Just for fun, I thought I'd post this to the list. It's a discussion on
> perlmonks about why the reference code (threaded version) doesn't seem
> to have large gains over the non-threaded version. If you are also
> using concurrency in your hackathon code to try to speed things up, it
> could be a matter of either or both of: you don't need it (really you
> may not), or you're doing it wrong.
>
> http://perlmonks.org/?node_id=1069338
Tommy,
Sorry I'm slow, but I read the post and thought I'd give you this
example. It's quite probable that you no longer need this as you have
everything working, but perhaps it'll help someone. I've been meaning to
post this to Perl Monks, but haven't gotten around to it.
I remember wanting to do some things with threads some time back and
having a devil of a time trying to find a simple example that showed
everything I needed to do. So I cobbled this together.
I think this has the "architecture" you were looking for, i.e. a parent
in control, the children picking up tasks as fast as they could do them,
so there's no real gate keeper. As with so many things, picking the
right values for your task with number of children & number of items in
the input queue is up to you. :) I think it's reasonably well
documented, considering it's a test example, which I tend not to
document at all, much to my detriment later. ;) It's sort of put
together much in the manner I would have written back in the day when I
used IPCs in C on a weekly basis.
HTH,
Kevin
===cut===
#!/usr/bin/perl;
#
# Example program for threads and queues.
#
# The parent will create an input queue for work to be done. It will be
# a number of tasks ($num_tasks). To do the work, it will create a number
# of children ($num_children) to do the work. Because this is a simple
# example, we'll just put a set of random numbers in the queue (from
# 1 to $task_time) for the children to work on. By convention, they know
# to sleep that number of seconds then consider the work done and return a
# "result" to the parent, before grabbing the next task to be done.
# Once all the tasks are done, they end ... as does the parent.
#
# In real life, the parent could add more work, the children could sleep
# until a specific command was given, etc.
use strict;
use warnings;
use threads qw(stringify);
use Thread::Queue;
my $num_children = 3;
my $num_tasks = 10;
my $task_time = 5;
# create communication queues
my $inputq = Thread::Queue->new();
my $outputq = Thread::Queue->new();
# queue up tasks
for (1 .. $num_tasks)
{
$inputq->enqueue(int(rand($task_time) + 1));
}
# make worker threads
my @children;
my $thr;
for (1 .. $num_children)
{
$children[$_] = $thr=threads->create(\&child, $_);
$thr->detach();
}
# watch for output from children
while (my $val = $outputq->dequeue())
{
# we got something...
print "parent received [$val]\tprocess check: ";
# see if we're done and show state of children
# could probably simplify this to "last if (($inputq->pending() ==
0) && ($outputq->pending() == 0));"
# because if both queues are empty, then we're really finished,
but this way
# allows me to see the state of each child
my $running = 0;
for (my $c=1 ; $c <= $num_children ; $c++)
{
my $state = 'x';
if ($children[$c])
{
if ($children[$c]->is_running())
{
$state = 'R';
$running++;
}
else
{
$children[$c] = 0;
}
}
print "$c=$state ";
}
print "\n";
last if (!$running);
}
print "parent done\n";
exit(0);
####################
# the work our children will do
sub child
{
my ($id) = @_;
my $arg;
# while there is more work to do and we can pull something off
while ($inputq->pending() && ($arg = $inputq->dequeue()))
{
# do work
sleep($arg);
# tell our parent the results
$outputq->enqueue("child $id had $arg");
}
# all the work is done, exit
print "child $id exiting\n";
return 1;
}
===cut===
From rickazevedo2 at lycos.com Fri Jan 10 09:10:04 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Fri, 10 Jan 2014 17:10:04 +0000 (UTC)
Subject: [DFW.pm] Trouble running a simple perl program
Message-ID: <1720632171.183011.1389373804755.JavaMail.mail@webmail07>
An HTML attachment was scrubbed...
URL:
From wigthft at gmail.com Fri Jan 10 09:45:48 2014
From: wigthft at gmail.com (John Fields)
Date: Fri, 10 Jan 2014 11:45:48 -0600
Subject: [DFW.pm] Trouble running a simple perl program
In-Reply-To: <1720632171.183011.1389373804755.JavaMail.mail@webmail07>
References: <1720632171.183011.1389373804755.JavaMail.mail@webmail07>
Message-ID:
Hmmm. Just like Padre was doing at first.
Let's recheck: run "Perl -v" and see if it still gives you the version
number and the paragraph of text.
That should still work. If it doesn't then something is different since
wed night. May need to apply the XP Compatibility mode setting to the
Perl.exe file under c:\strawberry since win8 makes life hard just because
it seems.
On Jan 10, 2014 11:10 AM, wrote:
> With the command line open, I type "perl helloworld.pl" (the name of the
> file) and hit enter. It gives me the "0xc000007" error message, refusing
> to execute the program. I looked up answers online and a lot of them are
> "reboot the machine" "try reinstalling" etc. I rebooted and it didn't fix
> anything. A registry-fixer was recommended but I decided to uninstall it
> after installing. It would be nice to have some help. Thank you. Rick
> Azevedo
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rickazevedo2 at lycos.com Fri Jan 10 11:00:24 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Fri, 10 Jan 2014 19:00:24 +0000 (UTC)
Subject: [DFW.pm] Trouble running a simple perl program
References: undefined
Message-ID: <636840852.185098.1389380424218.JavaMail.mail@webmail07>
An HTML attachment was scrubbed...
URL:
From wigthft at gmail.com Fri Jan 10 11:46:07 2014
From: wigthft at gmail.com (John Fields)
Date: Fri, 10 Jan 2014 13:46:07 -0600
Subject: [DFW.pm] Trouble running a simple perl program
In-Reply-To: <636840852.185098.1389380424218.JavaMail.mail@webmail07>
References:
<636840852.185098.1389380424218.JavaMail.mail@webmail07>
Message-ID:
Well poo. Getting the version worked on Wednesday night.
No, because you are telling what you have (win8) to treat the program as
if it was running on XP. Or to actually be backward compatible for this
one program. Because win8 doesn't look back. Like a shark it has no neck.
(Futurama joke)
Try right clicking on the Perl.exe executable, select properties,
compatibility tab, XP Service Pack 3 mode. Hmmmmmm.
On Jan 10, 2014 1:00 PM, wrote:
> perl -v gave me the same error message. Wouldn't XP Compatibility mode be
> wrong for Windows 8?
>
>
> on Jan 10, 2014, *John Fields* wrote:
>
> Hmmm. Just like Padre was doing at first.
>
> Let's recheck: run "Perl -v" and see if it still gives you the version
> number and the paragraph of text.
>
> That should still work. If it doesn't then something is different since
> wed night. May need to apply the XP Compatibility mode setting to the
> Perl.exe file under c:\strawberry since win8 makes life hard just because
> it seems.
> On Jan 10, 2014 11:10 AM, wrote:
>
>> With the command line open, I type "perl helloworld.pl" (the name of the
>> file) and hit enter. It gives me the "0xc000007" error message, refusing
>> to execute the program. I looked up answers online and a lot of them are
>> "reboot the machine" "try reinstalling" etc. I rebooted and it didn't fix
>> anything. A registry-fixer was recommended but I decided to uninstall it
>> after installing. It would be nice to have some help. Thank you. Rick
>> Azevedo
>>
>> _______________________________________________
>> Dfw-pm mailing list
>> Dfw-pm at pm.org
>> http://mail.pm.org/mailman/listinfo/dfw-pm
>>
>
> ------------------------------
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Fri Jan 10 11:49:01 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Fri, 10 Jan 2014 13:49:01 -0600
Subject: [DFW.pm] Concurrency not helping? Maybe you're doing it wrong
In-Reply-To: <52CFAC05.4080305@pwhome.com>
References: <52C9A9CF.5080308@internetalias.net> <52CFAC05.4080305@pwhome.com>
Message-ID: <52D04EAD.2090902@internetalias.net>
Hey, thanks Kevin! Very nicely done.
--Tommy Butler
On 01/10/2014 02:15 AM, kevin wrote:
> On 01/05/2014 12:51 PM, Tommy Butler wrote:
>> Just for fun, I thought I'd post this to the list. It's a discussion on
>> perlmonks about why the reference code (threaded version) doesn't seem
>> to have large gains over the non-threaded version. If you are also
>> using concurrency in your hackathon code to try to speed things up, it
>> could be a matter of either or both of: you don't need it (really you
>> may not), or you're doing it wrong.
>>
>> http://perlmonks.org/?node_id=1069338
>
>
> Tommy,
>
> Sorry I'm slow, but I read the post and thought I'd give you this
> example. It's quite probable that you no longer need this as you have
> everything working, but perhaps it'll help someone. I've been meaning
> to post this to Perl Monks, but haven't gotten around to it.
>
> I remember wanting to do some things with threads some time back and
> having a devil of a time trying to find a simple example that showed
> everything I needed to do. So I cobbled this together.
>
> I think this has the "architecture" you were looking for, i.e. a
> parent in control, the children picking up tasks as fast as they could
> do them, so there's no real gate keeper. As with so many things,
> picking the right values for your task with number of children &
> number of items in the input queue is up to you. :) I think it's
> reasonably well documented, considering it's a test example, which I
> tend not to document at all, much to my detriment later. ;) It's sort
> of put together much in the manner I would have written back in the
> day when I used IPCs in C on a weekly basis.
>
> HTH,
> Kevin
>
> ===cut===
> #!/usr/bin/perl;
> #
> # Example program for threads and queues.
> #
> # The parent will create an input queue for work to be done. It will be
> # a number of tasks ($num_tasks). To do the work, it will create a number
> # of children ($num_children) to do the work. Because this is a simple
> # example, we'll just put a set of random numbers in the queue (from
> # 1 to $task_time) for the children to work on. By convention, they know
> # to sleep that number of seconds then consider the work done and
> return a
> # "result" to the parent, before grabbing the next task to be done.
> # Once all the tasks are done, they end ... as does the parent.
> #
> # In real life, the parent could add more work, the children could sleep
> # until a specific command was given, etc.
>
> use strict;
> use warnings;
> use threads qw(stringify);
> use Thread::Queue;
>
> my $num_children = 3;
> my $num_tasks = 10;
> my $task_time = 5;
>
> # create communication queues
> my $inputq = Thread::Queue->new();
> my $outputq = Thread::Queue->new();
>
> # queue up tasks
> for (1 .. $num_tasks)
> {
> $inputq->enqueue(int(rand($task_time) + 1));
> }
>
> # make worker threads
> my @children;
> my $thr;
> for (1 .. $num_children)
> {
> $children[$_] = $thr=threads->create(\&child, $_);
> $thr->detach();
> }
>
> # watch for output from children
> while (my $val = $outputq->dequeue())
> {
> # we got something...
> print "parent received [$val]\tprocess check: ";
>
> # see if we're done and show state of children
> # could probably simplify this to "last if (($inputq->pending() ==
> 0) && ($outputq->pending() == 0));"
> # because if both queues are empty, then we're really finished,
> but this way
> # allows me to see the state of each child
> my $running = 0;
> for (my $c=1 ; $c <= $num_children ; $c++)
> {
> my $state = 'x';
> if ($children[$c])
> {
> if ($children[$c]->is_running())
> {
> $state = 'R';
> $running++;
> }
> else
> {
> $children[$c] = 0;
> }
> }
> print "$c=$state ";
> }
> print "\n";
> last if (!$running);
> }
> print "parent done\n";
> exit(0);
>
> ####################
>
> # the work our children will do
> sub child
> {
> my ($id) = @_;
> my $arg;
>
> # while there is more work to do and we can pull something off
> while ($inputq->pending() && ($arg = $inputq->dequeue()))
> {
> # do work
> sleep($arg);
>
> # tell our parent the results
> $outputq->enqueue("child $id had $arg");
> }
>
> # all the work is done, exit
> print "child $id exiting\n";
> return 1;
> }
> ===cut===
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rickazevedo2 at lycos.com Fri Jan 10 12:05:21 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Fri, 10 Jan 2014 20:05:21 +0000 (UTC)
Subject: [DFW.pm] Trouble running a simple perl program
References: undefined
Message-ID: <2135719763.186352.1389384321327.JavaMail.mail@webmail07>
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Fri Jan 10 12:25:40 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Fri, 10 Jan 2014 14:25:40 -0600
Subject: [DFW.pm] Trouble running a simple perl program
In-Reply-To: <2135719763.186352.1389384321327.JavaMail.mail@webmail07>
References: undefined
<2135719763.186352.1389384321327.JavaMail.mail@webmail07>
Message-ID: <52D05744.3020500@internetalias.net>
I'm curious: Is there a particular reason why you are using ActiveState
Perl instead of Strawberry?
In addition to this list I aways recommend that questions be asked on
www.perlmonks.org as well. The site looks like it's straight out of the
nineties, but it is actually tremendously useful. They have a few
resident Perl-On-Windows gurus too.
--Tommy Butler
On 01/10/2014 02:05 PM, rickazevedo2 at lycos.com wrote:
> Sorry, but I have no idea. Is the Perl executable in XP compatibility
> mode?
>
> on Jan 10, 2014, *John Fields* wrote:
>
> Well poo. Getting the version worked on Wednesday night.
>
> No, because you are telling what you have (win8) to treat the
> program as if it was running on XP. Or to actually be backward
> compatible for this one program. Because win8 doesn't look back.
> Like a shark it has no neck.
> (Futurama joke)
>
> Try right clicking on the Perl.exe executable, select properties,
> compatibility tab, XP Service Pack 3 mode. Hmmmmmm.
>
> On Jan 10, 2014 1:00 PM, > wrote:
>
> perl -v gave me the same error message. Wouldn't XP
> Compatibility mode be wrong for Windows 8?
>
>
> on Jan 10, 2014, *John Fields* > wrote:
>
> Hmmm. Just like Padre was doing at first.
>
> Let's recheck: run "Perl -v" and see if it still gives you
> the version number and the paragraph of text.
>
> That should still work. If it doesn't then something is
> different since wed night. May need to apply the XP
> Compatibility mode setting to the Perl.exe file under
> c:\strawberry since win8 makes life hard just because it
> seems.
>
> On Jan 10, 2014 11:10 AM, > wrote:
>
> With the command line open, I type "perl helloworld.pl
> " (the name of the file) and hit
> enter. It gives me the "0xc000007" error message,
> refusing to execute the program. I looked up answers
> online and a lot of them are "reboot the machine" "try
> reinstalling" etc. I rebooted and it didn't fix
> anything. A registry-fixer was recommended but I
> decided to uninstall it after installing. It would be
> nice to have some help. Thank you. Rick Azevedo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From reini at cpanel.net Fri Jan 10 12:38:03 2014
From: reini at cpanel.net (Reini Urban)
Date: Fri, 10 Jan 2014 14:38:03 -0600
Subject: [DFW.pm] Trouble running a simple perl program
In-Reply-To: <52D05744.3020500@internetalias.net>
References: undefined <2135719763.186352.1389384321327.JavaMail.mail@webmail07>
<52D05744.3020500@internetalias.net>
Message-ID: <52D05A2B.2080006@cpanel.net>
On 01/10/2014 02:25 PM, Tommy Butler wrote:
> I'm curious: Is there a particular reason why you are using ActiveState
> Perl instead of Strawberry?
>
> In addition to this list I aways recommend that questions be asked on
> www.perlmonks.org as well. The site looks like it's straight out of the
> nineties, but it is actually tremendously useful. They have a few
> resident Perl-On-Windows gurus too.
The same would happen on linux or OSX also, if the shared librabry does
not match the perl.exe executable.
Rick:
you need to find an offending perl*.dll in your path which overrides the
correct perl*.dll for your perl.exe
there are some utilities to help you in this, but all these require
either a mingw, cygwin or a MSVC installation.
> On 01/10/2014 02:05 PM, rickazevedo2 at lycos.com wrote:
>> Sorry, but I have no idea. Is the Perl executable in XP compatibility
>> mode?
>>
>> on Jan 10, 2014, *John Fields* wrote:
>>
>> Well poo. Getting the version worked on Wednesday night.
>>
>> No, because you are telling what you have (win8) to treat the
>> program as if it was running on XP. Or to actually be backward
>> compatible for this one program. Because win8 doesn't look back.
>> Like a shark it has no neck.
>> (Futurama joke)
>>
>> Try right clicking on the Perl.exe executable, select properties,
>> compatibility tab, XP Service Pack 3 mode. Hmmmmmm.
>>
>> On Jan 10, 2014 1:00 PM, > > wrote:
>>
>> perl -v gave me the same error message. Wouldn't XP
>> Compatibility mode be wrong for Windows 8?
>>
>> on Jan 10, 2014, *John Fields* > > wrote:
>>
>> Hmmm. Just like Padre was doing at first.
>>
>> Let's recheck: run "Perl -v" and see if it still gives you
>> the version number and the paragraph of text.
>>
>> That should still work. If it doesn't then something is
>> different since wed night. May need to apply the XP
>> Compatibility mode setting to the Perl.exe file under
>> c:\strawberry since win8 makes life hard just because it
>> seems.
>>
>> On Jan 10, 2014 11:10 AM, > > wrote:
>>
>> With the command line open, I type "perl helloworld.pl
>> " (the name of the file) and hit
>> enter. It gives me the "0xc000007" error message,
>> refusing to execute the program. I looked up answers
>> online and a lot of them are "reboot the machine" "try
>> reinstalling" etc. I rebooted and it didn't fix
>> anything. A registry-fixer was recommended but I
>> decided to uninstall it after installing. It would be
>> nice to have some help. Thank you. Rick Azevedo
>>
>
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
[Disclaimer: The views expressed in this letter are my own, and do not
represent those of my employer.]
--
Reini
Working towards a true Modern Perl.
Slim, functional, unbloated, compile-time optimizable
From rickazevedo2 at lycos.com Fri Jan 10 14:14:03 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Fri, 10 Jan 2014 22:14:03 +0000 (UTC)
Subject: [DFW.pm] Trouble running a simple perl program
References: undefined <52D05744.3020500@internetalias.net>
Message-ID: <875598497.188447.1389392043655.JavaMail.mail@webmail07>
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Fri Jan 10 14:17:16 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Fri, 10 Jan 2014 16:17:16 -0600
Subject: [DFW.pm] Trouble running a simple perl program
In-Reply-To: <875598497.188447.1389392043655.JavaMail.mail@webmail07>
References: undefined <52D05744.3020500@internetalias.net>
<875598497.188447.1389392043655.JavaMail.mail@webmail07>
Message-ID: <52D0716C.3080400@internetalias.net>
Don't run away too fast :-)
Let us know what you find out and how your journey progresses. We care
about helping you succeed. That's part of being a member of our community.
--Tommy Butler
On 01/10/2014 04:14 PM, rickazevedo2 at lycos.com wrote:
> I think I'm using Strawberry... will look at perlmonks.org. thx
>
> on Jan 10, 2014, *Tommy Butler* wrote:
>
> I'm curious: Is there a particular reason why you are using
> ActiveState Perl instead of Strawberry?
>
> In addition to this list I aways recommend that questions be asked
> on www.perlmonks.org as well. The site looks like it's straight
> out of the nineties, but it is actually tremendously useful. They
> have a few resident Perl-On-Windows gurus too.
>
> --Tommy Butler
>
> On 01/10/2014 02:05 PM, rickazevedo2 at lycos.com
> wrote:
>> Sorry, but I have no idea. Is the Perl executable in XP
>> compatibility mode?
>>
>> on Jan 10, 2014, *John Fields*
>> wrote:
>>
>> Well poo. Getting the version worked on Wednesday night.
>>
>> No, because you are telling what you have (win8) to treat
>> the program as if it was running on XP. Or to actually be
>> backward compatible for this one program. Because win8
>> doesn't look back. Like a shark it has no neck.
>> (Futurama joke)
>>
>> Try right clicking on the Perl.exe executable, select
>> properties, compatibility tab, XP Service Pack 3 mode. Hmmmmmm.
>>
>> On Jan 10, 2014 1:00 PM, > > wrote:
>>
>> perl -v gave me the same error message. Wouldn't XP
>> Compatibility mode be wrong for Windows 8?
>>
>>
>> on Jan 10, 2014, *John Fields* > > wrote:
>>
>> Hmmm. Just like Padre was doing at first.
>>
>> Let's recheck: run "Perl -v" and see if it still
>> gives you the version number and the paragraph of text.
>>
>> That should still work. If it doesn't then something
>> is different since wed night. May need to apply the
>> XP Compatibility mode setting to the Perl.exe file
>> under c:\strawberry since win8 makes life hard just
>> because it seems.
>>
>> On Jan 10, 2014 11:10 AM, > > wrote:
>>
>> With the command line open, I type "perl
>> helloworld.pl " (the name
>> of the file) and hit enter. It gives me the
>> "0xc000007" error message, refusing to execute
>> the program. I looked up answers online and a
>> lot of them are "reboot the machine" "try
>> reinstalling" etc. I rebooted and it didn't fix
>> anything. A registry-fixer was recommended but I
>> decided to uninstall it after installing. It
>> would be nice to have some help. Thank you.
>> Rick Azevedo
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rickazevedo2 at lycos.com Fri Jan 10 15:27:00 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Fri, 10 Jan 2014 23:27:00 +0000 (UTC)
Subject: [DFW.pm] Trouble running a simple perl program
References: undefined <52D0716C.3080400@internetalias.net>
Message-ID: <1433638066.189488.1389396421014.JavaMail.mail@webmail07>
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Fri Jan 10 15:30:09 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Fri, 10 Jan 2014 17:30:09 -0600
Subject: [DFW.pm] Trouble running a simple perl program
In-Reply-To: <1433638066.189488.1389396421014.JavaMail.mail@webmail07>
References: undefined <52D0716C.3080400@internetalias.net>
<1433638066.189488.1389396421014.JavaMail.mail@webmail07>
Message-ID: <52D08281.2090705@internetalias.net>
What's it like running on Windows 8? Too early to tell?
--Tommy Butler, who runs everything on Linux
On 01/10/2014 05:27 PM, rickazevedo2 at lycos.com wrote:
> I installed the 32 bit version of strawberry instead of the 64 bit
> version. Now I installed 64 bit, fixing the problem. Yeah!
>
> on Jan 10, 2014, *Tommy Butler* wrote:
>
> Don't run away too fast :-)
>
> Let us know what you find out and how your journey progresses. We
> care about helping you succeed. That's part of being a member of
> our community.
>
> --Tommy Butler
>
> On 01/10/2014 04:14 PM, rickazevedo2 at lycos.com
> wrote:
>> I think I'm using Strawberry... will look at perlmonks.org. thx
>> on Jan 10, 2014, *Tommy Butler*
>> wrote:
>>
>> I'm curious: Is there a particular reason why you are using
>> ActiveState Perl instead of Strawberry?
>>
>> In addition to this list I aways recommend that questions be
>> asked on www.perlmonks.org as well. The site looks like it's
>> straight out of the nineties, but it is actually tremendously
>> useful. They have a few resident Perl-On-Windows gurus too.
>>
>> --Tommy Butler
>>
>> On 01/10/2014 02:05 PM, rickazevedo2 at lycos.com
>> wrote:
>>> Sorry, but I have no idea. Is the Perl executable in XP
>>> compatibility mode?
>>>
>>> on Jan 10, 2014, *John Fields*
>>> wrote:
>>>
>>> Well poo. Getting the version worked on Wednesday night.
>>>
>>> No, because you are telling what you have (win8) to
>>> treat the program as if it was running on XP. Or to
>>> actually be backward compatible for this one program.
>>> Because win8 doesn't look back. Like a shark it has no neck.
>>> (Futurama joke)
>>>
>>> Try right clicking on the Perl.exe executable, select
>>> properties, compatibility tab, XP Service Pack 3 mode.
>>> Hmmmmmm.
>>>
>>> On Jan 10, 2014 1:00 PM, >> > wrote:
>>>
>>> perl -v gave me the same error message. Wouldn't XP
>>> Compatibility mode be wrong for Windows 8?
>>>
>>>
>>> on Jan 10, 2014, *John Fields* >> > wrote:
>>>
>>> Hmmm. Just like Padre was doing at first.
>>>
>>> Let's recheck: run "Perl -v" and see if it still
>>> gives you the version number and the paragraph
>>> of text.
>>>
>>> That should still work. If it doesn't then
>>> something is different since wed night. May
>>> need to apply the XP Compatibility mode setting
>>> to the Perl.exe file under c:\strawberry since
>>> win8 makes life hard just because it seems.
>>>
>>> On Jan 10, 2014 11:10 AM,
>>> >> > wrote:
>>>
>>> With the command line open, I type "perl
>>> helloworld.pl " (the
>>> name of the file) and hit enter. It gives
>>> me the "0xc000007" error message, refusing
>>> to execute the program. I looked up answers
>>> online and a lot of them are "reboot the
>>> machine" "try reinstalling" etc. I rebooted
>>> and it didn't fix anything. A
>>> registry-fixer was recommended but I decided
>>> to uninstall it after installing. It would
>>> be nice to have some help. Thank you. Rick
>>> Azevedo
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Fri Jan 10 15:58:26 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Fri, 10 Jan 2014 17:58:26 -0600
Subject: [DFW.pm] MooseX::XSAccessor With Moo?
Message-ID: <52D08922.8060304@internetalias.net>
Does it make sense to use MooseX::XSAccessor if you're using Moo?
--Tommy Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From saj at thecommune.net Fri Jan 10 16:09:37 2014
From: saj at thecommune.net (Stuart A Johnston)
Date: Fri, 10 Jan 2014 17:09:37 -0700
Subject: [DFW.pm] MooseX::XSAccessor With Moo?
In-Reply-To: <52D08922.8060304@internetalias.net>
References: <52D08922.8060304@internetalias.net>
Message-ID: <52D08BC1.30905@thecommune.net>
As of Moo 1.4.0, Class::XSAccessor will automatically be used if available.
On 01/10/2014 04:58 PM, Tommy Butler wrote:
> Does it make sense to use MooseX::XSAccessor if you're using Moo?
>
> --Tommy Butler
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
From dfwpm at internetalias.net Fri Jan 10 16:40:21 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Fri, 10 Jan 2014 18:40:21 -0600
Subject: [DFW.pm] MooseX::XSAccessor With Moo?
In-Reply-To: <52D08BC1.30905@thecommune.net>
References: <52D08922.8060304@internetalias.net>
<52D08BC1.30905@thecommune.net>
Message-ID: <52D092F5.30200@internetalias.net>
Thanks =)
By following Joel's advice and porting everything in my deduper over to
Moo, I've cut down my runtime by 30% in some cases -- well that and some
other optimizations.
--Tommy Butler
On 01/10/2014 06:09 PM, Stuart A Johnston wrote:
> As of Moo 1.4.0, Class::XSAccessor will automatically be used if
> available.
>
>
> On 01/10/2014 04:58 PM, Tommy Butler wrote:
>> Does it make sense to use MooseX::XSAccessor if you're using Moo?
>>
>> --Tommy Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rickazevedo2 at lycos.com Fri Jan 10 16:52:57 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Sat, 11 Jan 2014 00:52:57 +0000 (UTC)
Subject: [DFW.pm] Trouble running a simple perl program
References: undefined <52D08281.2090705@internetalias.net>
Message-ID: <268905986.190348.1389401577685.JavaMail.mail@webmail07>
An HTML attachment was scrubbed...
URL:
From yanick at babyl.dyndns.org Sat Jan 11 10:01:29 2014
From: yanick at babyl.dyndns.org (Yanick Champoux)
Date: Sat, 11 Jan 2014 13:01:29 -0500
Subject: [DFW.pm] MooseX::XSAccessor With Moo?
In-Reply-To: <52D092F5.30200@internetalias.net>
References: <52D08922.8060304@internetalias.net> <52D08BC1.30905@thecommune.net>
<52D092F5.30200@internetalias.net>
Message-ID: <52D186F9.9050801@babyl.dyndns.org>
On 14-01-10 07:40 PM, Tommy Butler wrote:
> By following Joel's advice and porting everything in my deduper over to
> Moo, I've cut down my runtime by 30% in some cases -- well that and some
> other optimizations.
That's surprising. I would have thought that after the compile phase
(assuming that all classes are made immutable and that method modifiers
are kept to a minimum), the running times of Moo and Moose would be in
the same ballpark... At some point, could be fun to profile the script
while it's using Moo, and then do it again after a global
s/(?=Moo)/se/g. :-)
Joy,
`/anick
From joel.a.berger at gmail.com Sat Jan 11 22:29:44 2014
From: joel.a.berger at gmail.com (Joel Berger)
Date: Sun, 12 Jan 2014 00:29:44 -0600
Subject: [DFW.pm] MooseX::XSAccessor With Moo?
Message-ID:
If you took my other suggestion and used Type::Tiny (versus Moose types)
then that might account for some speed gain as they are much faster than
their Moose-native counterparts.
Glad to see that my suggestions are sparking some interest :-)
Cheers,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dfwpm at internetalias.net Tue Jan 14 14:48:46 2014
From: dfwpm at internetalias.net (Tommy Butler)
Date: Tue, 14 Jan 2014 16:48:46 -0600
Subject: [DFW.pm] Hackathon Winners Announced
Message-ID: <52D5BECE.4040204@internetalias.net>
DFW.pm Winter 2013 hackathon winners have been announced formally on
dfw.pm.org Thank you all for your
participation in every form. It was SO MUCH FUN.
Winners, please send your mailing address info to dfwpm at internetalias
dotnet so we can get you your laser-cut racing camel award.
Again we thank The Perl Shop for their sponsorship and support. We WILL
do this again in the future! Until then, keep it humpy my friends.
--Tommy Butler, John Fields
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-dfwpm-deduplication-hackathon-winter-2013.png
Type: image/png
Size: 91014 bytes
Desc: not available
URL:
From john.dexter at psydefect.com Fri Jan 17 07:46:09 2014
From: john.dexter at psydefect.com (John Dexter)
Date: Fri, 17 Jan 2014 09:46:09 -0600
Subject: [DFW.pm] Fwd: Deal/Day: Save 50% on New Perl Ebooks - Become a Perl
Mastermind
In-Reply-To: <1389963802.31034.0.884227@post.oreilly.com>
References: <1389963802.31034.0.884227@post.oreilly.com>
Message-ID:
O'Reilly is selling all Perl ebooks for half price.
Sincerely,
John Dexter
---------- Forwarded message ----------
From: O'Reilly Media
Date: Fri, Jan 17, 2014 at 7:03 AM
Subject: Deal/Day: Save 50% on New Perl Ebooks - Become a Perl Mastermind
To: john.dexter at psydefect.com
Save 50% ? Perl Ebooks & Videos (View in
browser
)
[image: O'Reilly
Media]
Deal
of the Day
Become a Perl Mastermind [image: Ebooks in
Deal]
Perl makes easy things easy and hard things possible. It's amazingly
suitable for almost any task on any platform, from short fixes to complete
web applications. Start learning Perl today or supercharge your existing
skills by solving real-life problems of debugging, maintenance,
configuration, and more.
For *one day only*, SAVE 50% on Perl ebooks and videos from
shop.oreilly.comand
watch your productivity soar.
Ebooks from shop.oreilly.comare
*DRM-free*. You get *free lifetime access*, *multiple file formats*, and *free
updates*. Sync with *Dropbox* ? your files, anywhere.
View the titles
?
Use discount code: DEAL
This deal expires January 18, 2014 at 5:00am PT and cannot be combined with
other offers. Offer does not apply to Print, or "Print & Ebook" bundle
pricing.
Shop 7000+ tech books and training videos
shop.oreilly.com
You are receiving this message because you purchased directly from O'Reilly
or registered titles. Keep up on all things O'Reilly by signing up for
our *email
alerts and newsletters*
.
To ensure delivery to your inbox (not bulk or junk folders), please add
*oreilly at post.oreilly.com* to your address book.
To unsubscribe from all email announcements from O'Reilly, click
here.
O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472 (707)
827-7000
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rickazevedo2 at lycos.com Thu Jan 23 15:56:38 2014
From: rickazevedo2 at lycos.com (rickazevedo2 at lycos.com)
Date: Thu, 23 Jan 2014 23:56:38 +0000 (UTC)
Subject: [DFW.pm] Question on advice for Perl
Message-ID: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
An HTML attachment was scrubbed...
URL:
From coyo at darkdna.net Thu Jan 23 16:50:50 2014
From: coyo at darkdna.net (Coyo)
Date: Thu, 23 Jan 2014 18:50:50 -0600
Subject: [DFW.pm] Question on advice for Perl
In-Reply-To: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
References: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
Message-ID: <52E1B8EA.2010103@darkdna.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The best way to learn Perl, like most programming languages, is by
doing. Find a simple straightforward project that interests you and
can maintain your attention span, and don't be afraid to lookup the
wonderfully comprehensive documentation and tutorials I have been
pleased to discover Perl has.
Everything in, of and around Perl is beautifully documented, and its
behavior well-known. Like Python, you can do almost anything in Perl,
as it is well-supported by various industries.
If you would like, I can help you with getting started. I am also a
novice at Perl, even if I have more experience with computing and
programming in general, and since I know many experts don't remember
what it was like to be a newbie, other newbies are the best sources of
pro-tips.
On 1/23/2014 5:56 PM, rickazevedo2 at lycos.com wrote:
> Hello all, As you may remember, I started learning Perl recently
> and am going through "Learning Perl." I'm not stupid, but I do
> have a lot of questions about various things in the text. I wonder
> if you would recommend that I hire an expert in Perl to help me
> through this. I have been asking questions on Perlmonks.org and I
> feel like a bit of a drag. Rick Azevedo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJS4bjqAAoJEDEXTUGm1DyUyTIIAIyj0Nk16X1bteSMLD7u0/KR
AWjXpwikMdbHciOh6B2wgz1g305K10EOlbm0ocVTLTJWTR/UVOm0XmdqCfu+3HrZ
47y3BAGN3DF2GgRgBhZYJcU1sYl9lWHzeZnciLmvl8jwfihsMF9EFev005DgU8yf
2zVLZofbfViD8oxUFZOuK3dFbXMq4+e/D2B8Lg9t0Hyn0jQYKK8yx6Axhn2GDn/B
FHxZSh3ws7dKVHLSntkWofsfZLGnb22hPHm+fJjjVzxeehQF4Pfama29X9RIgCBl
thnaBe0KR37G0nXBCroYODIRoVI0GBvoXrt7+PSQ/1Nyioha80Ia4WnSvUBHNWM=
=qkVJ
-----END PGP SIGNATURE-----
From wigthft at gmail.com Tue Jan 28 09:37:02 2014
From: wigthft at gmail.com (John Fields)
Date: Tue, 28 Jan 2014 11:37:02 -0600
Subject: [DFW.pm] Question on advice for Perl
In-Reply-To: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
References: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
Message-ID:
Rick,
We could setup a time to walk through your issues via a google Hangout
screen share. Nights or weekends..
It might help to see how to use the reference tools that are available.
They are references, and not tutorials, so while the answer is indeed in
there... :)
If you pay for perl learning, it would be an online class, and they would
start over with their texts.
http://alison.com/courses/Perl-Programming seems fairly good structured
start, but you won't be using any of the CGI stuff. :)
Also check out http://perlmaven.com/ Gabor always finds some really cool
stuff to write about. I follow him on G+
Don't give up!
JF
On Thu, Jan 23, 2014 at 5:56 PM, wrote:
> Hello all,
> As you may remember, I started learning Perl recently and am going through
> "Learning Perl." I'm not stupid, but I do have a lot of questions about
> various things in the text. I wonder if you would recommend that I hire an
> expert in Perl to help me through this. I have been asking questions on
> Perlmonks.org and I feel like a bit of a drag. Rick Azevedo
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From sri at vedurumudi.com Tue Jan 28 09:48:50 2014
From: sri at vedurumudi.com (Sriharsha Vedurumudi)
Date: Tue, 28 Jan 2014 12:48:50 -0500
Subject: [DFW.pm] Question on advice for Perl
In-Reply-To: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
References: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
Message-ID:
Is there a place that has a list of your questions? I can try to help
(having just completed my first and only, yet a fairly complex project in
Perl) if you can list them out.
Regards,
Sri
On Jan 23, 2014 6:56 PM, wrote:
> Hello all,
> As you may remember, I started learning Perl recently and am going through
> "Learning Perl." I'm not stupid, but I do have a lot of questions about
> various things in the text. I wonder if you would recommend that I hire an
> expert in Perl to help me through this. I have been asking questions on
> Perlmonks.org and I feel like a bit of a drag. Rick Azevedo
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From sriharsha at vedurumudi.com Tue Jan 28 09:44:46 2014
From: sriharsha at vedurumudi.com (Sriharsha Vedurumudi)
Date: Tue, 28 Jan 2014 12:44:46 -0500
Subject: [DFW.pm] Question on advice for Perl
In-Reply-To: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
References: <896327742.7993.1390521398345.JavaMail.mail@webmail20>
Message-ID:
Is there a place that has a list of your questions? I can try to help
(having just completed my first and only, yet a fairly complex project in
Perl) if you can list them out.
Regards,
Sri
On Jan 23, 2014 6:56 PM, wrote:
> Hello all,
> As you may remember, I started learning Perl recently and am going through
> "Learning Perl." I'm not stupid, but I do have a lot of questions about
> various things in the text. I wonder if you would recommend that I hire an
> expert in Perl to help me through this. I have been asking questions on
> Perlmonks.org and I feel like a bit of a drag. Rick Azevedo
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: