flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.00.1 http://bit.ly/UHeZyT | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
gnuvince has joined #ocaml
walter has joined #ocaml
walter|r has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
dsheets has quit [Ping timeout: 258 seconds]
walter has quit [Ping timeout: 252 seconds]
walter has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
eikke has quit [Ping timeout: 264 seconds]
eikke has joined #ocaml
darkf has joined #ocaml
giaour has quit [Quit: leaving]
madroach has quit [Ping timeout: 248 seconds]
madroach has joined #ocaml
emmanuelux has quit [Quit: emmanuelux]
derek_c has quit [Ping timeout: 264 seconds]
skchrko_ has joined #ocaml
eikke has quit [Ping timeout: 256 seconds]
pkrnj_ has joined #ocaml
pkrnj has quit [Ping timeout: 240 seconds]
pkrnj_ is now known as pkrnj
pkrnj has quit [Quit: Computer has gone to sleep.]
pkrnj has joined #ocaml
weie has quit [Quit: Leaving...]
talzeus has joined #ocaml
talzeus has quit [Quit: where is the love...]
talzeus has joined #ocaml
venk has quit [Ping timeout: 240 seconds]
yacks has quit [Ping timeout: 240 seconds]
yacks has joined #ocaml
weie has joined #ocaml
vpit3833 has joined #ocaml
vpit3833 has quit [Ping timeout: 252 seconds]
vpit3833 has joined #ocaml
breakds has joined #ocaml
ocp has joined #ocaml
vpit3833 has quit [Ping timeout: 255 seconds]
ocp has quit [Ping timeout: 252 seconds]
Snark has joined #ocaml
mhi^ has joined #ocaml
ttamttam has joined #ocaml
Tobu has joined #ocaml
yezariaely has joined #ocaml
yezariaely has quit [K-Lined]
wwilly has quit [Quit: Leaving]
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
yezariaely has joined #ocaml
breakds has quit [Quit: Konversation terminated!]
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
ttamttam has left #ocaml []
olasd has quit [Read error: Connection reset by peer]
ontologiae has joined #ocaml
breakds has joined #ocaml
olasd has joined #ocaml
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
leoncamel has quit [Ping timeout: 252 seconds]
derek_c has joined #ocaml
yacks has quit [Read error: Operation timed out]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
hkBst has quit [Ping timeout: 256 seconds]
hkBst has joined #ocaml
zpe has joined #ocaml
derek_c has quit [Quit: leaving]
yacks has joined #ocaml
PM has quit [Ping timeout: 245 seconds]
wwilly has joined #ocaml
ttamttam has joined #ocaml
<wwilly> \o
thomasga has joined #ocaml
<adrien> morning
cago has joined #ocaml
mika1 has joined #ocaml
djcoin has joined #ocaml
frogfoodeater has quit [Ping timeout: 276 seconds]
rixed has quit [Remote host closed the connection]
awm22 has joined #ocaml
SanderM has joined #ocaml
yacks has quit [Quit: Leaving]
jbrown has joined #ocaml
frogfoodeater has joined #ocaml
ontologiae has quit [Ping timeout: 252 seconds]
yacks has joined #ocaml
RagingDave has joined #ocaml
sgnb` has joined #ocaml
sgnb has quit [Ping timeout: 245 seconds]
Kakadu has joined #ocaml
yacks has quit [Ping timeout: 246 seconds]
frogfoodeater has quit [Ping timeout: 264 seconds]
Yoric has joined #ocaml
yacks has joined #ocaml
eikke has joined #ocaml
sgnb` has quit [Remote host closed the connection]
sgnb has joined #ocaml
ontologiae has joined #ocaml
Kakadu has quit [Ping timeout: 256 seconds]
mcclurmc has joined #ocaml
davi_____ has joined #ocaml
davi_____ has quit [Remote host closed the connection]
talzeus_ has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
leoncamel has joined #ocaml
sad0ur has quit [Ping timeout: 246 seconds]
sad0ur has joined #ocaml
mort___ has joined #ocaml
frogfoodeater has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.9.2]
breakds has quit [Quit: Konversation terminated!]
dsheets has joined #ocaml
talzeus_ has quit [Read error: Connection reset by peer]
talzeus has joined #ocaml
ollehar has joined #ocaml
mort___ has quit [Ping timeout: 240 seconds]
asmanur has quit [Quit: quit]
frogfoodeater has quit [Ping timeout: 264 seconds]
frogfoodeater has joined #ocaml
Kakadu has quit [Quit: Page closed]
UncleVasya has joined #ocaml
Neros has joined #ocaml
Zerker has joined #ocaml
yacks has quit [Ping timeout: 276 seconds]
yacks has joined #ocaml
Zerker has quit [Remote host closed the connection]
Zerker has joined #ocaml
Kakadu has joined #ocaml
beckerb has joined #ocaml
yacks has quit [Read error: Operation timed out]
yacks has joined #ocaml
_andre has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
talzeus has quit [Quit: where is the love...]
ollehar1 has joined #ocaml
wwilly has quit [Remote host closed the connection]
mort___ has joined #ocaml
toolslive has joined #ocaml
mhi^ has left #ocaml []
Zerker has quit [Remote host closed the connection]
ollehar1 has quit [Ping timeout: 264 seconds]
hkBst has quit [Remote host closed the connection]
ousado has joined #ocaml
zpe has quit [Remote host closed the connection]
fasta has quit [Remote host closed the connection]
fasta has joined #ocaml
hkBst__ has joined #ocaml
fasta has quit [Remote host closed the connection]
fasta has joined #ocaml
fasta has quit [Read error: Connection reset by peer]
fasta has joined #ocaml
dsheets has joined #ocaml
frogfoodeater has quit [Ping timeout: 264 seconds]
hkBst__ has quit [Ping timeout: 240 seconds]
ollehar1 has joined #ocaml
wwilly has joined #ocaml
zpe has joined #ocaml
UncleVasya has quit [Ping timeout: 256 seconds]
talzeus has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
anderse has joined #ocaml
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
Armael has quit [Ping timeout: 256 seconds]
q66 has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 256 seconds]
sad0ur has quit [Quit: leaving]
cago has quit [Quit: Leaving.]
zpe has joined #ocaml
mika1 has quit [Quit: Leaving.]
ggole has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
awm22 has quit [Quit: Leaving.]
smondet has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 256 seconds]
oriba has joined #ocaml
wsebastian has quit [Remote host closed the connection]
ollehar1 has quit [Ping timeout: 256 seconds]
tane has joined #ocaml
tane has quit [Client Quit]
dsheets has quit [Ping timeout: 248 seconds]
dsheets has joined #ocaml
djcoin has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
hkBst has quit [Quit: Konversation terminated!]
thomasga has quit [Quit: Leaving.]
leoncamel has quit [Ping timeout: 248 seconds]
wsebastian has joined #ocaml
darkf has quit [Quit: Leaving]
breakds has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.9.2]
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
SanderM has quit [Read error: Connection reset by peer]
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
adahlberg has quit [Remote host closed the connection]
zpe has joined #ocaml
dsheets has quit [Ping timeout: 264 seconds]
thomasga has joined #ocaml
zpe has quit [Ping timeout: 256 seconds]
beckerb has quit [Ping timeout: 245 seconds]
mort___ has quit [Ping timeout: 240 seconds]
adahlberg has joined #ocaml
yacks has quit [Ping timeout: 258 seconds]
adahlberg has quit [Remote host closed the connection]
Kakadu has quit [Quit: Page closed]
yacks has joined #ocaml
zpe has joined #ocaml
yacks has quit [Ping timeout: 255 seconds]
yacks has joined #ocaml
contempt has quit [Ping timeout: 240 seconds]
zpe has quit [Ping timeout: 260 seconds]
Armael has joined #ocaml
smerz_ has joined #ocaml
yacks has quit [Quit: Leaving]
mcclurmc has quit [Ping timeout: 264 seconds]
tane has joined #ocaml
zpe has joined #ocaml
<ousado> has anyone played with ocaml+opencl?
<ousado> wmeyer`: might be a nice use for Fan
zpe has quit [Ping timeout: 264 seconds]
ontologiae has quit [Ping timeout: 264 seconds]
yacks has joined #ocaml
ollehar1 has joined #ocaml
breakds has quit [Remote host closed the connection]
Kakadu has joined #ocaml
<toolslive> I have used ocaml + cuda (way back in 2009)
zpe has joined #ocaml
pango has quit [Quit: reboot]
leoncamel has joined #ocaml
<toolslive> at that point in time, opencl was still vaporware
ollehar1 has quit [Quit: ollehar1]
<ousado> toolslive: via some DSL or just regular bindings?
zpe has quit [Ping timeout: 255 seconds]
pango has joined #ocaml
<ousado> ah ok, daml I guess
malo_ has joined #ocaml
<toolslive> just regular bindings
<toolslive> no our own.
<ousado> an ocaml equivalent for http://hackage.haskell.org/package/accelerate would be nice
<toolslive> anyway, there have been rather interesting experiments with haskell DSLs for .... (damn you're first)
<ousado> I can't find much. A little surprising, Janestreet certainly has lots of applications for that kind of stuff
pib1942 has quit [Remote host closed the connection]
<ousado> but maybe they just use CUDA
ollehar1 has joined #ocaml
<wmeyer`> ousado: I believe hongbo is working on some C qutations mechanism
<toolslive> there's an interesting paper called "deconstraining DSLs".
<ousado> yes, indeed :)
<ousado> wmeyer`: unfortunately he's not working on his blog, though :)
<toolslive> the problem being that if you have a dsl with different backends you don't want to end up with the gcd of the backends as front end
ggole has quit []
ollehar1 has quit [Quit: ollehar1]
asmanur has joined #ocaml
<ousado> haxe had to deal with similar issues, I think they took a sensible approach, having the gcd as true x-platform API, and offer platform specific APIs on top of that
<toolslive> yes, but then you cannot take full advantage of the backend's features...
<ousado> you can
<ousado> it's just not x-platform anymore
<toolslive> ah yes, like that.
<toolslive> it's a balancing exercise.
<ousado> it works out very well
<ousado> but I'm not sure that wouldapply to the cuda/opencl stuff equally
<ousado> however, opencl aims to be a standard already
<toolslive> in the end, we did not go for the gpgpu approach as the cost of moving the data back and forth (to the card, off the card) was too high
<ousado> toolslive: what was that for?
<toolslive> rateless codes for storage.
ttamttam has joined #ocaml
<toolslive> the codec we used can be seen as a very large sparse linear system
<toolslive> so encoding & decoding would be done on the gpus to speed it up
<ousado> ah - basically you want a function, that when executed gives you some file?
<toolslive> no I have a system, that when solved gives me the file.
<toolslive> so encoding is creating the system from the file, decoding is solving the system
<ousado> well, OK
<thelema> toolslive: ldpc, right?
<toolslive> yes, a variant of that
<ousado> very interesting
<thelema> the decoding still needs an appropriate number of data blocks
<toolslive> 'enough'
<thelema> I'm surprised that there's much use for GPU in this; decoding can be done incrementally in a very straightforward fashion, no?
<toolslive> the cool thing is that you can add the description of an equation to the equation, so you don't have to micromanage your encoded blocks
Snark has quit [Read error: No route to host]
<toolslive> well, in the end it's an 8400x8400 system
<toolslive> well, in the end it's an (8400 + z) x 8400 system
ollehar has quit [Ping timeout: 276 seconds]
<toolslive> where z is some number of extra equations.
zpe has joined #ocaml
<thelema> and each time you get a data block, you simplify that system; just like finding the value of one variable.
<toolslive> the GPU approach was about as fast as the CPU approach, but offloading makes your CPU free for other stuff.
Snark has joined #ocaml
<toolslive> well, the incremental approach works but is too slow,
<toolslive> in the beginning you're reducing the system a lot without recovering any block.
<toolslive> and after a while, you start getting more and more data blocks recovered for every encoded block you receive.
<toolslive> better wait until you know you have enough encoded blocks and then solve the system in one go.
<toolslive> it's faster, and simpler.
<thelema> because less wasted simplification... got it.
<ousado> did you have any patant issues?
<ousado> *patent
<toolslive> sorry, can't talk about the IP part ....
<toolslive> but the I can shamelessly plug the company website: www.amplidata.com
<ousado> very interesting
<ousado> what's TCO in that context?
<thelema> ousado: total cost of ownership
<toolslive> in the end, storage === telecom, so everything that works in telecom, works in storage.
malo_ has quit [Ping timeout: 260 seconds]
<ousado> ah of course
zpe has quit [Ping timeout: 248 seconds]
<ousado> Aha: "Enhancements to Amplidata’s patent-pending BitSpread Erasure Coding software, the industry’s first rateless erasure coding, now allows AmpliStor to drive 10 Gigabit Ethernet network interfaces to full capacity per storage controller."
<toolslive> well, that's the commercial bla bla. I just solved the math & CS problems.
<ousado> haha
<thelema> toolslive: it's awesome that you're using OCaml for this work
contempt has joined #ocaml
<ousado> yeah.. the real work is always done by the PR guys
<toolslive> well, it's not only ocaml. ocaml for coordination, C & asm for the crunching.
<thelema> toolslive: sure; inner loop optimization.
<ousado> or IOW, ocaml for the correctness
<toolslive> not only that. the whole solving of the systems was plain C.
malo_ has joined #ocaml
<toolslive> the xorring in asm
<thelema> toolslive: yes, the xoring has to be done in asm; why solve systems in C other than faster solving?
<toolslive> you wanted to solve the system in ocaml?
<thelema> alternately, why do any of it in OCaml?
<ousado> sounds like a code generation job to me
<ousado> but htat doesn't mean anything, since everything sounds like a code generation job to me
<toolslive> well, one of the things where OCaml sucks (by design) is different views of the same thing.
<toolslive> you want to look at some bytes as a number, or as a byte array, or as 2 numbers or as ....
<toolslive> just lifting a char out of a number is very slow in OCaml
<thelema> fwiw, there's some primitives added in svn trunk to improve this.
<thelema> I'm not sure it includes lifting char from int32
oriba has quit [Quit: oriba]
<toolslive> hm, can you give me a link?
<thelema> lookoing
<thelema> *looking
contempt has quit [Ping timeout: 264 seconds]
contempt has joined #ocaml
<toolslive> the other thing where ocaml is bad is explicit memory management (like scratchpads etc)
<toolslive> so I used OCaml for the part where OCaml is perfect, C for the part where C is ok (I could have used Ada or whatever) and ASM for the fancy intel instructions....
<toolslive> actually, we were contemplating Haskell too, but in 2009 the haskell platform (toolchain, ...) was not mature enough.
<toolslive> seems OCaml has been overtaken...
<thelema> toolslive: unfortunately yes, although we're striking back with better tools
<toolslive> yes, but I can't even get typerex to work ok in my emacs.
<toolslive> opam, is a massive improvement btw.
<thelema> toolslive: even the v2 branch
<thelema> ?
zpe has joined #ocaml
<thelema> (or typerex)
<thelema> *of
<toolslive> the opam installed one. 1.99+
<companion_cube> you may also try merlin as an editor tool
<toolslive> I tried that too today, I couldn't get it installed via opam.
<toolslive> so there's still work there.
<thelema> merlin is working for me...
<companion_cube> for me too
<thelema> I'm just starting to figure out how to use it; but it does do something in my emacs
malo_ has quit [Read error: Operation timed out]
zpe has quit [Ping timeout: 256 seconds]
emmanuelux has joined #ocaml
<toolslive> ow, that's nice. (the bitfiddling thingies)
<toolslive> regarding my typerex problem it must be something stupid. I can enable it in my emacs, and the .cmt files get generated, but
<toolslive> using it, fe C-c C-t gives me "Error: nothing at l78c20"
<toolslive> If I look at the ocp-spotter buffer I get things like:
<toolslive> """
<toolslive> ...
<toolslive> cmt loading from /home/romain/workspace/ARAKOON/baardskeerder/src/_build/flog0.cmt
<toolslive> structure recorded: 2120 records
<toolslive> probing by /home/romain/workspace/ARAKOON/baardskeerder/src/flog0.ml:l78c20:l78c21
<toolslive> Error: nothing at l78c20
<toolslive> """
<wmeyer`> thelema: for me it's not working. however i will not try too hard this time as with other modes like typerex or ocaml-spotter.
<thelema> interesting; looks like it's not reading the .cmt file properly
<wmeyer`> thelema: it's lacking documentation at a first glance
<thelema> wmeyer`: merlin?
<wmeyer`> thelema: yup
<thelema> wmeyer`: I installed from opam and followed instructions starting at "Emacs interface" here: https://github.com/def-lkb/merlin
<thelema> you have to scroll down a lot to find them
ulfdoz has joined #ocaml
<wmeyer`> i meant i installed it through opam, and i can load it etc. so it's not a problem with installation
<wmeyer`> i think i am too tired to try again. However it's promising
<wmeyer`> (i got typerex working, which seems to be much harder than this)
malo_ has joined #ocaml
<toolslive> for me: merlin fails.
<toolslive> """==== ERROR [while installing yojson.1.1.3] ====
<toolslive> Internal error:
<thelema> toolslive: maybe try `opam update` to see if there's a new yojson release
<thelema> or a fix to the package
<thelema> hmm, 1.1.3 is the version of yojson I have installed with opam.
<wmeyer`> toolslive: "opam update" should do the trick (I think)
<toolslive> Everything is up-to-date.
<wmeyer`> maybe my yojson was installed before
<toolslive> nono and with --no-checksums it gives:
<companion_cube> I just reinstalled yojson with the up-to-date opam
<toolslive> gzip: stdin: invalid compressed data--crc error
<toolslive> so the tarball I get when downloading is corrupt
<thelema> toolslive: yes, most likely mjambon's website isn't giving proper download
<thelema> odd; I get what seems to be a proper download at the url you pasted
<thelema> 248258adbea24b9d8cecb0071e9e933e yojson-1.1.3.tar.gz
<wmeyer`> man in the middle attack ;-)
<thelema> or some broken proxy
<toolslive> deabb1820f400d38e56a1c966cb8dfd8 [actual result]
<thelema> I'm tempted to make the file available some other way, as it's only 24K
<toolslive> it's funny . I downloaded it with wget, and the md5sum is correct then
<toolslive> ok, once I have it, where do I put it for opam to use?
<thelema> ... dunno
<toolslive> I'll reverse engineer the location ;)
<thelema> you can just edit your repo and point it at your local file, I guess
<thelema> there's probably a right way to do this
malo_ has quit [Ping timeout: 240 seconds]
rwmjones has quit [Ping timeout: 245 seconds]
zpe has joined #ocaml
toolslive has quit [Ping timeout: 256 seconds]
mcclurmc has joined #ocaml
<wmeyer`> for yojson works
<wmeyer`> s/for/for me/
<wmeyer`> in opam
Arsenik has joined #ocaml
<wmeyer`> this is the link: http://mjambon.com/releases/yojson/yojson-1.1.3.tar.gz the same
<thelema> wmeyer`: toolslive can wget that correctly, but when opam downloads it (curl?) it's broken
<wmeyer`> so it looks like the repository has outdated md5, if not then this is something really bad
<thelema> wmeyer`: could be some environment variable changing how curl works
<wmeyer`> thelema: possibly
zpe has quit [Ping timeout: 252 seconds]
rwmjones has joined #ocaml
ttamttam has left #ocaml []
toolslive has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
dezzy has quit [Changing host]
dezzy has joined #ocaml
awm22 has joined #ocaml
toolslive has quit [Quit: Leaving]
contempt has quit [Ping timeout: 276 seconds]
zpe has joined #ocaml
wsebastian has quit [Read error: Connection reset by peer]
_andre has quit [Quit: leaving]
zpe has quit [Ping timeout: 258 seconds]
pib1951 has joined #ocaml
anderse has quit [Quit: anderse]
thomasga1 has joined #ocaml
thomasga has quit [Read error: Connection reset by peer]
adrien has quit [Read error: Operation timed out]
adrien has joined #ocaml
zpe has joined #ocaml
zpe has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
rwmjones has quit [Ping timeout: 256 seconds]
Neros has quit [Quit: No Ping reply in 180 seconds.]
rwmjones has joined #ocaml
Neros has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
Tobu has quit [Ping timeout: 246 seconds]
Kakadu has quit []
Tobu has joined #ocaml
Snark has quit [Quit: leaving]
jbrown has quit [Ping timeout: 240 seconds]
RagingDave has quit [Quit: Ex-Chat]
rwmjones has quit [Read error: Operation timed out]
tane has quit [Quit: Verlassend]
Arsenik has quit [Remote host closed the connection]
rwmjones has joined #ocaml
walter has quit [Quit: This computer has gone to sleep]
thomasga1 has quit [Quit: Leaving.]
smerz_ has quit [Ping timeout: 256 seconds]
walter has joined #ocaml
walter|r has joined #ocaml
walter has quit [Ping timeout: 245 seconds]
q66 has quit [Remote host closed the connection]
frogfoodeater has joined #ocaml
PM has joined #ocaml
dsheets has joined #ocaml
smondet has quit [Ping timeout: 248 seconds]
PM has quit [Remote host closed the connection]
PM has joined #ocaml
frogfoodeater has quit [Ping timeout: 258 seconds]
dsheets has quit [Ping timeout: 258 seconds]
frogfoodeater has joined #ocaml
eikke has quit [Ping timeout: 276 seconds]
emmanuelux has quit [Ping timeout: 240 seconds]
pkrnj has joined #ocaml