Sunday, March 25, 2012

ipad3 improvements

it is well known that apple has good sense for user experience but i will make my own wish list with improvements:

1. move " organize by thread" to mail application. currently in settings/mail it is quite impratical , and i switch a lot between plain view and organized view.

todo: continue with list

Wednesday, January 4, 2012

Friday, December 16, 2011

Tuesday, November 15, 2011

Relative Module Identifiers (dojo, AMD)


/*
Relative Module Identifiers:
http://livedocs.dojotoolkit.org/loader/amd#id8
http://livedocs.dojotoolkit.org/loader/amd#id9

A) Don’t use Relative Module Paths in require([]), only work in define([])
B) Don't use Relative Module Paths with global require use Context Sensitive _require


sample file:
path: dojo-boilerplate/js/myPackage/myModule/test3.js
no .js added at the end
*/
// !!! bad
// /dojo-boilerplate/mySubmodule9/b 404 (Not Found)
// /myModule8/a 404 (Not Found)
require(["../myModule8","./mySubmodule9"]);    
  

define(["require","../myModule","./mySubmodule1"],function(_require){
 // dojo-boilerplate/js/myPackage/myModule/mySubmodule3.js
 require(["myPackage/myModule/mySubmodule3"]);  
 //  !!! bad !!! dojo-boilerplate/mySubmodule4 
 require(["./mySubmodule4"]);     
 // dojo-boilerplate/js/myPackage/myModule/mySubmodule6.js
 _require(["myPackage/myModule/mySubmodule5"]);  
 // dojo-boilerplate/js/myPackage/myModule/mySubmodule5.js
 _require(["./mySubmodule6"]); 
 // dojo-boilerplate/js/myPackage/myModule7.js  
 _require(["../myModule7"]);   
}); 

Tuesday, November 1, 2011

http://demos.dojotoolkit.org/demos/faces/

http://demos.dojotoolkit.org/demos/faces/
Broken link to logo.png and header.pmg
Not working in MSIE 8
Crashing on GA code ? (Line: 35 Error: Object doesn't support this property or method)

http://demos.dojotoolkit.org/demos/fonts/charts.html
Crashing on GA code ? this.set is not a function http://www.google-analytics.com/ga.js Line 35

http://demos.dojotoolkit.org/demos/mojo/
broken link to:
http://dojotoolkit.org/about

Eclipse, WTP JavaScript Validator useless

WTP comes with JS Validator which is by default configured to
"Enable JavaScript semantic validation".

Defaults are set somehow but soon
you will have to turn OFF "the whole thing" because:

Optional Semicolon: Ignore
because of Dojo and other framework authors do not care

Local Variable is never read: Ignore
because it does not work, local.member is not considered reading local by WTP

Uninitialized local variables: Ignore
This is just JS style of me and many others

And after turning this all OFF, you will end up with
Type mismatch: cannot convert from any[] to any ItemFileWriteStore.js /dojo/data JavaScript Problem line 581
on simple lines like: var serializableArray = [];

Since this warning cannot be turned off (no UI item for this),
you must modify the plugin
or just turn WHOLE "SEMANTICS VALIDATOR" OFF.

Another piece of code that is useless, thanx for wasting my time again.

see also:
http://stackoverflow.com/questions/5765955/javascript-array-why-is-this-not-valid


Update:
Eclipse IDE for JavaScript Web Developers
eclipse-javascript-indigo-SR1-macosx-cocoa-x86_64.tar.gz
contains quite old version of the plugin:
plugin version org.eclipse.wst.jsdt.core_1.1.101.v201108151912.jar

Thursday, October 27, 2011

ajaxpatterns.org


I just had a quick view to this, once popular web site.
I have found that this is deserted place full of outdated,
and almost harmful information...


so AJAX beginners (if there are any, anymore) BEWARE.

Just a few broken links....and dead topics....


REFERER: http://ajaxpatterns.org/Main_Page 
404: http://www.ajaxpatterns.org/Special:Newpages?feed=rss

REFERER: http://ajaxpatterns.org/Javascript_Frameworks
HISTORY: last update: november 2009 
404: http://www.coolpenguin.net/plainajax
404: http://www.amplesdk.com/examples/xul/
404: http://www.amplesdk.com/examples/extensions/

REFERER:http://ajaxpatterns.org/Tools
HISTORY: May 2011
PARKED DOMAIN ?:  http://ww5.ajaxwebshop.com/
ENDED DEVELOPMENT:  http://www.interaktonline.com/Products/Eclipse/JSEclipse/Overview/



I have tried to fix some articles but usually you end up with... 504 Gateway Time-out