gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
|marius|_ has joined #ocaml
|marius| has quit [Ping timeout: 240 seconds]
|marius|_ has quit [Remote host closed the connection]
mjonsson has joined #ocaml
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
jakedouglas has quit [Quit: Leaving.]
Nutssh has joined #ocaml
jakedouglas has joined #ocaml
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
olauzon has quit [Ping timeout: 265 seconds]
olauzon has joined #ocaml
Edward has quit []
willb has quit [Read error: Operation timed out]
willb has joined #ocaml
jakedouglas has quit [*.net *.split]
boscop has quit [*.net *.split]
seafood has joined #ocaml
jakedouglas has joined #ocaml
boscop has joined #ocaml
olauzon has quit [Quit: olauzon]
_unK has quit [Remote host closed the connection]
seafood_ has joined #ocaml
seafood has quit [Ping timeout: 258 seconds]
seafood_ has quit [Ping timeout: 264 seconds]
ASpiwack has quit [Ping timeout: 276 seconds]
ASpiwack has joined #ocaml
mjonsson has quit [Quit: Leaving]
ulfdoz has joined #ocaml
Nutssh has quit [Quit: Client exiting]
alpounet has quit [Read error: Operation timed out]
alpounet has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
hyperboreean has quit [Ping timeout: 258 seconds]
hyperboreean has joined #ocaml
valross has quit [Ping timeout: 265 seconds]
ASpiwack has quit [Ping timeout: 276 seconds]
ASpiwack has joined #ocaml
asmanur has joined #ocaml
oriba has joined #ocaml
asmanur_ has quit [Read error: Operation timed out]
JimmyRcom has quit [Ping timeout: 245 seconds]
ulfdoz has quit [Read error: Operation timed out]
asmanur has quit [Ping timeout: 240 seconds]
asmanur has joined #ocaml
valross has joined #ocaml
Yoric has joined #ocaml
walrus__ has joined #ocaml
valross has quit [Ping timeout: 240 seconds]
joewilliams is now known as joewilliams_away
oriba has quit [Quit: Verlassend]
valross has joined #ocaml
valross has quit [Client Quit]
valross has joined #ocaml
walrus__ has quit [Ping timeout: 276 seconds]
Amorphous has quit [Ping timeout: 276 seconds]
asmanur_ has joined #ocaml
asmanur has quit [Ping timeout: 276 seconds]
asmanur has joined #ocaml
asmanur_ has quit [Ping timeout: 264 seconds]
Amorphous has joined #ocaml
Yoric has quit [Quit: Yoric]
ygrek has joined #ocaml
Yoric has joined #ocaml
<gildor> ygrek: ping
<gildor> ygrek: I read your _oasis in extunix
<gildor> I am impressed
<gildor> and I would also ack the bug when you uploaded it to oasis-db
valross has quit [Quit: Ex-Chat]
ttamttam has joined #ocaml
ikaros has joined #ocaml
th5 has joined #ocaml
ftrvxmtrx has joined #ocaml
fraggle_ has quit [Read error: Connection reset by peer]
fraggle_ has joined #ocaml
avsm has joined #ocaml
iago has joined #ocaml
barismetin has joined #ocaml
easy4 has joined #ocaml
jjd27 has quit [Remote host closed the connection]
ttamttam has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
_andre has joined #ocaml
verte has joined #ocaml
sepp2k has joined #ocaml
ikaros_ has joined #ocaml
ikaros_ has quit [Read error: Connection reset by peer]
ikaros has quit [Ping timeout: 276 seconds]
jonafan_ has joined #ocaml
jonafan has quit [Ping timeout: 264 seconds]
ikaros_ has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
avsm has quit [Quit: Leaving.]
TaXules_ has left #ocaml []
ikaros_ has quit [Quit: Leave the magic to Houdini]
avsm has joined #ocaml
ikaros has joined #ocaml
JimmyRcom has joined #ocaml
f[x] has quit [Ping timeout: 265 seconds]
f[x] has joined #ocaml
_unK has joined #ocaml
oriba has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
mjonsson has joined #ocaml
oriba has left #ocaml []
joewilliams_away is now known as joewilliams
mjonsson has quit [Ping timeout: 252 seconds]
vpalle_ has joined #ocaml
fremo___ has joined #ocaml
explodus_ has joined #ocaml
alp_ has joined #ocaml
alpounet has quit [Quit: Bye.]
explodus has quit [Ping timeout: 276 seconds]
fremo__ has quit [Ping timeout: 276 seconds]
alp_ is now known as alpounet
sepp2k has quit [Remote host closed the connection]
barismetin has quit [Remote host closed the connection]
jakedouglas has joined #ocaml
jonafan_ is now known as jonafan
Associat0r has joined #ocaml
verte has quit [Quit: ~~~ Crash in JIT!]
roconnor has joined #ocaml
<roconnor> when I do ocamlopt.opt ..blah.. gtk_mathview.ml it works fine, but
<roconnor> when I do export TMPDIR=.test
<roconnor> then do ocamlopt.opt ..blah.. gtk_mathview.ml I get the error
<roconnor> Error: I/O error: .test/camlasmdb4f86.s: No such file or directory
<adrien> does that file exist in /tmp ?
<thelema> and does .test/ exist?
<roconnor> nope
<roconnor> hmm
<roconnor> I just noticed that if I make the .test directory then it does work
<adrien> heh
* roconnor sighs
* roconnor reviews how the debian package works
ftrvxmtrx has quit [Quit: Leaving]
<kaustuv_> Why does stdlib/filename.ml roll its own temp_file_name even on systems that would have tempnam(3) or mkstem(3)?
<kaustuv_> err, mkstemp(3)
<adrien> might be harder/longer to handle platform that doesn't
<roconnor> okay doing "ensureDir .test" seems to work
<roconnor> though I don't really understand why the debian package doesn't seem to do this
<roconnor> I should email the debian mainatiner
<gildor> why do you want to overload TMPDIR when building debian packages ?
<gildor> roconnor: ^^^
avsm has quit [Quit: Leaving.]
th5 has quit [Quit: th5]
Proteus has quit [Quit: Ex-Chat]
f[x] has quit [Ping timeout: 260 seconds]
Yoric has quit [Quit: Yoric]
<roconnor> gildor: That is the way the authors made their Makefile
<roconnor> gildor: it seems like a mistake to me
ulfdoz has joined #ocaml
<roconnor> oh, maybe debian doesn't do a make opt
<roconnor> and hence avoids the problem
<roconnor> this seems likely
Anarchos has joined #ocaml
Associat0r has quit [Quit: Associat0r]
ftrvxmtrx has joined #ocaml
sepp2k has joined #ocaml
ygrek has joined #ocaml
Yoric has joined #ocaml
<MarcWeber> Does ocaml 3.11 ship with a range like function?
<rwmjones> MarcWeber: what sort of function do you mean?
<hcarty> MarcWeber: Batteries provides ( -- ) which gives an integer enumeration
<MarcWeber> Yes, that's what I was looking for and what I found here: http://stackoverflow.com/questions/243864/what-is-the-ocaml-idiom-equivalent-to-pythons-range-function
<MarcWeber> I'm not going to add a dependency on batteries for my usage. But I'll keep it in mind.
* Yoric sends subliminal waves to MarcWeber: use Batteries. Batteries are good for you. Batteries are your friend. Long live Batteries.
<Anarchos> i am looking for db (dmitry bely)
iago has quit [Quit: Leaving]
vpalle_ has quit [Ping timeout: 272 seconds]
olauzon has joined #ocaml
<ygrek> gildor, thanks, but whats so impressive? copied from some of your code I think :)
oriba has joined #ocaml
vpalle has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
metasyntax` has quit [Quit: Be seeing you.]
_andre has quit [Quit: Lost terminal]
pkl has joined #ocaml
Anarchos has quit [Ping timeout: 276 seconds]
Yoric has quit [Quit: Yoric]
<joewilliams> im trying to figure out why i would get "Fatal error: exception Failure("nth")" trying to compile. my local box has no issue compiling it but my remote server does. any ideas?
<adrien> compiling what exactly?
vpalle has quit [Ping timeout: 240 seconds]
<joewilliams> adrien: a single ml module for parsing text files
<oriba> Failure("nth") looks like List.nth, but the fatal error looks strange
<adrien> simple call to ocamlc/ocamlopt? how was ocaml installed?
<joewilliams> ocaml was installed with apt-get, sorry i mis-typed, its when i run it "$ ./a.out /srv/rsyslog/2010/09/02/lb02.us-west-1b/haproxy
<joewilliams> Fatal error: exception Failure("nth")"
<ygrek> get the backtrace and stop guessing, probably some cmd line arg is missing
<joewilliams> happens with ocamlc and ocamlopt
<joewilliams> heres the code : http://gist.github.com/563501
<joewilliams> i assume its the nth on line 24
<joewilliams> weird its something with my input file, apparently they are different on my machine and the server
<hcarty> joewilliams: export OCAMLRUNPARAM=b
<hcarty> joewilliams: Compile with debugging (-g) and run it again
<joewilliams> thanks hcarty
<hcarty> It should give you a backtrace which points to the location of the error
<adrien> well, it's also usually a bad idea to use List.nth and you can probably do without
ftrvxmtrx has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
<joewilliams> im just need to grab a specific column out of each line of the log, splitting the string and grabbing that item in the array seemed like the simplest way to do it. better suggestions?
<adrien> I'd probably rework the regexp to extract only the 15th occurence, or fail as soon as possible (when it fails to get a list with at least 15 elements) and print the corresponding line
<joewilliams> thanks adrien
<gildor> ygrek: you use PostConf/PostInstall et al, this is very nice
roconnor has quit [Remote host closed the connection]
<gildor> ygrek: concerning oasis-db, it hasn't take into account your _oasis because of custom plugin, this is something I need to fix
<ygrek> custom plugin?
<gildor> ygrek: BTW, in your TODO you complain about too complex build system is too complex
<ygrek> btw currently "make configure" doesn't work (though it is .PHONY)
<gildor> custom -> this is indirect
<ygrek> gildor, look at myocamlbuild.ml, this is primarily because of camlp4
<gildor> at this is the error reported in the error.log
<gildor> I still need to have a closer look at this
<gildor> ygrek: too complex because of your "my_dispatch" ?
<ygrek> yes
<ygrek> final result may not look complex, but I spent some considerable time figuring it out, and I am not new to such kind of setup
<gildor> oh, I think it was because of OASIS
<gildor> indeed, I think you use the right solution however
<ygrek> nope, because of camlp4+ocamlbuild+custom requirements
<ygrek> btw, I am planning to add rlimit wrappers, currently I am using ones from annexlib, but noticed posix-resource in db
<ygrek> maybe we could cooperate :)
<gildor> ... indeed, I need to release it officialy
<gildor> I'll setup the project tomorrow
<gildor> I'll add you to the member
<gildor> but it will be darcs ;-)
* gildor know that you hate me because of darcs
* ygrek thought more of adding it to extunix not vice versa :)
<ygrek> indeed :)
<gildor> in extunix, why not
<gildor> keep the ounit testing and add me to the project member
* gildor had to go
<gildor> see you
<ygrek> ok
<ygrek> bb
* ygrek falls asleep
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 265 seconds]
ygrek has quit [Ping timeout: 245 seconds]
oriba has quit [Quit: Verlassend]
JimmyRcom has quit [Quit: Leaving.]
JimmyRcom has joined #ocaml
<MarcWeber> How to explicitely declare a type of a function (let binding) ?
<MarcWeber> found it
jakedouglas has joined #ocaml
jeddhaberstro has joined #ocaml
groovy2shoes has joined #ocaml
olauzon has quit [Quit: olauzon]