<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>
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?
<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)]