dark_light changed the topic of #ocaml to: OCaml 3.09.2 available! Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
shekmalhen has joined #ocaml
<shining_> I don't know what is it and I don't want to, but I certainly wouldn't pay for it, nor get it for free :)
<zmdkrbou> huhu
shekmalhen has left #ocaml []
<zmdkrbou> youknow365: you still have to convince us, it seems :)
<Grincheux> convince you about what ?
<zmdkrbou> 01:35 < youknow365> been in the works fdor like 1.5 years and this is the last thing
<zmdkrbou> 01:36 < youknow365> it will put me on the map i got awsome marekting with sweet magazines
<zmdkrbou> 01:36 < youknow365> you might even use it
<zmdkrbou> 01:48 < youknow365> if you did freelance
<zmdkrbou> 01:48 < youknow365> you would use my service
<zmdkrbou> 01:48 < youknow365> i can almost say 99.9 :P
<zmdkrbou> youknow365: i want to know !
mpc has joined #ocaml
<youknow365> you guys there ?
<zmdkrbou> yep
<Grincheux> no
Smerdyakov has joined #ocaml
<youknow365> i will expalin the whole bussiness once its done
<youknow365> it wiull be better
<youknow365> which should be very soon as soon as i get this IM client done :P
<zmdkrbou> aaheeem
<zmdkrbou> if will be *very* simple if it's done so quick
<zmdkrbou> telnet is ok as an irc client if you go this way :)
<youknow365> huh?
<Grincheux> once it's done? from what I read so far, I'd say "when chicken will have teeth"
* zmdkrbou prefers the "when hurd/l4 will be released" way of saying this
Smerdyakov has quit ["Leaving"]
<youknow365> Grincheux: you would be suprised
<youknow365> this im client is just the last peice of the pie
EsotericMoniker has quit ["Trillian (http://www.ceruleanstudios.com"]
<youknow365> now i jus need ot get this part done
<youknow365> once i get the basic concept of this done it should be pretty fast
<youknow365> but i assure you some of you will use my service :P
<Grincheux> especially if it runs on windows
<zmdkrbou> :D
<youknow365> now this select is the problem
<youknow365> so basically all a select is is a loop that keep checking to see if data can written or data is there to be read
<youknow365> right ?
<zmdkrbou> WHAT ?
<youknow365> whooooow CAPS
<zmdkrbou> youknow365: do you want me to grep my logs to know how long you've been stucked a on simple select problem ?
<zmdkrbou> and you tell me you'll have a nice thing soon ?
<zmdkrbou> 4 letters :
<zmdkrbou> R T F M
<youknow365> zmdkrbou: lol
<youknow365> this im client is jus an addition
<youknow365> the main service will not even remoterly require the im client
<zmdkrbou> i don't know what is this service which requires not any programming knowledge from you, but i doubt more and more that it can be interesting ...
<zmdkrbou> if the rest of your project was code, then what language did you use, and how could you not use select if it's a network-related thing ?
<youknow365> i have programmed in multiple languages
<zmdkrbou> (out of curiosity, which ones ?)
<youknow365> php ruby and
<youknow365> a little pike
<youknow365> did a few perl scripts
<zmdkrbou> and is it network ?
<youknow365> what are you talking about
<zmdkrbou> you're whole project
<youknow365> this is the first network programmign i have done ever
<zmdkrbou> -'-e
<youknow365> ?
<youknow365> now i jus need to get this completed so i can finssh everything
<zmdkrbou> the stuff you coded using php, ruby etc.
<youknow365> yes
<zmdkrbou> what was it ?
<youknow365> a website
<zmdkrbou> huhoho
<youknow365> i have done multiple things in php
<youknow365> built a few shopping carts
<youknow365> etc
<zmdkrbou> if it's a website and it involves IM and shopping carts, be sure i won't be the one using it
<youknow365> lol are you serious
<youknow365> it doesnt involve ANY shopping cart
<youknow365> you put all those together for your own persoanl gratification
<zmdkrbou> 03:35 < youknow365> built a few shopping carts << ?
<youknow365> yes
<zmdkrbou> before this you meant ?
<youknow365> i thought you were askign what i have done
<zmdkrbou> ok
<youknow365> in programming in gerneral
<youknow365> networking ibn php isnt even close to this
<zmdkrbou> i suppose so
<youknow365> fsockopen = adasdasdasdsad done
<youknow365> soo noooow back to my quest
<youknow365> i am going ot try and rig a select up
<youknow365> int select(int nfds, fd_set *readset,
<youknow365> fd_set *writeset,
<youknow365> fd_set *exceptset, struct timeval *timeout);
<youknow365> this is the function right?
<zmdkrbou> no
<zmdkrbou> this is a c function
<youknow365> in C
<youknow365> thats what i meant
<zmdkrbou> do you know that (how surprising) there is a doc for ocaml module Unix ?
<zmdkrbou> which contains a description of Unix.select
<youknow365> ooooo
<youknow365> you got a link
* zmdkrbou cannot believe this
<TSC> Can we sign up for your service now??
<zmdkrbou> http://caml.inria.fr/pub/docs/manual-ocaml/libref/Unix.html << and youknow365, do you know too that there is something called "google" that you can use to find this ?
<youknow365> zmdkrbou: i fully understand
<youknow365> zmdkrbou: your anger but i wasn't about to google in lynx
<youknow365> and im recompiling firefox
<zmdkrbou> you are compiling firefox ?
<zmdkrbou> you guy have a seeeeerious problem with your head
<zmdkrbou> plus i though you were on windows !
<youknow365> nooooo
<youknow365> linux
<youknow365> slackware
<youknow365> anmd im compiling with a mod to it
<youknow365> omg man
<youknow365> damn
<zmdkrbou> apfff
<youknow365> i know i dont know much about ocaml ......but dont cricify me for every computer move i make
<youknow365> crucify*
<zmdkrbou> you can't use a langage and believe there's no doc for it
<zmdkrbou> if so you shouldn't use it
<youknow365> like i said im using lynx at the moment
<youknow365> i google 24 7
Grincheux has quit ["maison"]
<youknow365> zmdkrbou: you also dont understnad how hard documentation and shit is to read if you dont know the language to good
<zmdkrbou> s/too good/at all/
<zmdkrbou> well maybe learning a language before you use it to code real-world app is a good idea
<shining_> you'll never know a language without reading documentation, so this doesn't make sense
<youknow365> well doing while learjing has been working very well except for this little problem
<youknow365> i want tio program in an iterative way though
<shining_> I really don't know why you are using ocaml, but I don't think you should
shining_ has quit ["leaving"]
<youknow365> he says i shoulnt use ocaml then he leaaaves
falconair has quit []
<Shimei> youknow365: If you need to learn Ocaml, try http://www.ocaml-tutorial.org and don't complain about docs. :P
pango_ has joined #ocaml
pango has quit [Remote closed the connection]
Kai1111 has left #ocaml []
youknow365 has quit [Read error: 110 (Connection timed out)]
youknow365 has joined #ocaml
<youknow365> i think im getting somewhere
mpc has quit []
<Shimei> Hmm. Since OCaml's type inference engine can accept objects with specific functions, wouldn't that be considered a type of duck typing?
<Shimei> Or does that term only apply to dynamically typed languages?
<Shimei> s/functions/methods/
<Shimei> Ah, Wikipedia to the rescue. "Yet another approach similar to duck typing is OCaml's structural subtyping, where object types are compatible if their method signatures are compatible, regardless of their declared inheritance. This is all detected at compile time through OCaml's type inference system."
shawn__ has quit [Read error: 110 (Connection timed out)]
shawn__ has joined #ocaml
<youknow365> i got ot get this up tonight
smimou has joined #ocaml
postalchris has joined #ocaml
dark_light has quit [Read error: 113 (No route to host)]
desc|office has joined #ocaml
postalchris has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
Snark has joined #ocaml
d-bug has joined #ocaml
kral has joined #ocaml
pango_ has quit [Remote closed the connection]
slipstream has joined #ocaml
smimou has quit ["bli"]
pango has joined #ocaml
postalchris has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
<kral> i'm looking for the source code of an irc bot written in ocaml, but i was not able to find anything in the net. do you guys know where i can find something?
<zmdkrbou> huhu ppsmimou :)
<ppsmimou> ;)
<kral> oh, thank you
<oracle1> is there something like common lisps WITH-OPEN-FILE for ocaml? where it closes the open resources when exciting the scope of it?
<love-pingoo> no, but you can write it
<oracle1> with camlp4 ?
<love-pingoo> juste write a function of type string -> (in_channel -> unit) -> unit
<love-pingoo> and call (with_open_file "myfile" mybody)
<oracle1> yes, that's an idea.
<oracle1> thanks
<oracle1> ah.. thanks
cratuki has joined #ocaml
<cratuki> I'm on a gentoo system and have installed dev-ml/postgresql-ocaml
<cratuki> But at the ocaml prompt, 'open Postgresql;;' gives 'Unbound module'
<cratuki> What strategy could I use to work out what's wrong?
<ppsmimou> what are the .cma provided ?
<ppsmimou> ah no
<ppsmimou> you should do "ocaml postgresql.cma"
<cratuki> I've got a bunch of .cma files in /usr/lib/ocaml
<cratuki> .. but no postgresql.cma
<cratuki> Strange - I installed the package..
<ppsmimou> here it's in usr/lib/ocaml/3.09.2/postgresql/postgresql.cma (Debian)
<ppsmimou> cratuki: here is the right command line
<ppsmimou> ocaml -I +postgresql postgresql.cma
<cratuki> Ah - my 'locate' was stale
<cratuki> That doesn't work - it says it can't find postgresql.cma
<cratuki> But I have found the file
<cratuki> Is there an equiv to what I know from java as CLASSPATH or from python as PYTHON_PATH?
<cratuki> Using that command with a full path to the .cma file gets me into an ocaml prompt, but subsequent attempt to 'open Postgresql;;' still gives unbound module.
<ppsmimou> strange
<cratuki> Aha! success.
<cratuki> This works: 'ocaml -I /usr/lib/ocaml/site-packages/postgresql/'
<cratuki> ppsmimou: I should have checked out man for the ocaml command.
b00t has joined #ocaml
youknow365 has quit [Read error: 113 (No route to host)]
kral has quit [Read error: 113 (No route to host)]
kral has joined #ocaml
m3ga has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
yella_ has joined #ocaml
yella_ is now known as carrumba
Wild_Cat has joined #ocaml
kral has quit [Read error: 113 (No route to host)]
kral has joined #ocaml
desc|office has quit ["In search of profound simplicity"]
love-pingoo has quit [Read error: 60 (Operation timed out)]
b00t has quit [Remote closed the connection]
Wild_Cat has left #ocaml []
carrumba has left #ocaml []
Boojum has joined #ocaml
Snark has quit [Read error: 110 (Connection timed out)]
kral has quit [Read error: 113 (No route to host)]
kral has joined #ocaml
Boojum is now known as Snark
Smerdyakov has joined #ocaml
postalchris has quit ["Trillian (http://www.ceruleanstudios.com"]
kral has quit [Read error: 113 (No route to host)]
kral has joined #ocaml
kral has quit [Read error: 113 (No route to host)]
kral has joined #ocaml
fridim has joined #ocaml
<fridim> hi
<zmdkrbou> ho
Yorick has joined #ocaml
kral has quit [Read error: 113 (No route to host)]
Wild_Cat has joined #ocaml
smimou has joined #ocaml
Wild_Cat has quit ["Leaving"]
finelemon has joined #ocaml
EsotericMoniker has joined #ocaml
dark_ has joined #ocaml
dark_ is now known as dark_light
finelemo1 has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
pango has quit ["Leaving"]
pango has joined #ocaml
dmitri83 has joined #ocaml
Yorick has left #ocaml []
fridim has left #ocaml []
shawn__ has quit ["This computer has gone to sleep"]
shawn__ has joined #ocaml
maml2 has joined #ocaml
shawn__ has quit ["This computer has gone to sleep"]
shawn__ has joined #ocaml
youknow365 has joined #ocaml
<youknow365> anyone up :P
maml2 is now known as maml
<maml> ?
ulfdoz has quit [Remote closed the connection]
ulfdoz has joined #ocaml
dmitri83 has quit [Remote closed the connection]
love-pingoo has quit [Read error: 110 (Connection timed out)]
Snark has quit ["Leaving"]
<youknow365> to use a select i need a conditional right ?
dark_light has quit ["Leaving"]
youknow365 has quit [sterling.freenode.net irc.freenode.net]
cratuki has quit [sterling.freenode.net irc.freenode.net]
Amorphous has quit [sterling.freenode.net irc.freenode.net]
piggybox has quit [sterling.freenode.net irc.freenode.net]
youknow365 has joined #ocaml
cratuki has joined #ocaml
Amorphous has joined #ocaml
piggybox has joined #ocaml
Revision17 has quit [Read error: 104 (Connection reset by peer)]
Revision17 has joined #ocaml
shawn__ has quit [Read error: 60 (Operation timed out)]
d-bug has left #ocaml []
shawn__ has joined #ocaml
nattfodd has joined #ocaml
shawn__ has quit [Connection reset by peer]
shawn__ has joined #ocaml
smimou has quit ["bli"]
<youknow365> so do i use a conditional for a select or not ?
chessguy has joined #ocaml
shawn__ is now known as shawn
jcreigh has joined #ocaml