Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1501 Le 24/01/2011, à 02:29

samυncle

Re : /* Topic des codeurs couche-tard [3] */

smile


Hello world

Hors ligne

#1502 Le 24/01/2011, à 03:40

cm-t

Re : /* Topic des codeurs couche-tard [3] */

'Nuit;

Dernière modification par cm-t (Le 24/01/2011, à 04:05)


Actu Ubuntu            ☺/
Pauses Ubuntu sur Paris            \_< -t
[(π)] La Quadrature du net

Hors ligne

#1503 Le 24/01/2011, à 04:17

nesthib

Re : /* Topic des codeurs couche-tard [3] */

plop


GUL Bordeaux : GirollServices libres : TdCT.org
Hide in your shell, scripts & astuces :  applications dans un tunnelsmart wgettrouver des pdfinstall. auto de paquetssauvegarde auto♥ awk
  ⃛ɹǝsn xnuᴉꞁ uʍop-ǝpᴉsdn

Hors ligne

#1504 Le 24/01/2011, à 05:04

samυncle

Re : /* Topic des codeurs couche-tard [3] */

nesthib a écrit :

plop

++


Hello world

Hors ligne

#1505 Le 24/01/2011, à 08:42

Compteur du TdCCT

Re : /* Topic des codeurs couche-tard [3] */

Scores totaux, depuis le début :

1) 2401    nesthib
2) 2263    samuncle
3) 1934    Pylade
4) 1556    Кຼزດ
5) 1180+5  grim7reaper /* ./viewtopic.php?pid=3486252#p3486252 */
6) 1120    cm-t
7) 799    Р☢w ! ✰ :mad: ✰ (эй !)
8) 790    helly
9) 783    \\Ouranos//
10) 622    gnuuat
11) 538    Lagierl
12) 384    tshirtman
13) 196    Askelon
14) 189    Kanor
15) 183    Rolinh
16) 172    nathéo
17) 152    The Uploader
18) 121    ǤƦƯƝƬ
19) 93    petifrancais
20) 78    edge_one
20) 78    pierguiard
22) 70    gulp
22) 70    kamui57
24) 39    Le Rouge
25) 37    ilagas
26) 30    keny
27) 25    GentooUser
27) 25    Morgiver
27) 25    xapantu
30) 24    ไ୦บเઢ'
30) 24    Steap
32) 21    :!pakman
33) 20    CROWD
33) 20    d10g3n
35) 18    Ph3nix_
36) 15    timsy
37) 14    kouskous
38) 12    stratoboy
38) 12    sailing
38) 12    sakul
41) 11    alexises
41) 11    Crocoii
43) 10    Toineo
43) 10    NutMotion
43) 10    pseudovingtcinqcaracteres
43) 10    pfriedZ
43) 10    CasseTaTele
48) 8    Mornagest
49) 7    Vista
50) 6    Zeibux
50) 6    ubuntlin
50) 6    asma.geek
53) 5    tendances-tdct
53) 5    kinouchou
53) 5    gustare
56) 4    danychou56
56) 4    Neros
56) 4    Biaise
56) 4    totoflute
56) 4    pinballyoda ㋛
61) 3    Revan26914
62) 2    SoJaS
62) 2    ceric
64) 1    geenux

RépartitionPosts/heure


Codez-vous trop tard le soir ?
Demandez au Compteur du TdCCT pour le savoir !

J’ai été généreusement codé par tshirtman ; d’ailleurs, voici mon code source. TdCCT CEP : ./viewtopic.php?pid=3493579#p3493579 (p3492608).

Hors ligne

#1506 Le 24/01/2011, à 08:42

Compteur du TdCCT

Re : /* Topic des codeurs couche-tard [3] */

Scores de la période en cours :

1) 200    nesthib
2) 198    samuncle
3) 162    Pylade
4) 141    Кຼزດ
5) 131    grim7reaper
6) 102    Rolinh
7) 90    gnuuat
8) 72    cm-t
9) 67    Р☢w ! ✰ :mad: ✰ (эй !)
10) 59    The Uploader
11) 49    helly
12) 36    tshirtman
13) 21    :!pakman
14) 20    Lagierl
15) 15    \\Ouranos//
16) 11    kamui57
17) 10    CasseTaTele
18) 7    Le Rouge
19) 5    gustare
20) 4    Kanor
21) 3    Steap
21) 3    xapantu

Codez-vous trop tard le soir ?
Demandez au Compteur du TdCCT pour le savoir !

J’ai été généreusement codé par tshirtman ; d’ailleurs, voici mon code source. TdCCT CEP : ./viewtopic.php?pid=3493579#p3493579 (p3492608).

Hors ligne

#1507 Le 24/01/2011, à 10:34

gustare

Re : /* Topic des codeurs couche-tard [3] */

je code en ...
guitare, encre noire, blender et kdenlive
smile
http://vimeo.com/19064872

enfin, j'apprends quoi...

Hors ligne

#1508 Le 24/01/2011, à 12:36

helly

Re : /* Topic des codeurs couche-tard [3] */

Outch, on peut dire que c'est original tout cas tongue.


Archlinux-wmii-dwb.
Un problème résolu ? Faites le savoir en mettant [résolu] à côté du titre de votre topic.
Un problème non résolu ? Faites le savoir en insultant ceux qui cherchent à vous aider.
Un site bleu super remasterised©, un wiki cherchant des volontaires pour traduire un site.

Hors ligne

#1509 Le 24/01/2011, à 19:10

Elzen

Re : /* Topic des codeurs couche-tard [3] */

Bon, question existentielle : est-ce que je reprends le code de ma calculatrice pour virer les trucs totalement inutiles dans une calculatrice que je n'ai codé que parce que le prof avait marqué dans le sujet que ça rapporterait des points (genre variables, lecture/écritures de fichiers et tests conditionnels, par exemple), que je corrige les trucs qui ne vont pas dans l'interface graphique et que je me penche sur GNU ReadLine et compagnie pour développer une vraie interface cli (qui accepte les touches directionnelles, par exemple, pas comme le machin auto-généré par flex/bison) histoire de pouvoir m'en servir si jamais j'ai besoin d'une calculatrice…

…ou bien est-ce que je vais continuer ma partie de Wesnoth ? neutral

Hors ligne

#1510 Le 24/01/2011, à 19:54

Кຼزດ

Re : /* Topic des codeurs couche-tard [3] */

Je pense avoir la réponse…


dou

Hors ligne

#1511 Le 24/01/2011, à 21:45

grim7reaper

Re : /* Topic des codeurs couche-tard [3] */

Aujourd'hui j'ai fait un Hello World en module noyau ^^
Bon en fait je l'ai fait chez moi, parce qu'en TP il semble qu'il y ai un problème entre le noyau installé et la version de gcc (options obsolètes…).
Résultat : 2h à essayer de compiler en vain ce foutu module de 10 lignes -_-").

Chez moi ça passe tout seul. C'est vrai que le Makefile pour compiler ces bêtes-là est un peu particulier…



Hé ! Mais maintenant je sais comment compiler le module noyau pour les bouteilles de bières \o/.

grim7reaper@chaos ~]$make beer        
make -C /lib/modules/2.6.36-ARCH/build SUBDIRS=/home/grim7reaper modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.36-ARCH »
  CC [M]  /home/grim7reaper/beer.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/grim7reaper/beer.mod.o
  LD [M]  /home/grim7reaper/beer.ko
make[1]: quittant le répertoire « /usr/src/linux-2.6.36-ARCH »
grim7reaper@chaos ~]$su
Mot de passe : 
root@chaos grim7reaper]$ mknod /dev/beer c 240 0
root@chaos grim7reaper]$ insmod ./beer.ko
grim7reaper@chaos ~]$cat /dev/beer
99 bottles of beer on the wall, 99 bottles of beer.
Take one down and pass it around, 98 bottles of beer on the wall.
98 bottles of beer on the wall, 98 bottles of beer.
Take one down and pass it around, 97 bottles of beer on the wall.
97 bottles of beer on the wall, 97 bottles of beer.
Take one down and pass it around, 96 bottles of beer on the wall.
96 bottles of beer on the wall, 96 bottles of beer.
Take one down and pass it around, 95 bottles of beer on the wall.
95 bottles of beer on the wall, 95 bottles of beer.
Take one down and pass it around, 94 bottles of beer on the wall.
94 bottles of beer on the wall, 94 bottles of beer.
Take one down and pass it around, 93 bottles of beer on the wall.
93 bottles of beer on the wall, 93 bottles of beer.
Take one down and pass it around, 92 bottles of beer on the wall.
92 bottles of beer on the wall, 92 bottles of beer.
Take one down and pass it around, 91 bottles of beer on the wall.
91 bottles of beer on the wall, 91 bottles of beer.
Take one down and pass it around, 90 bottles of beer on the wall.
90 bottles of beer on the wall, 90 bottles of beer.
Take one down and pass it around, 89 bottles of beer on the wall.
89 bottles of beer on the wall, 89 bottles of beer.
Take one down and pass it around, 88 bottles of beer on the wall.
88 bottles of beer on the wall, 88 bottles of beer.
Take one down and pass it around, 87 bottles of beer on the wall.
87 bottles of beer on the wall, 87 bottles of beer.
Take one down and pass it around, 86 bottles of beer on the wall.
86 bottles of beer on the wall, 86 bottles of beer.
Take one down and pass it around, 85 bottles of beer on the wall.
85 bottles of beer on the wall, 85 bottles of beer.
Take one down and pass it around, 84 bottles of beer on the wall.
84 bottles of beer on the wall, 84 bottles of beer.
Take one down and pass it around, 83 bottles of beer on the wall.
83 bottles of beer on the wall, 83 bottles of beer.
Take one down and pass it around, 82 bottles of beer on the wall.
82 bottles of beer on the wall, 82 bottles of beer.
Take one down and pass it around, 81 bottles of beer on the wall.
81 bottles of beer on the wall, 81 bottles of beer.
Take one down and pass it around, 80 bottles of beer on the wall.
80 bottles of beer on the wall, 80 bottles of beer.
Take one down and pass it around, 79 bottles of beer on the wall.
79 bottles of beer on the wall, 79 bottles of beer.
Take one down and pass it around, 78 bottles of beer on the wall.
78 bottles of beer on the wall, 78 bottles of beer.
Take one down and pass it around, 77 bottles of beer on the wall.
77 bottles of beer on the wall, 77 bottles of beer.
Take one down and pass it around, 76 bottles of beer on the wall.
76 bottles of beer on the wall, 76 bottles of beer.
Take one down and pass it around, 75 bottles of beer on the wall.
75 bottles of beer on the wall, 75 bottles of beer.
Take one down and pass it around, 74 bottles of beer on the wall.
74 bottles of beer on the wall, 74 bottles of beer.
Take one down and pass it around, 73 bottles of beer on the wall.
73 bottles of beer on the wall, 73 bottles of beer.
Take one down and pass it around, 72 bottles of beer on the wall.
72 bottles of beer on the wall, 72 bottles of beer.
Take one down and pass it around, 71 bottles of beer on the wall.
71 bottles of beer on the wall, 71 bottles of beer.
Take one down and pass it around, 70 bottles of beer on the wall.
70 bottles of beer on the wall, 70 bottles of beer.
Take one down and pass it around, 69 bottles of beer on the wall.
69 bottles of beer on the wall, 69 bottles of beer.
Take one down and pass it around, 68 bottles of beer on the wall.
68 bottles of beer on the wall, 68 bottles of beer.
Take one down and pass it around, 67 bottles of beer on the wall.
67 bottles of beer on the wall, 67 bottles of beer.
Take one down and pass it around, 66 bottles of beer on the wall.
66 bottles of beer on the wall, 66 bottles of beer.
Take one down and pass it around, 65 bottles of beer on the wall.
65 bottles of beer on the wall, 65 bottles of beer.
Take one down and pass it around, 64 bottles of beer on the wall.
64 bottles of beer on the wall, 64 bottles of beer.
Take one down and pass it around, 63 bottles of beer on the wall.
63 bottles of beer on the wall, 63 bottles of beer.
Take one down and pass it around, 62 bottles of beer on the wall.
62 bottles of beer on the wall, 62 bottles of beer.
Take one down and pass it around, 61 bottles of beer on the wall.
61 bottles of beer on the wall, 61 bottles of beer.
Take one down and pass it around, 60 bottles of beer on the wall.
60 bottles of beer on the wall, 60 bottles of beer.
Take one down and pass it around, 59 bottles of beer on the wall.
59 bottles of beer on the wall, 59 bottles of beer.
Take one down and pass it around, 58 bottles of beer on the wall.
58 bottles of beer on the wall, 58 bottles of beer.
Take one down and pass it around, 57 bottles of beer on the wall.
57 bottles of beer on the wall, 57 bottles of beer.
Take one down and pass it around, 56 bottles of beer on the wall.
56 bottles of beer on the wall, 56 bottles of beer.
Take one down and pass it around, 55 bottles of beer on the wall.
55 bottles of beer on the wall, 55 bottles of beer.
Take one down and pass it around, 54 bottles of beer on the wall.
54 bottles of beer on the wall, 54 bottles of beer.
Take one down and pass it around, 53 bottles of beer on the wall.
53 bottles of beer on the wall, 53 bottles of beer.
Take one down and pass it around, 52 bottles of beer on the wall.
52 bottles of beer on the wall, 52 bottles of beer.
Take one down and pass it around, 51 bottles of beer on the wall.
51 bottles of beer on the wall, 51 bottles of beer.
Take one down and pass it around, 50 bottles of beer on the wall.
50 bottles of beer on the wall, 50 bottles of beer.
Take one down and pass it around, 49 bottles of beer on the wall.
49 bottles of beer on the wall, 49 bottles of beer.
Take one down and pass it around, 48 bottles of beer on the wall.
48 bottles of beer on the wall, 48 bottles of beer.
Take one down and pass it around, 47 bottles of beer on the wall.
47 bottles of beer on the wall, 47 bottles of beer.
Take one down and pass it around, 46 bottles of beer on the wall.
46 bottles of beer on the wall, 46 bottles of beer.
Take one down and pass it around, 45 bottles of beer on the wall.
45 bottles of beer on the wall, 45 bottles of beer.
Take one down and pass it around, 44 bottles of beer on the wall.
44 bottles of beer on the wall, 44 bottles of beer.
Take one down and pass it around, 43 bottles of beer on the wall.
43 bottles of beer on the wall, 43 bottles of beer.
Take one down and pass it around, 42 bottles of beer on the wall.
42 bottles of beer on the wall, 42 bottles of beer.
Take one down and pass it around, 41 bottles of beer on the wall.
41 bottles of beer on the wall, 41 bottles of beer.
Take one down and pass it around, 40 bottles of beer on the wall.
40 bottles of beer on the wall, 40 bottles of beer.
Take one down and pass it around, 39 bottles of beer on the wall.
39 bottles of beer on the wall, 39 bottles of beer.
Take one down and pass it around, 38 bottles of beer on the wall.
38 bottles of beer on the wall, 38 bottles of beer.
Take one down and pass it around, 37 bottles of beer on the wall.
37 bottles of beer on the wall, 37 bottles of beer.
Take one down and pass it around, 36 bottles of beer on the wall.
36 bottles of beer on the wall, 36 bottles of beer.
Take one down and pass it around, 35 bottles of beer on the wall.
35 bottles of beer on the wall, 35 bottles of beer.
Take one down and pass it around, 34 bottles of beer on the wall.
34 bottles of beer on the wall, 34 bottles of beer.
Take one down and pass it around, 33 bottles of beer on the wall.
33 bottles of beer on the wall, 33 bottles of beer.
Take one down and pass it around, 32 bottles of beer on the wall.
32 bottles of beer on the wall, 32 bottles of beer.
Take one down and pass it around, 31 bottles of beer on the wall.
31 bottles of beer on the wall, 31 bottles of beer.
Take one down and pass it around, 30 bottles of beer on the wall.
30 bottles of beer on the wall, 30 bottles of beer.
Take one down and pass it around, 29 bottles of beer on the wall.
29 bottles of beer on the wall, 29 bottles of beer.
Take one down and pass it around, 28 bottles of beer on the wall.
28 bottles of beer on the wall, 28 bottles of beer.
Take one down and pass it around, 27 bottles of beer on the wall.
27 bottles of beer on the wall, 27 bottles of beer.
Take one down and pass it around, 26 bottles of beer on the wall.
26 bottles of beer on the wall, 26 bottles of beer.
Take one down and pass it around, 25 bottles of beer on the wall.
25 bottles of beer on the wall, 25 bottles of beer.
Take one down and pass it around, 24 bottles of beer on the wall.
24 bottles of beer on the wall, 24 bottles of beer.
Take one down and pass it around, 23 bottles of beer on the wall.
23 bottles of beer on the wall, 23 bottles of beer.
Take one down and pass it around, 22 bottles of beer on the wall.
22 bottles of beer on the wall, 22 bottles of beer.
Take one down and pass it around, 21 bottles of beer on the wall.
21 bottles of beer on the wall, 21 bottles of beer.
Take one down and pass it around, 20 bottles of beer on the wall.
20 bottles of beer on the wall, 20 bottles of beer.
Take one down and pass it around, 19 bottles of beer on the wall.
19 bottles of beer on the wall, 19 bottles of beer.
Take one down and pass it around, 18 bottles of beer on the wall.
18 bottles of beer on the wall, 18 bottles of beer.
Take one down and pass it around, 17 bottles of beer on the wall.
17 bottles of beer on the wall, 17 bottles of beer.
Take one down and pass it around, 16 bottles of beer on the wall.
16 bottles of beer on the wall, 16 bottles of beer.
Take one down and pass it around, 15 bottles of beer on the wall.
15 bottles of beer on the wall, 15 bottles of beer.
Take one down and pass it around, 14 bottles of beer on the wall.
14 bottles of beer on the wall, 14 bottles of beer.
Take one down and pass it around, 13 bottles of beer on the wall.
13 bottles of beer on the wall, 13 bottles of beer.
Take one down and pass it around, 12 bottles of beer on the wall.
12 bottles of beer on the wall, 12 bottles of beer.
Take one down and pass it around, 11 bottles of beer on the wall.
11 bottles of beer on the wall, 11 bottles of beer.
Take one down and pass it around, 10 bottles of beer on the wall.
10 bottles of beer on the wall, 10 bottles of beer.
Take one down and pass it around, 9 bottles of beer on the wall.
9 bottles of beer on the wall, 9 bottles of beer.
Take one down and pass it around, 8 bottles of beer on the wall.
8 bottles of beer on the wall, 8 bottles of beer.
Take one down and pass it around, 7 bottles of beer on the wall.
7 bottles of beer on the wall, 7 bottles of beer.
Take one down and pass it around, 6 bottles of beer on the wall.
6 bottles of beer on the wall, 6 bottles of beer.
Take one down and pass it around, 5 bottles of beer on the wall.
5 bottles of beer on the wall, 5 bottles of beer.
Take one down and pass it around, 4 bottles of beer on the wall.
4 bottles of beer on the wall, 4 bottles of beer.
Take one down and pass it around, 3 bottles of beer on the wall.
3 bottles of beer on the wall, 3 bottles of beer.
Take one down and pass it around, 2 bottles of beer on the wall.
2 bottles of beer on the wall, 2 bottles of beer.
Take one down and pass it around, 1 bottle of beer on the wall.
1 bottle of beer on the wall, 1 bottle of beer.
Take one down and pass it around, no more bottles of beer on the wall.
No more bottles of beer on the wall, no more bottles of beer.
Go to the store and buy some more, 99 bottles of beer on the wall.

big_smile

Dernière modification par grim7reaper (Le 24/01/2011, à 21:46)

Hors ligne

#1512 Le 24/01/2011, à 21:58

The Uploader

Re : /* Topic des codeurs couche-tard [3] */

énorme le module! XD

Bah mwa j'ai fait du Ruby on Rails aujourd'hui (stage à l'année), et comme le langage est super dynamique (c'est même de la dynamite..) et que RoR fait toute la plomberie, bah mon plugin avance super vite, et chaque problème se résoud en 2/3 lignes de code! yikes

C'est fou comme c'est reposant... peut être un peu trop (vite, du C!)! tongue

Temps fort : RoR propose pas mal de "hook" pour les plugins (endroits où on peut insérer du RHTML)
Ben s'il manque un hook où il faut sur la page, pas grave: on peut en déclarer un en deux lignes, et hop! c'est bon. smile
-> tutoriel exemple de plugin... c'est fun le modèle MVC! tongue

Bref, modèle MVC+bonne documentation+framework (RoR) + langage super dynamique et full OO, eh ben faire un plugin n'a jamais été aussi simple! yikes

Dernière modification par The Uploader (Le 24/01/2011, à 21:59)


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1513 Le 24/01/2011, à 22:00

grim7reaper

Re : /* Topic des codeurs couche-tard [3] */

Avoue que tu rêves d'une API Ruby pour scripter The Gimp (à la place du Scheme par exemple tongue)

Hors ligne

#1514 Le 24/01/2011, à 22:03

The Uploader

Re : /* Topic des codeurs couche-tard [3] */

une bonne documentation à la place d'une absence de documentation serait déjà un rêve. tongue

Mais oui, ce serait le rêve ultime... yikes


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1515 Le 24/01/2011, à 22:15

Pylades

Re : /* Topic des codeurs couche-tard [3] */

@ArkSeth : il y a déjà une calculatrice pas mal qui existe, elle s'appelle python


@Grim7reaper : le makefile, le makefile ! \o/


“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
                Linus Torvalds – 12 janvier 2003

Hors ligne

#1516 Le 24/01/2011, à 22:24

grim7reaper

Re : /* Topic des codeurs couche-tard [3] */

En partant du principe que le fichier source s'appelle beer.c

obj-m := beer.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

beer:
    $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

Sinon, j'ai du ajouter

#include <linux/slab.h>

au fichier source.

Dernière modification par grim7reaper (Le 24/01/2011, à 22:25)

Hors ligne

#1517 Le 24/01/2011, à 23:04

Кຼزດ

Re : /* Topic des codeurs couche-tard [3] */

Laissez vous tenter par les marches de l'enfer… (partie interpréteur notamment)


dou

Hors ligne

#1518 Le 24/01/2011, à 23:18

The Uploader

Re : /* Topic des codeurs couche-tard [3] */

des variables en Java qui font moins de 20 caractères, c'est pas des dév' Java qui ont pondu ça! tongue

Dernière modification par The Uploader (Le 24/01/2011, à 23:18)


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1519 Le 24/01/2011, à 23:20

Pylades

Re : /* Topic des codeurs couche-tard [3] */

'tain, même avec ma Arch, je n'ai pas les makefiles qui vont bien… ><"


Sinon, comment peut-on choisir la police par défaut de X (sur Arch en particulier) ?

Dernière modification par Pylade (Le 24/01/2011, à 23:30)


“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
                Linus Torvalds – 12 janvier 2003

Hors ligne

#1520 Le 24/01/2011, à 23:27

grim7reaper

Re : /* Topic des codeurs couche-tard [3] */

The Uploader a écrit :

des variables en Java qui font moins de 20 caractères, c'est pas des dév' Java qui ont pondu ça! tongue

Mouais, enfin y a quand mêmedes trucs comme ça…

ctx.setRetour(com.fxpayet.testalgo.bib.Math.power(new Double(ctx.depilerParam().toString()), new Double(ctx.depilerParam().toString())));

Dernière modification par grim7reaper (Le 24/01/2011, à 23:27)

Hors ligne

#1521 Le 24/01/2011, à 23:29

The Uploader

Re : /* Topic des codeurs couche-tard [3] */

ah ben voilà, quand ça ressemble à du Scheme tellement y'a de parenthèses, on sent le dév Java! cool


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1522 Le 24/01/2011, à 23:29

Pylades

Re : /* Topic des codeurs couche-tard [3] */

Up.


“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
                Linus Torvalds – 12 janvier 2003

Hors ligne

#1523 Le 24/01/2011, à 23:38

grim7reaper

Re : /* Topic des codeurs couche-tard [3] */

Pylade a écrit :

'tain, même avec ma Arch, je n'ai pas les makefiles qui vont bien… ><"

C'est quoi le message d'erreur ?
Tu as bien installé le paquet kernel26-headers ?

Pylade a écrit :

Sinon, comment peut-on choisir la police par défaut de X (sur Arch en particulier) ?

Je me suis jamais penché là dessus, mais je pense que le fichier ~/.Xdefaults (pas forcément présent) est une bonne piste.



The Uploader a écrit :

ah ben voilà, quand ça ressemble à du Scheme tellement y'a de parenthèses, on sent le dév Java! cool

D'après les commentaires, ils sont cinq…



Sinon, un truc qui m'a fait rire hier (j'aurais bien laisser un commentaire, mais en finalement j'ai eu la flemme…).
En Haskell :
- temps de développement : ~4-5 min.
- temps d'exécution

./029_solution  0,04s user 0,00s system 44% cpu 0,106 total

Code

problem_29 = (length.group.sort) [a^b | a <- [2..100], b <- [2..100]]

J'en déduis que le Java offre des perf' moisies pour un gain niveau temps de dev' pas si flagrant que ça big_smile
Bon après, c'est peut-être (très probablement) son algo qui pue (mais bon ça c'est plus du ressort du langage…), j'ai pas creusé plus que ça.

Dernière modification par grim7reaper (Le 24/01/2011, à 23:46)

Hors ligne

#1524 Le 24/01/2011, à 23:56

Pylades

Re : /* Topic des codeurs couche-tard [3] */

grim7reaper a écrit :
Pylade a écrit :

'tain, même avec ma Arch, je n'ai pas les makefiles qui vont bien… ><"

C'est quoi le message d'erreur ?
Tu as bien installé le paquet kernel26-headers ?
[…]

Je viens de vérifier, et… en effet ! J'étais pourtant sûr de les avoir !
J'ai dû oublier de les remettre quand j'ai relancé mon installation… hmm


“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
                Linus Torvalds – 12 janvier 2003

Hors ligne

#1525 Le 25/01/2011, à 00:01

Кຼزດ

Re : /* Topic des codeurs couche-tard [3] */

grim7reaper a écrit :
The Uploader a écrit :

des variables en Java qui font moins de 20 caractères, c'est pas des dév' Java qui ont pondu ça! tongue

Mouais, enfin y a quand mêmedes trucs comme ça…

ctx.setRetour(com.fxpayet.testalgo.bib.Math.power(new Double(ctx.depilerParam().toString()), new Double(ctx.depilerParam().toString())));

Personnellement c'est plutôt les if (true) throw machinException qui m'ont marqué, m'enfin


dou

Hors ligne