NYT: Corrupted PC's Find New Home in the Dumpster

2005-07-17 Thread Kevin D. Clark
[I send stories like this to various people that I know, encouraging them to use safer, and in many cases, open-source software. The fact that (1) some people will throw out an otherwise functional computer and (2) that the computer got into a messed up state so easily and can't easily be fixed j

Re: Is anybody getting good BitTorrent rates with Comcast?

2005-07-22 Thread Kevin D. Clark
Bill Freeman writes: > What rates do other folks see? What torrent are you using? Obviously, this info will help others make a more accurate measurement. Please post this. (of course, more people using that torrent will skew the numbers too, but let's ignore that) Regards, --kevin --

Re: BASH question: executing a cmd with a pipe that is in a variable

2005-08-09 Thread Kevin D. Clark
Larry Cook writes: > I'm being stupid! Can someone please help? > > I've got a BASH script with the following: > > CMD="zcat myfile | tar xf -" > $CMD > > This puts zcat's output to stdout, rather than piping it to tar like I > want. This is because the shell's order of operations is

Re: system excercising/burn-in tests?

2005-08-17 Thread Kevin D. Clark
Paul Lussier <[EMAIL PROTECTED]> writes: > Does anyone here have any experience with creating system burn-in > suites? One idea that comes to mind is this: (while /bin/true ; do sync ; sleep 3 ; done) & cd /usr/src/linux while /bin/true ; do make clean && make -j 4 all modules ; done You get

Re: Need a quick sed recipe :-(

2005-08-23 Thread Kevin D. Clark
> Look for a marker in a file and delete the line with the marker. Then > insert file2 at that location. sed -e '/MARKER/{ r /tmp/file2 d }' file --kevin -- Kevin's new Elephant Memory Systems Tribute Page: http://home.comcast.net/~kevin_d_clark/ems/ __

philips dmvc 300k funcam -> linux?

2005-08-24 Thread Kevin D. Clark
If anybody on this list has had any success snarfing the images off of a Philips FunCam (model: DMVC 300k) over a USB cable, please give me the details as to how you did it. gphoto2 doesn't recognize it; it isn't a USB storage device either. One of these arrived in my mailbox the other day. I d

Re: Stupid bash scripting question

2005-08-24 Thread Kevin D. Clark
Cole Tuininga writes: > In other words, if I have something like: > > user="username" > f="~${user}" > > I'd like $f to end up with the path to username's actual home. As it > is, it just has the value "~username". What magic do I need to do on my > f assignment line?! user=username f=`eval ec

Re: Broadcom (was: Laptop Suggestions)

2005-08-25 Thread Kevin D. Clark
Benjamin Scott writes: > And they still haven't figured out how to release a proper Windoze > drivers (one that doesn't have syntax violations for the RIS INF > parser). What's that? (RIS INF parser) Goggling this tells me that it is some sort of Remote Installation Service, but more than that

Re: system excercising/burn-in tests?

2005-08-25 Thread Kevin D. Clark
Paul Lussier writes: > [EMAIL PROTECTED] (Kevin D. Clark) writes: >> (while /bin/true ; do sync ; sleep 3 ; done) & >> cd /usr/src/linux >> while /bin/true ; do make clean && make -j 4 all modules ; done > > This doesn't really test that much tho

Re: Best tool for MIME handling in scripts?

2005-09-15 Thread Kevin D. Clark
Bill McGonigle writes: > What do folks here use for massaging MIME messages in shell scripts? I recommend Perl's MIME::Tools package. Check out the source tree's "examples" subdir, there are scripts in here such as mimedump and mimeexplode that do exactly what you are asking for. These could e

Re: Who here works on Subversion?

2005-10-03 Thread Kevin D. Clark
"Steven W. Orr" <[EMAIL PROTECTED]> writes: > Now that we want to do another merge from dev back to main, the merge > tool provides no help in knowing that a previous merge has already > happened. The result is that every affected file will have to be > merged manually. This is the very first th

Re: Who here works on Subversion?

2005-10-03 Thread Kevin D. Clark
Christopher Schmidt writes: > Except in the situation where main and dev are both altered in a > conflicting way, Subversion doesn't offer any smart techniques for > merging that I'm aware of. The only that I've ever seen that was smart enough to resolve overlapping conflicting changes as an ac

Re: upcoming SLUG meeting on 10/10/2005

2005-10-06 Thread Kevin D. Clark
The SLUG Daemon writes: > You might be fascinated to learn that there is a SLUG meeting next Monday > evening at 7pm. As a reminder, SLUG meetings occur on the second Monday > of each month. Today is Wednesday; I just wanted to give you plenty of > advance notice. Here is the code, in case oth

Fwd: LISA '05: the 19th(!) Large Installation System

2005-10-07 Thread Kevin D. Clark
From: Peter Mui <[EMAIL PROTECTED]> [snip] http://www.usenix.org/events/lisa05/promote.html [snip] === Join us in San Diego for the 19th Large Installation System Administration Conference (LISA'05) at http://www.usenix.org/lisa05/ progm The o

Re: OT: CRAC

2005-11-04 Thread Kevin D. Clark
Bill McGonigle <[EMAIL PROTECTED]> writes: > Now, the question: what really works? Who's in a big colo that uses > passive cooling? Who has a Liebert in a small computer room? Who > just cut a hole in the wall and put in a $79 AC from the warehouse > club? Is Liebert supposed to be top of the

Re: Responsibility for Enet link state

2005-11-07 Thread Kevin D. Clark
Michael ODonnell writes: > What entity, if any, on an Enet-equipped system is > responsible for seeing to it that the interfaces are > live and operating at (somebody's definition of) the > "proper" speed/duplex/etc? ifup, nowadays. ethtool is wrapped in there too. Try adding ETHTOOL_OPTS

rpmbuild and %_topdir

2005-11-16 Thread Kevin D. Clark
Is there a way to invoke rpmbuild such that %_topdir is specified? I know that I can specify %_topdir in the $HOME/.rpmmacros file. I am interested in knowing if there is a way to specify this variable on the command line. Specifying --buildroot isn't what I want. Specifying --root seems to be

Re: rpmbuild and %_topdir

2005-11-17 Thread Kevin D. Clark
Ben Scott writes: > On 11/16/05, Kevin D. Clark wrote: >> Is there a way to invoke rpmbuild such that %_topdir is specified? > > http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch-customizing-rpm.html#id3034443 > > ... suggests that ... > > rpmbuild --define 

Re: Threads and TCP/IP

2005-11-21 Thread Kevin D. Clark
Cole Tuininga writes: > Is it legitimate to have the two threads doing their respective > operation on the socket simultaneously? In other words, can you > simultaneously read and write a tcp/ip socket? Or would the threads > need to do some locking themselves to make sure this doesn't happen?

Re: Threads and TCP/IP

2005-11-22 Thread Kevin D. Clark
Thomas Charron writes: > On 11/21/05, Cole Tuininga wrote: >> >> On Mon, 2005-11-21 at 18:18 -0500, Thomas Charron wrote: >> > Yes, one could say 'What about at the same time', but there really >> > isn't such a thing.. ;-) >> Even on an SMP machine? > > For the most part, yes. Even with multip

Re: where to buy a new system.

2005-11-28 Thread Kevin D. Clark
Paul Lussier writes: > A colleague at work just asked me what internet site I would recommend > for buying generic PCs. It might not be a bad idea to look here: http://www.cheapstingybargains.com/ > I tend to live on, shall we say, The Decaying Edge of technology I live somewhere on that

Re: MAC addresses, hostnames, and DHCP

2005-12-02 Thread Kevin D. Clark
Ben Scott writes: > On 12/2/05, Bill McGonigle wrote: >> > However, there are some caveats. If any traffic occurs (payload, or >> > SSH control traffic like rekeying, keep-alive, etc.), TCP (or higher >> > level protocols) may time out before the IP layer finishes coming back >> > up. This is

Re: Perl include question

2005-12-05 Thread Kevin D. Clark
Cole Tuininga writes: > I have a module (call it MyMod.pm) that I want to use in a program, but > I can't install it in with the rest of the perl libraries. For reasons > that are too boring to get into, the only guarantee I have is that it > will be in the same directory as the executable scrip

Re: Programming Language History

2005-12-08 Thread Kevin D. Clark
Paul Lussier writes: >> You can argue about the words "common use", but you should not argue >> too loudly in the high performance computing arenas, nor in the >> business circles. > > Two areas I know almost nothing about, so, with all due respect for > those areas of computer science, I'll stop

Re: Debian Log Rotation

2005-12-19 Thread Kevin D. Clark
ctions. You can actually paste the whole file into a running Bash shell. After doing this, try typing: txtfind /etc /var | xargs grep '\' Perhaps this will tell you where savelog is being invoked. I find these functions to be invaluable in my daily work; I hope you find them to be

Re: Ruminations on an SSH attack

2005-12-19 Thread Kevin D. Clark
Bruce Dawson writes: > But I guess a better place to stop them would be in tcpwrappers or > even the firewall, but I haven't figured out a way to wedge something > like RBL into tcpwrappers or iptables/ipchains. Any ideas? Not entirely what you are looking for, but I find the following iptables

Re: Help me avoid Exchange

2005-12-23 Thread Kevin D. Clark
Dan Jenkins writes: > I've used Courier IMAP for years, mainly because I got it running > faster than Cyrus. I've often wondered since what is better with > Cyrus. The documentation at the time was, politely speaking, > opaque. I've just never had the time to go back and try something > else. I've

Re: Firefox goodies

2005-12-29 Thread Kevin D. Clark
Ben Scott <[EMAIL PROTECTED]> writes: > // "It's my fscking computer; get your grubby JavaScript off it" JavaScript can be grubby, but it also enables things like AJAX, which can be genuinely useful/neat. Anyways, my favorite two extensions are: 1: Bugmenot -- bypass compulsory web registrati

Re: Firefox security strategy (was: Firefox goodies)

2005-12-29 Thread Kevin D. Clark
Ben Scott writes: > I'm not against all client-side scripting. I just think a web page > should be limited to mucking around with itself only, and not be > allowed to modify the window around it, or my system, or > what-have-you. What those particular things I posted do is prevent > web page

Re: Firefox security strategy (was: Firefox goodies)

2005-12-29 Thread Kevin D. Clark
Ben Scott writes: > To some extent, but not completely. Certainly, at one point in it's > history, Java was being sold as an ideal "sandbox" for things like > client-side intelligence in web pages.[1] However, it was still > designed around the idea of a general-purpose programming language >

Re: maddog: Letter to InfoWorld: Linux 64-bit since 1995!

2006-01-08 Thread Kevin D. Clark
Bill McGonigle writes: > Oh, and given the amount of work it took me to port POV-Ray to Alpha > (32-bit pointer assumptions everywhere) I can see why Microsoft wasn't > chomping at that particular bit. Still, it is pretty pleasing as a programmer to learn that somebody has taken your (low-level)

Re: Long connection pauses?

2006-01-08 Thread Kevin D. Clark
Brian Chabot <[EMAIL PROTECTED]> writes: > I have a relatively new machine that pauses for 20-120 seconds between > SYN/ACK and issuing the banner on all TCP connections. This has been > verified by several other systems connecting and using both windows > and Linux. Please show us relevant tcp

Re: extract string

2006-01-10 Thread Kevin D. Clark
Ben Scott writes: > Is there a tool that quickly and easily extracts one or more columns > of text (separated by whitespace) from an output stream? I'm familiar > with the > > awk '{ print $3 }' > > mechanism, but I've always felt that was clumsy. I've tried to get > cut(1) to do it

Re: extract string

2006-01-11 Thread Kevin D. Clark
Zhao Peng writes: > ... your "grep univ abc.txt | cut -f3 -d, | sed s/\"//g >> dev.txt" > works. It "works" but is it correct? What happens if you pass it the following line of input?: "Aunivz","28","Cambridge Community College" By your original problem description, you don't want to see "C

Re: extract string

2006-01-11 Thread Kevin D. Clark
Zhao Peng <[EMAIL PROTECTED]> writes: > You said that "there is an extra column in the 3rd line". I disagree > with you from my perspective. As you can see, there are 3 commas in > between "jesse" and "Dartmouth college". For these 3 commas, again, if > we think the 2nd one as an merely indicatio

Re: extract string from filename

2006-01-12 Thread Kevin D. Clark
Zhao Peng writes: > I'm back, with another "extract string" question. //grin find FOLDERNAME -name \*sas7bdat -print | sed 's/.*\///' | cut -d _ -f 2 | sort -u > somefile.txt or perl -MFile::Find -e 'find(sub{$string2 = (split /_/)[2]; $seen{$string2}++; }, @ARGV); map { print "$_\n"; } key

Re: Verizon (FiOS) (Off Topic?)

2006-01-18 Thread Kevin D. Clark
Sean writes: > I just received a letter from Verizon stating that their FiOS service > is available in my corner of NH. > > Does anyone here use this service and if so, how is your experience > with it and their service? Two interesting things I note about Verizon's FiOS service: >From their FA

Re: umount: device is busy

2006-01-19 Thread Kevin D. Clark
Bill McGonigle <[EMAIL PROTECTED]> writes: > Strange umount problem today: > >#umount -v /mnt/backup/ >umount: /mnt/backup: device is busy >umount: /mnt/backup: device is busy Do you get any interesting/different output when you run lsof as root? Regards, --kevin -- GnuPG ID: B280

Re: bash completion

2006-02-12 Thread Kevin D. Clark
Paul Lussier writes: > I don't know how many others are aware of this, but bash's command > line auto-completion is customizable and extensible. Yes, this indeed a very useful feature, especially if you are implementing some sort of CLI based on bash. More info here: http://www.caliban.org

Re: Windows-like registry for Linux?

2006-02-14 Thread Kevin D. Clark
Michael ODonnell wrote: A cow-orker is tasked with implementing a lean- and-mean registry thingy that's maybe similar to the Windows registry, or maybe not. The real goal is for multiple processes/threads to be able to perform attribute lookups cheaply and reliably and possibly VERY frequently (

Re: Windows-like registry for Linux?

2006-02-14 Thread Kevin D. Clark
Michael ODonnell wrote: Cool. Thanks. Not that I have actual knowledge of the subject, but I picture a DB engine as a somewhat ponderous thang. Would this fit the lean-and-mean requirement? In my world, Berkeley DB is pretty lean-and-mean. I'll bet that you'll come to the same conclusio

Re: Windows-like registry for Linux?

2006-02-15 Thread Kevin D. Clark
Incidently, if you're looking for a very fast way to prototype such use of a DB (or even to deploy for real...), I recommend Perl, which has always had good support for this type of thing: #!/usr/bin/perl -w use strict; use DB_File; my(%favorite_color); tie(%favorite_color, "DB_F

Re: "Standard" Unix utilities

2006-02-22 Thread Kevin D. Clark
Jason Stephenson <[EMAIL PROTECTED]> writes: > Watch out for killall! On some OS permutations it does exactly what it > says: it kills all running processess! IIRC, it has this behavior on > HP-UX. I have a friend with an HPUX system, and yes, I can verify that under HPUX 11.11 this is exactly w

Re: list of commands & utilities [WAS: change file names]

2006-02-22 Thread Kevin D. Clark
Zhao Peng writes: > With the recent "change file names" experience, I'm wondering if there > is a simply way to get a comprehensive list of A*L*L available > commands & utilities on a given linux OS.(Mine is Red Hat > Enterprise). If so, how? Assuming you're using bash, press tab -- twice. > If

Re: Network testing and latency

2006-03-07 Thread Kevin D. Clark
Paul Lussier writes: > I initially thought of connecting the GigE cards to a 10MB hub, but > that's not really the same thing, and is still almost an order of > magnitude faster than a T1. I vaguely remember hearing about > something that ran on linux that lets you tune the box to introduce > va

Re: Network testing and latency

2006-03-08 Thread Kevin D. Clark
Ben Scott writes: > On 3/7/06, Kevin D. Clark <[EMAIL PROTECTED]> wrote: >> If all that you want to do is to introduce latency, I would suggest >> using iptables "dstlimit" and "fuzzy" modules. > > Will that really create a realistic reprodu

Re: Network testing and latency

2006-03-08 Thread Kevin D. Clark
Dave Johnson writes: > Latency and jitter are side effects due to queuing prior to the > bandwidth limited hop. I think that latency has more to do with your transmission medium. And I think that jitter has more to do with contention. > Protocols such as TCP are designed to avoid > introducing

Re: Web-based Project

2006-03-09 Thread Kevin D. Clark
[EMAIL PROTECTED] writes: > What he wants is an internal web site where he can > put in all of the project information and have the project > plan/roadmap/timeline/gantt chart etc. viewable (not for edit) by > everyone. DocPile might be what you are looking for: http://freshmeat.net/pro

Re: Acceptance of OpenOffice.org (was Re: Gov't , economics and technology (was Re: METROCAST BLOCKS RESIDENTIAL E-MAIL))

2006-03-14 Thread Kevin D. Clark
Bill McGonigle writes: > My high school taught Pascal on Z/80 machines running CPM when those > were 'out of date'. I think they'd still be fine for learning > Pascal. My high school math teacher took me aside on the first day of computer class and told me that he didn't know anything about com

Re: Acceptance of OpenOffice.org (was Re: Gov't , economics and technology (was Re: METROCAST BLOCKS RESIDENTIAL E-MAIL))

2006-03-15 Thread Kevin D. Clark
Tom Buskey writes: > Some would find a CS program that started with C and never taught Pascal to > be odd. My formal CS education started with ML, went to LISP, then Modula-2, and then C. We could quibble over all of the details of CS curriculum, but I just find a program that never really teac

Re: Acceptance of OpenOffice.org (was Re: Gov't , economics and technology (was Re: METROCAST BLOCKS RESIDENTIAL E-MAIL))

2006-03-15 Thread Kevin D. Clark
Python writes: > I'm a Python nut, so you may want to take this with a grain of salt, but > I believe that Python is becoming the language of choice for > Astronomers, Geographers, Genomeers, etc who need to do some > programming as part of their profession, but do not see themselves as > pro

Re: Acceptance of OpenOffice.org (was Re: Gov't , economics and technology (was Re: METROCAST BLOCKS RESIDENTIAL E-MAIL))

2006-03-15 Thread Kevin D. Clark
[that's what I get for sending a message whilst running a test] I'm a Perl nut, so you may want to take this with a grain of salt, but I believe that Perl is becoming the language of choice for Astronomers, Geographers, Genomeers, etc who need to do some programming as part of their professi

get-extern-ip-addr.pl

2006-03-17 Thread Kevin D. Clark
fit -- Tom Waits #!/usr/bin/perl -w # A little program that you can use to keep track of how often your # broadband IP changes. This should work through things like NAT boxen, etc. # author: kevin d. clark (alumni.unh.edu!kdc) # Usage suggestion: create a

Re: get-extern-ip-addr.pl

2006-03-20 Thread Kevin D. Clark
Bill Mullen writes: > Here's one of mine, which should work as long as the target site remains > available (and doesn't undergo a revamp - it still works fine more than > two years after I wrote it, so I suppose that's a good sign): Cool, I learn something new every day. That's a handy site! T

help sought with playing video (Valles Marineris)

2006-03-20 Thread Kevin D. Clark
[this is a re-send; my mail system was broken when I sent this yesterday] Can any of the folks on this list who are more knowledgable than me [1] about video give me some recommendations as to what I can do to play this video: http://themis.asu.edu/valles_video on my home FC4 box? I get aud

Re: help sought with playing video (Valles Marineris)

2006-03-20 Thread Kevin D. Clark
Cole Tuininga writes: > My own personal experience has been that I have the best luck of all > with the player "xine". OK, I'll try xine tonight. The install is painless on FC4. I'd forgotten about this player. (xine plays the video on my work machine) Thanks! --kevin -- GnuPG ID: B280F2

Re: help sought with playing video (Valles Marineris)

2006-03-20 Thread Kevin D. Clark
Cole Tuininga wrote: On Mon, 2006-03-20 at 09:18 -0500, Kevin D. Clark wrote: I get audio, but all I see for video is a black window. I'm using mplayer, because this seems to work better than totem. My own personal experience has been that I have the best luck of all with the player

Re: Recommendations for C++ sourcecode analysis tools

2006-03-22 Thread Kevin D. Clark
Michael ODonnell writes: > I've joined an established project and I'm trying to come up to > speed with their (complex!) C++ code and could use some help > in divining how all the pieces fit together. I'm doing all the > usual WWW searches but also wanted to get recommendations from > the GNHLUG

Re: Recommendations for C++ sourcecode analysis tools

2006-03-23 Thread Kevin D. Clark
Bill Ricker writes: > The Great Circle GC library works nicely to debug memory leaks, but > their platform/distribution left us. I forget the name of the tool > we're using on AIX now; Purify from IBM/Rational is a top drawer tool > that I've used in the past on other projects for this and some o

Re: Comcast and mail header errors?

2006-03-23 Thread Kevin D. Clark
Cole Tuininga writes: > On Thu, 2006-03-23 at 08:12 -0500, Ben Scott wrote: >> On 3/23/06, Cole Tuininga <[EMAIL PROTECTED]> wrote: >> > The problem is that the application has no control which interface it >> > uses when opening a socket to a remote system. >> >> "man bind(2)" > > Right - this

Re: Recommendations for C++ sourcecode analysis tools

2006-03-23 Thread Kevin D. Clark
Jerry Feldman writes: > I agree that Valgrind is an excellent tool. However Rational's (IBM's) > Purify Plus puts it to shame for a mere $10,000. I've found bugs with Valgrind that Purify never found. I've found bugs with Purify that Valgrind never found. For serious development, I'd make

Re: Pruning e-mail attachments.

2006-03-31 Thread Kevin D. Clark
Ken D'Ambrosio writes: > Hello, all -- first and foremost, I'm pleased to announce the birth of > Isabella Francesca D'Ambrosio -- for those with places in their hearts > for baby pics, have at: http://flyingtoasters.net/gallery/album26?page=4 > . Now that the birth done with, I hope to be able

Re: perl and network addresses

2006-04-03 Thread Kevin D. Clark
Stephen Ryan writes: > Ooh, here's something interesting. I first tried a test with constants, > and got the warning: left shift count >= width of type" out of gcc. > Then I rewrote the thing to use a loop, and I got correct results out of > it. (This is all on an Athlon64X2.) > > When you desc

Re: Co-op co-lo server?

2006-04-06 Thread Kevin D. Clark
"Ben Scott" writes: > I'd like to have a Linix box on a "real" IP feed (symmetric, > reliable, etc.), with proper power, cooling, and all that, that I > could put my own spare-time projects and such on. I am interested in this. Anybody else? --kevin -- GnuPG ID: B280F24E

Re: Question about GPL issue.

2006-04-06 Thread Kevin D. Clark
"Steven W. Orr" writes: > I am sure that I read something somewhere (though I could be wrong) > where RMS said that he happily took other people's code and > essentially changed the names of the variables and slapped a GPL at > the beginning of the file. > > I would like to do the opposite. (I ca

Re: DNS migration and folks that don't play nice

2006-04-10 Thread Kevin D. Clark
Bruce Dawson writes: > Add to this the fact that most BIND servers operate using UDP instead of > TCP, and its easy to understand how BIND servers could become > corrupt. How does the fact that a BIND server uses TCP instead of UDP make it more or less secure? (I don't know; this is why I ask)

Re: how to list file and sort by filename using ls

2006-04-24 Thread Kevin D. Clark
Zhao Peng writes: > Using either "ls -ul" or "ls -cl"(which are supposed to sort by name > according to manual, if I understood and used correctly), I just can't > list files and sort them by filenames. 1: can you show us the output of the following: echo $LANG 2: Does this do what y

Re: how to list file and sort by filename using ls

2006-04-24 Thread Kevin D. Clark
Zhao Peng <[EMAIL PROTECTED]> writes: > output of echo $LANG: > > en_US.UTF-8 > > "LANG=C ls -ul" does do what I expected to do. > > What does "C" mean? character? To be more specific, I probably should have specified LC_COLLATE instead of "LANG". No big deal. All of this stuff refers to "

Re: GNHLUG RSS feeds, was Re: GNHLUG.Www - Automated notification of topic changes

2006-05-02 Thread Kevin D. Clark
> http://bloglines.com Another thumbs up for bloglines. One nice thing about this site is that if you frequently use multiple computers (I do) they will all naturally be in-sync. That is, if I catch-up with a feed at 6am on one computer and then hit bloglines on another computer at 8am, I will

Re: Emacs

2006-05-11 Thread Kevin D. Clark
[EMAIL PROTECTED] writes: > I am looking for an IMAP mail client for emacs for one of my > users. I have looked at gnus and mew so far. However, I can't get > either of them to connect to the imap server. He also wants to be > able to install the Win32 version of emacs on his Windows laptop and >

Re: Emacs

2006-05-11 Thread Kevin D. Clark
Paul Lussier writes: > Gnus is a p.i.t.a. to get connected to an IMAP server. I guess this depends on your pain threshhold. I do agree that it might not be the best choice for somebody who really just wanted a traditional GUI mailer (Thunderbird, Evolution). > Even more > painful of SSL is i

Re: Emacs

2006-05-12 Thread Kevin D. Clark
Paul Lussier writes: > What version of emacs and gnus are you using? XEmacs 21.4 (patch 18) "Social Property" [Lucid] (i386-redhat-linux, Mule) Gnus v5.10.7 ...but I've used many other older versions over the years. You are apparently using this, BTW: Emacs/22.0.50 (gnu/linux) Gnus/5.11 (Gnus

Re: perl - sometimes it *does* resemble line noise... (long)

2006-05-12 Thread Kevin D. Clark
Paul Lussier writes: > And there you have it. 'return map {...} map {...} grep {...} > split(...);' Short, concise, no need for a bunch of temp variables > that only get used once and thrown away. I like it. Others, well, > not so much :) If this is production code (not "write-once" code) in m

Re: Using the serial port for GPIO.

2006-05-12 Thread Kevin D. Clark
Scott Garman writes: > Has anyone here ever used the Linux serial port drivers as general > purpose I/O? _Linux Device Drivers_, 2nd Edition, by Alessandro Rubini & Jonathan Corbet covers this subject pretty well. I recommend it highly. Regards, --kevin -- GnuPG ID: B280F24E

Re: stupid question

2006-06-02 Thread Kevin D. Clark
Lori Nagel <[EMAIL PROTECTED]> writes: > Do you know how to turn off the printers memory? My > husband and I have an hp deskjet 812c and we can't > seem to get it to stop prininting a bunch of useless > pages. We tried turning it on and off. Can you help > us so it won't print that garbage out

Re: In need of a bit of shellish magic

2006-06-02 Thread Kevin D. Clark
Ted Roche <[EMAIL PROTECTED]> writes: > I've just put a subversion repository on line and would like to make > daily backups of it. That's pretty easy, a cron job at 2 AM with: > > svnadmin dump /path/to/repos >svndump20060602 > > However, it would be convenient if the file name incremented year

Re: Linux on old laptop in two stages

2006-06-05 Thread Kevin D. Clark
A lot of the claims to the effect of "Java is much faster nowadays" are based on the fact that typical Java implementations nowadays include much better JIT (Just In Time) compilers. Translating an application's interpreted Java bytecode into native machine code can yield some very large performa

Re: Dealing with multiple layers of routers

2006-06-08 Thread Kevin D. Clark
Travis Roy writes: > Plus you can always mount a share if you need more space for logging > or whatnot. Doesn't dd-wrt come with syslog? Wouldn't it be better to syslog -> network -> logging server? Regards, --kevin -- GnuPG ID: B280F24E And the madness of the crowd alumn

Re: My 1st computer (was: 'My favorite platform')

2002-08-13 Thread Kevin D. Clark
T, and this could only be a Good Thing. I actually lurked on Usenet this way for a while until I mistyped "rm" one day and found a "proper" newsreader... (-: --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetwork

Re: Somewhat OT: Information Wave bans RIAA

2002-08-19 Thread Kevin D. Clark
[EMAIL PROTECTED] writes: > So, as Ben S. said: > > "And so it begins..." > > It will be amusing who sues for what, and what the counter-suits will > be as well :) "I will miss this...when it is gone." --kevin -- Kevin D. Clark / Cet

Re: sorting pathnames by basename

2002-08-19 Thread Kevin D. Clark
t; } sort { $a->[1] cmp $b->[1] } map { [$_, @{ chomp; m#/[^/]*$#}[0]] } ' Hope this helps, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gn

Re: sorting pathnames by basename

2002-08-19 Thread Kevin D. Clark
de is visible... Honestly, I wrote that one-liner more with the intent of showing you how cool Perl is, not with the intent of scaring you off from Perl. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (Gnu

Re: sorting pathnames by basename

2002-08-19 Thread Kevin D. Clark
Bill Freeman <[EMAIL PROTECTED]> writes: > Use Python Please show us the code. Thanks, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gnhlu

Re: sorting pathnames by basename

2002-08-20 Thread Kevin D. Clark
"Derek D. Martin" <[EMAIL PROTECTED]> writes: > At some point hitherto, Kevin D. Clark hath spake thusly: > > Honestly, I wrote that one-liner more with the intent of showing you > > how cool Perl is, not with the intent of scaring you off from Perl. > >

Re: sorting pathnames by basename

2002-08-20 Thread Kevin D. Clark
Can any of the Python programmers on this list implement this as a one-liner? Just wondering. (with Python's indentation rules, I think that this would be difficult) Thanks, --kevin PS I could write a very similar program in Perl, obviously. -- Kevin D. Clark / Cetacean Net

Re: sorting pathnames by basename

2002-08-20 Thread Kevin D. Clark
ns that I have posted suffer from this bug, BTW. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http

Re: sorting pathnames by basename

2002-08-20 Thread Kevin D. Clark
Erik Price <[EMAIL PROTECTED]> writes: > 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. Well, I just used the word canonical in the canonical wa

Re: Perl (or Unix vs. MS, actually)

2002-08-20 Thread Kevin D. Clark
ue. In my opinion, after you learn how to use references in Perl, and after you learn how to use lists of refs and hashes of refs, you'll cry the next time that you have to implement anything similar in C/C++/Java. --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (U

Re: sorting pathnames by basename

2002-08-21 Thread Kevin D. Clark
#x27;s;\(.*\)/\([^/]*\)$;\2/\1/\2;' | sort -t / +0 | sed 's;[^/]*/;;' This works on the various Unix boxen that I have at my disposal. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.e

Re: sorting pathnames by basename

2002-08-21 Thread Kevin D. Clark
But here's > a simplified version that I think will work around your issues for > non-UNIX 98 compliant machines: > > sed -e 's;\(.*/\)*\(.*\);\2/\1\2;' | sort -f -d -t / +0 | sed -e 's;[^/]*/;;' My example, derived from yours, seems to work, as well as your new soluti

Re: sorting pathnames by basename

2002-08-22 Thread Kevin D. Clark
Perl 5 Pocket Reference (dead-tree -- very small) extensively. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gnhlug-discuss mailing list [EMAI

Re: Speaking of wireless

2002-08-28 Thread Kevin D. Clark
ecs are written. As such, if you set up a server this way, not everybody is going to be able to use it. --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gn

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

2002-08-28 Thread Kevin D. Clark
Ken Ambrose <[EMAIL PROTECTED]> writes: > Prolly wanna pipe the output to > less, or your favorite pager... ...or port it to a real shell, like sh... (-: --kevin -- "The C shell is flakier than a snowstorm." -- Guy Harris ___ gnhlug-discuss mail

Re: Need info on swapping

2002-08-30 Thread Kevin D. Clark
[EMAIL PROTECTED] (Kevin D. Clark) writes: > Run "top". Press "P". Can you send us the result? Sorry; typo. Press "M" instead. --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG

Re: Need info on swapping

2002-08-30 Thread Kevin D. Clark
be greatly appreciated. Run "top". Press "P". Can you send us the result? --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gnhlug-discuss

Re: SSH v2 sans password prompting...

2002-09-04 Thread Kevin D. Clark
> but no dice. Any suggestions? Are you running ssh-agent? --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://

Re: Advanced shell scripting question :-)

2002-09-05 Thread Kevin D. Clark
n these circumstances) to be preserved. Now that you've placed this additional constraint on the problem, the solution becomes a lot trickier. --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks.com!kclark (GnuPG ID: B280F24E) alumni.unh.edu!kdc ___

Re: Advanced shell scripting question :-)

2002-09-05 Thread Kevin D. Clark
of randomness (the randomness of a network, the randomness of a OS's scheduler, etc.). Because of this, I never find myself architecting a program that would call of this sort of capability -- it'd be non-sensical. --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) ce

Re: Advanced shell scripting question :-)

2002-09-05 Thread Kevin D. Clark
does different things with this buffering when the output is : connected to a terminal versus something else (fully-buffered versus : line buffering), and the whim of the kernel and the scheduler. Regards, --kevin -- Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA) cetaceannetworks

Re: Advanced shell scripting question

2002-09-05 Thread Kevin D. Clark
int main(int argc, char *argv[]) { int i; for (i=0; i<10; i+=2) { printf("%d\n", i); fprintf(stderr, "%d\n", i+1); } } Please see my previous posts for an explanation as to why. Regards, --kevin -- Kevin D

<    1   2   3   4   5   6   7   >