Slashdot Mirror


User: archaiclinuxuser

archaiclinuxuser's activity in the archive.

Stories
0
Comments
7
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 7

  1. Re:My Conspiracy Theory: American Agribusiness on Climate Expert Says NASA Tried to Silence Him · · Score: 1

    You're correct that is 9/5. However, that yields a greater value. 9*4 = 36. 36/5 = 7.2

  2. Re:My Conspiracy Theory: American Agribusiness on Climate Expert Says NASA Tried to Silence Him · · Score: 1
    4C in the last 28 years. That's about .7 degrees F not enough to matter
    First, your math is wrong. F = (5/9)C + 32. 5/9*4 = 2.2222...

    Second, it takes less than a tenth of degree centigrade to make a difference between what is frozen (solid) and what is melted (liquid).

  3. Re:The Kansas Case on Evolution Named Scientific Achievement of 2005 · · Score: 1

    According to http://www.wsu.edu/~brians/hum_303/enlightenment.h tml, the Enlightment occured before the founding of the country. Considering the U.S. forefathers were heavily influenced by the Enlightenment, I suspect they probably meant a separation of separation of church and state. You might want to see James Madison's view, http://www.jmu.edu/madison/center/main_pages/madis on_archives/constit_confed/rights/epilogue/epilogu e.htm, or, perhaps, the view of Thomas Jefforson on Church and State, http://www.unf.edu/~dschwam/danbury.htm.

  4. Re:What a joke on Democrats Defeat Online FOS Act · · Score: 1

    Filibusters are ownly allowed in the senate not the house even then its only a procedural filibuster which can be overridden by a 2/3 majority. Learn history. Learn government.

  5. Greed 2.0? on Record Labels Unveil Greed 2.0 · · Score: 1

    I'm still running the initial beta release Greed v0.1.0

  6. Re:CS doesn't teach programming on The Changing Face of Computer Science · · Score: 1
    Correction: change
    int dstlen = strlen(dst);
    if(dstlen > 0)
    //if dst already has a value delete original
    //value
    delete dst;
    to
    if(dst != NULL)
    delete dst;
    ,include stdlib.h, and change
    return (char*)(memmove(dst,src,strlen(src)));
    to
    return (char*)(memmove(dst,src,strlen(src)+1));
    I remembered the null character in initialization but not in the memmove parameters.
  7. Re:CS doesn't teach programming on The Changing Face of Computer Science · · Score: 1
    I hate to say it but the parent's question is a legitimate one.

    A correct response would look something like this

    #include <string.h>

    char* strcpy(char* dst,char* src)
    {
    int dstlen = strlen(dst);
    if(dstlen > 0)
    //if dst already has a value delete original
    //value
    delete dst;
    dst = new char[strlen(src)+1];
    /*C++ uses 1 byte ascii values to represent
    chars so you should just supply the length of
    the string. As well, memmove already returns
    a pointer to the destination value so it is
    sufficient to just return the type-casted
    value of the pointer that memmove returns*/
    return (char*)(memmove(dst,src,strlen(src)));
    }
    That should be a correct and efficient
    implementation of strcpy. btw, I will be
    attending the University Of Texas at Dallas this
    fall to start work on a CS degree.

    I can't really comment on whether or not
    engineering majors really do code better than
    those who major in CS. However, I have written
    programs that are more efficient and readable
    than my friends dad who has 25 years of
    electrical engineering experience. Perhaps, I am
    an isolated case, but I have found that
    efficient data structures and algorithms can
    often not only be more readable but more
    efficient than low level machine code.

    So, I am going to disagree with both you and the topic parent.