(*) The function to obtain the time of day with (fairly) high
resolution doesn't even try to be portable. But as far as I
know it's not possible to write such a function in portable C,
and the comments are pretty clear about this code needing to be
reviewed for platforms other than the one I developed on.
I need a full link; this has ellipses. I look forward, quite
seriously, to reading your code.
snipola
I don't know C#, but the same thing is true in Java -- but the
ints are *NOT* a subset of the floats in Java.
That is correct. But I'd hasard they are a subset of the doubles. Most
competent C Sharp programmers, who use a mental model derived
independently of the mistakes of geeks, prefer doubles to floats for
this reason.
In my opinion, truly competent programmers try to choose the best
tool for the job, where "best" is determined by a number of factors.
No, "best" is determined by correctness, the programming manifestation
of truth. Whereas "a number of factors" usually includes peer group
and management pressure to conform to a normalized deviance. The
pretense is that this is a form of engineering, but if it is, it's
self-reflexive, which means that the "skilled" programmer in such a
milieu is the least ethical, and the most willing to act in ways that
are either self-destructive (as in the frequent phenomenon of
excessive hours) or destructive to others (as in the case of Peter
Seebach, who manages to lie about people, frequently).
I do. You say you do. Beginners often don't, and the evidence
Snide, as always, in the passive aggressive corporate register. This
just in, honey. In a "civil" conversation, phrases which imply
dishonesty (such as "you say you do") cross the line, and are an
invitation, sugar, to end the civil, Habermasian conversation. As
such, they are far worse than the usual corporate suspects, such as
"sexism", babe.
The difficulty here is not that one has finitely many bits to work
with. People who don't know what the real problem is are apt to
think that representing currency amounts as doubles is a good idea.
Perhaps you wouldn't make this mistake, but many people do.
(Sigh) (Eye roll) (Crotch grab)
I don't understand what distinction you're making here; to me it
seems obvious that one cannot claim to be a competent programmer
without understanding that most (all?) tools have limitations,
and a prudent programmer informs himself, or herself ....
I'm tired of the tool metaphor, and paraprogrammers who rise out of
the mechanical sort and who overuse the "software as tool" or
"computer as car" metaphor. These people shouldn't do serious
development and shouldn't waste my time.
If I were in charge of the world, and ain'tcha glad I am not, my
examination for prospective programmers would resemble the Imperial
(Chinese) civil service examination. I would expect the candidates to
be able to write poetry. I get more and more serious and less and less
humorous about this as the years go by.
Not in so many words, no. If I misunderstood you -- ah well.
Shit happens, right, doll?
You seem to be saying that one should not bother to write code as
portably as possible. I don't agree. But even if I did -- again,
Quite the opposite, I'd say. Why code for Linux all the time? It's
basically (cf Lanier's book) just a copy of unix, based on the work of
an author other than the millionaire Torvaldys whose work was stolen
by Torvaldys much as MS-DOS was stolen. The same sleaze and inferior
praxis occurs in both communities.
Oh, and that comment about writing code for embedded systems --
aren't there different rules (about the signature of main()) for
free-standing and hosted implementations anyway?
Which means, of course, that the Linux expectation should not control,
get it yet?
I don't agree. It's one more thing that would have to be changed if
one ever wanted to port the code to a platform on which the return
value mattered.
Which exposes the main() return bullshit for what it is (why is it not
permitted on the Internet to say "****" and "shit" but it's ok to make
a foul, if misspelled, word out of Herb's patronym? Have human beings
ceased to matter? **** me if I know.)
It is the false belief, powered in fact by a corporation which remains
one of the most powerful, if most obscure, forces on the planet: good
old IBM, which continues to maintain control of computers that really,
really matter (vast server farms and secret data bases), that we can,
after all, force all the technopeasants into one tribe dominated by
Linux and wikipedia.
Back to 1984...
Why? Isn't it more polite to take your word for it that you got it
right at wordpress, even though you got it wrong here?
Point taken.
It's not so much that it's an error as that it's one you seem to make
often, hence an additional clue that this might be quoted text.
Is it an error? And, of course, orthography and pronunciation, as
opposed to grammar and style, are the usual refuge of the half-
literate.
Again -- I really don't care that much about spelling errors, though
I usually do notice them. I've explained elsethread why I initially
mentioned yours.
You care enough to keep bothering me.
The thing that's amusing here, or ironic, or something, is that
for me the fact that your writing is for the most part free of the
more obvious kinds of errors lends it a credibility it otherwise
might not have.
The meaning of my literacy is that more more intelligent and more
decent than most people here. In fact, this has been pointed out in
numerous "performance reviews" in which the subtle message was that my
intelligence was out of scale in the dumbed-down corporate world, as
was my outspokenness and even decency. My female coworker at Bell
Northern Research was told that she was "too good" for the "dog eat
dog corporate world".
Well, you never know. One thing I figured out a long time ago is
that some people come across as being smarter than they actually
are, by virtue of being articulate and self-confident, while others
who are actually very bright fly under the radar, so to speak.
This is an urban legend. In fact, Dijkstra's test for programming
competence included a degree of literacy which most Americans, even
formally educated ones, no longer have. Corporations, however, select
for low but acceptable literacy because highly literate people tend to
get uppity.
You can't be mute and unsung, and a Milton, all your life. Sooner or
later, it's time to **** or walk. I'd be the first to applaud Peter if
he ever said anything truly intelligent.
Which group I'm in -- oh, I think it's all relative anyway.
Certainly I've worked with people who are intellectually out of my
league, and with others who are probably no smarter but somehow get
more done. I've also on occasion worked with people about whom I
think "how is it possible for anyone to be this dim?" <shrug>
I do find it amusing to speculate about what you would make of my
educational and other credentials, given that you seem to regard
your good grades and Schildt's degrees as reliable indicators of --
something. But since I'm not willing to post them here, for reasons
that seem good to me, it's a moot point, I guess.
In the absence of other information, "good grades" and Schildt's MSCS
are in fact all that separates us from the barbarism of *les ancien
regimes*, in which careers were not open to talents, and in which
people were beaten for even thinking of speaking out. I've had it up
to here with the Populism of claiming that one's own poor grades
indicate in themselves that it is "the system" which is at fault,
because white programmers like Seebach use poor school performance or
the absence of coursework so consistently paradoxically as to make
their gesture meaningless. They mean that they are of the race
expected to do well and that any information or any failure to the
contrary is a conspiracy against their Genius.
As a result, a new *ancien regime* is formed of people with money and
their henchmen selected according to class background and race by
"human resources" departments, and careers are once more closed to
talents.
If Seebach manifested Ben Bacarisse's talent, I would be the first to
waive my expectations as an MA was waived on my behalf in 1973 and I
taught logic at university level. But he does not, and this realigns
the evidence against him.
Again with the patronizing forms of address .... Knock it off,
would you?
Not until you start showing more solidarity with the victims of the
cybernetic mobs that so frequently form in this newsgroup owing to
enabling language expressed in dulcet tones, hon.
"Patronizing forms of address" are not a matter of syntax, but of
intent, and it is a form of fashionable autism to judge another's
sexism by means of keywords alone. I refuse to allow you to make any
inferences about my sexism for essentially the same reason I refuse to
allow Seebach to make inferences about what Schildt knows based on his
own, very limited and very biased, knowledge.
Language, in this and many other newsgroups, is used so often
ironically by chattering ape-men who in a truly bizarre fashion have a
cargo cult theory that words mean single things. They use it to lie
and then they hold others to the truth.
My sexism is ironic. Real malice, of the sort shown Kenny, Navia,
Schildt, Chinese visitors and myself, as well as competent female
programmers, is my concern here.
Okay, I guess I'm going to ask -- why the hyphen?
A deliberate affectation.
The _Times_ mentioned Seebach and Heathfield? Wow. (Yes, yes, you
almost surely didn't mean to imply that -- or at least not that they
did so by name.)
Finding Dumb and Dumber interpretations as a way of critiquing writing
is a poor way of improving anyone's writing.
I can believe that things have gotten worse in the years since I
left "industry" to pursue an advanced degree. For what it's worth,
my decision to do that had nothing to do with the kind of people
I was working with at the time, though -- they were almost without
exception both capable and collegial. Again, it's probable that I
was lucky in that regard. Just sayin', maybe. As for why I took
a teaching job rather than going back to industry -- I thought I'd
enjoy teaching, and the academic-job lifestyle, and on the whole
I have.
I am not saying that Seebach at his worksite is not collegial and
capable in proportion to expectations which have been dumbed-down. In
fact, he has a nice blogpost on how not to be an asshole at work.
The problem is that "work" is so obviously a laager, which is marked
off, and that outside this line (as in my examples elsethread of what
happens to the laid-off, and Seebach's somewhat Ted Bundy like
persona) the artificial constraints on expression at work issue in
deviance, here out of control bullying.
I don't agree that I'm making a "tu quoque" argument; I'm making
a point about what I perceive as -- oh, "hypocrisy" is too strong
a word, I suppose, but I can't think of a milder one.
Well how about "I like making tu quoque arguments?"
<snip>