You are at work, browsing Channel 9 and you see this great episode of Defrag has just been published on Channel 9… but you work in a cubicle and if you lean back and watch a 30 minute video, you’d probably get fired. What to do? You could email the link to yourself as a reminder to watch it later, b...
On Tuesday December 13th, join us LIVE from the Microsoft Redmond Campus to learn how to get started building applications for Windows Azure from Microsoft technical leaders Scott Guthrie, Dave Campbell, and Mark Russinovich! The entire event will be streamed LIVE by Channel 9. Live right now at htt...
This Week On Channel 9Dec 02, 2011 at 12:23 PM5
Clint Rutkas
,
Dan Fernandez
,
Duncan Mackenzie
and
Greg Duncan
Avg Rating: 4.5
(4)
This week on Channel 9, Clint (who came in while on vacation just to record the show) and Duncan (who didn't hide well enough from Clint) discuss the week's top developer news including:
Before we launched the most recent version of Channel 9 we did a lot of work to make sure site performance was acceptable for our users. This involves data collection to try to determine what aspects of the site are slow, and then work to make it all better. At some point though, we run into problem...
Server & Tools President Satya Nadella describes the critical role Window Azure's data platform, data marketplace and access control services play in enabling developers to take advantage of the continuous services application pattern, during a keynote at BUILD, Sept. 14, 2011.
West Coast Customs' Ryan Friedlinghaus joins Microsoft's Jeff Sandquist to announce a partnership with Microsoft to build a custom car powered by Microsoft's cloud technologies, augmented reality, Kinect and more, during BUILD, Sept. 14, 2011.
Microsoft Corporate Vice President Jason Zander demonstrates how development teams can use Visual Studio Team Foundation Service running on Windows Azure to collaborate on application development projects during a keynote at BUILD, Sept. 14, 2011. Anaheim, Calif.
Senior Program Manager Bryon Surace demonstrates new features and scenarios on the Developer Preview of Windows Server 8 during BUILD, Sept. 14, 2011. Anaheim, Calif.
@happycoder: that seems like overkill when you can just right click on the individual video links to the right of the video and download them right from in your browser
@DBNickel: We are looking at that as a future feature... but it raises the complexity significantly as we'd go from just adding to a data store based on user action to reacting to all newly published items, checking a 'subscription' list then adding to the queue... definitely something we'd like to see though!
@SpeckOps_: Hey SpeckOps_, the underscore in your name was causing an issue... but if you update to the latest version of the extension (using the 'Extension Manager' option under the Tools menu, then clicking in the 'Updates' area on the left side) and, once you are running version 1.1 or higher, go to 'Tools | Options', find Visual Studio Achievements in the tree view on the left side, click 'Change User' and you'll be asked to connect up to Channel 9 again... and then all will be well!
@Stephen: No code is sent to the server, we only send information about the achievement itself (progress made, achievement unlocked, etc...)
As far as a performance hit, there is some impact when your code is scanned, which happens after a build event, but we haven't really noticed any major slow down. The larger the project(s) the more you are likely to notice it though.
@JasonBub_Nielsen: this is do to how we are looking at the code, we aren't watching you type, but instead just doing a pass over the whole project. Obviously this creates a few 'false positives', like when I received the achievement for using GOTO, when I've never used that command in C# in my life (I didn't actually realize it existed), but a project that we have in our solution does use it.
At the moment though, we don't see any easy way to avoid this issue. On a positive note, it does mean that you will get achievements for code that you wrote in the past (assuming you are still loading and building it), not just code written after installing this add-in.
@JiggleBop: One thing to note is that for 'progress' based achievements (like the 'close all but this' example) we only count a maximum of one per minute, no matter how many you actually do. If you are performing the action(s) as a normal part of your work with Visual Studio I suspect you'll just unlock the achievement naturally in time.
for those that are interested, the two lines produce the same IL (intermediate language, the code that C# is compiled into so that the .NET runtime can execute it)
@MihaiMorariu: Mihai, this is just a syntax difference and is really personal preference. When you create an object and pass in a list of initial values, the parantheses can be skipped and they are assumed. So
Car car = new Car() {color = "red"};
and
Car car = new Car {color = "red"};
are functionally equivalent. Personally I use the first, because the second looks odd to me (and apparently to you as well ), but either will work. You can see this on MSDN at http://msdn.microsoft.com/en-us/library/bb384062.aspx and if you look at the various code samples you will see that they use both forms.
GoingNative 2012: All Sessions are now available On-Demand!
5 days ago@happycoder: that seems like overkill when you can just right click on the individual video links to the right of the video and download them right from in your browser
New feature: your own personal video queue
Feb 02, 2012 at 9:06 AM@DBNickel: We are looking at that as a future feature... but it raises the complexity significantly as we'd go from just adding to a data store based on user action to reacting to all newly published items, checking a 'subscription' list then adding to the queue... definitely something we'd like to see though!
Visual Studio Achievements in 60 seconds
Jan 30, 2012 at 12:40 PM@SpeckOps_: Hey SpeckOps_, the underscore in your name was causing an issue... but if you update to the latest version of the extension (using the 'Extension Manager' option under the Tools menu, then clicking in the 'Updates' area on the left side) and, once you are running version 1.1 or higher, go to 'Tools | Options', find Visual Studio Achievements in the tree view on the left side, click 'Change User' and you'll be asked to connect up to Channel 9 again... and then all will be well!
Visual Studio Toolbox: Visual Studio Achievements
Jan 20, 2012 at 1:47 PM@Stephen: No code is sent to the server, we only send information about the achievement itself (progress made, achievement unlocked, etc...)
As far as a performance hit, there is some impact when your code is scanned, which happens after a build event, but we haven't really noticed any major slow down. The larger the project(s) the more you are likely to notice it though.
Visual Studio Toolbox: Visual Studio Achievements
Jan 20, 2012 at 1:24 PM@JasonBub_Nielsen: this is do to how we are looking at the code, we aren't watching you type, but instead just doing a pass over the whole project. Obviously this creates a few 'false positives', like when I received the achievement for using GOTO, when I've never used that command in C# in my life (I didn't actually realize it existed), but a project that we have in our solution does use it.
At the moment though, we don't see any easy way to avoid this issue. On a positive note, it does mean that you will get achievements for code that you wrote in the past (assuming you are still loading and building it), not just code written after installing this add-in.
Visual Studio Toolbox: Visual Studio Achievements
Jan 19, 2012 at 4:07 PM@JasonBub_Nielsen: Hey Jason, there is a bug with how achievements works with a username with underscore(s) in it. For now there is a work around here: http://channel9.msdn.com/Blogs/C9Team/Announcing-Visual-Studio-Achievements#c634625600690810633 if you don't want to wait until we get the fix deployed
Announcing Visual Studio Achievements Beta
Jan 19, 2012 at 12:54 AM@JiggleBop: One thing to note is that for 'progress' based achievements (like the 'close all but this' example) we only count a maximum of one per minute, no matter how many you actually do. If you are performing the action(s) as a normal part of your work with Visual Studio I suspect you'll just unlock the achievement naturally in time.
Announcing Visual Studio Achievements Beta
Jan 18, 2012 at 1:04 PM@D_K: @Duncan_McGregor: Hey folks, we are looking into this issue right now, so hopefully we'll get it resolved in the near future.
Working with Collections - 21
Jan 06, 2012 at 10:09 AMfor those that are interested, the two lines produce the same IL (intermediate language, the code that C# is compiled into so that the .NET runtime can execute it)
Working with Collections - 21
Jan 06, 2012 at 10:02 AM@MihaiMorariu: Mihai, this is just a syntax difference and is really personal preference. When you create an object and pass in a list of initial values, the parantheses can be skipped and they are assumed. So
Car car = new Car() {color = "red"};and
Car car = new Car {color = "red"};are functionally equivalent. Personally I use the first, because the second looks odd to me (and apparently to you as well
), but either will work. You can see this on MSDN at http://msdn.microsoft.com/en-us/library/bb384062.aspx and if you look at the various code samples you will see that they use both forms.
See more comments…