<invercargill>
julm: Ah yes, I did see that page, but ocamlopt doesn't seem to have the -dlopt option the page mentions. Do I need a special branch of the ocamlopt compiler ? Thanks.
<julm>
well, Alain says the natdynlink branch has been merged, so I don't think you need a special branch, that said I don't see a -dlopt option neither in the Alain's page nor in my ocamlopt from CVS' HEAD branch
<julm>
also I see a -nodynlink option, but no -dlcode option
<julm>
and I have a /usr/local/lib/ocaml/dynlink.cma
<julm>
I think that should be all what one needs
<julm>
(I mean with the other dynlink.* files I haven't quoted)
<invercargill>
So, you think the latest ocaml version from godi would contain a dynlink module capable of loading .cmxs files ?
<julm>
yep, likely
<julm>
but I've never used GODI and thus can't tell you
<invercargill>
well, any ocaml trunk version after 3.10.0
<invercargill>
It's strange, because the ocamlopt I have doesn't seem to have any option that can generate shared modules.
<invercargill>
my ocamlopt does not recognize that option (3.10.2).
<invercargill>
do you have that on yours ?
<julm>
yes
<julm>
but I'm version 3.12.0+dev3 (2009-05-20)
<invercargill>
ah
<julm>
the manual is for 3.11 thought
<invercargill>
is it a configure option perhaps ?
<invercargill>
I'll get the latest version I guess
<julm>
well OCAML's ./configure has no --help or -h option, but I don't think so
<julm>
it just tells me: Additional libraries supported: unix str num dynlink bigarray systhreads threads graph
<julm>
note the "dynlink"
<invercargill>
I do have a dynlink module in my current distro of ocaml, but it can only load bytecode. Your version probably understands .cmxs (as described on alain's page).
<invercargill>
I think getting a more recent version from source will fix the problem.
<julm>
at least a 3.11 version should
<invercargill>
ok. Thanks a lot julm!
<julm>
np ;)
_zack has joined #ocaml
thelema has joined #ocaml
schme has joined #ocaml
travisbrady has quit [Read error: 104 (Connection reset by peer)]
travisbrady has joined #ocaml
Axioplase has joined #ocaml
invercargill has left #ocaml []
komar_ has joined #ocaml
Camarade_Tux has joined #ocaml
jeanbon has joined #ocaml
ikaros has joined #ocaml
jeanbon has quit ["EOF"]
sporkmonger has joined #ocaml
hkBst has joined #ocaml
ched_ has joined #ocaml
_zack has quit ["Leaving."]
Ched has quit [Read error: 110 (Connection timed out)]
<kaustuv_>
mrvn: re your question on caml-list, why can't you surround just the fuse_* calls with enter_/leave_blocking_section() ?
<kaustuv_>
And incidentally, you don't need to use Store_field() after a caml_alloc_*() unless the arguments to Store_field() themselves cause a caml_alloc_*.
itewsh has joined #ocaml
ikaros has quit [Remote closed the connection]
Associat0r has joined #ocaml
Associat0r has quit [Client Quit]
<olegfink>
hi kaustuv_
<olegfink>
re yesterdays wave discussion, why do you think you'd need a web framework (such as ocsigen) to implement a wave node?
<olegfink>
for me a much more interesting challenge would be implementing a tool which can be used to interact with wave
<kaustuv_>
To be frank I don't understand what a tool that uses wave needs. I figured that it needs a superset of the functionality provided by ocamlnet, ocamlduce, ocsigen, etc.
<kaustuv_>
And anyway it was an idle question without much thought or research.
<olegfink>
well, seen twiiter clients?
<olegfink>
twitter rather
<olegfink>
i, for one, don't want to fire up a web browser just to send a letter.
Alpounet has joined #ocaml
marmottine has joined #ocaml
verte has quit [Read error: 60 (Operation timed out)]
verte has joined #ocaml
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
ztfw has joined #ocaml
komar__ has joined #ocaml
komar_ has quit [Read error: 113 (No route to host)]
<mrvn>
kaustuv_: What fuse_* calls? Fuse calls me.
Yoric[DT] has joined #ocaml
BiDOrD has quit [Remote closed the connection]
<mrvn>
let foo () = let buf = Aio.buffer 4096 in let str = Aio.unsafe_string buf in Unix.write fd str 0 4096
<mrvn>
The Aio.unsafe_string is only valid as long as buffer remains alive. Can I ensure the GC doesn't free it during the write call?
Lomono has joined #ocaml
itewsh has quit [Connection timed out]
itewsh has joined #ocaml
<mrvn>
would ... in Unix.write fd str 0 4096; () extend the livetime of buf till after the write?
BiDOrD has joined #ocaml
Axioplase has quit ["quit"]
_zack has joined #ocaml
marmottine has quit [Read error: 110 (Connection timed out)]
<flux>
I think this trick should ensure it: let (str, buf) = (Aio.unsafe_string buf, buf) in ..
<flux>
but someone should verify that :-)
<mrvn>
because it builds a tuple besides binding str?
<flux>
the trick is that a tuple is being constructed and then deconstructed, I read Somewhere(TM) that in that those tuple members will be collected together
<Camarade_Tux>
most likely, I remember a message from Xavier Leroy on the mailing-list stating that even with 'let (a, _)= ...", _ wouldn't be collected
<Camarade_Tux>
(on its own)
<flux>
btw, I just got a Maemo-running device, N810. palomer, when are you going to provide bindings to Hildon?-)
<mrvn>
But the (...) is no longer in scope when it tail recursively calls Unix.write.
<flux>
no, it was you, camarade_tux, who was on the bindings business!
<Camarade_Tux>
flux, yeah :p
<flux>
mrvn, well, ignore (Unix.write..)?
<Camarade_Tux>
desktop 3 is full of terminals and gvim windows for that ;)
<mrvn>
So removing the tail recursion should keep the bindings alive?
<flux>
mrvn, maybe just 'ignore (buf)' after the call is sufficient
<flux>
btw, the device has been quite decent so far.. I basically bought it because N900 should be coming up soon, w/ a phone, and as I was in the process of switching the phone I thought I might take a look at the maemo side first..
<flux>
also, this is a mobile device I can run emacs on \o/
<Camarade_Tux>
hahaha ! :p
<Camarade_Tux>
how is the keyboard ? ;p
<flux>
not as good as in 9210i, but decentish
<flux>
a bit heavy to push the buttons down
<Camarade_Tux>
it looks nice :)
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
thelema has quit [Read error: 110 (Connection timed out)]
itewsh has quit [Connection timed out]
itewsh has joined #ocaml
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
iago has joined #ocaml
alexyk has joined #ocaml
<Camarade_Tux>
progress of the ocaml-gir rewriting : 10%
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
julm has quit [Remote closed the connection]
BiDOrD has quit [Read error: 60 (Operation timed out)]
seafood has quit []
julm has joined #ocaml
BiDOrD has joined #ocaml
marmottine has joined #ocaml
itewsh has quit [Connection timed out]
travisbrady has quit [Read error: 104 (Connection reset by peer)]
itewsh has joined #ocaml
travisbrady has joined #ocaml
itewsh has quit [Read error: 60 (Operation timed out)]
itewsh has joined #ocaml
thelema has joined #ocaml
alexyk has quit []
komar__ has quit [No route to host]
ched_ has quit ["Ex-Chat"]
<flux>
camarade_tux, how about now?
<flux>
15%?
ched_ has joined #ocaml
<Camarade_Tux>
flux, more like 7.5% but on the other hand, I had some sleep, I converted somebody to marble instead of google earth, helped somebody set his external display, told somebody what the nouveau graphic driver is... ok, ok, I'm going back to code ;p
AxleLonghorn has joined #ocaml
<julm>
Camarade_Tux: what is marble?
<mrvn>
a kind of stone with a nice shine if polished.
<mrvn>
*duck*
<Camarade_Tux>
it's an open-source clone of google earth, it's in kde-edu. and it uses openstreetmap too :)
* Camarade_Tux
kicks mrvn ;p
komar__ has joined #ocaml
<julm>
ah thanks, I'll have a glance at it
<julm>
outch 230Mo of dependencies
<Camarade_Tux>
:) and I'm impressed about what the 'edu' packages in kde-edu are
<Camarade_Tux>
julm, I guess you're running gnome, don't you ?
<julm>
fvwm
<julm>
:P
<Camarade_Tux>
lol ;p
rjack has joined #ocaml
itewsh has quit [Connection timed out]
<julm>
but sometimes I use KDE apps, especially the one to read DjVu files
itewsh has joined #ocaml
<Camarade_Tux>
the number of apps I run is pretty limited (at least for the graphical ones), my desktop1 usually looks like http://omploader.org/vMW56Yg :p
ched_ has quit [Read error: 110 (Connection timed out)]
ched_ has joined #ocaml
<julm>
mignon le petit menu :D
<Camarade_Tux>
he :p it will maybe shrink even more :D
alexyk has joined #ocaml
<flux>
that google wave-thingy doesn't seem all that bad idea
<flux>
so, kaustuv_, how far's your wave-server/client?-)
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
<flux>
I imagine ocamljs could be a part of that system
Israel has joined #ocaml
BiDOrD has quit [Remote closed the connection]
<kaustuv_>
flux: I've gotten as far as reading a few pages of the XMPP spec and convincing myself that this is a project for when I am less burdened by deadlines
<julm>
kaustuv_: are you writing something about XMPP ?
Israel has quit []
<julm>
Camarade_Tux: marble's database doesn't seem to me as accurate as googleearth's (I can't even see the street where I live in marble whereas I can with GE)
BiDOrD has joined #ocaml
<Camarade_Tux>
kaustuv_, what about ocamlxmpp/ocaml-jabbr ? :) (unless the sources are unavailable right now)
<Camarade_Tux>
julm, with satellite view or with map view ?
rjack has quit ["leaving"]
<julm>
both
<julm>
in map view I'm able to go down to the Route Nationale level
<julm>
in satellite view the dotted city level
<julm>
but I suppose one could get more accurate map somewhere on the web
<julm>
ocaml-jabbr is old and unusable
alexyk has quit []
jamii has quit [Read error: 110 (Connection timed out)]
ulfdoz has joined #ocaml
<julm>
and I'm discovering ocaml-xmpp and it seems old too and very small
<Camarade_Tux>
afaict they have been written around the same time
<julm>
kaustuv_: for what do you need XMPP kaustuv_ and for when ?
<Camarade_Tux>
as for openstreetmap, in the rural parts, google maps seem to have one more level of details than openstreetmap has
<julm>
ocaml-jabbr at least two years old
<julm>
+is
<Camarade_Tux>
more like 7 afaict
Ppjet6_ is now known as Ppjet6
<julm>
all I know is that the first time I read ocaml-jabbr sources was before october 2007 :|
<Camarade_Tux>
its announcement on the caml mailing-list dates back to 2002
<julm>
you do not like GPL license for a library ?
<mrvn>
julm: there is a reason there is an LGPL
<julm>
I know
<Camarade_Tux>
no, it wasn't really because of copyrights but two libraries with the same name but different authors was suspicious
<Camarade_Tux>
but it seems to have been written from scratch, with development starting less than a year ago
<julm>
still it's a very light implementation
<mrvn>
Camarade_Tux: happens sometimes. I'm thinking of rewriting ocaml-sha because the existing one is GPL V2 only and I want to use it in a GPL V3+ source.
<julm>
Camarade_Tux: what is the same named library you're talking about
<Camarade_Tux>
julm, ocaml-xmpp by Mike Lin, and ocamlxmpp which I just linked to