Fri, 31 Oct 2008

Firefox doesn't support align parameter in colgroup tags
  • Web Author (WA) : Hello, I think I found a bug in Firefox, my page shows correctly in IE, but not in Firefox.
  • Firefox Fanatic (FxF) : That's because IE is a crap, IE is a censored of censored. IE doesn't follow standards. First you should validate your webpage against standard.
  • WA : It also shows fine in Opera.
  • FxF : Opera is as crappy as IE. Opera sucks. Opera is censored. Try with Chrome to see. Chrome is opensource. Chrome could be almost as good as Firefox, if it wasn't Google.
  • WA : It doesn't show fine. Chrome renders it same as Firefox.
  • FxF : Okay. Validating your page with the tool at w3c site should fix it. Always follow standards, if you follow standards, your page will show the same on all standard-compliant browsers.
  • WA : Wait, my page validates perfectly. My page is XHTML 1.1 Strict compliant and also CSS2 compliant. But it isn't rendered correctly on Firefox. The cells in my table are always left-aligned, but I put <colgroup align="right">.
  • FxF : There should be something wrong in your code. Because, as you say, you don't see what you expect on Firefox and Chrome.
  • WA : My page follows standards.
  • FxF : So, the answer is that what you see in Firefox is what your page should be rendered if the other browsers also followed standards.
  • WA : How could I do to make my cells align to right, then, following standards?
  • FxF : Use <td class="alignright"> and in you CSS, .alignright { text-align: right;}
  • WA : My table has thousands of cells to be right-aligned. The colgroup was designed to avoid redundancy writing this parameter class="alignright".
  • FxF : It's the first time I heard of this weird tag named colgroup.
  • WA : Ah? that's why Firefox can't support it. By the way, look at bug #915 at bugzilla, reported on 1998-09-26 and still alive. This bug is 10 years old and still alive.

Further reading: Les dix ans d'un bug, Mozillazine: Lack of support for <col align="">.

posté le: 10:36 | path: /data/web | permalien

Wed, 29 Oct 2008

Malagasy Online Spell Checker.

Because I seem to be unable to write a blog post about this tool, I'll notify you of the existence of the Malagasy online spell checker in a telegraphic style.

Malagasy Online Spell Checker is an online spell checker that you can use for free. Just go to http://dotmg.net/spell/check, input the malagasy text you want to check into the textarea and click on the button you see. The software will respond back with the list of words that could be misspelled. It won't propose any correction yet. It doesn't have an exhaustive list of correct spellings, so maybe some of the words it says misspelled aren't really misspelled.

Malagasy Online Spell Checker is opensource, and is released under the terms of the GNU Affero General Public License, version 3 (or above). It is part of a larger project called tsipelina, and the project is available on tsipelina.sourceforge.net. Malagasy Online Spell Checker requires PHP and a webserver, as it is written in PHP. You may need a Subversion client to download the source if you want to.

posté le: 15:07 | path: /data/web | permalien

Tue, 17 Jun 2008

The 2nd browser war explodes

November 2004 to may 2008, the second war is being prepared

Since the release of Mozilla Firefox 1.0 in late 2004, and when Firefox got more than 10% of marketshare, the second browser war was announced. The simple term "Browser war" benefited the users in different ways.

  • Opera became totally free: being freeware was the only alternative for a web browser to stay in the race. Prior to version 8.5, unregistered versions showed ads banners. The developers needed to find financial resources elsewhere. The next step can be that it will be also opensource.
  • Safari was made available to Windows users. Almost every browser is now available on every platform.
  • Internet Explorer was constrained to follow standards, with the release of the version 7 and the forthcoming version 8, and a number of security holes were fixed.
  • Mozilla Firefox was constrained to constantly enhance its performance, especially in term of speed and memory usage.

But it seems like this war has reached its summum on the month of june 2008. If it hasn't yet really started, then june 2008 is its beginning, and if it has already begun, june 2008 is its hotest period, at least so far.

June 10th, Safari 4 seeded to developers

Safari 3.1.1 was announced to be the fastest web browser on any platform, as it loads pages up to 1.9 times faster than Internet Explorer 7 and up to 1.7 times faster than Firefox 2. Safari 4 increases again Javascript performance by 53%. Since Firefox is also about to release the version 3, more performant in term of speed, seeding Safari 4 to developers seems to be Apple's answer to maintain an aspect of the browser war: tha browser speed race. Arul N S says Safari 4's Javascript engine, Squirrelfish will be faster than SpiderMonkey, the Firefox 3's engine.

June 12th, Opera 9.5 released

Less than a week after that, and less than a week before Firefox 3 final is scheduled to be released, Opera releases the version 9.5, emphasizing on keywords web standards and speed and performance, again.

June 17th, the Download Day for Firefox 3 Final

Mozilla found the most exciting idea for the release of its Firefox 3. It's the Download Day 2008: the goal is to set a Guinness World Record for most software downloads in 24 hours. At the time of writing this post, 75 minutes before the hour H, (1.702.903) 1.721.775 pledged to download it during that day.

The final version of Internet Explorer 8 is expected at the end of the year

Internet Explorer 8 beta 2 will be released soon, probably between July 1st and September 30th. It could also be released during this month of june, who knows.

And the winner is ...

According to the w3schools statistics, the winner of the browser war is still ... Internet Explorer who had 54.8% of the marketshare in April 2008. Mozilla and Firefox get about 40%, Safari has only 2.2% and Opera 1.4%.

According to my stats, ie the visitors of my site, the result is a bit different: Mozilla and Firefox has 51.73%, Internet Explorer is at second position with 44.20%, Safari has 3% and Opera 1%.

One thing is sure, however: Mozilla's market share is constantly increasing, gaining more than the other browsers, and Internet Explorer is, on the other hand, constantly decreasing day after day.

To predict the future, I see Internet Explorer going under 30% in the next 12 months, Mozilla Firefox will grow up to 60%, Safari will get 10% or less, Opera will stay at 1%, unless it choose to go opensource.

posté le: 17:50 | path: /data/web | permalien

Tue, 25 Mar 2008

When Gmail deceives.

I used to say Gmail is great, Google apps rock, ... but today, Google has deceived me.

At work, the webmail tab of my browser never closes without my browser. In other words, I receive and send a lot of electronic mails every day, and most of my mails are urgent. The company where I'm working chose the simplest solution for mails: a free webmail service. So, I have a Gmail account as business coordinates.

Today, I got an error during about 6 hours, and the guys at Google call it Temporary Error (502). Temporary?

We're sorry, but your Gmail account is currently experiencing errors. You won't be able to use your account while these errors last, but don't worry, your account data and messages are safe. Our engineers are working to resolve this issue.

Please try accessing your account again in a few minutes.

Temporary? Actually, it lasted for 6 hours, and I don't know yet if it will be available again today. I hope my boss didn't send an urgent message to me. (If he did, I could be fired by not answering...).

posté le: 12:34 | path: /data/web | permalien

Tue, 05 Feb 2008

Au pays des cons, ...

Au pays des cons, les FAI sont rois.

Y a-t-il une place pour un nouveau FAI à Madagascar? Hier, mon épouse s'est plainte que la connexion chez où elle bosse, assurée par Blueline soit coupée tout le temps. C'est normal que ça ne va pas, ils n'ont même pas honte d'afficher Site en reconstruction sur la page d'accueil de leur site web alors que ce sont les pros dans le domaine.

Page d'accueil de Blueline, montrant site en reconstruction

De mon côté, cela fait un bail que j'essaie de me connecter au site ohloh et DTS me dit que le site ou le réseau est peut-être hors service. Le site n'est pas hors service car je peux le voir en utilisant des proxies ouverts. Essayez d'envoyer un mail de réclamation à DTS et ils vous répondront quand les poules auront des dents. Essayez de téléphoner, et le dynamique agent vous conseillera d'écrire un mail au service client.

Erreur de connexion du proxy de DTS au site ohloh.net

Ce problème semble affecter plusieurs sites aléatoirement, et la durée de ce blocage peut aller jusqu'à plusieurs mois. En effet, un blog auquel je voulais commenter utilisait le service de Haloscan. Pendant deux mois au moins, le fournisseur d'accès m'a jeté ce message d'erreur chaque fois que je tentais d'ajouter un commentaire. Heureusement que les sites affectés jusqu'à ce jour ne sont pas des sites sur lesquels nous travaillons quotidiennement, mais si jamais l'un des sites que nous devons impérativement utiliser soit bloqué, cela finira très mal pour quelqu'un.

Au pays des cons, les FAI sont rois.
posté le: 07:16 | path: /data/web | permalien

Thu, 24 Jan 2008

Tabs CodingGuidelines and Vim

vimrc settings

After almost 3 years using Vim as my preferred text editor, I continue to learn and to find tips and tricks I didn't see before. I imagine that to become really involved in any software and to really know most of its potentiality, one should become an active membre of its community, through forums, mailing lists, IRC ...

Today, I found out how to make tabulations visible, so, from now on, I can easily see if any source I'm editing isn't following our Coding Guidelines about whitespaces.

Here is the .vimrc settings:

  • set listchars=tab:.\ : listchars consists of a comma separated list of string settings. The string setting that interests me is tab, which consists of 2 characters to be used to show a tab. The first one is used once to mark the start of the space occupied by the tab, the second is repeated to fill the remaining spaces. Note that, here, my second character is not a backslash, but a space. It needed to be escaped, that's why you see a backslash character here. My tabs are now showing as a dot followed by spaces, so I can count the number of tabs by counting the number of dots.
  • hi SpecialKey guifg=#224488 guibg=#002266: But, I need to make a visual difference between a tab and any dots followed by blanks. For this purpose, I've added a special highlighting for the SpecialKey family, for them to have another background-color. (For this, I edited Vim71/colors/darkblue.vim, as darkblue is the only colorset I use.)
  • set list: This is the clue for showing tabs. Unfortunately, this option made one of my preferred vim setting inactive: the linebreak option which is not used when the list option is on, according to the documentation.

And here's how it sounds :
Screenshots of my Vim screen, distinguishing tabs

posté le: 13:16 | path: /data/web | permalien

Mon, 29 Oct 2007

Blosxom.

Et me voici en train de jouer avec blosxom.

J'ai essayé WordPress, et WordPress m'a vraiment plu, mais maintenant, je me tourne vers Blosxom pour plusieures raisons, qui sont, par ordre d'importance (décroissante) :

  • Un sang malgache dans blosxom, je suis malgache, et je pense que c'est un encouragement à tous les développeurs malgaches que d'utiliser un logiciel où il y a un malgache dans l'équipe de développement. Il y a de quoi être fier...
  • Mon ancien blog sous WordPress a complètement cramé: Oui, j'ai choisi un hoster un peu tordu, qui a déclaré faillite. Mes posts et mon installation de WordPress ont disparu avec cette société, et puisqu'il me faut recommencer depuis le début, autant je me sens libre d'essayer quelque chose de nouveau.
  • Et mon actuel hoster limite la taille de la base MySQL à 5Mo tout en offrant un espace disque de 1Go, alors, blosxom devient de facto la solution idéale.
  • Je n'ai jamais apprécié la fonctionnalité WYSIWYG sur WordPress. J'écrivais mes textes avec Vim car l'éditeur de texte riche de WordPress générait des balises que je ne voulais pas, et de toute façon, de tels éditeur ne générent pas non plus des paramètres qui sont importants pour la qualité de mes pages (comme hreflang, lang, ...) Maintenant, j'ai un accès ftp assez raisonnable, et le fait de transférer le contenu de mes textes vers le serveur par ftp m'enchante plutôt.

Après deux heures d'essai, je suis assez impressionné par blosxom, par sa simplicité. J'espère seulement qu'il ne soit pas trop simple pour qu'il y ait des fonctionnalités que j'aimerais avoir et qui ne sera possible qu'en modifiant un peu le coeur du programme. La fonctionnalité qui me vient à l'esprit actuellement est de pouvoir mettre un bon titre à chaque page lue. J'ai remarqué que le titre de la page reste toujours le même. J'ai déjà eu l'occasion d'expliquer en malgache l'importance de pouvoir mettre un bon titre sur une page web.

Polyglot était un plugin que j'aimais bien sous WordPress, je tenterai de chercher si il y a un plugin semblable pour blosxom (quoique je ne suis pas certain d'en trouver), mais je n'ai pas non plus le temps d'écrire le même texte en 3 langues différentes maintenant.

posté le: 07:37 | path: /data/web | permalien
Mars 2010
Dim Lun Mar Mer Jeu Ven Sam
 
     

Malagasy miray
About

DotMG's joblog

Work hard at whatever you do. (Ecc. 9. 10a. CEV)
Valid XHTML 1.0 Transitional   Valid CSS!   Powered by blosxom 2.0