<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sam Stokes on Research in your life and studies : Xbox</title><link>http://blogs.msdn.com/research/archive/tags/Xbox/default.aspx</link><description>Tags: Xbox</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Computer Archeology: The Smiley, where did it come from?</title><link>http://blogs.msdn.com/research/archive/2009/06/06/computer-archeology-the-smiley-where-did-it-come-from.aspx</link><pubDate>Sat, 06 Jun 2009 19:16:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9702895</guid><dc:creator>SoCal Sam</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/research/comments/9702895.aspx</comments><wfw:commentRss>http://blogs.msdn.com/research/commentrss.aspx?PostID=9702895</wfw:commentRss><description>&lt;p&gt;The Smiley, where did it come from?&amp;#160; Here is the first instance of the Smiley:&lt;/p&gt;  &lt;p&gt;401298269,0,0 19-Sep-82 11:44 Scott E Fahlman :-) From: Scott E Fahlman &amp;lt;Fahlman at Cmu-20c&amp;gt; I propose that the following character sequence for joke markers: :-) Read it sideways. Actually, it is probably more economical to mark things that are NOT jokes, given current trends. For this, use :-(&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You can see the whole bboard file from CMU in 1982 at:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://research.microsoft.com/en-us/um/people/mbj/smiley/bboard_contents.html" href="http://research.microsoft.com/en-us/um/people/mbj/smiley/bboard_contents.html"&gt;http://research.microsoft.com/en-us/um/people/mbj/smiley/bboard_contents.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Funny stuff… Who says research has to be unfunny? :-)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9702895" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/research/archive/tags/Research/default.aspx">Research</category><category domain="http://blogs.msdn.com/research/archive/tags/Fun/default.aspx">Fun</category><category domain="http://blogs.msdn.com/research/archive/tags/XNA/default.aspx">XNA</category><category domain="http://blogs.msdn.com/research/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/research/archive/tags/Xbox/default.aspx">Xbox</category><category domain="http://blogs.msdn.com/research/archive/tags/Science/default.aspx">Science</category></item><item><title>F# variables or a return to BASIC?</title><link>http://blogs.msdn.com/research/archive/2008/12/05/f-variables-or-a-return-to-basic.aspx</link><pubDate>Sat, 06 Dec 2008 03:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180847</guid><dc:creator>SoCal Sam</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/research/comments/9180847.aspx</comments><wfw:commentRss>http://blogs.msdn.com/research/commentrss.aspx?PostID=9180847</wfw:commentRss><description>&lt;P&gt;In the example I used in the past post utilized the "let" command and it didn't have any data&amp;nbsp;type, what's up with that?&amp;nbsp; Oh it gets worse, the identifier (not variable) are immutable.&amp;nbsp; That is the memory location of the identifier cannot be modified.&amp;nbsp; To create an mutable identifier you have to declare the identifier as mutable.&amp;nbsp; This is one of the differences between functional programming (F#, OCAML) and imperative&amp;nbsp; programming (C#, VB.NET, Java), the concept of identifiers is not really supported in the imperative languages, although there are constants.&amp;nbsp; This is not to say that F# doesn't support imperative programming, F# is object oriented, but it's focus on the functional approach to programming.&lt;/P&gt;
&lt;P&gt;Identifiers are interesting, and to continue the discussion about solving engineering problems, we definitely will need to deal with functions.&amp;nbsp; Functions easy to work with in F#, and we will take a look at functions in the next episode of the blog, mainly because I need to work on my game blog at &lt;A href="http://blogs.msdn.com/devschool" mce_href="http://blogs.msdn.com/devschool"&gt;http://blogs.msdn.com/devschool&lt;/A&gt;, where you can learn how to build a game for a Christmas Present this year!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9180847" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/research/archive/tags/Research/default.aspx">Research</category><category domain="http://blogs.msdn.com/research/archive/tags/eScience/default.aspx">eScience</category><category domain="http://blogs.msdn.com/research/archive/tags/XNA/default.aspx">XNA</category><category domain="http://blogs.msdn.com/research/archive/tags/Xbox/default.aspx">Xbox</category><category domain="http://blogs.msdn.com/research/archive/tags/Science/default.aspx">Science</category><category domain="http://blogs.msdn.com/research/archive/tags/Electrical+Engineering/default.aspx">Electrical Engineering</category><category domain="http://blogs.msdn.com/research/archive/tags/Engineering/default.aspx">Engineering</category></item><item><title>Looking at the code inside of our trial code...</title><link>http://blogs.msdn.com/research/archive/2008/09/03/looking-at-the-code-inside-of-our-trial-code.aspx</link><pubDate>Thu, 04 Sep 2008 02:47:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8923173</guid><dc:creator>SoCal Sam</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/research/comments/8923173.aspx</comments><wfw:commentRss>http://blogs.msdn.com/research/commentrss.aspx?PostID=8923173</wfw:commentRss><description>&lt;p&gt; &lt;p&gt;Hopefully you gave the code from Friday a try, Popfly should be used for that type of code, since there is that banner that advises people to not input their password, etc.&amp;nbsp; Now that you have run your tests, make sure to change your site or remove it.&lt;/p&gt; &lt;p&gt;Using Visual Studio 2008 Web Developer Express (let's call it Web Dev) I am able to connect to Popfly and use the Web Dev tool to connect with Popfly.&amp;nbsp; I am also able to share code directly with you.&amp;nbsp; However, for now, lets dig into the code.&lt;/p&gt; &lt;p&gt;If your Javascript is a little weak, and even professional software developers like &lt;a href="http://blogs.msdn.com/dawate"&gt;Dan Waters&lt;/a&gt; sometimes have issues with javascript.&amp;nbsp; The best source that I know, that is also free, is the ECMASCRIPT Standard!&amp;nbsp; You might ask, ECMASCRIPT, what does that have to do with javascript?&amp;nbsp; The ECMA Standard is based on several originating technologies, the most well known being JavaScript (Netscape) and JScript (Microsoft).&amp;nbsp; Bottom line: ECMASCRIPT = javascript&lt;/p&gt; &lt;p&gt;Why is this important? ECMASCRIPT is the standard and programming standards are often good sources for figuring out how to make programs work.&amp;nbsp; This is true for C# and some other languages.&amp;nbsp; Other languages like Java (which is not the same as javascript, although the syntax is similar) and Visual Basic.NET are not programming languages that have a standard.&amp;nbsp; This means you have to search for assistance with companies like Sun (stock symbol: JAVA) or Microsoft (stock symbol: MSFT).&amp;nbsp; To get the ECMASCRIPT standard (which will help you with learning javascript) go to &lt;a href="http://www.ecma-international.org/cgi-bin/counters/unicounter.pl?name=Ecma-262&amp;amp;deliver=http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf"&gt;click here&lt;/a&gt; and then from the Adobe ribbon, click on the "save icon" &lt;a href="http://blogs.msdn.com/blogfiles/research/WindowsLiveWriter/1e431e150030_C161/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="43" alt="image" src="http://blogs.msdn.com/blogfiles/research/WindowsLiveWriter/1e431e150030_C161/image_thumb.png" width="40" border="0"&gt;&lt;/a&gt; , save this file to your harddrive, it is 188 pages, and worth the paper if you printed it out.&amp;nbsp; The ECMAScript standard though is weak on examples, for code examples you will need to go to other sites.&lt;/p&gt; &lt;p&gt;If you are using the Web Dev tool, you will notice that there are a series of "functions", in javascript this is a way to organize the programs flow in memory.&amp;nbsp; These functions are also correctly referred to as methods.&amp;nbsp; There are other software items that are called functions as well, for now we will work with the method kind of software items.&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/research/WindowsLiveWriter/1e431e150030_C161/image_4.png"&gt;&lt;img height="289" alt="image" src="http://blogs.msdn.com/blogfiles/research/WindowsLiveWriter/1e431e150030_C161/image_thumb_1.png" width="335" align="right"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;What do we have in our example? A process to do the sign-in for the receiver and sender, both have to be in the other's contact list.&amp;nbsp; Also, we have now achieved the "nudge", we haven't figured out how to use it yet, but we a code example.&amp;nbsp; To work through a tutorial, which I can't get to work, let me know if you get it to work:&lt;/p&gt; &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/cc298455.aspx" href="http://msdn.microsoft.com/en-us/library/cc298455.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc298455.aspx&lt;/a&gt;, this example is pretty simple, and I recommend that you look at it.&lt;/p&gt; &lt;p&gt;This is the code that we use to create the sign-in control&lt;/p&gt; &lt;blockquote&gt; &lt;table cellspacing="0" cellpadding="2" width="611" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="609"&gt; &lt;p&gt;This code: &lt;p&gt;signin = new Microsoft.Live.Messenger.UI.SignInControl('signinframe', privUrl, chanUrl, 'en-US');&lt;br&gt;signin.add_authenticationCompleted(authenticationCompleted);  &lt;p&gt;Generates the control shown below:&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="609"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/research/WindowsLiveWriter/1e431e150030_C161/image_6.png"&gt;&lt;img height="130" alt="image" src="http://blogs.msdn.com/blogfiles/research/WindowsLiveWriter/1e431e150030_C161/image_thumb_2.png" width="318"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/blockquote&gt; &lt;p&gt;To authenticate the user the following code is used:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;_user = new Microsoft.Live.Messenger.User(e.get_identity());&lt;/p&gt; &lt;p&gt;_user.add_signInCompleted(signInCompleted);&lt;/p&gt; &lt;p&gt;_user.signIn(null);&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Then to complete the sign-in:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;if (e.get_resultCode() === Microsoft.Live.Messenger.SignInResultCode.success) &lt;br&gt;{&lt;br&gt;document.getElementById('userInfo').innerHTML = '&amp;lt;p&amp;gt;' + _user.get_address().get_address() + ' is now signed in.&amp;lt;/p&amp;gt;';&lt;br&gt;}&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&amp;nbsp; &lt;p&gt;However, as a person who is attempting to commercialize a research concept, you would what to understand how the code works, but you wouldn't do the code.&amp;nbsp; You would likely note down that you need a software designer who knows javascript and C#.&amp;nbsp; &lt;p&gt;Stay tuned for the next blog entry, we will take a look at the "nudge" and how we can use the Windows Live Messenger Library to call managed functions.&amp;nbsp; Since XNA is part of the managed code, we are getting closer to driving our Xbox controller with a nudge from Live Messenger. &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8923173" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/research/archive/tags/Research/default.aspx">Research</category><category domain="http://blogs.msdn.com/research/archive/tags/Fun/default.aspx">Fun</category><category domain="http://blogs.msdn.com/research/archive/tags/XNA/default.aspx">XNA</category><category domain="http://blogs.msdn.com/research/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/research/archive/tags/Xbox/default.aspx">Xbox</category></item></channel></rss>