Channel 9 Coffeehouse

Syndicate content Channel 9 Forums - Coffeehouse
Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.
Updated: 23 min 56 sec ago

Cognitive Dissonance Generator

4 hours 25 min ago

Windows 8 Consumer Preview Start Page on Bing with the Betta Fish

6 hours 34 min ago

Look here, a pretty fish: http://www.bing.com/?Win8Start=1

it contains links to this intenal site http://prev.windows.microsoft.com/

credits: MDL forum members.

Brandon Watson leaving Microsoft to join the Kindle cross platform team

Fri, 03/02/2012 - 10:18pm

I am sorry to see Brandon go, he was an excellent point of contact for Windows Phone developers to get in touch with.

Mary Jo Foley's post, wpcentral post, Brandon's tweet.

A good desktop keyboard with no muneric keypad?

Fri, 03/02/2012 - 1:05pm

Do any of you use a keyboard with no numeric keypad? If so, can you recommend one?
I don't mind if they're laptop style keys, in fact I prefer them as long as they're not smaller than normal or have a weird layout.
Last night I was cleaning the inside of some sticky keys on my MS Arc wireless keyboard and I somehow broke the M key. When I put in the batteries it's stuck ON then if I press the M key it becomes completely dead.
Anyway...
It has never been the easiest thing to type on so I'd like to find something that's basically just a full sized keyboard with no numeric pad. I hate those keypads because they're exactly where the mouse should be if you're right handed.

I'm typing this on my HP Wireless MINI keyboard that I use on my WDTL Live + but it's netbook sized so I'm not going to use it for everyday typing.

My new favourite tool: NCrunch

Fri, 03/02/2012 - 10:45am

New release of NCrunch announced, so I though I'd give it a go on my updated work machine (lots of RAM now).

The result?  Fantastic.  Even just the ability to find all the unit tests that exercise the code under the cursor is worth the minor effort of downloading and installing.  Having something that can automatically run tests in the background as you work is even better.

Herbie

PS: Not affiliated in any way with NCrunch, just really like the idea behind what it does.

 

XSLT job

Thu, 02/02/2012 - 8:53pm

Anyone in the greater Seattle area that is skilled in XSLT and wants to work for 6 months (to start) with the coolest company this side of the Forgotten Realms?

I'm hiring.

kinect multipoint project and help with dsf(device simulation framework) emulator in vb.net or c#

Thu, 02/02/2012 - 7:33pm

I have started a vb.net project with device simulation framework that is half of my project which is the emulator which lets me emulate multimouse devices and send them input reports with mouse clicks and movements in them so i can simulate an actual usb device being plugged up.

here is the project page on codeplex.com: http://kinectmultipoint.codeplex.com

My vbscript file can do one mouse just fine the problem is converting it to vb.net or c# anyone up to the challenge? Major kudos for completing this one as many people would benefit from the emulator source which because of dsf runtime limitations can only be used in non-commerical or educational settings.

I have started it in vb.net and the classes and types are the same in c++ so if someone has used in c++ before the methods are the same mostly with some changes but i just haven't fooled as much with it and have had this project going on for months.

p.s. you help me with this project and i will help you emulate your device in a project and explain what i do know to you about the emulator code. As the old saying goes: scratch my back and i will scratch yours.

 

I dont see any difference between Abstract method and Abstract factory -Have you find any difference ( both of them decouples the client from object creation)

Thu, 02/02/2012 - 2:02pm

I dont see any difference between Abstract method and Abstract factory - both of them decouples the client from object creation.

If anybody knows the actual difference please explain me with differences

Also i dont understand "families of related or dependent object "..why we need to create families of related objects instead we can simply go for factory method rite ?

 

Abstract method:- http://www.c-sharpcorner.com/uploadfile/kalisk/factory-method-design-pattern-using-C-Sharp/

Abstract factory :http://lasithsameera.blogspot.com/2010/07/abstract-factory-pattern-with-c-code.html

 

look at the above code...both samples are looks similar except in the Abstract factory delegates the object creation to another class..thats the only difference i can see.....Any thoughts?

Office 15 Wishlist

Thu, 02/02/2012 - 9:21am

News about the private previews, betas in the summer etc set my thoughts wondering. My needs are simple.

1. Tag emails in Outlook. Let others continue filing their emails in a folder hierarchy if they wish but I'd like to tag everything.

2. Everything faster

3. Wow me with new things. NB if it sucks I'l moan about it on Twitter for three years.

 

That's all.

"THANK YOU" to whoever agreed and implemented webm videos on channel9

Thu, 02/02/2012 - 12:30am

Very much impressed that channel9 hosts its videos in webm.

I am a HUGE fan of channel9 and i visit this website everyday and consume tones and tones of videos but unfortunately, i am one of those who rarely comment, just view, without logging in.

I use firefox on linux purely as a matter of preference and without any philosophical reason or ill feelings towards anything microsoft. i just prefer linux over windows and channel9 videos behind silverlight was quite annoying since i couldnt stream them and i end up just downloading most of the videos i watch. This was annoying but perfectly understandable(to me).

The other day, while on linux and for no good reason, i clicked on a video expecting a silverlight error and the video played!!!.This was totally unexpected and i am sure quite a few resources are going into this functionality that most likely will not be used my the majority of the site visitors.

I coudnt remember my previous account credentials and i created this new account to say "thank you" to whoever implemented webm videos on channel9.

Video Request: Windows 8 Apps - Dev to Dev

Wed, 01/02/2012 - 6:48pm

Working on a Windows 8 app here at work, on 8th day now into project, using HTML5/CSS/WinJS, I'll tell you right now there is a huge learning curve for this. Much more than I anticipated. If Microsoft made HTML5 a way to make applications to "woo" web developers, we need videos(à la Silverlight TV) about Windows 8 development ASAP.

Or they're going to get frustrated on day one wondering what "HTML fragments" are and they'll quit. =)

It's going to get hot in here ...

Wed, 01/02/2012 - 5:32pm

Its looking kind of inevitable.  Facebook raising enourmous capital, Apple making unbelievable piles of money.  To some its starting to look like Google might become an underdog (MS already is).

Facebook is in a prime position for targetted advertising, Google is trying to play catch up with Google + etc.  Meanwhile MS has a little finger in all the pies and wants a bigger piece (Its going to be a massive push with Win 8 & Tablets though).

Is the scene being set for an enourmous showdown?

Winners and Loosers all round?

Its going to be an interesting year.

Barcode image Created not visible when Theme changed to LIGHT

Wed, 01/02/2012 - 3:14pm

Hello ,

I have an application which creates barcodes.When the Windows Phone theme changed to Light,The Barcode image created is not visible on the screen.

Can someone help me on the same issue.

Thanks in Advance

Regards,

Ayyappa K

Top five regrets of the dying

Wed, 01/02/2012 - 1:52pm

1. I wish I'd had the courage to live a life true to myself, not the life others expected of me.

2. I wish I hadn't worked so hard.

3. I wish I'd had the courage to express my feelings.

4. I wish I had stayed in touch with my friends.

5. I wish that I had let myself be happier.

(from this Guardian article)

 

Mark yourselves out of 5, I'm giving myself 2.5 out of 5 at the moment.

How to hide the file so as not to see one [HD]

Wed, 01/02/2012 - 9:32am

How to hide the file so as not to see one [HD] you can see the video from here http://www.youtube.com/watch?v=9fk_lDiW8lQ

What I'd like from future Windows (isolated installs with state merging & updates)

Wed, 01/02/2012 - 8:01am

A particular reason I don't like using VM's has to do with that I tend to make many snapshots with different "tasks". The primary reason for using VM's is installing stuff that may mess around with the OS and other installed apps, so obviously, for each thing I have different snapshot. Also these "tasks" or apps in my testing often do not work with application virtualization, atleast not without spending bunch of time tweaking it - and the perf can suffer.

Then comes the problem of Windows Updates. If I have to update those invidually into each snapshot this will waste both time going through the snapshots manually and disk space by downloading the updates into each snapsot, which have tasks going on that I don't want to close down or reboot.

So, what I'd like is:

1) Ability to install apps with full isolation to Windows without using VM with separately installed Windows guest. This just means that whatever changes the app makes to disk or registry, will only be seen by that app.

 

The isolated app should be able to install and use whatever drivers it pleases, but these drivers will not see anything beyond a clean windows install unless user either merges state or chooses to expose something (eg. shared folder) to the isolated install.

2) Ability to merge the isolated apps changes either into other isolated apps (two isolated states become one) or into the OS (remove isolation and the app sees everything as normal app would)

3) Ability to a) Suspend all the processes and threads related to the isolated app, b) apply the most critical Windows updates to all memory and files, isolated or not, without reboot and c) resume.

 

edit: yeah I do realize the Metro apps kinda sorta enable this. So, maybe in few decades this will be true, assuming every app will have a Metro version...

 

dis-assembling MS Arc Keyboard?

Tue, 31/01/2012 - 10:02pm

Have any of you ever dis-assembled a MS Arc Keyboard?
Are the keys like on a laptop where you can at least pull them out one by one?

I opened it up to a certain degree (anything that has screws) but there's now way to get at the keys that way because the plastic that holds in all the keys in actually fused there instead of screwed.

I spilled some juice on mine and now some of my keys aren't clicky anymore because of the sticky stuff under them.
It makes the keyboard feel very unresponsive.

Clojure for the Web

Tue, 31/01/2012 - 9:49pm

While an ML for the web would be my ultimate wish, Clojure may be a better fit due to the dynamic nature of the web. It's called ClojureScript and is being developed by Rich Hickey and others.

http://www.infoq.com/presentations/One-Parenthesis-to-Rule-them-All

Quite nice!!

Lambda inside wcf operationcontract parameters

Tue, 31/01/2012 - 9:12pm

Hi everyone what I am trying to do is something similar to using lambda query inside WCF operation parameter. as I know there is no way to achieve this es lambda expressions are run-time and they can not be used in this way, but I think of some solutions for this. My first idea is to use some search criteria class so that I can populate this class and then use it on server-side to build some lambda expression. my thoughts on simple implementation for this class is something like public class PersonSearchCriteria { public string FirstName {get; set;} public string LastName {get; set;} public int IdCardNumber {get; set;} Expression<Func<TSource, bool>> predicate }

 

this is some pseudo code so I want to be able to create instance of this class and based on this properties values' filter my database in my databasecontext (which in this case is EntityFramework 4.0 with selft tracking entities.