malc changed the topic of #ocaml to: OCaml 3.06 released: http://caml.inria.fr/ocaml/distrib.html | http://www.ocaml.org/ | http://caml.inria.fr/oreilly-book/ | http://icfp2002.cs.brown.edu/ | SWIG now supports OCaml
gjgj has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
skylan has joined #ocaml
gl has quit [Read error: 113 (No route to host)]
mr_bubbs has quit ["buh bah!"]
mr_bubbs has joined #ocaml
yangsx has joined #ocaml
yangsx has quit ["Client Exiting"]
kruskal has joined #ocaml
skylan has quit ["sleepies."]
kruskal has left #ocaml []
IRCMonkey has joined #ocaml
IRCMonkey has left #ocaml []
Jozan has joined #ocaml
<Jozan> Hi. Looking for an intro/tutorial to Ocaml [not the official one thanks]
Jozan has left #ocaml []
gl has joined #ocaml
malc has joined #ocaml
malc has quit ["no reason"]
* gl is away: I'm busy
karryall has joined #ocaml
malc has joined #ocaml
<mr_bubbs> malco
<malc> bubbs
<mr_bubbs> have a question you should be able to answer :)
<malc> uh.. shoot
<mr_bubbs> I've been looking in the Unix module docs and I can't find anyway to convert a sockaddr to the inet_addr host, int port that was passed to it
<mr_bubbs> I was typing the question out, hehe
Dalroth has joined #ocaml
<malc> match sockaddr with Unix.ADDR_INET (addr, port) -> print_endline 'wooohoo' | _ -> failwith "oh fuck"
<mr_bubbs> yeah, that's the problem
<mr_bubbs> the sockaddr is returned from Unix.accept
<mr_bubbs> it's an unknown addr, port value pair
<malc> xscuseme?
<mr_bubbs> oh.. that fills in addr, port?
<mr_bubbs> I will try it :)
<mr_bubbs> thanks
gl has quit [Read error: 113 (No route to host)]
karryall has quit ["bye .."]
gl has joined #ocaml
malc has quit ["no reason"]
TimFreeman has joined #ocaml
TimFreeman has left #ocaml []
gl has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
malc has joined #ocaml
malc has quit ["no reason"]
exarkun has quit [Read error: 104 (Connection reset by peer)]
exarkun has joined #ocaml
exarkun_ has joined #ocaml
exarkun has quit ["ircII EPIC4-1.0.1 -- Are we there yet?"]
exarkun_ has quit [Client Quit]
exarkun has joined #ocaml
Dalroth has quit []
Yurik has joined #ocaml
<Yurik> re
<Yurik> hi guys
<Yurik> if somebody is there :)
<Yurik> seems that nobody
<Yurik> :)
<pnou_> yeah
<Yurik> oh, pnou_, hi
<pnou_> hi Yurik
<pnou_> what's up ?
<Yurik> umm.. found a job :) so a bti well
<Yurik> s/bti/bit/
<pnou_> great !
<gl> 'lo dudes
<Yurik> not very profitable job, though
<gl> what kind of job ?
<pnou_> a job is a job :)
<Yurik> my startup is 150-200$ :((
<gl> :)
<pnou_> well, it's better than 100$ :)
<Yurik> heh
<Yurik> well
<Yurik> that salaries in my gfs country... i hate 'em :)
<pnou_> but isn't life cheaper too ?
<Yurik> generally it is not very cheap
<Yurik> offical life minimum per month is about 65-70$ but only official
<Yurik> so that salaries sucks
<pnou_> yep i see
* Yurik will be a bit later
<pnou_> later ?
<Yurik> yep
<Yurik> i wanna call my friend to drink a bit... my mood isn't good
<pnou_> you found a job
<Yurik> yeah... in marriage agency :((
<Yurik> programmer's job, but stupid
<pnou_> well that's better than nothing
<pnou_> you will find a nicer job later
<Yurik> i hope
<Yurik> and no ocaml there, only python
two-face has joined #ocaml
<Yurik> however, i'll disconnect for few minutes
<two-face> Yo
<Yurik> two-face, hi
<mr_bubbs> you're complaining about python? heh
<two-face> hi Yurik
<gl> cya yurik
<mr_bubbs> I've only managed to get PHP and perl
<gl> salut two-face
<Yurik> mr_bubbs: well, it is worth that ocaml
<two-face> salut gl
<pnou_> Yurik lucky you
<two-face> hey pnou_
<mr_bubbs> I'd love a job doing python, hehe
<Yurik> pnou_: thx
<pnou_> imagine they could use C :/
<pnou_> yop two-face :)
<Yurik> mr_bubbs: come here :)
<two-face> I'm a Python 1337 h4x0r !
<mr_bubbs> Yurik: where is here again?
<pnou_> python has lambda abstraction
<Yurik> ok. cu shortly, guys
<mr_bubbs> you could use C.. you could also have a headache, hehe
<pnou_> poor lambda abstractions ok, but lambda abstractions :)
<pnou_> it's nearly a real language
<mr_bubbs> I need to move out of the US, for one
<Yurik> mr_bubbs: Ukraine
<two-face> Ukraine ! Rockets!
<Yurik> mr_bubbs: move out of the U.S.? what for?
<Yurik> two-face: eek, which rockets?
<two-face> Yurik: russian ! :)
<Yurik> two-face: former russian :))
<two-face> bah
<two-face> former Mir !
* Yurik will celebrate 11 years of independence from Russia this saturday
<Yurik> hah. Mir
<two-face> How's life in ukraine ?
<pnou_> it's not as cheap as you think
<pnou_> yep, i know lot's of things !
<Yurik> two-face: strange
<two-face> how strange ?
<smkl> i heard there are all kinds of funky mutant animals and plants
<Yurik> two-face: at one hand, it is quite good.. at other... umm
<two-face> how are chicks ?
<Yurik> two-face: umm... theoretically Ukraine could be very good country
<two-face> irridiated ?
<Yurik> smkl: only near Chernobyl
<Yurik> smkl: and only a bit, afaik. nobody of civil citizen seen 'em (i think)
<Yurik> two-face: but our political guys are a bit damned
<Yurik> two-face: most of them are ex-USSR politians
<Yurik> two-face: and that is bad
* Yurik called friend by cellular ph. and so willn't disconnect (at least manually)
<two-face> Yurik: democracy is a long process
<Yurik> two-face: yeah. very long
<mr_bubbs> two-face: what is that image about?
<Yurik> two-face: generally, we have democracy already. but we have damned apparatus of that damned people. they makes life suck
<Yurik> s/makes/make/
<two-face> mr_bubbs: a gettext fork plan :)
<two-face> Yurik: you'll have to wait for a new generation of politicians
<Yurik> two-face: about 50 years :)))
<two-face> Yurik: that's right
<Yurik> two-face: and that is bad :(
<Yurik> i'll be 70 that time
<two-face> hmm
<two-face> so you have many chances to see political changes
<Yurik> only see :)
<two-face> Yurik: it took one century in France
<two-face> so 50 is not that bad
<Yurik> two-face: hah.. France, France...
<Yurik> two-face: I love this country
<two-face> why?
<Yurik> why? i dunno. just love (don't know about all the France, but Paris...)
<two-face> ah Paris :)
<two-face> Nice place for tourists :)
<Yurik> two-face: well, i lived there for 4 month
<Yurik> two-face: not in hotel
<Yurik> two-face: and i really love it
<two-face> good
<two-face> what did you do there?
<Yurik> two-face: nothing :)
<Yurik> two-face: my dad worked there
<Yurik> two-face: i just walked, walked and walked...
<two-face> ah
<two-face> people who work here don't have the same opinion (I'm 5 minutes from Paris)
<Yurik> and /me remembers communists' demonstration at place de republic (or how should i write it?) ?
<two-face> ah ah communists !
<two-face> morons
gl has quit [Read error: 104 (Connection reset by peer)]
gl has joined #ocaml
<Yurik> two-face: aha
<Yurik> two-face: i wanted to ask them whether they want USSR #2
<two-face> two-face: i don't what they want. They may be lost in time. They have blood on their hands anyway
<Yurik> my country was on 70 years communists' press :(
<two-face> yeah
<Yurik> so i don't whant then to become a leading party in the europe
<Yurik> especially western
<Yurik> since they was for a long period in eastern
<Yurik> my friend has arrived and gone for bottle
<Yurik> s/was/were/
<two-face> i agree with you. However, nationalists seem to be the nearest danger in europe currenlt
<two-face> y
<Yurik> yeah
<Yurik> you are right
<Yurik> some of our parties are nationalists
<two-face> sure
<Yurik> sometimes they are good for us
<Yurik> most of the time
<two-face> in what?
<Yurik> but some time they can make a harm
<two-face> sure
<Yurik> in what? hm.. in new good laws, in protecting our country's things (numerous)
<two-face> overprotectionnism?
<Yurik> umm... i dunno right now
<Yurik> may be you're right
<jankr> hi... one question... how does one usually organize very large projects in ocaml? I mean the files.
<Yurik> they are trying to threw west from here
<Yurik> jankr: as for me, it is very painful question
<two-face> jankr: what do you mean organizing?
<jankr> directories, project specific libraries and such
<jankr> I'm used to java, where the package names maps to directories and you have .jar files
<Yurik> jankr: may be findlib will solve part of your problems
<two-face> jankr: there are no ideal rules
<jankr> so there's no language specific features for this?
Yurik has quit [Read error: 104 (Connection reset by peer)]
<two-face> jankr: no there aren't
<jankr> is there any plans to fix that?
<two-face> fix what? what's broken?
<jankr> ok, not fix... add that
<smkl> you can generate cm[x]a files, they correspond to jar files. with pack, you can generate modules that correspond to directory layout
<two-face> what for? You can organize directories like you want and use include options
Yurik has joined #ocaml
<Yurik> re
<Yurik> i got disconnected
<Yurik> 've i missed something?
xray has joined #ocaml
<two-face> Yurik: yes
<Yurik> two-face: the last message i saw was "there is no ideal rules"
<two-face> Yurik: you missed the end of the world, but you know, that was boring, really
<Yurik> two-face: :)))))))))
<Yurik> the end of the world.. that's nice
<smkl> Yurik: tunes.org/~nef/logs/ocaml
<Yurik> i'd like to see it
<two-face> Yurik: please keep this secret, i don't want people to panic
<mr_bubbs> logs? heh
* Yurik typed 'links tunes.org/~nef/logs/ocaml'
* Yurik waits
<two-face> smkl: i know the owner of tunes.org personaly, I think he owes us some explainations :)
<Yurik> lucky two-face
<two-face> me?
<Yurik> yep. two-face knows tunes.org owner personnaly :)
<jankr> smkl: pack was exactly what I'm looking for... is there also a way to load .cmx files dynamically (and explicit) during runtime?
<Yurik> jankr: yes. but only in bytecode, afair
<two-face> Yurik: yes, look
<two-face> FARÉ, YOU ARE A FUCKING BASTARD !!!!!
<Yurik> eek?
<two-face> in case he read logs :)
<Yurik> ah :)
<smkl> fare has nothing to do with the logs, though
* Yurik still did not got logs
<two-face> smkl: ah, good
<Yurik> btw. does somebody needs pool functionality for ocaml?
<two-face> what's this?
<Yurik> just a pool (for pooling connections, for example)
<two-face> dunno
<Yurik> friend is back with bottle :)
<two-face> ah
<two-face> druken!
xray has left #ocaml []
<two-face> Yurik: i'm going to drink a glass of water, what a shame
laeos has joined #ocaml
Yurik has quit [Read error: 104 (Connection reset by peer)]
two-face has quit ["Client Exiting"]
Yurik has joined #ocaml
<Yurik> re
<Yurik> sorry
<Yurik> got disconnected already
<Yurik> s/already/again/
* Yurik is starting drinking 0.5l for two bodies :)))
<mr_bubbs> what was the pooling thing again?
<Yurik> two classes that implements pooling
<mr_bubbs> I see
<Yurik> mainly for pooling connections
* mr_bubbs is working on a threaded httpd
<Yurik> however, implementation is quite abstract
<Yurik> so you may be interested in pooling :)
<mr_bubbs> :)
<Yurik> and it is gpled
<Yurik> so...if you're interested, i could send it
<Yurik> hwoever, it is not multithreaded... but, it could be mted easily (just one mutex)
<Yurik> we're drinking for my friend's passport. he got it
<mr_bubbs> what did he have to do
<Yurik> :)
gl has quit [Killed (NickServ (Ghost: foo!~foo@du-212-17.nat.adsl.freesurf.fr))]
gl has joined #ocaml
Yurik has left #ocaml []
whee has joined #ocaml
Dalroth has joined #ocaml