On Feb 8, 2013, at 12:33 PM, Chris Devers wrote:
> I'd advise reading this:
>
> http://www.kalzumeus.com/2013/01/31/what-the-rails-security-issue-means-for-your-startup/
>
> Then think real hard about if YAML is the way to go for *anything* right
> now.
>
> The current problem is with Ruby,
On Jun 22, 2009, at 9:23 AM, Diab Jerius wrote:
They're now TechBookSolutions. Same friendly people. Here's contact
info:
TechBookSolutions
60 Thoreau St., Suite 295
Concord, MA 01742
Cell 978-807-3234
Voice 978-610-2787
Fax 978-759-0073
If
I'd say keep the meeting as scheduled. You are right next to the Red
Line, and I don't expect it to stop running just because of a little
snow or ice.
(That said, I haven't yet decided if I'm going to your meeting or the
Ruby meeting in the same neighborhood tonight.)
>
>Another "brew pub" in the area is John Harvard's in Harvard Square.
>It's a but yuppity, but has a geek-friendly basement venue :-P
Unless you're in the private room, John Harvard's is really, really loud.
___
Boston-pm mailing list
>If you're coming in with a cruise ship, you might be docking somewhere
>near the aquarium
Maybe, but Black Falcon terminal in South Boston is more likely. Unfortunately,
that's not near much of anything. You can take a Silver Line bus from there
to South Station, or get a water taxi to the
>> on Oct. 22nd.
>If the Red Sox are *not* playing
This year, that's a VERY safe assumption ;-(
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
>more importantly, what is the syntax for passing a filehandle
>into a routine if it is FILEHANDLE instead of $FILEHANDLE?
foo(*FILEHANDLE)
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
On Nov 30, 2005, at 12:03 AM, Federico Lucifredi wrote:
> my $maxlen = 4;
>
> my @indices = (0, 0, 0, 0); # how do I init this array so that it is
> $maxlen zeros long ?
my @indices = 0 x $maxlen;
>unless (++$i == $maxlen)
>{ last; } # can we get rid of some braces somehow ?!
>my $string = "abc";
>my $match = "ab(c";
>
>if($string =~ m/$match/){ print "MATCH!\n"; }
>What's the right way to do this without escaping every
>non-alpha character?
my $match = quotemeta("ab(c");
___
Boston-pm mailing list
Boston-pm@mail.pm.org
On Aug 15, 2005, at 11:17 AM, Kripa Sundar wrote:
> I asked him to re-write it as:
>
> system("cat $somefile | mail -s '$something' $audience");
Which of course should really be written as:
system("mail -s '$something' '$audience' < $somefile");
> Any suggestions for a pizza place near MIT for tonight?
There's always Bertucci's, on Main Street between Central and Kendall
squares.
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
You need a Content-Length: header with a POST.
Try adding this to your headers:
Content-Length: 36
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
On Nov 24, 2004, at 1:15 AM, Kripa Sundar wrote:
I want to do a chgrp() without invoking a child process.
perldoc -f chown says:
chown LIST
Changes the owner (and group) of a list of files. The
first
two elements of the list must be the numeric uid and
gid,
Friday evening, Sept. 24 is the beginning of Yom Kippur, so please
don't do it then.
the bad news is that the sox are in town all week so we can't use BU.
Well, maybe it's not *preferable*, but we could still do it, unless the
usual room is otherwise occupied.
I've never really understood the rules for when it's "OK" to use undef as if
it were 0 or "", and when it is "not OK" (generates a warning). Can someone
summarize them, or point me to a reference?
___
Boston-pm mailing list
[EMAIL PROTECTED]
>> That's not a typical web crawler, and obviously not what I meant.
>>Such databases already exist (e.g. bugmenot) but using them to rip a
>>page is definitely abusive.
Not abusive at all. It's a public service.
>> Think Google, not rip-off.
Go to news.google.com and you will see many results
On Aug 6, 2004, at 6:14 AM, Ted Zlatanov wrote:
Advertising based news sites will probably be even less appreciative
of mirroring and caching as more and more of them turn into
registration based sites.
You misunderstand. If registration is required, a crawler will fail
anyway,
Unless the crawler
If I run this under mod_perl:
#!/usr/bin/perl
use CGI::Carp;
die "Death by chocolate\n";
the Apache error log reads:
[Tue Aug 3 17:54:00 2004] [error] [Tue Aug 3 17:54:00 2004] null: Death by
chocolate
If I run it without mod_perl, it prints out the name of my script instead of
"null".
>Upon further testing I verified that the statement
>"my $picture = $query->upload("$file");"
>is indeed returning undefined.
>
>What would cause that?
Show us the entire HTML FORM that contains the file upload field.
___
Boston-pm mailing list
[EMAIL
>
>Assuming your using CGI.pm (and you really do want to for this sort of
>thing, IMHO) all you should need to add to your CGI is:
> use CGI qw(:standard);
> my $cgi = new CGI;
> my $picture = $cgi->upload('forms_file_field_name');
> ("no file?") unless defined $picture; #
On Aug 2, 2004, at 8:04 AM, Palit, Nilanjan wrote:
In each case, the actual $_ substitution occurs fine. Case A seems to
behave as expected. However, in case B, somehow $1 & $2 lose their
value
once inside the {}.
This does not happen when I run your program with perl 5.8.1-RC3 on
MacOS X 10.3.4
On Jul 28, 2004, at 8:58 PM, Ranga Nathan wrote:
Is there a quick way to convert a time stamp (date & time) as seconds
since 1900-01-01 00:00:00?
time() uses 1970 as base (epoch).
time() + (24*60*60)*((365*70)+int(70/4))
24*60*60 is the number of seconds in a day
365*70 is the number of days in
>If I intend to write something like
>s/([ab])c/$1c/;
>but accidentally omit the parentheses and write
>s/[ab]c/$1c/;
>I get a run time error message -- assuming
>the pattern matches the input data.
>But if the test data does not expose
>this bug I might not find out about it until later.
>
>Is
On Jun 11, 2004, at 11:21 PM, Dan Sugalski wrote:
Good question. So far as I know, it's open to the public. (I assumed
it was, at least, but I completely forgot to check)
GBC/ACM meetings are always open to the public.
___
Boston-pm mailing list
[EMAIL
>$grand_total += total1;
>$grand_total += total2;
>$grand_total += total3;
>$grnad_total += total4;
> ^^^
>
>$grnad_total is used only once and is most likely a tupo.
"use strict" should complain about that, even without warnings turned on. Assuming
that you never declared $grnad_total, of
>
>Is there a way to set the line seaprator for sockets only? When I set $/
>to undef that works only for STDIN.
Setting it to undef is not what you want to do. That means "read in the rest
of the file at once" -- which will block forever if you're reading from something
that doesn't have an
I'd rather have the meeting at the same time every month, so we can enter it
into the regular schedules of places like www.bugc.org and www.bostonusergroups.com
. Is it that big a deal to occasionally have a Red Sox game going on 3 blocks
away?
___
If I try to match a regular expression that contains parentheses, and
the match fails, shouldn't $1 be set to undef rather than keeping
whatever value it had before? The following program demonstrates what
looks to me like very strange behavior. Adding "local $1 = undef;" in
the position
On Apr 12, 2004, at 10:40 AM, Sean Quinlan wrote:
If Boston.com is not available I do have access to rooms near the T.
Why are we no longer able to use Boston.com? Has everyone there
switched to Python or PHP or Ruby?
___
Boston-pm mailing list
On Dec 17, 2003, at 11:15 AM, [EMAIL PROTECTED] wrote:
I use perl/Tk, and I have written a LOT of GUI's for
scripts at work.
I installed this on my OS X machine, and got this error when I ran your
script:
unknown option "text" at
/Library/Perl/5.8.1/darwin-thread-multi-2level/Tk/Widget.pm line
On Dec 10, 2003, at 9:39 PM, Ron Newman wrote:
If I slurp a file into a string variable (either Uri's way or my own
way), and then do a regexp match, I'd like to determine the line
number(s) of the match.Is there a straightforward or canonical way
to do this?
I've already gotten one
On Wednesday, August 13, 2003, at 01:21 PM, Timothy Kohl wrote:
(!$value)
will catch zero "0" and undefs, but not "0.0".
He doesn't want to catch either "0" or "0.0" .
___
Boston-pm mailing list
[EMAIL PROTECTED]
On Wednesday, August 13, 2003, at 12:55 PM, Vince Coccia wrote:
Wouldn't the simple solution work? Just check for the defined-ness of
the
element?
No. The element IS defined, but it is an empty string.
___
Boston-pm mailing list
[EMAIL PROTECTED]
On Monday, July 14, 2003, at 12:07 PM, Mikey Smelto wrote:
Has anyone else noticed that Mail.app's junk filter has basically
stopped filtering out junk mail?
Not me. It doesn't catch everything, but it catches quite a bit.
It is possible that your ~/Library/Mail/LSMMap file has been
I don't know if either of these really address the performance issue,
but ...
$REC="";
$REC=;
the first assignment serves no purpose since you are immediately
overwriting it.
# Contruct Host Response String
$RECIN="$RECIN"."$REC";
Would the Perl compiler generate better code for
$RECIN .=
Although I think we've solved your immediate problem,
in the future it's a good idea to be more specific than this:
they both failed! any ideas
Instead, say
"It failed with this error message: blah blah blah"
or
"It exited without printing anything and created an empty output file"
or whatever
On Thursday, February 27, 2003, at 01:43 PM, Carlton Lo wrote:
Hi,
I'm new to perl, I'm trying to write a pl script that would open a
gzipped txt file. Is there any functions where I can call for this.
I've tried the followings:
method #1 open(IN, "gunzip -c data.gz") || die "cannot open
On Tuesday, February 11, 2003, at 12:23 PM, Gyepi SAM wrote:
I don't see how '*@*.aol.*' can match '[EMAIL PROTECTED]'.
How do you account for the first '.' in the match expression?
For that matter, can a regular expression validly begin with "*" at all?
What does that mean?
And why would
Unix folks are used to these limitations on how you can use
environment variables. Do things work the same way in Windows?
___
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm
You *could* have the perl script set all of the environment
variables, then exec a new shell.
___
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm
I'm trying to use the CPAN shell to fetch and build a package,
but not having any luck. What am I doing wrong, and how do
I reconfigure my system to do it right?
cpan> make DBI
Running make for module DBI
Running make for T/TI/TIMB/DBI-1.32.tar.gz
Issuing "/usr/bin/ftp -n"
/usr/bin/ftp: No
On Friday, January 3, 2003, at 03:51 PM, Drew Taylor wrote:
I just ran across an Eudora importer for Mail.app on version tracker
yesterday.
"Eudora Mailbox Cleaner - 1-step migration from Eudora to Mail.app"
http://www.versiontracker.com/moreinfo.fcgi?id=13341=mac
It's not perfect, but it's
On Thursday, January 2, 2003, at 11:10 AM, Drew Taylor wrote:
1. Are there any local Mac mailing lists? I'm subscribed to
[EMAIL PROTECTED] already.
You'll want to get on the announcement list for the
Boston Mac Users' Group, bmac.org . Here's the annoncement
for next week's meeting:
On Monday, December 30, 2002, at 10:21 PM, Bill N1VUX wrote:
But did you use PERL or just raw XSLT ? Boston.PM is waiting to hear.
Sorry, no Perl, just the Xalan Java XSLT processor
(http://xml.apache.org/xalan-j/ ), with a little help from the "tidy"
program
Most user groups in the Boston area are listed on these two web sites:
http://www.bugc.org - Boston user Groups Calendar
http://www.BostonUserGroups.com
The first site has a very useful day-by-day calendar of user group
meetings.
The second has a fixed list of regularly scheduled
On Friday, October 11, 2002, at 12:05 PM, Mark Aisenberg wrote:
> You cite CPAN modules as
> a place to find examples of good style; my experience is that many CPAN
> modules are poorly written, almost devoid of comments, hard-wired to
> assume Unix, etc. One wonderful example of CPAN module
On Tuesday, October 8, 2002, at 11:18 PM, Chris Devers wrote
> On a different note, last weekend on NPR there was a puzzle that it
> seems
> to me could be solved pretty neatly by a Perl script, and I'm curious
> what solutions people would try for it. Consider the following string:
>
> 1
47 matches
Mail list logo