<Glazblog/>

" Il est meilleur d'être irresponsable et dans le vrai que responsable et dans l'erreur " -- Winston Churchill

home
Disruptive Innovations
No comment
inFoRmatique

January 2004

Saturday 31 January 2004

try Starbucks Paris, if you can...

Today, I was walking in Paris from Le Louvre museum to the Opera when I saw on the other side of the avenue THE Starbucks Of Paris. So I crossed the avenue... and discovered a 20 minutes queue! Many young american tourists, and a lot of parisians wanting to test (and taste) the place. Bah. Who needs Starbucks, I fixed the Nespresso machine at home :-)

Friday 30 January 2004

Anti-Darwinians strike again

Ahlalalala.... Such a shame. I know that the US are a country of contrasts but, seriously, having at the same time the largest number of Nobel prizes in the world and THAT is a shame. It's like seeing a US state deciding to set the value of pi to 4 by a law. You can't believe it happened. But it really did...

Reminds me of an israelian rabbi who told me the dinosaurs did not really exist. I asked why. His answer was marvelous: the fossiles are said to be millions of years old but the world is much younger that that so it's impossible. Better hear that than being deaf, I know...

The human brain is the result of a few billion years of "biological changes over time". With respect to that assertion, it really seems some people don't belong to the Human Kind.

Update: I made a very nice slip when I first posted this article. I wrote the US are "a country of contrats" instead of "a country of contrasts" of course. But both are true, right ?:-)

JUPPÉ OUT!!!!!!

18 mois de prison avec sursis et dix ans d'inéligibilité pour "prise illégale d'intérêt"!!!!

Oui oui oui oui!!!!! Rhâââââksébon rhââââksébon!!! Quand je pense que Chirac claironnait partout depuis un mois que "c'était arrangé". Visiblement certains juges commencent à en avoir marre d'être pris pour des cons; rappel, Juppé a récemment déclaré que ce n'était pas aux juges de décider de l'avenir des hommes politiques mais au peuple. La Justice, chez Juppé, c'est pour tout le monde sauf lui et ses collègues. Bah non.

Microsoft is network's Chicxulub

Excerpt from a Microsoft Support's document (through Tristan, BoingBoing and many others)

" The most effective step that you can take to help protect yourself from malicious hyperlinks is not to click them. Rather, type the URL of your intended destination in the address bar yourself. By manually typing the URL in the address bar, you can verify the information that Internet Explorer uses to access the destination Web site. To do so, type the URL in the Address bar, and then press ENTER. "

Could be funny if it was not so pitiful...

Nvu progress 20040130

An enhanced FTP site manager, now able to refresh the view, delete a file, create a new subdir and remove a dir.

Combles de la connerie et du monopole réunis

Je voulais vérifier si enfin un driver Linux était disponible pour la carte wifi TrueMobile 1300 de mon Dell Inspiron. Et je suis tombé là dessus :

" Does Dell ship Linux? if not, then why would you expect them to provide drivers? "

Voila. Un comble de la connerie, cette réponse. Le nombre de bécanes Dell que j'ai vu tourner en entreprise sous Linux n'est plus du niveau de l'erreur statistique epsilonesque! Vous vous en foutez peut-être mais ça moi m'a vraiment choqué. Tant que les utilisateurs penseront des crétineries comme ça, tant que le fournisseur se croira obligé par la puissance monopolistique de Microsoft de ne pas répondre au besoin de sa clientèle, il y aura un problème sérieux dans l'Informatique mondiale.

Citation de la journée d'hier, réservée aux initiés : " Microsoft, c'est le Chicxulub de l'informatique en réseau ".

Thursday 29 January 2004

Kevin Carmony on Mozilla and Nvu

Kevin Carmony is Lindows.com's President and COO. Excerpt from his recent interview by OSNews:

(...) we think Mozilla is a much superior product to IE. We'd rather invest in making Mozilla better than getting IE to run on Linux.

...

We have also spent tens of thousands of dollars as the sole sponsor and financier for Nvu, an ftp-integrated, ultra easy-to-use web authoring system, ala Dreamweaver and Frontpage. I've been running an alpha copy of Nvu on my computer and and it's an awesome program! Nvu will be offering downloads of the first beta release within the next few weeks. We're very proud and excited to see this project coming to life.

Chiffres ronds

Etonnant ce que l'approche des chiffres ronds, en âge, semble avoir comme effet sur les cerveaux. L'approche des 20 ans était pour la plupart d'entre nous dans l'excitation de la jeunesse, la folie des exams, le bonheur de l'amour et parfois les rudesses des premières emmerdes. Le cap des 30 ans a été surtout pour ma génération se dire qu'à vingt ans on se disait "j'aurais 30 ans en l'an 2000" et se rendre compte que bah voila on y est. L'approche des 40 ans à l'air de commencer à faire des ravages sur quelques physiques, et malheureusement quelques cerveaux... Etrange, l'horizon des 40 a l'air d'être un vrai mauvais cap à passer pour certain(e)s. Peut-être, comme l'a dit Lelouch il y a dejà plus de vingt ans, " (que l') on a l'impression quand on a atteint la quarantaine, qu'on n'a pas fait ce que l'on devait faire et qu'on n'a plus le temps de faire ce qu'on a à faire ".

Wednesday 28 January 2004

Opera plays it again with MSR; me too :-)

And that's my post number 100 on this new DotClear-powered weblog...

Remember the Small Screen Rendering hype generated by Opera's press release a while ago? I demonstrated a few hours later that it was not as revolutionary as some so-called journalists mentioned it. Hey, I even have made add-ons for Mozilla and Firebird!

Today, Opera plays it again! After SRR, MSR... Medium-Size Rendering. Hey, when is Opera going to release the SLACR (pronounce "slacker" of course) "Slightly-Larger-than-Actual-Common Rendering"... ;-)

So how do they do that? In my opinion, here is the whole thing.

First, you have to remember that Opera's layout engine knows how to zoom in and out. Its zoom algo is very nice and even Mozilla is behind them. So if they have the zoom feature, all what they have to do is find the zoom ratio. How do they find the zoom ratio?

Let's say the document is rendered on a 300px wide screen. If the "content" area of the document is wider than that, the browser is going to show an horizontal scrollbar. Let's give a look at all elements children of the body, compute the position of their top-right corner, and let's store the highest x coordinate for all those positions. That highest coordinate is more or less the width of your content area. In the case of the BBCi web site shown by Opera, that value is 773px, I made a bookmarklet to compute it automatically for any web page :-)

You can make a better algo looking at all block-level (from a CSS point of view) and/or positioned elements in the whole document even if it's more expensive...

So you have the content area width of 773px and you have 300px, your zoom factor is 38.81% :-D

They probably added a short hack to their browser to first resolve the styles without rendering, compute the zoom factor the way I mentioned above, apply that zoom factor and re-resolve with rendering.

Tuesday 27 January 2004

Why you should switch to Nvu

The document is still a draft, but I think it gives a quite good idea of what is Nvu and how it differs from Mozilla Composer. Comments highly welcome!

Update 20040128, noon : I modified the document's layout quite a bit, reload to see the new version...

That's our jargon, and it's pure Klingon to non-geeks

Really great excerpt from Belle de jour's blog:

" When people say the words 'RSS feed' I imagine a small crying child, or a particularly insistent guinea pig. I'm not sure what an RSS is, nor why it needs feeding (...) "

Monday 26 January 2004

Nvu progress 20040126

  • added file removal and directory creation commands to the ftp channel; added corresponding UI to the site manager. I am hitting an unexpected, though not hard, problem : the onStopRequest method of a listener on the ftp channel gets called only if we RETRieve something... But in the case of those new commands, we don't :-)
  • Nvu 0.1 binary release scheduled for this week. Stay tuned!

Update: repository tagged, tar and zip made.

Rappelez-vous, rappelez-lui, c'est important

Attention, les élections reviennent... Le gouvernement étant plus un repoussoir qu'autre chose, la gauche ne s'étant toujours pas remise de sa grande baffe de 2002, certains vont retrouver qu'Arlette Laguiller est sympatique et que Besancenot dit haut ce que les autres ne disent pas tout bas. Arlette, avec sa mobylette et ses harangues. Attention, ouvrez vos neurones, rappelez-vous, c'est la même Arlette qui a refusé d'appeler à faire barrage au FN pour les élections présidentielles, qui a refusé d'affirmer - et cela ne lui coûtait pas très cher - qu'un Chirac est quand même moins dangereux qu'un Le Pen. C'est sa secte, et je pèse parfaitement l'usage de ce mot, qui a voté avec le FN contre la majorité dans un conseil régional du Nord. Rappelez-vous... Et rappelez-le à Krivine qui fait les marchés avec Arlette en ce moment. Rappelez-vous bien, l'extrême-droite, c'est l'horreur; mais l'extrême-gauche, ça ne l'est pas moins, ni les trotskistes, ni les maoïstes, ni les autres.

En résumé, mieux vaut voter pour un con ou pour un escroc que pour un facho ou ne pas voter.

Sunday 25 January 2004

Unordered, like always

  • Disruptive Innovations is now negociating a second important contract with a very big name:-) Dunno if it'll work but if it does, wow...
  • Someone asked me to define myself with one "I like" and one "I don't like" : I like to say what I think, I don't like to say what I don't think. What about you ?
  • Paris and the whole region should wake up tomorrow morning with a lot of snow... And it could snow for three days. That will be a mess, I'm telling you.
  • I just read that finnish television is gaining more and more market share in Estonia. I wonder if it is going to have an impact on the estonian language, reducing the gap with finnish. By the way, I just found a grammar book of the livian language, I need more free time to read it...
  • I wrote it at least twice, so I am adding a strong emphasis today because I am fed up with repeating it : yes, we plan to contribute back all Nvu's code to Mozilla.org. All the code will be tri-licence anyway; if we don't do it, you can do it :-)
  • So the last fashion is Orkut. Tantek invited me there. Twenty minutes later, I was invited again by a lot of ex-netscapers. More emails ? I have to admit Orkut's well designed. But this is not a disruptive innovation. A disruptive but smart way of managing communities would be a community add-on to my mail user agent. Imagine that you could add Orkut to Thunderbird just like any NNTP server; subscrive to communities just like subscribing to newgroups; list people as friends just like you maintain your address book; send a message to a community well just sending an email! Get notifications when new members join a community just the way we show that a newsgroup has new articles. And so on. That would be cool. Cool AND disruptive.
  • Laurent has written a remarkable history of the early days of the Mac. Check it out if you can read french, or babelfish it if you can't.

Isaac Newton, Mick Jagger, Tim Berners-Lee... and Bill Gates

Well, this just proves what we all know about the British Empire, right?

Friday 23 January 2004

Microsoft is not micro-soft

Down under, Microsoft is not exactly what you think it is...

Abbreviations in Microsoft Internet Explorer!!!

Last week, Dean Edwards was the man of the week. People, Dean Edwards makes it again. And he makes it again quite easily and impressively I must say. Dean has just found a very very VERY nice way of making abbreviation ABBR elements work consistently in Mozilla, MSIE and Opera. Check it out, it is so simple and so nice : without JavaScript, without any additional tag, without additional XBL or HTC. Beautiful.

Thursday 22 January 2004

This is not Flash

No, this is not Flash. But you need a decent JS+CSS browser to view it correctly. I tried only Gecko-based browsers. As expected, MSIE sux. I did not try MacIE since I have no mac here.

I did that in a few minutes after visiting a web site showing exactly the same effect in Flash...

Update: the original upload missed a background image, please reload to really see the effects

(Obituary) La tactique tic-tac du Ticky, telle quelle

Ticky Holgado est mort. Et merde.

LEN for english readers

A lot of you asked me what is the banner on my blog's home page about... Our national padawan has a remarkable summary in english about what is LEN and why we complain I hope that helps.

Wednesday 21 January 2004

Bureaucratismal

Pour qualifier ce qui vient de m'arriver aujourd'hui, il fallait bien un néologisme. Et la catégorie "Franchouillardises" de ce blog n'a jamais aussi bien mérité son nom...

L'ACCRE, vous connaissez ? L'aide aux Chômeurs Créateurs ou Repreneurs d'Entreprise. C'est un système permettant aux chômeurs, indemnisables ou indemnisés, qui créent ou reprennent une boîte d'avoir un exonération importante de leurs charges sociales. Licencié par Netscape en Juillet dernier, j'ai dit non à quelques offres d'emploi pourtant bien intéressantes (dont celle de Stéfane que je salue) pour monter Disruptive Innovations.

La boîte marche, je bosse sérieusement. En trois mois d'activité, un très gros client. Je prospecte pour la suite et continue à faire du développement interne. Côté finances, tout va bien, on suit à la lettre ce que j'avais prévu. Si de nouveaux contrats tombent, j'embauche. Et du ultra-qualifié, j'aime autant vous le dire, pas le genre qu'on croise à tout les coins de rues en France. Bon. Naïvement, je pensais donc remplir toutes les conditions pour l'ACCRE; un cas d'école même. La boîte capitalise bien, prévoit sa croissance organique, n'a pas besoin de capitaux-risqueurs pour l'instant, pense embaucher. Le tout en 3 mois.

Eh bah non. La Direction Département de l'Emploi des Yvelines m'a avisé par un courrier vachement sympa (genre, z'avez dix jours espèce de flemmard!) que je devais fournir factures et bordereaux d'encaissement pour UN SECOND CLIENT sous dix jours. Au cas où que ce serait de l'emploi déguisé vous comprenez. Et puis un seul client, c'est pas très sûr ça monsieur. Euh, certes, mais vous êtes là pour soutenir les entreprises en création dans leur prise de risque ou faire un cadeau à celles qui n'en ont pas besoin tellement elles dépotent ?

Moi, je trouve ça bureaucratismal.

Voila. A en pleurer. Un sommet de l'Administration Française. A en émigrer en Belgique, voir si mon oncle bruxellois a raison de se foutre de la gueule des Français (en l'occurence Arthur, tu as bien raison). En cas de refus définitif pour l'ACCRE, je vous donne ma parole d'honneur de polytechnicien (et cela a pour moi suffisemment de valeur pour que je ne la donne que très rarement) que je fais une lettre ouverte aux Ministres concernés et que je publierai cela ici in extenso.

Total chaos ahead

It's not for today but it's coming. Be ready for the day Bugzilla is cleaner AND a total chaos.

Si vous avez quelqu'un à insulter...

...faites-le avec des insultes grandioses, automatiques, et de la Belle Province. Mesdames et Messieurs, l'Insultatruc!!! (cliquer sur le bouton "Insultes" sur le côté droit)

Templates in Composer/Nvu

Unordered thoughts:

  • User can select "New Template" menu
  • User can select "New Page from Template" menu
  • Templates are made of two files
    1. a text/html file defining the template itself
    2. an RDF file to establish a consistent link from the template to all the files using the templates (the reverse link is trivial)
  • Two possibilities for template file extension
    1. use .htm/.html:
      • when a file is loaded by Composer, check if the document defines a template. If it does, propose to
        1. edit the template
        2. or create a new document based on that template
      • if it's a file attached to a template, apply the UA "template" stylesheet and switch to "doc based on template" mode
    2. something else ; but we still have to associate it to text/html for obvious reasons
  • Saving document should offer the option to "detach" the document from its template if the document is based on a template; "detach from template" operation cannot be undone.
  • When editing a template, the user can declare the selection
    • content-editable: user can modify the contents of the selection but can't modify the attributes/styles of the future (or existing) selection's container
    • attribute-editable: user can modify the attributes/styles of the future (or existing) selection's container but not its contents
    • all-editable: user can modify contents and attributes/styles of the future (or existing) selection's container
  • When declaring a selection editable, the user must give an ID to that selection. That ID will be shown to the user while editing documents based on the template.
  • "Source view" is disabled when editing a document attached to a template
  • Portions of a template not explicitely set editable by the mechanism just above will not be modifyable in any way in the documents based on that template
  • When a template is modified and saved, the user should be provided with the possibility to update all documents based on that template (that's where the RDF file mentioned above is useful...)
  • I don't really like the format of Dreamweaver's templates. Everything is based on paired comments, which is cool since comments are not intrusive, but, for instance, I hate having to place the title element between two comments to say the user can modify it! On the other hand, it allows to declare editable portions of #PCDATA for instance, and that is very cool. I have a nicer solution in mind to allow making a portion of #PCDATA editable and making an element editable with one extra node only.

Comments highly welcome...

Validity

Nah, it's not about standards... It about health.

  • Gabriel, 2 years, is sick
  • Michel, 5 years, is sick
  • Marguerite, nanny for the two above, is sick at home
  • Maria, my wife, is sick
  • Daniel is not sick (for once, says the devil inside...)

Guess who's at home on daddy duty...

Tuesday 20 January 2004

Nvu progress 20040120

TEMPLATES !!!!!!!! Now !!! :-D

There is still a lot to do, but this screenshot gives a quite good idea of what I have now in Nvu, I guess...

templates in Nvu

In the name of his name

From time to time, when a big company stupidly sues a small one or even an individual, the result is totally counter-productive. Even if the big company wins, the loss of image is so important that the global thing is a failure. We've seen so many examples of those trials during the last eight years. But that one deserves an award:

Mike Rowe, web designer. 17 years old. MikeRoweSoft. That's funny :-) He is a kid. Now, is there any risk a Microsoft customer types mikerowesoft.com instead of microsoft.com? Clearly no. Is there any risk Mike Rowe builds a 50,000+ employees company competing with Microsoft in the forthcoming years? I think we can safely say the risk is minimal. Is there any risk for Microsoft if it sues the kid for trademark infringement? Oh, sure, Microsoft will be again the evil empire, suing a kid for an harmless joke. And after all, it's really his name. So now, how much does the group of canadian lawyers hired by MSFT cost for that legal action? Corollary, is it worth the money? Clearly, too much and no.

Think I am exagerating? That a company must protect its name regardless of the side-effects? Well, read this article on CNN.com. The tone is quite negative about MSFT, and it's presented as David vs. Goliath. And it's nothing compared to other news reports; a lot of them laugh at Microsoft for doing that.

And what about MirkoSoft.com by the way? And MikkoSoft.com, Miclooft.com or even Mictosoft.com, with 'r' and 't' being so close on our keyboards...

That's just totally ridiculous, and Microsoft is again increasing its bad image. Well done folks.

Monday 19 January 2004

Nvu progress 20040119

I have fixed the major bug related to tab-switching : some commands were applying to the last created tab, not the current one. I had to update the command controllers. On Seamonkey's side, I need this to go into the trunk.

#mozilla fun

topic for #mozilla is
<emose> je suis souteneur du mouton
<smontagu> je suis chèvre
<pch> bien, on va pouvoir vous marier!'

Sunday 18 January 2004

Film industry shooting itself in the foot

...when it deals with DVDs:

And they wonder why people illegally copy and distribute music and films?

Merde au Monde, encore une fois

J'ai failli racheter Le Monde hier. Je veux dire en dehors du vendredi où je l'achète presque uniquement pour le supplément télé-radio. Donc samedi 18 janvier, je reviens de la quincaillerie où j'ai acheté du fil de fer pour nettoyer le corps de chauffe de ma machine à expresso (cf. infra). Je passe devant la librairie et tiens j'ai envie d'acheter quelque chose à lire. Bon allez, Le Monde... Voui mais aujourd'hui c'est deux euros. Ah, et pourquoi donc ? Ah bah y'a un supplément du week-end maintenant hein, et puis c'est deux euros ce samedi mais le prix normal du samedi ce sera deux euros cinquante. Euh oui mais j'en veux pas là du supplément. Le Monde édition normale y'en a pas ? Ah non, y'a que ça.

Bon, tant pis pour Le Monde. J'aime pas les ventes forcées.

Ah, au fait, la dépêche AFP parle de grand succès chez les lecteurs... Si j'en juge à la pile d'invendus à 19h00 chez le libraire du coin qui d'habitude vend tout en deux heures, c'est au contraire un flop assez net...

Update: apparemment, j'ai bien fait:

" La maquette du nouveau supplément est à chier, les approches des titres à hurler. Pas envie de le lire. "

Saturday 17 January 2004

Source of the XBL wrapper for Internet Explorer's HTCs

The source of the XBL wrapper for MSIE HTCs is now available; check it out, this is very cool. Thanks Dean.

Michèle Alliot-Marie

Michèle Alliot-Marie is our Secretary of Defense and the mayor of a town in the Basque country called Saint-Jean de Luz (Donibane Lohizune in Euskarra). She's also a french politician. I mean that, just like most of the other politicians, she considers the french citizens as a uniform mass of proteins without neurons. Visting Rumsfeld at the Pentagone, she said to the french media that the cooperation between US and France is back to normal and bla bla bla. At the same time, Richard Perle, who is not the fifth wheel of Bush's team, releases a new book deeply, violently anti-French. Hey Michèle, we know that "when the heels snap, the brains stop thinking" (quote from Clémenceau). But we're not militars (nom de Zeus, planquer cette chemise F1, vite!).

Tristan, vainqueur dans la catégorie Altavista

Alors que Google nous montre qu'il n'est pas fiable (ce qui, après tout, était le but de la manoeuvre...), Tristan assure comme une bête sur Altavista! Allez, encore un verre d'Irouleguy pour oublier mon échec ;-)

Update: woaaaaahhh; Tristan premier, Tristan détrôné, Google réveillé. Je vous mets tous minables sur Google :-)

Krups vs. Zithromax

One my resolutions for 2004 was "fix the espresso machine or buy a new one". Yes, the Nespresso one. Netscape France people know about that one, right? It's fixed. But Krups did not help... Customer Service proposed to repair it for a price almost equivalent to the cost of a brand new one! Nespresso customer service was very polite but explained me that the machine was just a little bit older than 5 years. So what? Is a so expensive espresso machine supposed to die suddenly after 5 years if it's used once or twice a day?!? So I wanted to fix it myself. Hum, oh, the screws on the back are very special. No sorry, you can't buy a screwdriver for those screws. Ok, where's my Dremel? Let's get rid of those screws totally, I'll replace them with normal screws later. Ok, this is the water pump; works fine; this is the main part, and, yes, it's blocked. I removed it and tried to clean it, but it was impossible. Even with a long metal thread, it did not work. Hum. Wait, let's try to inject an acid to destroy the fur... Last time my son Gabriel was sick, he had to take an antibiotic called Zithromax, based on Azithromycine. It comes with a syringe (to measure precisely the dose depending on the weight of the child) and that syringe fits EXACTLY into my espresso heater. When I mean exactly, I mean that when I inject some liquid into the heater, everything goes really inside, and the pressure does not push back outside the liquid... Yay. After 30 seconds, the fur is gone.

Conclusion: Krups 150 euros. Zythromax syringe 0 euros, thanks to the french social security system. If you want to fix your Nespresso machine, find a 2 years old kid needing Zithromax :-)

PS: You don't need a Dremel. The special screws can also be removed with small flat pliers. That's harder and slower, but it works.

Friday 16 January 2004

Rue des petites perles

J'ai déjà vu des titres mieux rédigés et également mieux relus avant publication:

" En Thaïlande, une accusation accuse l'Etat d'avoir menti sur le mal dont meurent les volailles "

Update: Libé a corrigé le titre depuis...

Nvu progress 20040116

  • The Borders toolbar button is in and works as expected.

    new borders button

  • Private demo; super-success :-)

update: just found a major bug related to do/undo/redo stack when a document is loaded in a new tab; working on it

Thursday 15 January 2004

En vrac

  • les parents d'enfants scolarisés à l'école maternelle Alsace de Saint-Germain en Laye (Yvelines), dont Maria et moi, viennent d'être notiifiés de l'élévation au niveau supérieur du plan Vigikigratte. Ce qui impose des restrictions supplémentaires sur les horaires d'ouverture des portes de l'école apparemment. Au cas où l'école maternelle Alsace de Saint-Germain en Laye (Yvelines) soit une cible privilégiée des hordes de Ben Laden, bien entendu... On va aussi du coup remettre les barrières devant l'entrée de l'école pour enfants handicapés de la rue d'à côté, qui est elle aussi une future cible d'importance. Attendez, la petite vieille avec sa canne et son Rolser pliant là, ça serait pas une terroriste infiltrée? SI, si, elle a des bouillons Kub dans son caba; c'est pas humain ces trucs-là! Vite, Sarko, au secours!
  • s'il y a une chose que j'ai toujours détesté dans Usenet, c'est l'extrêmisme de ses Gardiens du Temple. Usenet n'a aucune souplesse, et les imbus de followup-to y sont malheureusement légion. Quand je modérais fr.emplois avec Vincent, on essayait tellement d'être souples qu'il nous arrivait souvent de corriger les annonces pour les émetteurs. On a passés des annonces totalement hors charte parce qu'on les jugeait importantes. On essayait juste d'aider des demandeurs d'emploi, en évitant de pêter plus haut que ce que vous savez. On ne se fachait que face aux menaces et aux insultes, ou presque. Je commence à croire qu'il est urgent d'inventer le successeur de Usenet uniquement à cause des débordements de connerie. Personnellement, si c'était réaliste, je serais libertaire. Mais ça ne l'est pas. Et Usenet en est une forme de démonstration. Ca marche, mais c'est le souk total, et c'est plein de petits chefs. Je le dis comme je le pense, en vrac et texto. Z'êtes pas content? C'est votre droit; c'est le mien aussi. Je sui fatigué mais lucide. Et Usenet me plait de moins en moins.
  • certains semblent ne pas aimer les propos concernant le député liberticide. Bon. Qu'en pense Google?
  • j'essayais de calculer les coûts de communications hebdomadaires du W3C et de ses membres pour l'ensemble des conférences téléphoniques d'une heure ou plus qui ont lieu chaque semaine et je me disais qu'il serait très vite rentabilisé de mettre en place une grosse passerelle SIP/VoIP/RTC et demander à chaque membre d'utiliser un SIP-phone au lieu d'un téléphone. Les comms seraient alors gratuites, la passerelle agirait sur des numéros téléphoniques locaux US gratuits, l'amortissement serait certainement très rapide.
  • il parait que des polonaises en prennent tous les jours au petit déjeuner. Je peux goûter?
  • courses atronomiques blafardes, au Palomar j'arrive.

iTunes and nVidia transparency #2

I already reported here that iTunes on WinXP turns off nVidia window transparency. This affects a lot of Dell laptops (many Inspirons, Precision M60), Samsung X10, ... I just found a way of restoring it : type ctrl-alt-del and open the task manager. Then close the task manager. Done, window transparency is back and the nVidia manager says the app that turned it off it closed! Don't ask me why...

BTW, this is really a crazy world: EOLAS just won... Everybody in the tech world knows they should not win but they won.

Flat documents and CSS 3 Indirect Adjacent Combinator

David Baron just checked in support for the CSS 3 ~ indirect adjacent combinator. This new combinator can help styling documents using section headers without having to encapsulate all sections inside a div, and nest all sections. Here's how:

The key idea is using the cascade and rules of same specificity... If for instance, you want all the contents of level 1 sections to have a left margin of 1em, level 2 2em, and so on, but you want to keep all section headers aligned to the left border of the document, you'll write:

h1 ~ * { margin-left: 1em }
h2 ~ * { margin-left: 2em }
h3 ~ * { margin-left: 3em }
h4 ~ * { margin-left: 4em }
h5 ~ * { margin-left: 5em }
h6 ~ * { margin-left: 6em }
h1,h2,h3,h4,h5,h6 { margin-left: 0em }

All the selectors above (there are 12 selectors there) have exactly the same specificity. This implies that all h1..h6 will always have no left margin, and all other elements will have a margin depending on the deepest section header element being before them.

Right, but are there any constraints on my doc? Yes: your flat document needs to be really flat but still structured. All your h1...h6 need to be children of the same parent element, for instance the body element. You can append an H2...H6 to the parent element of all section headers if and only the last H* before that new Hn is Hn-1...H6. You can append an H1 to the the parent element of all section headers at any time. Example:

<body>
  <h1>1. foo</h1>
    <p>bla bla bla</p>
    <p>bla bla bla</p>
    <h2> 1.1. foo1</h2>
      <h3>1.1.1 bar</h3>
        <p>bla bla</p>
        <p>bla bla</p>
      <h3>1.1.2 bar</h3>
        <p>bla bla</p>
        <p>bla bla</p>
    <h2> 1.2. taz</h2>
      <h3>1.2.1 toz</h3>
        <p>bla bla</p>
        <p>bla bla</p>
      <h3>1.2.1 tuz</h3>
        <p>bla bla</p>
        <p>bla bla</p>
  <h1>2. protz</h1>
    <p>bla bla</p>
</body>

The style rules above are quite bad in terms of performance, but they can help render a flat almost-tag-soup doc in a nice way without having to rewrite it completely, and still in conformance with HTML4 and CSS3.

LEN #2

LEN : on écrit et vote la Loi d'abord, on la discute après; encore bravo.

Ah au fait, c'est un député liberticide. Je pense même qu'il est un député liberticide. Oui, s'il n'était pas député liberticide, Google le dirait pas qu'il est un député liberticide, hein? Bon, Google le dit peut-être pas encore qu'il est un député liberticide mais ça devrait pas tarder avec tout ça. En résumé, c'est un député liberticide.

An XBL wrapper for Internet Explorer's HTCs!!!

Dean Edwards is the man of the week. And he wins that award easily! He has made an XBL wrapper for Internet Explorer behavioral extensions (called HTC) for Mozilla!!! This means that all XML behavioral extensions to IE can now work in Mozilla! I don't think this works with binary HTCs though but this is still an impressive achievement. Check it out at http://dean.edwards.name/my/examples/moz-behaviors/, the boxes are movable through an HTC!

I reported a problem with Mozilla >= 1.6a (this was working with 1.5) and Dean fixed the problem in just a few hours. The JavaScript in the XBL is compressed for the moment but Dean let me know he will publish an uncompressed full version on his site in a few days.

Again, check it out! Woooozaaaaaa!

Wednesday 14 January 2004

Franco-french issue, sorry

J'avais initialement mis un gros "NON à la LEN" ici, mais j'ai préfére mettre en entrée de site, sur l'url http://glazman.org/weblog, un gros bandeau noir. Faites comme moi, et faites passer le message.

1 every 4 years

In 2000, the site of reference for US elections was Voter.com. Seems that in 2004, it's Meetup.com. Who's next?

Nvu progress 20040114

  • bug fixes, UI tweaking, CaScadeS, CSS properties

how to edit CSS props

Next thing on todo list : set up the CVS server :-)

Update, 5:17pm: CVS server up, running; now contains all my code; not public yet.

All praise David Baron!

Very cool changes into the Style Engine these days, thanks to David Baron:

  • bug 15608 resolved/fixed: adjacent combinator now supports dynamism!!! In other words selector h1 + p.foo will work if a p following a h1 suddenly acquires class "foo"! This opens a lot of new perspective in terms of stylesheets.
  • bug 135141, patch attached: implement the new CSS3's ~ indirect adjacent combinator!

WAHOOOOOOOOOO

Is this the world we created?

This article from Libération is a must-read, or a must-babelfish-it if you don't read French. I know Musharraf is dealing with a lot of problems, including the fact he is probably the last wall against a taliban-like Pakistan (no, sorry, I don't want to see the pakistanese nuclear weapons and missiles fall into talibans' hands) but what's the point having 3rd millenium technology if you let the people live in the Middle Age and let the men be wolves for the women.

By the way, the word taliban is based on the semitic root tlb, related to knowledge and learning. Literally, the taliban are the students, and the owners of the knowledge. How sadly ironic... Semitic roots are in most of the cases made of three consons and in some rarer cases two. I wonder if the tlb root is not an extension of an older tl root since another semitic language, Hebrew to name it, has the word Talmud. I need to open again Ruhlen's book to see if tl is meaning something in his reconstructed mother language.

Tuesday 13 January 2004

Eclat de rire vespéral

Je me remets à peine d'un éclat de rire massif, après avoir vu la nouvelle publicité télévisée Krisprolls dans laquelle le krisprolls qu'Ingmar essaye de manger sonne comme un téléphone mobile. Sa femme est au bout du fil bien sûr et dit son fameux "Ingmaaaaar...". Il replit alors le krisprolls en deux et le range dans sa poche. Après la marque, on voit Ingmar faire le con avec sa robe de chambre. Absolument hilarant, du loufoque comme je l'aime. Personne ne l'aurait enregistrée et digitalisée ?

Good ideas in MS Word

You have one dialog for let's say border properties. The user may use that dialog to draw a border around the containing block of the selection or the selection itself. But how can I make the difference between the two requests? MS Word has the solution: if the selection is collapsed, that's for the containing block; otherwise that's for the selection. Very cool.

XML and the Web

This post expresses an opinion that many people share, sometimes secretly because they belong to standardization instances where this opinion is considered to be a troll : XML misses an important point to become the lingua franca of the Web. Whatever the level of the "XML fever", our web sites are still in (x)HTML, and if they are internally XML-based, we don't see that XML.

Let me rephrase that : even if generic XML hit successfully the market of data exchange, it has not hit the Web yet despite of many years of existence, and will not make it unless a few basic stuff are added to XML. If those basic stuff are not added to XML, the Web will move from HTML to XHTML but we won't see other XML dialects on the Web (exception made of RSS and consorts).

styles

Come on, I am not speaking of XSL here. Just nobody uses XSL on the Web, and that fact is not subject to major changes in the coming months, thank Zeus. I am speaking of CSS. To apply CSS styles to an XML document today, the following choices are available (I am excluding protocol-based solutions):

  • Use a processing instruction to attach a CSS stylesheet to the document. Easy, reliable. Mucho mucho more complex to handle when you have to add dynamism to your document (movable objects, programmatically positionable elements, ...)
  • Use the XHTML style attribute declaring the XHTML namespace and using xhtml:style

Wait!!! All XML documents can do the latter? Sure, why do you ask? So the way of attaching inline CSS styles to an arbitrary element in XML implies XHTML knowledge? Yes, isn't it ironic that a generic XML browser would have to know about a specific XML dtd/schema to handle something as simple and useful as inline stylistic data?

In my opinion, this is not only ridiculous but also counter-productive. Inline styles are the only reliable way to do wysiwyg copy/paste of information between two documents without caring about the context. And in some cases where the context matters a lot, it's the only way. I think the style attribute should be extracted from the XHTML namespace and belong to the XML namespace, just like xml:id. That way, no need for browsing/printing/editing tools to have knowledge of XHTML to allow inline styles. Use it or don't use it in your documents if you want, for instance adding to your XML dialect's specification a profile where the XML style attribute cannot be used, but let it be available to anyone without knowledge of XHTML.

Then we hit the problem of embedded stylesheets. Embedded stylesheets are the stylesheets your can find inserted into a style element in HTML documents. You can't embed stylesheets into a generic XML instance. Hell, again, why? Embedded stylesheets are extremely useful on the web. A lot of super-useful bookmarklets use them. A lot of dynamic sites use them. Correction, a lot of dynamic HTML documents use them.

The xml-stylesheet processing instruction should be extended to allow embedding of CSS stylesheets (that's a proposal originally made, again, by Ian Hickson I think).

classes

Are you a CSS author? I mean, do you have enough basic knowledge of HTML and CSS to know what is a class? If you have, you can skip the rest of this paragraph. The class attribute is an attribute available to almost all HTML elements. It contains a list of white-space separated keywords that can be used by CSS stylesheets to specify the styles that should be applied to an element. If for instance the rule p.foo { color: red; } applies to an HTML document, all paragraphs in that document having their class attribute containing the value "foo" (I say containing because the attribute can contain more than one keyword) will use the color "red" for their text/foreground color. But the paragraphs having no class attribute or not having "foo" contained in the class attribute will NOT use that color. See how it is useful?

So can you believe classes don't exist in XML? Right. CSS has the notion of class selector (see paragraph above for an example). CSS class selectors were designed in a way so that CSS authors do not need to know the name of the class attribute in the document the styles apply to. The XML dialect should provide that information. The XML dialect? Wait!!! So what about well-formed documents? Hum, oh, argl. What about xhtml:class?

Or what about fallbacking to [mynamespace:myclassattr~="foo"]? Yes, why not? Wait!!! If I do that, I can't make a generic stylesheet applying a given class to all my XML dialects without knowing the name of the class attribute in each and every dialect of my collection! Why do I have to use a steamroller to kill that insect? Why can't I just write .foo { ... } ? Why xml:id and not xml:class?

Come on again. Is that too hard to understand how valuable is xml:class? Is putting the class attribute into the xml namespace too expensive in terms of namespace usage? Of course not. But the problem still stands, and there is no valid reason why. The class attribute should be in the XML namespace. Corollary, why does it take seven years to solve such a problem...

links

What a joke... But a sad joke. A foundation of the Web is HYPERLINKS. And super-simple hyperlinks. Now, take a look at the available mechanisms to make an hyperlink in XML:

  • XLink: I'll let others express my own opinion... This is so unusable that the HTML Working Group has kept anchors and links in XHTML 2.0. They even have another proposal called HLink!
  • XHTML namespace, again and again...

Hmm, that impression of déjà vu... Why can't we have the super-simple xml:href, xml:rel and xml:rev on all elements of all XML dialects? To turn any element into the source of an hyperlink? Yes, that's that simple to do, and XHTML 2.0 proved it.

scripts

Aaaaah, scripts. The Web would not be without scripts. And those who believe the contrary are even more fanatics than the ones I mentioned just above. The Web relies on scripts just everywhere. Right, it relies on scripts everywhere because we failed specifying declarative ways of doing what scripts achieve programmatically. But scripts are so powerful that I doubt it's possible to do all what they do declaratively.

Anyway, declarative replacements for scripting are not available today so let's deal with what we have now. The question is simple : can I use scripts in relationship with a generic XML document?. The answer is no less simple: no.

What?!? Wait, so what's the point having that superb DOM if it can only be used by chrome? And, and, and... Yes. I know. Why do you think XUL has the script element?

Oh, right, xhtml:script.... sigh... So is an XML-ized Web supposed to have all its key features, and by "key" I mean all the features that made the Web really what it is today, come from the XHTML namespace? That's total non-sense.

A generic XML way of using scripts is absolutely and urgently needed. Make it simple, make it xml:script.

In conclusion, I will say that we don't need a lot to make it happen. Give me all the above and I abandon XHTML right now. But that process is blocked that only a few people I am not afraid to call fanatics, people who close their eyes to pragmatism in the name of a theoretical purity.

And it's just a shame.

PS: can someone explain Google that the TLD .fr is France and not Venezuela? Google auto-detects I am from there and I have no idea why.

Monday 12 January 2004

Mefiez-vous des politiciens quand ils parlent de science

Et méfiez-vous encore plus des journalistes quand ils parlent de science et ne font que recopier le communiqué des politiques... Non, je ne parle même pas de la pétition en cours chez les chercheurs. Je parle de la légionnellose dans le Pas-de-Calais. Pour les lecteurs qui n'ont pas suivi les épisodes précédents, la maladie du légionnaire, je peux en parler; j'en ai fait une, et une belle.

Donc prouvons l'assertion contenue dans le titre en deux temps et deux mouvements:

  1. le 8 janvier, le gouvernement déclare que l'épidémie ralentit. Tous les journaux, papier, online et télévisés reprennent l'info telle quelle. Depuis Le Monde a corrigé son titre en "l'épidémie ralentirait".
  2. aujourd'hui, les media titrent "L'épidémie de légionellose continue sa progression dans la région de Lens"

Tchernobyl, cela ne vous rappelle rien ? Le nuage radioactif s'était arrêté à la frontière française. Les gabelous avaient du l'impressionner. Cela avait permis au Professeur Pélerin de faire un lapsus superbe "Il n'y a pas de radioactivité due à Tchernobyl en France et d'ailleurs elle diminue". Voila. C'est pareil aujourd'hui : on ne nous prend pas pour des cons mais de plus en plus.

Nvu progress 20040112

  • a lot of tweaking in answer to Lindows's request : nicer tabs, site manager columns, close button's action, prefs, ...
  • block borders

    CSS borders

    You can't believe how easy this was to do... Everything is already in CaScadeS! When I wrote CaScadeS, I made it so all its panels are reusable for inline style dialogs :-)
  • fonts toolbar dropdown(yes, I do know that some of you consider fonts on the web harmful.)

    new font dropdown menu

  • fixed table cell properties bug : it was impossible to switch a cell from TD to TH or back (checked in)
  • fixed table cell properties bug : it was impossible to reset the height or the width of the table cell (checked in)

  • fixed font-family dropdown menu in Seamonkey Messenger, Thunderbird and Nvu : it was not showing the correct value at all (not checked in)

Spécial copains

Citationsdumonde.com est devenu Evene.fr, qu'on se le dise! La plus importante collection de citations francophones et plein d'autres choses encore. A consommer sans modération.

Saturday 10 January 2004

YAY!!!

Starbucks lands in Paris! They should open their first bar here soon. I hope it will be a good incentive for Paris' bars and restaurants to make a better espresso, because we are reaching at high speed the quality of swedish coffe, and the price of swedish espresso. The former could scare an Italian to death, and the latter scares my wallet every time I'm there. Go Starbucks, go! Kick'em'all!

Tantek Çelik

iTunes' transparency

iTunes is a beautiful piece of software, I think most of us agree on that. But on my Dell Inspiron with a nVidia graphic card under WinXP, it has a big limitation: it uses (I quote the error message) "3D mode or video superposition" and that turns off nVidia's window transparency feature... I really like window transparency when I move a window and iTunes turns it off, even when the window is iconified. Grrr.

Badly surrounded?

This DOM Level 2 Method is very useful, very powerful, implemented in Mozilla... and unused. Nobody at all uses Range.surroundContents(). That's probably why nobody ever noticed what I think it a copy/paste error...

First, we split the start containing node of the range here if it's a characterData node. Text.splitText() returning the new text node, we keep track of it after zeroing the corresponding offset. Then we test the endContainer, and if it's a characterData node, we do the same. But here, to keep track of the end of the range, we need to preserve the original node and the original offset even after the call to splitText() instead of using the new node and zeroing the offset...

I think I have found another problem below in the same method. I am closely looking at it because I need this method to be working reliably for Composer.

Update: this is bug 135928 and peterv hit it before me.

Friday 9 January 2004

More brand necrophilia

Yes. They did it. And here too. *sigh*

I'd love to get back my glazman@netscape.com but I am not ready to give 9.95$ per month to AOHell for that.

Who wants marca@netscape.com and jwz@netscape.com ? ;-)

Where do you want to crash today ?

Microsoft starts a humour campaign. Unfortunately, only geeks are laughing.

McFarlane on Mozilla and Composer

Excerpt from Nigel McFarlane's interview by EntrepriseLinux.com:

What are the most-used Mozilla tools?

Nigel McFarlane: The obvious choices are browser, e-mailer and newsreader, composer, calendar, address book and IRC chat. The composer has won praise as an excellent Web development tool recently, and the browser has been a highly regarded browser for a little while now.

Thursday 8 January 2004

He competes for the Asshole Award 2004

And that "he" is Gerald Bauer. If anyone of us still had any kind thought for that guy despite of his permanent misuse of the XUL acronym, that's over. He clearly went beyond the limits a few days ago.

Let's state it very clearly:

http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul

I hope the Mozilla Foundation is going to take some legal actions against whoever misuses the acronym "XUL". And I hope Gerald Bauer will be the first on the list.

Wednesday 7 January 2004

Tranche de vie

La lune est rousse, pleine, posée sur la toiture de la maison d'en face comme un gros gouda bien rond sur sa tranche. Juste au dessus passe un gros avion, deux phares allumés entre les ailes, on dirait une grosse raie pastenague en vadrouille aérienne. Les trottoirs se percent de sapins dégarnis ou prématurément desséchés selon que l'on a affaire à de l'epicea ou du norman-plus-cher-mais-tellement-moins-salissant-sur-ton-parquet-ma-cherie. Marrant, on dirait vraiment qu'un esprit dérangé a passé la fin de semaine dernière en forêt pour parsemer les rues de Saint-Germain en Laye de ses méfaits dans la journée de ce mercredi 7 janvier. Alors que les sirènes - mais qui se soucie encore du test mensuel du tocsin - sonnent midi, je me rends compte que la voirie enlève les gros colis le jeudi matin... Cela pemettra donc aux hordes de soldeuses d'avoir un salon moins rempli pour stocker les nombreux sacs des Galeries Farfouillette et consorts. Quand je dis les hordes, je suis en-deça de la vérité. Une vraie fièvre acheteuse. Le délire. Je viens de bouziller un beau pull col-roulé que je cherche à remplacer; j'ai essayé d'ouvrir la porte de chez Newman. Bon j'attendrai... Certaines femmes avaient dans leur main tellement de sacs d'une telle épaisseur qu'elles prenaient la largeur du trottoir à elles seules.

Dans les deux magasins de lingerie, on frise l'émeute. C'est de la folie. J'imagine la scène ce soir:

  • oh mais c'est nouveau ça, c'est vachement sexy ces petits dessous, miam :-)
  • ça te plait ? je les ai eu en solde chez Etam pour seulement 119 euros et puis j'en ai profité aussi pour acheter bla bla et puis bla bla et encore bla bla
  • . . .
  • bah mon chéri, qu'est-ce qu'il y a ?

Ce qui me sidère le plus, c'est de voir une femme acheter pour son mari un veston de merde (mes grands-parents étaient tous tailleurs et croyez-moi, je sais reconnaître une bonne coupe d'une mauvaise pour une chemise ou une veste) en solde à -25% de 205 euros alors que moi j'achète toute l'année de la qualité très largement supérieure à 90 euros, et à 55 euros en solde. C'est pas possible, je dois être askhénaze.

Comme je sens poindre le commentaire sarcastique "mais que faisais-tu donc dans les rues commerçantes aujourd'hui ?", j'ai un alibi : j'ai bossé comme un tel malade ce matin que je me suis rendu compte que l'heure du déjeuner était passée à... 16 heures! Mais oui, idiot-bête, tu as entendu les sirènes à midi! Et zut, y'a nulle part où manger dans cette zone autour de mon bureau. Voila. Je me suis donc tapé un croque-monsieur à 16h15 au centre-ville.

Et j'écris ces lignes de chez moi, la nounou des enfants est encore là. Je me ballade sur mon blogroll. Le blog de Karl par exemple. J'ouvre. Oops, la nounou est derrière moi. Ohlala la tête qu'elle fait... Pourquoi donc ? DAMNED! La moitié de Karl à poil en haut de page... KARL, tu m'as grillé auprès de la nounou de mes enfants, je vais avoir une de ces réputations dans le quartier moi!

NB pour les geeks : 50% sur de nombreuses babasses chez Carrefour!!! Si! Allez ma horde, et mon courroux coucou!

AOL Europe, someone is watching you

Crazy Frogs.... Wanadoo, France Telecom's ISP, is interested in buying AOL Europe!!!

Bloat, bloat, bloat :-/

The title says it all...

proxy conf context menu

Screenshot credits: Pascal Chevrel.

Tuesday 6 January 2004

Nvu progress, and beyond

A binary early release of Nvu, for both Linux and Windows, will probably see the light and be freely available in the coming weeks. We are also in the process of setting up the cvs server for the source code, as promised. Stay tuned, and be patient.

Nvu progress 20040106

  • useless <br> removal
  • visibility of CR marks
  • visibility of block outlines
  • working on borders, margins, paddings, ...
  • fixed a few bugs in tab-editing

CR and block marks

Monday 5 January 2004

Did the US want to install a modern democracy in Afghanistan ?

The Loya Jirga has adopted the new Constitution. And I don't think this can be called a victory...

  • First article (excerpts) : Afghanistan is an Islamic Republic
  • Second article (excerpts) : the religion of the State is the sacred religion of Islam. Other religions' believers are free to practice their religion in the limits of the Law
  • Third article (excerpts) : the beliefs and dispositions of the sacred religion of Islam are above all laws in Afghanistan and no law can go against them

Welcome to the 21st century. By the way, if you want to keep your folks in the 16th century, that's ok. And thanks for the oil pipe-line and the heroïn market. Oh, and in the meantime, Bin Laden is still running.

Malraux, wake up, you were right.

Your geekiest present

We all need one, that's for sure...

Hubzilla

Sunday 4 January 2004

Nostalgies part 4

Le Palais de la Découverte, le CMI et les boutiques ne me suffisaient plus. Il fallait donc que je trouve d'autre lieux où mettre librement mes mains sur un clavier.

Continue reading...

Standalone Composer and Nvu, do _you_ want to dance with us ?

You can help. If you know HTML, JavaScript, if you are able to write cross-browser JavaScript working with Gecko, IE and Opera, you can help.

Standalone Composer and Nvu have the notion of "smart widget". A smart widget is nothing more than a HTML fragment that can contain scripting and can be totally based on scripting. Standalone Composer allows today to insert a calendar smart widget into a document. Here is how it works:

  • when the user wants to insert a "calendar smart widget", a div is inserted at the caret
  • that div contains a script element and a noscript element
  • the script element contains all the scripts needed for the widget, including its initialization. In the case of the calendar, it contains a function called calendar() and a call to that function. When the page is loaded in a browser, the calendar is initialized that way.
  • the noscript element contains a GIF image of a calendar. This is VERY important because
    1. we disable, for obvious reasons, JavaScript in the pages we edit... So the contents of the script element won't run in the editor. If you want the user to see something in his/her page at insertion time, you need to provide a noscript element.
    2. that noscript will be rendered by browsers disabling JS (yes, I know a few people who disable permanently JavaScript...)
  • the div may contain additional elements, but that's not the case for the calendar smart widget

So if you can write a page with a very cool smart widget inside, if you really write your smart widget yourself (I mean don't reuse protected code!), mail me the URL of that page, desribe your smart widget (what it does, how it works, and all you think I should know about it to understand it), include in your email that you authorize Mozilla.org and Lindows.com to distribute your code under the tri-license mpl/gpl/lgpl.

I'll include the coolest smart widgets in Standalone Composer and Nvu and will of course include the tri-license boilerplate in the corresponding chrome files with your name and email as owner and original author.

Nota bene: if your smart widget needs user interaction, in other words if you need the user to provide data when the smart widget is inserted, describe all what's needed in your email and I'll write the corresponding XUL.

Nota bene 2: it will be possible to make XPIs for smart widget add-ons.

Have fun :-)

Tristan Nitot

Personal message...

...to Pierre Saslawsky: message reçu :-) Glad to see you made it, had fun and are safe (and read my blog!!!). Enjoy Buenos Aires and Argentina! Hey, you'll have to stop making the news when you are back to our so-called civilized world!

Saturday 3 January 2004

A very bad start for 2004...

Finalement, des vacances pas loin, ça ira aussi....

Continue reading...

Friday 2 January 2004

Composer/Nvu progress 20040102

Since this is a c++ patch, it also applies to the Mozilla Application Suite. I have spent a few cycles on my old buggy patch for bug 205946 and it's now working very well without side-effect. When I create a new document, most of the annoying <br> that used to remain at the end of paragraphs are now gone.

Now, to eat my own dogfood, I need to fix the behavior of dt/dd elements in the editor. Typing return when the caret is in such an element totally sucks. It's not usable and I can't stand it any longer.

Raffarinance

Entendu hier soir dimanche dans le journal de TF1, dans la bouche d'un officier de gendarmerie:

" Et je rappelle que par temps de neige, les camions n'ont pas le droit de doubler ni dépasser, en raison de la glissance de la chaussée."

La glissance... Et pourquoi pas le glissationnage ou la glissature pendant qu'on y est ? Je ne sais si c'est une influence (voire une influade...) de la "gouvernance" Raffarinienne mais ça m'écorche les oreilles presqu'autant que "suspecter" à la place de "soupçonner". Je ne pas si la chaussée est glissante, mais la maréchaussée devrait arrêter de déraper dessus...

Eleven months of fun

Apparently, last week, when the US authorities asked the French Government to block a few planes and check some passengers based on hints provided by the US, the French Air&Borders Police found a four years old girl, a old chinese woman and a british City yupie. The data provided by the US were (I quote) "so weak that the anti-terrorist units here did not even want to open a file"... I seriously wonder if the threat level in the US is not used as an electoral argument; remember that the electoral campaign starts next 19th january...

UPDATE: this is now confirmed by the FBI itself.

Nvu progress 20040102

As I wrote before, I have added new toolbar buttons for EM and STRONG. But I was not happy with the icons, based on the strings "Em" and "Strong"... I have changed that and use now respectively one and two exclamation point(s).

em and strong buttons

Resolutions (unordered) for 2004

  • spend a week of vacation with Maria in Mauritius or Cape Town for instance
  • get a 7200rpm >= 60gigs hard disk for my laptop
  • hire...
  • invest
  • fix the espresso machine or buy a new one
  • teach Michel how to ride a bicycle
  • teach Gabriel how to ride a tricycle
  • change my motorbike
  • read the books I had no time to read between last September and now
  • finish the sci-fi book I had no time to write during the 3 last years!
  • try to be less sick than in 2003... 2003 was a very bad year for me
  • keep being impressed by the beauty and cleverness of Mozilla
  • repaint the living-room