Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
SirNick has quit []
jeanbon has quit [Read error: 113 (No route to host)]
seafood has joined #ocaml
ched__ has joined #ocaml
ched_ has quit [Read error: 101 (Network is unreachable)]
AxleLonghorn has joined #ocaml
SirNick has joined #ocaml
AxleLonghorn has left #ocaml []
sOpen has quit [Read error: 110 (Connection timed out)]
tar_ has joined #ocaml
<tar_>
Are there any examples of using camlp4 to compile completely different languages using the OCaml compiler?
<palomer>
that would be cool
jamii_ has quit [Read error: 110 (Connection timed out)]
sOpen has joined #ocaml
<tar_>
Then I will leave it at that.
tar_ has quit []
seafood has quit [Read error: 60 (Operation timed out)]
Associat0r has quit []
sgwizdak has joined #ocaml
Alpounet has joined #ocaml
<Alpounet>
hi
seafood has joined #ocaml
SirNick has quit []
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
sparta has joined #ocaml
danbeimborn has joined #ocaml
smimou has quit [Read error: 104 (Connection reset by peer)]
smimou has joined #ocaml
rwmjones has joined #ocaml
<Alpounet>
kaustuv_, hcarty, here ?
_zack has joined #ocaml
ygrek has joined #ocaml
s4tan has joined #ocaml
Yoric[DT] has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
ulfdoz has joined #ocaml
<kaustuv_>
Alpounet: How about "ONewHope"?
kaustuv_ is now known as kaustuv
<Alpounet>
wow
<Alpounet>
nice one
<Alpounet>
gildor, isn't it ?
<gildor>
Alpounet, kaustuv: nice one
<Alpounet>
hmm
<Alpounet>
onewhope.forge.ocamlcore.org
<Alpounet>
ospital.forge.ocamlcore.org
<Alpounet>
ocure[...]
<Alpounet>
hard to make a choice
<kaustuv>
problem is "onewhope" would be read as "one who pe"
<Alpounet>
or "one whope"
<kaustuv>
I am not sure orphaned packages are sick, so I don't get the hospital/cure metaphor.
<danbeimborn>
Howdy again, wondering if someone could suggest a good link documenting things like trees, functions to query them, etc. Working on a puzzle that is to count the highest total in a binary tree of integers.. so far it looks like I'm doing an array of arrays of ints as the data structure, but I'm suspecting there must be something more suitible
<danbeimborn>
found some good lecture notes from a cornell ocaml course that are helping
<kaustuv>
danbeimborn: what's your tree type? Arrays of arrays is generally the wrong solution in a language with algebraic datatypes
<danbeimborn>
would look something like
<gildor>
newhope.forge.ocamlcore.org is nice
<danbeimborn>
[| [| 1 \} ;
<danbeimborn>
[| 1; 2 |];
<danbeimborn>
etc
<kaustuv>
> type 'a tree = Empty
<kaustuv>
> type 'a tree = Empty | Node of 'a * 'a tree * 'a tree ;;
<danbeimborn>
thanks Kaustuv. I've been through the Hickey pdf but hadn't see a tree type
<kaustuv>
make that "Data Types and mathing"
<kaustuv>
The project euler problem seems to have only one interesting problem beyond what you'll learn in those tutorials -- how to construct the tree that shares subtrees correctly. Ask again if you have problems.
<danbeimborn>
I've seen a working implementation that does the tree as an array of arrays of ints.. using the array position + or minus 1 as the accumulator to navigate
<danbeimborn>
but seems like that's wrong
<danbeimborn>
approach-wise
<kaustuv>
In this particular case that might be enough.
* kaustuv
starts the clock on a lawsuit from Lucasfilm
<Yoric[DT]>
:)
<danbeimborn>
the ORielly book about ocaml should have a pearl on the cover
<danbeimborn>
to complte the pointer error
rumbleca has quit [Read error: 110 (Connection timed out)]
<Yoric[DT]>
:)
<Alpounet>
kaustuv, newhope.forge.ocamlcore.org for the ONewHope project, would it be okay for you ?
<mrvn>
What is that supposed to be?
<Alpounet>
a second chance for orphaned libraries -> bug fixing, eventually updating (if the library is a binding), and with a lot of chance it can help to build a team around the project to improve it (new functionalities, etc)
Associat0r has joined #ocaml
<Alpounet>
the Cairo binding, LablGL and CamlGL, and some other OCaml libraries are such libraries.
<Alpounet>
Your opinion about it ?
<Camarade_Tux>
\o/ <-- mine
<kaustuv>
Alpounet: Fine by me.
OChameau has joined #ocaml
kaustuv has quit ["5f757da12dbada24a219cbea76da6cab"]
kaustuv_` has quit [Read error: 104 (Connection reset by peer)]
LeCamarade has joined #ocaml
<Alpounet>
fine :-)
LeCamarade has quit [Client Quit]
<hcarty>
Alpounet: I'd prefer git - are you ok with that choice?
<hcarty>
Although one benefit to Subversion here is that one could avoid checking out the whole source tree to work on one module
<hcarty>
I still prefer git though... hopefully this won't end up with more than a small number of libraries
<hcarty>
gildor: ping
itewsh has quit ["There are only 10 kinds of people: those who understand binary and those who don't"]
<Alpounet>
hcarty, we can create master/<some lib> branches on the origin
<Alpounet>
with a final merge for full releases of new hope
<hcarty>
Alpounet: That sounds reasonable
<Alpounet>
and I totally and fully agree for using git
<Alpounet>
discovered it with Batteries, it's fantastic :-)
<hcarty>
It's giving an error when I try to create the project: ERROR: Could not create group: ERREUR: valeur trop longue pour le type character varying(255)
<hcarty>
Hopefully gildor will have some idea of what is happening there
<hcarty>
Alpounet: I agree that git is quite nice
<Alpounet>
is the short description less than 255 chars long ?
<hcarty>
Ah
<hcarty>
No
<hcarty>
Thank you, my French is ... nonexistant beyond what I can connect to the Spanish I studied :-)
<hcarty>
Alpounet: Submitted
<hcarty>
Alpounet: What is your forge account? I'll add you as an admin once the project is added
danbeimborn has left #ocaml []
<Alpounet>
hcarty, "alp"
<hcarty>
Alpounet: In the mean time, we should probably contact the authors of libraries we are considering for New Hope to see if the libraries really are abandoned
<Alpounet>
In the meantime, we should probably establish a list of libraries we are considering.
<Alpounet>
:-p
<hcarty>
Alpounet: Quite...
jeremiah has quit [Read error: 104 (Connection reset by peer)]
<hcarty>
palomer: If you would like to volunteer to contact the ocamlsdl author to see if the library has been abandoned and then maintain it, please join! :-)
Camarade_Tux has quit [Read error: 60 (Operation timed out)]
Yoric[DT] has joined #ocaml
jeremiah has quit [Read error: 104 (Connection reset by peer)]
Camarade_Tux has joined #ocaml
<kaustuv>
I've just spent a few hours going over the cairo binding and it seems fairly easy to port it to cairo 1.8
<kaustuv>
I'll give it a shot over the week-end
<hcarty>
kaustuv: Very nice. Do you have a forge account?
<hcarty>
I can add you as an admin/developer for New Hope as well if you'd like
<kaustuv>
Yes, but I don't need to be a dev/admin/whatever as long as someone can accept git-format-patch output
itewsh has joined #ocaml
sparta has quit [Read error: 110 (Connection timed out)]
s4tan has quit [Connection timed out]
itewsh has quit [Remote closed the connection]
SirNick has joined #ocaml
jeremiah has joined #ocaml
itewsh has joined #ocaml
jeremiah has quit [Read error: 104 (Connection reset by peer)]
<Alpounet>
kaustuv, but you also can directly work on our git repos
thelema has quit [Read error: 110 (Connection timed out)]
jeremiah has joined #ocaml
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
<Alpounet>
OCamlSDL looks like orphaned
<palomer>
I think I'm going to have to adopt ocamlsdl
<mrvn>
I was thinking of using sdl for a game
<palomer>
there are 2 sdl bindings...if I'm correct
<palomer>
one in ocamlgl and the other is ocamlsdl
<palomer>
am i right?
<Alpounet>
one in camlgl and ocamlsdl
<Alpounet>
yeah
<Alpounet>
ocamlsdl seems better, though.
<palomer>
do you know where camlgl's sdl documentation resides?
hkBst has quit [Read error: 104 (Connection reset by peer)]
<hcarty>
Alpounet: Definitely. I'll bring it up on here and/or send an email when I have the confirmation email
<Alpounet>
Ok thanks ! :)
jeanbon has quit [Read error: 113 (No route to host)]
psnively has joined #ocaml
seafood has joined #ocaml
<hcarty>
Alpounet: I just got the email
<hcarty>
Alpounet: And you should now be added as an admin
<Alpounet>
ok
<Alpounet>
great !
<Alpounet>
hcarty, thanks
<Alpounet>
gildor, thanks too
<gildor>
hcarty, Alpounet: what SCM do you want ?
m3ga has joined #ocaml
<gildor>
(svn, cvs, darcs or git or all)
<hcarty>
gildor: Git please
sOpen has joined #ocaml
<hcarty>
gildor: Thank you for setting up the account
_andre has quit ["leaving"]
<gildor>
hcarty, Alpounet: git repository created
<Alpounet>
great, thanks.
<hcarty>
gildor: Thanks!
<psnively>
Wow, people still use CVS and svn?
<Alpounet>
CVS no
<Alpounet>
(AFAIK)
<Alpounet>
SVN yes, a lot.
<hcarty>
Alpounet: Except the OCaml devs :-)
<Alpounet>
Wow...
<Alpounet>
The one I prefer is definitely git.
<gildor>
I know a lot of people still using CVS
<gildor>
even SCCS
xcthulhu has joined #ocaml
<palomer>
I use svn
<palomer>
it's all I ever used
<palomer>
at one point I was using darcs
<hcarty>
palomer: I used darcs for a while as well, as well as Subversion and SVK
<hcarty>
They all had their strengths
<psnively>
It's just hard to imagine the justification for svn at this point. But I'll gleefully admit to being snarky.
<m3ga>
SVN works adequately in a corporate setting but i would never choose to use it outside that
<Alpounet>
hcarty, "used" darcs ?
<mrvn>
as long as you don't have many people working in parallel on multiple feature sets then svn is perfectly fine
<Alpounet>
isn't it still being improved day after day (having the Haskell community behind it helps)
<Alpounet>
?
<psnively>
I use darcs quite a bit.
<psnively>
svn got a lot better at 1.5, when merge history tracking was added, to be fair.
<hcarty>
Alpounet: I don't use darcs for personal projects, and I'm not currently tracking any upstream darcs repositories
<Alpounet>
ok
<psnively>
Alpounet: darcs 2 is dramatically improved over darcs 1, IMHO.
<Alpounet>
I read a lot about it
<Alpounet>
(planet haskell)
<Alpounet>
but used it only twice, for testing haskell projects
<hcarty>
I really liked the darcs interface
<psnively>
darcs' VCS model fits my brain perfectly.
<hcarty>
git's lightweight branches, or whatever their proper name is, tipped the scale for me over other options
<psnively>
hcarty, indeed! When using mercurial, I rely on hg record, hg fetch... to get as close to darcs' operational model as I can.
<hcarty>
psnively: Yes, I don't remember what broke that made me look for alternatives.
<psnively>
hcarty: darcs 1 had two really major flaws, IMHO: the superexponential merge issue, and identically-changed lines coming from different repos were considered conflicting.
<psnively>
The latter sometimes triggering the former.
<hcarty>
psnively: I was only using it at the time for personal projects which were never large enough to hit the super-long-merge issue
<psnively>
hcarty: It could happen with surprisingly small repos, but honestly, I never hit it either.
<hcarty>
psnively: It may have been a hosting issue... I was able to get easy access to Subversion hosting, so SVN + SVK became compelling
<hcarty>
This was a few years ago though so I'm not certain
<psnively>
hcarty: Yeah, often that's how it goes... external influences. :-)
<Alpounet>
however, be sure it'll be hard to make me drop git now
<Alpounet>
:-p
<hcarty>
Alpounet: git-svn is what allowed my (relatively) easy transition to git
<Alpounet>
heh
<Alpounet>
my first git experience has been with batteries
<hcarty>
And the addition of "git add -p" brought back the thing I missed the most from darcs
<Alpounet>
directly !
<hcarty>
After seeing to darcs' chunk-by-chunking method of checking in changes I became horribly spoiled
<psnively>
?
<psnively>
darcs record -am 'Message...' didn't work for you?
<psnively>
Or darcs push -a?
<hcarty>
psnively: "darcs record" is what spoiled me
<hcarty>
It worked much too well for me to want to give it up
<psnively>
Yep. hg record likewise (on purpose, according to its developer).
<hcarty>
Coming from Subversion and others tools which would only allow file-at-a-time checkins
<psnively>
Ah, right.
<mrvn>
hg record?
<psnively>
In Mercurial. It deliberately cloned darcs' record.
<psnively>
Lets you yes, no, file, skip... changes on a per-hunk basis. VERY nice when you've done work on N different things and want to be disciplined about each of those N things being in a single changeset.
<mrvn>
I don't work on more than one change at a time so I never need that.
<psnively>
Also obviously good for just "I want to record that and not that," but fair enough. :-)
<mrvn>
commit often. :)
<hcarty>
mrvn: It's nice when you find a bug/change unrelated to what you are working on
<mrvn>
If I have such a case I rather generate a patch and then split that and test each one before commiting.
<mrvn>
I mean when you find that all your changes don't belong together after the fact.
<hcarty>
mrvn: Fair point
<mrvn>
I guess if you find some tiny bug it is nice to just edit and commit that chunk.
<mrvn>
Easier than clone, edit, comit, push, merge.
rwmjones has quit ["Closed connection"]
monadic_kid has quit ["Leaving"]
<kaustuv>
hcarty: (delayed) I haven't tried building cairo-ocaml myself. I was testing with the Debian package.
<hcarty>
kaustuv: Makes sense
<hcarty>
I don't remember having trouble with the Debian or Fedora packages. But it's been a while since I've used either.
Ariens_Hyperion has quit []
deech has quit [Read error: 104 (Connection reset by peer)]
<Alpounet>
Cheers for New Hope
<Alpounet>
and good night all
deech has joined #ocaml
Alpounet has quit ["Quitte"]
bzzbzz has joined #ocaml
ulfdoz_ has quit [Read error: 110 (Connection timed out)]
<palomer>
night
flux has quit [Read error: 104 (Connection reset by peer)]
flux has joined #ocaml
sporkmonger has quit [hubbard.freenode.net irc.freenode.net]
noj has quit [hubbard.freenode.net irc.freenode.net]
Ori_B has quit [hubbard.freenode.net irc.freenode.net]
nimred has quit [hubbard.freenode.net irc.freenode.net]
lanaer has quit [hubbard.freenode.net irc.freenode.net]
jlouis has quit [hubbard.freenode.net irc.freenode.net]
thelema has quit [hubbard.freenode.net irc.freenode.net]
patronus_ has quit [hubbard.freenode.net irc.freenode.net]
psnively has quit [hubbard.freenode.net irc.freenode.net]
steg has quit [hubbard.freenode.net irc.freenode.net]
TaXules has quit [hubbard.freenode.net irc.freenode.net]
Mr_Awesome has quit [hubbard.freenode.net irc.freenode.net]
bacam has quit [hubbard.freenode.net irc.freenode.net]
authentic has quit [hubbard.freenode.net irc.freenode.net]
sporkmonger has joined #ocaml
noj has joined #ocaml
nimred has joined #ocaml
lanaer has joined #ocaml
Ori_B has joined #ocaml
jlouis has joined #ocaml
thelema has joined #ocaml
patronus_ has joined #ocaml
psnively has joined #ocaml
steg has joined #ocaml
TaXules has joined #ocaml
Mr_Awesome has joined #ocaml
authentic has joined #ocaml
bacam has joined #ocaml
psnively has quit []
sOpen has quit [Read error: 110 (Connection timed out)]