mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
thrasibule has joined #ocaml
pimmhogeling has quit [Remote host closed the connection]
valross has joined #ocaml
_unK has quit [Remote host closed the connection]
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
maskd has quit [Quit: leaving]
Mr_Awesome has quit [Ping timeout: 245 seconds]
rfg has quit [Quit: rfg]
Mr_Awesome has joined #ocaml
seanmcl has joined #ocaml
thrasibule_ has joined #ocaml
thrasibule has quit [Ping timeout: 276 seconds]
Morphous has quit [Ping timeout: 258 seconds]
Morphous has joined #ocaml
pad has quit [Remote host closed the connection]
dark has quit [Remote host closed the connection]
enthymeme has joined #ocaml
Associat0r has quit [Quit: Associat0r]
dark has joined #ocaml
psnively has joined #ocaml
Submarine has joined #ocaml
psnively has quit [Quit: psnively]
seanmcl has quit [Quit: seanmcl]
thrasibule_ has quit [Ping timeout: 252 seconds]
Shoggoth has joined #ocaml
seanmcl has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
mdmkolbe has quit [Quit: Leaving.]
myu2 has joined #ocaml
brooksbp_ has quit [Quit: Leaving...]
jakedouglas has quit [Quit: Leaving.]
ygrek has joined #ocaml
enthymeme has joined #ocaml
ttamttam has joined #ocaml
seanmcl has quit [Quit: seanmcl]
ttamttam has quit [Quit: Leaving.]
kaustuv has joined #ocaml
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
|Jedai| has quit [Ping timeout: 260 seconds]
|Jedai| has joined #ocaml
|Jedai| has quit [Ping timeout: 276 seconds]
Submarine has quit [Quit: Leaving]
myu2 has quit [Remote host closed the connection]
ftrvxmtrx has quit [Quit: Leaving]
drk-sd has joined #ocaml
ttamttam has joined #ocaml
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
<kaustuv> Can someone explain this error? http://ocaml.pastebin.com/jJSq7Mjx
protz has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
joewilliams is now known as joewilliams_away
<kaustuv> I can't seem to find a relevant bug, so added: http://caml.inria.fr/mantis/view.php?id=5028
smimou has quit [Ping timeout: 246 seconds]
alpounet has quit [Quit: ``Do what you think you can't do.'']
zhijie has joined #ocaml
<gildor> kaustuv, you already submitted a bug about that ?
<kaustuv> yes, just did
valross has quit [Quit: Ex-Chat]
drk-sd has quit [Quit: foo]
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
jimmyb2187 has quit [Ping timeout: 245 seconds]
jimmyb2187 has joined #ocaml
jsk-afk is now known as jsk
barismetin has joined #ocaml
<kaustuv> Anyone know what this means?
<kaustuv> omake: Symbol `FamErrlist' has different size in shared object, consider re-linking
ygrek has quit [Ping timeout: 245 seconds]
ikaros has joined #ocaml
ztfw has quit [Remote host closed the connection]
barismetin has quit [Quit: Leaving...]
barismetin has joined #ocaml
barismetin has quit [Changing host]
barismetin has joined #ocaml
ztfw has joined #ocaml
drk-sd has joined #ocaml
Associat0r has joined #ocaml
myu2_ has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
myu2 has quit [Ping timeout: 246 seconds]
scriptdevil has joined #ocaml
<scriptdevil> # #load "camlp4o.cma";;
<scriptdevil> Error: Reference to undefined global `Dynlink'
<scriptdevil> What does that mean?
myu2_ has quit [Remote host closed the connection]
<scriptdevil> I had to #load "dynlink.cma" first. Got it by googling. Sorry for the trouble :)
myu2 has joined #ocaml
pikachuyann` has joined #ocaml
myu2 has quit [Remote host closed the connection]
zhijie has quit [Quit: Leaving.]
drk-sd has quit [Quit: {'EXIT', drk-sd, "bye"}]
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
smimou has joined #ocaml
scriptdevil has quit [Quit: leaving]
myu2 has joined #ocaml
pimmhogeling has joined #ocaml
Submarine has joined #ocaml
avsm has joined #ocaml
jsk is now known as jsk-afk
ztfw` has joined #ocaml
ztfw has quit [Read error: Connection reset by peer]
ztfw` has left #ocaml []
ikaros has joined #ocaml
myu2 has quit [*.net *.split]
ulfdoz has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
_andre has joined #ocaml
myu2 has joined #ocaml
ulfdoz has joined #ocaml
hyperboreean has joined #ocaml
Pepe_ has joined #ocaml
myu2 has quit [Remote host closed the connection]
hyperboreean has quit [Ping timeout: 264 seconds]
thrasibule has joined #ocaml
hyperboreean has joined #ocaml
derdon has joined #ocaml
pimmhogeling has quit [Ping timeout: 265 seconds]
jsk-afk is now known as jsk
<thelema> kaustuv: that warning just has to do with gamin/fam - gamin is binary compatible, but produces that link warning
boscop has joined #ocaml
_unK has joined #ocaml
pimmhogeling has joined #ocaml
thieusoai has quit [Quit: Leaving]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
<flux> cool, an ocaml mindstorm library already exists
<flux> (guess what friends gave me for my graduation..)
<flux> and I've only found one bug from the library so far :)
<flux> too bad there's no ocaml compiler for the actual device though :)
<flux> are there any ML-like languages aimed towards low-end devices?
<flux> (that piece of hardware for instance has 64kB of memory, but I was thinking other devices even with less)
thieusoai has joined #ocaml
<Camarade_Tux> congratulations btw ;-)
<orbitz> flux: awesoem
<orbitz> flux: congrats too
<orbitz> flux: wasn't that the original goal of Timber?
<flux> no idea
<flux> they also gave me 45 A4 sheets that contain the congratulation card base-64-encoded
<flux> I'm yet to decipher that.. (also the sheets are out-of-order)
<flux> (actually that was the gift wrap)
<pikachuyann`> o;O
<Camarade_Tux> hahaha :P
<flux> you can also get a peek, the first sheet is at http://www.modeemi.fi/~flux/image-0001.pnm
<Camarade_Tux> pnm? I'm wondering if I should download it
<thelema> 37MB image file :(
<thelema> pnmtopng
<Camarade_Tux> optipng ;-)
<Camarade_Tux> 31% smaller
<flux> strange, convert made it infact larger
<flux> so I decided to put up the original
<Camarade_Tux> optipng compresses better than convert, but also takes more time (but it's definitely worth it)
thieusoai has quit [Quit: Leaving]
<thelema> post pnmtopng: 26822466 bytes, post optipng: ...
* thelema waits
<thelema> 26706350 bytes = .43% decrease
thieusoai has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
boscop_ has left #ocaml []
yangsx has joined #ocaml
pimmhogeling has quit [Remote host closed the connection]
smimou has quit [Ping timeout: 246 seconds]
smimou has joined #ocaml
<Camarade_Tux> | _, (Pointer (_, (TypeName (RegularName (s, _), _), _)), _) ->
<Camarade_Tux> now I remember why I didn't really like yacfe...
rfg has joined #ocaml
<thelema> Camarade_Tux: maybe records would have been a better choice for their data structures
_2x2l has joined #ocaml
<thelema> otoh, that could be more verbose than tuples
ikaros has joined #ocaml
<Camarade_Tux> thelema: they're _also_ using records ;-)
<Camarade_Tux> http://vpaste.net/7S8It?
<thelema> wow.
<Camarade_Tux> I can't really say anything: 19 lines to find functions, their names and arguments names and types, but I've typed '_' so many times in this code...
<Camarade_Tux> s/say anything/complain/
myu2 has joined #ocaml
<Camarade_Tux> (that was for parsing C btw)
Shoggoth has quit [Quit: Ex-Chat]
joewilliams_away is now known as joewilliams
avsm has quit [Quit: Leaving.]
jakedouglas has joined #ocaml
jakedouglas has quit [Remote host closed the connection]
jakedouglas has joined #ocaml
yangsx has quit [Ping timeout: 276 seconds]
<kaustuv> All I want is an OpenGL binding that uses variants for GLenums like LablGL, has a thin layer of abstraction like glMLite, and has the coverage of extensions and the license of GLcaml.
avsm has joined #ocaml
pimmhogeling has joined #ocaml
ztfw has joined #ocaml
ztfw has quit [Remote host closed the connection]
ccasin has joined #ocaml
avsm has quit [Ping timeout: 264 seconds]
avsm has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
jakedouglas has joined #ocaml
ztfw has joined #ocaml
munga has quit [Read error: Operation timed out]
jakedouglas has quit [Quit: Leaving.]
ulfdoz_ has joined #ocaml
ttamttam has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 264 seconds]
jakedouglas has joined #ocaml
barismetin has quit [Quit: Leaving...]
jakedouglas has quit [Client Quit]
jakedouglas has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
pimmhogeling has quit [Ping timeout: 265 seconds]
sepp2k has joined #ocaml
alpounet has joined #ocaml
kaustuv has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
avsm has joined #ocaml
pimmhogeling has joined #ocaml
avsm has quit [Ping timeout: 265 seconds]
drk-sd has joined #ocaml
avsm has joined #ocaml
avsm has quit [Ping timeout: 246 seconds]
Nazral has joined #ocaml
<Nazral> Hello
<thelema> hi
{newbie} has joined #ocaml
<{newbie}> Hi I have a question about labgtk
<{newbie}> if I have a long runnning action on a callback
<{newbie}> does it block the interface?
<thelema> yes
<thelema> if you can, have your long-running action 1) run in a separate thread or 2) reschedule a continuation when the UI is idle
<thelema> s/when/for when/
<Camarade_Tux> that's detailled in one of the READMEs
<{newbie}> thelema:
<{newbie}> that function will be called when nothing is happenning
<thelema> yes
<{newbie}> what if some one clicks in the interface when the function is still running?
<thelema> if nothing else is happenning, your long-running action should run for a little bit, and then yield back to the UI, to check.
<{newbie}> :| I thnik
<{newbie}> I'm going to ditck ocaml to write my gui
<thelema> "ditch"?
Submarine has quit [Ping timeout: 240 seconds]
<{newbie}> y
<flux> I don't think you will find other non-blocking solutions that don't involve threading or multiprocessing, though :)
<flux> maybe BeOS?
<{newbie}> ? well
<flux> actually, BeOS wasn't a good example, it's all about threading
<Camarade_Tux> but you can use green threads ;-)
<{newbie}> adding a function to be run at idle time and then preempt manually isn't very nice
<flux> well, usually user interface systems run in a single thread
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
<flux> so that's what happens
<flux> if you don't use threads or processes
<thelema> {newbie}: so use a thread
<Camarade_Tux> {newbie}: but, you don't want to use threads?
<{newbie}> I'd prefer the task to run at ful speed in another core
<{newbie}> so that means I'll have to use threads
<{newbie}> and multi processes I think
<gildor> {newbie}: or run it in another process
<thelema> if that's the case, you'll need multiple processes.
<{newbie}> 1 green thread to wait for the process to finish
<{newbie}> and the update the gui
<{newbie}> is that correct?
<gildor> {newbie}: 1 process to handle heavy computation and 1 process with a green thread to wait for completion
<{newbie}> exactly
<{newbie}> and the process with the green thread is the GUI process
<gildor> {newbie}: yes
<{newbie}> ok thank! now I have a plan
<gildor> {newbie}: you should create a small protocol, using type send_message_t = | StartCompute of 'a | Quit;; type recv_message_t = Result of 'b
<gildor> and use output|input_value
<gildor> this is ~20 lines of OCaml code
<Camarade_Tux> you can also use a fake progress bar with an arbitrary progression ;-)
<gildor> one that slowdown when it reach 99%
<{newbie}> haha
<{newbie}> yeah a small lib to handle the piping stuff will be nice
alpounet has quit [Read error: No route to host]
alpounet has joined #ocaml
ttamttam has joined #ocaml
Ori_B_ has left #ocaml []
pimmhogeling has quit [Remote host closed the connection]
Ori_B has joined #ocaml
pimmhogeling has joined #ocaml
SEcki has joined #ocaml
alpounet has quit [Ping timeout: 268 seconds]
Submarine has joined #ocaml
ygrek has joined #ocaml
alpounet has joined #ocaml
joewilliams is now known as joewilliams_away
det has quit [Remote host closed the connection]
enthymeme has joined #ocaml
ikaros_ has joined #ocaml
ikaros has quit [Ping timeout: 240 seconds]
pimmhogeling has quit [Remote host closed the connection]
alpounet has quit [Ping timeout: 248 seconds]
joewilliams_away is now known as joewilliams
_andre has quit [Quit: *puff*]
thieusoai has quit [Remote host closed the connection]
matthieu has joined #ocaml
derdon has quit [Ping timeout: 276 seconds]
maattd has quit [Ping timeout: 276 seconds]
ttamttam has quit [Quit: Leaving.]
boscop has joined #ocaml
dark has quit [Ping timeout: 245 seconds]
alpounet has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
ftrvxmtrx has joined #ocaml
<pikachuyann`> bonne nuit!/good night
pikachuyann` has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
enthymeme has joined #ocaml
det has joined #ocaml
avsm has joined #ocaml
Submarine has quit [Quit: Leaving]
matthieu has quit [Remote host closed the connection]
drk-sd has quit [Quit: dodo]
ccasin has quit [Quit: Leaving]
SEcki has quit [Ping timeout: 260 seconds]
SEcki has joined #ocaml
seanmcl has joined #ocaml
SEcki has quit [Ping timeout: 246 seconds]
MrEvil has joined #ocaml
ikaros_ has quit [Quit: Leave the magic to Houdini]
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 276 seconds]
sepp2k has quit [Quit: Leaving.]
MrEvil has quit [Quit: This computer has gone to sleep]
boscop has quit []
joewilliams is now known as joewilliams_away
fraggle_ has quit [Ping timeout: 276 seconds]
fraggle_ has joined #ocaml
maskd has joined #ocaml