graphical blog 2

Filed under: WebGL, 3d, animation, network, news, software developement

version en français
WebGL is a 3d API for the Web based on OpenGL library. This is a W3C (managing web standard organisation) standard. Already existings applications are already wonderfull and show that web will quickly allow a better interactivity on surf, Here, some examples and links:

* Nokia Maps3d, far better than google earth and open source, you juste have to click on ‘zoom’ on entitled cities or to zoom manually on them (Video if application doesn’t work on your computer).

* “3 dreams of Black” from Rome (and some other demos). Videoclip mixing 2d digital animation, realtime 3d, postprocessing and interactivity. During the clip, mouse allow to lightly move the camera. After the clip you can move around 3 worlds (find youself gates), focus area follow mouse cursor (there is a short depth of field). Clicking mouse button allow to modify wall and grounds.

*WebGL Chrome experiments. This website is a frequently updated set of WebGL fantastic abilities demonstrations, with lot of specific effects around the web.

* Planet WebGL A planet (RSS aggregator) of WebGL ressources. There are lot of examples, tutorials and libraries to develop WebGL applications and integration in web pages.

Au moment ou Adobe semble se tourner vers le HTML 5, Flash 64 bit Linux est enfin disponible en version beta (alpha depuis 2 ans), non seulement ça n’est plus la 10.1 qui était tantôt disponible, tantôt abandonné et indisponible, mais la 11.1 mais en plus elle est en beta et non plus en alpha.

J’ai testé ce matin, avec firefox 6.0b5. La série 6.0 beta que j’utilise et met à jour depuis la b1 est infiniment plus stable et moins gourmande que la 5.0, après un premier test de la 5.0 j’étais revenu en 4.0.1, mais la 6.0 résout les problèmes crées avec la série 5.0 (c’est aussi valable pour fennec 6.0, version adaptés au smartphones, mais existant aussi pour X11/x86). J’attends tout de même toujours impatiemment la série 7.0 qui va s’atteler à réduire l’empreinte mémoire et donc encore augmenter les performances.

Et quel étonnement, pour la première fois, je pouvais regarder des vidéos à travers flash en plein écran, ce n’est pas encore aussi fluide qu’avec le greffon FlashVideoReplacer qui court-circuite flash et l’envoie à votre lecteur vidéo favori, ça reste saccadé, mais ça devient un minimum utilisable. Ça passe d’1 image / seconde avec le CPU écroulé, à quelque chose qui à vue d’œil s’approche des 6 images / secondes avec un cpu resté suffisamment tranquille pour réagir au click sur la sortie du plein écran ;).

Autre nouveauté, Adobe semble avoir fait un effort du côté de KDE, il y a dans l’archive (qui n’a pas de répertoire de base attention en désarchivant) une bibliothèqye spécialisée pour kde, j’imagine que ce sont pour les navigateur comme Dolphin ou Rekonq :

/usr/lib/kde4/kcm_adobe_flash_player.so

Ca permet de jouer les vidéos Flash de façon moins fluide que Gnash/klash sous KDE.

La nouvelle version du plugin d’Adobe permet donc maintenant d’avoir quelque chose d’à peu près utilisable sur les sites n’étant pas encore géré par FlashVideoReplacer et comportant des vidéos, ou bien les sites qui ont eu la mauvaise idée de faire des interfaces interactives en Flash. Je ne dit pas ça pour les sites de jeux vidéo ou d’animation vectorielle, pour qui cela parait une bonne chose, mais pour les sites informatifs (information, constructeurs qui ont encore cette très mauvaise habitude, etc…), html 4 et maintenant 5 permettant de remplir tous les besoins en animations inutiles habituellement utilisées sur ces sites. C’est plutôt un avantage pour les constructeur qui peuvent ainsi cibler les gogos capable d’acheter un iPad-Ijail®©Inc. une fortune :D.

Le développement récent de Linux, notamment sur netbook et smartbook (netbook ARM) avec notamment l’initiative Linaro ou les netbook d’Asus livré à 200 € sous Ubuntu avec chose exceptionnelle 2Go de RAM (Windows Seven version de base refuse plus d’1Go, XP n’est plus vendu) et 350Go de disque dur. Mais aussi peut-être grâce au succès de Linux/Android sur les smartphones (actuellement passé OS n°1 avec 50 % des ventes, et 550.000 unités vendu par jour) poussant Adobe à faire plus d’effort dans le support du noyau Linux.

Ce billet existe également en Français
Translation, subtitling (and captioning) have a big help from the web.

Nowadays some tools appear, at least good enough for syncing translation efforts on the web, perhaps not so good, because of bug, and slow flash usage in some case, this is at least a good start for a quick and efficiency planet-communautary driven translation.

Transifex.net is a collaborative (and free as beer) tool, allowing to translate .po by team. .po are translation files automatically generated by gettext tool (a Gnu tool) with the goal to help to translate (free) softwares.

Open Subtitles is a well known international video subtitles database since several years.

UniversalSubtitles.org is another collaborative (and free as beer) tool, allowing to add subtitles and captions in any existing online video. There’s only one enforcement, the video must be, at worst in flash format (on Youtube, Vimeo, Dailymotion…) or at best in HTML-5 format (WebM, Ogg/Theora, or mp4/H264). The second option allow to edit on a low end computer (as mine) directly on the site, and with the better quality of those formats. The flash version is mostly unusable, at least you have a computer that use the power of the whole Fukushima plant melting power (at least 4 times Tchernobyl). I finaly use computer installed specialized softwares for subtitling, you can find some references on the FLOSS manual dedicated to vido subtitles. But the best solution was finally for me vi + mplayer.

Here is an example (I found this one searching something in chinese to translate) that some viewer couldn’t like :D, with Chinese, English and French subtitles. Sadly it was in Flash format, I worked hard (thankyou FlashVideoReplacer + vi + “mplayer -utf8 -sub *.srt *.mp4″). And as you see, you can integrate it in copy-pasting only 3 lignes of code. I don’t understand whyfor this is in flash, as I uploaded mp4 after the original flash, and some other HTML-5 content are in whole HTML-5 interface…

Flash version (subtitles not synced on my old computer) :

HTML-5 version (doesn’t work with cunjunction of my blog and my paranoid all-blocking browser :D, oops, it works, but is very slow because also in flash :( (syncing problem could be due to lack on timespace between subtitles forthis js, works perfectly in mplayer ?) :

* P2P DNS : .p2p
* Independant Certificat Authority : CAcert Debian, Ubuntu, etc… can install ca-certificates package (since 2009).
* P2P search engine (avoid NSA information gathering on you) : Seeks and Public Seeks nodes
* OpenStreetMap for cartography.
* BitCoin decentralized & p2p bank and virtual currency. “What is bitcoin?” animation

français english

The main problem of firefox is in it’s management of content and interfaces that are on the same thread. There is actually an internal work to separate interface and pages content, so if a page consume too much resources, the tab can be closed immediatly by clicking on the close cross button. For now if the content of a page consume too much ressources, the whole browser is sticked like a hudge stone that eat your system ressources. The secondary problem linked to the first is that you can’t know which tab use to much ressources, there is no ‘top’ like plugin or extention that allow to know this and avoir some site or bug report to them or firefox devs.

The big issues of ressources overloading on Firefox come with:
* animation/advertisement that consume lot of resources/cpu and is very tiring at reading page. I use AdBlockPlus to reduce this planet destructive wasted resources.
* .js scripts (performance issues are mostly resolved in firefox 4.0bx), NoScript block all of them and can be enable one by one, or can enable all but some you don’t want. you can accept/refuse some permanently or temporary etc… I generally block all, accept one by one temporarly but the site I go often, and permanently block advertisment and statistics dedicated sites (google-analytics, ad*.com…). Warning, I’m not sure but it seem that by default, it forbids web-fonts, don’t forgive to uncheck forbid @font-face in NoScript options.
* Flash content. (I’m using the flash beta 64bits from 2010/09/27 that is the best solution on 64 bits linux, and don’t suffer too much for that, at the condition I d’ont open 5 or more flash video at the same time (with help from flashblock).
* The add-on FlashVideoReplacer, allow to replace the crashing and slow flash player by your own binary player, by directly streaming the content. You can then choose the format and resolution of the video. Sadly, this only work on some of the most know video website (Youtube, Vimeo, Metacafe, Ustream and some other)
* Page itself, even with NoScript blocking js and flashblock some pages still collapse your system with firefox-3.6x, the baddest thing is that all the tabs are continuously in work, so all will consume ressources. To avoid too much ressources usage, you can use BarTab, that block at start all the old tabs but the last one, so you can use have your old tabs under hand but they will not collaps your system. Since Firefox 4 you don’t need anymore bartab, you can set the same behavior, by adding in about:config, a new integer string with the value of browser.sessionstore.max_concurrent_tabs to 0 (using right mouse button => new => integer)

UPDATE, installation of ff-4.0b

You can grab the beta releases from the ftp (public http too) from Mozilla.org :
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
or faster ftp :
ftp://releases.mozilla.org/pub/mozilla.org/firefox/releases/

For the beta release, simply go to the subdir 4.0bX/ (replace X by last beta >=9), choose your operating system (mine is linux-x86_64, but I hope, soon a linux-ARM), then your language version (fr, en or whatever you read).

Then download the tarball. For me, that’s here : ftp://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0b9/linux-x86_64/fr/firefox-4.0b9.tar.bz2.

I personnaly extract the tarball in /opt/ (after removing the previous symbolic link), rename firefox to firefox-4.0b9 (the release version) and make a new link firefox => firefox-4.0b9 during few weeks, until I find it’s more stable than previous one. After that delay I will remove the old one (firefox-4.0b8) :
rm firefox
tar xf firefox-4.0b9.tar.bz2
mv firefox firefox-4.0b9
ln -s firefox-4.0b9 firefox

Then if there wasn’t already one, I create an icon shortcut in the gnome bar, adding the following path for the application :
/opt/firefox/firefox

« Newer PostsOlder Posts »

Powered by WordPress

Switch to our mobile site