Oula Erwan est tombé sur la tête

00:42 <@roanDODO> non en fait je fait pas dodo
00:43 <@roanDODO> je chat avec des filles  :-p
00:45 <@roanDODO> enfin une surtout
00:53 <SoaF> ha ..
00:53 <SoaF> c ou dis ?
01:06 <@roanDODO> C privé
01:06 <@roanDODO> sur msn
01:06 <@roanDODO> enfin avec gaim
01:06 <SoaF> sur msn !!
01:07 <@roanDODO> messenger
01:08 <@roanDODO> enfin le truc de windows
02:42 <SoaF> t encore la ?
02:42 <SoaF> j'y crois pas
05:43 <@roanDODO> bon aller au boulot maintenan
05:43 <*> roanDODO is now known as roanBOULOT

Oui vous avez bien lu !! Il a fait du msn toute la nuit . Et ensuite il est parti conduire son gros camion. A ce que l’on ferait pas pour un petit chat avec toi .

Un défi que tous les développeurs devraient connaitre

Alors que je recherchais des infos (principalement sur TIM), je suis tombé sur http://handicap.org. Jusque là rien d’annormal, sauf que .. ce site utilise des frames, du javascript pour les menus (qui d’ailleurs plante plus ou moins sur mon linux ), et du flash. Comme de par hasard tout l’inverse des préconisations de brailleNet, après quelques cours tests, il s’avère que ce site fonctionne avec links (donc une sythèse vocale doit fonctionner).

Cela m’a ramené une semaine en arrière, lors d’un beau discours de cloture: " Le handicap est un challenge pour la personne, mais il l’est aussi pour nous chercheurs. C’est à nous de relever le défi !". Et bien effectivement cela est un défi, mais un défi de tous les instant, le genre de chose que l’on ne pourra jamais atteindre. Un défi que seule la vigilance et le bon sens peuvent arriver "à faire passer". Une fois encore je m’en rends compte.

AccessKey

I forget to talk about this. Do you know that you can add keyboard shortcut in HTML ? This is so stupid that i don’t know how i miss that :

<a href="http://larsen-b.com/" accesskey="T">Table of contents (Alt-T)</a>;

This works on mozilla .. but not on konquerror !!!!!! I gonna check #kde to fix that

TIM / computer games for visually impaired children

This is the last interesting stuff seen at the ICOST. As at work we are looking for a way to write some playing game, and as i need to find a nice GUI toolkit for respyre, I will carefully read this http://inova.snv.jussieu.fr/tim/

Une porte sur le Web pour les personnes handicapées visuelles

Une question qui m’a longtemps dérangée, mais comment font les aveugles pour surfer sur le net, alors que moi personnellement j’ai déjà parfois du mal. Bien évidement ils utilisent des systèmes de synthèse vocale, mais il suffit d’avoir au moins une fois entendu ce genre de chose pour savoir que cela n’est pas des plus pratique. Alors que j’estime la rapport infos / bruit de la majorité des pages web à 20%, ce retrouver dans ce dédale n’est pas chose facile. Lors de la conférence ICOST 2003, j’ai assisté à certaines confs intéressantes comme par ex, la démonstration d’un système utilisant les balises html pour changer l’intonation de la voix .. par bold sera traduit par une voix plus grave .. etc .. Bien entendu pour cela il faut que le texte soit bien formatté avec de h1/h2 .. et non pas des font-face=+1 …

Le plus simple semble encore de suivre les recommandations de http://www.braillenet.org/ en lisant attentivement http://www.w3.org/WAI/WAIDA/. A la première lecture les nombreuses guidelines risquent de rebuter de nombreux développeurs, surtout que l’on ne peut pas à priori utiliser un script de validation automatique comme l’infame HTML Validator.

Il faudra donc que je regarde cela de plus près .. et j’espère un jour afficher le logo ‘braillenet’ ici bas.

Shortest masquerade config

Voici la commande la plus courte et simple afin de faire du masquerading sous Linux

# this will masquerade all packet to ppp0
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o ppp0-j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

Monkeys go to heaven

Ils reviennent !!!!!

http://www.guardian.co.uk/arts/news/story/0,11711,1040059,00.html
Indie legends the Pixies set to reform

http://image.guardian.co.uk/sys-images/Guardian/Pix/arts/2003/09/11/pixies1.jpg

They were arguably the most exciting American rock band of the 1980s. Kurt Cobain freely admitted that Nirvana stole their style of hushed verses and loud, primal choruses. Now it appears as though indie guitar legends the Pixies are set to reform for a live tour and a possible album in 2004.

Hailing from Boston, Massachusetts, the Pixies were formed in 1986 by frontman Black Francis and guitarist Joey Santiago. Bassist Kim Deal and drummer Dave Lovering completed the line-up and their debut album, Come on Pilgrim, was released the following year.

Critical plaudits came with the arrival of the savage 1988 album Surfer Rosa, while its more polished follow-up, 1989′s Doolittle, broke out of the indie ghetto to reach No 3 in the UK album charts. The band released a further two albums – Bossanova (1990) and Trompe le Monde (1991) – before an acrimonious split in 1992.

Ironically, the Pixies broke up at the same time that the brand of indie rock which they had largely spawned broke through into the popular mainstream. The 1991 release of Nirvana’s Nevermind, in particular, introduced Pixies-style grunge to the masses, while Kurt Cobain’s uniform of scuffed jeans and flannel shirts was identical to Black Francis’s on-stage image.

Since the band’s demise, Black Francis has embarked on a fitfully successful solo career in the guise of Frank Black while Kim Deal has cropped up infrequently as bassist and singer in the Breeders. But the band members recently revealed that they have continued to practise together and the personality clashes of the early 90s appear to have been patched up.

Earlier this week, MTV quoted an unnamed spokesman for the band who confirmed that the Pixies are to reform for a series of live dates in April 2004. The source added that a subsequent album was also a distinct possibility. As yet, there is no word as to whether the band will perform in the UK.

Last PPP Ip .

#!/usr/bin/python
"""
A really simple piece of code that i use to track down my
dynamics IP (assigned by my isp while using ppp).

"""
filename = '/home/soif/Perso/Data/lastIp.sqlite'

import sys,os,time
try:
    import sqlite
except ImportError:
    print "Please install python sqlite binding first"
    sys.exit(0)

def createTables(cursor):
    schema = "CREATE TABLE connect ( 
             id INTEGER PRIMARY KEY, 
             ip VARCHAR(27), 
             date VARCHAR 
             );"
    cursor.execute(schema)
    print "Database creation: Done"

def printLastIps(cursor):
    cursor.execute('SELECT * FROM connect ORDER BY id DESC LIMIT 15')
    results = cursor.fetchall()
    print "=" * 78
    print " Last Ips "
    print "=" * 78
    for r in results:
        print '- %-15s  %s' % ( r[1],r[2] )

def getLastIp(cursor):
    cursor.execute('SELECT * FROM connect ORDER BY id DESC LIMIT 1')
    r = cursor.fetchall()
    if len(r) > 0:
        return r[0][1]
    return

def insertCurrentIp(cursor,ip):
    sql = 'INSERT INTO connect values(NULL,"%s","%s") ' %  (ip,time.ctime())
    cursor.execute(sql)
    print "Inserting of %s: Done" % ip

def usage():
    print sys.argv[0]
    print " Arguments:"
    print "    -c    : create the database"
    print "    -a ip : add the ip to the db"
    print "    -l    : list the last ips"

#import pdb;pdb.set_trace()

db = sqlite.connect(filename)
cursor = db.cursor()

if len(sys.argv) == 2  and sys.argv[1] == '-c':
    createTables(cursor)

elif len(sys.argv) == 2  and sys.argv[1] == '-l':
    printLastIps(cursor)

elif len(sys.argv) == 3 and sys.argv[1] == '-a':
    newIp = sys.argv[2]
    lastIp = getLastIp(cursor)
    insertCurrentIp(cursor,newIp)
    if lastIp != newIp:
        print "Sending Email"
        os.system('echo Changing Ip of gateway from %s to: %s | mail -s 'New Ip %s ' -a 'From: jkx@club-internet.fr' jkx@wanadoo.fr' %  (lastIp,newIp,newIp))

else:
    usage()
db.commit()

Sample output

==============================================================================
 Last Ips
==============================================================================
- 217.128.96.43    Thu Aug 28 21:33:40 2003
- 193.252.3.209    Wed Aug 27 21:33:43 2003
- 217.128.96.95    Tue Aug 26 21:33:47 2003
- 80.15.151.254    Tue Aug 26 18:53:18 2003
- 80.15.151.107    Tue Aug 26 07:34:39 2003
- 81.48.168.91     Mon Aug 25 07:34:36 2003
- 80.15.151.40     Sun Aug 24 07:34:38 2003
- 81.48.168.41     Sat Aug 23 07:54:41 2003
- 80.15.151.125    Fri Aug 22 07:34:44 2003
- 80.15.151.169    Thu Aug 21 07:34:46 2003
- 193.251.14.187   Wed Aug 20 07:34:49 2003
- 193.251.14.36    Tue Aug 19 07:35:07 2003
- 81.48.168.47     Mon Aug 18 07:35:01 2003
- 80.15.151.187    Sun Aug 17 07:34:58 2003
- 81.48.168.75     Sat Aug 16 07:35:01 2003