<Drakken>
The ocaml distribution has a bunch of "exit 127"s in otherlibs/threads/unix.ml and otherlibs/unix/unix.ml
<Drakken>
I hope there isn't anything that needs root access. I'm using a local installation.
<Drakken>
(single-user)
jamii has quit [Ping timeout: 260 seconds]
sepp2k has quit [Remote host closed the connection]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 245 seconds]
ulfdoz_ is now known as ulfdoz
<thelema>
not for type-conv
leoncame` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
leoncamel has joined #ocaml
cacho has quit [Ping timeout: 240 seconds]
netrino has quit [Quit: Ave!]
emmanuelux has joined #ocaml
cacho has joined #ocaml
madroach has quit [Ping timeout: 265 seconds]
madroach has joined #ocaml
avsm has joined #ocaml
osa1 has quit [Ping timeout: 244 seconds]
oriba has quit [Quit: oriba]
emmanuelux has quit [Ping timeout: 244 seconds]
ankit9 has joined #ocaml
<thelema>
http://bsumm.net/2012/08/11/steve-yegge-and-grok.html "If a language isn.t successful, it.s because the tools aren.t good enough. Through interviews with hundreds of people, online comments, and talks: it always comes down to the tools.
avsm has quit [Quit: Leaving.]
K_F has quit [Ping timeout: 240 seconds]
K_F has joined #ocaml
jave has quit [Read error: Connection reset by peer]
jave has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
<testcocoon>
thelema: It is what I say here for 3 days: all sucessful languages have a plugin in play IDE.
<testcocoon>
BTW I have just released now my first version of the standaloone front end of ocamldebug (http://oqamldebug.forge.ocamlcore.org/). Documentation id in progress, but the code rocks.
hto has quit [Read error: Connection reset by peer]
hto has joined #ocaml
scri has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
wmeyer has quit [Ping timeout: 264 seconds]
hkBst has joined #ocaml
eni has joined #ocaml
<madroach>
Is there a way to avoid the pattern match warning in this statement? let [|a;b;c|] = Array.map ((+)1) [|1;2;3|];;
<madroach>
Maybe something like Tuple.map?
<_habnabit>
in batteries there's Tuple3.map
<madroach>
uh, yes. That's what I need. But linking a 4.5M library for a Tuple.map ?!?
<_habnabit>
rest assured that this is not the only feature in batteries
<madroach>
:)
djcoin has joined #ocaml
rgrinberg has quit [Ping timeout: 276 seconds]
Cyanure has joined #ocaml
ftrvxmtrx has joined #ocaml
mika1 has joined #ocaml
<xenocons>
you can turn off the warning message but that would be silly (because it will turn it off for all incomplete pattern matches
<xenocons>
)
ankit9 has quit [Ping timeout: 244 seconds]
lopex has quit [Remote host closed the connection]
bobry has quit [Remote host closed the connection]
lopex has joined #ocaml
bobry has joined #ocaml
Yoric has joined #ocaml
ankit9 has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
Yoric has quit [Ping timeout: 240 seconds]
eikke has quit [Remote host closed the connection]
ankit9_ has joined #ocaml
ankit9_ has quit [Read error: Connection reset by peer]
ankit9 has quit [Ping timeout: 260 seconds]
ankit9_ has joined #ocaml
<_habnabit>
it's easy to write yourself, either way
<_habnabit>
just one line
Yoric has joined #ocaml
<madroach>
true
ankit9_ has quit [Read error: Connection reset by peer]
ankit9 has joined #ocaml
ankit9 has quit [Read error: Connection reset by peer]
ocp has joined #ocaml
ankit9 has joined #ocaml
eni has quit [Ping timeout: 248 seconds]
ankit9 has quit [Read error: Connection reset by peer]
<scri>
it's a bit confusing with all these separate tools
<_habnabit>
ocamlbuild means you won't have to care about any other tools
<scri>
in that case thank you! :D
<scri>
like, a lot
beckerb has joined #ocaml
scri has quit [Ping timeout: 272 seconds]
trigen has quit [Read error: Operation timed out]
trigen has joined #ocaml
sepp2k has joined #ocaml
_andre has joined #ocaml
emmanuelux has joined #ocaml
hto has quit [Quit: leaving]
jonafan has quit [Ping timeout: 268 seconds]
<hcarty>
madroach: You could use some camlp4 magic to get around the double quoting. Depending on your approach it may not save many characters, but it could make the regexs more readable.
<hcarty>
I should add a regex quotation to xstrp4...
jonafan has joined #ocaml
ankit9 has joined #ocaml
ankit9 has quit [Read error: Connection reset by peer]
eikke has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
ankit9 has joined #ocaml
ankit9 has quit [Read error: Connection reset by peer]
bzzbzz has joined #ocaml
Snark has joined #ocaml
eni has joined #ocaml
thomasga has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
emmanuelux has quit [Ping timeout: 246 seconds]
eni has quit [Ping timeout: 268 seconds]
osa1 has quit [*.net *.split]
osa1 has joined #ocaml
mika1 has quit [Quit: Leaving.]
smondet has joined #ocaml
netrino has joined #ocaml
leoncamel has quit [Ping timeout: 240 seconds]
ftrvxmtrx has quit [Quit: Leaving]
thomasga has quit [Quit: Leaving.]
ocp has left #ocaml []
thomasga has joined #ocaml
emmanuelux has joined #ocaml
hkBst has quit [Quit: Konversation terminated!]
osa1 has quit [Quit: Konversation terminated!]
eni has joined #ocaml
eni has quit [Client Quit]
eni has joined #ocaml
<Drakken>
Why isn't the default for ODB_BUILD_DIR based on ODB_INSTALL_DIR?
<Drakken>
Wouldn't that make it easier for users to set both variables together?
contempt has quit [Ping timeout: 256 seconds]
contempt has joined #ocaml
<thelema>
Drakken: what should it be?
avsm has joined #ocaml
<Drakken>
thelema I set mine to $ODB_INSTALL_DIR/build.
<Drakken>
Mostly I just wanted to move all odb stuff into ~/ocaml/odb.
<thelema>
Drakken: that makes sense, I'll change the default to that.
<Drakken>
Cool.
<Drakken>
Also, is there some kind of standard testing procedure for odb, or do you just start installing stuff?
pango has joined #ocaml
<thelema>
just try installing stuff
<thelema>
a better test would be to run ocamlbrew on a few platforms
<thelema>
but most of the time, I prefer quick releases to thorough testing.
contempt has quit [Remote host closed the connection]
contempt has joined #ocaml
contempt has quit [Client Quit]
sepp2k has quit [Ping timeout: 276 seconds]
eni has quit [Ping timeout: 260 seconds]
sepp2k has joined #ocaml
milosn has joined #ocaml
Yoric has quit [Ping timeout: 248 seconds]
<adrien>
grrrrr
<adrien>
I hate the fact we can still have "camlzip" and "zip" as names for the same package
<adrien>
can someone output me the findlib names of all the packages in debian? in fedora? in odb.ml?
<hcarty>
thelema: I can open terminals super-fast!
<thelema>
you can paste to pastebins faster than I.
<hcarty>
adrien: I think that zip is more common than camlzip as a findlib name
<adrien>
hcarty, thelema: thanks; saved it
oooo has joined #ocaml
<thelema>
hcarty: unfortunately, I just got an email from ashish that godi uses camlzip as the findlib name
<hcarty>
thelema: That too. Firefox's history completion gets most of the credit there.
<adrien>
it would be a good thing to decide whether packages should be prefixed with ocaml/caml or not (hahaha, supper laggy connection)
<hcarty>
thelema: I saw that email. I think Debian and Fedora use zip.
<hcarty>
thelema: I had asked both the GODI and Debian folks about the difference a few years ago.
<hcarty>
IIRC, Debian used 'zip' first, but the time difference wasn't that large.
<adrien>
I remember you had that issue a couple of years ago
<adrien>
it's probably the _biggest_ issue with ocaml right now
<adrien>
it's simply impossible to make something that builds everywhere because of differences in distribution-provided META files and it's really stupid
<hcarty>
adrien: Thankfully (caml)zip is one of the few libraries without an official findlib name, at least up until now.
<adrien>
right but there are issues with the content of META files too
<hcarty>
Fedora/RHEL uses 'zip' as the findlib name.
<adrien>
need to afk-shower, brb
contempt has joined #ocaml
<Anarchos>
Who compiled bitstring ?
jamii has quit [Ping timeout: 252 seconds]
<thelema>
Anarchos: I've compiled bitstring
<hcarty>
thelema: You may want to remove the META file in the camlzip repository (trunk/META) if you're going to move to oasis.
<Anarchos>
thelema when i configure, it says 'time not found',my shell is bash
gnuvince has joined #ocaml
avsm has quit [Quit: Leaving.]
<thelema>
adrien: I might argue that the problems of distributing binary executables that work in any sort of cross-platform way are worse than findlib package names
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
<adrien>
thelema: that's a tough problem, and limùited by some issues that are common with C; find having corret findlib names however is something much much easier and that would provide at least source compatibility
<adrien>
(sorry, ssh lag, if not ssh connection drop)
BiDOrD has joined #ocaml
BiDOrD_ has quit [Ping timeout: 265 seconds]
eni_ has joined #ocaml
ftrvxmtrx has joined #ocaml
ulfdoz has joined #ocaml
emmanuelux has quit [Ping timeout: 240 seconds]
eni_ has quit [Ping timeout: 245 seconds]
greg_dove has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
avsm has quit [Quit: Leaving.]
vext01 has quit [Quit: leaving]
avsm has joined #ocaml
Anarchos has joined #ocaml
Yoric has joined #ocaml
<fasta>
It seems a very recurrent theme that builds are broken here.
<thelema>
hcarty: ack on camlzip META
<fasta>
Is that some kind of consulting strategy?
<fasta>
I.e. provide broken builds such that if you want a working system, you will provide support?
<fasta>
Kind of what Redhat does with Linux.
<jonafan>
yes we're raking it in here
<fasta>
Probably not, but why would anyone distribute something which doesn't work?
<fasta>
It's not like testing would take long.
<fasta>
You can even automate that.
<fasta>
Writing something like that takes a few hours and could work for all of the projects you release.
<fasta>
Some fairly large C projects also have that problem.
<jonafan>
what are we talking about here?
<fasta>
jonafan: broken builds in general and in OCaml.
<jonafan>
i haven't really had any trouble so i don't know what you're doing
<fasta>
All of the 'it depends on the environment' arguments could be easily mitigated if Nix would be used.
<fasta>
jonafan: try to install Ocsigen and you will see what I mean.
<fasta>
jonafan: for extra fun, add Godi and some other systems into the mix.
<fasta>
jonafan: for even more fun, imagine that you are not an OCaml build environment expert.
<jonafan>
i installed it from ubuntu's repositories at first
<jonafan>
then i installed it from godi
<fasta>
jonafan: it being ocsigen?
<jonafan>
yes
<fasta>
Ocsigen from Ubuntu repositories works, yes.
<jonafan>
it did require a couple of flags
<fasta>
Via godi, not so much.
<jonafan>
i think it was explained in the error messages
<fasta>
jonafan: which already makes it a failure.
<fasta>
jonafan: good software distribution systems can see what's already on your system.
<fasta>
jonafan: they do intelligent things, such that you, the user, isn't bothered with details.
Snark has quit [Quit: Quitte]
eikke has quit [Ping timeout: 248 seconds]
<fasta>
If you install something using godi and something else is already in the path which isn't compatible with godi, it will just happily continue.
<fasta>
It doesn't solve any problem.
<fasta>
It introduces new ones.
<jonafan>
you must be using a different godi
<fasta>
jonafan: if it's so easy, then write a nice script to install godi, ocaml and ocsigen with one command.
<fasta>
jonafan: with decent systems that can be done in minutes.
<fasta>
But godi, etc. cannot be more fragile and environment dependent.
<jonafan>
i... really haven't had any trouble with it
<fasta>
jonafan: try to install all godi packages then.
<fasta>
jonafan: you will surely notice breakage.
<jonafan>
i just installed every godi package without problems
<jonafan>
also i don't think godi will install required C libs for you... that would make things pretty messy
<fasta>
jonafan: there are about 200 or so of them.
<jonafan>
246
<fasta>
jonafan: there is no way you installed all of them.
<avsm>
jonafan: very nice; i hadnt realised ubuntu had this archive. on the autobuilder list...
* avsm
is reviewing a large openbsd/ocaml update. once sparc64 catches up, we should have ocaml-4 in openbsd-current
Cyanure has quit [Remote host closed the connection]
osa1 has joined #ocaml
_andre has quit [Quit: leaving]
avsm has quit [Quit: Leaving.]
thomasga has quit [Quit: Leaving.]
Yoric has quit [Ping timeout: 256 seconds]
gnuvince has quit [Ping timeout: 248 seconds]
<Anarchos>
"time" is mandatory to compile bitstring :(
<ousado>
fasta: I'd really like to see those wonders all the bugfree projects do that you write over night in no time and compile with -pedantic and -Werror
oooo has quit [Quit: Page closed]
smondet has quit [Quit: Leaving]
scri has joined #ocaml
avsm has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.2]
gnuvince has joined #ocaml
Xizor has joined #ocaml
iago has quit [Quit: Leaving]
Anarchos has quit [Ping timeout: 244 seconds]
scri has quit [Ping timeout: 276 seconds]
avsm has quit [Quit: Leaving.]
jamii has joined #ocaml
trigen has quit [Ping timeout: 246 seconds]
trigen_ has joined #ocaml
emmanuelux has joined #ocaml
<cacho>
I missed the bitchz warz
<cacho>
someone should save that conversation and email him in a couple of years
eni_ has joined #ocaml
eni_ has quit [Read error: Connection reset by peer]
flx_ has joined #ocaml
flx_ is now known as Guest1489
samposm has quit [Ping timeout: 265 seconds]
samposm has joined #ocaml
flux has quit [Read error: Connection reset by peer]