Slashdot Mirror


User: drxenos

drxenos's activity in the archive.

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

Comments · 675

  1. Re:And this is why I don't watch TV on New Patent on TV Forces You to Watch Ads · · Score: 1

    Wow, that must be nice. Here in NY, there are not only a lot of billboards, but people even park old semi trailers beside the highway and paint ads on them. Very, very ugly. REH

  2. Re:More subtleties can arise ... on Porting to 64-bit Linux · · Score: 1

    Different language, but I wrote a C++ class that would range check it's value. The class uses templates to completely remove unnecessary checks at compile time. For example, assume that type R is an unsigned integer with a range of [0,100]. In the following code snippet (where x, y, and z are all of type R), the compiler will remove all but two checks (divide by zero on the division, and the upper bound when assigning the result to r.

    const R a = 5, b = 7, c = 1;
    R r = ((x + a) * (y + b)) / (z - c);

    None of the other checks are necessary because the intermediate results cannot possibly overflow the integral type used to hold them. Tests have shown that the static analysis done can decrease execution times (over code that checks every operation) by a factor of 10 or more (of course it all depends on the actual expressions).

  3. Re:Well written portable code is fine on Porting to 64-bit Linux · · Score: 1

    An int cannot be "anything it wants to be." It is required to be at least 16 bits. All the primative types have size guarantees. int is special, though. It is usually choosen to be the target machine's most effienct size. Plus, the latest C standard defines typedefs for particularly sized integers.

    Ada allows you do what you want. You want an integer that is always 32 bits:
    type Int32 is new Integer range -2**31 .. 2**31 - 1;
    for Int32'size use 32;

  4. Re:Specifying bit lengths on Porting to 64-bit Linux · · Score: 1

    1) The preprocessor has not concept of "sizeof" 2) sizeof(unsigned char)is always 1 by definition 3) The latest ISO C standard already provides these types

  5. Re:UNIX once was a revolt against snobbery on Linux Snobs, The Real Barriers to Entry · · Score: 1

    Agreed. I remember VAX fonding, both from College and my first software job.

  6. Re:Here's my take on it... on Professor Bans Laptops from the Classroom · · Score: 1

    I guess I never took my college days for granted. I worked full-time at a minimum wage job, and drovee an hour everyday to attend college (where I was also full-time). I also had a new born daughter at home. I worked at that job for 10 years, attending college when I could afford it (about six of those years). I really came to resent the brats at the college whining because they had too much homework, or had to go to class, or that the BMW mommy and daddy bought them didn't have the options they wanted. I am torn now because I have the money to ensure my daughter doesn't go through what I did, but I also do not want her to be one of those brats.

  7. Re:That's why teachers should provide power points on Professor Bans Laptops from the Classroom · · Score: 1

    I'm with you. I am so sick of all the powerpoint-mania these days. Everytime someone presents at work, they have to put up their ugly slides using the same tired stock images as everyone else. Of course, people are constantly asking me to "make some slides" on X.

  8. Re:Here's my take on it... on Professor Bans Laptops from the Classroom · · Score: 1

    I once had a professor that was fond of saying, "education is the one thing you pay so much for, hoping to get so little of."

  9. Re:obvious solution on Professor Bans Laptops from the Classroom · · Score: 1

    Years ago I had a psychology teacher who banned tape recorders from his lectures, and the tests required VERBATIM transcriptions of what he said in class (no joke). He was a fast talker too! I barely passed that class.

  10. Re:I love it! A crackpot fine! on GPL Price-Fixing Lawsuit Dismissed · · Score: 1

    You forget to charge for the shredder's electricity usage, as well as wear-and-tear. Oh, and don't forget disposal!

  11. Re:Does anyone remember INFORM? on Coding is a Text Adventure · · Score: 1

    Damn forgot the link! http://www.inform-fiction.org/

  12. Re:Does anyone remember INFORM? on Coding is a Text Adventure · · Score: 1

    Remember? It never went away.

  13. Re:My experience on Financial Responsibility == Terrorism? · · Score: 1

    That's nice, except interest is compounded on a daily basis and there is usually a grace period in which you can payoff the balance before the interest starts accumulating. You cannot determine the interest you will pay on a debt by simply multiplying the principle by the APR.

  14. Re:My experience on Financial Responsibility == Terrorism? · · Score: 3, Insightful

    What credit card are you using that charges 15% a week???

  15. Re:2 ears, 2 speakers on Why 7.1 Surround Sound is Overkill For Most Homes · · Score: 1

    You moved your head, but your eyes still track to the screen. They are not static the way your ears are.

  16. Re:I like the part in the technical example on PTO Requests Working Model of Warp Drive · · Score: 1

    I know it's a joke, but it's not really true. 1m spheres in different inertial frames will not be the same size.

  17. Re:PHP on How Do You Store Your Previously-Written Code? · · Score: 1

    This isn't a lineprinter, it's a dumb terminal for the PDP-11 that used paper instead of a screen. Back in the early 80's I wasted a lot of time (and paper) playing Adventure on one of these.

  18. Re:let the... on Possible Breakthrough for AIDS Cure · · Score: 1

    And the award for "The Best Use of a TV Reference" goes to.....Mechanik!

  19. Re:Beginning of the end of 'Lord Microsoft' on Microsoft Loses Office Patent Dispute · · Score: 1

    No sure what you're joke is. Mine was from "History of The Word, Part 1."

  20. Re:Beginning of the end of 'Lord Microsoft' on Microsoft Loses Office Patent Dispute · · Score: 4, Funny

    I give you these 15...CRASH...10 commandments!

  21. Re:Educate, don't indoctrinate on Britons Unconvinced on Evolution · · Score: 1

    Then I apologize. I never stopped to think English might be a second language to you. I had pictured a typical teenager here in the US opening his mouth and showing his ignorance. Instead I have shown mine. I am sorry. You've got to admit is was a funny statement though, given the context.

  22. Re:Educate, don't indoctrinate on Britons Unconvinced on Evolution · · Score: 1

    Most people are able to learn their children basic skills, read, write, basic math, basic science

    ...or maybe not.

  23. Re:Please be real! :D on New Gravity Theory Dispenses with Dark Matter · · Score: 2, Insightful

    I think Occam's might not be of use here. One theory has dark matter, the other has a new particle. I think it might be a wash.

  24. Re:They need to charge less, not more. on Industry Asks Gamers To Pay More · · Score: 1

    Is that the best you can come up with, a ridiculous argument about air and water? If I go and copy company records, that is theft and is prosecuted as such. I have not deprived anyone of them. Now you back to class and pay attention.

  25. Re:EB Games sells USED games as NEW on Industry Asks Gamers To Pay More · · Score: 1

    Not where I live. All the closed and complete boxes are right on the customer shelves. You just grab one and pay for it. Are in a high-crime area?