<mfp>
ugh if I have an "empty" (as in std::string v;) C++ string in a scope which is left by raising an OCaml exception (caml_raise_constant), will that leak?
<flux>
I'd guess it could, but not likely. depends on implementation?
<flux>
can't you avoid doing that?
<mfp>
hmm I'll just copy to a char[SIZE] on the stack
<flux>
if you know when you're doing to raise it, you could explicitly destruct it
<flux>
mfp, or, before doing raise, s.~string(); ?
<mfp>
the latter sounds better
chrissbx has quit [Ping timeout: 258 seconds]
thomasga has quit [Quit: Leaving.]
betta_y_omega has quit [Ping timeout: 240 seconds]
betta_y_omega has joined #ocaml
sgnb has quit [Remote host closed the connection]
sgnb has joined #ocaml
Cyanure has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
Boscop_ has joined #ocaml
Boscop__ has quit [Ping timeout: 250 seconds]
betta_y_omega has quit [Ping timeout: 260 seconds]
lamawithonel has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
lamawithonel has quit [Ping timeout: 250 seconds]
jimmyrcom1 has joined #ocaml
jimmyrcom has quit [Ping timeout: 264 seconds]
jimmyrcom1 has quit [Read error: Connection reset by peer]
jimmyrcom has joined #ocaml
_andre has joined #ocaml
lopex has joined #ocaml
lamawithonel has joined #ocaml
sebz has joined #ocaml
ccasin has quit [Read error: Operation timed out]
ccasin has joined #ocaml
Boscop_ is now known as Boscop
lamawithonel has quit [Ping timeout: 250 seconds]
Cyanure has quit [Read error: Operation timed out]
Cyanure has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Remote host closed the connection]
vivanov has joined #ocaml
<flux>
mfp, ..did it work?-)
<vivanov>
i want to read from a file when smth is written into it. select [fd] [] [] ( -. 1.0 ) ;; returns [f_d] [] []. read f_d s 0 100 ;; returns 0
<flux>
select typically (ie. in linux) doesn't work with files in a useful fashion
<flux>
the way to do it is either: a) poll with stat when the file grows, read the new data or b) use inotify for asynchronous messages about file changes
DimitryKakadu has quit [Remote host closed the connection]
<mfp>
flux: s.~string() seems to work fine, thanks
dahc has joined #ocaml
<vivanov>
flux: thx :)
zorun_ has joined #ocaml
zorun_ has quit [Client Quit]
vivanov has quit [Quit: Lost terminal]
arubin has quit [Quit: arubin]
stephanewustner has quit [Read error: Operation timed out]
stephanewustner has joined #ocaml
avsm has quit [Quit: Leaving.]
joewilliams_away is now known as joewilliams
dnolen has joined #ocaml
dnolen has quit [Client Quit]
fraggle_laptop has joined #ocaml
yezariaely has joined #ocaml
malc_ has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
<mwm1>
0
Snark_ is now known as Snark
iratsu has quit [Ping timeout: 250 seconds]
yezariaely has quit [Quit: Leaving.]
betta_y_omega has joined #ocaml
blinky- has quit [Quit: /quat /quot]
betta_y_omega has quit [Ping timeout: 252 seconds]
lopex has quit []
avsm has joined #ocaml
ankit9 has quit [Quit: Leaving]
ikaros has joined #ocaml
iratsu has joined #ocaml
betta_y_omega has joined #ocaml
bobry has quit [Ping timeout: 258 seconds]
betta_y_omega has quit [Max SendQ exceeded]
betta_y_omega has joined #ocaml
NaCl is now known as lCaN
lCaN is now known as NaCl
betta_y_omega has quit [Max SendQ exceeded]
betta_y_omega has joined #ocaml
betta_y_omega has quit [Excess Flood]
avsm has quit [Quit: Leaving.]
betta_y_omega has joined #ocaml
betta_y_omega has quit [Ping timeout: 276 seconds]
betta_y_omega has joined #ocaml
bobry has joined #ocaml
accel_ has joined #ocaml
<accel_>
does ocaml have cocoa bindings?
<hcarty>
accel_: I think someone did something for using OCaml to write iPhone applications. I don't know if that involves cocoa.
<accel_>
that japanese team
<accel_>
that cross compiled ocmal onto the iphone?
<accel_>
that was pretty badass
<hcarty>
Whoever it was released their code/patches
Anarchos has joined #ocaml
<adrien>
there are others cocoa bindings too I think but they're maybe not in a perfect state
betta_y_omega has quit [Ping timeout: 258 seconds]
accel_ has quit [Quit: leaving]
ulfdoz has joined #ocaml
betta_y_omega has joined #ocaml
larhat has quit [Quit: Leaving.]
betta_y_omega has quit [Max SendQ exceeded]
betta_y_omega has joined #ocaml
betta_y_omega has quit [Ping timeout: 258 seconds]
betta_y_omega has joined #ocaml
betta_y_omega has quit [Max SendQ exceeded]
Anarchos has quit [Ping timeout: 240 seconds]
ankit9 has joined #ocaml
avsm has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
ygrek has joined #ocaml
slash_ has joined #ocaml
slash_ has left #ocaml []
sebz has joined #ocaml
edwin has quit [Ping timeout: 260 seconds]
edwin has joined #ocaml
malc_ has quit [Quit: leaving]
jamii has joined #ocaml
betta_y_omega has joined #ocaml
Snark has quit [Quit: Quitte]
Boscop has quit [Ping timeout: 258 seconds]
lopex has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
fraggle_laptop has quit [Ping timeout: 240 seconds]
_andre has quit [Quit: leaving]
<_habnabit>
looks like oasis is down again.
<_habnabit>
does this happen often?
drunK has joined #ocaml
<_habnabit>
hm, and gildor isn't here.
<thelema>
_habnabit: he's on vacation at the moment
<_habnabit>
drat.
<thelema>
otherwise it'd probably be back up now
<_habnabit>
trying to write a build script to do a full bootstrap of the environment necessary to build our software.
<_habnabit>
and it uses odb.ml to install some things.
<thelema>
odb servers are pretty simple things - one directory of tarballs and another directory of metadata files
<thelema>
you could probably host this locally
<_habnabit>
yeah, it's a possibility.
<_habnabit>
is there an existing mirror?
<thelema>
I think there isn't.
<_habnabit>
hmm.
<thelema>
it's on my todo list when oasis is back up
<_habnabit>
well, I don't know what format the metadata has to be in or anything.
<thelema>
key=value\nkey=value
<thelema>
deps=camomile(>=0.7.0)
<thelema>
tarball=batteries-1.3.0.tar.gz
<thelema>
is_library=true
<thelema>
That's the info file for batteries
<_habnabit>
hmm. maybe I should just store all of these things in our cdn.
<_habnabit>
i.e. godi rocketboost, odb.ml, etc.
<thelema>
I originally ran odb server off my lab computer
<thelema>
odb.ml still has commented out a second webroot that points there.
<thelema>
the server seems to still be listening, even.
<thelema>
it's got old packages, though. not up to date
<_habnabit>
okay, so I have the go-ahead to do a minimal local odb mirror.
<_habnabit>
while I'm at it, I could put the latest ocaml-csv in there.
<_habnabit>
are these info files available somewhere?