IgorShare Thoughts and Ideas

Consulting and Training

Archive for December, 2008

Am I the only one? or Html is not that XML compliant.

Posted by Igor Moochnick on 12/18/2008

While working on my latest project, I’ve noticed that my site (that uses jQuery) was working properly on Google Chrome, but wasn’t working at all (without any errors) on IE7 and FF.

After very long fight I’ve noticed that (are you ready for this?) it does matter how you close the <script> tag.

Compare this (WORKING !!!):

<script src="scripts/jquery-1.2.6.js" type="text/javascript"></script>

with this (NOT WORKING !!!):

<script src="scripts/jquery-1.2.6.js" type="text/javascript" />

Note that the closing tag HAVE to be present as a separate node. YOU CAN’T USE THE SHORT NOTATION !!!

Advertisements

Posted in jQuery, Web | 6 Comments »

File encodings matter when writing Pixel Shaders

Posted by Igor Moochnick on 12/17/2008

Phewww… It took me some time to realize why my Pixel Shaders were not compiling with FXC. And this is a nasty one. Are you ready?..  IT DOES MATTER WHAT ENCODING YOUR FX FILE IS !!!!

Make sure to save your file with encoding: Western European (Windows) – Codepage 1252.

Check out this article for step-by-step instructions: http://blog.pixelingene.com/?p=224

Posted in Shaders, WPF | Leave a Comment »

Calculating rear projection setup

Posted by Igor Moochnick on 12/14/2008

MT Layout Help-1.jpg

Just found a great application (applet) for calculating rear projection setups. It works great for box size estimates and mirrors location. I’ve used it for the IR camera location prototyping for my multi-touch project.

Posted in Multi-touch | Leave a Comment »

IntelliPad (Oslo) switch to interactive mode

Posted by Igor Moochnick on 12/04/2008

For those who were asking: in order to switch the IntelliPad (Oslo) to interactive mode (MrEPL: REPL for M) follow these steps –

  • Once in Intellipad (with Samples) type “Ctrl-/” to get to the minibuffer.
  • Type: SetMode(‘MScriptMode’)

Posted in M, Oslo | 1 Comment »

 
%d bloggers like this: