flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab OCaml 3.10.2 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
LordMetroid has quit ["Leaving"]
Morphous has joined #ocaml
Morphous_ has quit [Read error: 110 (Connection timed out)]
Ched- has quit [Read error: 110 (Connection timed out)]
Ched- has joined #ocaml
sponge45 has quit ["see you at http://ocamlhackers.ning.com/"]
crawfordcomeaux has quit []
thelema has joined #ocaml
palomer has quit [Remote closed the connection]
netx has joined #ocaml
Kopophex has quit [Read error: 110 (Connection timed out)]
Kopophex has joined #ocaml
chacun has joined #ocaml
Kopophex has quit ["Leaving"]
Deffie has joined #ocaml
chacun has quit []
filp has joined #ocaml
asmanur has joined #ocaml
asmanur has quit [Read error: 104 (Connection reset by peer)]
asmanur has joined #ocaml
Associat0r has quit ["#fsharp"]
Associat0r has joined #ocaml
tomh has joined #ocaml
Associat0r has quit []
asmanur has quit [Remote closed the connection]
OChameau has joined #ocaml
tomh has quit [Remote closed the connection]
LordMetroid has joined #ocaml
<flux> cool, finally someone made a metafilesystem with FUSE that I can feel I can trust: it'd written in O'Caml
<flux> previously I tried stratufs - in perl, didn't work - and one written in C (can't remember its name) - which crashed
<flux> the best bit is, that I don't need to do it myself :)
<flux> (I'm referring to LFS announcement on caml-list)
guillem has joined #ocaml
ChristopheT has joined #ocaml
LordMetroid has quit ["Leaving"]
bluestorm has joined #ocaml
tty56 has joined #ocaml
jlouis has quit ["Leaving"]
jlouis has joined #ocaml
tty56 has quit [Client Quit]
hkBst has joined #ocaml
arquebus has joined #ocaml
bluestorm has quit ["Konversation terminated!"]
Axioplase_ has quit [Read error: 104 (Connection reset by peer)]
sponge45 has joined #ocaml
<ChristopheT> gildor: J'ai créé un répertoire ~/bzr/pa-do avec le groupe pa-do
<ChristopheT> Le plus simple est de les développeurs partagent un groupe sur OF (mais je ne sais pas si c'est le cas par défaut, « groups » n'est pas autorisé).
r0bby has quit [Remote closed the connection]
<gildor> ChristopheT: if you add people to the project pa-do, the will get added to the group pa-do and scm_pa-do
<gildor> i.e.
<gildor> gildor@tera:~$ getent group scm_pa-do
<gildor> scm_pa-do:x:50040:chris,julie_87,dan_86
<ChristopheT> OK, parfait.
<gildor> votre repository partagé se trouve dans /bzrroot/pa-do/pa-do
<gildor> you can access it through ssh
<gildor> don't forget to set the good umask to allow g+w
<gildor> i will try to setup the web host this afternoon
<ChristopheT> gildor: Thanks!
<gildor> ChristopheT: http://bzr.ocamlcore.org
arquebus has left #ocaml []
Christop` has joined #ocaml
ChristopheT has quit [Read error: 110 (Connection timed out)]
RobertFischer has joined #ocaml
bluestorm has joined #ocaml
Nqur has joined #ocaml
<flux> tada, so long for lfs reliability, fed it some real data and it crashes with Fatal error: exception Invalid_argument("Marshal.from_string") :(
<bluestorm> send a patch :-'
<bluestorm> (i guess .from_string issues can be lessened with a 64-bits architecture. Are you on 32 bits ?)
<flux> yes
<flux> I'll send a patch right after debugging the 25k-line app..
<bluestorm> hum
<flux> I wonder if it's an error that could be ignored
<flux> well, I'll try it out with a smaller body of data
<bluestorm> backtracking can do wonders for error location :-'
<flux> I don't know how to compile and link with -g with omake :)
<flux> hm, actually, I mixed up
<flux> it's compiled with plain make - hey, something I understand :)
<flux> (if you meant backtraces)
<bluestorm> yes
<Nqur> I've been learning OCaml from Jason Hickey's book (notes?). So far I've grokked the syntax, but I can't seem to ... "think functionally". I haven't been able to solve all end-chapter problems. Any place I can find a lot of examples? I just want to go through some real code. (Or a book with many examples will do, but I'd rather have something to complement what I already have)
<bluestorm> screwed up terminology :-'
<bluestorm> Nqur: how far have you been ?
<bluestorm> RobertFischer: do you have examples ?
<Nqur> bluestorm: Not very. I think I'm at pattern matching. But the end chapter exercises are proving tough ...
<RobertFischer> bluestorm: Yup -- see the slides. Although they're Ruby-esque problems to solve.
<RobertFischer> Not a lot of pattern matching, though. I thought that might be pushing it, given my audience. :(
<bluestorm> Nqur: if you're not into recursion and lists yet, an interesting set of exercices could be to rewrite some of the functions of the List module ( http://caml.inria.fr/pub/docs/manual-ocaml/libref/List.html )
<bluestorm> they're actually not always trivial, and i think are a good introduction to tail-recursion issues
<bluestorm> (i'd say the first two groups, common and "Iterators")
<Nqur> I'll put this on my TODO list. Thanks :)
<RobertFischer> bluestorm: Good idea.
<bluestorm> on the other hand Nqur, you can also ask questions about the exercices of the book you can't solve
<bluestorm> (disclaimer : i haven't read his book yet)
<Nqur> I will, but I'll try to solve them myself first. I've only been reading this book for a couple of hours. I'll try solving them again tomorrow.
<Nqur> (It's not really a "book". Seems more like notes.)
<bluestorm> asking questions is not contradictory to solving problems yourself : people here are not usually giving the solution away
<Christop`> gildor: Do you want me to write a few notes for other possible bzr users? It is enough for ocamlforge to create /bzrroot/project-unix-name (with the proper group) and it is easy to go from there.
Christop` is now known as ChristopheT
Nqur has quit ["Leaving"]
<bluestorm> RobertFischer: slide "Complex Data Types : Lists" ["2", "false", "Hello, World"] is not a (string list)
<RobertFischer> bluestorm: Somna....yeah.
<RobertFischer> bluestorm: Thanks for the head's up. Fixing it now.
<bluestorm> :p
Yoric[DT] has joined #ocaml
Deffie has quit []
Yoric[DT] has quit [Read error: 104 (Connection reset by peer)]
<bluestorm> do you intend to reuse your slides someday ?
<RobertFischer> bluestorm: What's sad is that I had that vetted by a very experienced OCaml person and a somewhat experienced F# person, and neither of them caught it.
<bluestorm> :p
<RobertFischer> bluestorm: I'm reusing some of the slides for another presentation I'm giving to Groovy.MN -- they want to compare Groovy's functional capabilities with an actual functional language. And I always keep the slides around, just in case they're useful. I'm a pack-rat like that.
<bluestorm> three little remarks about the next slides : i'm not convinced by the infix operators frenzy ((->>) could be "range" as well), but maybe that's ruby/DSL/fancyness friendly
<gildor> ChristopheT: you cannot create the directory without admin right
<bluestorm> i'd think a with_handle solution would be more elegan than your at_exit solution (and more precise about the liberation point, moreover)
<bluestorm> and an amt = function Ago -> -1. | Hence -> 1. would actually be simpler
<RobertFischer> bluestorm: Yeah, the operators are because my audience is Ruby, and they're into that kind of stuff.
<RobertFischer> bluestorm: As for the amt -- I folded in two pieces of math into one function, mainly due to slide screen limitation. Were I to do the presentation again, I'd cut the size of the code on each slide down and do fewer examples.
<ChristopheT> gildor: I know, I am speaking about the rest. See at the bottom of the page http://pa-do.forge.ocamlcore.org/pa-do/ for the current advice (I still have to set the umask correctly).
gaja has joined #ocaml
<Smerdyakov> umask! Down with filesystems!
letrec_ has joined #ocaml
<letrec_> Test
letrec_ is now known as letrec
<ChristopheT> gildor: I have added the umask setting. I can move the instructions at some place where they are more appropriate — just tell me where.
rby has joined #ocaml
<hcarty> The pa_do web site shows up where I don't think it should: http://gaml.forge.ocamlcore.org/ and http://lolcaml.forge.ocamlcore.org/
<hcarty> I found this while browsing through the projects
Gionne has joined #ocaml
Gionne has quit [Client Quit]
Gionne has joined #ocaml
Gionne has quit [Read error: 104 (Connection reset by peer)]
giovi_ has joined #ocaml
giovi_ has quit [Client Quit]
Gionne has joined #ocaml
<gildor> ChristopheT: i would recommend not initing the bzr repo directly in /bzrroot/unix-name
<gildor> ChristopheT: but in bzrroot/project-unix-name/module
<gildor> hcarty: pa-do is using a trick to show up (i.e. bzr.o.o begin with b and is the first default apache virtual host)
<gildor> i.e. every host that doesn't have the corresponding vhost is mapped to bzr.ocamlcore.org
<gildor> which host pa-do
<gildor> which contains an index.html pages
<bluestorm> haha RobertFischer
<bluestorm> i'm watching the Q&A now
<bluestorm> were there really rubyists ?
<gildor> when i will have time gaml/lolcaml et all will have their own web pages (i.e. when i will have time to set vhost for the forge)
<bluestorm> i'm at the point where someone show you the Identity monad buried in your code
<RobertFischer> bluestorm: Yup. Charlie Nutter, one of the JRuby compiler authors, was at that point.
<RobertFischer> bluestorm: That's Brian Hurt. He works at Jane Street.
<gildor> ChristopheT: and i recommand you to use bzr.ocamlcore.org rather than shell.forge.o.o for bzr operation
<gildor> recommend
<bluestorm> btw RobertFischer, if you haven't read it yet, you may be interested in http://caml.inria.fr/about/history.en.html
<RobertFischer> bluestorm: I've read it. :)
<RobertFischer> bluestorm: I just didn't have it memorized.
<ChristopheT> gildor: Why is it better to use bzrroot/project-unix-name/module ?
<gildor> because this way you can have different module
<gildor> i.e. bzrroot/pa-do/pa-do, bzrroot/pa-do/website, bzrroot/pa-do/pa-do-utils
<mfp> Cedric's problem, anybody up for some micro-optimization? -> this is the fastest I get with OCaml http://eigenclass.org/misc/beust2.ml (after http://eigenclass.org/misc/beust.ml with some manual inlining)
<gildor> if you stick to bzrroot/pa-do, this is all-in-one
<ChristopheT> gildor: Ah, ok, I thought there was a technical reason
<gildor> ChristopheT: nope, just my own way of doing thing
<gildor> (after that you are free to choose whatever you want as organization)
<bluestorm> gildor: what does the "Taux d'activité" (activity ratio ?) mean ? how is it computed ?
<gildor> bluestorm: well i must confess i don't know
<bluestorm> ah :p
<gildor> i think it is related to statistics gathered
<gildor> in particular number of download for the last 7 days
<gildor> and you get points for certain events (project creation,....)
LordMetroid has joined #ocaml
<ChristopheT> gildor: That's a good idea anyway, I have updated my repo and the instructions.
pango has quit [Remote closed the connection]
pango has joined #ocaml
<bluestorm> hcarty: so you're participating to that extension, in collaboration with the jt-accepted student ?
RobertFischer has left #ocaml []
<hcarty> bluestorm: No, I just noticed it while looking at pa-do, and then browsing other projects on the forge
<bluestorm> (may i say that "pa-do" is an awfully bad choice for a name ?)
<hcarty> I don't know how useful my minimal camlp4 would be in their significantly more ambitious project :-)
<mfp> pa-do? is that a pa-monad with do instead of perform? :)
<bluestorm> mfp: exactly not.
<mfp> then it's a bad namy indeed :-)
<mfp> *name
<hcarty> do = Delimited Overloading, but that's what I thought when I read it
LordMetroid has quit [Connection timed out]
Linktim has joined #ocaml
LordMetroid has joined #ocaml
<gildor> ChristopheT, hcarty: i have fixed the weird situation regarding projects/website
<gildor> everything goes to www.ocamlcore.org
<gildor> except pa-do.forge.ocamlcore.org that display the contents of /home/groups/pa-do/htdocs
<gildor> ChristopheT: you need to move your webpages to /home/groups/pa-do/htdocs
<ChristopheT> I have an "forge.ocamlcore.org has sent an incorrect or unexpected message. Error Code: -12263" when I try to login on http://forge.ocamlcore.org/
<gildor> let me see
<gildor> ChristopheT: fix
<gildor> fixed
filp has quit ["Bye"]
Gionne has quit ["Leaving"]
Associat0r has joined #ocaml
Snark_ has joined #ocaml
Axioplase has joined #ocaml
ChristopheT has quit [Read error: 110 (Connection timed out)]
rwmjones has quit ["Closed connection"]
mikezackles has joined #ocaml
OChameau has quit ["Leaving"]
ChristopheT has joined #ocaml
Linktim_ has joined #ocaml
zbrown has joined #ocaml
Linktim has quit [Read error: 110 (Connection timed out)]
Kopophex has joined #ocaml
palomer has joined #ocaml
rwmjones has joined #ocaml
tomh has joined #ocaml
Jeff_123 has quit [Read error: 104 (Connection reset by peer)]
julie has joined #ocaml
msinhore has joined #ocaml
<msinhore> gildor, hello
Philonous has joined #ocaml
Snark_ has quit [Read error: 113 (No route to host)]
<msinhore> Richard Jones recommends you to talk about virt-df and another packages that you are maintaining in Debian. I have been helping with libvirt and another packages together with agx.
<msinhore> gildor, if you read it please contact me latter.
<msinhore> see ya.
mauke has joined #ocaml
Linktim_ has quit ["Quitte"]
<rwmjones> msinhore, I suspect he's not around at the moment ... best to ask again tomorrow morning
<msinhore> rwmjones, okay, I look tomorrow. thanks.
Jeff_123 has joined #ocaml
<gildor> msinhore: i am here
<msinhore> gildor, hi
<gildor> msinhore:
<gildor> hi
<msinhore> gildor, are you packaging virt-df right?
<gildor> i would like to
<msinhore> gildor, do you know agx?
<gildor> but i am a bit short of time (and working on ocamlp3l)
<gildor> he comaintain ocaml-libvirt with me
<msinhore> ahh, cool.
<gildor> but i will be happy to help you package and maintain virt-df
<msinhore> gildor, cool. I can start it. Has anything started?
<rwmjones> if you need any help let me know
<gildor> not yet
<gildor> but i think you should begin by bitmatch
<gildor> rwmjones: isn't it ?
mauke has left #ocaml []
<rwmjones> virt-df depends on bitmatch (if that's the question ...)
<gildor> rwmjones: yes thanks
guillem has quit [Remote closed the connection]
<msinhore> gildor, okay, I could start it next week.
<msinhore> if I have every problem I let you know. :)
<gildor> msinhore: do you intend to package and maintain it, or just to package ?
<gildor> msinhore: i recommend you to download and take example on ocaml-libvirt
<gildor> then ask me and i will inject your package into pkg-ocaml-maint
<msinhore> gildor, Yeah, I could maintain it.
<msinhore> your mail is gildor AT debian DOT org, right?
<gildor> indeed
<msinhore> my account in alioth is msinhore-guest
<gildor> ok, when you will be done with the packaging i will review/inject/add you to the team
<msinhore> gildor, okay. I need to go now. I contact you next week. nice to meet you :)
Oatschool has quit [Read error: 110 (Connection timed out)]
hkBst has quit ["Konversation terminated!"]
Kopophex has quit ["Leaving"]
bluestorm has quit ["Konversation terminated!"]
julie` has joined #ocaml
jlouis has quit ["Leaving"]
silentbicycle has joined #ocaml
julie has quit [Read error: 110 (Connection timed out)]
hsuh has joined #ocaml
tomh has quit ["http://www.mibbit.com ajax IRC Client"]
lordmetroid_ has joined #ocaml
jlouis has joined #ocaml
mwc has joined #ocaml
<mwc> http://www.gccxml.org/HTML/Index.html Anybody seen this, tried using it to generate bindings?
hsuh has quit [Remote closed the connection]
hsuh has joined #ocaml
hsuh has quit [Remote closed the connection]
LordMetroid has quit [Connection timed out]
julie` has quit [Remote closed the connection]
<Jeff_123> mwc thanks for that link, I bookmarked it
lordmetroid_ has quit [Client Quit]
sponge45 has quit ["see you at http://ocamlhackers.ning.com/"]