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

JonathonW Cannot​Resolve​Symbol Microsoft: Who do you want to execute today?
  • Java value types Vs .NET

    , magicalclick wrote

    ?? I think Integer is fine? It is essentially

    public class Interger

    {

     int _value;

     override operator = .....

    }

    But, still, Integer is not int. It cost extra pointer in memory. Unless I am wrong? Which no one has yet to explain how Integer is structured.

    IMO, Integer[ one billion ] = ( 64bits pointer + 32bits value ) * one billion. Which is absolutly big no no in my previous examples.

    And just for me only, I totally don't like to use objects when I can use primitives. Some people can debate this to death, but, I want to use int, that's all that matters.

     

    Java doesn't do operator overloading, so:

    public static void doStuff(Integer i) {
      i = 5;
    }

    is equivalent to:

    public static void doStuff(Integer i) {
      i = new Integer(5);
    }

    You're only changing doStuff's reference to i, not changing its actual value (the caller won't see the change).  You actually can't do the latter; Integer is immutable in Java.

    [edit] And now I remember why I stopped posting.  Why in the world does this piece of crap forum dump you back to the first page of a thread when you post?

  • Why is the "async" keyword needed?

    @androidi:

    , androidi wrote

    I watched the PDC Ander's presentation again partially and there's couple answers to questions made using the Q&A feature that make similar point as was made above.

    1. Because await can be "buried" so it's not clear what will happen in the method.

    (2. Because of restrictions similar to iterators (no unsafe/ref/out) - easier to notice this restriction)

    However as I suggested in the op, since most code using VS, alternatively to adding a method modifier based cue, the IDE could highlight in some manner that there are surprising things going to happen in the method. I looked at the further arguments for "async" posted in this thread and most if not all of those issues are about highlighting one fact or another / preventing confusion so they don't really present a strong argument against using IDE instead of a modifier for that purpose.

    So to reiterate, the issue I have is about having to do more work that a modern IDE like 2010 has capability to do for you. With operators like await/yield and with other similar things, a case is made for having visual cue besides the command that there's something "funky" going on so really this is just a language designer answer to an IDE problem. (atleast for now, I'll read Eric's post when it's out)

    And what if someone's using a different IDE, or not using an IDE at all?  Tying basic language readability to the IDE is a bad idea.

  • How very americentric

    @figuerres: 2 is only not 2 in binary...  sounds boring.

    Decimal:  Put in your 2 bits

    Base 3: Put in your 2 bits

    Hexadecimal: Put in your 2 bits

    Base 3452873598729: Put in your 2 bits

  • Smoothest switch ever

    How do I go to the last post I haven't read in a thread?  I can view *just* the last post in a thread, but I can't link straight to the last post (in the context of the thread).

    [edit] Also, posting throws me back to the first page of the thread.  Not good.

    [edit2] And your classic login link is gone from the Sign In page.

  • IE9 Beta

    vesuvius said:
    GoddersUK said:
    *snip*

    The buttons are normally the blue you have in the image above, I have dragged the channel 9.msdn/forums page to the Win 7 taskbar as a shortcut. Upon launching this, the buttons are yellow. I also know that they are green also at times, but I am yet to determine the conditions that trigger a, b or c or is that b, g or y (blue, green or yellow gold)

     

    The tabs themselves also change colour pretty dramatically sometimes, and again, i'm not sure why?

    Button color, for an instance launched from a pinned site or desktop shortcut, takes the predominant color from the site's icon (so, if you pin C9 to the taskbar, you get yellow buttons).  It uses an algorithm similar to the one that decides the color of the taskbar button highlight.

     

    Tab color is arbitrary; all tabs in the same group will be the same color.  This behavior's inherited from IE8.

  • IE9 Beta

    Charles said:
    BitFlipper said:
    *snip*

    You can effectively do this in IE9 by setting the compatibility mode per site or domain (Tools -> View Compatibility ->Etc...). Then, you have 3 browsers in one! Joy!!! Smiley

    C

    Ah, good, I can post now (according to the dev tools, you're forcing IE7 compatibility mode).  So much for "IE runs the same markup as the others," though.

     

    RSS has been demoted to the command bar...  there's no way to move it to someplace useful, and there's no way to just toggle the command bar temporarily like you can the menu bar (you have to turn it on, then turn it back off afterwards).  Pretty inconvenient if you use IE's RSS features a lot.

  • IE9 Beta

    jamie said:
    intelman said:
    *snip*

    **bulletin ***   the back button is clip art from 1992 and is cut off ****

     

     

    gzzzt

    I actually kinda like the back button appearance...  it's unique.

     

    My thoughts:

     

    Likes:

    * I love IE's approach to site-specific browsers (pinning to start menu or creating desktop shortcuts).  Recoloring the navigation buttons is a nice visual cue to tell which window belongs to which site (and it's very Win7-ish).  C9 needs a large pixel icon for the taskbar Wink

    * Performance and seems very good, from the little bit that I've used it.  Seems that IE has managed to get out of the performance rut they were in.  Big + for IE9:  No more "loading" when I create a new (blank) tab.

    * On the performance note, I love how IE detects which add-ins are causing IE to be slow to start up; slow startup is one of the big reasons I've avoided IE in the past.  Unfortunately for Microsoft, most of the slow add-ons I disabled were Microsoft add-ons.  Get your act together, people!

    * I like the minimal UI--  Pretty much everything I'll ever need is available under the one Tools menu.  This is very Chrome-ish.

     

    Dislikes:

     

    * Font rendering is really crappy (worse than WPF for some cases).  Most fonts look okay (Segoe UI looks perfectly normal), but some fonts look atrocious.  Unfortunately for Microsoft, common Arial 12pt (probably the most common font combo on the web) looks horrible.

    * Single row address bar and tabs.  To give enough room for a usable number of tabs, I have to shrink the address bar so much that there's not much readable content in the address.  Plus, there's a potential security issue here:  since, on every website I've visited so far, the end of the domain name is not visible, there's no way (except to click the field, and arrow through or drag to scroll) to tell the difference between, say, http://arstechnica.com/ and http://arstechnica.imgonnastealurpersonalinfo.com/ .  All I see is "http://arstechnic..." in the address field (this is at slightly wider than the default width).

    * Combined search and address bar.  Why do privacy and search suggestions have to be mutually exclusive?  This is stupid.

    * Compatibility.  I'll give them a pass on this for now (it's the first day, and lots of sites detect browsers improperly).  But when the browser doesn't work in Microsoft's own developer forums (i.e. here), it doesn't bode well.  It especially doesn't bode well that it fails inconsistently.

     

    (Posted from Chrome)

  • What's going on with Media Center?

    spivonious said:
    fabian said:
    *snip*

    All Win7 skus (except Home Basic) have Media Center. You're thinking of Vista.

    All Windows 7 SKUs have Media Center.  It's not installed by default on the business SKUs (Business and Enterprise); it has to be added after installation as described.

  • Google Wave Attenuated

    CreamFilling512 said:
    exoteric said:
    *snip*

    Also maybe it flopped because Google built it themselves from scratch, its a departure from their other products which are usually acquisitions or based on an existing codebase.

     

    Picasa was great before Google bought it.  Talk is built around libjingle, Google Earth is rebranded acquisition, Chrome is built around webkit, Android is built on Linux, Google Docs is a rebranded acquisition, etc.

    On the contrary; Gmail's probably Google's most successful non-search product, and they built it all themselves.

     

    And obviously, their core businesses (search and advertising) were all developed by Google.

  • Azure One Month Pass - No Credit Card Required

    blowdart said:
    CannotResolveSymbol said:
    *snip*

    That doesn't magically remove the need to index well and watch for deadlocks though

     

    Yes, but that's the same skillset as writing a scalable traditional web application.