Proteus has quit [Read error: 104 (Connection reset by peer)]
<palomer>
>:O!
<palomer>
thx
Proteus has joined #ocaml
<palomer>
btw, anyone know how to link an in_channel to a buffer so that everytime an in_channel gets updated it displays it in the buffer ?
<palomer>
(buffer in the sense of lablgtk)
r0bby_ has joined #ocaml
Proteus has quit [Read error: 104 (Connection reset by peer)]
Proteus has joined #ocaml
<palomer>
looks like I'm going to have to attach select to some lablgtk tomfoolery
<palomer>
now...what's that idling signal called...
thelema has joined #ocaml
Proteus has quit [Read error: 104 (Connection reset by peer)]
Proteus has joined #ocaml
Proteus_ has joined #ocaml
Proteus has quit [Read error: 104 (Connection reset by peer)]
<palomer>
how do I know if input_line removed a newline?
vixey has quit []
jeddhaberstro has joined #ocaml
jeddhaberstro has quit [Remote closed the connection]
vixey has joined #ocaml
vixey has quit [No route to host]
vixey has joined #ocaml
<palomer>
man, all this unix stuff is giving me an error
<palomer>
a headache
<palomer>
http://pastebin.eu/pastebin.php?show=8261 <-- code that is supposed to run a program to completion and then return its output. if it ended with an error, return the error instead
<palomer>
however, it is flawed, for if the process ended with an error and then shut down, the file descriptor is no longer valid and I can't read from it!
<palomer>
right?
seafood has joined #ocaml
<palomer>
hrmph
Associat0r has quit []
Associat0r has joined #ocaml
<palomer>
how do I find out if my process has finished?
<palomer>
open_process_full doesn't use my environment variables!
Philonous1 has joined #ocaml
bluestorm has quit [Remote closed the connection]
det has quit [Remote closed the connection]
det has joined #ocaml
Philonous has quit [Read error: 110 (Connection timed out)]
netx has joined #ocaml
Kopophex has quit ["Leaving"]
seafood has quit [Read error: 104 (Connection reset by peer)]
Proteus has joined #ocaml
seafood has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood_ has quit [Read error: 104 (Connection reset by peer)]
seafood has quit [Read error: 104 (Connection reset by peer)]
jeremiah has quit []
Proteus_ has quit [Read error: 113 (No route to host)]
seafood has joined #ocaml
<tsuyoshi>
hrm.. can't you just fork and read the output?
<tsuyoshi>
if the read fails because it died or whatever, just catch the exception and either give up or try again
haveo has quit [Remote closed the connection]
palomer has quit [Client Quit]
BipedMan_ has joined #ocaml
GustNG has joined #ocaml
Snark has joined #ocaml
seafood has quit []
gdmfsob has joined #ocaml
filp has joined #ocaml
hcarty has quit [clarke.freenode.net irc.freenode.net]
shortc|desk has quit [clarke.freenode.net irc.freenode.net]
RobertFischer has quit [clarke.freenode.net irc.freenode.net]
Amorphous has quit [clarke.freenode.net irc.freenode.net]
RobertFischer has joined #ocaml
Amorphous has joined #ocaml
shortc|desk has joined #ocaml
hcarty has joined #ocaml
gdmfsob is now known as mishok13
seafood has joined #ocaml
Amorphous has quit [No route to host]
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Client Quit]
Amorphous has joined #ocaml
shortc|desk has quit [SendQ exceeded]
seafood has joined #ocaml
guillem has joined #ocaml
vixey has quit []
vixey has joined #ocaml
Yoric[DT] has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
Watza has joined #ocaml
Watza has quit ["Quitte"]
Associat0r has joined #ocaml
bluestorm has joined #ocaml
seafood_ has quit []
aeolist has quit [Read error: 110 (Connection timed out)]
Jedai has joined #ocaml
m3ga has joined #ocaml
OChameau has joined #ocaml
<ertai>
bluestorm: (about OcamlReloaded), the answer is basically no.
<vixey>
is there some GUI program written in ocaml I can try out?
<bluestorm>
ertai: because you're not interested anymore ?
<m3ga>
vixey: mldonkey
<vixey>
thank m3ga
<vixey>
thank you
<bluestorm>
(i thought of it because it could actually be a handy base syntax for the extension i'm writing)
<ertai>
bluestorm: I'm still intersted to have a better syntax, than the current one
<bluestorm>
i could see value in a syntax with more closing constructs than the classical one, and the revised curryfication goodies
<ertai>
bluestorm: However I'm tired of these syntax discussions/religions, and I now use the orginal syntax (when I'm doing OCaml)
<bluestorm>
Yoric[DT] w
<bluestorm>
err, fail
<bluestorm>
i think Yoric[DT] has been teaching the revised syntax to his students, and they were doing quite good
Philonous1 is now known as Philonous
<bluestorm>
ah
<bluestorm>
ertai: while you're there, i have another question
<vixey>
are you changing ocaml?
<bluestorm>
vixey: probably not
<bluestorm>
are you (= the camlp4 code) open to extern submissions ?
<ertai>
bluestorm: I don't want to spend to much time on camlp4 until now
<bluestorm>
for example, i thought recently that a record type (instead of that ugly tuple) for external Loc.t access would be nice : it is imaginable that such a patch could make it into the main distribution ?
<ertai>
bluestorm: however I'm open to bug fixes
<bluestorm>
hm
<bluestorm>
sounds bad :p
<ertai>
bluestorm: The loc type is a record inside, but an abstract type hide it, the tuple is here for interfacing.
<bluestorm>
we could still use a record for interfacing
<bluestorm>
(yes, i just looked at the source, and the intern representation is actually even better than the plain record i was thinking of)
<bluestorm>
it's as sensible to change as the tuple is, while much more syntaxically pleasant
<bluestorm>
(are you still working on caml things at INRIA ?)
<Yoric[DT]>
bluestorm: indeed.
<ertai>
bluestorm: I'm still working at INRIA, on stuffs written in OCaml
<ertai>
My work on Camlp4 (starting as an intership) and on ocamlbuild was a kind of "extra work" for "fun".
<ertai>
I'm starting a PhD on september still at INRIA.
<bluestorm>
(the way you say it, it seems it was not that fun)
<ertai>
That's more fun at the beggining in fact
<ertai>
Indeed I don't consider camlp4 nighmare bugs, and ocamlbuild on windows as fun stuffs
<bluestorm>
hm
<bluestorm>
and writing documentation :--'
<ertai>
bluestorm: Indeed I forgot that one :)
Lalu has joined #ocaml
<ertai>
bluestorm: What kind of camlp4 changes do you have in mind?
<Lalu>
i tryed to compile some downloaded ocaml program, but getting this error by trying to run the make command: http://rafb.net/p/nHV6QU26.html Line 4 of screen.ml : let _ = GMain.init ()
<bluestorm>
ertai: i was just thinking of that record thing
<bluestorm>
and hm
<Lalu>
can anyone give me some advice, or an hint if it's a missing library or something else?
<bluestorm>
i'm considering writing a library for camlp4 extension writers, that would expose some of the most-used operations
<bluestorm>
(but i guess that doesn't need to be included in the main distribution)
<bluestorm>
in the spirit of the similar type-conv module, but more general
<bluestorm>
i have the impression that extension writers tends to rewrite the same things a lot
thelema has quit [Read error: 110 (Connection timed out)]
<flux>
lalu, ocamlfind list | grep labl, does it list some .gtkmain .gtkinit or similar module?
<Lalu>
flux, no
vixey has quit []
<Lalu>
now i installed a labl-gtk package and now there ist the output: lablgtk2 (version: 2.10.0)
<flux>
funny how it says nothing about missing packages
<flux>
but I suppose installing lablgl will fix that
<Lalu>
no, i've installed lablgl
<flux>
sorry, but I'll be going now for a minute
<flux>
perhaps someone else will be able to help :)
<flux>
(for a while, actually, perhaps a few hours)
<flux>
good luck..
<Lalu>
okay, thx
seafood has joined #ocaml
jlouis has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Client Quit]
<ertai>
bluestorm: type-conv, derving, OCamlTemplate... So much attempts...
m3ga has quit ["disappearing into the sunset"]
<bluestorm>
ertai: not so much
<bluestorm>
they're more like frameworks aimed at specific things
<ertai>
bluestorm: a matter of point of view in fact
<bluestorm>
(and there is patterns that i haven't looked at yet)
<bluestorm>
and i consider type-conv as successful in what it does : i've written a few type-conv-extensions myself and found it valuable
<bluestorm>
i was thinking of a "low-level" lib of AST manipulation functions
<flux>
bluestorm, maybe a tree manipulation library with ast-support?
<flux>
os something more specific..
<bluestorm>
hm
<bluestorm>
the idea was only to look at the different camlp4 extensions avaiable right now, see if they share some common auxiliary functions (modulo some changes maybe), and factor them out in a common library
<bluestorm>
for example, both Jacques Carette's pa_monad define a patt_to_expr function
<bluestorm>
this was caused by a real need, and is likely to be useful in other extensions
<ertai>
bluestorm: that kind of auxillary function over camlp4 ast can be integrated
<bluestorm>
(iirc. pa_bitmatch do something similar, but i'm not sure)
<ertai>
bluestorm: There is perhaps one also in camlp4 itself
mikezackles has joined #ocaml
Philonous has quit [Read error: 113 (No route to host)]
Philonous has joined #ocaml
thelema has joined #ocaml
asmanur has quit [Remote closed the connection]
asmanur has joined #ocaml
marmotine has joined #ocaml
thelema has quit [Read error: 110 (Connection timed out)]
jeddhaberstro has joined #ocaml
bluestorm has quit [Remote closed the connection]
bluestorm has joined #ocaml
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
rwmjones_ has joined #ocaml
asmanur has quit [Remote closed the connection]
rwmjones has quit [Read error: 104 (Connection reset by peer)]
filp has quit ["Bye"]
pec1 has joined #ocaml
rwmjones_ has quit ["Closed connection"]
rwmjones has joined #ocaml
guillem has quit [Remote closed the connection]
itouch has joined #ocaml
itouch has quit ["le devoir m'appel ..."]
itouch has joined #ocaml
OChameau has quit ["Leaving"]
mishok13 has quit [Read error: 104 (Connection reset by peer)]