companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
sgronblo has quit [Read error: No route to host]
infinity0_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0 is now known as Guest54176
Guest54176 has quit [Killed (adams.freenode.net (Nickname regained by services))]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 260 seconds]
jlam1 has joined #ocaml
jlam has quit [Ping timeout: 260 seconds]
sgronblo has joined #ocaml
dinosaure has joined #ocaml
<jyc_> is there some way for me to have the type system enforce doing some operation at most one time?
<rightfold> You need linear types for that
<rightfold> Which you can implement if you want to limit yourself to pointfree style
jlam__ is now known as jlam
sillyotter has joined #ocaml
sillyotter has quit [Quit: WeeChat 1.4]
huza has quit [Ping timeout: 260 seconds]
rdutra1 has joined #ocaml
rdutra has quit [Ping timeout: 240 seconds]
snowcrshd has quit [Remote host closed the connection]
<seliopou> rgrinberg yoyoy
silver has quit [Read error: Connection reset by peer]
ryanartecona has joined #ocaml
ziyourenxiang has quit [Ping timeout: 240 seconds]
infinity0 has quit [Remote host closed the connection]
<rgrinberg> seliopou hey
<seliopou> remember when you said you would show me how to use opam publish? :)
<seliopou> if you do I will move all my projects over to jbuilder TAh-NIGHT
<rgrinberg> Haha yeah I did
<seliopou> or i'll get as far as I can before i fall asleep
<rgrinberg> Ok so, what's happening when you use opam publish now?
sh0t has joined #ocaml
<seliopou> 1 sec gotta reinstall it
<rgrinberg> One thing to note is that the publishing work flow is actually different if you're using jbuilder
<rgrinberg> As you'd be using topkg-jbuilder to drive releases
<seliopou> D:
<rgrinberg> But still, it depends on opam publish underneath, so it won't save us from fixing this bug
<seliopou> another thing to worry about?
<seliopou> ok
<seliopou> this is taking forever
<seliopou> tick tock tick tock
infinity0 has joined #ocaml
<seliopou> ok it's ready
<seliopou> ok preparing works
<seliopou> now...
<seliopou> OpamSystem.Process_error(_)
<seliopou> Called from file "src/sexp_conv.ml", line 151, characters 10-37
<seliopou> Raised at file "map.ml", line 122, characters 16-25
<seliopou> Backtrace:
<seliopou> when i try to submit
copy_ has quit [Quit: Connection closed for inactivity]
<rgrinberg> Really bizarre. Where does it even use sexps?
<rgrinberg> Can you try doing a little stracing and see what process it's trying to run and how
mrkgnao has joined #ocaml
<seliopou> huh
<seliopou> it's doing a bunch of curls that are failing
<seliopou> what in god's name
mengu has quit [Remote host closed the connection]
<seliopou> it's trying to execute curl from ~/.opam/switch/bin/curl
<seliopou> oh last one succeeds
<seliopou> wait isn't this what PATH's are for?
<seliopou> moving on...
sh0t has quit [Remote host closed the connection]
<rgrinberg> so, is it curl that's failing?
<seliopou> no
<seliopou> oh now i remember what's up
<seliopou> agent forwarding isn't working I think
<seliopou> ok
<seliopou> i got this
nomicflux has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
<seliopou> doooope
<rgrinberg> yayy
<seliopou> so, opam publish does not work with: a) ssh agent forwarding b) keys that are not named id_rsa or id_dsa or some close variant
rdutra1 has quit [Quit: Leaving.]
<seliopou> ok so what's the workflow for jbuilder?
<rgrinberg> See $ topkg bistro. but basically $ topkg opam {pkg,submit}
<seliopou> what does this do
<seliopou> hmmm
<seliopou> command not found?
<rgrinberg> make sure you have topkg, topkg-care, and topkg-jbuilder
<seliopou> no binary's installed?
ygrek_ has quit [Ping timeout: 240 seconds]
agravier has joined #ocaml
nomicflux has quit [Quit: nomicflux]
shinnya has quit [Ping timeout: 240 seconds]
yegods has quit [Remote host closed the connection]
kalio has quit [Quit: WeeChat 1.8]
nomicflux has joined #ocaml
samrat has joined #ocaml
kalio has joined #ocaml
mengu has joined #ocaml
samrat has quit [Ping timeout: 255 seconds]
nomicflux has quit [Quit: nomicflux]
mengu has quit [Ping timeout: 260 seconds]
mfp__ has quit [Ping timeout: 255 seconds]
minn has joined #ocaml
ryanartecona has joined #ocaml
jao has quit [Ping timeout: 246 seconds]
Rome has quit [Changing host]
Rome has joined #ocaml
KeyJoo has joined #ocaml
sgronblo has quit [Ping timeout: 255 seconds]
ryanartecona has quit [Quit: ryanartecona]
jlam_ has joined #ocaml
jlam has quit [Ping timeout: 255 seconds]
jlam has joined #ocaml
jlam__ has joined #ocaml
jlam1 has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
jlam has quit [Ping timeout: 260 seconds]
mengu has joined #ocaml
mengu has quit [Ping timeout: 255 seconds]
samrat has joined #ocaml
olibjerd has joined #ocaml
ygrek_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
sgronblo has joined #ocaml
mengu has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
dogui_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 255 seconds]
MercurialAlchemi has joined #ocaml
enterprisey has joined #ocaml
samrat has quit [Ping timeout: 246 seconds]
enterprisey has quit [Remote host closed the connection]
Simn has joined #ocaml
Merv_ has quit [Remote host closed the connection]
alfredo has joined #ocaml
alfredo has quit [Ping timeout: 268 seconds]
mrkgnao has quit [Ping timeout: 255 seconds]
mrkgnao has joined #ocaml
Mercuria1Alchemi has joined #ocaml
yegods has joined #ocaml
frefity_ has quit [Quit: Ex-Chat]
AltGr has joined #ocaml
freusque has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
olibjerd has quit [Quit: olibjerd]
samrat has joined #ocaml
ygrek_ has quit [Ping timeout: 255 seconds]
TheLemonMan has joined #ocaml
yegods has quit [Remote host closed the connection]
argent_smith has joined #ocaml
TheLemonMan has quit [Quit: Lost terminal]
yegods has joined #ocaml
samrat has quit [Ping timeout: 260 seconds]
mengu has joined #ocaml
mengu has quit [Ping timeout: 246 seconds]
KeyJoo has quit [Ping timeout: 268 seconds]
mengu has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
dhil has joined #ocaml
TheLemonMan has joined #ocaml
dhil has quit [Quit: Quit]
AlexRussia has quit [Quit: WeeChat 1.8]
mrkgnao has quit [Ping timeout: 255 seconds]
yegods has quit [Read error: Connection reset by peer]
sgronblo has quit [Ping timeout: 240 seconds]
Merv_ has joined #ocaml
tiensonqin has joined #ocaml
Merv_ has quit [Remote host closed the connection]
Merv_ has joined #ocaml
tiensonqin has quit [Client Quit]
tienson has joined #ocaml
agravier has quit [Quit: agravier]
irm has joined #ocaml
sgronblo has joined #ocaml
lizzin has joined #ocaml
Merv__ has joined #ocaml
kakadu has joined #ocaml
zpe has joined #ocaml
Merv_ has quit [Ping timeout: 255 seconds]
samrat_ has joined #ocaml
mfp__ has joined #ocaml
jlam has joined #ocaml
FreeBirdLjj has joined #ocaml
samrat_ has quit [Ping timeout: 268 seconds]
jlam__ has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Ping timeout: 246 seconds]
snowcrshd has joined #ocaml
ziyourenxiang has joined #ocaml
minn has quit [Ping timeout: 240 seconds]
jlam__ has joined #ocaml
jlam has quit [Ping timeout: 240 seconds]
gregoire has quit [Remote host closed the connection]
gregoire has joined #ocaml
gregoire has quit [Quit: ZNC 1.6.3 - http://znc.in]
gregoire has joined #ocaml
andreas_ has joined #ocaml
samrat_ has joined #ocaml
olibjerd has joined #ocaml
barcabuona has quit [Quit: WeeChat 1.8]
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 240 seconds]
sgronblo has quit [Read error: Connection reset by peer]
samrat_ has quit [Ping timeout: 240 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
sgronblo has joined #ocaml
jlam has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
_andre has joined #ocaml
AlexRussia has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 260 seconds]
Mercuria1Alchemi has quit [Ping timeout: 268 seconds]
tienson has quit [Ping timeout: 255 seconds]
snowcrshd has quit [Remote host closed the connection]
nomicflux has joined #ocaml
emias has quit [Quit: Reboot.]
rdutra has joined #ocaml
nomicflux has quit [Quit: nomicflux]
sgronblo has quit [Ping timeout: 240 seconds]
emias has joined #ocaml
olibjerd has quit [Quit: olibjerd]
frefity has joined #ocaml
Merv__ has quit [Remote host closed the connection]
Merv_ has joined #ocaml
Merv_ has quit [Ping timeout: 258 seconds]
olibjerd has joined #ocaml
shinnya has joined #ocaml
jlam has quit [Ping timeout: 240 seconds]
jlam__ has joined #ocaml
MercurialAlchemi has joined #ocaml
kakadu_ has quit [Quit: Konversation terminated!]
olibjerd has quit [Quit: olibjerd]
kakadu has joined #ocaml
sh0t has joined #ocaml
mengu has joined #ocaml
vbmithr_ has quit [Remote host closed the connection]
argent_smith has quit [Quit: Leaving.]
rootmos has quit [Ping timeout: 240 seconds]
rootmos has joined #ocaml
snowcrshd has joined #ocaml
freusque has quit [Quit: WeeChat 1.7.1]
mengu has quit [Quit: Leaving...]
samrat_ has joined #ocaml
<rixed> Hello! With opam, is there a way to say we do *not* want an optional dependency? (like, the dep is indeed installed but we want to fake it's not).
Mercuria1Alchemi has joined #ocaml
<rixed> short of editing the opam file.
<rixed> case at hand: I need both latest js_of_ocaml and latest cohttp, don't need the extra lib of cohttp depending on js_of_ocaml, and cohttp is not compatible with latest js_of_ocaml :(
<rixed> So I'd like to opam install cohttp --nodep js_of_ocaml
MercurialAlchemi has quit [Ping timeout: 246 seconds]
<Fardale> install cohttp first and then js_of_ocaml ?
<rixed> Fardale: it would then downgrade cohttp or install an older version of js_of_ocaml (if latest version is unspecified)
<rixed> Fardale: hm, wait, maybe only if js_of_ocaml.old.version is previously installed...
<rixed> Fardale: let me give this a try...
FreeBirdLjj has joined #ocaml
<Drup> rixed: pretty sure the build system of cohttp does not allow that anyway. It's not an opam problem, it's a build system problem. I believe the dev version has this fixed
<Drup> (by exploding cohttp in several packages, including one with just the jsoo part)
<rixed> Drup: but if there is no jsoo at the time cohttp is build, how could it fail/
<rixed> Fardale: anyway, this doesn't work: as soon as I install (not upgrade) js_of_ocaml, opam wants to downgrade cohttp :(
copy_ has joined #ocaml
<Drup> if it's a depots, a rebuild will be scheduled
<rixed> If a dep is optional then the user should have a say.
<Drup> You're complaining to the wrong person. This is how how cohttp's build system in the release work _today_ and it's fixed in the dev version.
<octachron> For people using 4.04.{0,1}, 4.04.2 is out with a security fix
<Drup> the build system itself in released cohttp does the auto-detection of depopts itself, opam doesn't have a say on that
<Drup> rixed: if you really want everything bleeding edge today (which is a bit premature if you ask me, but oh well): pin the dev version of cohttp.
vbmithr has joined #ocaml
<rixed> Drup: as I said, cohttp compiled just fine at a time js_of_ocaml was not installed, and therefore I have the cohttp I want. Then when I opam install js_of_ocaml.3.0 *opam* think it must downgrade cohttp.
<rixed> Drup: I don't think cohttp build system is involved in this, and if opam was not downgrading cohttp ewverything would work just fine.
<rixed> Drup: Therefore, an option in opam to say "I know cohttp could make use of jsoo but I still don't want to recompile it" would be helpful.
<octachron> rixed, except that it is cohttp build system that requests the information on the availability of jsoo.
<rixed> As to why I want the bleeding edge of everything: I need the possibility to XmlHttpRequest-upload a string (feature added a few days ago in jsoo) without which I cannot use jsoo at all, and I want cohttp 0.22 because previous version don't build.
agravier has joined #ocaml
<rixed> octachron: why is opam invoking anything from cohttp build system when I'm asking to instal jsoo ?
<Drup> That's unsafe in general, but sure. You can "opam pin edit" on cohttp, remove the depopts part and be careful about order of compilation
<octachron> your proposal would be more make opam lie about the availability of jsoo in the current switch
<Drup> be aware that it's going to explode as soon as opam decides to reinstall
<octachron> rixed, to make package installation commutative? i.e. the installed environment should not depend on build order
<rixed> Drup: yes sure. Ok I understand what you meant now. Indeed my "solution would work only when the order of installation is cohttp first and jsoo later.
<rixed> this is not ideal but at least it would work.
<rixed> Indeed a better solution is to explode cohttp in different packages.
samrat_ has quit [Ping timeout: 255 seconds]
jlam_ has quit [Ping timeout: 255 seconds]
<rixed> or at least its build system to not use a jsoo version it's incompatible with.
jlam_ has joined #ocaml
<Drup> rixed: which is done in the dev version :p
<rixed> Drup: which I'm pinning ATM :)
jlam1 has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
agravier has quit [Quit: agravier]
agravier has joined #ocaml
<Armael> /w 34
jlam_ is now known as jlam
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<reynir> octachron: Thanks! That actually affects me! (although only on my laptop where only I have access, so...)
Merv_ has joined #ocaml
ryanartecona has joined #ocaml
enterprisey has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 246 seconds]
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #ocaml
minn has joined #ocaml
snowcrshd has quit [Remote host closed the connection]
agravier has quit [Read error: Connection reset by peer]
samrat_ has joined #ocaml
agravier has joined #ocaml
jao has joined #ocaml
jlam_ has joined #ocaml
sh0t has quit [Ping timeout: 255 seconds]
jlam1 has quit [Ping timeout: 240 seconds]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 268 seconds]
jlam_ has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
Denommus has joined #ocaml
<orbifx[m]> any nice examples of Lwt used to make persistent TCP servers?
<orbifx[m]> for multiple connections
snowcrshd has joined #ocaml
MercurialAlchemi has joined #ocaml
andreas_ has quit [Quit: Connection closed for inactivity]
shinnya has quit [Ping timeout: 268 seconds]
AlexRussia has quit [Ping timeout: 255 seconds]
TheLemonMan has joined #ocaml
minn has quit [Ping timeout: 246 seconds]
minn has joined #ocaml
Denommus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
AltGr has left #ocaml [#ocaml]
AlexRussia has joined #ocaml
KeyJoo has joined #ocaml
minn has quit [Ping timeout: 240 seconds]
average has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
lizzin has quit [Ping timeout: 255 seconds]
olibjerd has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
ygrek_ has joined #ocaml
barcabuona has joined #ocaml
snowcrshd has quit [Remote host closed the connection]
minn has joined #ocaml
olibjerd has quit [Quit: olibjerd]
irm has quit [Ping timeout: 258 seconds]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 260 seconds]
yegods has joined #ocaml
minn has quit [Quit: Leaving]
apache2 has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
enterprisey has quit [Remote host closed the connection]
samrat_ has quit [Ping timeout: 276 seconds]
toolslive has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
irm has joined #ocaml
sh0t has joined #ocaml
olibjerd has joined #ocaml
rdutra has quit [Quit: Leaving.]
shinnya has joined #ocaml
argent_smith has joined #ocaml
snowcrshd has joined #ocaml
irm has quit [Ping timeout: 260 seconds]
irm has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
rdutra has joined #ocaml
snowcrshd has quit []
Muzer has quit [Ping timeout: 246 seconds]
yegods has quit [Remote host closed the connection]
xaimus_ is now known as xaimus
irm has quit [Ping timeout: 258 seconds]
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
barcabuona has quit [Quit: WeeChat 1.8]
yegods has joined #ocaml
irm has joined #ocaml
Muzer has joined #ocaml
fds_ is now known as fds
argent_smith1 has joined #ocaml
fds has quit [Changing host]
fds has joined #ocaml
argent_smith has quit [Ping timeout: 260 seconds]
argent_smith has joined #ocaml
argent_smith1 has quit [Ping timeout: 255 seconds]
argent_smith1 has joined #ocaml
argent_smith has quit [Ping timeout: 260 seconds]
olibjerd has quit [Quit: olibjerd]
ryanartecona has joined #ocaml
irm has quit [Ping timeout: 268 seconds]
dhil has joined #ocaml
iwan has joined #ocaml
<iwan> Does anyone here has experience with calling objective-c from ocaml?
jnavila has joined #ocaml
<iwan> nvm I figured it out
irm has joined #ocaml
kakadu has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
foocraft has joined #ocaml
foocraft has quit [Changing host]
foocraft has joined #ocaml
_andre has quit [Quit: leaving]
rdutra has quit [Quit: Leaving.]
irm has quit [Quit: Lost terminal]
iwan has quit [Quit: Page closed]
ryanartecona has quit [Quit: ryanartecona]
barcabuona has joined #ocaml
KeyJoo has quit [Ping timeout: 255 seconds]
sh0t has quit [Ping timeout: 240 seconds]
Simn has quit [Read error: Connection reset by peer]
MercurialAlchemi has quit [Ping timeout: 246 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
raphaelss has quit [Ping timeout: 276 seconds]
barcabuona has quit [Quit: WeeChat 1.8]
yegods has quit [Remote host closed the connection]
Denommus has joined #ocaml
Denommus has quit [Client Quit]
yegods has joined #ocaml
Denommus has joined #ocaml
barcabuona has joined #ocaml
jnavila has quit [Remote host closed the connection]
sh0t has joined #ocaml
pierpa has joined #ocaml
ygrek_ has quit [Ping timeout: 276 seconds]
kakadu has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
Denommus has quit [Quit: going home]
barcabuona has quit [Quit: WeeChat 1.8]
randomA has joined #ocaml
<randomA> is python or ruby closer to ocaml?
<randomA> also how can i distribute a hash table
<thizanne> randomA: python and ruby are the exact same language and none of them is really close to ocaml
<octachron> both are much further apart from OCaml that from each other, so I am not sure if there is an unquestionable answer (aka which are the closer relative of a caml between a spider and a scorpion?)
<randomA> lmao
<randomA> hehe @ python and ruby are the exact same language
<randomA> i like ocaml, but its not practical, and i need a scripting language that popular thats like ocaml
<rks`> javascript.
jmiven has quit [Quit: co'o]
<randomA> really?
<randomA> javascript seems like it sucks
<randomA> theres all this angular, node
<randomA> jquery
<companion_cube> typescript
<thizanne> so do you want a popular language
<thizanne> or a language that doesnt suck
<randomA> something in the middle
<rks`> apl.
<randomA> wat
<thizanne> not this kind of middle
<randomA> is typescript part of javascript
jmiven has joined #ocaml
<companion_cube> it's an extension
<randomA> oh my god, i cant stand javascript
<randomA> i like php though
<randomA> people say php is shit, but php is great
<randomA> does anyone know how i can implement kademlia though
malina has joined #ocaml
<octachron> randomA, slowly but surely?
<randomA> idk what to do
ryanartecona has joined #ocaml
<octachron> then start with something simpler where you can make progress one step at a time?
<randomA> i just dont get how they use the kbuckets
<randomA> oh damn, im confusing this caht with algorithms
barcabuona has joined #ocaml
argent_smith1 has quit [Quit: Leaving.]
sh0t has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
__y is now known as _y
FreeBirdLjj has quit [Ping timeout: 268 seconds]
darktenaibre has joined #ocaml
spew has joined #ocaml
jlam1 has joined #ocaml
jlam__ has quit [Ping timeout: 255 seconds]