Sometimes I have to put text on a path
Showing posts with label outils4programmation. Show all posts
Showing posts with label outils4programmation. Show all posts

Tuesday, May 22, 2012

Spherical harmonics, meshes and some WebGL and JavaScript : toxiclibs.js, Processing.js, Three.js, ThreeNodes.js



1--------Spherical Harmonics Mesh Builder

Spherical Harmonics Mesh Builder is an example of Paul Bourke's "spherical harmonics" function for creating organic meshes. This example shows the use of Toxiclibs.js for creating meshes inside Three.js
(Technology: JavaScript, WebGL, toxiclibs.js, three.js).

Spherical harmonics are the angular portion of a set of solutions to Laplace's equation. Spherical harmonics are important in many theoretical and practical applications, particularly in the computation of atomic orbital electron configurations, representation of gravitational fields, geoids, and the magnetic fields of planetary bodies and stars, and characterization of the cosmic microwave background radiation. In 3D computer graphics, spherical harmonics play a special role in a wide variety of topics including indirect lighting (ambient occlusion, global illumination, precomputed radiance transfer, etc.) and recognition of 3D shapes.
The 19th century development of Fourier series made possible the solution of a wide variety of physical problems in rectangular domains, such as the solution of the heat equation and wave equation. This could be achieved by expansion of functions in series of trigonometric functions. Whereas the trigonometric functions in a Fourier series represent the fundamental modes of vibration in a string, the spherical harmonics represent the fundamental modes of vibration of a sphere in much the same way.
is called a spherical harmonic function of degree ℓ and order m.
For a given value of ℓ, there are 2ℓ+1 independent solutions of this form, one for each integer m with −ℓ ≤ m ≤ ℓ. 

Toxiclibs.js is an open-source computational design library ported to javascript by Kyle Phillips originally written by Karsten Schmidt for Java and Processing. Examples of the original library can be found at http://toxiclibs.org

Toxiclibs.js works great with Canvas, with SVG or any ordinary DOM element. with Processing.js, Three.js, or Raphael.js for SVG...

great example with additive waves

3--------three.js
JavaScript 3D library
The aim of the project is to create a lightweight 3D library with a very low level of complexity — in other words, for dummies. The library provides , and WebGL renderers.

--ThreeNodes.js
Threenodes.js is an attempt to create a dataflow environment in javascript and html5. It's a way to see what is possible to do in the browser. I had a little list of interesting javascript libraries to try but never had the chance to play with them.

The project is still in an experimental state but you can already see a live demo there: http://idflood.github.com/ThreeNodes.js/
coffeescript, compass and haml
These are languages that compile to javascript, css and html. Their syntax are much shorter than their equivalent and they offer some great features. If you work a lot with js, css or html you should definitely check these.
http://jashkenas.github.com/coffee-script/
http://compass-style.org/
http://haml-lang.com/
Three.js
The project is using webgl to render the scene. Three.js was obviously the 3d engine of choice. It provide many features like shaders, geometries, postprocessing filters and so on. A great project :)
https://github.com/mrdoob/three.js/
node.js
This is a javascript server. It's used to automatically compile the source files and serve them. I could have used some simple bash script to compile the files but found it would be interesting to use this for this "node" based project.
http://nodejs.org/
Require.js
The application was quickly growing and I needed a way to make it more modular. It's still not used at his full potential in threenode.js but already help make the code cleaner. One nice feature is that it's possible to require text files, or in this case little html template files.
http://requirejs.org/
--------------
Processing.js is the sister project of the popular Processing visual programming language, designed for the web. Processing.js makes your data visualizations, digital art, interactive animations, educational graphs, video games, etc. work using web standards and without any plug-ins. You write code using the Processing language, include it in your web page, and Processing.js does the rest. It's not magic, but almost.

Saturday, May 19, 2012

Molecular visualization Off-Line and On-Line : spiderGL, a JavaScript 3D Graphics library which relies on WebGL for realtime rendering

http://spidergl.org/index.php

code: http://spidergl.org/js/spidergl.js
http://sourceforge.net/projects/spidergl/

GALLERY:
http://spidergl.org/code.php

1/ Web application, a shader authoring tool:

http://spidergl.org/meshade/index.html
code generation
(input just a mesh, file= .obj)

VERY GOOD.
Try it online or download the zipped archive (an HTTP server is needed):


2/ Visualization Methods for Molecular Studies on the Web Platform

http://vcg.isti.cnr.it/Publications/2010/CADZS10/



Standard representation of molecular surface properties using color ramps and field lines (leftmost), the same properties drawn using complex shading techniques (center) and the electrical interaction of two proteins (rightmost), rendered on a Web Page by using SpiderGL and WebGL.


Molecular visualization Off-Line and On-Line


The solution of the 3D structure of myoglobin in 1958 by Kendrew [Kendrew et al. 1958] marked the beginning of the new era of protein structural biology. Since then, a large number of protein structures have been solved and today the Protein Data Bank counts over 60.000 entries [Berman et al. 2003]. With the availability of all these data and the advance of computer graphics technologies, many research groups have developed tools for the manipulation and visualization of 3D structures such as VMD [Humphreyet al. 1996], SPDBViewer [Guex and Peitsch 1997], Chimera [Pettersen et al. 2004] and PyMOL [Delano 2002]. Beside working on the atomic structure, most programs can nowadays also calculate surface features such as electrostatic potential (using, for example, tools like APBS [Baker et al. 2001] or DelPhi [Rocchia et al. 2002]) and hydropathy [Kyte and Doolittle 1982].

In addition to the many standalone visualization tools, there are also web viewers especially designed for molecular structures, such as Jmol [jmo 2002] and MDL Chime, which represent a simple way
to visualize molecules directly on browser. MDL Chime, used by the Protein Explorer website was gradually phased out in favor of Jmol, which is nowadays the most used plugin for molecular visualization, used by websites such as Proteopedia and RCSB PDB Protein Data Bank.
Following the advance of techniques for the generation of CG movies, in the last few years many different groups focused on the creation of animated movies depicting biological molecules and
cellular processes. The movies range from the simple representations of the mechanical functioning of a single protein, to complex events involving many subjects. These works are important scientific efforts and add to their educational value the bonus of rising interest in the general public to approach biology. Some of these examples are collected on websites [McGill 2010; SCIVIS 2005].

3D Content on Web



The Virtual Markup Modeling Language (VRML) [Raggett 1994] (then replaced by X3D [Don Brutzmann 2007]) was proposed as a text based format for specifying 3D scenes in terms of geometry and material properties and for the definition of basic user interaction. The format itself was a standard, but the rendering in the web browser was relaying on specific plugins. The Java Applets are probably the most used method to add dynamic content, not necessarily 3D, in the web browsers. The
philosophy of Java applets is that the URL to the applet and its data are put in the HTML page and then executed by the Java Virtual Machine, a third part component. The implementation of JVM
on all the operating systems made Java applets ubiquitous and the introduction of binding to OpenGL such as JOGL [JOG ] added control on the 3D graphics hardware. A similar idea lies behind the
ActiveX [Microsoft Corporation 1996] technology, developed by Microsoft from 1996. Unlike Java Applets, ActiveX controls are not bytecode but dynamic linked Windows libraries which share
the same memory space as the calling process (i.e. the browser), and so much faster to execute. These technologies enable the incorporation of 3D graphics in a web page but they all do it by handling
a special element of the page itself with a third party component.


WebGL [Group 2009b] is an API specification produced by the Khronos group [Group 2009a] and, as the name suggests, defines the JavaScript analogous of the OpenGL API for C++. WebGL
closely matches OpenGLjES 2.0 and, extremely important, uses GLSL as the language for shader programs, which means that the shader core of existent applications can be reused for their
JavaScript/WebGL version. Since WebGL is a specification, it is up to the web browsers developer to implement it. At the time of this writing, WebGL is supported in the nightly build versions of the most used web browsers (Firefox, Chrome, Safari), and a number of JavaScript libraries are being developed to provide higher level functionalities to create 3D graphics applications. For example WebGLU [DeLillo 2009], which is the WebGL correspondent of GLU [OpenGL ARB ], provides wrappings for placing the camera in the scene or for creating simple geometric primitives, other libraries such as GLGE [Brunt 2010] or SceneJS [Kay 2009] uses WebGL for implementing a scene graph based rendering and animation engines.

Implementation spiderGL


Looking at a webpage with dynamic SpiderGL content, it is possible to see that all of the page logic is defined in the scripting part of the HEAD section, while on the BODY section there is just the page
structure and the interface elements that will be used for user interaction (like buttons, text areas and other controls). Among these elements, the most important is an html canvas object, that is the place where the WebGL layer does the on-screen rendering. ("< " are transformed : "[")

[canvas id="SGL_CANVAS" style="border: 1px solid gray"  width="900" height="600"][/canvas]



This canvas is registered as the output area at the end of the scripting; a specific function connects the various events of the canvas to a script object.


v a r  glMolViewer = new SpiderGLMolViewer ( ) ;
sglRegisterCanvas("SGL_CANVAS" , glMolViewer , 3 0 . 0 ) ;




The glMolViewer object is the main actor for the scene setup and rendering of our molecular visualization. The structure of this object employs the event handling subsystem provided by SpiderGL, which is inspired from the one used by the GLUT library [Kilgard ]. Each event coming from the canvas triggers a specific function with a given name and parameters; SpiderGL exploits the JavaScript language feature to give the possibility to dynamically add or remove listeners and redirect events. In this simple example, the only listener is the main object itself. (...)

This development process is straightforward for someone with an experience in graphical programming, while may prove to be difficult for users with a different background, like biology, physics or chemistry. This kind of setup is for sure more difficult to master with respect to setup of other existing platforms, like Jmol which, true to their nature, provide much simpler (but restrictive) access to their scene graph, with specific functions to import data and a series of predefined rendering modes. However, the gain in terms of flexibility and expressive power vastly compensate the initial steeper learning curve. Moreover, the learning of this technology is made easier by the possibility of initially use the higher level structures and functions implemented by SpiderGL to easily setup a basic visualization scheme and then start playing with lower level functions to obtain more complex effects. It is also important to note that most of the available JavaScript utility/UI libraries on the net may be used in conjunction with SpiderGL, adding more ready-made components to assemble a powerful, interactive, webpage.



3/ landscape refelction/refraction on a cup:

http://spidergl.org/example.php?id=12

This example uses how to use cube maps and spherical harmonics to render objects with a natural light effect. GOOD.

4/techno

SpiderGL: A JavaScript 3D Graphics Library for Next-Generation WWW


Monday, July 18, 2011

nativeclient - Native code for web apps

http://code.google.com/p/nativeclient/

Native Client is an open-source technology that allows you to build web applications that seamlessly execute native compiled code inside the browser.
This Google Code project is for maintaining the Native Client implementation, including compiler and browser support.
If you're writing a compiler, are interested in porting Native Client to a new browser, or are researching the security mechanisms underlying Native Client, you can find useful resources in this project.

The Native Client SDK provides a set of APIs, documentation, and examples to show you how to write a module in C or C++ and communicate between the module and the HTML and JavaScript code executing in the browser. The SDK also includes a toolchain with a customized GCC compiler and GNU make files, allowing you to generate code that runs in the Native Client sandbox.

example
This page lists a few simple web applications that use Native Client modules:
http://code.google.com/chrome/nativeclient/docs/examples.html
Tutorial
http://code.google.com/chrome/nativeclient/docs/tutorial.html

ALL services of Google's API (from APIs Console) and APIs Labs



http://code.google.com/
select in Developer Resources: APIs console.
--->17 APIs (Data@july 2011):
  1. Audit API
  2.  Books API
  3.  Buzz API
  4.  Custom Search API
  5.  Diacritize API
  6.  Google Storage
  7.  Identity Toolkit API
  8.  Latitude API
  9.  Moderator API
  10.  Page Speed Online API
  11.  Places API
  12.  Prediction API
  13.  Search API for Shopping
  14.  Site Verification API
  15.  Tasks API
  16.  Translate API
  17.  URL Shortener API
There are other Google Products (APIs) in Labs.
List of all available APIs:
code.google.com/labs/

----------------

7 new APIs:
http://googlecode.blogspot.com/2011/05/spring-cleaning-for-some-of-our-apis.html
Discovery Service
Tasks API
Books API
Pagespeed Online API
Places API (now generally available)-->see below
Prediction API (now generally available)-->see below


Fusion Tables API: Make beautiful interactive maps even faster with new additions to the Fusion Tables API
Google Fusion Tables lets you store, share, query and visualize data tables. It offers a REST API to run SQL-like queries to manage tables (create, delete), manage data rows (insert/update/delete), and query the table for all rows that match spatial or data conditions. The results of queries can be a .CSV or used in the Google Maps API or Google Chart Tools.
http://code.google.com/apis/fusiontables/
http://fusiontablesexperiments.blogspot.com/2009/10/intensity-map-of-renewable-freshwater.html
http://googleresearch.blogspot.com/2011/05/make-beautiful-interactive-maps-even.html
http://googleresearch.blogspot.com/2010/06/google-fusion-tables-celebrates-one.html

----------------

2011: These APIs are now deprecated but have no scheduled shutdown date: Code Search API, Diacritize API, Feedburner APIs, Finance API, Power Meter API, Sidewiki API, Wave API
These APIs will be shut down as per their deprecation policies: Blog Search API, Books Data API and Books JavaScript API (not the new API), Image Search API, News Search API, Patent Search API, Safe Browsing API (v1 only), Translate API, Transliterate API, Video Search API, Virtual Keyboard API

----------------
BUZZ API: Google Buzz provides developers with a powerful set of API endpoints for searching, reading, and updating post content and metadata.
----------------
Google Storage
Google Storage for Developers is a RESTful service for storing and accessing your data on Google's infrastructure. The service combines the performance and scalability of Google's cloud with advanced security and sharing capabilities. Highlights include:
Fast, scalable, highly available object store
  • All data replicated to multiple data centers
  • Read-your-writes data consistency
  • Objects can be terabytes in size, with resumable uploads and downloads, and range-GET support
  • Domain-scoped bucket namespace
Easy, flexible, authentication and sharing
  • OAuth 2.0 Authentication
  • Authenticated downloads from a web browser
  • Individual-, project-, and group-level access controls
In addition, Google Storage for Developers offers a web-based interface (https://code.google.com/apis/storage/docs/gsmanager.html) for managing your storage, an open source command line tool and library, and advanced features like resumable uploads and international storage functionality. 


Free Trial Usage:
Important: Google Storage for Developers requires billing information for all accounts before you can start using the service. 
Google Storage offers a free trial quota until December 31, 2011. This quota is only applicable to your first project that uses Google Storage and gives you free usage of resources within that project, up to:
  • 5 GB of storage
  • 25 GB of download data (20 GB to Americas, Europe, the Middle East and Africa; 5 GB to Asia-Pacific)
  • 25 GB of upload data (20 GB to Americas, Europe, the Middle East and Africa; 5 GB to Asia-Pacific)
  • 25,000 GET, HEAD requests
  • 2,500 PUT, POST, LIST* requests
The free quota will be reflected on your invoice at the end of the billing period. All usage above the trial quota will be charged at our standard rates below.


---------------------
The Google Identity Toolkit API lets you use open standards to verify a user's identity.
http://code.google.com/apis/identitytoolkit/

Google Identity Toolkit (GITkit) helps relying parties (RP) websites to support federated login easily. It provides several components to simplify the work required for RPs.
GITkit API and Service handles the details of the federated login protocols between RP and Identity Providers(IDP).
JavaScript Widgets for login and account signup can be embedded into your web pages easily.
GITkit Client libraries communicates with Google Identity Toolkit using GITkit API, and drives the UI flow of the JavaScript widgets. It can be integrated with your front end by some simple configuration and coding.
------------
The Google Latitude API lets websites and programs integrate with Google Latitude, enabling users to update and read their current location, their location history.
http://code.google.com/apis/latitude/
------------
The Prediction API enables you to make smart applications that respond to all the streams of data that flood through your apps by providing quick and easy access to Google's powerful machine learning algorithms.
http://code.google.com/apis/predict/
  • Recommendation systems (demo code)
  • Customer sentiment analysis (demo code)
  • Language identification
-------------
The Google Site Verification API lets applications automate the process of managing ownership records for websites and domains.
-------------
The Google Tasks API lets you manage your tasks and task lists.
------------
The Google Translate API lets websites and programs integrate with Google Translate programatically.
https://code.google.com/apis/language/translate/v2/getting_started.html
It's a deprecated version of the Google Translate API. Google will no longer support the API as of Dec 1, 2011.
http://googlecode.blogspot.com/2011/05/spring-cleaning-for-some-of-our-apis.html
------------

Friday, July 15, 2011

jsdo.it - Share JavaScript, HTML5 and CSS

http://jsdo.it/

jsdo.it launched in June 2010 and in less than a year it has surpassed 10,000 registered users, more than 18,000 codes submitted.

Signing up is super fast, you only need to decide your name:
Account: google, facebook, twitter, yahoo openId.

3 choices:
  • use JavaScript editor(default)
  • use JavaScript New editor (beta)
  • use HTML textarea editor

jsdo.it shares JavaScript, HTML5 and CSS.
Our site is engagement-driven. We offer both, vivid environment for developers to showcase their trendy works on JavaScript and HTML5, as well as community to share their codes and learn from each other. That's why we call our communtiy 'a coding avenue'.

Browser-based editor:
jsdo.it is a handy place to keep your codes, just like GitHub. The difference is, our platform is more oriented to visual works, leveraging the power of JavaScript, HTML5 and modern browser technologies.

Thursday, July 14, 2011

Less.js: LESS extends CSS with dynamic behavior.


LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions.
LESS runs on both the client-side (IE 6+, Webkit, Firefox) and server-side, with Node.js.

http://lesscss.org/

http://en.wikipedia.org/wiki/List_of_stylesheet_languages
http://en.wikipedia.org/wiki/LESS_(stylesheet_language)

prettify.js. a Javascript module; jsbeautifier.org. syntax highlighting of source code snippets in an html page.


http://code.google.com/p/google-code-prettify/
For an example, see the README: http://google-code-prettify.googlecode.com/svn/trunk/README.html

Download: http://code.google.com/p/google-code-prettify/downloads/list
chrome extension:
https://chrome.google.com/webstore/detail/piekbefgpgdecckjcpffhnacjflfoddg?hl=fr#

for other browsers: http://jsbeautifier.org/


Features:
  • Works on HTML pages
  • Works even if code contains embedded links, line numbers, etc.
  • Simple API : include some JS&CSS and add an onload handler.
  • Lightweights : small download and does not block page from loading while running.
  • Customizable styles via CSS.
    See the themes gallery (gallery of themes for code prettify):
    http://google-code-prettify.googlecode.com/svn/trunk/styles/index.html
  • Supports all C-like, Bash-like, and XML-like languages. No need to specify the language.
  • Extensible language handlers for other languages. You can specify the language.
  • Widely used with good cross-browser support. 
  • Powers code.google.com and stackoverflow.com

Wednesday, June 22, 2011

web2.0 services, How to post mathematics?: all-in-one for Mathematica and Matlab, subdomains Wolfram.com Mathworks.com

An analysis of mathworks.com subdomains with alexa @june 2011:
 http://blogs.mathworks.com
In this blog, you also can search in many "sub-directories":
The other subdomains are just internals.

Web Deployment of MATLAB is not good (i.e. no widgets):
http://www.mathworks.com/support/tech-notes/1600/1608.html
http://www.mathworks.com/matlabcentral/fileexchange/12689
http://www.mathworks.com/matlabcentral/fileexchange/29642-get-html-table-data-into-matlab-via-urlread-and-without-builtin-browser
MATLAB allows interfacing with programs written in other languages, including C, C++ and Java (and Fortran). MATLAB can be connected to Mathematica and vice-versa.

The web service"file Exchange" is correct:
http://www.mathworks.com/matlabcentral/fileexchange/
File Exchange is a place in the MATLAB Central community where users can find and share content related to MATLAB development. Find example code samples (.m), tutorials or videos to help you with your development tasks. You can:
  • Find files related to your programming interest
  • Comment on and rate files
  • Tag files
  • Build your reputation by contributing your own submissions
-------------------------------------------------------------------------------------------
Mathematica
http://www.wolfram.com/

An analysis of mathematica.com subdomains with alexa @june 2011:
Mathematica has many very good web services.
The best is : mathworld.wolfram.com
 MathWorld is considered not only the clearest and most readable online resource for mathematics, but also one of the most reliable.

 demonstrations.wolfram.com
7000demonstrations @ june 2011.
You need the free CDF player to use these demonstrations.

Once you install CDF Player, you'll be able to...
  • Interact with applications from the Wolfram Demonstrations Project
  • Explore interactive documents in your web browser
  • View Mathematica examples, reports, and files.
Computable Document Format (CDF): http://www.wolfram.com/cdf-player/
http://reference.wolfram.com/mathematica/howto/CreateAComputableDocumentFormatFile.html
 As a built-in feature of Mathematica 8, it's easy to save .cdf files straight from your working notebooks, custom-formatted papers and articles, or dedicated application development workflows. Anything you compute in Mathematica can be made into a user-interactive object offering maximum clarity in the presentation of your concepts, and there are no special considerations when creating documents just for viewing in Wolfram CDF Player; all notebook features can be displayed and printed.
Three platforms: windows, linux and mac.
For mac, you have to dowload CDFPlayer_8.0.1_OSX.dmg  = 165MB (version 8.0.1 @March 2011).
The install needs 600MB on your hard-disk!
It also contains the browser plug-in (firefox).

Rem. you do not need the CDF Player if you have Mathematica installed.  In fact, the
browser plugin will always prefer to execute content in Mathematica instead of
CDF Player if both are installed. CDF Player does have a separate user interface.  Installing it alongside Mathematica would allow you to use both, but the browser plugin would only use Mathematica. You can select which installation the browser plugin chooses, but the default behavior is to always go for the one that will give you more functionality.  CDF player can open a .nb file.  But if that .nb file contains Dynamic content, then it will not play that content.  Whereas it will play Dynamic content in CDF files, with certain limitations.

If you already have CDF Player/mathematica installed on Windows or Mac, test the browser plug-in.
-------------------

integrals.wolfram.com
is an example of webMathematica:

http://www.wolfram.com/products/webmathematica/
webMathematica 3 adds dynamic content to a website. Websites with interactive controls compute new results when parameters change. Graphics, including 3D images, can be rotated in the browser. It's all powered by Mathematica's computation and visualization capabilities and webMathematica's robust, automatic server deployment that scales for high traffic and works seamlessly with modern web standards and services. webMathematica 3 adds dynamic content to your website. Websites with sliders and other interactive controls compute new results when parameters change. Graphics, including 3D images, can be rotated in the browser. It's all powered by Mathematica's computation and visualization capabilities and webMathematica's robust, automatic server deployment that scales for high traffic and works seamlessly with modern web standards and services.
http://www.wolfram.com/products/webmathematica/technology/
http://www.wolfram.com/products/webmathematica/examples/


rt.wolfram.com

reference.wolfram.com
Learn how to use Mathematica with the definitive guide: 10,000 pages with
Mathematica functions and tutorials and more than 100,000 Mathematica examples:

 scienceworld.wolfram.com
Eric Weisstein's World of Science contains budding encyclopedias of astronomy, scientific biography, chemistry, and physics. It's a complement of mathworld:

blog.wolfram.com
 user.wolfram.com

Get access to the Wolfram User Portal
  • View your registered products
  • Download your products and upgrades
  • Access your Premier Service benefits
  • Manage your profile

Use the Wolfram ID. A Wolfram ID is an account that allows you to securely access various Wolfram websites and services.


library.wolfram.com
The Wolfram Library Archive is a collection of Mathematica-related materials that have been categorized for easy browsing and searching.

functions.wolfram.com

The Wolfram Functions Site was created as a resource for the educational, mathematical, and scientific communities. It contains the world's most encyclopedic collection of information about mathematical functions. The site also details the interrelationships between the special functions of mathematical physics and the elementary functions of mathematical analysis as well as the interrelationships between the functions in each group.

There are several unique aspects to the presentation of information on this site. The material is organized in a uniform way, thereby providing a summary of the current state of knowledge in the field of special functions.
  • All formulas are available not only in Mathematica StandardForm but also in MathML and ASCII form. 
  • Formulas in StandardForm enable their quick and easy usage from within Mathematica. 
  • MathML enables typeset mathematics to be displayed in web browsers and other programs that support it. 
  • ASCII form allows the information to be copied and manipulated in other programs that do not offer support for MathML.


tones.wolfram.com
this site uses webMathematica to discover unique musical patterns in the computational universe. With webMathematica as its backbone, WolframTones dynamically generates up to a month's worth of continuous music every minute, serving each composition from back-end to user in just three-hundredths of a second.

zmail.wolfram.com
zmail is a component of Zimbra Collaboration Suite (ZCS), a groupware product. VMware Zimbra is the leader in open source, next-generation email and collaboration software. Zimbra is simplifying information technology and setting the standard for web and cloud based collaboration with innovative user experiences, such as a rich AJAX web interface. The ZCS Web Client is a full-featured collaboration suite that supports email, group calendars and document sharing using an Ajax web interface that enables tool tips, drag-and-drop items, and right-click menus in the user interface.
http://www.zimbra.com/products/compare_products.html

Sunday, June 19, 2011

Javascript: Neon Lights Text II; a very simple "ex-ample"; un petit code javascript qui change la couleur d'un text.

See the left-sidebar of this blog:
allez voir la colonne de gauche de ce blog.

See also the source code of this frame,
blogger adds many HTML code for this HTML/TEXT iframe.
Rem: you cannot add a javascript in a post.
Vous pouvez aussi regarder le code source de ce cadre,
vous verrez les lignes de code HTML ajoutées par blogger.

You can see the code running :
clic right and select "inspect this element"
(google Chrome; developer )
Pour voir le code fonctionner en live
faire un clic droit sur ce texte puis
"proceder à l'inspection de l'élément" 
dans google chrome.




Copy the code (see the left-sidebar of this blog) and paste it!



Ref: http://www.dynamicdrive.com/dynamicindex10/neontext2.htm

Friday, June 17, 2011

Twitter: How To Connect and Revoke Third-Party Applications; Se Connecter aux Applications, Programmes et Services Tiers

How To Connect and Revoke Third-Party Applications
http://support.twitter.com/articles/76052-how-to-connect-and-revoke-third-party-applications


Se Connecter aux Applications Tierces:
http://support.twitter.com/articles/96224-se-connecter-aux-applications-tierces

MAKE YOUR OWN "Facebook APPLICATION" (FBML) or a J-Query Widget



-------------------------------two ex-amples :
http://www.allblogtools.com/tricks-and-hacks/exclusive-integrate-facebook-comments-box-for-blogger-in-very-easy-and-simple-steps-full-guide/


1) Generate your Facebook App ID.
use FBML, Facebook Markup Language, is considered to be Facebook's own version of HTML. While many of the tags of HTML can be used in FBML, there are also important tags that cannot be used use such as HTML, HEAD and BODY. Also, Javascript cannot be used with FBML.

According to Facebook Markup Language Developer's page, FBML is now deprecated. No new features will be added to FBML and developers are recommended to develop new applications utilizing HTML, JavaScript and CSS.


(Rem. in french: En abandonnant le langage propriétaire FBML, Facebook donne plus de liberté de programmation aux administrateurs des "pages"...
http://www.lemonde.fr/technologies/article/2011/03/11/facebook-dit-adieu-au-fbml-son-langage-maison_1491329_651865.html

2) Blogger "Follow Us" J-Query Widget:
http://www.allblogtools.com/tricks-and-hacks/blogger-follow-us-j-query-widget-social-icons/


-------------------------------documentation
Facebook also allows you to create your own applications and distribute them. The startup costs for developers are extremely low, and the potential is high.

To start add the developer application to your Facebook account. Then download the client library of your choice, open your favorite development environment, and you're ready to go.

After you've added the Developer Application and downloaded a client library, use these resources to learn more about building a Facebook application.




  • Platform Documentation








  • Anatomy of a Facebook App








  • Code Samples








  • Step-by-step Guide to Creating an Application
  • Embedding Data (digital watermarking) in Digital Images with matlab; download

    http://www.realworldengineering.org/index.php?page=project&project=490

    Download All Files  5.842 MB

    Background Lecture:Background Lecture (1.41 MB)
    Student Project Assignment:Student Project Assignment (26.115 KB)
    Faculty Project Description:Faculty Project Description (328.5 KB)
    Project Report Solution:Project Report Solution (937.785 KB)
    Summary Lecture:Summary Lecture (3.342 MB)
    Additional Project Materials:data_embedding_LSB.m (3.213 KB)
    Additional Project Materials:data_embedding_SWS.m (4.504 KB)
    Additional Project Materials:data_extraction_LSB.m (1.804 KB)
    Additional Project Materials:data_extraction_SWS.m (2.44 KB)
    Additional Project Materials:noise_generator.m (872 Bytes)

    Wednesday, June 15, 2011

    Comparison of 20 javaScript frameworks: jQuery is the most popular JavaScript library


    jQuery is a JavaScript library designed to simplify the client-side scripting of HTML. jQuery is the most popular JavaScript library in use today (used by over 43% of the 10,000 most visited sites).


    --------ABOUT BROWSER COMPATIBILITY

    http://docs.jquery.com/Browser_Compatibility

    -------USE:
    It can be included within a web page by linking to a local copy, or to one of the many copies available from public servers such as Google:
    load request: google.load("jquery", "1.6.1");
    path: https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js
    The Google Libraries API is a content distribution network and loading architecture for the open-source JavaScript libraries. Using thegoogle.load() method gives your application high speed and global access to the open-source JavaScript libraries.

    A basic introduction to jQuery and the concepts that you need to know to use it:
    http://docs.jquery.com/How_jQuery_Works

    -----Comparison of  20 javaScript frameworks:

    Ally
    Ample SDK
    DHTMLX
    Dojo
    Echo3
    Ext JS
    Google Web Toolkit
    jQuery
    midori
    MochiKit
    MooTools
    Prototype & script. aculo.us
    Pyjamas
    qooxdoo
    Rialto Toolkit
    Rico
    SmartClient & SmartGWT
    SweetDEV RIA
    YUI
    ZK
    -------list of google.load javascript libraries:

      google.load("dojo", "1.6.0");
      google.load("ext-core", "3.1.0");
      google.load("jquery", "1.6.1");
      google.load("jqueryui", "1.8.13");
      google.load("mootools", "1.3.2");
      google.load("prototype", "1.7.0.0");
      google.load("scriptaculous", "1.8.3");
      google.load("swfobject", "2.2");
      google.load("yui", "3.3.0");
      google.load("webfont", "1.0.19");

    Monday, June 13, 2011

    WebP, WebM


    logo webP: http://code.google.com/speed/webp/images/webplogo.png



    ----------------------------Intro 
    WebP is an image format for lossy compressed image files. The format was first announced in 2010 by google.
    WebP est un format d'image annoncé par Google en 2010 (comme nouveau mais en fait ce n'est qu'un composant du VP8).

    As a derivative of the video format VP8, it is a "sister project" to the multimedia format WebM.
    Il exploite un algorithme de compression avec pertes prédictif utilisé pour les images clés du VP8 qui est le codec vidéo du format WebM. 
    Pour les images telles les captures d'écran avec des grands aplats et des textes, un format de compression sans pertes comme le PNG est plus adapté.
    ----------------------------Compatibili: 
    The Google Chrome Frame plug-in for Internet Explorer and Opera 11.10.
    http://www.google.com/chromeframe

    All WebM-compatible browsers may also display WebP via a javascript shim:

    Google has released a plug-in for Microsoft Windows that enables WebP support in Microsoft Office 2010:
    For mac , use graphic converter (safari downloads webP file).

    Convert your favorite collection from PNG and JPEG to WebP by downloading the precompiled cwebp conversion tool for Linux, Windows or Mac OS X.

    Gmail and Picasa Web Albums (Google web applications) support WebP.
    ----------------------------Metadata 
    The RIFF container leads to an overhead of only 20 bytes and can hold additional metadata.
    Le fichier webp peut contenir jusqu'à 4 métadonnées supplémentaires (nom de l'auteur, titre de l'image, informations sur le droit d'auteur, commentaires).
    ----------------------------Bookmark 
    ----------------------------Use
    The Previews feature of Google Search currently uses WebP internally to reduce disk space.
    ----------------------------Criticism
    1) size: 
    WebP is bitstream-compatible with VP8 and uses 14 bits for width and height. 
    The maximum file size for WebP is 16383x16383 pixels.
    La taille maximale d'une image WebP est de 16 383 × 16 383 pixels, soit environ 260 mégapixels.
    This seems very limited given 25+MP cameras these days—and increasing.

    2) blur: 
    3) google?
    Faut-il craindre l'abus de position dès ce niveau?
    4)...