Skip to: Site menu | Main content

Welcome there !

Emmanuel Desigaud's blog. Personnal, professional. Fun pictures, kewl web links, usefull software ....
2008-05-13

Moved from bloglines to Google Reader

Categories: Infos Language : English (EU)

To be honest, I was not a big fan of Google reader, supporting bloglines.com for its simplicity, its speed and also its neutrality (who said that Google was evil? ;))

Unfortunately, during one whole weekend, bloglines.com was down... No communication, no apologize even after everything was fixed. I know that they offer stuff for free and we can’t expect same level of quality than a paid service but we are still users and we still need consideration :)

Also, if you take a look at their beta site, you notice that they tend toward cloning Google reader, moving away from their original frame of mind.

So me and my opml file went to google reader, sit down, took a beer and finally, that’s not so bad. Features are roughly the same (G-Reader is missing a keyboard shortcut to navigate through folders). I specially like the reports offered by G-Reader: with the feed activity report, I could trashing tons of rss that have not been updated for years!

Here's my activity for the last 30 days, proof that I really need holidays :)


PermalinkPermalink
2007-08-21

De l'utilisation de Using

Catégories: Infos Language : French (FR)

Le mot clé "Using", tout le monde est familier avec. Il suffit de créer n''importe (ou presque) quel objet .Net pour que les premières lignes soient remplies par ces déclarations. Dans cet article, nous allons découvrir les différentes possibilités d''utilisation offertes par ce mot clé.

1/ La déclaration d''espace de nom

L''utilisation la plus commune du mot clé "Using" est la déclaration des espaces de nom. Ainsi, les types d''un espace de nom déclaré par un "Using" pourront être invoqués sans les préfixer du nom complet de l''espace. Par exemple, sans vous en rendre compte, lors d''un appel à String, vous référencez la classe System.String, cela étant dû à l''inclusion de l''espace System.

1using System;
2
3namespace Demo
4{
5	public class Demo
6	{
7		public String test; //appel à System.String
8	}
9}

2/ La définition de synonymes

Toujours à l''aide la directive "Using", nous allons pouvoir définir des synonymes dans le but de simplifier / clarifier l''inclusion de certains espaces de nom. Il suffit alors de déclarer l''import comme suit :

using variable = Espace de Nom;

Un exemple concret qui a fait le tour des différents blogs :

1using System;
2using settings = System.Configuration.ConfigurationSettings;
3
4public class Demo
5{
6
7 public Demo()
8 {
9 String conString = settings.AppSettings["ConnexionString"];
10 //....


Le but est de simplifier l''appel à la propriété statique AppSettings de la classe System.Configuration.ConfigurationSettings qui est un peu longue à écrire (qui se soucie aujourd''hui d''écrire son code en 80 colonnes ?)

3/ La déclaration de variable locale.

On peut également utiliser le mot clé "using" pour déclarer certaines variables locales. L''intérêt d''une telle utilisation est qu''à la fin de la section qui déclare le using, la variable est automatiquement nettoyée par l''appel à sa méthode Dispose. La seule contrainte (majeur) est que l''objet doit définir l''interface IDisposable.

Pour résumer :

using (Type variable = initialisation)
{
    //Traitement
}


est équivalent à :


{ Type variable = initialisation; try { //Traitement } finally { if (variable != null) { ((IDisposable)variable).Dispose(); } } } // fin de la section
Un exemple concret d''utilisation :
1using System;
2
3public class Demo : IDisposable
4{
5
6 public Demo()
7 {
8 Console.WriteLine("Hello");
9 }
10
11 public void Dispose()
12 {
13 Console.WriteLine("Disposing the object");
14 }
15
16 [STAThread]
17 static void Main(string[] args)
18 {
19 using (Demo d = new Demo())
20 {
21 }
22
23 Console.ReadLine();
24 }
25}
26

retourne dans la console :




Hello
Disposing the object

PermalienPermalien
2006-07-11

Protect your data

Categories: Infos Language : English (EU)

Need to crypt your data ! Try those free tools :

Some readings:
http://ask-leo.com/how_can_i_keep_data_on_my_laptop_secure.html
http://www.framasoft.net/article3931.html (french)

PermalinkPermalink
2006-07-05

Web Dev and Royalty-Free Images

Categories: Infos Language : English (EU)
  • stock.xchng – Very good site with many quality royalty-free images.
  • jupiterimages – Another great location of royalty-free images; site is also developed in .NET :)
  • inmagine – Very large source of royalty-free!
  • photolibrary – A little bit slow to load, but another good source of royalty-free.
  • MorgueFile

From David L's Blog

PermalinkPermalink
2006-05-05

Windows admin tips

Categories: Infos Language : English (EU)

For sure, the best.

http://www.jsiinc.com/Welcome.htm

PermalinkPermalink
2006-04-24

Free and Good !!

Categories: Infos Language : English (EU)

Utilities & System

Security

To be continued ....

PermalinkPermalink
2006-04-11

Waouaw ... 3 column css layout .. It killed me !!

Categories: Infos, Tech Language : English (EU)

Guys from A List Apart are talking about the search of the holy grail and in fact I totaly agree with them. What a pity to find/define a perfect 3 column layout in css ...

Some interesting links :

PermalinkPermalink
2003-09-06

Les excuses des programmeurs ....

Catégories: Infos Language : French (FR)

Top 20 des réponses des programmeurs quand leur programmes ne fonctionnent pas:


20. "C'est bizarre ..."
19. "Ca n'a jamais fait ça avant."

18. "Ca marchait hier."
17. "Comment c'est possible ?"

16. "Ca doit être un problème matériel."
15. "Qu'avez vous tapé de non prévu pour le faire planter ?"

14. "Il doit y avoir quelquechose d'incohérent dans vos données."
13. "Je n'ai pas touché à ce module depuis des mois !"

12. "Vous devez avoir une mauvaise version."
11. "C'est juste une coincidence ..."

10. "Je peux pas m'occuper de chaque détail !"
9. "Ca ne peux pas être la raison de ce plantage."

8. "Ca marche, mais ca n'a pas été complètement testé."
7. "Quelqu'un a du modifier mon code."

6. "Vous devez avoir un virus sur votre machine."
5. "Même si ça marche pas, comment peut-il faire ça ?"

4. "Cette version n'est pas faite pour votre system."
3. "Pourquoi voulez vous faire cela de cette façon ?"

2. "Où étiez vous quand le programme c'est planté ?"


Et la première :


1. "Ca marche sur ma machine."

PermalienPermalien
2003-09-01

Un de plus ....

Catégories: Infos Language : French (FR)

Encore un weblog qui peut parraitre completement ininteressant mais au moins ca me permettra de stocker et de retrouver mes images et liens.

PermalienPermalien