• Shortcuts : 'n' next unread feed - 'p' previous unread feed • Styles : 1 2

» Publishers, Monetize your RSS feeds with FeedShow:  More infos  (Show/Hide Ads)


Date: Monday, 16 Feb 2009 20:00

Unfortunately, I don't have control over the guts of my blog here so I can't setup any nice redirects or anything like that, but if you're still interested in following things I'm working on and sharing, head over to my new blog.  If you're interested in the blogging platform our team has been working on (in our spare time) that's built on ASP.NET MVC called Oxite, be sure to head over to my new blog (running Oxite).

Author: "HumanCompiler" Tags: "Blog, Oxite"
Comments Send by mail Print  Save  Delicious 
Date: Monday, 23 Jun 2008 17:02

Bill Gates is leaving and Charles from Channel 9 has a great interview with Bill.


Bill Gates: Transitioning into the Future
Author: "HumanCompiler" Tags: "Channel 9, Bill Gates"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 12 Feb 2008 22:29

I had the pleasure of "acting" with some fellow 'softies to create this fun video about the misconceptions that people have with Microsoft.


Life At Microsoft - The Truth Revealed

It was a lot of fun to run around with nerf guns, kick people, yell and scream.  Tina, can we do it again?  :)

Author: "HumanCompiler" Tags: "Channel 10, Microsoft"
Comments Send by mail Print  Save  Delicious 
Date: Thursday, 17 Jan 2008 09:32

I have an iframe on my page and an html page that's loaded in it (from the same domain) and an anchor tag is clicked in the iframe I want to execute some code on my page on the client.  In the Initialize method in my client object I call $addHandler and pass in the anchor tag from inside the iframe, 'click' (to attach to the onclick of the anchor tag) and my delegate.  I run the code in Firefox.  Everything works great.  I go to Internet Explorer and run it and when I click on the anchor tag inside of the iframe I get an error of "Sys.ArgumentNullException: Value cannot be null. Parameter name: eventObject".  A quick search turned up this gem of a workaround:

Bug with $addHandler applied to element in an iFrame

I hope the ASP.NET team fixes this in future versions of ASP.NET AJAX, but for now this will work.

Author: "HumanCompiler" Tags: "ASP.NET AJAX, Internet Explorer, addHand..."
Comments Send by mail Print  Save  Delicious 
Date: Monday, 07 Jan 2008 22:22

This is a great video that was shown at CES


Bill's Last Day: The CES Keynote video
Author: "HumanCompiler" Tags: "CES, Channel 10, Bill Gates"
Comments Send by mail Print  Save  Delicious 
PDC 2008   New window
Date: Thursday, 06 Dec 2007 20:37

http://msdn.microsoft.com/pdc2008

It's official now.  See you there?!?!

Accompanying Channel 9 thread discussing it.

Author: "HumanCompiler" Tags: "Channel 9, PDC"
Comments Send by mail Print  Save  Delicious 
Date: Thursday, 06 Dec 2007 20:32

Yipee!

http://blogs.msdn.com/ie/archive/2007/12/05/internet-explorer-8.aspx

Ok, we all knew it existed and was being worked on, but this is the first time the IE team has talked about anything (even if there's no actual info here).

Accompanying Channel 9 thread discussing the "announcement".

Author: "HumanCompiler" Tags: "Internet Explorer"
Comments Send by mail Print  Save  Delicious 
Date: Thursday, 06 Dec 2007 18:38

http://on10.net/Blogs/larry/yahoo-messenger-with-wpf-goes-live/

Just installed it and while it's not feature complete yet and there are some performance issues, overall I really like it!

It kind of makes the Windows Live Messenger team look a little stupid for letting their competition use our technology to make a better looking IM client, doesn't it?  ;)

Definitely check it out!

Author: "HumanCompiler" Tags: "Vista, WPF, Yahoo"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 05 Dec 2007 19:04

This is great to see.

http://blog.facebook.com/blog.php?post=7584397130

Nothing better in this world than a company who admits mistakes, listens to customers and makes changes when needed.

Author: "HumanCompiler" Tags: "Facebook"
Comments Send by mail Print  Save  Delicious 
Date: Friday, 30 Nov 2007 18:26

Ever wanted something more powerful than just a "Share on Facebook" link on your site, but didn't want to write an entire Facebook app?  Enter Facebook Beacon.  With it, you can add a few lines of code to your site and your users can share actions they did on your site like (bought a product/service, changed their profile, posted a comment, etc) to Facebook so it shows up in their news feed and then travels down the viral highway that is Facebook.

We're considering integrating Beacon into our community web platform that runs (Channel 9, Channel 10, MIX Online, Channel 8 and TechNet Edge).  Do you think this would get annoying?  Would you like to share what you're doing on our sites with your friends on Facebook?

FYI, we're building a Facebook app as well for our sites (and all sites involved in Microsoft Communities), but we think this also adds value too.  Thoughts?

Author: "HumanCompiler" Tags: "Channel 9, Channel 10, MIX, Facebook, Ch..."
Comments Send by mail Print  Save  Delicious 
Date: Thursday, 29 Nov 2007 18:08

Scott Guthrie posted some fantastic info on ASP.NET Extensions 3.5 to match up with Visual Studio 2008 and .NET Framework 3.5.

http://weblogs.asp.net/scottgu/archive/2007/11/29/net-web-product-roadmap-asp-net-silverlight-iis7.aspx

Highlights:

  • Silverlight 1.1 is now Silverlight 2.0
  • Silverlight 2.0 will start to get some of the great features that WPF has
  • Some of the ASP.NET AJAX Futures (like the browser history control) will be moved into ASP.NET AJAX
  • IIS 7 will ship early next year
  • There will be new ways to deploy to IIS 7 and do things like versioning and rolling back on single servers and web farms

Great stuff...check it out!

Author: "HumanCompiler" Tags: "ASP.NET, Visual Studio, .NET, ASP.NET AJ..."
Comments Send by mail Print  Save  Delicious 
Date: Thursday, 29 Nov 2007 08:45

This is really great to see.  RTEs are a pain to write yourself.

http://ledgards.com/blogs/josh/archive/2007/11/12/rich-text-editor-control-on-codeplex.aspx

My only requests are that they add Opera and Safari support, XHTML support, undo and better flexibility for customizing it (like hiding the view tabs and ASP.NET Themes).

Definitely worth checking out!

Author: "HumanCompiler" Tags: "ASP.NET, Rich Text Editor, CodePlex"
Comments Send by mail Print  Save  Delicious 
Date: Friday, 18 May 2007 17:26

I've been following Popfly for a long time.  It's come a long way (and 2 code names) to where it is today and it's good stuff!  They have a cool editor in Silverlight for connecting blocks to create mash-ups, a web page editor, social networking to share your creations.  If you're into the nitty gritty you can even go in and edit all the Javascript yourself.  Check out the intro video on Channel 9.

Author: "HumanCompiler" Tags: "Channel 9, Community News, AJAX, Silverl..."
Comments Send by mail Print  Save  Delicious 
Date: Thursday, 03 May 2007 04:15
Author: "HumanCompiler" Tags: "WPFE, Silverlight"
Comments Send by mail Print  Save  Delicious 
Date: Monday, 26 Mar 2007 01:06

I saw a cool post recently from Jon Galloway called "Passing lists to SQL Server 2005 with XML Parameters".  This is a pattern I've used several times while building the new version of Channel 9.  If you'd like to learn how to pass in lists to stored procedures, check out Jon's post.

One of the times I've used it is to search our database for all entries from two of our forums.  For this example, we'll say Techoff and Sandbox.  Once you have a temp table with the two forum ids (actually forums in our system are just tags too) you can just do a where in statement like the following:

SELECT e.* FROM Entry e INNER JOIN EntryForum ef ON e.EntryID = ef.EntryID WHERE ef.ForumID IN (SELECT ForumID FROM ForumList)

Note: This is all pseudo code to represent the basics of how we do this.  This is not the exact code.

This selects all the entries (or posts) from our database that are from the list of forums I passed into the ForumList temp table.  WHERE IN specificies that all rows be returned that match ANY of the records in my temp table.  The following statement would be equivalent and work exactly the same.

SELECT e.* FROM Entry e INNER JOIN EntryForum ef ON e.EntryID = ef.EntryID WHERE ef.ForumID = @ForumID1 OR ef.ForumID = @ForumID2

Note: In the above example, @ForumID1 and @ForumID2 have the values that were stored in the ForumList temp table in the example above that one.

This works pretty well.  The other thing we do with passing in lists though is selecting only the entries that match ALL (not ANY) of the list we pass in to the stored procedure.  The example of this is when searching by multiple tags.  So for instance, you want to search on our site for all content that contains information on WPF AND WCF.  The previous example won't work.  It would instead need to be something like this...

SELECT e.* FROM Entry e INNER JOIN EntryTag et ON e.EntryID = et.EntryID WHERE et.TagID = @TagIDWPF AND et.TagID = @TagIDWCF

Using WHERE IN, we can't do this (at least I couldn't find anything in the docs or internet searching to say otherwise).  Duncan helped figure out the idea on how to do this and here is the implentation I came up with:

DECLARE @TagCount int
DECLARE @Tags TABLE (TagID bigint)
DECLARE @Entries TABLE (EntryID bigint)

SELECT @TagCount = COUNT(*) FROM @Tags
;
WITH Entries(EntryID, MatchCount) AS
(
    SELECT
        e.EntryID,
        COUNT(DISTINCT t.TagID) AS MatchCount
    FROM
        Entry e
            INNER JOIN
        EntryTag et
            ON
                e.EntryID = et.EntryID
            INNER JOIN
        @Tags t
            ON
                et.TagID = t.TagID
    GROUP BY
        e.EntryID
)
INSERT INTO @Entries (EntryID) SELECT EntryID FROM Entries WHERE MatchCount = @TagCount

What is this code doing?  Well, first, it's doing a count on the tags that were passed in (again, from XML turned into a temp table) and storing it in a variable.  Then, it creates a Common Table Expression or CTE around a query that returns all the entries that match the tag list and how many of those tags it matches up with.  If you're not familiar with CTEs, they're basically a wrapper around a query so you can write a query against it.  Kind of like a subquery, but much more organized.  Recursive CTEs are particularly powerful and cool, but that's another blog post.  So then after creating the CTE, fill another temp table with everything from the CTE where the MatchCount equals the count of how many tags were passed in originally.  This means that the entry returned had ALL the tags passed in associated with it.  So this will now only return entries that match ALL of the tags from the list that I passed in (stored in @Tags).  I hope this helps someone.  :)

UPDATE: Check out the first comment from Bryan.  He points out a slightly better implementation.  Thanks, Bryan!

Author: "HumanCompiler" Tags: "SQL Server, Channel 9"
Comments Send by mail Print  Save  Delicious 
Date: Wednesday, 14 Mar 2007 21:23

I'm a Slashdot browser.  I've never commented on anything thing and never will.  Slashdot is 90% crap (mostly because of the comments left there).  That's my opinion and I'm sticking to it.  That said, it's good to watch what goes on there, because every once and a while there is a gem of great insight.

This isn't the kind of gem I'm referring to, but it is still a gem and TOO GOOD and TOO TRUE to pass up.  My buddy Tobin pointed me to this one...

http://apple.slashdot.org/comments.pl?sid=44091&cid=4592270

I'm not a big fan of bashing people...unless they deserve it.  :)

Author: "HumanCompiler" Tags: "Community News, Slashdot, Tobin Titus"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 06 Mar 2007 20:44

Rory posted a great first video taking a look at a couple new apps out of MSR.

There's going to be lots more good stuff coming soon from TechFest.  To follow the happenings on Channel 9 in regards to TechFest, check out the TechFest tag.

Btw, this has to be the best preview image on any of our videos ever!  ;)

Microsoft Research TechFest - Intro, DynaVis, and FastDash

Author: "HumanCompiler" Tags: "Channel 9, MSR, Rory Blythe, TechFest"
Comments Send by mail Print  Save  Delicious 
Date: Tuesday, 06 Mar 2007 19:03
Author: "HumanCompiler" Tags: "Channel 9, WPFE, Adam Kinney, Scott Guth..."
Comments Send by mail Print  Save  Delicious 
Date: Saturday, 03 Mar 2007 06:16

This is really great.  The way they went about making the sounds for Windows Vista is really cool.  There are some really great ideas in this video like having calm music (you have to listen to the video to hear them) in the background while installing Windows Vista.  It's sad that it didn't make it into the final product.  Maybe they'll come out with some music from this we can buy.  Check it out...

Making Windows Vista Sing: Robert Fripp and the Vista Melody

Author: "HumanCompiler" Tags: "Windows Vista, Channel 9"
Comments Send by mail Print  Save  Delicious 
Next page
» You can also retrieve older items : Read
» © All content and copyrights belong to their respective authors.«
» © FeedShow - Online RSS Feeds Reader