Re: Perl best practices (was: question ... Split operator in Perl)

2007-09-12 Thread John Abreau

On Wed, September 12, 2007 9:37 pm, Ben Scott said:

> s/^[\x20\t]*//; # trim leading space
> s/[\x20\t]*$//; # trim trailing space
>

Any particular reason to use [\x20\t] instead of \s ?


-- 
John Abreau / Executive Director, Boston Linux & Unix
IM: [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL 
PROTECTED]
Email [EMAIL PROTECTED] / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: sendmail masquerading question

2007-09-12 Thread Bill McGonigle
On Sep 9, 2007, at 21:25, Ben Scott wrote:

>   What would be needed to configure Postfix on SATURN to rewrite
> "From" addresses (masquerade, in Sendmail terms) for Steven's machines
> to be <@syslang.net>?  Don't forget it has to rewrite mail from PLUTO
> as well as locally-originated mail.

For the simple case like this you can get away with:

   masquerade_domains = syslang.net

and if you want to get fancy:

   masquerade_classes = envelope_sender, envelope_recipient,  
header_sender, header_recipient

and possibly:

   masquerade_exceptions = root

For more complex stuff there's a 'virtual' table that has all kinds  
of other rules.

>   I regard sendmail.cf as I do object code: Opaque, intended for
> machine and not human consumption, and best generated by other
> programs.  I understand there are those who actually manipulate
> sendmail.cf directly.

For some reason the problems I seem to run into seem to do not have  
an .mc macro defined. :(   Sometimes I can find a hint online, but  
the community seems to be sparse.

Try searching on how to change the hostname sendmail sends for HELO  
greeting (no peeking below).  It took me what I thought was too long,  
like a few hours to find it.  Maybe I was having a Bad Google Day, I  
dunno.  For the archives:





   --- submit.cf~  2007-05-23 11:56:08.0 -0400
   +++ submit.cf   2007-09-13 01:34:17.0 -0400
   @@ -65,6 +65,7 @@
   # my official domain name
   # ... define this only if sendmail cannot automatically determine  
your domain
   #Dj$w.Foo.COM
   +Djlibrescu.bfccomputing.com
   # host/domain names ending with a token in class P are canonical
   CP.

-Bill

-
Bill McGonigle, Owner   Work: 603.448.4440
BFC Computing, LLC  Home: 603.448.1668
[EMAIL PROTECTED]   Cell: 603.252.2606
http://www.bfccomputing.com/Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [semi-OT] Review: Comcast Workplace cable Internet

2007-09-12 Thread Bill McGonigle
On Sep 10, 2007, at 16:48, Bruce Dawson wrote:

> I seem to remember somewhere that Comcast's "available" meant you  
> get a
> signal. This is generally possible if the wire is unbroken between the
> last pole and your building entrance. However, this does not guarantee
> signal quality - which is what matters here.

Right, and as I understand it, a cable signal is sufficient - if  
they're not connected to the Internet at the time, you don't have an  
outage as long as your modem can talk to your pole.

> Comcast's standard answer seems to be "about $30,000" for any place
> that's remotely rural and doesn't have comcast already on the  
> poles. You
> really need to get them to come out and do a "survey" of your  
> location.

Up here they quoted double that.  Good to know about the site survey  
- we just balked at $60K and built our own network instead

-Bill

-
Bill McGonigle, Owner   Work: 603.448.4440
BFC Computing, LLC  Home: 603.448.1668
[EMAIL PROTECTED]   Cell: 603.252.2606
http://www.bfccomputing.com/Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Motherboard capable of supporting over 32 GB RAM

2007-09-12 Thread Dan Miller
The Tyan S2927 Thunder n3600B supports 32GB of RAM. It only does DDR 677
though. More info http://tyan.com/product_board_detail.aspx?pid=175.
Check out Tyan though, they might have what you want.

The s2927 is a very nice more. I'm running it with very little issues.

Dan

Dan Jenkins wrote:
> Does anyone have any recommendations? Preferably with DDR-800 support.
> It'll run both Linux and Windows XP 64 and is used for simulations.
> Thanks.
> 
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Stephen Ryan
On Wed, 2007-09-12 at 17:23 -0400, Lloyd Kvam wrote:
> On Wed, 2007-09-12 at 13:03 -0400, Ben Scott wrote:
> > On 9/12/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > >> Error trying to open /dev/scd0 exclusively (Device or resource
> > >> busy)... retrying in 1 second.
> > > >
> > >
> > > That exclusivity error only shows up sometimes.  I think the retry
> > > succeeds.
> > 
> >   Right, because the auto-thingies all work by polling the device.  So
> > if they happen to be polling the device when wodim tries to open it,
> > you get the warning.  Then they close the present poll, and wodim
> > retries, and it works.  Then, during the middle of the write, they
> > poll again, and kablooie.
> > 
> >   At least, that's my theory.
> 
> Well I shutdown to single user mode.  wodim chugs along until it thinks
> it has written 26 MB and then decides that things are not working.  The
> CD media still appears to be blank.
> 
> I have downloaded the cdrtools from berlios.de and will see if that
> makes a difference.  I just need to be careful about fouling up my
> fedora 7 stuff.

What about going the other way around?  Try the GUI CD burner - you
should be able to right-click on the .iso and select "Write to
Disc...".  
-- 
Stephen Ryan
Dartware, LLC

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Motherboard capable of supporting over 32 GB RAM

2007-09-12 Thread Dan Jenkins
Does anyone have any recommendations? Preferably with DDR-800 support.
It'll run both Linux and Windows XP 64 and is used for simulations.
Thanks.

-- 
Dan Jenkins ([EMAIL PROTECTED])
Rastech Inc., Bedford, NH, USA --- 1-603-206-9951
*** Technical Support Excellence for over a Quarter Century

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Perl best practices (was: question ... Split operator in Perl)

2007-09-12 Thread Ben Scott
On 9/12/07, Paul Lussier <[EMAIL PROTECTED]> wrote:
>>   You don't need to put parenthesis around arguments to split, and you
>> don't need to explicitly specify the default pattern match target
>> ($_).
>
> Unfortunately, you both "don't *need* to" and "*can* do" anything in
> perl.  Often at the same time!  This is what leads to very difficult
> to read, and more difficult to maintain perl code.

  Well, this is something of a religious issue.  :)  But here's my opinion:

  Personally, in the proper context, I find this:

@foo = split m{blah};

to be easier to read and comprehend at a glance than this:

@foo = split (m{blah}, $_);

  The "proper context" being a loop or other pattern where I'm running
a series of operations on a series of inputs (i.e., lines).  In those
contexts, where the whole point is to perform a series of operations
on each input, assembly-line fashion, using the the implicit argument
lets me focus on what the code is actually *doing*.  Explicitly
specifying $_ over and over again just clutters up the code with
pointless syntax.  It's one more thing my brain has to recognize and
process.

  I don't arbitrarily assign to $_ and use it at random, the way some
people do.  And I do make use of parenthesis, braces, and such, even
when they are not needed, when I find it makes the code clearer.  But
I also leave them out when I find it makes the code clearer.

  For a slightly less contrived example, take a script which trims
leading and trailing whitespace from each line in an input file.  I
already have one implementation, and I just wrote up another one.
Here's one of the possible implementations:

#!/usr/bin/perl
$filename = $ARGV[0];
if ($filename eq "") {
open(INPUTFILE, "<&STDIN");
}
else {
open(INPUTFILE, "< $filename") or die("could not open input file!");
}
while(not(eof(INPUTFILE))) {
$line = ;
$line =~ s/^[\x20\t]*//; # trim leading space
$line =~ s/[\x20\t]*$//; # trim trailing space
print($line);
}

  And here is another possibility:

#!/usr/bin/perl -p
s/^[\x20\t]*//; # trim leading space
s/[\x20\t]*$//; # trim trailing space

  Assuming the reader is familiar with the language, which do you
think will be easier/quicker to comprehend?

  It may be true that someone who *isn't* familiar with Perl would
find it easier to puzzle out the meaning of the longer version.  But I
don't find that a particularly compelling argument.  I write Perl
programs with the assumption that the reader understands Perl, the
same way I am assuming readers of this message understand English.  :)

  This may mean Perl, as practiced, is harder to learn than a language
which is more rigid and always verbose.  Many say similar things about
Unix.  Or Emacs.  :-)  I'm don't argue that one approach is right and
the other wrong, but I do think that both approaches have their
merits.

  YMMV.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: a question regarding the use of Split operator in Perl

2007-09-12 Thread Paul Lussier
"Ben Scott" <[EMAIL PROTECTED]> writes:

>   You don't need to put parenthesis around arguments to split, and you
> don't need to explicitly specify the default pattern match target
> ($_).

Unfortunately, you both "don't *need* to" and "*can* do" anything in
perl.  Often at the same time!  This is what leads to very difficult
to read, and more difficult to maintain perl code.

While you don't *need* to put parenthesis around the args to split, or
most any perl function, and you don't *need* to specify the default
pattern match target, it is considered a "best practice" to do so.

I highly recommend Damian Conway's book "Perl Best Practices", which
outlines these and many other useful pieces of advice.
-- 
Seeya,
Paul
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Frank DiPrete
On Wed, 2007-09-12 at 09:08 -0400, Ben Scott wrote:
> On 9/11/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > I recently upgraded my laptop from fedora 6 to fedora 7.  Now I've
> > discovered I can no longer burn CDs or DVDs.
> 
>   In the past, I've had trouble with those auto-media-detect-and-mount
> daemons trying to auto-mount a disc as I'm trying to write to it.  I
> suspect you might be having the same problem, because of this in your
> wodim output:
> 
> Error trying to open /dev/scd0 exclusively (Device or resource
> busy)... retrying in 1 second.
> 
>   Since I hate those auto-thingies anyway, I just killed them off, and
> renamed the binary to keep them from starting again.  (Removing the
> package often isn't a good idea because the package may also provide a
> library other programs link against.)
> 
> I remember the GNOME auto-thingy was called "MagicDev" at one time.  I
> don't remember the name of the KDE auto-thingy, and I don't know if
> either of those might be using a new auto-thingy by now.  (As of late,
> I'm running FVWM, which doesn't start auto-thingies by default anyway,
> so I don't have recent experience.)
> 
> -- Ben


gnome has a setting to turn off auto mountng media on insert.

System, Prefs, Removable Drives and Media.
The default is checked/on.
After removing the options the behavior stops.

-- Another hater of auto thingies ;)



> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> 
> 

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: AMD Releases 900+ Pages Of GPU Specs

2007-09-12 Thread Tony Lambiris
I find that interesting as well. My first experience with Linux was on
Slackware 3. trying to get X working with my ATI rage 3D
integrated graphics card... I spent many sleepless nights trying to
get that to work, so needless to say ATI has always left a bitter
taste in my mouth. :)

In fact, if AMD hadn't bought ATI and ATI released specs on their own
accord, they would get huge brownie points from me, but I don't know
if I'd move as fast in terms of migrating to their chips; but with AMD
backing them, a company I personally admire for fighting the good
fight, they get my support as long as they keep on keepin' on.

On a side note, I tried to email NVIDIA through their online customer
support form to let them know "too little too late, you can keep your
binary blobs"... unfortunately it was down (technically it said "this
module isn't configured yet" or something to that effect), but I can
guarantee this announcement (and the follow-through) are rattling a
few cages. ;)

On 9/12/07, Jon 'maddog' Hall <[EMAIL PROTECTED]> wrote:
> Tony,
>
> As normal, I probably understated my enthusiasm for what AMD/ATI have
> done.  I do find it interesting that it seemed to take AMD buying ATI
> before this happened.  AMD has long been a supporter of FOSS.  They were
> one of the first sponsors of the Linux kernel summit.
>
> I also find it interesting that this seems to be "standards done right".
> While I am a little distressed that some of the specifications are sent
> out under NDA, this can sometimes be a legal/liability thing, to protect
> AMD/ATI from issues in the spec.  Also I note in some of the articles
> that they acknowledge that some of the specs are not up to snuff, so
> they will be putting out "sample code" to show how it works.
>
> Finally, they say that they will continue to work on their close-source
> proprietary driver...for those people that want peak performance. :-)
>
> >From my experiences with Digital's proprietary X Window System servers
> many years ago, I could predict this someday coming to a close, as some
> of the best minds in the computer industry work together to make the
> FOSS drivers stellar.  Just a hunch.
>
> Warmest regards,
>
> maddog
> 
>
> On Wed, 2007-09-12 at 17:33 -0400, Tony Lambiris wrote:
> > I haven't touched an Intel product since the days of them charging
> > over $500 for a processor. AMD came in and stomped them with their K7,
> > and as long as AMD continues to do the Right Thing(tm), they will
> > always have my support.
> >
> > I've already begun liquidating my NVIDIA stuff; even if they start
> > releasing specs with no NDA, it's too little too late in my eyes.
> >
> > Three cheers for AMD, who have been leading the way, showing the rest
> > of the world there is nothing to fear in releasing docs on how your
> > hardware works (you know, the thing that I paid for and now own). Even
> > when all the 64 bit stuff was being developed they were on the front
> > lines with open source.
> >
> > On 9/12/07, Jon 'maddog' Hall <[EMAIL PROTECTED]> wrote:
> > > On Wed, 2007-09-12 at 16:18 -0400, Tony Lambiris wrote:
> > > > http://www.phoronix.com/scan.php?page=news_item&px=NjA1Mw
> > > >
> > > > Thoughts?
> > >
> > > Well, I have not seen the document, but it seems about 5,700 pages
> > > shorter than the OOXML specification.  Probably clearer and fewer bugs
> > > in the specification.
> > >
> > > And the article is talking about releasing a new 500/600 Open Source
> > > driver next week.
> > >
> > > Seems like the right path to me.
> > >
> > > With Intel and AMD both releasing FOSS drivers, will NVidea be far
> > > behind?  Inquiring minds want to know.
> > >
> > > md
> > >
> > >
>
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: AMD Releases 900+ Pages Of GPU Specs

2007-09-12 Thread Jon 'maddog' Hall
Tony,

As normal, I probably understated my enthusiasm for what AMD/ATI have
done.  I do find it interesting that it seemed to take AMD buying ATI
before this happened.  AMD has long been a supporter of FOSS.  They were
one of the first sponsors of the Linux kernel summit.

I also find it interesting that this seems to be "standards done right".
While I am a little distressed that some of the specifications are sent
out under NDA, this can sometimes be a legal/liability thing, to protect
AMD/ATI from issues in the spec.  Also I note in some of the articles
that they acknowledge that some of the specs are not up to snuff, so
they will be putting out "sample code" to show how it works.

Finally, they say that they will continue to work on their close-source
proprietary driver...for those people that want peak performance. :-)

>From my experiences with Digital's proprietary X Window System servers
many years ago, I could predict this someday coming to a close, as some
of the best minds in the computer industry work together to make the
FOSS drivers stellar.  Just a hunch.

Warmest regards,

maddog


On Wed, 2007-09-12 at 17:33 -0400, Tony Lambiris wrote:
> I haven't touched an Intel product since the days of them charging
> over $500 for a processor. AMD came in and stomped them with their K7,
> and as long as AMD continues to do the Right Thing(tm), they will
> always have my support.
> 
> I've already begun liquidating my NVIDIA stuff; even if they start
> releasing specs with no NDA, it's too little too late in my eyes.
> 
> Three cheers for AMD, who have been leading the way, showing the rest
> of the world there is nothing to fear in releasing docs on how your
> hardware works (you know, the thing that I paid for and now own). Even
> when all the 64 bit stuff was being developed they were on the front
> lines with open source.
> 
> On 9/12/07, Jon 'maddog' Hall <[EMAIL PROTECTED]> wrote:
> > On Wed, 2007-09-12 at 16:18 -0400, Tony Lambiris wrote:
> > > http://www.phoronix.com/scan.php?page=news_item&px=NjA1Mw
> > >
> > > Thoughts?
> >
> > Well, I have not seen the document, but it seems about 5,700 pages
> > shorter than the OOXML specification.  Probably clearer and fewer bugs
> > in the specification.
> >
> > And the article is talking about releasing a new 500/600 Open Source
> > driver next week.
> >
> > Seems like the right path to me.
> >
> > With Intel and AMD both releasing FOSS drivers, will NVidea be far
> > behind?  Inquiring minds want to know.
> >
> > md
> >
> >

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: AMD Releases 900+ Pages Of GPU Specs

2007-09-12 Thread Tony Lambiris
I haven't touched an Intel product since the days of them charging
over $500 for a processor. AMD came in and stomped them with their K7,
and as long as AMD continues to do the Right Thing(tm), they will
always have my support.

I've already begun liquidating my NVIDIA stuff; even if they start
releasing specs with no NDA, it's too little too late in my eyes.

Three cheers for AMD, who have been leading the way, showing the rest
of the world there is nothing to fear in releasing docs on how your
hardware works (you know, the thing that I paid for and now own). Even
when all the 64 bit stuff was being developed they were on the front
lines with open source.

On 9/12/07, Jon 'maddog' Hall <[EMAIL PROTECTED]> wrote:
> On Wed, 2007-09-12 at 16:18 -0400, Tony Lambiris wrote:
> > http://www.phoronix.com/scan.php?page=news_item&px=NjA1Mw
> >
> > Thoughts?
>
> Well, I have not seen the document, but it seems about 5,700 pages
> shorter than the OOXML specification.  Probably clearer and fewer bugs
> in the specification.
>
> And the article is talking about releasing a new 500/600 Open Source
> driver next week.
>
> Seems like the right path to me.
>
> With Intel and AMD both releasing FOSS drivers, will NVidea be far
> behind?  Inquiring minds want to know.
>
> md
>
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Lloyd Kvam
On Wed, 2007-09-12 at 13:03 -0400, Ben Scott wrote:
> On 9/12/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> >> Error trying to open /dev/scd0 exclusively (Device or resource
> >> busy)... retrying in 1 second.
> > >
> >
> > That exclusivity error only shows up sometimes.  I think the retry
> > succeeds.
> 
>   Right, because the auto-thingies all work by polling the device.  So
> if they happen to be polling the device when wodim tries to open it,
> you get the warning.  Then they close the present poll, and wodim
> retries, and it works.  Then, during the middle of the write, they
> poll again, and kablooie.
> 
>   At least, that's my theory.

Well I shutdown to single user mode.  wodim chugs along until it thinks
it has written 26 MB and then decides that things are not working.  The
CD media still appears to be blank.

I have downloaded the cdrtools from berlios.de and will see if that
makes a difference.  I just need to be careful about fouling up my
fedora 7 stuff.

> 
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: AMD Releases 900+ Pages Of GPU Specs

2007-09-12 Thread Jon 'maddog' Hall
On Wed, 2007-09-12 at 16:18 -0400, Tony Lambiris wrote:
> http://www.phoronix.com/scan.php?page=news_item&px=NjA1Mw
> 
> Thoughts?

Well, I have not seen the document, but it seems about 5,700 pages
shorter than the OOXML specification.  Probably clearer and fewer bugs
in the specification.

And the article is talking about releasing a new 500/600 Open Source
driver next week.

Seems like the right path to me.

With Intel and AMD both releasing FOSS drivers, will NVidea be far
behind?  Inquiring minds want to know.

md

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Tyson Sawyer
FWIW, I've not had any problems like this w/Gnome/Ubuntu and it has
the automount thingies.  the automount stuff does annoy me from time
to time, but it doesn't cause failures when burning CDs or DVDs.

Cheers!
Ty

On 9/12/07, Ben Scott <[EMAIL PROTECTED]> wrote:
> On 9/12/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> >> Error trying to open /dev/scd0 exclusively (Device or resource
> >> busy)... retrying in 1 second.
> > >
> >
> > That exclusivity error only shows up sometimes.  I think the retry
> > succeeds.
>
>   Right, because the auto-thingies all work by polling the device.  So
> if they happen to be polling the device when wodim tries to open it,
> you get the warning.  Then they close the present poll, and wodim
> retries, and it works.  Then, during the middle of the write, they
> poll again, and kablooie.
>
>   At least, that's my theory.
>
> -- Ben
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>


-- 
Tyson D Sawyer

I prefer dangerous freedom over peaceful slavery. -- Thomas Jefferson
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


AMD Releases 900+ Pages Of GPU Specs

2007-09-12 Thread Tony Lambiris
http://www.phoronix.com/scan.php?page=news_item&px=NjA1Mw

Thoughts?
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [semi-OT] Review: Comcast Workplace cable Internet

2007-09-12 Thread Ben Scott
On 9/12/07, Neil Joseph Schelly <[EMAIL PROTECTED]> wrote:
> I'm sure that something like FiOS would be stable enough for us.  Cable
> seems a little unreliable ...

  To the best of my knowledge, all the Verizon FiOS and Comcast data
services are "consumer class".  They'll be pretty much similar in
terms of expectation of reliability -- i.e., none.  Note that I said
*expectation* of reliability.  Many of them end up being reasonably
reliable for long lengths of time.  But you cannot depend on it.

  The "Business" names they stick on some of them have more to do with
billing than anything else.  There are some AUP (Acceptable Usage
Policy) differences between the residential and business contracts,
but that's about it.

  In my experience, the reliability varies in practice, too.  I
suspect it may correlate with location.  I've never had a problem with
my Comcast feed at home, in 2+ years there.  My previous residence had
an Adelphia cable feed, and that was pretty shaky.  As a consultant,
I've had experience with customers with DSL or cable feeds, and I
likewise saw both good and bad, but consistent at a given location.  I
have no direct experience with FiOS, but I've read similar stories
(both good and bad) on the web.

  So, if DSL or FiOS would be "good enough" for your needs, but only
cable is available in your area, I would suggest evaluating the cable
service.  Call the sales office and tell them you want to give a try,
but will not touch it unless they do it without subscriber commitment.
 If it turns out to suck, cancel.  If it is good enough, you win.

  Disclaimer: I hate Comcast, but I hate Verizon more.  So I guess I'm
biased in favor of Comcast.  Sort of.

> I'd settle for cheap and fast (symmetric), but

  Comcast did offer to sell me a 1.5 Mbit/sec symmetric connection.
It was either $200 or $300 a month, I think.  Maybe they could do
channel bonding for you?  If so, $1200/month for 6 Mbit/sec isn't bad.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [semi-OT] Review: Comcast Workplace cable Internet

2007-09-12 Thread Neil Joseph Schelly
On Wednesday 12 September 2007 15:23, Ben Scott wrote:
>   Oh.  I see your point now.  :)  Bandwidth that is good, fast, *and*
> cheap.  Definitely a sort of holy grail.  And equally elusive, I would
> say.

But in this case, even picking 2 doesn't work.  The uptime SLAs aren't as 
important to us.  I'm sure that something like FiOS would be stable enough 
for us.  Cable seems a little unreliable, but decent DSL would probably be 
alright.  It's only used for office access and remote access and nothing is 
mission critical here (that's all at the datacenter).  I'd settle for cheap 
and fast (symmetric), but T1s are really just not fast anymore and upgrading 
beyond them gets really expensive really quickly.

"Good, fast, and cheap" ... pick 2.  I wish...
-N
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: [semi-OT] Review: Comcast Workplace cable Internet

2007-09-12 Thread Ben Scott
On 9/10/07, Neil Joseph Schelly <[EMAIL PROTECTED]> wrote:
>>> Where could you get anywhere close to 12mbps for anywhere close to
>>> $1000/month?
>>
>> Like I said, "over $1000 month".  The key word being "over". )
>
> No worries - I just hoped you had a reference for those numbers... I had to
> jump at the opportunity, even if the chances were slim.

  Oh.  I see your point now.  :)  Bandwidth that is good, fast, *and*
cheap.  Definitely a sort of holy grail.  And equally elusive, I would
say.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: SSL certs/keys and Apache

2007-09-12 Thread Ben Scott
On 9/12/07, Thomas Charron <[EMAIL PROTECTED]> wrote:
>   In the meantime, I have found that you can actually remove the
> passphrase from the key easily enough with the standard openssl
> application.  :-)

  Oh.  You didn't ask *that*.  ;-)

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: SSL certs/keys and Apache

2007-09-12 Thread Thomas Charron
On 9/12/07, Ben Scott <[EMAIL PROTECTED]> wrote:
> On 9/12/07, Thomas Charron <[EMAIL PROTECTED]> wrote:
> >   Anyone ever use a passphrase protected private key with apache, and
> > found a way to provide the passkey safely to apache without requiring
> > the passphrase be typed in each time the private key is used?
>   Contradictory goals.
>   The idea behind a passphrase is that someone who steals the key
> can't use it because the passphrase only exists in wetware (you
> brain).  The idea behind unattended startup is wetware is not to be
> involved.

  Yup.  :-)  I know.  And on a production machine, I totally agree.
In my case, however, safety is not, at least at this point, a primary
concern.  Chances are, once this is past development, I'll revoke the
certificate, trash the key, and redo an entirely new one.

  In the meantime, I have found that you can actually remove the
passphrase from the key easily enough with the standard openssl
application.  :-)

-- 
-- Thomas
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: SSL certs/keys and Apache

2007-09-12 Thread Ben Scott
On 9/12/07, Thomas Charron <[EMAIL PROTECTED]> wrote:
>   Anyone ever use a passphrase protected private key with apache, and
> found a way to provide the passkey safely to apache without requiring
> the passphrase be typed in each time the private key is used?

  Contradictory goals.

  The idea behind a passphrase is that someone who steals the key
can't use it because the passphrase only exists in wetware (you
brain).  The idea behind unattended startup is wetware is not to be
involved.

  You can put the passphrase in a file, of course, but then the
attacker just steals the passphrase file.  You haven't secured
anything, you've just moved the problem around.

  Some people put the key on an external medium (say, a floppy
diskette, CD-ROM, or USB flash drive), and physically remove the
medium except during Apache startup.  This means you're safer against
a remote attack, but now someone still has to be there to do the
medium attachment, and that someone can still use the medium to read
the passphrase, so you might as well just tell them the passphrase.
Or write it on a Post-It note and stick it to the CRT, along with
instructions on how to type it in when the system is sitting there
during boot prompting for it.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Ben Scott
On 9/12/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
>> Error trying to open /dev/scd0 exclusively (Device or resource
>> busy)... retrying in 1 second.
> >
>
> That exclusivity error only shows up sometimes.  I think the retry
> succeeds.

  Right, because the auto-thingies all work by polling the device.  So
if they happen to be polling the device when wodim tries to open it,
you get the warning.  Then they close the present poll, and wodim
retries, and it works.  Then, during the middle of the write, they
poll again, and kablooie.

  At least, that's my theory.

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


SSL certs/keys and Apache

2007-09-12 Thread Thomas Charron
  Anyone ever use a passphrase protected private key with apache, and
found a way to provide the passkey safely to apache without requiring
the passphrase be typed in each time the private key is used?

-- 
-- Thomas
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Lloyd Kvam
On Wed, 2007-09-12 at 09:08 -0400, Ben Scott wrote:
> On 9/11/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> > I recently upgraded my laptop from fedora 6 to fedora 7.  Now I've
> > discovered I can no longer burn CDs or DVDs.
> 
>   In the past, I've had trouble with those auto-media-detect-and-mount
> daemons trying to auto-mount a disc as I'm trying to write to it.  I
> suspect you might be having the same problem, because of this in your
> wodim output:
> 
> Error trying to open /dev/scd0 exclusively (Device or resource
> busy)... retrying in 1 second.
> 

That exclusivity error only shows up sometimes.  I think the retry
succeeds.  I have not gone to the lengths of renaming the "magic" files,
but I have unmounted the CD to see if it made a difference - which it
did not.

>   Since I hate those auto-thingies anyway, I just killed them off, and
> renamed the binary to keep them from starting again.  (Removing the
> package often isn't a good idea because the package may also provide a
> library other programs link against.)
> 
> I remember the GNOME auto-thingy was called "MagicDev" at one time.  I
> don't remember the name of the KDE auto-thingy, and I don't know if
> either of those might be using a new auto-thingy by now.  (As of late,
> I'm running FVWM, which doesn't start auto-thingies by default anyway,
> so I don't have recent experience.)
> 
> -- Ben

Actually that is a good idea there.  I can switch to runlevel 3 and see
if wodim works.  That eliminates all of the GUI magic.

Thanks.

> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: fedora 7 on laptop no longer burns CDs or DVDs

2007-09-12 Thread Ben Scott
On 9/11/07, Lloyd Kvam <[EMAIL PROTECTED]> wrote:
> I recently upgraded my laptop from fedora 6 to fedora 7.  Now I've
> discovered I can no longer burn CDs or DVDs.

  In the past, I've had trouble with those auto-media-detect-and-mount
daemons trying to auto-mount a disc as I'm trying to write to it.  I
suspect you might be having the same problem, because of this in your
wodim output:

Error trying to open /dev/scd0 exclusively (Device or resource
busy)... retrying in 1 second.

  Since I hate those auto-thingies anyway, I just killed them off, and
renamed the binary to keep them from starting again.  (Removing the
package often isn't a good idea because the package may also provide a
library other programs link against.)

I remember the GNOME auto-thingy was called "MagicDev" at one time.  I
don't remember the name of the KDE auto-thingy, and I don't know if
either of those might be using a new auto-thingy by now.  (As of late,
I'm running FVWM, which doesn't start auto-thingies by default anyway,
so I don't have recent experience.)

-- Ben
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Monadlug Thursday (tomorrow) Sept. 13, 2007

2007-09-12 Thread Charles Farinella
Who:  Charlie Farinella
What: Recording from analog sources to digital
Date:  Thursday Sept. 13, 2007
Time:  7:00PM
Where:  SAU 1 office, 106 Hancock Rd., Peterborough
             http://wiki.gnhlug.org/twiki2/bin/view/Www/MonadLUG

One approach to converting your old LP's to CD.

-- 
Charles Farinella <[EMAIL PROTECTED]>
14 East Ridge Dr., Peterborough, NH 03458
603.924.1977

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/