[Caml-list] fundata1 -- Karmic Social Capital Benchmark and Shootout

2010-10-28 Thread Alexy Khrabrov
things at http://functional.tv/ Let the fun begin! -- Alexy Khrabrov firstname.lastnameATgmaildotcom ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's

Re: [Caml-list] Jane Street is hiring (as if you didn't already know)

2009-08-17 Thread Alexy Khrabrov
I believe that any OCaml job posting is such a cause to rejoice, that the only event which comes less frequently is a Haskell job posting! :) You have to be pretty heartless, or not planning to work as a functional programmer for money, to not be delighted by those sensible and interesting

Re: [Caml-list] antiquotations for c#

2009-04-15 Thread Alexy Khrabrov
On Wed, Apr 15, 2009 at 4:49 AM, Joel Reymont joe...@gmail.com wrote: Suppose I have a camlp4 parser for C#. I want to include bits of C# in my code and end up with the AST. I want to have holes in the above AST to plug in values. I understand that antiquotations take car of filling the

[Caml-list] when OO is wrong

2009-03-30 Thread Alexy Khrabrov
I liked the part of Yaron's Caml Trading talk where he says that OO is not always the right way to model things. I wonder about other situations where OO is wrong and functional approach simplifies modeling? And then, since UML is so OO-motivated, should we get a new UML, or all that OO

[Caml-list] ocamlfind ocamlopt.opt?

2009-03-17 Thread Alexy Khrabrov
[This is supposed to be the shortest question to the list so far; parts in brackets don't count! :)] ocamlfind ocamlopt.opt # how? [move away non.opt and ln -s x.opt x ? prettier? :)] Cheers, Alexy ___ Caml-list mailing list. Subscription

Re: [Caml-list] Re: ocamlfind ocamlopt.opt?

2009-03-17 Thread Alexy Khrabrov
On Mar 17, 2009, at 6:13 PM, Sylvain Le Gall wrote: I think you can also directly fix it through /etc/ocamlfind.conf or any other configuration file installed by ocamlfind. Duh -- my GODI has etc/findlib.conf doing it, and it shows destdir=/opt/ocaml/lib/ocaml/site-lib

Re: [Caml-list] caml trading

2009-03-16 Thread Alexy Khrabrov
Ah, what the heck, let's put this into a good Old Europe vs New World-style, capitalism vs. socialism perspective! On Mar 16, 2009, at 10:37 PM, David Baelde wrote: Like many others, I've been feeling for a long time that many financial products and practices don't make sense. I recognize

Re: Re : [Caml-list] changing labels on ocamlgraph edges

2009-03-12 Thread Alexy Khrabrov
On Mar 12, 2009, at 10:38 AM, Jean-Christophe Filliatre wrote: May be we should document add_edge more carefully, so that it is clear that it makes use of the default edge label, and that, consequently, this label is shared among all edges created with add_edge Indeed you have to use

[Caml-list] V.null in ocamlgraph

2009-03-11 Thread Alexy Khrabrov
In some folds over data when creating ocmalgraph's, I'd need an empty vertex value, something like V.null, to give to an edge-creating fold when I know it's not going to be used. Currently I have to look ahead into the data. Does it make sense to add a null value to the V module, or is

[Caml-list] changing labels on ocamlgraph edges

2009-03-11 Thread Alexy Khrabrov
It looks like the only way to change a label on an edge e -- say increment it -- is to read off the old one with G.E.label, then remember the src and dst with G.E.src/dst, then G.remove_edge_e g e, create a new edge e' with G.V.create src (label+1) dst, and G.add_adge_e g e'. Is this

[Caml-list] C-r in readline from programmer-monk?

2009-03-10 Thread Alexy Khrabrov
I'm using the readline for toplevel from programmer-monk for a while now: http://pmonk.net/svn/ocaml-misc/readline I can use the up-down arrows easily which is usually enough. Still when I try to do C-r for incremental backward search, it doesn't work. Anybody knows how to enable it?

Re: [Caml-list] The new OCaml book (Objective Caml Programming Language by Tim Rentsch)

2009-03-02 Thread Alexy Khrabrov
Tim -- thanks for clarification. I've bought the book at once when I saw it announced here, but now have second thoughts. From what you describe, it's clear to me that Jason is the originator of the book and you did the auxiliary tasks. Noe amount of calling up publishers can substitute

Re: [Caml-list] Linuxquestions.org: Language of the Year 2008

2009-02-18 Thread Alexy Khrabrov
: and the winner is NOT: Ocaml. : http://www.linuxquestions.org/questions/2008-linuxquestions.org-members-choice-awards-83/programming-language-of-the-year-695662/ Yeah right. A thousand folks who ask about Linux on a web site and like PHP and Java, and preferring C# to Haskell, are going

Re: [Caml-list] OCaml PLEAC reaches 100%

2009-01-30 Thread Alexy Khrabrov
I've discoverted OCaml PLEAC early on while learning OCaml, and found the only method of getting the OCaml way which beats asking on the IRC: grep the PLEAC. I believe we all owe a great debt of gratitude to Dave who toiled with amazing perseverance and ingenuity for years to make it

[Caml-list] N-gram models

2009-01-08 Thread Alexy Khrabrov
Does anybody have/know of ngram language models implemented in OCaml, particularly Kneser-Ney smoothing? Cheers, Alexy ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives:

Re: [Caml-list] More cores

2008-12-19 Thread Alexy Khrabrov
I've used prelude.ml to parallelize my system, and it works fine on Mac OSX. Ilmari has graciously worked with me to add versions of pmap called pmap_init to initialize per-process file descriptors, and pmap_initWithIndex to let the pieces know their IDs -- hopefully they will be rolled

[Caml-list] fast functional in-memory database?

2008-12-15 Thread Alexy Khrabrov
I've looked at APL descendants like J (jsoftware.com) and Q (kx.com), and found Q very interesting due to its underlying in-memory database, kdb+. It made me think of a way to experiment with it in OCaml. The idea is that once you marry vector/list processing with very fast SQL- like

Re: [Caml-list] caml_atom_table bug still present in ocaml 3.11.0

2008-12-08 Thread Alexy Khrabrov
On Dec 8, 2008, at 12:25 PM, Erick Tryzelaar wrote: 2008/12/7 Alexy Khrabrov [EMAIL PROTECTED]: When compiling with ocamlopt from 3.11 on Mac OSX 10.5, I got errors about undefined symbols: caml_atom_table and caml_static_data_start, and googled out this: http://caml.inria.fr/pub/ml

[Caml-list] caml_atom_table bug still present in ocaml 3.11.0

2008-12-07 Thread Alexy Khrabrov
When compiling with ocamlopt from 3.11 on Mac OSX 10.5, I got errors about undefined symbols: caml_atom_table and caml_static_data_start, and googled out this: http://caml.inria.fr/pub/ml-archives/caml-list/2005/05/e3905eefb5bca0ae534f009bbd2727b0.en.html There's also related, if somewhat