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...]

1 2