<jlouis>
hah. Try tracking down mnesia bugs in erlang code where chunk was types as chunks in one place. No type system to complain; the error occurs in another place than where it is introduced. 25 minutes, several print statements and grey hairs later, chunks --> chunk and problem is fixed.
<jlouis>
was typed in as
<sporkmonger>
for the record, there's nothing more valuable than a genius on your cell phone's speed dial
<orbitz>
hi jlouis
<orbitz>
high five
<jlouis>
**5
Mr_Awesome has joined #ocaml
seafood_ has joined #ocaml
<hcarty>
ls
<hcarty>
Sorry... wrong window
RobertFischer has joined #ocaml
schme has joined #ocaml
eelte has quit ["bye ca veut dire tchao en anglais"]
<RobertFischer>
Testing...
<RobertFischer>
I think Colloquy is eating up some messages.
ygrek has joined #ocaml
yminsky has quit []
RobertFischer has quit []
yminsky has joined #ocaml
<thelema>
mbishop: except for putting an extra ; at the end of a phrase.
<thelema>
mbishop: those errors only show up at the beginning of the *third* phrase.
schme has quit [Remote closed the connection]
ygrek has quit [Remote closed the connection]
RobertFischer has joined #ocaml
RobertFischer has quit [Remote closed the connection]
gim has quit [Remote closed the connection]
evn has joined #ocaml
|Catch22| has quit ["To the best of my knowledge, I guess that I'm fresh"]
bluestorm has joined #ocaml
evn has quit []
bluestorm has quit ["Konversation terminated!"]
seafood_ has quit []
Tetsuo has joined #ocaml
ikaros has joined #ocaml
Linktim has joined #ocaml
yangsx has quit [Remote closed the connection]
solrize_ has joined #ocaml
solrize_ has left #ocaml []
shortcircuit has quit [Read error: 110 (Connection timed out)]
mwc has quit ["leaving"]
z[x] has joined #ocaml
petchema has joined #ocaml
OChameau has joined #ocaml
<flx>
hm, I have: try Unix.connect socket address with Unix.Unix_error _ -> () - and this line causes this runtime error: Thread 2 killed on uncaught exception Unix.Unix_error(38, "connect", "")
<flx>
(EINPROGRESS, as it should)
<flx>
I wonder why I get the exception :-o
<flx>
I wonder if my test approach can affect things..
<flx>
as I do #require "topfind";; #require "foo";; #require "bar";; but the modules already require each other
<petchema>
I'd bet the exception comes from another place
<flx>
the characters offsers match exactly to the call
<flx>
characters 18-45
<flx>
tada, properly compiled version works without exceptions
<flx>
I think the issue could have been that the unix module was loaded twice somehow
<flx>
so the actually loaded module threw different types than the one the connecting module was compiled against
<flx>
hm, maybe my actual issue was that instead of #requiring stuff I should -I the proper paths to the toplevel
<petchema>
#foo are toplevel ('ocaml') directives only
<petchema>
did the problem happen in the toplevel?
<flx>
sort of, I have a custom toplevel, and I feed the .ml-file with #-directives to it
<flx>
that is, ./toplevel testcase.ml
<petchema>
so your analysis must be correct, #require must load again all dependancy modules
<flx>
it would be convenient if the .cmi -files was built into the toplevel
<flx>
as it is, I cannot simply refer to a module by using its name, I need to add it to the library search path first
<petchema>
you mean mktop stuff? yes, it could be interesting if it could embed library path too
<petchema>
maybe by linking a small modules that modifies this path? I don't know if it's possible
<petchema>
s/modules/module/
<flx>
that actually might be possible
<petchema>
tried using .ocamlinit file instead?
<flx>
I don't think toplevel has a command for adding search paths?
<rwmjones>
well the error messages indicate it isn't including the right header files, as to why is anyone's guess
|Catch22| has joined #ocaml
<RobertFischer>
That's the big fun -- what's the header file that it's cranky about?
<RobertFischer>
Should I just start hunting down all the #includes?
<rwmjones>
the first error indicates that the type server_rec isn't being found
<rwmjones>
that comes from one of the apache header files
Linktim has joined #ocaml
<rwmjones>
RobertFischer, email me your ssh public key, and IP address (for the firewall) and I'll give you an account on the merjis development machine
<RobertFischer>
K.
<RobertFischer>
Looks like it's defined in httpd.h
<rwmjones>
if you're getting the wrong httpd.h then it won't work -- they renamed everything in apache 2.x iirc
<petchema>
flx: I have no direct experience with Event module, but I'd suggest finding documentation on CML (Concurrent ML), it's basically a port of CML for OCaml
<flx>
petchema, yeah, that's what got me started on the Event-module and its greatness
<flx>
actually I found an old patch that added wrap_guard and it gave a use case for that
<flx>
(start thread to implement timeout, cancel thread with wrap_guard)
Amorphous has quit [Read error: 110 (Connection timed out)]
<hcarty>
thelema: I have some extra functions for the Bigarray.Genarray library if you are interested for your community branch. map, fold, unsafe_(get|set), iter and cast. Maybe a few others.
<rwmjones>
hcarty, I think he's wrong there .. extending a uint32 to a uint64 also needs to be treated specially
<Smerdyakov>
flx, if you like Event, you should love Concurrent ML. Lightweight threads are needed to realize most of the benefit of first-class events.
<orbitz>
Smerdyakov!!!!!
<Smerdyakov>
orbitz, yes?
<flx>
smerdyakov, perhaps so, but just the fact that Concurrent ML is rarely heard of would indicate there aren't that many libraries or other tools for it
<orbitz>
Smerdyakov: hi
<Smerdyakov>
flx, it's available as a library for the major SML implementations, so you can use all SML libraries.
<flx>
oh, so I would only need to switch to SML then ;)
<Smerdyakov>
flx, yup, a good idea for other reasons, too! :D
<rwmjones>
RobertFischer, any preferred username?
<flx>
in any case, I'm not particularly happy with the synchronous nature of the library, emulating asynchronous communication with disconnects has seemed difficult
<RobertFischer>
rwmjones: "robert" would be nice. "rfischer", otherwise.
<flx>
so I have my own version that implements about the same primitives but asynchronously
<flx>
the earlier questions were related to that I don't implement wrap_guard or guard, and I was wondering what good are they for
<flx>
but, off to the store ->
Demitar has joined #ocaml
schme has joined #ocaml
<rwmjones>
RobertFischer, see email
<RobertFischer>
rwmjones: +1 to you.
<rwmjones>
it works?
<RobertFischer>
rwmjones: I'm trying it out right now. I just wanted to give you a +1 for helping. :)
<RobertFischer>
No httpd/apache2 -- should I just compile those on my own?
Linktim has quit [Read error: 110 (Connection timed out)]
<RobertFischer>
Wait -- I lie.
<RobertFischer>
There it is.
<RobertFischer>
Just hiding from me over in /usr/sbin.
postalchris has quit [Read error: 110 (Connection timed out)]
<rwmjones>
RobertFischer, there should be ... I'm going to be off for a bit, so better contact me by email
jonafan_ has joined #ocaml
evn has joined #ocaml
jonafan has quit [Read error: 110 (Connection timed out)]
jonafan has joined #ocaml
jonafan_ has quit [Read error: 110 (Connection timed out)]
TheLittlePrince has quit [Client Quit]
ofaurax has joined #ocaml
|Catch22| has quit ["To the best of my knowledge, I guess that I'm fresh"]
rwmjones has quit [Remote closed the connection]
rwmjones has joined #ocaml
rhar has quit [Read error: 104 (Connection reset by peer)]
<rwmjones>
RobertFischer, I'm back on irc now
<RobertFischer>
rwmjones: I see you. Dropped you an e-mail.
<rwmjones>
replied, I think
thermoplyae has joined #ocaml
<RobertFischer>
rwmjones: Just now got it.
<RobertFischer>
rwmjones: I'm assuming that you'll need any IP that I'm planning to connect from (or if my dynamic IP address changes).
jlouis has quit [Read error: 104 (Connection reset by peer)]
jlouis has joined #ocaml
<rwmjones>
RobertFischer, yes
<rwmjones>
I thought you had a static addr actually
<RobertFischer>
Nope. Although it's never changed in the history of me having their service.
<RobertFischer>
And I tend to work from two to three different places. :)
jlouis has quit [Read error: 110 (Connection timed out)]
<RobertFischer>
rwmjones: /usr/sbin/apache doesn't seem to exist, but that's what /etc/init.d/apache is expecting to find. Where's the old Apache 1.3 hiding at?
OChameau-bis has quit ["Leaving"]
<jonafan>
i need Str.split to be tail recursive
<RobertFischer>
jonafan: We all need things.
<RobertFischer>
jonafan: Was there a question in there somewhere, or were you just making an observation?
<jonafan>
i guess it was an observation
<flx>
even re-entrant would be nice :)
<hcarty>
jonafan: Could you use Pcre rather than Str? It may handle large splits better than Str
<jonafan>
i noticed that my data file was almost entirely empty lines
RobertFischer has quit [Read error: 104 (Connection reset by peer)]
<RobertFischer_>
rwmjones: That's apache2. I found that one. I was wondering if there was a 1.3 kicking around.
RobertFischer_ has quit [Client Quit]
<rwmjones>
RobertFischer, no AIUI you can only have apache-dev or apache2-dev installed so I picked apache 2 coz it'll be more useful to have mod_caml compiling for that
Anarchos has joined #ocaml
<Anarchos>
how to checkout a directory missing in the source tree of ocaml ?
wilsonicus has joined #ocaml
<wilsonicus>
Would you recommend ocaml as a first fpl?
<jonafan>
scheme was my first
<jonafan>
sure, why not
<Yoric[DT]>
wilsonicus: I would.
<Yoric[DT]>
Not the only choice, but definitely a valid one.
<wilsonicus>
Ok cool thanks.
wilsonicus has left #ocaml []
nuncanada has quit ["Leaving"]
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
mfp has quit [Read error: 104 (Connection reset by peer)]
jlouis has joined #ocaml
mfp has joined #ocaml
boua has left #ocaml []
Linktim has joined #ocaml
bluestorm has quit ["Konversation terminated!"]
Demitar has quit [Remote closed the connection]
postalchris has joined #ocaml
ofaurax has quit ["Leaving"]
ikaros_ has joined #ocaml
Linktim has quit [Remote closed the connection]
RobertFischer has joined #ocaml
ikaros has quit [Read error: 110 (Connection timed out)]
Demitar has joined #ocaml
Demitar has quit [Client Quit]
<rwmjones>
RobertFischer, no AIUI you can only have apache-dev or apache2-dev installed so I picked apache 2 coz it'll be more useful to have mod_caml compiling for that
rwmjones has quit ["Closed connection"]
<RobertFischer>
rwmjones: Sweet. As long as mod_caml runs on it, I'm happy.
Tetsuo has quit ["Leaving"]
ikaros_ has quit ["segfault"]
Yoric[DT] has quit ["Ex-Chat"]
Demitar has joined #ocaml
kotarak has quit ["Xaide, leka nosht."]
hkBst has quit ["Konversation terminated!"]
postalchris has quit ["Leaving."]
thelema has quit [Read error: 110 (Connection timed out)]