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


punkouter punkouter
  • WP7: What controls they use in the Pictures & People hub to display pictures

    I just started learning development for WP7, and very much curious on what control that is being used to display images in an album in the pictures and people hub. It seems like a flow layout with image boxes, but couldnt really find that control in my toolbox. Is it possible that it is actually a grid?

    But how do you generate them if you dont know the number of images available. Plus, it actually loads more pictures as you scroll down. Is this being done with manual algorithm?

    I'd imagine that if you have the ability to just bind to a flow layout control, then it will be much less complicated.


  • Templated STL container pretty printer

    Sven, kerrek, first of all, I'd like to say that this is a ver good discussion and very insightful. Very useful Indeed. Sven, I agree with you that it doesn't feel right to check the availability of members. I understand that you just want to be safe with the pretty printer by ensuring that it is a container that you're passing in. However, doing so may not be in line with the spirit of STL itself. But first, let me explain how I see STl. I see STL holds the dynamic language duck typing in a statically typed environment. "if it walk, swim, quake like a duck then it's a duck" The same with the problem you guys are facing. If a 'thing' support a begin and end function and it returns an iterator, or const_iterator then it is a container as far as e function cares. As it can operate under such contract. This is not conceptualize a defect. Its an outcome of how tempting works. There is no guarantee that the begin method is the begin method mentioned in the IContainer method for instance. Hence, there is never a guarantee that a begin method means the begin method that the original implementor thinks. Again the contract permits it to be like that. So, if I were to analyze what should've been done in the case of Sven solution, I'd suggest to leave it like that and put a note at the documentation. This will ensure the most flexible solution. But it punishes user that use it wrongly. If you want to be safe, and doing it properly, then I'd suggest that you actually restrict T to be derived from an interface such as IContainer. However, doing so means you have to change all the standard containers to implement IContainer which is not feasible. Other than those two, you are risking on hacking the solution and from my experience it's best not to hack if it's possible especially if your code is going to be used by other people.

  • way in IE to hide toolbar

    @kettch thanks for your comments, but that doesn't really solve the root problem isn't it?

    maybe i should ask for this feature to IE team?

  • way in IE to hide toolbar

    yes, it have a list of items (plugins) that have checkboxes besides it. but, if i select it it gives me a dialog box saying "Do you want to disable this add-on?" and then it gives me a list of items that will get disabled. I don't want to disable it. I just want to hide it. I don't want to see add-ons that works in background like anti-virus or phising filters, for instance.

  • way in IE to hide toolbar

    is there any way in IE to hide the toolbar (beside using fullscreen)? I got a great screenspace in IE9. but these plugins like my mcafee phising/web filter, pdf helper and/or other only occasionaly used and passive tools were put on a separate toolbar and there is no way to hide the toolbar. if i close the toolbar then these items gets deactivated.

  • ie testdrive texas hold em freeze


    i was testing ie9 rc and played this demo. i won quite a lot and one of the opponents lost all their money, and the game freeze there. i guess a demo is just for demo afterall. still it was a fun game Smiley

  • When did Office 2010 come out?

    Recently I bought a new laptop, and got a free upgrade voucher to office 2010. They released Office 2010 at around the end of June here in Japan. Im not sure in US, but its probably sometime in April or May..


    BTW, I have Office 2010 installed but haven't really use it much.

  • Code you write, are you proud?

    Currently, I'm the lead developer of a project. But my project ended it's development phase a couple of months ago and right now we're at maintainance phase. With all the vendors out of my project, I'm left with maintaining the whole software alone.


    When the project was in development, I was the lead developer, architect and manager. These overlapping responsibilities makes it hard for me to monitor and to be too much involved in the development. Instead I was focusing on some of the critical module architectures, the management stuffs, such as resource planning, meetings, getting people to daily meetings, discussing priorities with users, etc (yes we are (try) using scrum). I found that scrum actually makes developers and users to understand each other better and  we have very good productivity and flexibilities compared to other teams. We don't work long hours, yet the users are very satisfied with our progress.


    However, after the project turns to maintenance phase, I found that there's a lot of things that are 'not as good as I hoped'. bad codes, bad designs are littering the software. I need to fix it, but who would ever give me the time to fix the whole software? So what do I do? Most of the times users demanded that bugs gets fixed immedietly. I can't rewrite the whole code/module in a limited amount of time, so I hack it. Now, this is the time where I'm not proud of my codes. But doing this means more hacks introduced everytime and the module will become more and more complex... given time it becomes very unmanageable.


    Usually when I feel that the module has too much mess, because of the complexity and because of the bugs it contains, I will raise the case to my users. I will usually demand to have the next development cycle focusing on fixing that module and that I need them to give me a full week or two. What I usually do, though, I don't fix the module, I trashed it, and recreate it from scratch. Now, that is when I'm proud of my codes.


    Of course not all users will immedietly give me the time for doing it. So, sometimes I need to work behind their backs. Working with the new implementation as I have the time. And when I finished with it, I demonstrated it to the users. They usually understand and accept the new implementations. That's also another win for me and when I think I produced codes that I'm proud of.

  • Why SQL Server 2005 Express?

    I don't understand the integration model for VS 2008 here. I have VS 2008 Pro that comes bundled with SQL Server 2005, but when I 'Add New Item' -> 'Service-based Database', it gives me an error saying SQL Server is not setup properly. Clicking on the help button redirects me to this page. Which explains that I have to have SQLServer 2005 Express for this to work properly.... Why? This is utterly non-sense to me.

    For info, I've tried setting up VS 2008 in Tools->Options->Database Tools->Data Connections->SQL Server Instance Name with various combinations without luck. I even checked the appropriate value using the server explorer and SQL Server Management Studio.

  • David finally took down Goliath

    W3bbo said:
    littleguru said:

    W3C specifications only hit the final "TR" stage when there are at least two independent implementations. This does create a chicken/egg scenario for Microsoft as they won't implement specifications until they're finalised, which means it's up to the more flexible and supple development groups at Mozilla, Apple, and Opera to implement them first, which means IE will always have to play catch-up.

    Microsoft needs to change their policy so they'll at least implement the major things that are unlikely to change, like rounded corners and client-side databases,

    I somewhat agree with your opinion that Microsoft needs to make a move and be more active. But implementing the standard partially is also not a good solution. IE had been non standard in the past and have bad reputations, even now after IE is fully standard. You definitely do not want make those people to come back and start pointing fingers at IE anymore.

    What I think Microsoft needs to do is to have some kind of a fork from ie for community review. Whatever they call this product, this will completely for review only and will never see an official release. The product may only consist of the trident engine without any bells and whistles on it. That way Microsoft can get community reviews while contributing to the standardization process. Microsoft can even put a proof of concept on new suggestions there and noone will probably complains about it.