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