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