gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
lamawithonel has joined #ocaml
eaburns has joined #ocaml
eaburns has left #ocaml []
eaburns has joined #ocaml
init1 has quit [Quit: Quitte]
seafood has quit [Quit: seafood]
jonafan_ has joined #ocaml
maskd- has joined #ocaml
lamawithonel has quit [Remote host closed the connection]
maskd has quit [Read error: Connection reset by peer]
eaburns has quit [Write error: Connection reset by peer]
ninegrid has quit [Ping timeout: 260 seconds]
lamawithonel_ has joined #ocaml
orbitz has quit [Ping timeout: 240 seconds]
ninegrid has joined #ocaml
eaburns has joined #ocaml
Tobu has joined #ocaml
kaustuv_ has quit [Ping timeout: 240 seconds]
rwmjones has quit [Ping timeout: 245 seconds]
orbitz has joined #ocaml
jonafan has joined #ocaml
jonafan__ has quit [Ping timeout: 245 seconds]
rwmjones has joined #ocaml
jonafan_ has quit [Ping timeout: 260 seconds]
Leonidas_ is now known as Leonidas
lamawithonel has joined #ocaml
lamawithonel_ has quit [Ping timeout: 264 seconds]
maskd- is now known as maskd
rmitt_ has quit [Quit: Page closed]
RLa has joined #ocaml
<RLa> what does "of" keyword do?
<RLa> ah, it just separates type constructor argument types from the constructor name?
<thelema> yup, that's all.
lamawithonel has quit [Ping timeout: 255 seconds]
<palomer_> ho hum, anyone know where I can get the curses ocaml source?
lamawithonel has joined #ocaml
<thelema> is it linked off the hump?
<palomer_> the homepage is
<thelema> but it's dead?
<palomer_> the webpage isn't
<palomer_> but the link to sources off the webpage is
* palomer_ wonders if he'll ever understand keyboard input in curses
<thelema> hmm, savannah is a sourceforge by the gnu people - did it get decommissioned while I wasn't looking?
<palomer_> all of savannah is down?
<thelema> it seems...
lpereira has joined #ocaml
lamawithonel has quit [Ping timeout: 264 seconds]
Derander has joined #ocaml
Snark has joined #ocaml
seafood has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
jonafan_ has joined #ocaml
seafood has quit [Ping timeout: 245 seconds]
rwmjones has quit [Ping timeout: 245 seconds]
fabjan_ has joined #ocaml
hto_ has joined #ocaml
svenl has joined #ocaml
jonafan has quit [Ping timeout: 240 seconds]
fabjan has quit [Ping timeout: 240 seconds]
noj_ has quit [Ping timeout: 272 seconds]
hto has quit [Ping timeout: 272 seconds]
svenl_ has quit [Ping timeout: 240 seconds]
noj has joined #ocaml
RLa has quit [*.net *.split]
RLa has joined #ocaml
nimred has joined #ocaml
nimred has quit [Changing host]
nimred has joined #ocaml
init1 has joined #ocaml
_nejimban has quit [Ping timeout: 276 seconds]
rwmjones has joined #ocaml
nejimban has joined #ocaml
avsm has joined #ocaml
Edward_ has joined #ocaml
ikaros has joined #ocaml
Yoric has joined #ocaml
Edward_ has quit []
redfire has joined #ocaml
Edward_ has joined #ocaml
boscop_ is now known as boscop
Amorphous has quit [Ping timeout: 265 seconds]
lamawithonel has joined #ocaml
lamawithonel has quit [Remote host closed the connection]
Amorphous has joined #ocaml
avsm has quit [Quit: Leaving.]
RLa has quit [Read error: Operation timed out]
RLa has joined #ocaml
dug_ has quit [Ping timeout: 265 seconds]
dug__ has joined #ocaml
fx_ has quit [Ping timeout: 265 seconds]
fx_ has joined #ocaml
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
schme is now known as schmrkc
ulfdoz has joined #ocaml
eaburns has left #ocaml []
RLa has quit [Quit: Leaving]
Elench has quit [Ping timeout: 255 seconds]
palomer_ is now known as palomer
schmrkc has quit [Ping timeout: 250 seconds]
Leonidas has quit [Ping timeout: 245 seconds]
<palomer> oh lord, curses is a pita
<palomer> or, rather, getch () is a pita
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
_JusSx_ has joined #ocaml
_JusSx_ has quit [Client Quit]
<hcarty> What is the process to request a git repository on the forge?
<thelema> file a bug in the right tracker... or bother gildor
<hcarty> I'm going to move Gtk-light over, in the hope that someone else will find it useful and possibly help extend it.
<thelema> it's on github now?
<hcarty> thelema: On my own page, with a private git repository
<hcarty> Only two commits, so it's not much of a history
<thelema> publish anyway.
schme has quit [Ping timeout: 260 seconds]
<hcarty> That's the plan
<gildor> hcarty: just ask in the project submission form
<hcarty> gildor: Sorry, I already submitted it
<hcarty> gildor: The project unix name is gtk-light
<gildor> ok, wait 5 minutes, I need to turn on my computer
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
<hcarty> gildor: Thank you - no rush! But thank you for your time.
schme is now known as schmrkc
<gildor> hcarty: done
<gildor> /gitroot/gtk-light/gtk-light.git
<gildor> on ssh.ocamlcore.org
* gildor biberon time for my daughter, back in 45 min
<hcarty> gildor: Thank you!
ygrek has joined #ocaml
ygrek has left #ocaml []
ygrek has joined #ocaml
lpereira has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
Snark has quit [Quit: Ex-Chat]
Edward_ has quit []
Edward has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
gildor has quit [Ping timeout: 240 seconds]
Yoric has quit [Ping timeout: 245 seconds]
ygrek has quit [Ping timeout: 245 seconds]
palomer has quit [Ping timeout: 246 seconds]
ygrek has joined #ocaml
ftrvxmtrx has joined #ocaml
palomer has joined #ocaml
gildor has joined #ocaml
rgrig has joined #ocaml
EliasAmaral has joined #ocaml
<EliasAmaral> Exception: Sys_error "Invalid cross-device link".
<EliasAmaral> shouldn't Sys.rename behave as mv(1) while moving files from different devices?
<EliasAmaral> hmm rename(2) does not work that way....
<EliasAmaral> what should I do if I want something like mv(1)?
<adrien> rename(2) doesn't work between devices
<adrien> I guess you'll have to copy and then remove the old file (which is always what is done)
<EliasAmaral> there is some exception handling involved (like, if someone remove after i copy, my remove will fail, and i have to guard against it)
mikemc has quit [Ping timeout: 260 seconds]
<adrien> or instead: check the file is still there before removing it?
<EliasAmaral> this is prone to races
<EliasAmaral> (suppose someone remove before i checked if it's still there)
<EliasAmaral> oh, after
<EliasAmaral> but before the rm
<adrien> check before and catch the exceptions? :p
<EliasAmaral> yes
<EliasAmaral> writing robust software has something to do with having a library that makes it easy [ or: writing one ]
lpereira has joined #ocaml
<EliasAmaral> btw.. how to copy a file?
<thelema> Unix.something
<EliasAmaral> apparently it isn't there
<EliasAmaral> I think I will call Sys.command("mv")
<adrien> I actually can't find a library that implements that as a single function, I'm quite surprised :o
<EliasAmaral> a candidate would be BatFile
<adrien> he, forgot to check in batteries =/
<EliasAmaral> I find copy_file there http://www.mpi-sws.org/~rossberg/sml-vs-ocaml.html
<EliasAmaral> "Caveat: above code actually contains a race condition.", but ctually, I was resisting doing this with streams
mikemc has joined #ocaml
<EliasAmaral> I once did a networking app that grabbed strings, did some manipulation, and wrote somewhere.. it was slow, and I spent a lot of type playing with Buffer and such
<adrien> I've never really used batteries but iirc, you can quite easily open a file, pipe it through several functions and write the result
<EliasAmaral> nice :)
<adrien> boah, shame on me, I'm extensively using ocaml-fileutils and didn't even think of it =/
avsm has joined #ocaml
init1 has quit [Quit: Quitte]
<EliasAmaral> hehe, I was using ocaml-fileutils already for mkdir -p ..
<thelema> EliasAmaral: kick
avsm has quit [Quit: Leaving.]
ygrek has quit [Ping timeout: 245 seconds]
boscop has quit [Ping timeout: 245 seconds]
boscop has joined #ocaml
redfire has left #ocaml []
schmrkc has quit [Ping timeout: 276 seconds]
schmrkc has joined #ocaml
avsm has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
ftrvxmtrx has quit [Ping timeout: 264 seconds]
<gildor> EliasAmaral: there is ocaml-fileutils that provides a mv
<gildor> EliasAmaral: I see you already discover it
<adrien> took some time however =/
lpereira has quit [Quit: Leaving.]
EliasAmaral has quit [Ping timeout: 240 seconds]
ftrvxmtrx has joined #ocaml
schmrkc has quit [Ping timeout: 240 seconds]
avsm has quit [Quit: Leaving.]
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]