<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Clark Sell's Blog - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-35c0a607" type="application/json"/><link>http://csell.disqus.com/</link><description></description><atom:link href="http://csell.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 30 Apr 2013 12:11:52 -0000</lastBuildDate><item><title>Re: 31 Days of Windows 8 | Day #21: Camera Capture</title><link>http://csell.net/2012/11/21/31-days-of-windows-8-day-21-camera-capture/#comment-880524270</link><description>&lt;p&gt;It's not something you have to even mess with as it's handled by the Camera Capture UI already. If you run the sample on a machine that has two cameras, when the Camera Capture UI is presented you will have an option at the bottom of the window to switch cameras. The user can freely switch between the two.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Tue, 30 Apr 2013 12:11:52 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #21: Camera Capture</title><link>http://csell.net/2012/11/21/31-days-of-windows-8-day-21-camera-capture/#comment-880418896</link><description>&lt;p&gt;Please help me out,  how to access back camera like web cam or front camera of Surface Device.&lt;/p&gt;

&lt;p&gt;In short, How to use back camera in above example and take photo or video.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Apoorva</dc:creator><pubDate>Tue, 30 Apr 2013 10:02:31 -0000</pubDate></item><item><title>Re: Setting up npm for node.js on Windows</title><link>http://csell.net/2011/10/20/setting-up-npm-for-node-js-on-windows/#comment-867885126</link><description>&lt;p&gt;Thanks. I got it up and running&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deepak Shakya</dc:creator><pubDate>Fri, 19 Apr 2013 02:44:57 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #21: Camera Capture</title><link>http://csell.net/2012/11/21/31-days-of-windows-8-day-21-camera-capture/#comment-807405346</link><description>&lt;p&gt;Yes you can get access to the camera on Windows Phone but at this point it’s still a bit different. Jeff&amp;lt;http: www.jeffblankenburg.com=""&amp;gt; actually wrote a 31 Days of Mango which walks through doing development with Windows Phone 7.5 but I can’t image it’s that much different in 8. You can see more here: &lt;a href="http://www.jeffblankenburg.com/2011/11/07/31-days-of-mango-day-7-raw-camera-data/" rel="nofollow"&gt;http://www.jeffblankenburg.com...&lt;/a&gt; &lt;br&gt;Clark&amp;lt;/http:&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Thu, 21 Feb 2013 15:16:40 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #21: Camera Capture</title><link>http://csell.net/2012/11/21/31-days-of-windows-8-day-21-camera-capture/#comment-804082157</link><description>&lt;p&gt;Very nice article, &lt;/p&gt;

&lt;p&gt;Can similar access to the camera be achieved on windows phone 8?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Hartzenberg</dc:creator><pubDate>Tue, 19 Feb 2013 05:25:31 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #5: Settings Contract</title><link>http://csell.net/2012/11/05/31-days-of-windows-8-day-5-settings-contract/#comment-800025825</link><description>&lt;p&gt;Oh dat's a good idea explained in java script code.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.samplecontracts.org/" rel="nofollow"&gt;http://www.samplecontracts.org...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">catherinalucy</dc:creator><pubDate>Fri, 15 Feb 2013 02:15:48 -0000</pubDate></item><item><title>Re: Where do you shop online?</title><link>http://csell.net/2011/08/08/where-do-you-shop-online/#comment-788633507</link><description>&lt;p&gt; Equipment Failures&lt;br&gt;I have had repeated failure with the equipment used in the Well Guru's design, more specifically the Water Way In-line Chlorinator (515-1210) and the Water Way Check Valve (600-7010). The lids on both of these products broke at the manufactured seams multiple times, having nothing to do with regular maintenance as the owner suggested. I got in contact with the manufacture Water Way Plastics and was told the products you used on my system are designed and tested for pool and spa's use only. Furthermore, they recommend that I have a professional remove the system since the products were not tested for use on wells or county or city water services. While they stated they have no controls over how any product of theirs is used, they did confirm lack of maintenance or lack of using salt in my system would not have caused the lids on the Chlorinator or Check Valve to crack. As to the O ring being dry or needing to be inspected and or replaced, as the Well Guru claimed to have caused the failure, Water Way stated that would not have caused the lids to crack either. The Well Guru refused to consider the problem may be the design and blamed everything on maintenance. The problem with the lids cracking started soon after installation but he did not come out to see why the failures were occurring. He has slandered me and sent me an email telling me "Refund Request. No contract / no service - abuse and your shutoff" and called me a JERK. Funny, I thought I was a customer? I have removed the water purification system designed and installed at my residence by the Well Guru. I requested a full refund and in return told them they could come and get the equipment they installed. I now have a new system which is working great, water is clear not Gray (even using salt), no chlorinator which means I no longer require Chlorine which I found out is not recommended to be used in water being consumed by humans since chlorine has been linked to causing Cancer. I would not recommend their system!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jromer</dc:creator><pubDate>Mon, 04 Feb 2013 16:45:32 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #2: Orientation &amp;amp; Snap</title><link>http://csell.net/2012/11/02/31-days-of-windows-8-day-2-orientation-snap/#comment-736051432</link><description>&lt;p&gt;I only got to play a bit last night but I think I figured it out. &lt;/p&gt;

&lt;p&gt;Ironically I can't duplicate it on my build tablet to save my life but my wife's surface I can, but can't determine why it will run sometimes and not other times. Maybe because I was refreshing the app on that page. I am wondering if the page's life cycle and dumping the eventhandler but I have never seen that before and it doesn't really make any sense.&lt;/p&gt;

&lt;p&gt;That lead me to think of a race condition. It seemed like, when I put a break point on that registration and refreshed things worked. So what was racing?&lt;/p&gt;

&lt;p&gt;The other sensors actually have a reporting interval you set, where as this sensor doesn't seem to so it should always fire, regardless. Yet we didn't see that.&lt;/p&gt;

&lt;p&gt;Well crap code on my part, or so it looks to be. If I define the event handler function first, it runs fine. The watch window still shows null which I don't understand. I would have expected it to show a function. &lt;/p&gt;

&lt;p&gt;Now if I set it like this:&lt;br&gt;sensor.onorientationchanged = sensorOrientationChanged;&lt;/p&gt;

&lt;p&gt;rather than the typical event registration, you in fact do see the function pointer in the watch window.&lt;/p&gt;

&lt;p&gt;Regardless the function should have been defined first. Why the break point caused it to load, I am really not sure.&lt;/p&gt;

&lt;p&gt;I have updated git but I want to play around some more and see if still hold true. Curious to see what you see as well.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Fri, 14 Dec 2012 10:11:02 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #2: Orientation &amp;amp; Snap</title><link>http://csell.net/2012/11/02/31-days-of-windows-8-day-2-orientation-snap/#comment-735496248</link><description>&lt;p&gt;No, the handler does not get called with or without a breakpoint. I put a console.log in the handler and it's not outputting anything. I put another one here:&lt;/p&gt;

&lt;p&gt;if(sensor) {&lt;br&gt;  sensor.addEventListener("orientationchanged", sensorOrientationChanged, false);&lt;br&gt;  results.innerText = "Sensor Found";&lt;br&gt;  console.log("wiring sensor");&lt;br&gt;}&lt;/p&gt;

&lt;p&gt;and it gets called every time. I navigate to the page (right after I see the HTML1300 msg in the console). I'm seeing the same behavior both with my solution and with yours that I pulled down from GitHub.&lt;/p&gt;

&lt;p&gt;When I refresh the app I see the HTML1300 and the "wiring sensor" output but nothing else.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joe Paris</dc:creator><pubDate>Thu, 13 Dec 2012 20:58:54 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #2: Orientation &amp;amp; Snap</title><link>http://csell.net/2012/11/02/31-days-of-windows-8-day-2-orientation-snap/#comment-735431318</link><description>&lt;p&gt;Does the handler get called when you rotate it?&lt;/p&gt;

&lt;p&gt;I just tried it on my surface and do see a problem. It seems if I put a break point in where the sensor gets set it will always run but if not, then not.  You can refresh by hitting ctrl + shift + r while your playing around.&lt;/p&gt;

&lt;p&gt;Not sure why that is not always running though. I need to look more into that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Thu, 13 Dec 2012 19:38:07 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #2: Orientation &amp;amp; Snap</title><link>http://csell.net/2012/11/02/31-days-of-windows-8-day-2-orientation-snap/#comment-735421436</link><description>&lt;p&gt;No, no error message. The text simply doesn't get updated when I rotate the machine it's running on. I've tried it on both a Surface RT and a Lenovo Yoga. Then I grabbed your code from GH and got the exact same behavior. The SimpleOrientationSenor demo code from MSDN runs fine on both.&lt;/p&gt;

&lt;p&gt;sensor gets new'ed up, I can inspect it in the locals window, has an onorientationchanged property which remains null after executing sensor.addEventListener("orientationchanged", sensorOrientationChanged);&lt;/p&gt;

&lt;p&gt;This is weird.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joe Paris</dc:creator><pubDate>Thu, 13 Dec 2012 19:25:28 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #2: Orientation &amp;amp; Snap</title><link>http://csell.net/2012/11/02/31-days-of-windows-8-day-2-orientation-snap/#comment-735360782</link><description>&lt;p&gt;Well, hum. I just ran mine here on two difference machines and it was working fine. is the sensor object actually getting created? var sensor = Windows.Devices.Sensors.SimpleOrientationSensor.getDefault(); If sensor is undefined or null then it can't set an event handler for sure. &lt;/p&gt;

&lt;p&gt;If you are, then make sure your binding to the right event "orientationchanged" all lowercase. Then when you rotate your function should fire just fine.&lt;/p&gt;

&lt;p&gt;When you says fails, do you have an error message?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Thu, 13 Dec 2012 18:13:26 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #2: Orientation &amp;amp; Snap</title><link>http://csell.net/2012/11/02/31-days-of-windows-8-day-2-orientation-snap/#comment-735313969</link><description>&lt;p&gt;Updating results.innerText for the simple sensor demo does not work. I couldn't get it to work with my code and after downloading your source from GH I am getting the same results. Debugging shows that the call to sensor.addEventListener() on line 13 of SimpleOrientationSensor.js fails to set the event handler for onorientationchanged. I'm clueless as to why, any idea?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joe Paris</dc:creator><pubDate>Thu, 13 Dec 2012 17:21:36 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #5: Settings Contract</title><link>http://csell.net/2012/11/05/31-days-of-windows-8-day-5-settings-contract/#comment-734057466</link><description>&lt;p&gt;Very good, concise explanation, as well as informative.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Myke</dc:creator><pubDate>Wed, 12 Dec 2012 11:37:47 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #3: The Splash Screen</title><link>http://csell.net/2012/11/03/31-days-of-windows-8-day-3-the-splash-screen/#comment-733340742</link><description>&lt;p&gt;Thanks Myke. I fixed it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Tue, 11 Dec 2012 13:54:33 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #3: The Splash Screen</title><link>http://csell.net/2012/11/03/31-days-of-windows-8-day-3-the-splash-screen/#comment-733315001</link><description>&lt;p&gt;Just a proofing note. The first sentence says that this is day 2 when it really is day 3.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Myke</dc:creator><pubDate>Tue, 11 Dec 2012 13:19:46 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #9: Live Tiles</title><link>http://csell.net/2012/11/09/31-days-of-windows-8-day-9-live-tiles/#comment-729051493</link><description>&lt;p&gt;Hi Clark,&lt;/p&gt;

&lt;p&gt;I've been trawling the web and not sure if it's possible or not, but have you encountered a way to update a tile that is just a bookmark from IE10?&lt;/p&gt;

&lt;p&gt;E.G If I bookmarked a new website, it could update depending on an XML on said sites server?&lt;/p&gt;

&lt;p&gt;Not sure if this thing exists, but would be great if it did&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mimeArtist</dc:creator><pubDate>Thu, 06 Dec 2012 05:27:06 -0000</pubDate></item><item><title>Re: Downloads</title><link>http://csell.net/downloads/#comment-726025209</link><description>&lt;p&gt;good&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hwang</dc:creator><pubDate>Mon, 03 Dec 2012 08:30:35 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #20: Printing</title><link>http://csell.net/2012/11/20/31-days-of-windows-8-day-20-printing/#comment-716023050</link><description>&lt;p&gt;Thanks Oscar, make sure you go back to the start and catch the other 20 too ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Wed, 21 Nov 2012 13:24:26 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #20: Printing</title><link>http://csell.net/2012/11/20/31-days-of-windows-8-day-20-printing/#comment-715998234</link><description>&lt;p&gt;I will be following these series starting today, they are excellent!&lt;br&gt;thanks a lot&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oscar Vargas</dc:creator><pubDate>Wed, 21 Nov 2012 12:56:46 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #20: Printing</title><link>http://csell.net/2012/11/20/31-days-of-windows-8-day-20-printing/#comment-715997687</link><description>&lt;p&gt;Nice! thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oscar Vargas</dc:creator><pubDate>Wed, 21 Nov 2012 12:56:00 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #4: New Controls</title><link>http://csell.net/2012/11/04/31-days-of-windows-8-day-4-new-controls/#comment-710821987</link><description>&lt;p&gt;Really usefull ! ... &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PincoPallino</dc:creator><pubDate>Thu, 15 Nov 2012 05:35:46 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #13: Navigation</title><link>http://csell.net/2012/11/13/31-days-of-windows-8-day-13-navigation/#comment-709501864</link><description>&lt;p&gt;No problem. Thank  you for reaching out too!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Tue, 13 Nov 2012 17:09:39 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #13: Navigation</title><link>http://csell.net/2012/11/13/31-days-of-windows-8-day-13-navigation/#comment-709181805</link><description>&lt;p&gt;Great, that helps - thanks! I think I know what I'm doing now.&lt;/p&gt;

&lt;p&gt;Keep up the good work on the articles and thanks for doing them!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Laubacher</dc:creator><pubDate>Tue, 13 Nov 2012 12:11:35 -0000</pubDate></item><item><title>Re: 31 Days of Windows 8 | Day #13: Navigation</title><link>http://csell.net/2012/11/13/31-days-of-windows-8-day-13-navigation/#comment-709031949</link><description>&lt;p&gt;No no. good questions. The whole point of writing this is to distill down the huge amount of stuff out there and get simply get stuff done.&lt;/p&gt;

&lt;p&gt;You can think of app.onready similar to the browsers window.onload but at the application level for Windows Store Apps. app was just my shortcut to WinJS.Application and onready is just a function off that. The navigation app template has that defined at the top. The onready function wasn't there, I added it.&lt;/p&gt;

&lt;p&gt;WinJS.Application.onready = function () {&lt;br&gt;        WinJS.Utilities.query("a").listen("click", anchorHandler, false);&lt;br&gt;    }&lt;/p&gt;

&lt;p&gt;Now having said that onready might not be the function you really want to load in. You have 5 seconds to get your app loaded for the user. onloaded might be a better place to load up things like event handlers simply because that will happen later on and not block startup. Regardless for our purposes here they both are fine.&lt;/p&gt;

&lt;p&gt;Then my anchor handler looked like such&lt;/p&gt;

&lt;p&gt;    function anchorHandler(eventInfo) {&lt;br&gt;        eventInfo.preventDefault();&lt;br&gt;        var link = eventInfo.target;&lt;/p&gt;

&lt;p&gt;        WinJS.Navigation.navigate(link.href);&lt;br&gt;    }&lt;/p&gt;

&lt;p&gt;In my article I was trying to speak at more of the abstract level and not that of the exact but I will go back and look at things.&lt;/p&gt;

&lt;p&gt;The real problem with what you have above is zero idea about what link you should really navigate too. Since you attached to all anchor tags you need to know what the href is that the user clicked on.&lt;/p&gt;

&lt;p&gt;Check out the source here: &lt;a href="https://github.com/csell5/31DaysOfWindows8/tree/master/source/HTML5/Day13-Navigation" rel="nofollow"&gt;https://github.com/csell5/31Da...&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">csell5</dc:creator><pubDate>Tue, 13 Nov 2012 09:14:35 -0000</pubDate></item></channel></rss>