Re: Red Hat's Bluecurve (was: Red Hat 8.0 is 'official')

2002-10-07 Thread Erik Price

 Hmm, now that I think about it, it's been a while since we had a 
 decent flame war around here, so, since I remembered my asbestos 
 underwear today, let me lob the first volley ;)
 
   Debian rules, RH Sucks
   vi is for wimps
   Linux

Hm, can't really find much to disagree with.  Except the asbestos
underwear.  That must be itchy.




Erik

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com
___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Fwd: Upcoming event - Richard Stallman Speaking in Burlington

2002-10-07 Thread Erik Price

Begin forwarded message:

 From: Lisa M. Opus Goldstein [EMAIL PROTECTED]
 Date: Mon Oct 7, 2002  10:18:04  AM US/Eastern
 To: [EMAIL PROTECTED]
 Subject: Upcoming event - Richard Stallman Speaking in Burlington


 Dear People,


 Richard Stallman, author of the GPL and founder of the GNU Project and
 the Free Software Foundation, will be speaking in Burlington, Mass on
 Wednesday October 16, 2002.  It is a book-release party for Free
 Software, Free Society: Selected Essays of Richard M. Stallman.  The
 web page for the book is http://www.gnu.org/doc/book13.html.


 Event: Informal Q  A with Richard Stallman
 Date: Wednesday October 16, 2002
 Time: 6:30 PM to about 8:00 PM
 Location: Softpro Books
 Vinebrook Plaza
 112 Burlington Mall Road
 Burlington, MA 01803-5300
 Tel: 781-273-2917
 Web: http://www.softpro.com/


 Description of Free Software, Free Society:

 The intersection of ethics, law, business and computer software is the
 subject of this collection of essays and speeches by MacArthur
 Foundation Grant winner, Richard M. Stallman. It includes historical
 writings such as The GNU Manifesto, which defined and launched the
 activist Free Software Movement, along with new writings on current
 topics such as trusted computing and the proposed CBDTPA.

 Stallman takes a critical look at common abuses of copyright law and
 patents when applied to computer software programs, and how these
 abuses damage our entire society and remove our existing freedoms. He
 also discusses the social aspects of software and how free software
 can create community and social justice.

 Over the past twenty years Stallman's arguments and actions have
 changed the course of software history.  Over the years he has
 received many types of awards; most recently he was elected to the
 American National Academy of Engineering.


 Best Regards,


 Lisa M. Goldstein   [EMAIL PROTECTED]
 Managing Editor, GNU Press
 Business Manager,   Tel 617-542-5942
 Free Software FoundationFax 617-542-2652







--
Erik Price   (zombies roam)

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



NIC driver

2002-10-01 Thread Erik Price
I have used Linux for quite some time, but have very little experience 
with installing it.  Having recently started a new job, I have been 
given a Windows box and told that it's okay if I want to put Linux on 
it.  And I do.

So I downloaded jigdo, used that to download and build the Debian Disc1 
disc image, and built a startup CD.  Only for some reason, booting from 
CD prevented the Debian Installer from recognizing my hard drives.  
Creating a rescue and root floppy with rawrite2.exe solved this 
problem, and I went about my installation.

Everything has gone just fine except for a few things, so I have some 
questions.

(1) First and foremost, I'd like to be able to use the internet from 
this machine, but the Debian Installer failed to recognize the 
installed ethernet card.  It's a 3C918 card.  From some googling 
around, it appears that this is just a standard 3Com 3C905B card that 
is packaged into some Dell computers (the machine is a Dell).  But I'm 
not sure how to go about installing the driver for this card, or 
getting the system to recognize it -- does it require me to recompile 
the kernel?  I inspected /etc/network/interfaces but it doesn't have 
much to offer.

(2) Second and nextmost, I'd like to run X11 on the machine.  
Unfortunately, I can't get it to work, though I've tried a few 
different video settings.  I found some of these settings by booting 
into Windows and checking the Device Manager in the Control Panel and I 
have used the xf86config program to try different parameters, but X11 
still fails to run correctly.  Most unfortunate is that since I can't 
get the system online, I can't email the errors that are shown to me 
when I do try to run startx .  (Actually I'm not certain I'd be able 
to redirect them to a file as they are not STDOUT from a utility, but 
rather displayed from within some kind of full-screen, colored program 
with a scroll bar that is controlled with arrow keys... anyone have any 
idea what I'm talking about?)

Any advice at all is much appreciated.



Erik




--
Erik Price   (zombies roam)

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


installing Linux by floppy to get driver

2002-09-28 Thread Erik Price

I have a friend at work who has an older i486 and wants to install 
Linux onto it, perhaps to run Apache or something.  The problem is that 
he doesn't have the CD ROM driver for it.  I know that the IDE driver 
is built into the Linux kernel (or I think it is), but his is a SCSI 
model -- it's a Digital Celebris model, or something like that.

Since he can't use the CD ROM drive, he can't install Linux by CD.  We 
found a floppy-based distro called DLX 
(http://www.wu-wien.ac.at/usr/h93/h9301726/dlx.html), which I was 
thinking could get Linux up and running, but how to get him the SCSI 
CD-ROM driver?  Once the CD drive works, we can just install a regular 
distribution or something.


Any suggestions?

Thanks,


Erik





--
Erik Price   (zombies roam)

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorta OT: company names

2002-09-23 Thread Erik Price



Thanks to everyone who provided input on getting registered.  If it's 
not too expensive, becoming a LLC sounds like the best move.  I'm not 
doing any professional software development right now, but I don't 
want to rule it out.

The app I'm developing is a simple scheduling system and, as I said, 
when I have a beta I'll post the source on Freshmeat.  It's to be 
written in Java.


Erik



--
Erik Price   (zombies roam)

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: MELBA wed

2002-08-28 Thread Erik Price


On Wednesday, August 28, 2002, at 12:53  AM, Erik Price wrote:

 On Tue, 2002-08-27 at 14:06, Jon Hall wrote:
 I could give my talk about the new things in the V2.5 kernel and 
 what they
 mean to systems admins and programmers, if anyone would be 
 interested.  I should
 warn you that to do it in an hour I have to talk very fast and leave 
 it at
 the 10,000 foot level.

 I would need an LCD projector.

 Well, can someone come up with a projector?  Can we get a show of 
 hands
 as to who would come if we were to have such a meeting?

 (raises hand)

 So... it's upstairs of Martha's Exchange?  Can you get dinner up 
 there, or should you eat at home?  and... libations -after- the 
 presentation (not during)?


 Erik




And to think I was going to ask what you meant exactly when you called 
me Gunga Din... I wish that I had, this would have been clarified 
earlier.  (Though twenty minutes spent online reading the poem and the 
synopsis of the movie weren't wasted, since now I know what a Gunga 
Din is.)

I carry neither projector nor water.  :(



Erik



--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: dict -- cool little snippet I saw on a GNOME list.

2002-08-28 Thread Erik Price


On Wednesday, August 28, 2002, at 05:36  PM, Ken Ambrose wrote:

 Too darn lazy to fire up the browser?

 Then enjoy the below script, for all you command-line guys (and 
 gal(s))...

Nice script.  If you like writing shell scripts to do little jobs like 
this (and there's plenty of ways to leverage this kind of power), you 
might be interested in Perl's LWP module.  [As opposed to c/sh,] Perl 
lets you easily parse the result, too, if you know what to look for.  
(There's a module called HTML::TokeParser if I'm not mistaken that 
makes it easy to parse HTML, better than regexes, but I haven't used it 
yet.)

There is a great intro on oreillynet.com (it is really a plug for the 
new LWP book, but the intro is pretty informative):
http://www.perl.com/pub/a/2002/08/20/perlandlwp.html?page=1



Erik





Erik





--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: MELBA wed

2002-08-27 Thread Erik Price


On Tuesday, August 27, 2002, at 02:06  PM, Jon Hall wrote:

 I could give my talk about the new things in the V2.5 kernel and what 
 they
 mean to systems admins and programmers, if anyone would be interested. 
  I should
 warn you that to do it in an hour I have to talk very fast and leave 
 it at
 the 10,000 foot level.

(High-level is fine for me.)

I haven't attended a MELBA meeting yet; is that the case, that they are 
limited to one hour?  I only ask b/c I may be meeting my old lady after 
the meeting and that gives me a definite time to give her...


Erik



___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: MELBA wed

2002-08-27 Thread Erik Price


On Tuesday, August 27, 2002, at 03:38  PM, Rob Lembree wrote:

 On Tue, 2002-08-27 at 14:06, Jon Hall wrote:
 I could give my talk about the new things in the V2.5 kernel and what 
 they
 mean to systems admins and programmers, if anyone would be 
 interested.  I should
 warn you that to do it in an hour I have to talk very fast and leave 
 it at
 the 10,000 foot level.

 I would need an LCD projector.

 Well, can someone come up with a projector?  Can we get a show of hands
 as to who would come if we were to have such a meeting?

(raises hand)

So... it's upstairs of Martha's Exchange?  Can you get dinner up there, 
or should you eat at home?  and... libations -after- the presentation 
(not during)?


Erik






--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: Three-minute timeout during surfing?

2002-08-26 Thread Erik Price


On Monday, August 26, 2002, at 03:09  AM, Ken Ambrose wrote:

 Howdy, all.  I just upgraded my boxen to RH 7.3, and suddenly my webmail
 (SquirrelMail) is taking three minutes just to bring up the login 
 page.  I
 double-checked my httpd.conf file, and HostnameLookups is set to off, 
 so I
 don't -think- it's a reverse-DNS issue.  I'm stumped.  Below is a 
 snippet
 from an ethereal dump.  Any ideas?

Have you had a chance to test it against a non-7.3 machine to make sure 
that it's not a problem on their end?

If you're sure that it has something to do with your upgrade, do you 
have a set of HTTP headers from before you upgraded, for comparison?






Erik




--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



MELBA wed

2002-08-26 Thread Erik Price

Is there in fact a MELBA meeting on Wednesday night?  I understand that 
there was something last week but then there was some talk of another 
meeting this week?




Thanks,

Erik





--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorting pathnames by basename

2002-08-21 Thread Erik Price


On Wednesday, August 21, 2002, at 07:52  PM, mike ledoux wrote:

 So, if I'm in a rush (usually), and I need to figure out what someone
 else's unreadable Perl does, where should I be looking?

I'm too lazy to lift my hands off my keyboard or mouse, to the shelf 
right in front of my face where Programming Perl rests, and look up 
the variables.  I usually just head over to http://perldoc.com/ and read 
the man pages there.  For some reason it's just more legible when 
presented as a web page than as a man page in a terminal window.  (Must 
be the whitespace.)

I've bookmarked http://perldoc.com/perl5.6.1/pod/perl.html for easy 
access.



Erik




--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorting pathnames by basename

2002-08-20 Thread Erik Price


On Tuesday, August 20, 2002, at 12:39  AM, Erik Price wrote:

 #!/usr/bin/python
 #
 # basenamesort.py
 #
 # Unix-style filter that sorts a newline-separated
 # list of files by the file basename
 #
 # Example usage:  cat files.txt | basenamesort.py

 import sys
 import os

 tempDict = {}

 for line in sys.stdin.xreadlines():
   tempDict[os.path.basename(line)] = line.rstrip()

 sorted = tempDict.keys()

sorted.sort()

 for key in sorted:
   print tempDict[key]



Whoops.  It figures that I would forget the part that actually does the 
sorting.  I added it above (the sorted.sort() line).



Erik



--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

 ___
 gnhlug-discuss mailing list
 [EMAIL PROTECTED]
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorting pathnames by basename

2002-08-20 Thread Erik Price
 (or 
aggregating the String object into a custom-made, more powerful object 
and calling its methods), just like you would with any other task in 
Python.

In conclusion, I don't want to oversimplify things, but I'm going to 
anyway:

I like Perl best for scripts that are a few hundred lines or less.
I like Python for larger, more modular and extensible programs and 
software.

If someone had asked me to come up with a script to sort some files by 
their basename, I would reach for Perl in a heartbeat (and still 
wouldn't have had a script as elegant as Kevin's).

But at the point where I say to myself, I really think that I could 
write this better and more easily if I used an object-oriented 
methodology and designed some class definitions to help me, I would 
turn to Python and not look back.



Erik







--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: Programming [was Re: sorting pathnames by basename ]

2002-08-20 Thread Erik Price


On Tuesday, August 20, 2002, at 12:00  PM, [EMAIL PROTECTED] wrote:

 But at the point where I say to myself, I really think that I could
 write this better and more easily if I used an object-oriented
 methodology and designed some class definitions to help me, I would
 turn to Python and not look back.

 Not knowing much about OO technique and/or methodology other than
 what I've learned from Perl's bastardized attempt to rivet OO onto
 the backside of a language never meant for OO programming, I have to
 ask, is there a good, general, non-language specific text about OO
 design and/or methodology around?

 I'd like to understand the concepts and terminology used in OO
 programming before delving into something like Java or Python so that
 I can take better advantage of the OO features of these languages,
 but everything I've seen seems very language specific.

There is a book written just for you, and it is excellent:  Beginning 
Java Objects, by Jacquie Barker (Wrox).

This book tends to be a bit pedantic (I think it is written for CS 100 
students), often taking a few pages to explain some things that are more 
briefly explained in Bruce Eckels' Thinking in Java (Prentice Hall).  
But that is its only drawback, and I actually would rather have more 
information than I need than less.

The book is divided into thirds:

1. The fundamentals and concepts of object oriented programming
2. Object modelling -- turning real life situations into abstract 
object-based representations
3. Case study -- putting the fundamentals and concepts together to write 
a full program in Java

The book advertises that it does not emphasize one language over others 
for the most part, and this is entirely correct.  While it says Java 
on the cover, that's obviously for marketing reasons, because you can 
get through the first two thirds of this book using Python, Java, or 
even PHP.  I think you can use Perl too, though OO in Perl is something 
that I am still very very new to.  (The last third of the book is 
applying the code in Java, so yes it does focus on Java.)

The point is that it teaches the basics of OO programming and design, 
and not how to write in Java.  This book should really be called 
Beginning Object Oriented Programming and Design for any language, with 
examples in Java.  And I bet that if Python had *half* the mindshare 
that Java has, Barker would have written the book to use Python instead.


Erik

PS: I am still reading Bruce Eckel's book Thinking in Java and 
teaching myself Java, and already I am very glad that I read the first 
2/3 of Jacquie Barker's book first.  Eckel's book is good, but races 
through the fundamentals.  Barker's book shines when it comes to 
fundamentals.




--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorting pathnames by basename

2002-08-20 Thread Erik Price


On Tuesday, August 20, 2002, at 08:07  AM, Kevin D. Clark wrote:

 In fact, my one-liner is probably the cannonical way that an
 experienced Perl programmer would have solved that problem (or, at
 least, pretty close).

For that matter, I find that the word cannonical is bandied about in 
Perl culture far more than anywhere else!  ;)  Interesting for a 
language in which there's more than one way to do things.

(Programming Perl defines that word in its glossary as Reduced to a 
standard form to facilitate comparison.)




--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorting pathnames by basename

2002-08-20 Thread Erik Price


On Tuesday, August 20, 2002, at 08:28  PM, [EMAIL PROTECTED] wrote:

   All three mean the same thing, but the first is by far the most 
 common in
 American English.  Perl is a lot like English.

I couldn't agree more.  Here's why:

English is supposedly the hardest language in the world to learn.  Why?  
Because there are so many ways to say the same thing!  Yes, that is the 
reason AFAIK.  I'm not just talking about synonyms, I'm talking about 
the way you can structure the grammar of the language to mean the same 
thing, but in so many ways.

I studied Japanese for years when I was in college, almost 
double-majoring with it but not quite.  And I was struck by how 
systematic that language is.  Sure, a lot of people will naturally 
wonder if it's very hard, since there is a complex writing system based 
on Chinese that consists of tens of thousands of characters (the 
Kanji).  But as far as learning the core, the very grammar of the 
language itself, it is amazingly straightforward!  Although there is 
more than one way to do it, this generally has more to do with slang 
and formality than with the way that the language is structured.

Perl is definitely English-like in this regard.





Erik





--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: Somewhat OT: Information Wave bans RIAA

2002-08-19 Thread Erik Price

On Monday, August 19, 2002, at 01:16  PM, Ben Boulanger wrote:

 http://www.informationwave.net/news/20020819riaa.php

 IWT Bans RIAA From Accessing Its Network

 August 19, 2002

 Information Wave Technologies has announced...

You left out the coolest part!

 Information Wave will also deploy peer-to-peer clients on the Gnutella 
network from its security research and development network (honeynet) 
which will offer files with popular song titles derived from the 
Billboard Top 100 maintained by VNU eMedia. No copyright violations will 
take place, these files will merely have arbitrary sizes similar to the 
length of a 3 to 4 minute MP3 audio file encoded at 128kbps. Clients 
which connect to our peer-to-peer clients, and then afterwards attempt 
to illegally access the network will be immediately blacklisted from 
Information Wave's network. The data collected will be actively 
maintained and distributed from our network operations site.


Erik





--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



Re: sorting pathnames by basename

2002-08-19 Thread Erik Price


On Monday, August 19, 2002, at 05:32  PM, Kevin D. Clark wrote:


 Bill Freeman [EMAIL PROTECTED] writes:

 Use Python

 Please show us the code.


#!/usr/bin/python
#
# basenamesort.py
#
# Unix-style filter that sorts a newline-separated
# list of files by the file basename
#
# Example usage:  cat files.txt | basenamesort.py

import sys
import os

tempDict = {}

for line in sys.stdin.xreadlines():
   tempDict[os.path.basename(line)] = line.rstrip()

sorted = tempDict.keys()

for key in sorted:
   print tempDict[key]

# Ugly even for Python, but it does what Michael originally wanted.




--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

___
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



<    1   2