<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6593790093833137894</id><updated>2011-10-24T02:56:50.997-07:00</updated><category term='chicago code camp'/><category term='Windows Phone 7'/><category term='DotNet Rocks'/><category term='.net rocks'/><title type='text'>Doug's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dougmair.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dougmair.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Doug Mair</name><uri>http://www.blogger.com/profile/06172858840976577558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://bp3.blogger.com/_N7D2tgTbU1s/R-7bn9VgaWI/AAAAAAAAABI/75omMQAN1mI/S220/DougPortrait.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6593790093833137894.post-7059279117341207492</id><published>2010-10-03T15:58:00.000-07:00</published><updated>2010-10-03T16:09:56.428-07:00</updated><title type='text'>Windows Phone 7 Launch Event</title><content type='html'>On Tuesday, Octomber 12th Microsoft will be launching the new Windows Phone 7.&lt;br /&gt;&lt;br /&gt;You can find out more at: &lt;a href="http://www.msdnevents.com/wp7devlaunch/"&gt;http://www.msdnevents.com/wp7devlaunch/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will be listening online. Hope you can attend a session or listen too.&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;img style="TEXT-ALIGN: left; MARGIN: 0px auto 10px; WIDTH: 141px; DISPLAY: block; HEIGHT: 70px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5523958786755539282" border="0" alt="" src="http://1.bp.blogspot.com/_N7D2tgTbU1s/TKkLP9Z2MVI/AAAAAAAAAC0/PL6pPSOxhwY/s320/wp7_signature_banner_sm.jpg" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6593790093833137894-7059279117341207492?l=dougmair.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dougmair.blogspot.com/feeds/7059279117341207492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6593790093833137894&amp;postID=7059279117341207492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default/7059279117341207492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default/7059279117341207492'/><link rel='alternate' type='text/html' href='http://dougmair.blogspot.com/2010/10/windows-phone-7-launch-event.html' title='Windows Phone 7 Launch Event'/><author><name>Doug Mair</name><uri>http://www.blogger.com/profile/06172858840976577558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://bp3.blogger.com/_N7D2tgTbU1s/R-7bn9VgaWI/AAAAAAAAABI/75omMQAN1mI/S220/DougPortrait.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_N7D2tgTbU1s/TKkLP9Z2MVI/AAAAAAAAAC0/PL6pPSOxhwY/s72-c/wp7_signature_banner_sm.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6593790093833137894.post-2128391824200442685</id><published>2010-05-13T16:10:00.000-07:00</published><updated>2010-05-13T16:32:53.204-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net rocks'/><category scheme='http://www.blogger.com/atom/ns#' term='chicago code camp'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Phone 7'/><category scheme='http://www.blogger.com/atom/ns#' term='DotNet Rocks'/><title type='text'>The .NET Rocks! Visual Studio 2010 Road Trip</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_N7D2tgTbU1s/S-yHsdQj8BI/AAAAAAAAACE/1Tr91YHG3R0/s1600/IMAG0078.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 190px;" src="http://3.bp.blogspot.com/_N7D2tgTbU1s/S-yHsdQj8BI/AAAAAAAAACE/1Tr91YHG3R0/s320/IMAG0078.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470896845186396178" /&gt;&lt;/a&gt;&lt;br /&gt;I saw the DotNet Rocks Roadtrip while attending the Chicago Code Camp.  Carl and Richard were very entertaining.  Their special guests were Rocky Lhotka and Jay Schmelzer.  They all  talked about VS 2010 in general and how it will affect development in the future.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_N7D2tgTbU1s/S-yH4uJJ4lI/AAAAAAAAACM/HatUJ09VUz8/s1600/IMAG0079.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 190px;" src="http://2.bp.blogspot.com/_N7D2tgTbU1s/S-yH4uJJ4lI/AAAAAAAAACM/HatUJ09VUz8/s320/IMAG0079.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5470897055877161554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At the end of the day, Carl and Richard hosted the raffle in the 64 bit question style.  It was a blast!!.  Unfortunately for me, the conference ran out of raffle tickets before I could get one.  Some people had multiple raffle tickets while a few of us didn't get one.  It was fun despite that.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The sessions I attended at the code camp were good quality, especially for a free event.  I definitely wanted more intense Windows Phone 7 and Silverlight talks.  I have been to several entry level Win Phone7 talks and watched all of the MIX10 Windows Phone 7 videos, but I still want more.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks you DotNetRocks for your Roadtrip.  I enjoyed listening to your all of the shows, and have had a fun time learning alot about VS 2010.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks again,&lt;br /&gt;Doug Mair,  doug.mair@gmail.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6593790093833137894-2128391824200442685?l=dougmair.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dougmair.blogspot.com/feeds/2128391824200442685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6593790093833137894&amp;postID=2128391824200442685' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default/2128391824200442685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default/2128391824200442685'/><link rel='alternate' type='text/html' href='http://dougmair.blogspot.com/2010/05/net-rocks-visual-studio-2010-road-trip.html' title='The .NET Rocks! Visual Studio 2010 Road Trip'/><author><name>Doug Mair</name><uri>http://www.blogger.com/profile/06172858840976577558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://bp3.blogger.com/_N7D2tgTbU1s/R-7bn9VgaWI/AAAAAAAAABI/75omMQAN1mI/S220/DougPortrait.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_N7D2tgTbU1s/S-yHsdQj8BI/AAAAAAAAACE/1Tr91YHG3R0/s72-c/IMAG0078.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6593790093833137894.post-6904696155294089573</id><published>2008-03-29T15:26:00.001-07:00</published><updated>2008-12-09T11:47:50.663-08:00</updated><title type='text'>Learning Visual Python</title><content type='html'>&lt;div align="left"&gt;This last January I went to &lt;a href="http://www.codemash.org/"&gt;CodeMash&lt;/a&gt; in Sandusky OH. It was a great two days of sessions and keynotes. Thanks to everyone who put it together.&lt;br /&gt;&lt;br /&gt;Anyway, my goal at the conference was to attend some sessions that improved my C# understanding and also to attend some sessions that would expand my overall programming experience.&lt;br /&gt;&lt;br /&gt;I was most impressed by the F# and Python presentations. I went to 3 seperate sessions on Python. One of them was presented by &lt;a href="http://catherinedevlin.blogspot.com/"&gt;Catherine Devlin&lt;/a&gt; and showed how to use &lt;a href="http://www.vpython.org/"&gt;Visual &lt;/a&gt;with Python to do some planetary simulations very easily.&lt;br /&gt;&lt;br /&gt;It looked so easy to do some pretty incredible things, so I decided to try it out for myself. Here is what I came up with.&lt;br /&gt;&lt;br /&gt;I made a Rubik's Cube Simulation and a Magnetic Disc simulation.&lt;br /&gt;&lt;br /&gt;I was able to make the Rubik's Cube into an executable using py2exe. It ended up being 40 files in all (YIKES). I then made that exe into a Windows screen saver by changing the extension to .SCR and copying all 40 files into the Windows\System32 sub directory. It's pretty neat, but kinda messy to have to copy so many files.&lt;br /&gt;&lt;br /&gt;Here is the source: &lt;/div&gt;&lt;ul&gt;&lt;p align="left"&gt;&lt;a href="http://doug.mair.googlepages.com/pyCube.py"&gt;PyCube.py&lt;/a&gt;&lt;br /&gt;&lt;a href="http://doug.mair.googlepages.com/MagDisc.py"&gt;MagDisc.py&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:78%;"&gt; I added them to &lt;a class="tr_pseudo-link" id="tr_site-url" onclick="TR_execViewLive('');" href="http://doug.mair.googlepages.com/"&gt;http://doug.mair.googlepages.com/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="font-family:georgia;"&gt;Descriptions of the programs:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="color:#000066;"&gt;Program 1: &lt;a href="http://doug.mair.googlepages.com/pyCube.py"&gt;PyCube.py&lt;/a&gt; - Rubiks cube simulation.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_N7D2tgTbU1s/R--pztVgaYI/AAAAAAAAABU/3W1Qh0tJ6Ak/s1600-h/Rubik+Screen+1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5183548401934952834" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 141px; CURSOR: hand; HEIGHT: 129px" height="244" alt="" src="http://4.bp.blogspot.com/_N7D2tgTbU1s/R--pztVgaYI/AAAAAAAAABU/3W1Qh0tJ6Ak/s320/Rubik+Screen+1.jpg" width="230" border="0" /&gt;&lt;/a&gt; &lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;215 lines in all!! Amazing. It works, but it probably isn't&lt;br /&gt;very python-like. I know there has to be better Python ways to do some of what I did in this program. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;Keys: Q - Toggles Demo Mode. F - Toggles flying the camera around.&lt;br /&gt;Click on the edges of the face pieces to make them rotate. &lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;span style="font-family:arial;"&gt;&lt;p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="color:#000099;"&gt;Program 2: &lt;a href="http://doug.mair.googlepages.com/MagDisc.py"&gt;MagDisc.py&lt;/a&gt; - Simulation of Magnets which are fixed on a rotating disc.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_N7D2tgTbU1s/R--sF9VgaZI/AAAAAAAAABc/4lhURahXSO4/s1600-h/MagDisc+Screen1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5183550914490821010" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 150px; CURSOR: hand; HEIGHT: 123px" height="191" alt="" src="http://1.bp.blogspot.com/_N7D2tgTbU1s/R--sF9VgaZI/AAAAAAAAABc/4lhURahXSO4/s320/MagDisc+Screen1.jpg" width="228" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:arial;"&gt;I'm studying the interactions and forces between the discs. The forces between magnets are shown as gold cylinders shooting out of the front of the magnets. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:arial;"&gt;I think my force equations are correct, but I'm having trouble converting the force between the magnets into the angular momentum of the disc. The discs also have a friction equation built into them,&lt;br /&gt;so they should slow down and stop. They seem to work except when they are at their closest point. At which point the large disc spins out of control.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:arial;"&gt;You can drag and drop the disc to move them around. Also left/right clicking on a disc increases it's speed clockwise or counter-clockwise. It's only 150 lines so far. WOW.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6593790093833137894-6904696155294089573?l=dougmair.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dougmair.blogspot.com/feeds/6904696155294089573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6593790093833137894&amp;postID=6904696155294089573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default/6904696155294089573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6593790093833137894/posts/default/6904696155294089573'/><link rel='alternate' type='text/html' href='http://dougmair.blogspot.com/2008/03/learning-visual-python.html' title='Learning Visual Python'/><author><name>Doug Mair</name><uri>http://www.blogger.com/profile/06172858840976577558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://bp3.blogger.com/_N7D2tgTbU1s/R-7bn9VgaWI/AAAAAAAAABI/75omMQAN1mI/S220/DougPortrait.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_N7D2tgTbU1s/R--pztVgaYI/AAAAAAAAABU/3W1Qh0tJ6Ak/s72-c/Rubik+Screen+1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
