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


Blue Ink Blue Ink
  • Ideas for Xbox 720

    @cbae: it's interesting... your list of features for a new generation game console doesn't include anything that is even remotely related to gaming. Legitimate, of course, but it sounds like going to a famous steakhouse just to order desserts.

    You have a point, though: the Xbox could be an interesting platform to expand. The problem with most home automation systems I've seen is that everything seems to be incompatible with everything else. Oh, and peripherals cost a fortune. Microsoft has the kind of culture it takes to make a competitive ecosystem grow... sometimes. (other times they just drop the ball until a few years after the release of the iLightbulb in 2020).

  • Anyone with an LG Optimus 7? How do you feel about it?

    @Bas: you may want to wait for the Nokia conference even if you don't plan buying a Nokia: unless they announce a major delay, or a total disaster, it could be enough to make all the existing WP7 devices look "previous gen" and this usually causes nice price adjustments (the fact that the 500lbs gorilla is finally entering into the room also helps).

  • Anyone with an LG Optimus 7? How do you feel about it?

    @Bas: I tried it extensively before getting a Samsung. What I can tell you is that the screen is defintely underwhelming in general and totally useless in direct sunlight (that was my primary annoyance with phones). On the plus side, I must say that I may have misjudged the physical buttons: "soft" buttons look much sleeker, but they are also way too easy to hit by accident. Maybe I'm just holding it wrong™ Smiley

    DLNA is also a big plus.

    As for battery life, I'm not sure it makes a big difference: most phones will get you through one day of casual usage without charging, but as soon as you start playing games or video extensively performance drops dramatically. I don't think a few extra mAh will be noticeable.

  • The iPhone 4S/5 Anticipation Station

    @W3bbo: if they don't want to obsolete the iPhone 4 just yet, they may go with the less scary "4S", but at that point I would expect the device to be very similar to the iPhone 4 (except maybe a metal back cover, and other minor touches); at least similar enough that most accessories still work.

    Taking a more cynical approach, if they show a new device and there isn't Steve Jobs on the stage, the media buzz will be all about his absence, not the device. Way to waste the thunder...

  • Google opens store, more may be coming

    @Bass: That's interesting, and puzzling. Apparently it should be all about the ChromeBook which, as far as I know, is the only Google branded product with a price tag, but I'd say that opening up a retail chain for a single device is a little bizarre, even by Google's standards.

    We shall see...

  • Website maxs out the cpus

    @sysrpl: it's hard to help without having all the facts, but the fact that the problem materializes as soon as a you reach a small number of users might indicate the presence of a deadlock or some kind of contention. If you have some code that needs resources that other threads generate or could be using, take a close look at how they get synchronized.

  • Glad to be off the Microsoft API treadmill

    @vesuvius: Yes, it could be simpler: some of the classes in the BCL look like they were designed for generality and minimalism, not for convenience. But without knowing what kind of guidelines and restrictions the BCL designers are subject to it's hard to judge.

    Off topic: if all you need is to zip one file, the ZipPackage class is probably overkill; I would try a simple DefalteStream first.

  • The Speed of Light

    , Sven Groot wrote

    @Maddus Mattus: I guess you insist Pi should be 3, too? Tongue Out

    Why not... it would have the obvious side effect of turning circles into hexagons, but the convenience would be enourmous. Oh, and let's also make sure that the square root of prime numbers is rational this time.

  • Neal Gafter talks about Java vs. C#

    @BitFlipper: yep, that issue about INumeric has been one of the most voted issues in connect, if I remember correctly. Personally, I'd be more than happy being able to write something like:

    class SomeType<T> where T : double | float | int {

    and get the code compiled separately for all the constraint in the list (that's what happens anyway for native types, if I understand correctly). Actually I'd prefer this to INumeric as the sheer fact that some type supports all the operations doesn't mean that an algorithm is suitable for that data type (which is what I don't like about C++ templates).

  • Neal Gafter talks about Java vs. C#

    ,fanbaby wrote

    Several things (this is a religious war, isn't it Smiley):

    1) I think c# proponents overestimate those many useful additions to the language (compared to Java). For example, operator overloading. I once heard the following debate. Operator overloading is very important especially in math-related calculations (matrices, vector etc.), check this:

    a++  vs.  a.set(a.get().add(1))

    The counter argument is: well, you just need this method:



    2) Isn't C# getting close to being a black hole, mass-wise? I mean, they've thrown everything in there (a la Perl 6). It's the best in every paradigm.

    Java isn't that different in this sense, it has less features but is slowly piling them. But compare these to Google Go please. (Which is far more open in licence and development, i think). Explicit design goals are: Minimize verbosity, compile time, keywords. Support multiprocessing, GC, and is a (semi) systems language. When it was designed it was targeted mainly at web-servers and networking, but was found to excellent general purpose language.

    Since it's quite radical (multiple self-growing stacks for example), not everything is ironed out yet, like interface to other languages (i'm not totally sure bout this, it may have been fixed by now), but it's getting there fast. I think it's  important (sorry, no IDE yet Smiley)http://golang.org.

    Disclaimer: I chose C#, years ago, as it made it easier to develop Windows applications that integrate seamlessly with the OS, and that's what my customers require. The specific features of the two languages never entered into the equation as I think they were (and are) both good enough for general purpose development.

    As for the specifics:

    1) Operator overloading is not a feature that everybody gets to use, but in the few cases where it makes sense, it's invaluable. A more meaningful example would be:

    a =  f / (b + c - d * e);


    a = f.divideBy (b.add (c.subtract (d.multiplyBy (e))));

    I know which one I prefer to read and write. Unfortunately, generic support in C# doesn't provide features (INumeric, operator constraints, partial generics, whatever) that would allow the development of truly generic math libraries, so C# doesn't really shine in that area.

    2) Success of a language depends on several factors, among which libraries, adoption, and most importantly IDE support. As things stand right now, Go has a lot of potential as a language, but it's just not ready for prime time; we shall see how it goes.