reltuk has quit [Read error: 54 (Connection reset by peer)]
lus|wazze has quit ["Werner Heisenberg was driving down the freeway, when he's pulled over for speeding. "Do you know how fast you were going, sir]
systems has quit ["Client Exiting"]
docelic has quit ["Client Exiting"]
Kinners has left #ocaml []
reltuk has joined #ocaml
Smerdyakov has quit ["ok sleep"]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 60 (Operation timed out)]
lament has quit ["I WILL STOP PHONING IT IN"]
gt2 has joined #ocaml
rhil is now known as rhil_zzz
reltuk has quit [Read error: 104 (Connection reset by peer)]
foxster has joined #ocaml
reltuk has joined #ocaml
lament has joined #ocaml
reltuk has quit [Read error: 104 (Connection reset by peer)]
lament has quit ["I WILL REMEMBER TO TAKE MY MEDICATION"]
docelic has joined #ocaml
docelic has quit [Remote closed the connection]
owll has joined #ocaml
owll has quit [Client Quit]
docelic has joined #ocaml
docelic has quit ["Client Exiting"]
reltuk has joined #ocaml
reltuk has quit [Read error: 54 (Connection reset by peer)]
lus|wazze has joined #ocaml
lus|wazze has quit [asimov.freenode.net irc.freenode.net]
mrvn_ has quit [asimov.freenode.net irc.freenode.net]
gl has quit [asimov.freenode.net irc.freenode.net]
themus has quit [asimov.freenode.net irc.freenode.net]
Demitar has joined #ocaml
lus|wazze has joined #ocaml
mrvn_ has joined #ocaml
gl has joined #ocaml
themus has joined #ocaml
Demitar has quit ["There are bubbles in the air..."]
karryall has quit ["tcho"]
two-face has joined #ocaml
systems has joined #ocaml
two-face has quit ["Client exiting"]
reltuk has joined #ocaml
systems has quit [Read error: 110 (Connection timed out)]
docelic has joined #ocaml
<async>
hmm
<async>
whenever i'm writing ocaml i get the feeling that i'm writing in disguised C
<Riastradh>
??
<async>
well everything i write is totally imperative
<Riastradh>
Um, so don't write totally imperative code.
<lus|wazze>
to write effective ocaml you have to think about the data structures first, before anything else
<lus|wazze>
solidly designed recursive data structures then lend themselves well to writing functional, recursive code for operating on them
mrvn has joined #ocaml
Smerdyakov has joined #ocaml
mrvn_ has quit [Read error: 60 (Operation timed out)]
noss has joined #ocaml
owll has joined #ocaml
rhil_zzz is now known as rhil
systems has joined #ocaml
lament has joined #ocaml
noss has quit ["[x]chat"]
systems has quit ["Client Exiting"]
amitm has joined #ocaml
reltuk has quit [Read error: 104 (Connection reset by peer)]
mattam has joined #ocaml
Smerdyakov has quit ["eat + more!"]
mattam_ has quit [Connection timed out]
docelic has quit ["Client Exiting"]
rhil is now known as rhil_store
two-face has joined #ocaml
Smerdyakov has joined #ocaml
reltuk has joined #ocaml
two-face has quit ["Client exiting"]
polin8 has quit ["Lost terminal"]
owll has quit ["Client Exiting"]
Yurik has quit [Read error: 113 (No route to host)]
amitm has quit [Connection timed out]
lament has left #ocaml []
polin8 has joined #ocaml
rhil_store is now known as rhil
Smerdyakov has quit ["go"]
docelic has joined #ocaml
noss has joined #ocaml
rhil is now known as rhil_work
docelic is now known as nudedude
d-bug has joined #ocaml
d-bug has left #ocaml []
Yurik has joined #ocaml
noss has left #ocaml []
stepcut has joined #ocaml
Leo037 has joined #ocaml
<Leo037>
hi all !
<Leo037>
is someone can translate me a sentence in french ?
* Riastradh
speaks French, but not very well.
<nudedude>
use google language tools
<Leo037>
``The programming tool of choice for discriminating hackers''
<Riastradh>
It just means that it's a cool language.
<Leo037>
i'm french but i don't understand the sense of "discriminating"
<Riastradh>
OCaml est super...hyper!...cool.
<Leo037>
L'outil de choix pour hackers "discriminant" ?
<Riastradh>
I believe it's supposed to mean 'hackers who carefully choose their language' or something (sorry, I don't know how to translate it into French, but I can simplify it in English).
<Leo037>
i think is it about determining who is hacker or not
<lus|wazze>
no
<Leo037>
``The programming tool of choice for discriminating WHO IS hackers''
<lus|wazze>
it means those hackers who are careful in chosing, in this case, their programming tool
<lus|wazze>
ie
<Riastradh>
No, I don't think that's what it means, Leo037.
<lus|wazze>
"the programming tool of choice for hackers who are careful [=discriminating] in choosing [their programming tools]"
<Leo037>
ok
<Leo037>
thanks for your help
jao has joined #ocaml
gt2 has quit [Read error: 60 (Operation timed out)]
Smerdyakov has joined #ocaml
<Leo037>
what is the common way to use other lib ? like sdl or opengl or else....
<Leo037>
i want to know the common way to do an "include"
<mrvn>
You use them.
<mrvn>
You can open the namespace or use the full name all the time.
<mrvn>
Just like any other module.
<Leo037>
for example, with sdl, i do a "#include <sdl.h>" or something else, but what must i do with caml
<mrvn>
Not sure if there is a sdl module though.-
<Leo037>
use module;; ?
<Smerdyakov>
That isn't how you use a library in C, Leo037. That just prototypes functions, mostly. You still need to link in the library code.
<mrvn>
Look at how to interface ocaml with C in the docs.
<mrvn>
Leo037: Sdl.blub bla barf;;
<mrvn>
if the Module for sdl is names Sld.
<mrvn>
Sdl even
<Leo037>
or use Sdl;; blul bla barf;; no ?
jao has left #ocaml []
<mrvn>
I never use that. Clutters the namespace.
<Leo037>
"clutter the namespace" ?
<mrvn>
Say Sdl has a function calles close and you have one. Those will then collide.
<mrvn>
The later defined one will shadow the other.
<mrvn>
So I would allways use Sdl.close directly.
<Leo037>
ok
nudedude is now known as docelic
<Leo037>
thanks
Leo037 has left #ocaml []
<async>
i bet ocaml could own in any obfuscated code contest
<mrvn>
ocaml is pretty unobfuscated
<mrvn>
perl is obfuscted, some languages are designed to be obfuscted. Some languages are even designed to make writeing code hard.
<docelic>
indeed
<docelic>
see all from Niklaus Wirth
<Riastradh>
e.g., Malbolge.
<docelic>
what the fuck was going on in that poor professor's head will remain a mistery
<mrvn>
Malbolge is the language where they have "write a 'Hello World!' prog" contests.
<mrvn>
I think the shortes malgorg prog fior hello world is 89 bytes currently.
<lus|wazze>
i dont think i can take malbolge seriously until i see a proof of its turing completeness
<Riastradh>
If I remember correctly, the best they managed was something like 'heLlO worLD,' or something.
<lus|wazze>
unlambda, on the other hand, rocks
<mrvn>
Riastradh: no, they got a complete one with genetic algorithms and speculative execution and depth search.
<lus|wazze>
yes and i thought that one only produced "heLlO woRlD" or something like that