avsm has quit [Read error: Connection reset by peer]
hcarty has joined #ocaml
avsm1 has quit [Ping timeout: 240 seconds]
iratsu has joined #ocaml
avsm has joined #ocaml
_andre has quit [Quit: Lost terminal]
avsm has quit [Quit: Leaving.]
milosn has quit [Ping timeout: 246 seconds]
dnolen has quit [Quit: dnolen]
ankit9 has quit [Quit: Leaving]
<metasyntax|work>
Is it possible to directly read a file in .piq format using Piqi? Or can you only read the protocol buffers format?
lopex has quit []
<hcarty>
Is ocamlcore down?
<NaCl>
works for me
<hcarty>
NaCl: Thanks. It looks like the forge is up, but the oasis-db site is down
<NaCl>
ah
<hcarty>
That's a bummer
* NaCl
looked at updating haskell for opensuse
<NaCl>
that was a disaster
<hcarty>
thelema: A reasonably near-term goal for odb may be to have a mirror of the odb-relevant portions of the oasis-db site
<hcarty>
thelema: A simple, static mirror updated by cron or similar, would hopefully not be too much to maintain.
Snark has joined #ocaml
george_z0rwell has joined #ocaml
Reaganomicon has quit [Ping timeout: 250 seconds]
<adrien>
would it be technically feasible to have the datastructures from batteries in another library? I mean like batteries-data-structures and batteries
<adrien>
and "batteries" would depend on the other one
* adrien
needs an interval map on windows and knows of BatIMap now ='(
<adrien>
or can I copy the files I need in a proprietary application?
larhat has quit [Quit: Leaving.]
avsm has joined #ocaml
<adrien>
yeah, I'm definitely not going to create my own interval tree myself
ankit9 has joined #ocaml
betta_y_omega has quit [Ping timeout: 250 seconds]
bobry1 has quit [Ping timeout: 250 seconds]
betta_y_omega has joined #ocaml
<adrien>
found ocamlplot.sf.net, it mentions an interval tree (diet too) but I couldn't find the implementation in the sourceforge packages and it hasn't been updated in a long time
betta_y_omega has quit [Excess Flood]
<adrien>
(it's an interface to libplot in the first place)
joewilliams_away is now known as joewilliams
betta_y_omega has joined #ocaml
<thelema>
adrien: what's the problem with using batteries on windows?
<thelema>
hcarty: is oasis-db down?
avsm has quit [Quit: Leaving.]
_habnabit has quit [Changing host]
_habnabit has joined #ocaml
<thelema>
hcarty: isn't a better solution to have a mirror of oasis-db?
<thelema>
adrien: if you can't use the whole of batteries, you're welcome to take only the parts that you need. Make sure to grab BatAvlTree with BatIMap
<flux>
how does the license work in that case?
<thelema>
adrien: but I'd like to work with you on batteries on windows, if you have time.
<thelema>
flux: for batteries modules? They're each LGPLv2.1
<thelema>
+ linking exception
avsm has joined #ocaml
<adrien>
thelema: ok, that should do it, thanks :-)
<adrien>
thelema: as for windows, I don't have time right now (and that's also why I'm doing ocaml, because there aren't many languages (and library set) that will allow me to do what I have to do fast enough)
<adrien>
but in the future, sure
<adrien>
my plans for the future are: finish something with lablgtk-react (almost done, won't take long), update yypkg's gui with that, and make packages for yypkg again
<thelema>
let me know if you're ever available to work on this.
<adrien>
ok :-)
<adrien>
(the packages for yypkg includes ocaml packages this time ;-) )
<hcarty>
thelema: A mirror of oasis-db would be ideal, but that requires more infrastructure on the mirror side
<NaCl>
As necessary ingredient, there need to be mirror servers. They need to serve content via HTTP or FTP. To be scanned, they need to run rsync, FTP or HTTP (where rsync is most efficient).
<NaCl>
That stuff is for the server only
avsm has quit [Quit: Leaving.]
<thelema>
NaCl: what's required on the client side?
<NaCl>
rsync
<NaCl>
some way for the mirrors to scan
zorun_ has joined #ocaml
zorun_ has quit [Client Quit]
<NaCl>
rather, the primary source to scan the mirrors and check if they are alive/updated
<NaCl>
IIRC
<thelema>
so prior to downloading, there's a "scan mirrors for content" step that the client does, right?
<NaCl>
I believe so. I have never used it myself
<thelema>
and I'll have to implement whatever this entails in ocaml for odb to use mirrorbrain
<NaCl>
actually
<NaCl>
I think the checking is done on teh server side
<NaCl>
add a mirror there, and it checks stuff
<thelema>
If so, this seems nice, except for the complexity in setting up a mirror
<NaCl>
doesn't look like it's too hard
<NaCl>
it looks like communication is just set up via cron jobs, rsync, http, and ftp
<thelema>
requires: apache 2.2.6 or newer w/ mod_form, some database
ygrek has joined #ocaml
zorun_ has joined #ocaml
zorun has quit [Quit: leaving]
zorun_ has quit [Client Quit]
ygrek has quit [Remote host closed the connection]
zorun has joined #ocaml
<hcarty>
thelema, NaCl: This sounds like something which would be helpful once there are 10s of mirrors, rather than 1 or 2
<qdl>
I have a problem with string_of_float.
<qdl>
string_of_float 0.12 gives "0.12" as I like it.
<qdl>
string_of_float (0.0000012);; uses the so called scientific representation and gives "1.2e-06".
<hcarty>
qdl: You can use sprintf if you want more control over the format
<hcarty>
qdl: Printf.sprintf
<qdl>
Is it possible to use string_of_float without the scientific rubbish?
<NaCl>
Printf.sprintf
<hcarty>
qdl: It is if you spell it "Printf.sprintf"
<thelema>
qdl: let string_of_float x = Printf.sprintf "%f" x