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

Chris Walker longnightmo​on crop_circles
  • The Speed of Light

    @evildictaitor:

    , evildictaitor wrote

     please provide citations.

    Under Wikipedia I found a reference in the article on Front Velocity: http://en.wikipedia.org/wiki/Front_velocity that discusses this. Here's the reference that they used: Fast light, slow light and left-handed light reportedly from CRC Press. pp. 26 ff. ISBN 0750309261

    I know of a fairly recent experiment that demonstrates this and measured v = (1.12)c. However, it may take some time to get the exact name and reference of this experiment.

     

  • The Speed of Light

    An interesting debate, but I'll state again; light does faster than "c" on the surface of a conductor in the form of a shock wave, and neutrinos will likely be shown to be a form of a shock wave traveling on a hyper-surface. 

  • Merry Christmas and Happy 2012 !!!!!!

    ... and may all your code be sweet!

  • C# and object oriented language

    @Amit28: Enjoy the book, but I'd keep in mind the possibility that you may be missing the proverbial forest for the trees. I'd take a detour and look at C++ AMP and GPGPU. The OOP will likely come back around and take hold in the end.  When it does we'll call it GOOP.

     

  • The Speed of Light


    I've heard that Fermilab is now saying that they saw this phenomenon before, but didn't say anything about it because they didn't want to explain the wide error margin that they had, and assumed it was likely a mistake. Now it looks like their going to fire up the old experiment MINOS (correcting an earlier post) and see if they can duplicate the result and get a more accurate measurement. The whole argument started decades ago with the first huge neutrino detector. It detected neutrinos arriving from a supernova before the light from the supernova.

    Also, btw, light does travel faster than "c" on the surface of a conductor, like a shock wave travels faster than sound on the surface of the ground. So the question becomes, what kind of hyper surface is the neutrino traveling on(?).

  • Question about Red Black Trees

    @blowdart:

    Actually that's not exactly correct. Red nodes must have black leaves, but black nodes can have black leaves too, so:
              b
        b          b
     r     r     r    r
    b b b b b b b b

    is a valid tree.
    Infact:
              b
        b          b
     b    b    b    b
    b b b b b b b b
     would be a valid tree, except that it will never happen.

    Also:
             b
        r          b
     b    b    r     r
    b b b b b b b b
    is also valid.

    The second tree will never happen because the rotation plus required color changes will guarantee the creation of a red node under certain circumstances in such a way that you will always have at least one red node.

    That's the question. Also, I think I can explain the answer. But I want to think about it;)

  • Basic C++

    @AndyC:

    This is interesting though, drilling in with the debugger reveals that in C++ the cout << (int) i=10 << endl; uses sprintf to convert the number; also  "stringstream >>"  also uses native "C" and it's not even as pretty as sscanf, but it does look safer. I like sprintf because it gives me the control over formatting ranges (usually pre-pending 0's). Also, with my outdated experience I can do it without hitting the books. If you know a good way in C++ then you could help bring me into the new century.

  • Basic C++

    , evildictait​or wrote

    I can't even count any more how many students I've seen who have got confused to hell and back by being told "cout << 'Hello world';" is the way to print hello world and seeing their baffled faces  as they try and work out how the magic sauce behind their code is actually working. The same students do much better if you teach them printf("Hello World") because it's easier to understand functions than it is to understand operator overloading. 

    Yes, and quite interesting how the instructor jumped from goto's to class operators with no apparent explanation of class.

     I may a bit old fashion, but I still prefer sscanf for converting strings to numbers (in raw c++ (ducking)).

  • The Speed of Light

    @Minh: Imagination can travail faster than light, and can transcend time. So you can still have your jetpack. I'll stick with my space ship. But they may be using a relativistic experiment to disprove relativity; that does kind of look a bit complicated.

  • I can't find the lectures link

    Seems like I stumbled on athe link called lectures the other day. Now I can't seem to find it. Can anyone give me a helpful hint?