adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.06.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.06/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
kleimkuhler has joined #ocaml
kleimkuhler has quit [Client Quit]
kleimkuhler has joined #ocaml
shinnya has joined #ocaml
kleimkuhler has quit [Quit: kleimkuhler]
tokomak has joined #ocaml
kleimkuhler has joined #ocaml
kleimkuhler has quit [Quit: kleimkuhler]
spew has quit [Quit: Connection closed for inactivity]
silver has quit [Read error: Connection reset by peer]
sh0t has quit [Remote host closed the connection]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 240 seconds]
xuanrui has joined #ocaml
csljq has quit [Remote host closed the connection]
tokomak has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tokomak has joined #ocaml
csljq has joined #ocaml
dtornabene has quit [Remote host closed the connection]
jbrown has quit [Ping timeout: 256 seconds]
hdon has quit [Ping timeout: 256 seconds]
kleimkuhler has joined #ocaml
kleimkuhler has quit [Quit: kleimkuhler]
kleimkuhler has joined #ocaml
zolk3ri has quit [Quit: leaving]
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 264 seconds]
kleimkuhler has quit [Quit: kleimkuhler]
kleimkuhler has joined #ocaml
mfp_ has quit [Ping timeout: 276 seconds]
kleimkuhler has quit [Quit: kleimkuhler]
pierpal has joined #ocaml
<discord2> <mars0i> Is there any way to search RWO2? Seems like it would have that function, but I have not found it, and I can't figure out how to tell a general-purpose search engine to search only RWO2.
pierpal has quit [Ping timeout: 256 seconds]
pierpal has joined #ocaml
kleimkuhler has joined #ocaml
pierpa has quit [Quit: Page closed]
tokomak is now known as ltsdj
<discord2> <mars0i> Cancel that question. I'll try a different route, and might ask again later.
lostman has joined #ocaml
ltsdj has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
shinnya has quit [Ping timeout: 240 seconds]
zmzm has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
struktured has joined #ocaml
hdon has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
hdon has quit [Ping timeout: 265 seconds]
zmzm has quit [Ping timeout: 255 seconds]
ctrlsbstr has joined #ocaml
zmzm has joined #ocaml
ctrlsbstr has quit [Client Quit]
jimmyrcom_ has quit [Ping timeout: 240 seconds]
pierpal has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
struktured has quit [Ping timeout: 240 seconds]
muelleme has joined #ocaml
zmzm has quit [Ping timeout: 255 seconds]
mbuf has joined #ocaml
<discord2> <Christophe> Oh companion_cube, I see that you are French; through github I found your page, I had the chance to meet Gilles Dowek once, very interesting and nice guy it seemed to me; was my impression right ? 😃
zmzm has joined #ocaml
ctrlsbstr has joined #ocaml
ctrlsbstr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tarptaeya has joined #ocaml
ctrlsbstr has joined #ocaml
zmzm has quit [Quit: zmzm]
cbot has quit [Quit: Leaving]
keep_learning has quit [Ping timeout: 240 seconds]
keep_learning has joined #ocaml
muelleme has quit [Ping timeout: 248 seconds]
kleimkuhler has quit [Quit: kleimkuhler]
ctrlsbstr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 276 seconds]
orbifx has joined #ocaml
tarptaeya_ is now known as tarptaeya
Haudegen has joined #ocaml
orbifx has quit [Ping timeout: 255 seconds]
Haudegen has quit [Remote host closed the connection]
argent_smith has joined #ocaml
hdon has joined #ocaml
zmzm has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
tarptaeya has quit [Remote host closed the connection]
tarptaeya has joined #ocaml
pierpal has quit [Ping timeout: 248 seconds]
muelleme has joined #ocaml
ctrlsbstr has joined #ocaml
ctrlsbstr has quit [Client Quit]
ctrlsbstr has joined #ocaml
muelleme has quit [Ping timeout: 260 seconds]
argent_smith1 has joined #ocaml
ctrlsbstr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
argent_smith has quit [Ping timeout: 265 seconds]
_xvilka_ has joined #ocaml
<_xvilka_> hi
<_xvilka_> I have a simple web application built with manually written html/js on the client side and Opium OCaml framework on the server side. The server can receive the notifications from external programs, so I want to forward such notifications to the webui. There is a "Push" API afaik in javascript for that. Do you know how to do that on the Opium/OCaml side?
tarptaeya has quit [Quit: Konversation terminated!]
<steenuil> _xvilka_, you can either make the client poll the server for new notifications every once in a while, or use websockets to maintain a stable connection, though I don't know how well the latter would work for Opium
<_xvilka_> steenuil: yeah, I know how to pull, etc. I meant I wanted to use this https://developer.mozilla.org/en-US/doc/Web/API/Push_API
<steenuil> that's entirely on the client though
<steenuil> oh you mean the capability URL
<_xvilka_> steenuil: server should support this protocol too, yeah
dhil has joined #ocaml
<steenuil> implementing the server side of that sounds like a lot of work
<_xvilka_> yeah, seems no ready solution
<_xvilka_> Found a library in Haskell for that, will try to translate if I will have time: https://github.com/sarthakbagaria/web-push
<reynir> Bluddy[m]: how can it be improved? I'm looking forward to that!
<Drup> _xvilka_: it seems a bit early to rely on that, why not use websocket/commet instead ?
hdon has joined #ocaml
muelleme has joined #ocaml
<discord2> <loxs> What's the idiomatic way (in Base) to join a list of chars into a string?
hdon has quit [Ping timeout: 256 seconds]
<discord2> <loxs> Or, my more general question is, how to generate a string of spaces, which has an arbitrary (function param) length?
<Drup> String.Make
<Drup> make*
<discord2> <loxs> thanks
muelleme has quit [Ping timeout: 260 seconds]
<Drup> loxs[m]: you should train yourself at reading type signatures, this make these kind of question much easier to answer
<discord2> <loxs> I try to do that, but it's a bit hard to know what is present in which module and how the thing that I'm searching might be called
<Drup> well, it's a function to create strings, so it has 90% chances to be in the String module
<Drup> it's also a creation function, so it's probably called "make" or "create" or "init"
<Drup> finally, you know you want to create a string of lenght n filled with a char c, so it probably takes a char and an int as argument
<Drup> you open http://caml.inria.fr/pub/docs/manual-ocaml/libref/String.html and it's the 5th function. It's far more obfuscated in base since it's indirection-heavy unfortunately
<Drup> (ocp-browser is useful for this too)
<_xvilka_> Drup: is ok for newly developed webapp - while it will be production ready everything will be stable
<Drup> Eh, that's not a bargain I would take
nullifidian has quit [Remote host closed the connection]
zmzm has quit [Quit: zmzm]
Fr0stBit has joined #ocaml
nullifidian has joined #ocaml
<Fr0stBit> Hi guys! I'm trying to fix a broken package in Arch Linux, and during the build of an ocaml program i get: 'Error: Unbound module Camomile' what does that mean?
<Drup> You are probably missing a dependency, camomille is an ocaml library
<Fr0stBit> Drup: I do have the ocaml-camomile package installed. Is there some kind of repl/interpreter in ocaml that i could use to verify it can find the package?
ragepandemic has joined #ocaml
<Drup> Fr0stBit: `ocamlfind list | grep camomile` should return something
<ragepandemic> i'm making a list of OCaml projects that new and experienced users can look at for learning/insipiration. I'd love it the people here could provide suggestions
<ragepandemic> i've got stuff like 0install, pyre, flow etc
<Fr0stBit> $ ocamlfind list | grep camomile
<Fr0stBit> camomile (version: n/a)
<Fr0stBit> camomile.default_config (version: n/a)
<Fr0stBit> camomile.dyn (version: n/a)
<Fr0stBit> camomile.lib_default (version: n/a)
<Fr0stBit> camomile.library (version: n/a)
<Drup> ragepandemic: doesn't that overlap with awesome-ocaml
<Armael> ragepandemic: just to make sure, are you aware of https://list.community/rizo/awesome-ocaml/ ?
<Armael> (arg.)
<Drup> Fr0stBit: what's the package you are trying to fix ?
<Armael> awesome-ocaml needs some cleanup, but I plan to work on that during the DocJam
<ragepandemic> Drup, Armael: it does kind of overlap, but im working on ocamlverse with some other contributors
<ragepandemic> for something a bit more formal
<Armael> ocamlverse?
<Armael> https://github.com/bluddy/ocamlverse/blob/master/ecosystem/ecosystem.md this looks like a pure duplication of awesome-ocaml
<Armael> why not just contribute to awesome-ocaml
<Drup> oh, it's not a wiki anymore and now it's also a bunch of markdown file exactly like ocaml.org :|
<ragepandemic> basically, it all went off this thread: https://discuss.ocaml.org/t/an-experimental-unofficial-ocaml-wiki/1972
<ragepandemic> the idea is that some of this stuff might eventually be merged in to ocaml.org
<Drup> ragepandemic: there are various versions of what you are trying to make in ocaml.org, awesome-ocaml, and so on
<Armael> >why not just contribute to awesome-ocaml
<ragepandemic> because we want the "wiki" to contain a lot more than just links to projects
<Armael> awesome-ocaml is explicitly "curated", so I think it's perfectly fine for it to also contain explanations about the projects, for example
<Armael> I mean, it's not like the maintainers are grumpy old farts
<Drup> Fr0stBit: I'm not sure. liquidsoap is marked in opam as being incompatible with ocaml 4.05+, so that might be the issue ?
muelleme has joined #ocaml
<Drup> ragepandemic: let's cut down all the posturing, because I'm going to get very cranky otherwise: what are you looking for exactly ? :)
<Drup> if you want proposition, as Armael said, awesome-ocaml is already pretty decentely currated, so it contains the most relevant projects in most categories. Worse case, it might not be completely uptodate by a few month, but that's about it
<Fr0stBit> Drup: seems to be actively developed though. The error is in a line containing: 'module C = Camomile.CharEncoding'
<Drup> Yeah, I don't know, there seem to be a bug report about it here: https://github.com/savonet/liquidsoap/issues/543
lostman has quit [Quit: Connection closed for inactivity]
<ragepandemic> well, that's not the point of ocamlverse. It does have some overlap with awesome-ocaml and we might just merge the stuff and link to it directly, but its also meant to contain a bunch of stuff in regards to for example building projects, compiler internals, etc etc.
<ragepandemic> anyway, i was looking for projects that are written in OCaml I can link to
<ragepandemic> like apps kind of things
muelleme has quit [Ping timeout: 268 seconds]
<Fr0stBit> Drup: Is there any way i could try using the package to see if its the ocaml-camomile package problem?
<Drup> So, yes, if you are looking for "apps", that's covered by awesome-ocaml and ocaml.org's success stories, I'm not sure we will be able to give you more links than that, really
<ragepandemic> alright, thanks
<ragepandemic> and maybe im missing something, but there aren't really any "apps" in awesome-ocaml. there's some compilers, one example web app and some other tools here and there
zolk3ri has joined #ocaml
ctrlsbstr has joined #ocaml
kakadu has joined #ocaml
jaar has joined #ocaml
<Drup> ragepandemic: well, the first thing you mentioned was flow, which is in the list
zmzm has joined #ocaml
jaar has quit [Remote host closed the connection]
jaar has joined #ocaml
<Khady> I think it doesn't worth fighting and explaining the situation more Drup. Let's just wait for good content to emerge from ocamlverse
ncthbrt has joined #ocaml
mfp_ has joined #ocaml
<Drup> Khady: sure, I'm just pointing relevant ressources now :p
ncthbrt has quit [Client Quit]
ncthbrt has joined #ocaml
hdon has joined #ocaml
zmzm has quit [Quit: zmzm]
ncthbrt has quit [Client Quit]
hdon has quit [Ping timeout: 256 seconds]
<ragepandemic> didn't mean to start a fight or anything, i just want to make the ocaml documentation story better
<ragepandemic> and ill be sure to submit a PR to awesome-ocaml
<ragepandemic> https://github.com/bluddy/ocamlverse/issues/15 # feel free to contribute
demonimin has joined #ocaml
ziyourenxiang has joined #ocaml
ncthbrt has joined #ocaml
hdon has joined #ocaml
silver has joined #ocaml
ctrlsbstr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pierpal has joined #ocaml
spew has joined #ocaml
pierpal has quit [Client Quit]
pierpal has joined #ocaml
pierpal has quit [Remote host closed the connection]
tarptaeya has joined #ocaml
ragepandemic has quit [Quit: Lost terminal]
Haudegen has joined #ocaml
sh0t has joined #ocaml
csljq has quit [Remote host closed the connection]
barcabuona has joined #ocaml
csljq has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
jaar has quit [Remote host closed the connection]
jaar has joined #ocaml
ncthbrt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ncthbrt has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 276 seconds]
MercurialAlchemi has joined #ocaml
Fr0stBit has quit [Quit: WeeChat 2.1]
MercurialAlchemi has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
MercurialAlchemi has quit [Client Quit]
barcabuona has quit [Quit: WeeChat 2.1]
dhil has quit [Ping timeout: 255 seconds]
sh0t has quit [Remote host closed the connection]
dhil has joined #ocaml
hdon has quit [Ping timeout: 255 seconds]
hdon has joined #ocaml
shinnya has joined #ocaml
shinnya has quit [Quit: ZNC - http://znc.in]
ziyourenxiang has joined #ocaml
shinnya has joined #ocaml
hdon has quit [Ping timeout: 256 seconds]
hdon has joined #ocaml
hdon has quit [Ping timeout: 256 seconds]
hdon has joined #ocaml
sh0t has joined #ocaml
hdon has quit [Ping timeout: 265 seconds]
hdon has joined #ocaml
hdon has quit [Ping timeout: 255 seconds]
dhil has quit [Ping timeout: 255 seconds]
barcabuona has joined #ocaml
nicoo has quit [Ping timeout: 255 seconds]
muelleme has joined #ocaml
nicoo has joined #ocaml
muelleme has quit [Ping timeout: 240 seconds]
BitPuffin has joined #ocaml
hdon has joined #ocaml
govg has quit [Ping timeout: 264 seconds]
hdon has quit [Ping timeout: 265 seconds]
dhil has joined #ocaml
jaar has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
jaar has joined #ocaml
shinnya has quit [Ping timeout: 255 seconds]
jbrown has joined #ocaml
m4lvin has quit [Remote host closed the connection]
m4lvin has joined #ocaml
csljq has quit [Remote host closed the connection]
jaar has quit [Remote host closed the connection]
jaar has joined #ocaml
Haudegen has quit [Remote host closed the connection]
dhil has quit [Ping timeout: 248 seconds]
csljq has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
ncthbrt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
barcabuona has quit [Quit: WeeChat 2.1]
moolc has joined #ocaml
csljq has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
<Drup> Bluddy[m]: While looking for something else, I just stumbled on https://www.reddit.com/r/ocaml/comments/227n3z/centralized_ocaml_wiki/
<Drup> tbh, I slighly feel like I just found a glicht in the matrix
<discord2> <Bluddy> Yep. That was me 4 years ago. I've since concluded that github wikis are quite suboptimal.
kleimkuhler has joined #ocaml
cbot has joined #ocaml
kleimkuhler has quit [Quit: kleimkuhler]
mbuf has quit [Quit: Leaving]
weird_error has quit [Quit: weird_error]
dedgrant_ has quit [Ping timeout: 268 seconds]
barcabuona has joined #ocaml
jimmyrcom_ has joined #ocaml
csljq has joined #ocaml
spew has quit [Quit: Connection closed for inactivity]
moolc has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
struktured has joined #ocaml
jaar has quit [Ping timeout: 255 seconds]
barcabuona has quit [Quit: WeeChat 2.1]
barcabuona has joined #ocaml
Haudegen has joined #ocaml
dedgrant_ has joined #ocaml
ctrlsbstr has joined #ocaml
ziyourenxiang has quit [Ping timeout: 268 seconds]
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
kakadu has quit [Quit: Konversation terminated!]
Anarchos has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
ctrlsbstr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
barcabuona has quit [Quit: WeeChat 2.1]
hdon has joined #ocaml
ctrlsbstr has joined #ocaml
orbifx has joined #ocaml
barcabuona has joined #ocaml
hdon has quit [Ping timeout: 255 seconds]
dhil has joined #ocaml
orbifx has quit [Ping timeout: 240 seconds]
dtornabene has joined #ocaml
barcabuona has quit [Quit: WeeChat 2.1]
barcabuona has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
hdon has joined #ocaml
ctrlsbstr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ncthbrt has joined #ocaml
tarptaeya_ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
tarptaeya has quit [Ping timeout: 240 seconds]
csljq has quit [Remote host closed the connection]
csljq has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
tarptaeya_ is now known as tarptaeya
jnavila has joined #ocaml
rostero has joined #ocaml
baroud has joined #ocaml
baroud has quit [Read error: Connection reset by peer]
ncthbrt has quit [Quit: Textual IRC Client: www.textualapp.com]
hdon has quit [Changing host]
hdon has joined #ocaml
jnavila has quit [Ping timeout: 268 seconds]
pierpal has joined #ocaml
tarptaeya has quit [Quit: Konversation terminated!]
jack5638 has quit [Ping timeout: 255 seconds]
orbifx has joined #ocaml
jack5638 has joined #ocaml
Haudegen has quit [Remote host closed the connection]
gareppa has joined #ocaml
<companion_cube> grr, discord sucks, why should I have to create an account to connect 2minutes and ask a question
<discord2> <Bluddy> Join the dark side companion_cube
<copy`> You don't have to create an account, I think?
<copy`> You can just join with a username and don't enter an email or password
<companion_cube> ahah, ok, I was stuck because of fucking captcha
<companion_cube> serves me right for blocking 3rd party
<companion_cube> (thanks copy`)
kakadu has joined #ocaml
gareppa has quit [Quit: Leaving]
Anarchos has quit [Quit: Vision[0.10.2]: i've been blurred!]
Haudegen has joined #ocaml
_andre has quit [Quit: leaving]
pierpa has joined #ocaml
muelleme has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
muelleme has quit [Ping timeout: 276 seconds]
dogui has joined #ocaml
jnavila has joined #ocaml
sz0 has joined #ocaml
<kakadu> I'm compiling .cma file with some packages and -linkall option. I add more packages using -package switch but the final doesn't become larger. Why?
shinnya has joined #ocaml
jnavila has quit [Remote host closed the connection]
<orbifx> kakadu: are they dependencies of already packaged modules?
argent_smith1 has quit [Quit: Leaving.]
<kakadu> yep
<kakadu> I think that I found workaround, btw... but I'm not sure
orbifx has quit [Ping timeout: 264 seconds]
johnelse has quit [Ping timeout: 260 seconds]
Haudegen has quit [Remote host closed the connection]
johnelse has joined #ocaml
mali has quit [Quit: Throwing apples of Montserrat]
mk9 has joined #ocaml
Fistine has quit [Ping timeout: 265 seconds]
Fistine has joined #ocaml
mk9 has quit [Quit: mk9]
dtornabene has quit [Quit: Leaving]
rostero has quit [Quit: Connection closed for inactivity]
malina has joined #ocaml
malina has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
pierpa has quit [Quit: Page closed]
muelleme has joined #ocaml
muelleme has quit [Ping timeout: 248 seconds]