Slashdot Mirror


User: pairo

pairo's activity in the archive.

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

Comments · 175

  1. Re:Good on them. on Ontario Proposes School Cyber-Bullying Law · · Score: 1

    From TFA: "Proposed changes to Ontario's Education Act announced Tuesday are designed to stop students from posting online attacks against other students or teachers".
    If I say my classmate can't do maths, that's an attack. But it's not defamation if it's true.

  2. Re:Good on them. on Ontario Proposes School Cyber-Bullying Law · · Score: 1

    So, you mean... Children don't have the right to free speech, but it's okay, since it's for their own good?

  3. Re:Community Gagged? on SQL-Ledger Relicensed, Community Gagged · · Score: 1

    But still, my point is, it doesn't use a temp variable to store the original i value, beucase it doesn't matter. It doesn't increment it after using i in each i++, but after evaluating the entire expression. And, it increments the i that you have AFTER evaluating that, not the i you had initially... I'm not sure how much sense that made... :-)

  4. Re:Community Gagged? on SQL-Ledger Relicensed, Community Gagged · · Score: 1
    Huuum. I get 1 and 9 on gcc (GCC) 4.1.3 20070405 (prerelease) (Debian 4.1.2-3). I've no idea what the C standard says...
    What happens is, the result is computed, then i is incremented. From gcc -S on a i=i++*i++:

    movl $1, -8(%ebp)
    movl -8(%ebp), %eax
    imull -8(%ebp), %eax
    movl %eax, -8(%ebp)
    addl $1, -8(%ebp)
    addl $1, -8(%ebp)
    Yes, eax is used to compute the result, but then again the same happens for i=++i*++i:

    movl $1, -8(%ebp)
    addl $1, -8(%ebp)
    addl $1, -8(%ebp)
    movl -8(%ebp), %eax
    imull -8(%ebp), %eax
    movl %eax, -8(%ebp)
    And same happens for i=1; j=1; i=j*42;

    movl $1, -12(%ebp)
    movl $1, -8(%ebp)
    movl -8(%ebp), %eax
    imull $42, %eax, %eax
    movl %eax, -12(%ebp)
  5. Re:Community Gagged? on SQL-Ledger Relicensed, Community Gagged · · Score: 1

    post-increments are part of the "evaluating the whole line" .., to increment i "after" evaluating the whole line, you'd have to "take out the i and put it in a temp" so you *could* increment it afterwards ... right? Whereas with the pre-increment, no other term "sees" or "needs" the old value, so its just incremented immediately.
    Hm, but, that doesn't happen. For example, i=2;i=1+(i++)*2; will leave i as 6. That's 1+2*2, evaluates to 5, then increments i. So, you don't need to store i, you do need a place to store the result for 1+i*2, but that different, and you'd need that for ++i too.
  6. Re:Community Gagged? on SQL-Ledger Relicensed, Community Gagged · · Score: 1

    i++ returns the value of i before incrementing it, so that value is stored in a temporary.
    ++i increments i, then returns the new value - no temporary required to store the old value
    Stupid question. Why couldn't it increment i _after_ evaluating the whole line? Since i++ isn't an l-value, that should work...
  7. Re:Why do this? on AMD's New DRM · · Score: 1

    What makes you think nVidia, Intel and whoever else is on the market right now won't follow suit?

  8. Re:Is this really fair? on Astronaut to Run the Boston Marathon From Space · · Score: 1

    Duh. I think I was the only one that thought you said zero gravity. :-) Soweee.

  9. Re:Is this really fair? on Astronaut to Run the Boston Marathon From Space · · Score: 1, Troll
  10. Re:Open port |service!= vulnerability on Top 12 Operating Systems Vulnerability Survey · · Score: 1

    You must be... Eh. Overabused jokes can still be funny, you know!

  11. Re:What's the point? on Protests Move From the Streets To YouTube · · Score: 1

    Putting the protest on the net simply makes it even more useless. Unless you go there and look, you won't know.
    But, going back to your war protest analogy, wouldn't that mean that people all over the world could find out about this? You don't have to live in Melbourne.
    Though, the right way to do it, I'd say, is going out on the streets, then posting a video of that on youtube. Best of both worlds. :-)
  12. Re:what's next? on Microsoft to Open Source FoxPro · · Score: 1

    Maybe, just MAYBE, FoxPro being open source would have some uses. I really fail to see how one could use ANYTHING out of Microsoft Bob for anything whatsoever...

  13. When I hear of a Google phone... on Exec Confirms Google Phone · · Score: 1

    I reach for my gun.

  14. Re:pong on The Ten Most Important Games · · Score: 1

    What point? Your point that you're 25-years old or younger? Because anyone who was gaming on a computer pre-1988 knows about Zork.
    I resent that. :-P
  15. Re:Theories of gravity on Humans Hardwired to Believe in Supernatural Deity? · · Score: 1
    What I mean is:

    Reasoning requires both intellectual capacity and evidence. Some people find little evidence for or against God. Their paucity of reasoning comes not from a paucity of intellectual capacity but from a paucity of evidence. This way, even a smart person without solid evidence against God can have faith.
    By that reasoning, smart people should believe in all sorts of things without evidence. :-)

    P.S. Preview button is your friend.
  16. Re:Theories of gravity on Humans Hardwired to Believe in Supernatural Deity? · · Score: 1

    Reasoning requires both intellectual capacity and evidence. Some people find little evidence for or against God. Their paucity of reasoning comes not from a paucity of intellectual capacity but from a paucity of evidence. This way, even a smart person without solid evidence against God can have faith. By that reasoning, smart people should believe in all sorts of things without evidence. :-)
  17. Re:faith on Humans Hardwired to Believe in Supernatural Deity? · · Score: 1

    Science tends to not disprove things. You can disprove a hypothesis but that only effects a theory. Theories tend to be positive in verbiage.
    So, the theory of gravity still holds? Theories are disproven quite often, in science. More so, it's impossible to _prove_ such a theory. No, not talking about mathematics where the whole thing is based on some definitions, but about sciences that deal with the 'real world' (Hey, for lack of a better term...): physics, chemestry, biology...

    If I am to understand you correctly, you have so much knowledge about the Universe that anybody who has faith in something is beneath you?
    No, but, faith requires lack of reasoning. If by stupid you mean intellectual capacity, then people that do not reason are stupid. QED.

    I'm not flaming you. Just food for thought before you imply that most of the world is stupid.
    As most people on Slashdot, probably, my IQ is higher than 100. So, therefore, most of the world is stupider than me.
  18. Re:Email is for instant-messaging. on E-Mail Addiction 12-Steps Stumbles · · Score: 1

    Yeah, but then you couldn't ignore people and then tell them you weren't actually at the computer. :-)

  19. Re:Fails the straight face test on IBM Sued for Firing Alleged Internet Addict · · Score: 0, Flamebait

    I doubt anyone will fire you because of your caffeine addiction.

  20. Re:DMCA on Viacom Claims Copyright On Irrlicht Video · · Score: 1

    That's not true. You just have to say that. They, , have to sue.

  21. Re:Surprisingly, this is not the end of the world. on Viacom Claims Copyright On Irrlicht Video · · Score: 1

    Actually, the way I see it, no. It says that if you do send a counter notice saying that the contect was removed/disabled by msitake or misidentification and are knowingly lying, you can get sued.

  22. Re:Right... on Vulnerability In Firefox Popup Blocker · · Score: 5, Funny

    That was quite possibly the most ignorant statement I have read on slashdot recently.
    You don't really read much of Slashdot, do you?
  23. Re:Lawsuit! - Restraint of Trade on Viacom Claims Copyright On Irrlicht Video · · Score: 1

    Not only that, but a video they had at least SOME basis to believe infringed on their copyright material.
    What basis would that be? The fact that they mistook it for something they do have copyright over doesn't really mean they have any basis to believe anything.
  24. Re:Perjury! on Viacom Claims Copyright On Irrlicht Video · · Score: 1
    Probably not, if they don't follow up on the suit. They can always claim it was a mistake. The DMCA states:

    Any person who knowingly materially misrepresents under this section-- (1) that material or activity is infringing [...] shall be liable for any damages [...]
    Key word here being "knowingly".
  25. Re:Anti-competitive and suppresses free speech... on Viacom Claims Copyright On Irrlicht Video · · Score: 1

    I take that back. I see what he's saying, and fair use applies there.
    I should really learn how to read one of these days...