Are the posted questions getting worse?

  • Michael L John (6/16/2016)


    Lynn Pettis (6/16/2016)


    Michael L John (6/16/2016)


    I'm sorry, this post infuriates me.

    Integer division was taught within the first three weeks of my first programming class in my first semester of school.

    Actually, I remember learning about integer arithmetic in the first grade. For example, 1 divided by 2 equals 0 remainder 1.

    Is that old math, new math, or common core math???

    I'll just say it is 60's math and let others label it. Common core wasn't even around when I was in school.

  • Lynn Pettis (6/16/2016)


    Michael L John (6/16/2016)


    Lynn Pettis (6/16/2016)


    Michael L John (6/16/2016)


    I'm sorry, this post infuriates me.

    Integer division was taught within the first three weeks of my first programming class in my first semester of school.

    Actually, I remember learning about integer arithmetic in the first grade. For example, 1 divided by 2 equals 0 remainder 1.

    Is that old math, new math, or common core math???

    I'll just say it is 60's math and let others label it. Common core wasn't even around when I was in school.

    It wasn't around for me either. And John, don't even think it was around when you were in school either. 😛

    It's common sense, elementary school math.

  • Michael L John (6/16/2016)


    Lynn Pettis (6/16/2016)


    Michael L John (6/16/2016)


    I'm sorry, this post infuriates me.

    Integer division was taught within the first three weeks of my first programming class in my first semester of school.

    Actually, I remember learning about integer arithmetic in the first grade. For example, 1 divided by 2 equals 0 remainder 1.

    Is that old math, new math, or common core math???

    Well, that's me earwormed for the morning.

    "Hooray for New Math, New-ew-ew-ew Math

    It won't do you a bit of good to review math

    It's so simple, so very simple,

    That only a child can do it"...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • Michael L John (6/16/2016)


    I'm sorry, this post infuriates me.

    Integer division was taught within the first three weeks of my first programming class in my first semester of school.

    I don't remember exactly when I learned it, but I know I learned whole numbers before high school. What freaks me out is that I can actually apply that logic to a real world job after so many years in my childhood believing none of this would help me as an adult. :hehe:

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • Brandie Tarvin (6/17/2016)


    Michael L John (6/16/2016)


    I'm sorry, this post infuriates me.

    Integer division was taught within the first three weeks of my first programming class in my first semester of school.

    I don't remember exactly when I learned it, but I know I learned whole numbers before high school. What freaks me out is that I can actually apply that logic to a real world job after so many years in my childhood believing none of this would help me as an adult. :hehe:

    Exactly! 🙂

  • What's really incredible is how powerful integer math solutions can actually be depending, of course, on what you need to do. Sometimes the really old, simple stuff is the best way.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Jeff Moden (6/17/2016)


    What's really incredible is how powerful integer math solutions can actually be depending, of course, on what you need to do. Sometimes the really old, simple stuff is the best way.

    Agreed. The old stuff that's still used has lasted this long for one reason - it works.

  • Ed Wagner (6/16/2016)


    Lynn Pettis (6/16/2016)


    Michael L John (6/16/2016)


    Lynn Pettis (6/16/2016)


    Michael L John (6/16/2016)


    I'm sorry, this post infuriates me.

    Integer division was taught within the first three weeks of my first programming class in my first semester of school.

    Actually, I remember learning about integer arithmetic in the first grade. For example, 1 divided by 2 equals 0 remainder 1.

    Is that old math, new math, or common core math???

    I'll just say it is 60's math and let others label it. Common core wasn't even around when I was in school.

    It wasn't around for me either. And John, don't even think it was around when you were in school either. 😛

    It's common sense, elementary school math.

    I don't believe it's a case of not knowing, but more like not remembering.

    We become to used to machines not showing integer division that we forget it happens. And if we believe that it's so easy, why can't mathematicians fully agree if the remainder can be negative or not (which then affects integer division).

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • I knew I was conflating Whole Numbers and Integers somewhat, so I went and looked it up. Then my mind got blown.

    ZERO IS NOT A RATIONAL NUMBER!

    Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • Brandie Tarvin (6/17/2016)


    I knew I was conflating Whole Numbers and Integers somewhat, so I went and looked it up. Then my mind got blown.

    ZERO IS NOT A RATIONAL NUMBER!

    Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)

    As I understand, zero is a rational number.

    Integers include all whole numbers and their negative counterpart e.g. …-4, -3, -2, -1, 0,1, 2, 3, 4,…

    All integers belong to the rational numbers.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • Brandie Tarvin (6/17/2016)


    I knew I was conflating Whole Numbers and Integers somewhat, so I went and looked it up. Then my mind got blown.

    ZERO IS NOT A RATIONAL NUMBER!

    Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)

    Ummm. That quote actually says (correctly) that zero IS a retional number.

    Rational numbers are all numbers that can be represented as a division of two integer numbers, where the divisor cannot be zero, but the dividend can. And since the collection of integer numbers includes zero, so does the collection of rational numbers - because zero can (for instance) be represented as zero divied by five.


    Hugo Kornelis, SQL Server/Data Platform MVP (2006-2016)
    Visit my SQL Server blog: https://sqlserverfast.com/blog/
    SQL Server Execution Plan Reference: https://sqlserverfast.com/epr/

  • Hugo Kornelis (6/17/2016)


    Brandie Tarvin (6/17/2016)


    I knew I was conflating Whole Numbers and Integers somewhat, so I went and looked it up. Then my mind got blown.

    ZERO IS NOT A RATIONAL NUMBER!

    Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)

    Ummm. That quote actually says (correctly) that zero IS a retional number.

    Rational numbers are all numbers that can be represented as a division of two integer numbers, where the divisor cannot be zero, but the dividend can. And since the collection of integer numbers includes zero, so does the collection of rational numbers - because zero can (for instance) be represented as zero divied by five.

    Blah. Ruin my fun, will you.

    Yes, I misread the formula. But I was enjoying my "the world is coming to an end" panic. Now I can't run around like Chicken Little anymore, party pooper.

    Or tell my boss we're no longer allowed to use the number zero for anything. @=)

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • Brandie Tarvin (6/17/2016)


    I knew I was conflating Whole Numbers and Integers somewhat, so I went and looked it up. Then my mind got blown.

    ZERO IS NOT A RATIONAL NUMBER!

    Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)

    Zero and negative power of a number can be quite useful

    😎

    Very simple example

    ;WITH NUMBER_LIST(N) AS

    (

    SELECT N FROM (VALUES (1),(2),(3),(4),(5)) AS X(N)

    )

    SELECT

    NA.N

    ,NB.N

    ,SIGN(POWER(10,NA.N - NB.N)) AS IS_A_GE_B_1

    ,SIGN(1 + SIGN(NA.N - NB.N)) AS IS_A_GE_B_2

    ,CASE

    WHEN NA.N >= NB.N THEN 1

    ELSE 0

    END AS IS_A_GE_B_3

    FROM NUMBER_LIST NA

    CROSS JOIN NUMBER_LIST NB

    ;

    Edit : Typo

  • Brandie Tarvin (6/17/2016)


    Or tell my boss we're no longer allowed to use the number zero for anything. @=)

    I hope the boss doesn't reply with "Your bonus will be... 0%, so it is useful after all"....

  • Brandie Tarvin (6/17/2016)


    I knew I was conflating Whole Numbers and Integers somewhat, so I went and looked it up. Then my mind got blown.

    ZERO IS NOT A RATIONAL NUMBER!

    Further proof that anyone believing in the power of zero MUST be crazy. @=) (duck)

    I guess you are misinterpreting the bizarre notation "$$\frac{a}{b},\: beq 0$$" :w00t:.

    What a god-awful mess it is! :crazy:

    Even apart from the bizarre notation, that is a terrible page. There should be severe penalities for anyone who teaches school children such meaningless junk. :angry:

    Tom

Viewing 15 posts - 54,616 through 54,630 (of 66,688 total)

You must be logged in to reply to this topic. Login to reply