Re: Data structure in system call/user program
From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 08/29/04
- Next message: Harry Phillips: "Re: Crux (Linux) -- CD resource?"
- Previous message: Michael Hearne: "Re: more or fewer drivers?"
- In reply to: terry: "Re: Data structure in system call/user program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Aug 2004 10:54:10 +0200
terry <terry@nospam.t> wrote:
> P.T. Breuer wrote:
> > terry <terry@no_spam.terry.com> wrote:
> >
> >>btw, the intend of schooling and homework is to obtain more knowledge by
> >>thinking and ASKING when you encounter problem... your misunderstanding
> >
> >
> > No it isn't. Asking for the answer teaches you nothing, except how to
> > ask for an answer. You have to produce the answer _internally_ in order
> > to have learned something. Learning is the production of internal
> > changes that cause you to be able to produce the thinking required.
> > If you do not change, you have not learned.
> >
>
> Have you ever get stuck somewhere at some problems thoughout your entire
> learning journey? What do you do when you get stuck?
When you get stuck, you analyse what you are stuck on and formulate
questions the answers to which will resolve the subproblem that you have
identified. Then you phrase those questions to yourself and go look up
the answers. Fin de problemo. You may wish to seek help as to WHERE
you can look up the answers to your questions, if that is the
subproblem.
> I agree with you
> that the ideal is to produce the answer internally. But if you don't
> know and you don't ask, its worse...
No, it's much better. It means you have resisted the temptation to
behave like a child, and achieved the satisfaction of solving a problem
by yourself.
> to phase my original thread on another way... I was just asking "how to
> pass a user program defined structure into the system call, such that
> the user program defined structure has the same name of a built in
> structure?"
Unfortunately, "name of" is a meaningless concept here. "Name of" is
something that you invent, and all of us have different names for a
thing. I call what you call an "int" a "berry shingle", for example.
So you will have to start by rehrasing your question to eliminate the
phrase "name of" if it is to start to become meaningful.
Let that be your first step.
> Its in parallel form to things like "how to use pointer?"
Any way you like. That is a question like "how do I use a baseball".
The answer is similar. You can do with a baseball anything you can find
to do with a baseball. Including putting it in a washing machine,
setting it in a breakfast bowl, and going bowling with it.
> Or "how to create an array and use them?"
Ditto.
> Did you think about doing all
> these on your own without any help from anyone or textbk?
Of course. YOu will have to first specify your language, then go and
look up the textbook for your language the way of declaring an array in
it and of allocating space for it. If this is C, the appropriate book
is Kernighan and Ritchie.
Certainly the first time i wrote anything in C, I used that book. And
the first thing I wrote was a computing language. I recall that the
book had a chapter on arrays.
> you are born
> with these? NO... you learnt through 'asking' textbook...
Exactly - you formulate questions and answer them using your own
resources.
> through
> someone, some sites, somewhere.... through examples...
Go ahead!
> >>for the INTENT of schooling is probably because you never ask...
> >
> >
> > I am afraid yours is the misunderstanding. The intent of schooling is
> > to produce internal changes in you that cause you to be able to think
> > of answers when left on your own.
>
> you read books when you are schooling?
Hardly ever. I am a very reluctant reader.
> books gives you an idea that is
> somewhat related to the answer... btw, learning is _internal_ changes
> caused partly by *external* changes...
Caused by external pressures, I think you mean. Yes, that's right - you
respond to external pressure to get something done by learning how to
do it.
Peter
- Next message: Harry Phillips: "Re: Crux (Linux) -- CD resource?"
- Previous message: Michael Hearne: "Re: more or fewer drivers?"
- In reply to: terry: "Re: Data structure in system call/user program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|