Re: how to copy a file ?

2005-01-02 Thread Benjamin A. Okopnik
On Sun, Jan 02, 2005 at 02:27:00PM +0200, Gabor Szabo wrote:
 
 The other day in a class I was teaching as I was showing how
 to copy a file using File::Copy someone asked (as that happens
 always) how could he find out the answer alone to this and
 similar questions.
 I pointed to various sources such as
 
 perldoc -q   but it has no anse to this question

Not quite true; the first item returned for perldoc -q shell talks
about Shell.pm at the end; although it's not a pointer to File::Copy,
it's a solution. However, I fully agree with Tad; this is asked often
enough that it _should_ have an easy-to-find '-q' entry of its own.


* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *


Re: Gyroscopic Mice; work on Linux?

2002-11-07 Thread Benjamin A. Okopnik
On Wed, Nov 06, 2002 at 07:34:44PM -0800, Tim Maher wrote:
 
 My new concern is that if I do get the USB cordless mouse working,
 I would still like to use the on-keyboard pointy-stick mouse as well,
 when I happen to be near my keyboard.  That sounds kinda impossible, given
 that I'd have to set XF86Config to recognize one mouse (emulating PS2) or the
 other (USB), but not both simultaneously 8-(
 
 My teaching style is to show a few slides, and then type a bunch of
 examples in an Xterm, so ideally I'd like to be able to quickly switch
 from one mouse type to the other; but that might not be possible, perhaps.

Xfree86 v4.x should be able to handle that without any problems. I've
never mixed USB and PS/2, but serial and PS/2 works fine.


Ben Okopnik
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I leave that to Abigail. I won't say that she heals the sick, but they
sure never complain anymore...
 -- Alex Rhomberg in comp.lang.perl.misc



Re: Marketing help wanted

2002-07-18 Thread Benjamin A. Okopnik

On Wed, Jul 17, 2002 at 03:27:04PM -0700, William R Ward wrote:
 [EMAIL PROTECTED] (Benjamin A. Okopnik) writes:
  That's why they call it being an enterpreneur rather than having a
  steady secure job. [...snip...]
 
 A business does not have to be full-time to be a business.
 
It does if you're talking about regular out-of-town gigs.

 Your tone is completely inappropriate here.  I sure hope you don't act
 this abrasive in front of your clients.  I was asking for constructive
 suggestions, not this kind of arrogant dismissiveness.

Whenever I decide to accept you as a censor of what is inappropriate,
I'll be certain to let you know. I found your attitude of I want the
goodies but I don't want to pay for them offensive and ill-informed,
and can only hope, for your clients sakes (should you find any) that
your Perl knowledge is far, far greater than your knowledge of business.
Your refusal to accept a clue if it's not couched in precisely the terms
that you like pretty much wraps up everything I have to say to you;
HAND.


Ben Okopnik
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Freedom boils down to this: if you disagree with somebody, *argue*
with them. Don't ask Big Brother to put a gun behind your opinion.



Re: Marketing help wanted

2002-07-17 Thread Benjamin A. Okopnik

On Wed, Jul 17, 2002 at 12:12:44PM -0700, William R Ward wrote:
 [EMAIL PROTECTED] (Danny Faught) writes:
  
  Are you willing to travel?  If so, that opens up many more opportunities
  for the 2-5 day full-day type of course setup.
 
 Sure, if it's made worth my while financially.  

I think you'll find that it will not be made worth your while; it's
not anyone's concern but yours to do that. If you were famous and in
demand, it might happen.

 But I'm also working a
 full time job, so I can't do it often (I have to take vacation time to
 do it).  But finding such gigs is even harder, I would think.

That's why they call it being an enterpreneur rather than having a
steady secure job. Having the time to do what your business demands -
as opposed to doing what someone else's business demands - is
prerequisite to _having_ your own business. If you can only do classes
during vacation time or weekends, it's an amusing hobby that makes a few
bucks on the side, not a business. No amount of advice or tricks o'the
trade is going to mitigate that requirement.

I was teaching a 5-day course in Sacramento last week, I'm doing the
same in NYC this week, and I already have several other dates scheduled
in the next couple of months. I can assure you that I did *not* get here
by waiting for someone to make it worth my while or being otherwise
occupied when I'm needed.


Ben Okopnik
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
In which level of metalanguage are you now speaking?



Re: Open Perl Exercises, anyone ?

2002-06-30 Thread Benjamin A. Okopnik

On Tue, Jun 25, 2002 at 06:08:12PM -0700, Randal L. Schwartz wrote:
  Stephen == Stephen Collyer [EMAIL PROTECTED] writes:
 
 Stephen Will do. However, I have been unimpressed with the quality of
 Stephen most of the free training material I have seen, so my expectations
 Stephen won't be high.
 
 The problem there is that it really is expensive to do even average
 material, let alone great stuff.  We usually budget about a day or two
 of work to get an hour's worth of material.  And that's not including
 research time... just pure dump time.
 
Having done a good bit of development of educational material, I'd have
to agree with you - although my own ratio these days is around 15
minutes of material out of a day's work sigh. Perhaps snarling at
people who interrupt me may be productive, although it may have
undesirable side effects. :)

 Hats off to people who can donate that much free (as in Free Beer)
 time and give it away for others to use.  As much as I'd like to do
 that with Stonehenge material, the problem is that I'd be creating my
 own competition then. {grin}

Hmm. I don't see things as being quite that static; if somebody wants
the stuff I was using, say, two years ago, they're welcome to it.


Ben Okopnik
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The purpose of most computer languages is to lengthen your resume by a
word and a comma.
 -- Larry Wall