<Drup>
dsheets: did you had to look up the number of do you know it by hearth ? :D
dsheets has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
struktured has quit [Ping timeout: 246 seconds]
madroach_ has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
Algebr has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
antkong has quit [Ping timeout: 265 seconds]
antkong has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
rand__ has quit [Quit: leaving]
ygrek has joined #ocaml
mac10688 has joined #ocaml
palomer has quit [Quit: palomer]
empyreany has joined #ocaml
<empyreany>
i'm having some getting my environment set up. i'm trying to execute the command '#use "camlp5"' and i'm getting the error 'Cannot find file camlp5.' i've install camlp5 via the command 'opam install camlp5'. any ideas would be most appreciated
swgillespie[GT] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ygrek has quit [Ping timeout: 250 seconds]
antkong has quit [Ping timeout: 250 seconds]
antkong has joined #ocaml
<Drup>
empyreany: try "require" instead
<Drup>
(though i never used camlp5, and I'm not sure what you want to do with it)
<empyreany>
Drup, i think it supports quotations that are no longer supported by camlp4
<empyreany>
Drup, that seemed to work
<empyreany>
thanks
<Drup>
quotations are supported by camlp4
<empyreany>
Drup, i'm still fairly new to this so forgive my ignorance... i'm trying to get the code for "Handbook of Practical Logic and Automated Reasoning" working and in the past i haven't been able to get it to work with camlp4
<manuel_>
i want to parametrize my symbol table on a symbol type (say, mapping strings to internal integers), and also to create arbitrary symbol tables of that type
infinity0 has quit [Ping timeout: 264 seconds]
fluter has quit [Ping timeout: 264 seconds]
<ggole>
That's quite a confusing interface
infinity0 has joined #ocaml
fluter has joined #ocaml
<ggole>
First you have a (mutable, global) mapping of strings to symbols, then a (mutable, global) mapping of symbols to 'a
<ggole>
If you want to create arbitrary tables from symbols to whatever you want, you have to be able to create more than one kind of table, so you need to rethink the signature.
infinity0 has quit [Remote host closed the connection]
<manuel_>
yeah i was taking this from the compiler book by appel (in SML)
<please_help>
Hardware accelerated + - * / rem log exp hyperbolic-trig trig rng dot elemwise-comparisons max min product sum argmax argmin (and all the relevant dimwise ops), inf, nan, zero element position extraction, fancy indexing, typical manipulation ops (reshape, tile, join, etc.) multidimensional addressing, hopefully fft and convolution as well.
<Drup>
isn't that typical BLAS/LAPACK stuff ? (not my domain at all, sorry)
troydm has quit [Ping timeout: 260 seconds]
echo-area has joined #ocaml
manuel_ has quit [Quit: manuel_]
<please_help>
Drup: It's more than blas. Blas as + - * / dot and inverse and that's pretty much it. LAPACK is stuff like SVD, finding solutions (i.e. tensors as equations, whcih isn't what I'm refering to when I talk about 0s above), stuff like that which I don't care much about (except SVD I guess). Beside, I want in particular a gpu accelarated version.
<Drup>
Well, there are blas/lapack bindings, and there is also oml. I'm affraid you'll have to make the rest yourself :/
manuel_ has joined #ocaml
<please_help>
Additionally, blas only defines ops on vectors, scalars, matrices, and the cartesian product thereof. I need up to 4-tensors at least.
manuel_ has quit [Client Quit]
<Drup>
do you know any C libraries doing all that ? You could bind them
<please_help>
Yeah, there's arrayfire. Binding it myself was the plan, so was writing the symbolic computation lib. I hoped maybe something was already available but apparently not.
<Drup>
I guess you could ask oml people
<please_help>
oml doesn't seem hardware accelerated and also seems to only care about vector and matrices.
<Drup>
I meant collaborate ;)
manuel_ has joined #ocaml
<please_help>
oh ;)
manuel_ has quit [Client Quit]
troydm has joined #ocaml
lobo has joined #ocaml
please_help has quit [Ping timeout: 264 seconds]
Bluddy has quit [Quit: Connection closed for inactivity]
<Drup>
did they really named their archive "pain" ?
<Drup>
anyway
<Drup>
cow is really not the right tool for that
<Drup>
use xmlm
<t4nk731>
yes they did... ok thank you
JuggleTux has joined #ocaml
^elyse^ has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
mort___ has joined #ocaml
palomer has joined #ocaml
manuel_ has joined #ocaml
__uu__ has joined #ocaml
__uu__ has quit [Remote host closed the connection]
__uu__ has joined #ocaml
__uu___ has quit [Ping timeout: 252 seconds]
^elyse^ has quit [Quit: Leaving]
tmtwd has joined #ocaml
mort___ has quit [Quit: Leaving.]
t4nk731 has quit [Ping timeout: 246 seconds]
^elyse^ has joined #ocaml
FreeBirdLjj has joined #ocaml
<SomeDamnBody>
what's up with Bigarray.Array2.create - I create one with suitable dimensions, but then when I go to use the damn thing it gives me index out of bounds even for shit like 0,0
<SomeDamnBody>
that doesn't make any sense
<palomer>
hey guys
<palomer>
how do I specify a dependency between two ML files with ocamlbuild?
<SomeDamnBody>
palomer, you don't need to, it automatically picks that up
<palomer>
oh my
<palomer>
how nice
<SomeDamnBody>
At least with the way that I use oasis and all I've never had to do that. I tell it where main is, and maybe what modules to expose and it does all the work for me
<SomeDamnBody>
yeah I know
<SomeDamnBody>
:D
<SomeDamnBody>
anybody used bigarray before?
FreeBirdLjj has quit [Ping timeout: 260 seconds]
<Drup>
SomeDamnBody: please show code
<SomeDamnBody>
I just opened up utop, and did open Bigarray;; let x = Array2.create Float64 fortran_layout 5 5 in x.{0,0} <- 1.0
<SomeDamnBody>
and it blew up with index out of bounds
Mercuria1Alchemi has quit [Ping timeout: 260 seconds]
Guest86412 has quit [Ping timeout: 246 seconds]
__uu__ has quit [Read error: Connection reset by peer]
__uu__ has joined #ocaml
picachu_ has quit [Quit: Saliendo]
picachu has joined #ocaml
Mandus has quit [Ping timeout: 240 seconds]
damason has quit [Ping timeout: 260 seconds]
kdef has joined #ocaml
mac10688 has joined #ocaml
FreeBirdLjj has joined #ocaml
<Algebr>
Drup: How can I mutate a JS value that I made in OCaml? I don't see a set function in Opt or OptDef
dsheets has joined #ocaml
<Algebr>
Like I have something that was null, now I want it to be "123", should I just use plain OCaml references?
Mandus has joined #ocaml
companion_square is now known as companion_cube
<Drup>
no idea
FreeBirdLjj has quit [Ping timeout: 265 seconds]
dsheets has quit [Ping timeout: 240 seconds]
<companion_cube>
Drup: which link is broken?
<Algebr>
Drup: When a javascript function is called with new, does call still get called
<Drup>
companion_cube: some link to the API, string I think
<Drup>
Algebr: No idea how prototype works in js
<companion_cube>
I should document myself on url checkers
manuel_ has quit [Quit: manuel_]
manuel_ has joined #ocaml
Mandus has quit [Ping timeout: 240 seconds]
Mandus has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
^elyse^ has quit [Quit: Leaving]
<Algebr>
Drup: I have something that I want to call with new, a constructor but its for something that I am writing a class type binding for. The docs only show making stand alone functions like let f = Js.Unsafe.global##_F
<Algebr>
just implementing call isn't working..
SomeDamnBody has quit [Ping timeout: 260 seconds]
dsheets has joined #ocaml
damason has joined #ocaml
lobo has quit [Quit: leaving]
bjorkintosh has quit [Quit: Leaving]
toomuchtvrotsurb has joined #ocaml
toomuchtvrotsurb has quit [Ping timeout: 252 seconds]
antkong_ has joined #ocaml
bjorkintosh has joined #ocaml
dsheets has quit [Ping timeout: 246 seconds]
swgillespie has joined #ocaml
Kakadu has quit [Remote host closed the connection]
manuel_ has quit [Quit: manuel_]
canhtak has quit [Quit: canhtak]
mort___ has quit [Quit: Leaving.]
sh0t has quit [Ping timeout: 246 seconds]
rgrinberg has joined #ocaml
toomuchtvrotsurb has joined #ocaml
madroach_ has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
toomuchtvrotsurb has quit [Ping timeout: 240 seconds]