hcarty changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
slash_ has quit [Client Quit]
Hadaka has quit [hubbard.freenode.net irc.freenode.net]
Demitar has quit [hubbard.freenode.net irc.freenode.net]
jeddhaberstro has quit [hubbard.freenode.net irc.freenode.net]
onigiri has quit [hubbard.freenode.net irc.freenode.net]
Ched has quit [hubbard.freenode.net irc.freenode.net]
Ringo47 has quit [hubbard.freenode.net irc.freenode.net]
BigJ has quit [hubbard.freenode.net irc.freenode.net]
tarbo2 has quit [hubbard.freenode.net irc.freenode.net]
nnyby has quit [hubbard.freenode.net irc.freenode.net]
mattam has quit [hubbard.freenode.net irc.freenode.net]
tab has quit [hubbard.freenode.net irc.freenode.net]
davidL has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
mal`` has quit [hubbard.freenode.net irc.freenode.net]
mishok13 has quit [hubbard.freenode.net irc.freenode.net]
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
sgnb has quit [hubbard.freenode.net irc.freenode.net]
rwmjones has quit [hubbard.freenode.net irc.freenode.net]
yurug has quit [hubbard.freenode.net irc.freenode.net]
Mr_Awesome has quit [hubbard.freenode.net irc.freenode.net]
bacam has quit [hubbard.freenode.net irc.freenode.net]
noj has quit [hubbard.freenode.net irc.freenode.net]
ertai has quit [hubbard.freenode.net irc.freenode.net]
ozzloy has quit [hubbard.freenode.net irc.freenode.net]
tobij has quit [hubbard.freenode.net irc.freenode.net]
brendan has quit [hubbard.freenode.net irc.freenode.net]
caligula__ has quit [hubbard.freenode.net irc.freenode.net]
lanaer has quit [hubbard.freenode.net irc.freenode.net]
jlouis has quit [hubbard.freenode.net irc.freenode.net]
deavid has quit [hubbard.freenode.net irc.freenode.net]
thelema has quit [hubbard.freenode.net irc.freenode.net]
r0bby has quit [hubbard.freenode.net irc.freenode.net]
Demitar has joined #ocaml
jeddhaberstro has joined #ocaml
onigiri has joined #ocaml
Ched has joined #ocaml
Hadaka has joined #ocaml
nnyby has joined #ocaml
Ringo47 has joined #ocaml
BigJ has joined #ocaml
tarbo2 has joined #ocaml
sgnb has joined #ocaml
caligula__ has joined #ocaml
rwmjones has joined #ocaml
yurug has joined #ocaml
lanaer has joined #ocaml
mattam has joined #ocaml
Mr_Awesome has joined #ocaml
flux has joined #ocaml
bacam has joined #ocaml
tab has joined #ocaml
davidL has joined #ocaml
jlouis has joined #ocaml
noj has joined #ocaml
gildor_ has joined #ocaml
whale has joined #ocaml
mal`` has joined #ocaml
mishok13 has joined #ocaml
deavid has joined #ocaml
thelema has joined #ocaml
ertai has joined #ocaml
r0bby has joined #ocaml
brendan has joined #ocaml
tobij has joined #ocaml
ozzloy has joined #ocaml
travisbr1dy has quit ["Computer has gone to sleep"]
verte has joined #ocaml
thelema_ has joined #ocaml
thelema has quit [Read error: 131 (Connection reset by peer)]
verte has quit ["~~~ Crash in JIT!"]
jonafan_ has joined #ocaml
jonafan has quit [Read error: 60 (Operation timed out)]
onigiri has quit []
julm_ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
sOpen has joined #ocaml
rcloud has joined #ocaml
rcloud has quit [Remote closed the connection]
julm_ has quit [Read error: 60 (Operation timed out)]
julm has joined #ocaml
sOpen has quit [Read error: 110 (Connection timed out)]
jeddhaberstro has quit [Client Quit]
travisbrady has joined #ocaml
travisbrady has quit [Client Quit]
<palomer> :o
ttamttam has joined #ocaml
ttamttam has quit ["Leaving."]
Submarine has joined #ocaml
<flux> anyone tried it out yet?-)
ttamttam has joined #ocaml
f[x] has joined #ocaml
mihamina1 has joined #ocaml
<mihamina1> hi all
<mihamina1> Running a CGI script built with ocamlnet, I get "params.cgi: Not_found (Status 500)" in apache logs
<mihamina1> no more information
<mihamina1> how to get it more verbose?
<flux> maybe you can wrap your leaking exceptions and produce diagnostics with the Printexc module
<mihamina1> uh... some links as example? :-)
<flux> mihamina1, ocaml 3.10 or 3.11?
<mihamina1> "leaking exceptions"... I dont know that.. :-) 3.11
<flux> Printexc.somefunctionthatenablesbacktraces true; try (* your code here *) with exn -> Printf.printf "Uargh: %s\n" (Printexc.to_string exn); Printexc.somefunctiontoprintbacktrace ()
<flux> (I have 3.10 and I don't have the documentation for 3.11 handy)
<flux> man Printexc will help you discovert those functions :)
Submarine has quit [Read error: 110 (Connection timed out)]
sOpen has joined #ocaml
caligula_ has joined #ocaml
caligula__ has quit [Read error: 131 (Connection reset by peer)]
julm_ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
f[x] has quit [Read error: 110 (Connection timed out)]
Submarine_ has joined #ocaml
Submarine_ has quit [Remote closed the connection]
julm has joined #ocaml
julm_ has quit [Read error: 110 (Connection timed out)]
_zack has joined #ocaml
tmaeda0 has joined #ocaml
prigaux has quit [Remote closed the connection]
prigaux has joined #ocaml
tmaeda has quit [Read error: 110 (Connection timed out)]
svenl has quit [Read error: 110 (Connection timed out)]
svenl has joined #ocaml
verte has joined #ocaml
th5 has joined #ocaml
<flux> yeah, it where I picked the url from :)
<flux> I guess it'd be more meaningful to have, well, meaningful comments about it, such as performance. so who's trying it out?-)
<Camarade_Tux> anyone tried it yet? xD
* Camarade_Tux hides ;p
<flux> I can't download it :-o
<flux> Connecting to www.ortsa.com|88.191.16.7|:8480...
<flux> pretty sure it's not the firewall, tried it from two sites
<flux> so did anyone _get_ the damn thing yet?-)
<gildor_> flux: same here
<Camarade_Tux> the server can't keep up with the demande :D
<Camarade_Tux> can't download it either
hkBst has joined #ocaml
<flux> just for the heck of it I tried the default port; no win
<flux> perhaps I'll resist the urge to nmap the host
bohanlon has quit [Read error: 60 (Operation timed out)]
<Camarade_Tux> flux: don't resist ;p
<Camarade_Tux> (/me tried the default port too)
Snark has joined #ocaml
* Camarade_Tux wonders how many people manage to get the sources
<Camarade_Tux> oh, actually Harrop didn't either
f[x] has joined #ocaml
_andre has joined #ocaml
th5 has quit []
<flux> does someone remember where the Event-module for Lwt was?
dmentre has joined #ocaml
thrasibule has quit [Read error: 110 (Connection timed out)]
Yoric has joined #ocaml
<Yoric> hi
<flux> hello
<thelema_> hi
mihamina2 has joined #ocaml
mihamina1 has quit [Read error: 113 (No route to host)]
verte has quit ["~~~ Crash in JIT!"]
komar_ has joined #ocaml
robocop has joined #ocaml
<robocop> hello !
<julm> o/
<robocop> do you have a simple exemple of ocaml code with menhir ?
<orbitz> benhur?
<robocop> (exemple : a simple calculator)
<orbitz> what is menhir?
<robocop> a tools like ocamlyacc/lex
<robocop> *-s
<orbitz> no examples in the sourcE?
<orbitz> robocop: looks like it comes with a calc demo..
<robocop> ha yes
<robocop> thanks
komar_ has quit [Read error: 110 (Connection timed out)]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
espresso has quit ["Leaving"]
mihamina2 has quit ["Leaving."]
komar_ has joined #ocaml
willb has joined #ocaml
thelema_ has quit ["brb"]
thelema has joined #ocaml
bind_return has joined #ocaml
rwmjones has quit [Read error: 104 (Connection reset by peer)]
dmentre has quit ["Leaving."]
rwmjones has joined #ocaml
jonafan_ is now known as jonafan
<hcarty> flux: Thank you again for the question/suggestion about changing the parameter organization in PLplot's Quick_plot module from [xs0; xs1;...] [ys0; ys1;...] to [xs0, ys0; xs1, ys1;...]
<hcarty> flux: I think it's a bit clearer that way, and it avoids the risk of exceptions in the plot code due to mismatched X and Y list lengths
albacker has joined #ocaml
<flux> hcarty, yei, type safety ftw?
<hcarty> flux: Truly :-)
<hcarty> Why do the work when the compiler can do it for you?
<flux> yei2, oc4mc can be downloaded now \o/ ! (link has changed in the website)
<hcarty> I downloaded it, but I have not tried it yet.
<flux> posix.c:158: error: 'caml_main_thread_struct' undeclared (first use in this function)
<flux> :(
<flux> sure enough, no c file contains definition for that
<flux> previous version doesn't work either
robocop has quit [Remote closed the connection]
<flux> oh, it's in an S-file
<flux> I wonder if i32 was a supported pltaform
<flux> argh, no
<flux> fortunately I have one ia64 host around
<hcarty> flux: ia64 or x86_64?
<flux> oh, right
<flux> the latter
Yoric has quit [Remote closed the connection]
<flux> I wonder if by 'performance reasons' they mean that their approach is unfeasible for x86
<flux> (For performance reasons, OCaml4MultiCore is only distributed for AMD/Intel 64-bit architecture.)
<hcarty> They may have felt it wasn't worth their time to address 32bit systems, at least at first.
travisbrady has joined #ocaml
<flux> I suppose after a while x86_32 is obsolete anyway, atleast as far as multicore environments go
<det> OCaml4MultiCore ?
slash_ has joined #ocaml
_zack has quit ["Leaving."]
Ched has quit [Read error: 104 (Connection reset by peer)]
Ched has joined #ocaml
Alpounet has joined #ocaml
<flux> I didn't manage to compile the tests.. apparently it doesn't link in the gc
<flux> apparently intervalle.t was built for me during the build process
<flux> atleast it uses >100% CPU
<flux> l ,
<flux> only 130% though, even though it has 5 threads
<hcarty> flux: On my system it's using a little over 100% CPU, but it is split evenly across cores according to htop
<hcarty> I don't know how accurate that is though :-)
sramsay has joined #ocaml
ulfdoz has joined #ocaml
<flux> any camlp4 or other code to randomly generate datastructures? like type a = A | B type b = C of a | D and the code would randomly produce all kinds of values that can be generated
<flux> (my structure is so little I can just write it by hand, just wondering ;-))
<hcarty> flux: That's a pretty cool idea. I think the author of prelude.ml wrote some random test generation code to go along with that module. But I don't know how general it is.
<_andre> ospec has random generators for some data structures but you'd have to write a custom one for your type
Submarine has joined #ocaml
_JusSx_ has joined #ocaml
Ched has quit [Read error: 113 (No route to host)]
ttamttam1 has joined #ocaml
Snark has quit ["Ex-Chat"]
Ched has joined #ocaml
Ched has quit [Read error: 104 (Connection reset by peer)]
Ched has joined #ocaml
Ched has quit [Client Quit]
angus has joined #ocaml
komar_ has quit [Read error: 110 (Connection timed out)]
Submarine has quit [Read error: 110 (Connection timed out)]
<gildor_> flux: for performance reason = AFAIK, ocaml GC use a register to store a pointer
myst has left #ocaml []
<gildor_> it is possible to move this pointer for x86_64 but it is complicated for i386
<flux> apparently one of the most difficult things in GA is figuring out a decent evaluation function..
mgree has joined #ocaml
<thelema> flux: yes, that's a hard part - having an evaluation function that's useful for "almost right" algorithms.
Yoric[DT] has joined #ocaml
<flux> I'm writing a toy that would generate file renaming functions from examples
<flux> so far it apparently is able to find the function to uppercase words ;)
<flux> except when it for some reason finds a local optimum and doesn't get out of it..
_JusSx_ has quit ["leaving"]
BigJ2 has joined #ocaml
<BigJ2> does anyone know how to setup tuareg mode for emacs on os x?
Axioplase has joined #ocaml
<orbitz> BigJ2: i have it set up, no magic ot it IIRC though
<orbitz> nothign OS X specific
<BigJ2> orbitz: just place the files in the site-lisp dir?
<orbitz> BigJ2: i do all that stuff in ~/.emacs_progmode
<orbitz> i find it easier od eal with
<BigJ2> i am a newbie to emacs I am unsure of how to do that
onigiri has joined #ocaml
<orbitz> one sec
<BigJ2> k
<orbitz> that's what my emacs looks liek for taureg mode
ttamttam1 has quit [Remote closed the connection]
<BigJ2> this is the code in ur .emacs file?
<orbitz> yes
<BigJ2> my main dilema is how to access that file, no idea of the path
Axioplase has quit ["leaving"]
<orbitz> are you installing it yourself?
<BigJ2> orbitz: yes, I already have it installed in running in mac and on my linux box
<orbitz> where did you install it to?
<BigJ2> dragged it to applications folder for install
<orbitz> emacs to taureg mode?
<orbitz> emacs or taureg mode?
<BigJ2> emacs
<orbitz> did you install taureg mode yet?
<BigJ2> tuareg I do not have installed on mac, but on linux put files in site-lisp
<orbitz> if you follow what i did you just drop it in ~/.emacs-progmode
<BigJ2> from what I saw in your script u can make links to whatever path the files are located
<orbitz> uh-huh
<BigJ2> i have to run, thanks for the help
BigJ2 has quit []
f[x] has quit [Read error: 110 (Connection timed out)]
sOpen has quit [Read error: 110 (Connection timed out)]
albacker has quit ["_"]
patronus has quit [Remote closed the connection]
sgnb has quit [Read error: 104 (Connection reset by peer)]
patronus has joined #ocaml
sgnb has joined #ocaml
angus has quit ["Leaving"]
Yoric[DT] has quit ["Ex-Chat"]
_andre has quit ["Lost terminal"]
mgree has quit ["compiling..."]
<thelema> hmm, I want to have a hashtbl on a polymorphic type, but want to supply my own hash/equal function
<thelema> I can't use the functorial interface, because I need a non-polymorphic type, right?
jason has joined #ocaml
jason is now known as BigJ2
willb has quit [Read error: 145 (Connection timed out)]
<thelema> what's the resolution - copy the hashtbl code and put in my own (=) and hash?
hkBst has quit [Read error: 104 (Connection reset by peer)]
espresso has joined #ocaml
sramsay has quit [Remote closed the connection]
ulfdoz has quit [Read error: 110 (Connection timed out)]
BigJ2 has quit []
travisbrady has quit ["Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/"]
<det> thelema, seperate functions for insert/lookup with extra hasher param
mal`` has quit ["Coyote finally caught me"]
mal`` has joined #ocaml
Alpounet has quit ["Leaving"]
cygnus_ has joined #ocaml