>I'm confused about the split string method in the following cases.
>
>String test = "ABC";
>String[] arr = test.split(",");

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
>> I'm confused about the split string method in the following cases.
>>
[quoted text clipped - 25 lines]
> 1. too many Star Trek episodes where computers explode given the
> "wrong" inputs.
Hah, hadn't considered that.
> 2. punishment as a child for asking questions.
>
> 3. punishment as a child for curiosity.
me thinks 2 and 3 amount to the same thing.
> 4. lack of confidence in your ability to perform experiments or lack
> of confidence in the generality of experimental results. You prefer
> the authority of another human.
I'm mostly self taught. I always experimented with everything, except
when I *first* started learning about multithreaded programming. I had
heard so many people say that its so difficult to get right, and that
the code could appear to work, but not be "correct". This put me off of
the subject for a while until I realized that there was a finite
(actually small) set of rules which you could reason with. This gave me
the ability to "mentally" experiment with such scenarios.
Experimentation is definitely an invaluable process.
> I recall teaching a computer course to some women reentering the work
> force as part of a government program. I asked them to pound some
[quoted text clipped - 6 lines]
> She burst into tears. She then reported me for abusing her by giving
> her inadequate direction on what to do.
This sounds like an exaggeration, but I believe it. Many of my past
students have known the solution to a problem, but wouldn't attempt it
until I told them it was correct.
If someone has to tell you that you're correct, then you'll never
produce anything original.
> She was an extreme example of someone afraid to experiment, someone
> terrified of making a mistake or doing something without explicit
[quoted text clipped - 5 lines]
> The kindest thing a parent can do is avoid squashing his children's
> curiosity. That was one thing my parents did well.
Agreed, There is a fine line between protecting the wellbeing of your
children and possessions, and causing harm in the form of fear of
experimenting.

Signature
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
Roedy Green - 27 Oct 2007 13:14 GMT
On Fri, 26 Oct 2007 12:03:22 -0700, Daniel Pitts
<newsgroup.spamfilter@virtualinfinity.net> wrote, quoted or indirectly
quoted someone who said :
>> 2. punishment as a child for asking questions.
>>
>> 3. punishment as a child for curiosity.
>me thinks 2 and 3 amount to the same thing.
Curiosity would include taking things apart, poking around in parent's
belongings, attempting to use tools, wandering off to explore, wanting
to take large amounts of time to study interesting phenomena, interest
in things parents consider morbid like insects, road kill, books of
tropical diseases ...
Asking questions can sometimes just be a way to pass time. The answers
are not important. It is just something to do with a parent. I can
remember asking questions I already knew the answers to when I ran out
of new ones. It was almost like asking for a familiar bedtime story.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 27 Oct 2007 13:25 GMT
On Fri, 26 Oct 2007 12:03:22 -0700, Daniel Pitts
<newsgroup.spamfilter@virtualinfinity.net> wrote, quoted or indirectly
quoted someone who said :
>This sounds like an exaggeration, but I believe it.
Strangely it is not. What is odd is the other women in the class
chastised me as well. I was dumbfounded. Their point was I should
have noticed how stressful this was for her and backed off, and that I
should apologise for giving her an impossible ill-defined task. I gave
her no algorithm to decide which key to kit. Her reluctance for me
made no sense. It was not as though I was asking her to jump out of a
plane.
I had taught university level and children before, but never a group
such as this. It was completely different.
I talked about this with various people trying to understand what was
happening.
One person said, that older adults are extremely afraid of making a
mistake, especially a public mistake.. They would find it humiliating.
(I had noticed teaching university students a few would refuse to work
at the black board.) They want to know exactly what to do. They want
assurance the odds of making a mistake are extremely low.
It seems to me, you can't learn anything in computers until you are
willing to make hundreds of mistakes. You have to keep trying thing
after thing until you find something that works. If you punish
yourself for failing to guess the right answer the first time, you
will become paralysed and incapable of solving any but the simplest
problems.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Patricia Shanahan - 27 Oct 2007 14:13 GMT
...
> It seems to me, you can't learn anything in computers until you are
> willing to make hundreds of mistakes. You have to keep trying thing
> after thing until you find something that works. If you punish
> yourself for failing to guess the right answer the first time, you
> will become paralysed and incapable of solving any but the simplest
> problems.
...
I would delete "in computers" from the first sentence of this paragraph.
Learning almost any skill involves trying to exercise the skill before
you have acquired it.
Patricia
Daniel Pitts - 27 Oct 2007 17:43 GMT
> On Fri, 26 Oct 2007 12:03:22 -0700, Daniel Pitts
> <newsgroup.spamfilter@virtualinfinity.net> wrote, quoted or indirectly
[quoted text clipped - 27 lines]
> will become paralysed and incapable of solving any but the simplest
> problems.
Man, I would have apologized. I'm sorry you're too stupid to learn
computers. Just kidding.
Although, my with my personality I would have apologized, not for my
methodology, but because I didn't notice/realize the distress I was
causing. I can see how most people in your situation wouldn't
apologize. I don't think you're wrong.
I also agree that the fear of mistakes is debilitating to would-be
students. Even I fall prey to that fear at times. As soon as I get
over it, I tend to do better than many of my peers.

Signature
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
Roedy Green - 27 Oct 2007 13:32 GMT
On Fri, 26 Oct 2007 12:03:22 -0700, Daniel Pitts
<newsgroup.spamfilter@virtualinfinity.net> wrote, quoted or indirectly
quoted someone who said :
>This sounds like an exaggeration, but I believe it.
The fact I left out was these women had been out of the work force for
a very long time, and were having minor psychological problems
reintegrating. They were a very timid group, possibly abuse survivors.
My course was supposed to give them a gentle, low-pressure
introduction to computers. I was known for teaching in a light
humorous way.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com