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


algorith algorith
  • asm.js



    In case anyone is unaware, it's a subset of javascript created by the Firefox team to make code on the browser a lot faster than full javascript, details:


    Only problem is, it only runs really fast in Firefox. So does Microsoft have any plans for this technology?

  • 24 hours to Xbox 3

    @kettch: Who do you think are the people that buy these things when they first hit the market and generate the hype that keeps these things selling. The exact same people who made the 360 a success and MS seems to be ignoring now, the hardcore people who know what the specs mean to some extent. 

    I agree with Sven, MS has gone the wrong path. It seems they're completely oblivious as to what made the 360 a success to begin with. Hint: Only a single Kinect game has ever made it into the top 10 selling 360 games for a given month. 

  • 24 hours to Xbox 3

     MS and Sony switched positions from 360 and PS3, now Sony focuses on games with very top-end hardware dedicated solely for games, while MS makes the entertainment box. This may be the last game system we see from MS. 

  • Next XBOX specs - MS going conservative

     No, supposedly MS will have 3GB on reserve for running their own things even while games are running. It has been suggested that Kinect might always be running, even during games that make no use of it.  Considering this is coming form devs using dev kits, it's all subject to change, but wasting so many resources would definitely diminish the quality of games. In the end it's software that makes it or breaks it (Gears and Halo made the xbox), but devs prefer the most powerful machines. 

  • Next XBOX specs - MS going conservative

    MS next console machine has been detailed and it looks like it'll lag behind their rival, Sony's PS4.  What surprises the most is the rumor that the OS will use up 3GB of memory, that's like 5 Windows Vistas running concurrently. It also seems that MS is putting more emphasis on being more than a gaming machine, something Sony did early in PS3's life and failed miserably at. Nintendo also appealed to a difference audience and failed later in its life-cycle. So what do you think? will we see a new version of XNA (C++ version) with the release of this machine?




    • x64 Architecture
    • 8 CPU cores running at 1.6 gigahertz (GHz)
    • each CPU thread has its own 32 KB L1 instruction cache and 32 KB L1 http://www.neowin.net/news/next-gen-xbox-specs-reportedly-leak#" rel="nofollow">data cache
    • each module of four CPU cores has a 2 MB L2 cache resulting in a total of 4 MB of L2 cache
    • each core has one fully independent hardware thread with no shared execution resources
    • each hardware thread can issue two instructions per clock


    • custom D3D11.1 class 800-MHz graphics processor
    • 12 shader cores providing a total of 768 threads
    • each thread can perform one scalar multiplication and addition operation (MADD) per clock cycle
    • at peak performance, the GPU can effectively issue 1.2 trillion floating-point operations per second

    High-fidelity Natural User Interface (NUI) sensor is always present

    • Storage and Memory:
    • 8 gigabyte (GB) of RAM DDR3 (68 GB/s)
    • 32 MB of fast embedded SRAM (ESRAM) (102 GB/s)
    • from the GPU's perspective the bandwidths of system memory and ESRAM are parallel providing combined peak bandwidth of 170 GB/sec.
    • Hard drive is always present
    • 50 GB 6x Blu-ray Disc drive"
  • Reading int from file in C#

     Oh well, thanks for clearing it up Sven. 

  • Reading int from file in C#

    @magicalclick, I've tried Read() and it gets a single char, the problem with this and the ReadBlock() approach is that I actually don't know the length of each number and they could differ in length. I could certainly just read the entire line and the break it up using space but that wouldn't be as elegant as the C++ solution. 

  • Reading int from file in C#

     @kettch, your method is basically how I've been doing it but it requires more code to separate the string into the numbers I want and put them into the correct spot in the 2D array. 

    @cbae, in my case space is the delimiter. A delimiter is just some separator of data. 

    It's a txt file, an example would be like so:

    2 11 3 10
    1 9 4 6
    6 13 7 8
    5 14 15 12
    So what I want is to read int by int and put each number into my 2-dimensional array. I guess it boils 
    down to if I can do something like this in C#:

    inFile >> someInt;  // for ints seperate by space


  • Reading int from file in C#

     I'm kind of new to C# (come from a C++ background), and I've got a question regarding file reading. Is there a way to read a large number of ints or doubles from a file directly (as easy as in C++)?

    I've looked into StreamReader, StringReader and BinaryReader and while I can get it done, I think I must be missing something since it's not nearly as straightforward as it is in C++. So far I've used StreamReader to read the entire file, then use ' ' as a delimiter and get my ints that way. 

    Basically I'm looking to do the C# equivalent of this:

    std::ifstream ins;
              ins >> tmp;
              arr[iter] = tmp; iter++;

  • HP Takes a hit on WebOS

     Maybe MS should buy HP's PC division. Maintain the same Windows philosophy but lead the way with hardware made to show off all the things the OS has to offer.