Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Richard Anthony Hein Richard.Hein Stay on Target
  • Project Midori is building a new programming language

    @felix9:  Good finds. 

  • Breakthrough Opens Path to Optical Batteries

    @Proton2:  Yes, that's true, but this is brand new physics, which is what really interests me, and if you can use transparent material, like glass, and other non-conducting materials, then we may add that power source to other semiconductor based solutions.  However, the real issue with the technology is the intensity of the light required to get the magnetic field to emerge.  It certainly isn't practical yet, but again, it's new physics.  Smiley

  • Breakthrough Opens Path to Optical Batteries

    "Light has electric and magnetic components. Until now, scientists thought the
    effects of the magnetic field were so weak that they could be ignored. Rand and
    his colleagues found that at the right intensity, when light is traveling
    through a material that does not conduct electricity, the light field can
    generate magnetic effects that are 100 million times stronger than previously
    expected. Under these circumstances, the magnetic effects develop strength
    equivalent to a strong electric effect."

    'We've all been taught that this doesn't happen'

    Exciting. Big Smile

     

  • Web Services that have Data for your Apps?

    Went to the session with the other nominees with Dr. Herbie, Sven and Bas to watch LittleGuru, and found it very promising.  The big question on my mind is how one becomes a provider and gets around all the legalities of taking that data and curating it.  Is it legal to take sport scores from some league as it happens and just add it to your data offering to be consumed by users?  I imagine that you have to license it in some way, but some of it may be public domain.  Do newspapers have to pay a fee to publish stats from games?

  • Redhat's Project Ceylon

    Interesting Josh; thanks.  I took a look at the article, but I'll have to look at the slides later, to understand "its syntax for passing optional named parameter values into methods lends itself well to creating declarative domain-specific languages".

  • Please join us for the Nineys!

    Just got home after changing flights and missing my connection. 

    Do tell Bas. Smiley 

    Had an unbelievably awesome time meeting so many Channel9 celebs and having great converstations and just hanging out!

    Thanks so much to Channel9 for the opportunity.  Big Smile

     

  • Please join us for the Nineys!

    At dinner with Charles, Littleguru, Dr. Herbie, Bas and Sven, at the Striphouse! Smiley. I <3 Channel9!

  • Please join us for the Nineys!

    Yes, congrats to Littleguru!  Smiley  Last night was awesome.  More to say later ... I'm late.  Cool

  • Please join us for the Nineys!

    Keynote just started. "HTML 5: Native to Windows", is the opening slide from Dean.

  • 48/2(9+3) = ? New 48/2(9 + 3)/3(9 + 3)?

    @Proton2:  Spaces have nothing to do with it at all.  Wolfram Alpha treats 48/2*(9+3) exactly the same.  http://www.wolframalpha.com/input/?i=48%2F2*%289%2B3%29

    Since the order of operations defines division and multiplication as having the same precedence, they must be treated from left to right, that is, you must divide in this case before multiplying.

    What does temperature have to do with it?  Absolutely zero. Wink

    I think I trust Wolfram Alpha over OneNote, even if I didn't already know BEDMAS. 

    Even if you are having trouble believing that it should be left to right in this case (aside from the parenthesis (or bracketed) portion, consider:

    48 * (1/2) * (9+3) = 48 * (1/2) * 12 = 48 * 0.5 * 12 = 48 * 12 * 0.5 = 48 * 12 * (1/2) = 576/2 = 288

    And,

    48 * ((1/2) * (9+3)) = 48 * ((1/2) * 12) = 48 * (0.5 * 12) = 48 * Devil =  288

    There are many rational ways to evaluate the expression using left to right precedence of the multiplication and division operators.  However, the only way to get 2 is to assume everything to the right of the divisor is automatically part of the divisor because it's not in parenthesis, and ignore left to right order when evaluating the expression and that's wrong, because consider what kind of mess we'd be in if we didn't choose either left to right or right to left!  What if we have:

    48*1/2*1/4?

    Left to right,

    48*1/2*1/4 = ((((48*1)/2)*1)/4) = (((48/2)*1)/4) = ((24)*1)/4) = (24/4) = 6, or alternatively:

    (48*1)/2*1/4 = (48/2)*1/4 = (24*1)/4 = 24/4 = 6, or you don't even need to consider the brackets:

    48/2*1/4 = 24*1/4 = 24/4 = 6, and the result is always the same.

    Assuming everything to the right of the divisor, however is not nearly as intuitive:

    48*1/(2*1/4) = 48*1/(2/4) = 48*(1/0.5) = 48*2 = 96

    Or, how about 8/2/4/5*2/6*1/8/1*5*1/1/1/1*5?  Left to right it's simple, just perform each operation in order from left to right. 

    LTR: 

    8/2/4/5*2/6*1/8/1*5*1/1/1/1*5 = 4/4/5*2/6*1/8/1*5*1/1/1/1*5 = 1/5*2/5*2/6*1/8/1*5*1/1/1/1*5 = 0.20*2/5*2/6*1/8/1*5*1/1/1/1*5 = .40/5*2/6*1/8/1*5*1/1/1/1*5 = 0.08*2/6*1/8/1*5*1/1/1/1*5 = 0.16/6*1/8/1*5*1/1/1/1*5 = 0.0266...*1/8/1*5*1/1/1/1*5 = 0.0266.../8/1*5*1/1/1/1*5 = (1/300)/1*5*1/1/1/1*5) = (1/300)*(5*1/1/1/1*5) = (1/300)*(5*5) = (1/300)*25
    = 25/300 = 0.0833.... 

    (I took a shortcut, seeing that 0.0266.../8 = 1/300).  A pain to type out, but on a calculator it's easy to verify.

    However, assuming everything left of the divisor as part of the divisor is crazy, and no fun at all.  Try it and see for yourself ... I started and I certainly don't want to do it.  It's just not rational to do it that way; we have to choose, left to right, or right to left.  It happens that we have chosen left to right.