arnohoho a écrit 76 commentaires

  • # sfml moi aussi

    Posté par . En réponse à la dépêche Je crée mon jeu vidéo E15 : J'arrête.... Évalué à 3. Dernière modification le 06 septembre 2015 à 15:53.

    moi aussi je développe mon jeu avec sfml c++11. Merci de partager sur la question des systèmes à entités. Personnellement j'ai fais à mon idée sans trop regarder les méthodes existante. J'ai lu quelque tutos sur les systèmes à entités. Mais je suis quand même partis sur de l'objet.
    Donc, je suis content d'avoir un avis un peu approfondis sur la question.
    J'ai séparé les données/propriétés du traitement des données. J'ai donc des objets comme healSkill (compétences de soin avec ses propriétés) et interaction pour utiliser la compétence pour soigner.
    Si ça t’intéresse j'ai un peu détaillé comment j'ai organisé mon code, notamment les événements. Et aussi comment j'ai évité de passer par l'évaluation dynamique du type d'objet (un peu barbare comme méthode mais ça marche).
    http://en.sfml-dev.org/forums/index.php?topic=17721.0 (voir le dernier post)

  • [^] # Re: Parfait !

    Posté par . En réponse au journal Tout le monde a intérêt à transformer Internet en Minitel. Évalué à 2.

    mais loolll

    1 : t'as tapé tout le texte
    2: gimp powa
    3: hack minitel powa

    i wanna know !
  • [^] # Re: merci pour le lien

    Posté par . En réponse au journal Tout le monde a intérêt à transformer Internet en Minitel. Évalué à 2.

    c'est vrai aussi... en plus maintenant il ont leur loi pour couper la connexion...
    mais je crois que c'est un bon moyen pour lutter, mais qu'il faut que beaucoup de monde le fasse, les 1er en paierons les frais comme d'hab.
    Aussi l'intérêt est que tu ai ton mot à dire, dans le cas ou ton blog sur un site tiers ce fait supprimer, tu est face à qui pour protester ?
    face à une entreprise qui subit les pression de l'état.
    Et en général il n'y à rien de protester puisqu'on accepte la suppression sans moyen de protester dans les condition d'utilisation du blog.
  • # c cool

    Posté par . En réponse à la dépêche Thelia devient libre. Évalué à 1.

    ça à l'air d'un projet vraiment intérressant de quoi faire un site de commerce sans ce casser la tête ! merci à l'auteur du projet ;)
  • # héhé

    Posté par . En réponse à la dépêche Concours LinuxFr « Lettre au Père Noël ». Évalué à -10.

    papa noël je le baise
  • # halt

    Posté par . En réponse au message problème pour éteindre mon ordi sous Mandrake 2006. Évalué à 1.

    halt ne fait rien de mal à linux et à l'ordi utilise la autant que tu veux :p

    ps: j'ai eu le même genre de bug avant mandriva 2006, mais je sais plus comment je m'en suis sortis je crois que j'ai éditer les fichier à la main car drakconf était buger...
  • # oui avast

    Posté par . En réponse au message Quel antivirus. Évalué à 1.

    avast c un bon antivirus et c gratuit, je te le conseil
  • # voir /etc/resolv.conf

    Posté par . En réponse au message Délai de réponses de requêtes DNS. Évalué à 1.

    faut regarder dans /etc/resolv.conf peut-être que la 1er adresse du serveur dns de ton FAI est mauvais et la seconde bonne ce qui ferai qu'il met du temps car 1er rate mais deuxieme fonctionne.
    J'avais eu la blague personnelement
  • [^] # Re: IRC

    Posté par . En réponse au message scan nmap.... Évalué à 1.

    je l'ai dit quand j'ai repondu à liberforce...
  • [^] # Re: Piste ?

    Posté par . En réponse au message scan nmap.... Évalué à 1.

    merci liberforce ça m'a au moins permis de savoir qu'il était important de regarder /var/log/messages.

    En faites firestarter qui ma permis de voir qu'il se passait quelque chose de bisarre. Exemple : +- toutes les minutes il y a une connexion venant de l'internet sur le port 139 netbios-ssn (je partage des fichier par samba avec les autres machines du réseaux) et à chaque fois ça change d'ip et c'est toujours sur le même port.

    Mais je n'arrive pas à determiner si c'est tentative de connexion ou bien si ça réussis. voila ce que dit /var/log/message pour une des ip en question :

    Nov 2 16:09:21 clochard kernel: IN=ppp0 OUT= MAC= SRC=86.221.181.225 DST=mon-ip LEN=64 TOS=0x00 PREC=0x00 TTL=41 ID=7231 DF PROTO=TCP SPT=1982 DPT=139 WINDOW=53760 RES=0x00 SYN URGP=0

    (ça ce reperte plusieurs fois et puis pareille avec une autre ip). Ma question : est-ce que ça à fontionner ou il c'est fait rejeter ?
  • # 123

    Posté par . En réponse au message Installation 1 CD ou avec chroot. Évalué à 1.

    je connai pas bien fedora mais je sais qu'il y a plusieur solution pour faire ce que tu veux, ça dépend de la distro.

    1 - faire une installation mininum seulement avec le cd1
    2 - une installer par internet via un cd/disquette d'install spécialement fait pour ça netinstall quoi.
    3 - une install depuis le cd1 en choissant comme média d'install un endroit sur le disque dur ou ce trouve le cd...

    le mieux c'est d'aller voir sur le site de fedora pour la doc sur l'install, les solutions spécifique à la distro
  • # plus de détails

    Posté par . En réponse au message probléme de permission. Évalué à 1.

    faudrai plus de détails pour t'aider tu pourrai lancer emule dans une console (pas en root) et nous donner les messages d'erreur qui viennent dans console.

    t'es sous quel distro et tu la installer comment rpm à partir des sources ?

    aussi si tu pouvais faire :
    whereis emule
    puis :
    ls -l chemin_vers_emule

    pour savoir si c'est pas un probleme de droit d'accès a l'executable vu que tu peux le lancer en root.
  • # n'importe laquelle fera l'affaire

    Posté par . En réponse au message LiveCD pour programmer en C++. Évalué à 2.

    je pense que pratiquement tous les cd-live de linux inclus gcc et g++ je me rappelle l'avoir utiliser sur knoppix.

    Un cd live sympa c'est PClinuxOS c'est basé sur mandriva il y a le centre de configuration et tous. Je te conseille de choisir un cd-live un de regarder sur le site officiel quel paquetage il contient.

    Sinon knoppix !
  • # le code

    Posté par . En réponse au message Acces au port //. Évalué à 1.

    je m'y connais pas assez pour t'aider, mais je pense que le code c te ton appli pourrai aider pour pouvoir trouver d'ou viens le probleme...
  • [^] # Re: Gèle sous Mandriva kubuntu et windows

    Posté par . En réponse au message Gèle sous Mandriva kubuntu et windows. Évalué à 1.

    je ne sais pas ou sont les log à visionner je connais seulement la commande dmesg et je ne sais pas interpreter le resultat malheureursement
  • # quelques précision

    Posté par . En réponse au message Gèle sous Mandriva kubuntu et windows. Évalué à 1.

    Quelque précison sur le systeme géle avec le kernel 2.6.17.9 comme avec le noyau par defaut de mandriva et celui de kubuntu optimiser pour les AMD (k7) J'ai aussi un probleme bisarre, quand je redemmare l'ordi l'affichage est pas normal il y a tout de ligne qui bouge partout à l'écran ( c'est du a ma carte ati ça faisait sur l'autre ordi ou je l'avais monté). mon matériel en bref carte mère asrock K7S41GX carte ati radeon 700 carte son creative live! 512 ram disque dur maxtor 60go la commande lshw donne ça :
     trigallez
     description: Desktop Computer
     product: K7S41GX
     vendor: American Megatrends Inc.
     version: 1.0
     serial: 00000000
     width: 32 bits
     capabilities: smbios-2.3 dmi-2.3
     configuration: chassis=desktop
     *-core
     description: Motherboard
     product: K7S41GX
     physical id: 0
     version: 1.0
     serial: 00000000
     *-firmware
     description: BIOS
     vendor: American Megatrends Inc.
     physical id: 0
     version: P1.90 (08/20/2004)
     size: 64KB
     capacity: 192KB
     capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int17printer int10video acpi usb agp ls120boot zipboot biosbootspecification
     *-cpu
     description: CPU
     product: AMD Sempron(tm) 2400+
     vendor: Advanced Micro Devices [AMD]
     physical id: 4
     bus info: cpu@0
     version: 6.8.1
     slot: Socket-A
     size: 1667MHz
     capacity: 3GHz
     width: 32 bits
     clock: 166MHz
     capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
     *-cache:0
     description: L1 cache
     physical id: 5
     slot: Internal Cache
     size: 128KB
     capacity: 1MB
     capabilities: synchronous internal write-back unified
     *-cache:1
     description: L2 cache
     physical id: 6
     slot: Internal Cache
     size: 256KB
     capacity: 1MB
     capabilities: synchronous internal write-back unified
     *-memory
     description: System memory
     physical id: 1
     size: 511MB
     *-pci
     description: Host bridge
     product: 741/741GX/M741 Host
     vendor: Silicon Integrated Systems [SiS]
     physical id: d0000000
     bus info: pci@00:00.0
     version: 03
     width: 32 bits
     clock: 33MHz
     resources: iomemory:d0000000-d3ffffff
     *-pci
     description: PCI bridge
     product: SiS AGP Port (virtual PCI-to-PCI bridge)
     vendor: Silicon Integrated Systems [SiS]
     physical id: 1
     bus info: pci@00:01.0
     version: 00
     width: 32 bits
     clock: 66MHz
     capabilities: pci normal_decode bus_master
     *-display
     description: VGA compatible controller
     product: Radeon RV100 QY [Radeon 7000/VE]
     vendor: ATI Technologies Inc
     physical id: 0
     bus info: pci@01:00.0
     logical name: /dev/fb0
     version: 00
     size: 128MB
     width: 32 bits
     clock: 66MHz
     capabilities: vga bus_master cap_list fb
     configuration: depth=16 frequency=75.12Hz mode=800x600 visual=truecolor xres=800 yres=600
     resources: iomemory:c0000000-c7ffffff ioport:b800-b8ff iomemory:cfef0000-cfefffff irq:16
     *-isa UNCLAIMED
     description: ISA bridge
     product: SiS963 [MuTIOL Media IO]
     vendor: Silicon Integrated Systems [SiS]
     physical id: 2
     bus info: pci@00:02.0
     version: 25
     width: 32 bits
     clock: 33MHz
     capabilities: isa bus_master
     *-serial UNCLAIMED
     description: SMBus
     product: SiS961/2 SMBus Controller
     vendor: Silicon Integrated Systems [SiS]
     physical id: 2.1
     bus info: pci@00:02.1
     version: 00
     width: 32 bits
     clock: 33MHz
     resources: ioport:c00-c1f
     *-ide
     description: IDE interface
     product: 5513 [IDE]
     vendor: Silicon Integrated Systems [SiS]
     physical id: 2.5
     bus info: pci@00:02.5
     version: 00
     width: 32 bits
     clock: 33MHz
     capabilities: ide bus_master
     configuration: driver=SIS_IDE
     resources: ioport:ff00-ff0f
     *-ide:0
     description: IDE Channel 0
     physical id: 0
     bus info: ide@0
     logical name: ide0
     clock: 33MHz
     *-disk
     description: ATA Disk
     product: Maxtor 6Y060L0
     vendor: Maxtor
     physical id: 0
     bus info: ide@0.0
     logical name: /dev/hda
     version: YAR41VW0
     serial: Y2SAZV7E
     size: 57GB
     capacity: 57GB
     capabilities: ata dma lba iordy smart security pm apm
     configuration: apm=off mode=udma6 smart=on
     *-ide:1
     description: IDE Channel 1
     physical id: 1
     bus info: ide@1
     logical name: ide1
     clock: 33MHz
     *-cdrom:0
     description: IDE CD-ROM
     product: CRD-8522B
     physical id: 0
     bus info: ide@1.0
     logical name: /dev/hdc
     version: 1.02
     capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy audio
     *-cdrom:1
     description: CD-R/CD-RW writer
     product: LITE-ON LTR-48125S
     physical id: 1
     bus info: ide@1.1
     logical name: /dev/hdd
     version: 1S05
     capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy audio cd-r cd-rw
     configuration: mode=udma2
     *-usb:0
     description: USB Controller
     product: USB 1.0 Controller
     vendor: Silicon Integrated Systems [SiS]
     physical id: 3.1
     bus info: pci@00:03.1
     version: 0f
     width: 32 bits
     clock: 33MHz
     capabilities: ohci bus_master
     configuration: driver=ohci_hcd
     resources: iomemory:cfffe000-cfffefff irq:21
     *-usbhost
     product: OHCI Host Controller
     vendor: Linux 2.6.12-12mdk ohci_hcd
     physical id: 1
     bus info: usb@2
     logical name: usb2
     version: 2.06
     capabilities: usb-1.10
     configuration: driver=hub maxpower=0mA slots=3 speed=12.0MB/s
     *-usb UNCLAIMED
     description: Generic USB device
     vendor: Logitech, Inc.
     physical id: 1
     bus info: usb@2:1
     version: 0.01
     capabilities: usb-1.10
     configuration: maxpower=100mA speed=12.0MB/s
     *-usb:1
     description: USB Controller
     product: USB 1.0 Controller
     vendor: Silicon Integrated Systems [SiS]
     physical id: 3
     bus info: pci@00:03.0
     version: 0f
     width: 32 bits
     clock: 33MHz
     capabilities: ohci bus_master
     configuration: driver=ohci_hcd
     resources: iomemory:cfffd000-cfffdfff irq:20
     *-usbhost
     product: OHCI Host Controller
     vendor: Linux 2.6.12-12mdk ohci_hcd
     physical id: 1
     bus info: usb@1
     logical name: usb1
     version: 2.06
     capabilities: usb-1.10
     configuration: driver=hub maxpower=0mA slots=3 speed=12.0MB/s
     *-usb:2
     description: USB Controller
     product: USB 2.0 Controller
     vendor: Silicon Integrated Systems [SiS]
     physical id: 3.2
     bus info: pci@00:03.2
     version: 00
     width: 32 bits
     clock: 33MHz
     capabilities: ehci bus_master cap_list
     configuration: driver=ehci_hcd
     resources: iomemory:cffff000-cfffffff irq:23
     *-usbhost
     product: EHCI Host Controller
     vendor: Linux 2.6.12-12mdk ehci_hcd
     physical id: 1
     bus info: usb@3
     logical name: usb3
     version: 2.06
     capabilities: usb-2.00
     configuration: driver=hub maxpower=0mA slots=6 speed=480.0MB/s
     *-network
     description: Ethernet interface
     product: SiS900 PCI Fast Ethernet
     vendor: Silicon Integrated Systems [SiS]
     physical id: 4
     bus info: pci@00:04.0
     logical name: eth0
     version: 90
     serial: 00:0b:6a:8e:aa:50
     size: 100MB/s
     capacity: 100MB/s
     width: 32 bits
     clock: 33MHz
     capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegociation
     configuration: autonegociation=on broadcast=yes driver=sis900 driverversion=v1.08.08 Jan. 22 2005 duplex=full ip=192.168.0.1 link=yes multicast=yes port=MII speed=100MB/s
     resources: ioport:d800-d8ff iomemory:cfffc000-cfffcfff irq:19
     *-multimedia
     description: Multimedia audio controller
     product: SB Live! EMU10k1
     vendor: Creative Labs
     physical id: a
     bus info: pci@00:0a.0
     version: 0a
     width: 32 bits
     clock: 33MHz
     capabilities: bus_master cap_list
     configuration: driver=EMU10K1_Audigy
     resources: ioport:d400-d41f irq:18
     *-input UNCLAIMED
     description: Input device controller
     product: SB Live! MIDI/Game Port
     vendor: Creative Labs
     physical id: a.1
     bus info: pci@00:0a.1
     version: 0a
     width: 32 bits
     clock: 33MHz
     capabilities: bus_master cap_list
     resources: ioport:dc00-dc07
    
    dmesg donne ça :
     Linux version 2.6.12-12mdk (apatard@n1.mandriva.com) (gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)) #1 Fri Sep 9 18:15:22 CEST 2005
     BIOS-provided physical RAM map:
     BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
     BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
     BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
     BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
     BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
     BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
     BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
     BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
     BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved)
     BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
     0MB HIGHMEM available.
     511MB LOWMEM available.
     found SMP MP-table at 000fbc70
     On node 0 totalpages: 131056
     DMA zone: 4096 pages, LIFO batch:1
     Normal zone: 126960 pages, LIFO batch:31
     HighMem zone: 0 pages, LIFO batch:1
     DMI 2.3 present.
     ACPI: RSDP (v000 AMI ) @ 0x000faa60
     ACPI: RSDT (v001 AMIINT SiS740XX 0x00001000 MSFT 0x0100000b) @ 0x1fff0000
     ACPI: FADT (v001 AMIINT SiS740XX 0x00000011 MSFT 0x0100000b) @ 0x1fff0030
     ACPI: MADT (v001 AMIINT SiS740XX 0x00001000 MSFT 0x0100000b) @ 0x1fff00c0
     ACPI: DSDT (v001 SiS 746 0x00000100 MSFT 0x0100000d) @ 0x00000000
     ACPI: PM-Timer IO Port: 0x808
     ACPI: Local APIC address 0xfee00000
     ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
     Processor #0 6:8 APIC version 16
     ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
     ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
     IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
     ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
     ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
     ACPI: IRQ0 used by override.
     ACPI: IRQ2 used by override.
     ACPI: IRQ9 used by override.
     Enabling APIC mode: Flat. Using 1 I/O APICs
     Using ACPI (MADT) for SMP configuration information
     Allocating PCI resources starting at 20000000 (gap: 20000000:dec00000)
     Built 1 zonelists
     mapped APIC to ffffd000 (fee00000)
     mapped IOAPIC to ffffc000 (fec00000)
     Initializing CPU#0
     Kernel command line: BOOT_IMAGE=linux root=307 resume=/dev/hda6 splash=silent
     bootsplash: silent mode.
     PID hash table entries: 2048 (order: 11, 32768 bytes)
     Detected 1660.363 MHz processor.
     Using pmtmr for high-res timesource
     Console: colour dummy device 80x25
     Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
     Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
     Memory: 514820k/524224k available (2348k kernel code, 8844k reserved, 717k data, 268k init, 0k highmem, 0k BadRAM)
     Checking if this processor honours the WP bit even in supervisor mode... Ok.
     Calibrating delay loop... 3293.18 BogoMIPS (lpj=1646592)
     Mount-cache hash table entries: 512
     CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000
     CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000
     CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
     CPU: L2 Cache: 256K (64 bytes/line)
     CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000020 00000000 00000000 00000000
     Intel machine check architecture supported.
     Intel machine check reporting enabled on CPU#0.
     CPU: AMD Sempron(tm) 2400+ stepping 01
     Enabling fast FPU save and restore... done.
     Enabling unmasked SIMD FPU exception support... done.
     Checking 'hlt' instruction... OK.
     ACPI: Looking for DSDT in initrd... not found.
     ENABLING IO-APIC IRQs
     ..TIMER: vector=0x31 pin1=2 pin2=-1
     checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
     Freeing initrd memory: 180k freed
     NET: Registered protocol family 16
     PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=2
     PCI: Using configuration type 1
     mtrr: v2.0 (20020519)
     ACPI: Subsystem revision 20050309
     ACPI: Interpreter enabled
     ACPI: Using IOAPIC for interrupt routing
     ACPI: PCI Root Bridge [PCI0] (0000:00)
     PCI: Probing PCI hardware (bus 00)
     Uncovering SIS963 that hid as a SIS503 (compatible=0)
     Enabling SiS 96x SMBus.
     Boot video device is .&checktime(0000,01,00,':').0
     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
     ACPI: Power Resource [URP1] (off)
     ACPI: Power Resource [URP2] (off)
     ACPI: Power Resource [FDDP] (off)
     ACPI: Power Resource [LPTP] (off)
     ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
     ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
     ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 12 14 15)
     ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
     ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 *11 12 14 15)
     ACPI: PCI Interrupt Link [LNKF] (IRQs *3 4 5 6 7 10 11 12 14 15)
     ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
     ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 11 12 14 15)
     Linux Plug and Play Support v0.97 (c) Adam Belay
     pnp: PnP ACPI init
     pnp: PnP ACPI: found 11 devices
     PnPBIOS: Disabled
     PCI: Using ACPI for IRQ routing
     PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
     apm: BIOS not found.
     audit: initializing netlink socket (disabled)
     audit(1155992543.828:0): initialized
     VFS: Disk quotas dquot_6.5.1
     Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
     devfs: 2004年01月31日 Richard Gooch (rgooch@atnf.csiro.au)
     devfs: boot_options: 0x0
     Initializing Cryptographic API
     vesafb: framebuffer at 0xc0000000, mapped to 0xe0880000, using 3750k, total 65536k
     vesafb: mode is 800x600x16, linelength=1600, pages=67
     vesafb: protected mode interface info at c000:547c
     vesafb: scrolling: redraw
     vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6> silentjpeg size 34430 bytes,<6>...found (800x600, 34382 bytes, v3).
     Console: switching to colour frame buffer device 93x30
     fb0: VESA VGA frame buffer device
     isapnp: Scanning for PnP cards...
     isapnp: No Plug & Play device found
     Real Time Clock Driver v1.12
     PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
     serio: i8042 AUX port at 0x60,0x64 irq 12
     serio: i8042 KBD port at 0x60,0x64 irq 1
     Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
     ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
     ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
     ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
     io scheduler noop registered
     io scheduler anticipatory registered
     io scheduler deadline registered
     io scheduler cfq registered
     RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
     pktcdvd: v0.2.0a 2004年07月14日 Jens Axboe (axboe@suse.de) and petero2@telia.com
     Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
     ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
     SIS5513: IDE controller at PCI slot .&checktime(0000,00,02,':').5
     SIS5513: chipset revision 0
     SIS5513: not 100% native mode: will probe irqs later
     SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
     Probing IDE interface ide0...
     hda: Maxtor 6Y060L0, ATA DISK drive
     ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
     Probing IDE interface ide1...
     hdc: CRD-8522B, ATAPI CD/DVD-ROM drive
     hdd: LITE-ON LTR-48125S, ATAPI CD/DVD-ROM drive
     ide1 at 0x170-0x177,0x376 on irq 15
     hda: max request size: 128KiB
     hda: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
     hda: cache flushes supported
     /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 >
     mice: PS/2 mouse device common for all mice
     md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
     NET: Registered protocol family 2
     IP: routing cache hash table of 4096 buckets, 32Kbytes
     TCP established hash table entries: 32768 (order: 6, 262144 bytes)
     TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
     TCP: Hash tables configured (established 32768 bind 32768)
     NET: Registered protocol family 1
     swsusp: Suspend partition has wrong signature?
     input: AT Translated Set 2 keyboard on isa0060/serio0
     ACPI wakeup devices:
     PCI0 PS2M PS2K UAR1 USB1 USB2 EHCI LAN MDM AUD
     ACPI: (supports S0 S1 S4 S5)
     BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
     devfs_mk_dev: could not append to parent for md/0
     md: Autodetecting RAID arrays.
     md: autorun ...
     md: ... autorun DONE.
     RAMDISK: Compressed image found at block 0
     VFS: Mounted root (ext2 filesystem).
     EXT3-fs: INFO: recovery required on readonly filesystem.
     EXT3-fs: write access will be enabled during recovery.
     input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
     kjournald starting. Commit interval 5 seconds
     EXT3-fs: hda7: orphan cleanup on readonly fs
     ext3_orphan_cleanup: deleting unreferenced inode 180329
     ext3_orphan_cleanup: deleting unreferenced inode 179948
     ext3_orphan_cleanup: deleting unreferenced inode 180316
     ext3_orphan_cleanup: deleting unreferenced inode 180328
     ext3_orphan_cleanup: deleting unreferenced inode 180315
     ext3_orphan_cleanup: deleting unreferenced inode 180314
     ext3_orphan_cleanup: deleting unreferenced inode 179989
     ext3_orphan_cleanup: deleting unreferenced inode 180008
     ext3_orphan_cleanup: deleting unreferenced inode 179978
     ext3_orphan_cleanup: deleting unreferenced inode 179991
     ext3_orphan_cleanup: deleting unreferenced inode 180005
     ext3_orphan_cleanup: deleting unreferenced inode 179987
     ext3_orphan_cleanup: deleting unreferenced inode 179980
     ext3_orphan_cleanup: deleting unreferenced inode 179996
     ext3_orphan_cleanup: deleting unreferenced inode 179994
     ext3_orphan_cleanup: deleting unreferenced inode 179941
     ext3_orphan_cleanup: deleting unreferenced inode 178275
     ext3_orphan_cleanup: deleting unreferenced inode 179993
     ext3_orphan_cleanup: deleting unreferenced inode 178939
     EXT3-fs: hda7: 19 orphan inodes deleted
     EXT3-fs: recovery complete.
     EXT3-fs: mounted filesystem with ordered data mode.
     Freeing unused kernel memory: 268k freed
     usbcore: registered new driver usbfs
     usbcore: registered new driver hub
     ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
     ACPI: PCI Interrupt .&checktime(0000,00,03,':').0[A] -> GSI 20 (level, low) -> IRQ 20
     ohci_hcd .&checktime(0000,00,03,':').0: OHCI Host Controller
     ohci_hcd .&checktime(0000,00,03,':').0: new USB bus registered, assigned bus number 1
     ohci_hcd .&checktime(0000,00,03,':').0: irq 20, io mem 0xcfffd000
     hub 1-0:1.0: USB hub found
     hub 1-0:1.0: 3 ports detected
     ACPI: PCI Interrupt .&checktime(0000,00,03,':').1[B] -> GSI 21 (level, low) -> IRQ 21
     ohci_hcd .&checktime(0000,00,03,':').1: OHCI Host Controller
     ohci_hcd .&checktime(0000,00,03,':').1: new USB bus registered, assigned bus number 2
     ohci_hcd .&checktime(0000,00,03,':').1: irq 21, io mem 0xcfffe000
     hub 2-0:1.0: USB hub found
     hub 2-0:1.0: 3 ports detected
     ACPI: PCI Interrupt .&checktime(0000,00,03,':').2[D] -> GSI 23 (level, low) -> IRQ 23
     ehci_hcd .&checktime(0000,00,03,':').2: EHCI Host Controller
     ehci_hcd .&checktime(0000,00,03,':').2: new USB bus registered, assigned bus number 3
     ehci_hcd .&checktime(0000,00,03,':').2: irq 23, io mem 0xcffff000
     PCI: cache line size of 64 is not supported by device .&checktime(0000,00,03,':').2
     ehci_hcd .&checktime(0000,00,03,':').2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
     hub 3-0:1.0: USB hub found
     hub 3-0:1.0: 6 ports detected
     ts: Compaq touchscreen protocol output
     usb 2-1: new full speed USB device using ohci_hcd and address 2
     bootsplash: status on console 0 changed to on
     EXT3 FS on hda7, internal journal
     Adding 779112k swap on /dev/hda6. Priority:-1 extents:1
     Linux agpgart interface v0.101 (c) Dave Jones
     agpgart: Detected SiS 741 chipset
     agpgart: AGP aperture is 64M @ 0xd0000000
     Supermount version 2.0.4 for kernel 2.6
     loop: loaded (max 8 devices)
     hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
     Uniform CD-ROM driver Revision: 3.20
     hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
     ACPI: Power Button (FF) [PWRF]
     Floppy drive(s): fd0 is 1.44M
     FDC 0 is a post-1991 82077
     NET: Registered protocol family 17
     sis900.c: v1.08.08 Jan. 22 2005
     ACPI: PCI Interrupt .&checktime(0000,00,04,':').0[A] -> GSI 19 (level, low) -> IRQ 19
     .&checktime(0000,00,04,':').0: Realtek RTL8201 PHY transceiver found at address 1.
     .&checktime(0000,00,04,':').0: Using transceiver found at address 1 as default
     eth0: SiS 900 PCI Fast Ethernet at 0xd800, IRQ 19, 00:0b:6a:8e:aa:50.
     parport: PnPBIOS parport detected.
     parport0: PC-style at 0x378 (0x778), irq 7, dma 0 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
     lp0: using parport0 (interrupt-driven).
     lp0: console ready
     eth0: Media Link On 100mbps full-duplex
     ACPI: PCI Interrupt .&checktime(0000,00,0,':')a.0[A] -> GSI 18 (level, low) -> IRQ 18
     lp0 off-line
     NET: Registered protocol family 10
     Disabled Privacy Extensions on device c03c5760(lo)
     IPv6 over IPv4 tunneling driver
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6>...found (800x600, 10117 bytes, v3).
     bootsplash: status on console 0 changed to on
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6>...found (800x600, 10117 bytes, v3).
     bootsplash: status on console 1 changed to on
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6>...found (800x600, 10117 bytes, v3).
     bootsplash: status on console 2 changed to on
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6>...found (800x600, 10117 bytes, v3).
     bootsplash: status on console 3 changed to on
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6>...found (800x600, 10117 bytes, v3).
     bootsplash: status on console 4 changed to on
     bootsplash 3.1.6-2004年03月31日: looking for picture...<6>...found (800x600, 10117 bytes, v3).
     bootsplash: status on console 5 changed to on
     [drm] Initialized drm 1.0.0 20040925
     ACPI: PCI Interrupt .&checktime(0000,01,00,':').0[A] -> GSI 16 (level, low) -> IRQ 16
     [drm] Initialized radeon 1.16.0 20050311 on minor 0:
     agpgart: Found an AGP 3.5 compliant device at .&checktime(0000,00,00,':').0.
     agpgart: Device is in legacy mode, falling back to 2.x
     agpgart: Putting AGP V2 device at .&checktime(0000,00,00,':').0 into 1x mode
     agpgart: Putting AGP V2 device at .&checktime(0000,01,00,':').0 into 1x mode
     eth0: no IPv6 routers present
     SCSI subsystem initialized
     st: Version 20050312, fixed bufsize 32768, s/g segs 256
    
  • [^] # Re: Attention à la bande passante

    Posté par . En réponse au message configurer iptables pour jouer à Wow. Évalué à 1.

    probleme résolu

    j'ai trouvé j'ai simplement installer firestarter un GUI pour iptables et cliqué partout et ça fonctionne !
  • [^] # Re: Les tableaux c'est pas beau...

    Posté par . En réponse au message Tableau dynamique de pointeur vers char. Évalué à 0.

    ok j'ai compris l'interrêt des listes chainée je vais refaire mon code en utilisant les listes chainée. Ce sera mieux. Merci du conseil. Si t'en as d'autres c'est le bienvenue pour un débutant en C comme moi mais qui as déjà utilisé d'autre langages.
  • [^] # Re: Les tableaux c'est pas beau...

    Posté par . En réponse au message Tableau dynamique de pointeur vers char. Évalué à 0.

    je crois que j'ai plus ou moins compris ce que tu voulais dire thomas.

    Je connais pas la technique buffer-Overflow mais je vais me renseigner la dessus le code fonctionne mais maintenant il me renvoie segmentation fault quand il y a plus de 19 mots dans la liste j'y comprends rien...



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <ctype.h>


    int main(void)
    {

    /* Ouverture du fichier de configuration pour y récupérer la liste de processus */
    FILE *fp;

    if ((fp = fopen("proc_liste.conf", "r")) == NULL)
    {
    fprintf(stderr, "\nErreur à l'ouverture du fichier");
    exit(1);
    }


    /* Lecture du contenu du fichier caractà ̈re par caractà ̈re et stockage en mémoire du fichier */
    char now[2] = "a";
    char prec = '0円';
    char **message;
    long count = -1;

    message = (char **)calloc(1, sizeof(char *));

    while ((now[0] = fgetc(fp)) != EOF)
    {

    /* Vérifie si c'est un nouveau mot pour stocker, sinon complete le mot avec la nouvelle lettre */
    if (isalnum(now[0]) != 0 && isalnum(prec) == 0)
    {
    count++;
    if (count > 0)
    message = (char **)realloc(message, (count + 1) * sizeof(char *));

    message[count] = malloc(sizeof(char) * 2);
    strcat (message[count], now);
    }
    else if (isalnum(now[0]) != 0 && isalnum(prec) != 0)
    {
    message[count] = realloc(message[count], (strlen(message[count]) + strlen(now) + 1));
    strcat (message[count], now);
    }
    prec = now[0];

    }

    /* affichage du fichier maintenant contenu en mémoire */
    long e;
    for (e = 1; e <= count; e++)
    puts(message[e]);

    /* liberer la mémoire utilisée */
    long i;
    for (i = 0; i <= count; i++)
    free(message[i]);

    fclose(fp);
    return(0);
    }


    quand il y a que 19 mot dans le fichier ça fonctionne plus le prog me fait des problemes.
  • [^] # Re: c'est plus amont

    Posté par . En réponse au message Tableau dynamique de pointeur vers char. Évalué à 0.

    je voulais bien créé un tableau de 1 pointeur sur un char, pour stocker un mot dedans (trouvé dans le fichier).

    mais quand il découvre un deuxième mot il faut que le tableau permette d'accueillir un nouveau pointeur vers la chaine qui contiendra le mot...

    Le programme fonctionne impect si je met char *message[2000];
    alors il pourrra stocker 2000 mot que je trouve dans le fichier mais je veux que il soit adapté si il n'y a que 1 mot ou s'il en trouve 5000...

    C'est pour ça que j'ai besoin que le tableau s'agrandisse pour met un pointeur char de plus dedans...
  • # réagissez bordel !

    Posté par . En réponse à la dépêche DADVSI : suite.... Évalué à 0.

    il faut réagir linuxfr ! la loi à été voté et c'est même pas annoncer en 1er page à quoi bon en parler si c'est pour ce dégonfler quand il faut pas. Cette loi annonce la mort du libre et pas de réaction franchement je suis déçu.

    il y a qu'a voir ce qu'il ce passe sur http://donkeyddanett62.free.fr/ pour comprendre.
  • [^] # Re: les droits ne me semblent pas bon.

    Posté par . En réponse au message ssh veux que des mot de pass !. Évalué à 1.

    celui du compte sur le serveur ...
  • [^] # Re: les droits ne me semblent pas bon.

    Posté par . En réponse au message ssh veux que des mot de pass !. Évalué à 1.

    j'ai essayer ça rien à faire marche pas. Est-ce que les deux ordinateur doivent possedé la clef public de l'autre ? ou seulement la clef public de l'ordi auquel on veut se connecter ?
  • [^] # Re: Répertoire home

    Posté par . En réponse au message ssh veux que des mot de pass !. Évalué à 1.

    c'est le cas :
    drwxr-xr-x 48 noob noob 4096 fév 26 01:49 noob/
  • [^] # Re: les droits ne me semblent pas bon.

    Posté par . En réponse au message ssh veux que des mot de pass !. Évalué à 1.

    j'ai mit les droit que tu m'as donné ça à rien changé. Je comprend vraiment pas parce que je peux me connecter si je donne le mot de pass !