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

Comments

evildictaitor evildictait​or Devil's advocate
  • Wandering Around London's Science Museum with Some Niners

    jason818_253.33 wrote:
    

    The brilliants of making a machine that does polynomial functions is fascinating! I can’t begin to imagine how one goes about making something like that. Even when I see it it’s hard to believe. I admittedly paused just to get a closer look at that human brain.



    How do you "do" a polynomial function? Do you evaluate it's zeros, or evaluate it numerically at a point, or what?
  • Happy Holidays Niners

    What, no harmony? I think you need some C# developers there to add layers of harmony, and get someone in the compilers team to back it up with bass; oh, and doesn't Microsoft have an orchestra? Tongue Out

    Good job! I particularly enjoyed the interview at the beginning! (We need more VB interviews Charles)
  • Brian Beckman Does Higher Algebra with Visual Basic

    Since when does linear algebra and vectorspaces count as higher algebra? They're first year stuff Tongue Out
  • IE 8: On the Path to Web Standards Compliance - ACID 2 Test Pass Complete

    The truly amazing thing is the comments on digg about Internet Explorer have practically no Microsoft or IE-bashing for this post.

    Seems that this was a good job well done by MSFT.
  • Niners on 9: Littleguru, Zeus and JasonOlson

    Yeah. I am absolutely 100% with Jason on the Going Deep videos. They should make one a day, and make them even more technical.
  • Choosing the Right LINQ Model for Your Application

    What? No download button?

    How woode.
  • Pat Brenner: New Updates to MFC in Visual Studio 2008

    Boomport wrote:
    The whole point of .NET is choosing the language of your choice.  I use C++ as little as possible, but I don't want them taking away C#, or VB.NET.  I'm sure the C++ guys feel the same.


    C# and C++ should like together, like man(aged) and wife (I'll get lynched by politically-correct people if I said native wife).

    There are things which C# can do which C++ struggles with. C# puts code to product quickly and well, it has an awesome IDE and it's easy to reason about automatically.

    There are things which C++ can do which C# struggles with. C++ uses vast, vast libraries the like of which C# has never seen, and has the rich full-bodied glory that only a language committee and nearly two decades of industry trial-and-error has given. C++ can interface easilly with the kernel, and works well on non-Microsoft OSes. If your codebase is primarilly C++ you also can't afford to move to C#.

    Sure you can make bad code in C++ with buffer overruns, but you can make nasty mistakes in C# as well, but not understanding the deletion order of the GC, or by playing with pointers through PInvoke in a way that you shouldn't.

    Point is that C++ and C# shouldn't be opposites. F# showed us that Haskell-like languages and C++-like languages can co-exist and can complement each other, rather than fighting in silly "my language is better than yours" wars. Hopefully someday we shall have a G#++, which combines the power, flexibility and interoperability of C++ with the language-independence, managed-ness and nice IDE-ness of C#.
  • Pat Brenner: New Updates to MFC in Visual Studio 2008

    SecretSoftware wrote:
    
    I Yearn for the day when Visual Studio will not have C++ in it anymore.

    The Visual Studio on this machine doesn't have C++ on it because I decided not to install it when I installed VS 2008. (My VS2005 has C++ on it).

    SecretSoftware wrote:
    
    OSes will be using managed code in the future.

    Way to show how little you know about OSes.

    SecretSoftware wrote:
    
    Games too.

    And games.

    SecretSoftware wrote:
    
    So lets just slowly get rid of C++ and focus on C#.

    C++ will stop being used when it is no longer useful. There is no single group that can force people to stop using C++, and it still remains the language of choice for most big applications. I might venture to point out that Vista, MS Office, Visual Studio and IE/Firefox are all written in C/C++, so it's a long time off a "big switch" to .NET languages.

    SecretSoftware wrote:
    
    C# is the future, and C++ brings back bad memories , of sleepless nights.

    Anyone for year of the C# desktop?

    SecretSoftware wrote:
    
    Customers who still use C++ should upgrade to C#. And that is that.

    Anyone who still uses C++ or C# should upgrade to Lisp/Perl and that is that. What gives you the right to overrule what someone else has deemed a good language for your product when you clearly know less about their product than you do.

    SecretSoftware wrote:
    
    Any one who likes C++ should just stay with VS 6. or previous builds of vs.

    And while they're at it, Steve Ballmer should state that Microsoft Office is now going to support documents written only in capitals because it gets the point across, and that IE8 will drop support for CSS and images because they "arn't useful". Seriously, stop being stupid.
  • Build UAC aware apps with VS2008

    rsclient wrote:
    It would be nice to know if an app can detect that it's elevated, or handle the user not running it. 


    public static class UAC {
      public static bool AmElevated(){
        return
    new WindowsPrincipal(WindowsIdentity.GetCurrent())
           .IsInRole(WindowsBuiltInRole.Administrator);

      }
      public static void Elevate(){
        if(AmElevated()) return;
       
    ShellExecute(IntPtr.Zero, "runas\0",
           Application.ExecutablePath + "\0", "\0", "\0", 1);

      }
    }

    ...

    public class Program {
      public static void Main(){
        if(!UAC.AmElevated()){
          MessageBox.Show("I'm not elevated, asking you to elevate...");
          UAC.Elevate();
        }else{
          MessageBox.Show("I'm elevated, yays!");
        }
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new Form1());
      }
    }
  • Patrick Dussud: Garbage Collection - Past, Present and Future

    JChung2006 wrote:
    
    JohnnyAwesome wrote:
    They wrote J Script in the time-span of several weekends? And he wrote that in Lisp and then rolled a C translator from scratch?

    There is a reason why I could not work at Redmond and that just about summarizes it.

    It's not that difficult, especially if you've done it before, like most people would have in any decent computer science graduate program.


    Bearing in mind that Computer Science graduate programs didn't exist fifteen years ago, and were a one-year extention of a maths or engineering course.

    And now I feel old.

    Anyway, GC is one of the problems that I've worked on quite a bit, and they really are facinating. Dussud's right tho. A bad GC makes everything horrible, and a good GC can hide a multitude of sins in a badly written application.

    Congrads to Dussud on the CLR GC, it's certainly one of the most impressive out there and is a significant reason as to why managed code doesn't experience the loss of power that most people expected it to.

    It's probably not an overstatement to say that his work is contributory to the MSR Singularity's surprisingly good CPU performance review earlier this year, despite expectations that it would be catastrophically bad. Managed code is great because we have guys like Patrick on board.