J
Jan Panteltje
Guest
On a sunny day (Mon, 3 Jun 2019 11:00:35 +1000) it happened Clifford Heath
<no.spam@please.net> wrote in <Wi_IE.9351$H55.6004@fx40.iad>:
You are very very confused.
In coding you always have to create parts to inform a user if YOU think it is necessary.
What model airplane / manufacturer are you coding for?
I am making a blacklist what not to fly ;-)
Really nothing you say makes sense,
try looking at it from a real user perspective,
not one that thinks like you
From the application you know if you have to add extra info for users that
have no clue.
Even a 12 year old kid knows where to look
if /this/that/ortheother could not be opened.
It is is mostly a case of spelling.
It is a bit like driving a car, well OK there ARE clueless cases,
one such a case was somebody following the instructions of one of those GPS thingies,
'Take next left' and drove into a non existing bridge into the water that is.
You would like to say the thing, 'look sir, not that service road just before the bridge'.
Then you argue about the word 'next' and then you call it lack of respect from the system..
Bull
It is an aspect of a system created for trained users, if you want to write for clueless users
YOU have work to do as I stated before (its easy to do a directory check, examples in libc.info.
Go read libc.info and get a clue.
<no.spam@please.net> wrote in <Wi_IE.9351$H55.6004@fx40.iad>:
On 3/6/19 1:05 am, Jan Panteltje wrote:
On a sunny day (Sun, 2 Jun 2019 22:57:19 +1000) it happened Clifford Heath
no.spam@please.net> wrote in <RIPIE.36172$xY3.34375@fx01.iad>:
int fd = open("/a/b/c/d", 0)
if (fd < 0)
{
// Even after looking at errno, I have no fucking idea what went wrong.
}
What went wrong is that 'open' failed
... > // if you think he user is a moron, then you can do a test for the
directory chain.
and duplicate the logic of the kernel "namei" method? Have you ever read
that logic? There is a surprisingly large amount of it. Its madness to
either expect the programmer to reconstruct the failure (hint: it's
possible that all the directories and files exist, but "b" is not
searchable, for example), or to simply expect that every user will know
this logic and be able to determine what went wrong.
The kernel alone knows *precisely* what went wrong and why, but did not
show anyone the basic *respect* of telling them.
"I can't open /a/b/c/d because although /a/b exists, it is not marked as
searchable so I cant see /a/b/c" - there, that wasn't so hard now, was it?
It is this basic lack of *respect* (so endemic in the industry) which
creates the kind of user rage and frustration that is sadly all too
common. The simple principle of *showing respect* to your users can
change that. But you prefer just to call them as morons, because it gets
you off the hook. The fish rots from the head. If the kernel doesn't do
it in syscalls, the programmers just say WTF and give up trying.
Clifford Heath.
You are very very confused.
In coding you always have to create parts to inform a user if YOU think it is necessary.
What model airplane / manufacturer are you coding for?
I am making a blacklist what not to fly ;-)
Really nothing you say makes sense,
try looking at it from a real user perspective,
not one that thinks like you
From the application you know if you have to add extra info for users that
have no clue.
Even a 12 year old kid knows where to look
if /this/that/ortheother could not be opened.
It is is mostly a case of spelling.
It is a bit like driving a car, well OK there ARE clueless cases,
one such a case was somebody following the instructions of one of those GPS thingies,
'Take next left' and drove into a non existing bridge into the water that is.
You would like to say the thing, 'look sir, not that service road just before the bridge'.
Then you argue about the word 'next' and then you call it lack of respect from the system..
Bull
It is an aspect of a system created for trained users, if you want to write for clueless users
YOU have work to do as I stated before (its easy to do a directory check, examples in libc.info.
Go read libc.info and get a clue.