flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.0 out now! Get yours from http://caml.inria.fr/ocaml/release.html
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 ;;
<kaustuv> gah, it's never there when needed!
<danbeimborn> http://projecteuler.net/index.php?section=problems&id=18 this is the problem I'm approaching. Not looking for solutions btw, more understanding of how to attack it!
<Alpounet> mlbot isn't ready to be restarted
<Alpounet> I've broken him.
<Alpounet> (No, I'm not an IRC-bot killer)
<danbeimborn> :_)
<Alpounet> but danbeimborn, the nice way to do what you want is the one given by kaustuv.
<danbeimborn> need a bashbot that will parse : ( : | : ; ) ; :&
<Alpounet> write one :-)
<danbeimborn> ah thanks. are you aware of any links that document the tree type?
<kaustuv> danbeimborn: I would recommend reading either Jason Hickey's PDF or the ocaml-tutorial.org page on variants and matching
<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.
<danbeimborn> thanks for hte link kaustuv
<wli> Which Project Euler problem?
<wli> I thought the greedy bottom-up approach worked for all that.
<Alpounet> I solved this one by hand :-)
LeCamarade has joined #ocaml
<kaustuv> To really make it interesting, we need negative numbers
<kaustuv> Or maybe not because you can reset the origin...
<Alpounet> or complex number, and having to find out the maximal sum of norms.
<Alpounet> or even sum of norms.
<Alpounet> hmm, norm of sums, sorry.
Camarade_Tux has joined #ocaml
jeanbon has joined #ocaml
<Alpounet> newhope.forge.ocamlcore.org looks perfect
* Yoric[DT] likes the name.
purple_ is now known as bindreturn
ched__ has quit [Remote closed the connection]
Ched has joined #ocaml
ttamttam has joined #ocaml
verte has joined #ocaml
ttamttam has left #ocaml []
rumbleca_ has joined #ocaml
Jedai has quit [Excess Flood]
Jedai has joined #ocaml
* 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"]
|Jedai| has joined #ocaml
<Alpounet> Camarade_Tux, hee.
<Alpounet> hcarty, still not by here ? :-)
<Alpounet> Well, will be.
_andre has joined #ocaml
<Alpounet> Heh, someone searched google for "ocaml bot mlbot source"
Jedai has quit [Read error: 113 (No route to host)]
jamii_ has joined #ocaml
<Yoric[DT]> :)
<Alpounet> whois OChameau
<Alpounet> isn't it alex_pi ?
<Alpounet> he doesn't seem to answer
<Alpounet> anyone knows ?
<Alpounet> isn't he*
kaustuv has joined #ocaml
verte_ has joined #ocaml
verte has quit [Nick collision from services.]
verte_ is now known as verte
seafood has quit []
mishok13 has quit ["Stopping IRC chat... [OK]"]
hkBst has joined #ocaml
sgnb``` has quit [Remote closed the connection]
sgnb``` has joined #ocaml
willb has joined #ocaml
ulfdoz_ has joined #ocaml
<hcarty> hcarty: I'm here! And the only issue I have with newhope is what kaustuv already mentioned :-)
kaustuv has quit [Read error: 54 (Connection reset by peer)]
ulfdoz has quit [Read error: 110 (Connection timed out)]
_zack1 has joined #ocaml
_zack has quit [Read error: 110 (Connection timed out)]
SirNick has joined #ocaml
kaustuv_` has joined #ocaml
SirNick has quit [Client Quit]
itewsh has joined #ocaml
_zack1 has quit [Read error: 113 (No route to host)]
<palomer> hrmph
<palomer> http://pastebin.com/m31253791 <-- any way to do this?
<palomer> im trying to avoid parametrising my datatypes
<palomer> having very little success
<Alpounet> hcarty, yeah, so only NewHope ?
<hcarty> Alpounet: Yes, I think so
<Alpounet> Ok
<Alpounet> Complete name : New Hope
<Alpounet> right ?
<hcarty> Alpounet: Sounds good to me
verte has quit [":("]
<hcarty> Alpounet: Are you creating the project or should I?
<Alpounet> I can if you want, do you prefer doing it yourself ?
_zack has joined #ocaml
LeCamarade has quit ["Gone."]
<hcarty> I'm typing in the description now :-)
<hcarty> I'll post to a pastebin when I have something that seems reasonable for comments
<Alpounet> ok
<hcarty> Alpounet: I expect that we would generally maintain the "upstream" code's original license?
<Alpounet> I think so, yes.
<hcarty> Alpounet (and others who may care to comment): http://ocaml.pastebin.com/d66ea2117
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)]
<palomer> so...what's this new hope business?
<mrvn> The last chance for the rebellion.
<Alpounet> read that :)
Skolem has joined #ocaml
Yoric[DT] has quit [Remote closed the connection]
<palomer> cool!
<palomer> well I have a patch for ocamlsdl
kaustuv has joined #ocaml
<palomer> which adds unicode and utf8 support
jeremiah has joined #ocaml
buzz0r__ has joined #ocaml
<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?
<Alpounet> in the package
<Alpounet> hmm
<Alpounet> glcaml
<Alpounet> sorry
<Alpounet> not camlgl
<Alpounet> here is the online version of the doc : http://glcaml.sourceforge.net/doc/index.html
<palomer> righto
<palomer> camlgl doesn't have sdlttf
<Alpounet> neither Sdlloader
<Alpounet> right ?
<palomer> I don't know what that is
_zack has quit ["Leaving."]
<Alpounet> it lets us load other image formats than BMP
<Alpounet> it is in OCamlSDL
<palomer> it can read TGA
<palomer> whatever that means
<Alpounet> with Sdlloader
<Alpounet> we can load png, jpg, ...
<palomer> well...I better adopt ocamlsdl
<palomer> I wish someone could explain it's build system though
<palomer> from top to bottom
<Alpounet> first, you must have ocaml, SDL, SDL-ttf, SDL-mixer, SDL-image installed (C versions)
<Alpounet> then : ./configure, make, make install (for system-wide installation)
<Alpounet> everything is provided in the archive to make the installation simple.
<hcarty> kaustuv: Have you used Cairo-OCaml much? Its default build system seems to have a number of linking problems on my system.
itewsh has quit [Read error: 60 (Operation timed out)]
<hcarty> s/default/existing/
itewsh has joined #ocaml
<Alpounet> that is ... ?
<Alpounet> what kind ?
<hcarty> I have a version of cairo-ocaml locally which uses ocamlbuild. It has fewer linking issues, but there are still problems with the toplevel
<hcarty> Alpounet: Linking native binaries spits out a large number of linking errors
<Alpounet> what missing libraries are there ?
<hcarty> This is with godi + OCaml 3.11
<hcarty> Alpounet: It looks like the C pieces are not all linked in properly
<Alpounet> ok
<Alpounet> cleaning and fixing it would be an _excellent_ start.
<hcarty> Alpounet: I agree :-)
<Alpounet> to sum up :
<hcarty> It's at the top of my list, as long as the author is not going to maintain it further
<Alpounet> Cairo-OCaml : hcarty & kaustuv
<Alpounet> OCamlSDL : palomer & maybe me
<palomer> Alpounet, I mean the internals of the build system
<palomer> I can't make out the makefiles
<Alpounet> palomer, why ?
OChameau has quit ["Leaving"]
<palomer> actually, maybe it's not as bad as I thought
deech has quit [Read error: 104 (Connection reset by peer)]
deech has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
ttamttam has joined #ocaml
ttamttam has left #ocaml []
SirNick has quit []
Yoric[DT] has joined #ocaml
<palomer> Alpounet, did you email the maintainers yet?
monadic_kid has joined #ocaml
itewsh has quit [Read error: 60 (Operation timed out)]
itewsh has joined #ocaml
<Alpounet> palomer, not yet. You can email OCamlSDL's crew
<palomer> does new hope have a webpage?
komar_ has quit [Remote closed the connection]
|Jedai| has quit [Read error: 113 (No route to host)]
<Alpounet> palomer, not yet. hcarty has just registered it on ocamlcore, so it's waiting for approval.
<Alpounet> it'll be @ newhope.forge.ocamlcore.org
<palomer> oh, then I'll wait until I post on their list
<palomer> wasn't there also an ocaml forge repository or something?
<palomer> oh, that's it
<palomer> any relation to jane street's core?
<palomer> ocaml-usb looks really cool
Narrenschiff has joined #ocaml
<Alpounet> yeah
<Alpounet> hmm
<Alpounet> OCamlSDL isn't on Forge@OCamlCore
sOpen has quit [Read error: 110 (Connection timed out)]
ttamttam1 has joined #ocaml
thelema has joined #ocaml
ttamttam1 has left #ocaml []
Narrenschiff has quit []
SirNick has joined #ocaml
buzz0r__ has quit ["Ex-Chat"]
slash_ has joined #ocaml
itewsh has quit [Connection timed out]
itewsh has joined #ocaml
sporkmonger has joined #ocaml
Tux__ has joined #ocaml
monadic_kid has quit ["Leaving"]
itewsh has quit [Read error: 60 (Operation timed out)]
itewsh has joined #ocaml
Camarade_Tux has quit [Read error: 110 (Connection timed out)]
ygrek has quit [Remote closed the connection]
SirNick has quit []
BiDOrD has joined #ocaml
monadic_kid has joined #ocaml
<monadic_kid> join /haskell
<Yoric[DT]> Is there anyone around here familiar with the Scottish system?
<Yoric[DT]> Is there anyone around here familiar with the Scottish academic system?
Camarade_Tux has joined #ocaml
<Yoric[DT]> Or with the British academic system?
<Yoric[DT]> I'm looking for help decyphering a form.
Tux__ has quit [Read error: 104 (Connection reset by peer)]
<palomer> im in canada
<Yoric[DT]> My wife is currently attempting to fill a section called "Qualifications gained on leaving school/college/university"
<Yoric[DT]> There's a column "Qualification(s)" and a column "Grade/Level"
<Yoric[DT]> What's the difference between these?
<slash_> Like "Math A" ?
<Yoric[DT]> ?
<slash_> Qualification: Math Grade: A
<slash_> That's how I understand that.
<Yoric[DT]> Actually it's "Qualification(s) Obtained/Expected" and "Grade/Level Obtained/Expected".
<Yoric[DT]> How can you expect to have grade A?
<slash_> You can always expect that. ;)
<Yoric[DT]> :)
<hcarty> "Qualification: The Best" and "Grade Expected: Also the best"
<Yoric[DT]> :)
<palomer> always expect the best
jeremiah has quit [Read error: 104 (Connection reset by peer)]
kaustuv has quit [Read error: 113 (No route to host)]
SirNick has joined #ocaml
sOpen has joined #ocaml
jeremiah has joined #ocaml
seafood has joined #ocaml
komar_ has joined #ocaml
seafood_ has joined #ocaml
Ariens_Hyperion has joined #ocaml
awilcox has joined #ocaml
<awilcox> Hello, I can't seem to compile this O'Caml program on OS X. It dies with an assembler error:
<awilcox> FATAL:/usr/bin/../libexec/gcc/darwin/i386/as: I don't understand '-' flag!
<awilcox> Assembler error, input left in file /var/folders/Mw/Mw++4OV1FoaQ4nF0hZ+FUk+++TI/-Tmp-/camlasmbbef79.s
jeremiah has quit [Read error: 104 (Connection reset by peer)]
<awilcox> It appears to be choking on 1904 .long .L200000 - . + 0xfc000000
<awilcox> Or possibly, it can't handle -- flags.
<awilcox> $ as -version Apple Inc version cctools-698.1~1, GNU assembler version 1.38
itewsh has quit [Connection timed out]
itewsh has joined #ocaml
seafood_ has quit []
seafood has quit [Read error: 110 (Connection timed out)]
seafood has joined #ocaml
kaustuv has joined #ocaml
<hcarty> awilcox: What are you trying to compile?
<awilcox> stdlib
<awilcox> It's part of snowflake, an OS written in O'Caml
<hcarty> awilcox: You might want to ask the snowflake devs. It looks like they have their own copy of OCaml in their source tree
<awilcox> hcarty: They don't support OS X and said to ask here.
<awilcox> I dunno. This seems related to the darwin toolchain, maybe I should ask #macosxdev ?
itewsh has quit [Remote closed the connection]
jeremiah has joined #ocaml
<hcarty> awilcox: OCaml has OSX support, though I have not used it
<awilcox> It seems to be the way ocamloptcomp.byte is calling as
<hcarty> I don't know what version they have or what modifications they have made though, so you may have a bit of a hard time with it
<awilcox> + as --32 -o 'libraries/stdlib/pervasives.o' '/var/folders/Mw/Mw++4OV1FoaQ4nF0hZ+FUk+++TI/-Tmp-/camlasm7bcedf.s'
<awilcox> FATAL:/usr/bin/../libexec/gcc/darwin/i386/as: I don't understand '-' flag!
<hcarty> awilcox: You could try compiling OCaml separately
<awilcox> Oy.
<awilcox> I replaced --32 with -arch i386
<hcarty> Or posting to one of the mailing lists
<awilcox> ...ocamloptcomp doesn't produce assembler compatible with darwin's as.
komar_ has quit [Read error: 113 (No route to host)]
<hcarty> awilcox: It is probably not configured properly for running under OSX
<hcarty> You already said that the snowflake folks don't support OSX
<awilcox> So it's not an O'Caml problem?
<awilcox> I've never used O'Caml before.
<hcarty> And you aren't using an "official" OCaml release so the configuration is likely quite different
<hcarty> It's a programming language
<awilcox> I don't know how good your OS X support is
<awilcox> I know it is, it's functional like F# and Haskell iirc
<hcarty> Lots of folks here use OSX, so I suppose it's ok
<awilcox> Oh okay.
<awilcox> Well, I guess I just won't get snowflake compiled here then.
<awilcox> Thanks for your time, sorry it turned out to be a waste
<hcarty> Your best bet is really going to be to start with an official OCaml release and go forward from there
<hcarty> awilcox: Not a problem. Best of luck if you continue with it
* awilcox has the official 3.10.2 installed
<awilcox> hcarty: Thanks :)
awilcox has left #ocaml []
<hcarty> It looks like they (snowflake) have cut out chunks of the OCaml source tree
<Alpounet> sounds ... like a bad idea
<Alpounet> hcarty, no news for new hope ?
seafood has quit [Read error: 110 (Connection timed out)]
sOpen has quit [Read error: 110 (Connection timed out)]
<hcarty> Alpounet: Nothing yet
<hcarty> Still waiting on the project approval
<kaustuv> Two of the Project Gallium permanent researchers use Mac OS X as their primary OS, so you can generally trust that OCaml runs fine on OS X.
<hcarty> kaustuv: I would think so... it seems quite commonly used here and on the mailing lists
<hcarty> But I think a gutted version of the compiler embedded in another source tree is less likely to work
<kaustuv> In fact, the only corner cases I am aware of have to do with native dynlink.
<kaustuv> I find that design weird too. I didn't even know the OCaml runtime was embeddable.
<kaustuv> Also a garbage collected OS?
<hcarty> I'm not sure. I just took a peak at the repository: http://code.google.com/p/snowflake-os/
<Alpounet> hcarty, ok, keep me updated.
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.
<mrvn> No such thing in the manpage
<psnively> An extension, IIRC.
<mrvn> what does it do?
<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)]