9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: George Michaelson <ggm@apnic.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] rc mystery
Date: Sat,  7 Aug 2004 01:56:43 +1000	[thread overview]
Message-ID: <20040807015643.373bb01f@garlic.apnic.net> (raw)
In-Reply-To: <285f606db6bcbbfc31f0a9f8cdf04593@9netics.com>

>>
>> But, don't you think there is something equally deceitful in setting trick cyclist
>> tests on people?
>>
>
>What's deceitful about asking somebody what does printf("%c\n",0["unix"]);
>print and why?  The "trick" is only a conversation piece.

Conversation pieces are best left for the dinner table, where wit, and verbal
fencing are appropriate. Personally, I find interviews a very degrading process
from both sides of the bench.

Its a very odd way to get one char out. You've made the compiler reduce a
string literal down to one char, to stuff into a stack, only to throw away
the rest of the string. I'm struggling to see why this is better than an
embedded /* we need to emit 'u' at this point */ comment which is probably less
work for the compiler, although I suppose it has to find the end of comment marker
rather than walk the embedded string, find its first element, and literal it.

Is it really efficient to array de-ref rather than embed the ASCII value directly?

I'm not convinced we wouldn't do better with a lottery. I am not a
psychologist and I cannot predict how people will respond to questions
where the 'desired' answer is not clear. It only gets worse if English is
not the first language. Maybe you don't hire non-nationals. Or do you 'test' them
in their own language? (perhaps C is, in these cases, the best choice..)

>
>Having been on the receiving end of it too, I sympathize; but I think
>it is a fair way to weed out some of the posers (with a degree or not).  I
>agree with what geoff said.  Code samples of previous work are probably
>more representative of one's true abilities.

Yes, I agree with that.

Faced with 40 or more shortlisted candidates for a post, its tempting to
find short paths to triage. But its also demeaning. I do it too.

-George

(to be less OT, gcc did at least make the same assembler for printf "%c\n", 117)


  reply	other threads:[~2004-08-06 15:56 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 16:35 Skip Tavakkolian
2004-08-04 16:46 ` Charles Forsyth
2004-08-04 17:17   ` Charles Forsyth
2004-08-04 17:18 ` boyd, rounin
2004-08-04 17:42   ` boyd, rounin
2004-08-05  8:22 ` C H Forsyth
2004-08-05 22:31   ` Skip Tavakkolian
2004-08-05 23:26     ` Charles Forsyth
2004-08-06  2:47       ` Skip Tavakkolian
2004-08-06  3:51         ` George Michaelson
2004-08-06  3:52           ` boyd, rounin
2004-08-06  5:07             ` geoff
2004-08-06  5:17               ` Charles Forsyth
2004-08-06  7:27                 ` Skip Tavakkolian
2004-08-07  6:04                 ` dvd
2004-08-07 12:17                   ` vdharani
2004-08-07 22:56                   ` Taj Khattra
2004-08-08  0:05               ` Brantley Coile
2004-08-08  0:09                 ` boyd, rounin
2004-08-08  0:27                   ` Bruce Ellis
2004-08-08  0:29                     ` boyd, rounin
2004-08-06  7:12           ` Skip Tavakkolian
2004-08-06 15:56             ` George Michaelson [this message]
2004-08-06 17:06               ` ron minnich
2004-08-06 17:54                 ` Skip Tavakkolian
2004-08-06 17:55                   ` boyd, rounin
2004-08-06 18:03                   ` andrey mirtchovski
2004-08-06 18:16                     ` Roman Shaposhnick
2004-08-06 18:17                     ` George Michaelson
2004-08-06 18:45                       ` Skip Tavakkolian
2004-08-06 18:49                         ` George Michaelson
2004-08-06 19:01                           ` boyd, rounin
2004-08-06 19:52                           ` Skip Tavakkolian
2004-08-06 20:08                             ` andrey mirtchovski
2004-08-06 20:15                               ` boyd, rounin
2004-08-06 18:23                     ` Skip Tavakkolian
2004-08-06 18:37                       ` boyd, rounin
2004-08-06 18:49                         ` Skip Tavakkolian
2004-08-06 18:55                           ` boyd, rounin
2004-08-06 20:01                             ` Skip Tavakkolian
2004-08-08  0:29                               ` Brantley Coile
2004-08-06 17:16               ` boyd, rounin
2004-08-06 18:21               ` Skip Tavakkolian
2004-08-06 18:17             ` Chunky Kibbles
2004-08-06 18:47               ` Skip Tavakkolian
2004-08-06 18:54                 ` boyd, rounin
2004-08-06 19:06                 ` Chunky Kibbles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040807015643.373bb01f@garlic.apnic.net \
    --to=ggm@apnic.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).