gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0+beta1 http://permalink.gmane.org/gmane.comp.lang.caml.inria/49168
bzzbzz has quit [Quit: leaving]
middayc has joined #ocaml
middayc has quit [Client Quit]
middayc has joined #ocaml
middayc has quit [Client Quit]
psnively has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
psnively has left #ocaml []
sepp2k has quit [Quit: Leaving.]
komar_ has joined #ocaml
valross has joined #ocaml
jakedouglas has joined #ocaml
Tianon has quit [Ping timeout: 276 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
elehack has joined #ocaml
_unK has joined #ocaml
joewilliams is now known as joewilliams_away
<krankkatze> window 21
<krankkatze> sorry
<chee> haha
<krankkatze> hmmm
<krankkatze> I'm using the Mysql module
<krankkatze> and it looks like I can load utf8-chars in a string
<krankkatze> how is it possible?
psnively has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
psnively has left #ocaml []
Obfuscate has quit [Ping timeout: 240 seconds]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
rillian has joined #ocaml
ygrek has joined #ocaml
Yoric has joined #ocaml
ttamttam has joined #ocaml
rwmjones_afk is now known as rwmjones
Amorphous has quit [Ping timeout: 248 seconds]
Amorphous has joined #ocaml
jeddhaberstro has quit [Quit: jeddhaberstro]
<chee> xrandr
<chee> xrandr --auto
<chee> xrandr --auto
rillian has left #ocaml []
Yoric has quit [Quit: Yoric]
coucou747 has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
<flux> how does ocsigen persistence work, really?
<flux> I'm persisting a Queue of at most 7200 elements every second
<flux> yet ocsigen doesn't (per strace) appear to be doing any disk-IO
<flux> so, it serializes/deserializes on exit/startup?
<flux> (which is good for me, not good should the server crash)
<flux> I suppose if I really care about durability, I should use a database (and I don't care about durability at this point)
valross has quit [Quit: Ex-Chat]
Yoric has joined #ocaml
ikaros has joined #ocaml
iratsu has quit [Ping timeout: 246 seconds]
komar_ has quit [Quit: WeeChat 0.2.6]
iratsu has joined #ocaml
itewsh has joined #ocaml
<adrien> npouillard: hi, currently it looks like ocamlbuild doesn't get #include dependencies for .c files, meaning that if you #include "foo.h", foo.h won't be copied to _build and won't be found by gcc/cpp but 'cpp' has a mode to create a make-compatible rule, if I made a patch to ocamlbuild today to parse the output of cpp -M, do you think it could be merged for 3.12?
<mfp> flux: which ocsipersist module are you using? the gdbm one, or the one based on sqlite?
<mfp> flux: IIRC the former doesn't flush to disk after each update; the latter does by default (see http://www.sqlite.org/pragma.html PRAGMA synchronous)
filp has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
_unK has quit [Remote host closed the connection]
<flux> mfp, mm... the default one?
<flux> mfp, also, when I "get" something, I get a deep copy of it, right?
<flux> (Queue being mutable this is quite relevant..)
<mfp> yes, it's using Marshal
oriba has joined #ocaml
ygrek has joined #ocaml
Obfuscate has joined #ocaml
<f[x]> krankkatze, why not?
<f[x]> adrien, better create a plugin snippet
sepp2k has joined #ocaml
<adrien> f[x]: that's what I'll do if I it doesn't get into 3.12 (I'll try to make it tonight)
<adrien> but currently, if your C files #include "foo.h", they won't build so it's not even a missing feature but rather a bug and it makes more sense to have it directly in ocamlbuild
<f[x]> afaik 3.12 is in feature freeze already :)
<f[x]> it is mentioned on the wiki to manually specify dep (and it will work with cl too)
<adrien> yeah, the example in the documentation does that but it's not very practical, especially when a ~10 lines change could fix it
<adrien> (I'm generating code, and editing .ml code would be impossible)
<adrien> it looks like cl.exe can't do anything like that (if someone with msvc can check, I'd be very thankful) so it wouldn't be available on msvc, a nice fallback being needed of course (but I don't know msvc enough to think of anything)
_andre has joined #ocaml
waterChip has joined #ocaml
animist has quit [Ping timeout: 265 seconds]
<f[x]> msvc doesn't have such option imho
<elehack> adrien: I believe MSVC can - look at the OMake build rules for C (build/C.om), they do dependency extraction with MSVC's CL
<elehack> try /Zs /showIncludes
<elehack> those seem to be the key options it uses
<elehack> (no guarantees it's in the same format, though)
* elehack does not have an OCaml/MSVC combination, so can't test though
<f[x]> elehack, indeed, good to know
<adrien> thanks, that will probably help me a lot =)
iratsu has quit [Ping timeout: 240 seconds]
iratsu has joined #ocaml
chee has quit [Ping timeout: 265 seconds]
avsm has joined #ocaml
waterChip has quit [Quit: waterChip]
waterChip has joined #ocaml
waterChip_ has joined #ocaml
waterChip has quit [Ping timeout: 265 seconds]
oriba has quit [Quit: Verlassend]
chee has joined #ocaml
chee has quit [Changing host]
chee has joined #ocaml
ccasin has joined #ocaml
waterChip_ has quit [Ping timeout: 240 seconds]
Associat0r has joined #ocaml
elehack has quit [Quit: not a typewriter]
rwmjones is now known as rwmjones_
rwmjones_ is now known as rwmjones
animist has joined #ocaml
joewilliams_away is now known as joewilliams
Yoric_ has joined #ocaml
Yoric has quit [Ping timeout: 258 seconds]
Yoric_ is now known as Yoric
rwmjones is now known as rwmjones_mtg
Yoric has quit [Remote host closed the connection]
Yoric has joined #ocaml
itewsh has quit [Quit: o/]
jakedouglas has joined #ocaml
jakedouglas has quit [Client Quit]
jakedouglas has joined #ocaml
marteo has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
sepp2k has quit [Remote host closed the connection]
ttamttam has quit [Remote host closed the connection]
_unK has joined #ocaml
<thelema>
<chee>
<thelema> hi all
<adrien> =)
filp has quit [Quit: Bye]
ttamttam has joined #ocaml
rwmjones_mtg is now known as rwmjones
ttamttam has quit [Quit: Leaving.]
avsm has quit [Ping timeout: 245 seconds]
ftrvxmtrx has joined #ocaml
marteo has quit [*.net *.split]
marteo has joined #ocaml
marteo has quit [Ping timeout: 260 seconds]
marteo has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
Yoric_ has joined #ocaml
Yoric_ has quit [Client Quit]
Yoric has quit [Ping timeout: 258 seconds]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 276 seconds]
<krankkatze> hey
<krankkatze> what's the simplest way to get the current timestamp?
<adrien> current timestamp?
<adrien> Unix.gettimeofday?
sepp2k has joined #ocaml
ccasin__ has joined #ocaml
boscop_ has quit [Ping timeout: 264 seconds]
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
metasyntax` has joined #ocaml
ccasin__ has quit [Quit: Leaving]
boscop has joined #ocaml
<hcarty> thelema: Does a build of Batteries with Camomile 0.8.1 produce binaries without hard-coded Camomile data paths?
_andre has quit [Quit: *puff*]
<gildor> hcarty: you need to use CamomileConfigDyn module
<hcarty> gildor: Thanks. I checked a recent Batteries commit and it looks like the path is still hard-coded at compile time in the Batteries source.
ygrek has quit [Ping timeout: 245 seconds]
ftrvxmtrx has joined #ocaml
<hcarty> Nevermind - I misunderstood the purpose of the commit. It was only to allow building against Camomile 0.8.1, not to address the binary relocation problem.
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
_unK has quit [Remote host closed the connection]
xavierbot has joined #ocaml
<rwmjones> xavierbot, hello
<rwmjones> xavierbot, help
<xavierbot> hello rwmjones, I am xavierbot 0.8, an OCaml toplevel
<xavierbot> expr ;; evaluate expr in toplevel and print result
<xavierbot> help help message
<xavierbot> restart restart the toplevel
<xavierbot> sleep go to sleep
<xavierbot> wake wake me up from sleep
xavierbot has quit [Remote host closed the connection]
xavierbot has joined #ocaml
<rwmjones> xavierbot, help
<xavierbot> hello rwmjones, I am xavierbot 0.8, an OCaml toplevel
<xavierbot> expr ;; evaluate expr in toplevel and print result
<xavierbot> help help message
<xavierbot> restart restart the toplevel
<xavierbot> sleep go to sleep
<xavierbot> wake wake me up from sleep
ccasin has quit [Quit: Leaving]
valross has joined #ocaml
Associat0r has quit [Quit: Associat0r]
Associat0r has joined #ocaml
avsm has joined #ocaml
chee has quit [Ping timeout: 265 seconds]
avsm has quit [Quit: Leaving.]
sepp2k has quit [Read error: Operation timed out]
marteo has quit [Quit: Debian GNU/Hurd is Good.]
erikc has joined #ocaml
drk-sd has quit [Ping timeout: 265 seconds]