posted by steve | Category: Useful Items That I Forget
Attempting to build a simple JavaScript application using Visual Studio 11 on the Windows 8 Developer Preview today and received the fun error “Unable to activate Windows Tailored application”. I’m running the software using Virtualbox (4.1.8). Turns out that my screen resolution wasn’t high enough in the virtual machine. It needs to be at least 1024×768 and I had left it at the Virtualbox default of 800×600. Changing the screen resolution and then attempting to [...Read more...]
posted by steve | Category: Linux & Open Source
I was working on a patched Debian system recently using PHP functions feof and fread. I went to run my test script and managed to auger Apache in while at the same time dumping over 1GB worth of errors into the Apache error log in a matter of minutes. Over and over (over 5,000,000 entries, actually), with these errors: [Wed Dec 07 11:17:00 2011] [error] [client xx.xx.xx.xx] PHP Warning: feof() expects parameter 1 to be [...Read more...]
posted by steve | Category: Current Projects
One of the best features that I’ve found so far (and I have many more yet to find) are promises. When building Metro-style apps using JavaScript, the framework utilizes asynchronous requests through xhr. Within that paradigm, there’s a promise object which essentially says that there will be data there sometime in the future (thus the async request). The promise object has a method called then, which accepts three arguments, a success function, error function, [...Read more...]
Archives
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- July 2011
- June 2011
- February 2011
- September 2010
- December 2009
- November 2009
- September 2008
- August 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- March 2007
- December 2006
- August 2006
- July 2006
- December 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- March 2005
- February 2005
- December 2004
- October 2004
- September 2004
- July 2004
Categories