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
gtrak_1 has quit [Ping timeout: 252 seconds]
zlsyx has quit [Read error: Connection reset by peer]
zlsyx has joined #ocaml
<LACampbell> companion_cube: I'll defer to you on that, I may be conflating the ocaml team with opams dependency management, which isn't that fair. all I know is whenever I come back to an ocaml project after a year or so it's hard to get everything compiling again
<LACampbell> also, jbuild or dune or whatever it's called works really well.
<dh_work> sorry, got distracted
sh0t has joined #ocaml
orbifx has quit [Ping timeout: 256 seconds]
shinnya has joined #ocaml
IbnFirnas has quit [Ping timeout: 276 seconds]
<LACampbell> is there a community census on "standard libraries" in 2018? I pretty much always used Core because of the book
zlsyx has quit [Quit: Leaving...]
<LACampbell> looks like jane street have broken backwards compatibility recently. I can't even read the type signatures anymore
maattdd_ has joined #ocaml
maattdd_ has quit [Ping timeout: 240 seconds]
IbnFirnas has joined #ocaml
spew has joined #ocaml
cbot has quit [Ping timeout: 245 seconds]
spew has quit [Ping timeout: 240 seconds]
am55 has joined #ocaml
sh0t has quit [Remote host closed the connection]
zolk3ri has quit [Remote host closed the connection]
spew has joined #ocaml
<ELLIOTTCABLE> LACampbell: There's Base and Core Kernel now
<ELLIOTTCABLE> LACampbell: idk I'm a newbie but it seems like a net win — both are compatible with js_of_ocaml/bucklescript/mirage unikernel crap, which it sounds like the original Core wasn't?
<LACampbell> ELLIOTTCABLE: all I know is the Hashtabl signatures have changed. couldn't figure out how to create them
<LACampbell> though the docs I am looking at seem to have different sigs to what utop has
<LACampbell> you used to just be able to Hashtbl.create ~hashable:String.hashable ()
spew has quit [Ping timeout: 276 seconds]
snhmib has quit [Ping timeout: 252 seconds]
spew has joined #ocaml
<LACampbell> https://gist.github.com/LewisAndrewCampbell/c46e665d6c15bbdb91c104a7243f8b0f radically differnt signatures. and much different to what it was 1-2 years ago.
littleli has joined #ocaml
spew has quit [Ping timeout: 240 seconds]
spew has joined #ocaml
shinnya has quit [Ping timeout: 276 seconds]
mfp has quit [Ping timeout: 248 seconds]
gtrak_1 has joined #ocaml
ziyourenxiang has joined #ocaml
gtrak_1 has quit [Ping timeout: 276 seconds]
spew has quit [Quit: Leaving]
govg has joined #ocaml
<companion_cube> LACampbell: still no consensus on stdlib
<LACampbell> companion_cube: well the fact that snippets in "Real World Ocaml" no longer compile has put me off Core, anyway
<companion_cube> waiting for v2 then
<LACampbell> breaking changes in a standard library after 5 years? no, once bitten twice shy
<companion_cube> well you can try the stdlib then :)
<LACampbell> extlib looks nice
<LACampbell> I can read the type singatures, which is a massive plus
<companion_cube> not breaking, not moving much either :D
<companion_cube> may I interest you in containers? 0:-)
<companion_cube> (disclaimer: I'm the main author)
<LACampbell> companion_cube: checking out now. looks nice. sequence type is a win
<companion_cube> tbh it's a bit less consistent wrt conventions (but improving)
pierpa has quit [Quit: Page closed]
cbot has joined #ocaml
<LACampbell> companion_cube: I need something stable though. maybe just sticking with stdlib is the way to go.
pierpa has joined #ocaml
mbuf has joined #ocaml
<companion_cube> I see
<companion_cube> (well, there are some breaking changes from time to time in containers, whihc is why it's 2.0 now, but the changes are not that big because I also have code I don't want to update ^
<companion_cube> )
shinnya has joined #ocaml
ousado has quit [Remote host closed the connection]
ousado has joined #ocaml
ousado has quit [Changing host]
ousado has joined #ocaml
maattdd_ has joined #ocaml
maattdd_ has quit [Ping timeout: 240 seconds]
<LACampbell> companion_cube: I'm curious, do you use ocaml industry, academia, spare time?
<companion_cube> industry for 2 months, academia for 5 years, spare time for 5 years and 2 months 0:-)
<companion_cube> oh wow, started containers almost exactly 5 years ago actually
<LACampbell> haha, 2 months into ocaml "this thing needs a good standard library"
<LACampbell> I've used F# professionally, but not ocaml.
<companion_cube> might be closer to 6 years, frankly
<companion_cube> mid 2012
<companion_cube> it was more of a side project for data structures at the beginning
<companion_cube> hence the name :)
pierpa has quit [Ping timeout: 260 seconds]
<companion_cube> how is OCaml, coming from F#?
<LACampbell> it's such a great language that I've dabbled in over the years, but has never really taken off. do you get to use your own library in production?
<LACampbell> pretty similar. F# was a while ago at this point, but ocamls Modules subsume a lot of what you need objects for in F#, which I like. (not anti-OO, but I prefer using one construct as opposed to two competing ones)
<LACampbell> F# seems to be left on the way side by microsft at this point, very much a second class citizen :(
<companion_cube> yeah, we do use it
<companion_cube> (I don't think 100% is prod ready though)
jao has quit [Ping timeout: 240 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
slash^ has joined #ocaml
tarptaeya has joined #ocaml
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 248 seconds]
tarptaeya_ is now known as tarptaeya
mbuf has quit [Quit: Leaving]
snhmib has joined #ocaml
slash_ has joined #ocaml
jimmyrcom has quit [Ping timeout: 256 seconds]
slash^ has quit [Ping timeout: 256 seconds]
cbot has quit [Quit: Leaving]
moei has quit [Read error: Connection reset by peer]
moei has joined #ocaml
snhmib has quit [Ping timeout: 240 seconds]
mbuf has joined #ocaml
snhmib has joined #ocaml
orbifx has joined #ocaml
<remix2000> What is the best way to install OPAM package from remote git repository HEAD?
tarptaeya has quit [Ping timeout: 252 seconds]
tarptaeya has joined #ocaml
<remix2000> Ok, I've managed to get it to work with `opam pin` :P
<remix2000> reynir: I've tried libssh from OPAM, but unfortunately it's only client bindings. I'm looking for server :) Is there any SSH server library?
<reynir> remix2000: there's an in-development one called awa-ssh
<remix2000> reynir: I have a small problem with it, tcpip fails without certain error. Am I missing system package?
tarptaeya has quit [Ping timeout: 248 seconds]
infinity0_ has joined #ocaml
infinity0 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
infinity0 has joined #ocaml
infinity0 has quit [Changing host]
kakadu has joined #ocaml
orbifx has quit [Ping timeout: 268 seconds]
zpe has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
<reynir> uh, can you describe it a bit more?
<reynir> remix2000: ^
_whitelogger has joined #ocaml
<reynir> yes, that' not very helpful :D
<reynir> wait, can you paste the .err file from the output?
<reynir> clearly Lwt_sequence is deprecated heh
<reynir> Error: Unbound module Tcpv4_socket
<reynir> line 255
<remix2000> Saw it. No idea what to do with it :P
<reynir> Yea, me neither..
<remix2000> Does it build on your machine, reynir?
<reynir> It has previously, let me hceck..
<reynir> ok 3.4.0 was released 18 hours ago
bigs has quit [Read error: Connection reset by peer]
lynn has quit [Read error: Connection reset by peer]
mattg has quit [Read error: Connection reset by peer]
mattg has joined #ocaml
bigs has joined #ocaml
lynn has joined #ocaml
jeroud has quit [Read error: Connection reset by peer]
jeroud has joined #ocaml
mbuf has quit [Quit: Leaving]
<reynir> remix2000: it seems you might have to downgrade jbuilder (?) https://github.com/ocaml/opam-repository/pull/11515
<reynir> when did you last run opam update?
<remix2000> reynir: I think that it was yesterday. I will try again now.
Haudegen has joined #ocaml
<remix2000> reynir: The following dependencies couldn't be met: tcpip -> jbuilder < 1.0+beta18
<remix2000> So, how to downgrade this package? :D
<reynir> I think installing a specific version is »opam install jbuilder.1.0+beta18« but not sure it'll work
fredcy_ has joined #ocaml
<remix2000> reynir: It's the version I have installed right now
<dmbaturin> remix2000: What solver do you use?
alphor_ has joined #ocaml
<remix2000> When I try downgrading to beta17, opam attempts to downgrade/remove massive amount of packages
<remix2000> dmbaturin: What do you mean?
igitoor_ has joined #ocaml
<dmbaturin> remix2000: aspcud or the built-in solver?
<remix2000> I guess it's the built-in one :)
<dmbaturin> The built-in solver is somewhat prone to offering very strange resolutions.
<remix2000> dmbaturin: How to install it [aspcud]?
fredcy has quit [Ping timeout: 256 seconds]
fredcy_ is now known as fredcy
alphor has quit [Ping timeout: 256 seconds]
igitoor has quit [Ping timeout: 256 seconds]
<dmbaturin> It may be in your distro repos. Debian has it, for instance.
<remix2000> I have OCaml compiler installed via opam
copy` has quit [Ping timeout: 256 seconds]
aspiwack[m] has quit [Ping timeout: 256 seconds]
copy` has joined #ocaml
<dmbaturin> Yes, you are supposed to install aspcud from elsewhere, it's not in opam.
aspiwack[m] has joined #ocaml
mfp has joined #ocaml
igitoor_ has quit [Changing host]
igitoor_ has joined #ocaml
LACampbell has quit [Ping timeout: 252 seconds]
LACampbell has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]
zpe has quit [Remote host closed the connection]
jnavila has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
zolk3ri has joined #ocaml
<remix2000> reynir: So, did it compile for you?
<reynir> I didn't try since it required a downgrade to jbuilder beta 17
<remix2000> Too bad :(
<dmbaturin> What are you building by the way?
<remix2000> dmbaturin: I'm trying to create a program that creates SSH server :)
<remix2000> I need some SSH server library then
jnavila has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
tarptaeya has joined #ocaml
tarptaeya has quit [Client Quit]
zpe has joined #ocaml
LACampbell has quit [Ping timeout: 256 seconds]
sam9090 has joined #ocaml
sam9090 has left #ocaml [#ocaml]
zpe has quit [Ping timeout: 240 seconds]
<remix2000> What`s the best general purpose network library? I need something for telnet/raw connection
zpe has joined #ocaml
jnavila has joined #ocaml
<dmbaturin> remix2000: The Unix module provides all the usual socket functions, if you want it raw.
<remix2000> dmbaturin: What about handling multiple connections at the same time?
<Armael> you can use Lwt for that
<remix2000> Armael: Does it play well with Unix?
<Armael> there's Lwt_unix which exports the lwt-friendly versions of the functions in Unix
<remix2000> Armael: Ah, OK, thanks :D
<dmbaturin> remix2000: http://baturin.org/code/lwt-counter-server/ I have a tutorial for it.
jnavila has quit [Ping timeout: 240 seconds]
argent_smith3 has quit [Quit: Leaving.]
zpe has quit [Ping timeout: 256 seconds]
snhmib has quit [Ping timeout: 245 seconds]
argent_smith has joined #ocaml
argent_smith has quit [Client Quit]
Pierpa has joined #ocaml
zpe has joined #ocaml
snhmib has joined #ocaml
zpe has quit [Ping timeout: 256 seconds]
bartholin has quit [Read error: Connection reset by peer]
bartholin has joined #ocaml
zpe has joined #ocaml
argent_smith has joined #ocaml
argent_smith has quit [Read error: Connection reset by peer]
zpe has quit [Ping timeout: 265 seconds]
nicoo has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
nicoo has joined #ocaml
sh0t has joined #ocaml
<rgr[m]> jpdeplaix: what about my re release :P
kuwze has quit [Ping timeout: 260 seconds]
pmetzger has joined #ocaml
<jpdeplaix> rgr[m]: well #11507 is a blocker
<rgr[m]> Hmm, why is a blocker? I think it's just the job of downstream packages to keep up
<rgr[m]> I never voluntereed to maintained the constraints for every rev-dep of re :P
zpe has quit [Ping timeout: 240 seconds]
<jpdeplaix> yes, but it's my job to keep the repository in a sane state
zpe has joined #ocaml
<jpdeplaix> rgr[m]: anyway, I'm going to go do some grocery shopping rn, I'll merge them when I'll come back
<rgr[m]> Yeah, sorry. I'm not jealous of your job :/ Keeping the repository in a sane state by maintaining constraints is such an uphill battle
pmetzger has quit [Remote host closed the connection]
malc_ has joined #ocaml
tane has joined #ocaml
sh0t has quit [Ping timeout: 256 seconds]
zpe has quit [Ping timeout: 248 seconds]
pmetzger has joined #ocaml
zpe has joined #ocaml
spew has joined #ocaml
mbuf has joined #ocaml
malc_ has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 248 seconds]
spew has quit [Ping timeout: 252 seconds]
gtrak_1 has joined #ocaml
zpe has joined #ocaml
mbuf has quit [Quit: Leaving]
<companion_cube> o/
jao has joined #ocaml
zlsyx has joined #ocaml
jao has quit [Ping timeout: 276 seconds]
zpe has quit [Ping timeout: 276 seconds]
zpe has joined #ocaml
zlsyx has quit [Quit: Leaving...]
shinnya has joined #ocaml
zpe has quit [Read error: No route to host]
zpe has joined #ocaml
gtrak_1 has quit [Ping timeout: 256 seconds]
gtrak_1 has joined #ocaml
kuwze has joined #ocaml
shinnya has quit [Ping timeout: 248 seconds]
snhmib has quit [Ping timeout: 276 seconds]
kalio has quit [Ping timeout: 268 seconds]
zpe has quit [Ping timeout: 245 seconds]
pmetzger has quit [Remote host closed the connection]
zpe has joined #ocaml
pmetzger has joined #ocaml
govg has quit [Ping timeout: 256 seconds]
govg has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
jimmyrcom has joined #ocaml
zpe has quit [Ping timeout: 276 seconds]
butterthebuddha has quit [Max SendQ exceeded]
butterthebuddha has joined #ocaml
kuwze has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
snhmib has joined #ocaml
kuwze has joined #ocaml
<kuwze> I cloned this repo https://github.com/mirleft/ocaml-tls but I have no clue how to build it
<kuwze> there does not seem to be an obvious build file
gtrak_1 has quit [Ping timeout: 256 seconds]
zpe has quit [Ping timeout: 268 seconds]
snhmib has quit [Quit: WeeChat 1.6]
zpe has joined #ocaml
pierpa_ has joined #ocaml
gtrak_1 has joined #ocaml
kuwze has quit [Ping timeout: 260 seconds]
zpe has quit [Ping timeout: 256 seconds]
am55 has quit [Quit: am55]
jnavila has joined #ocaml
spew has joined #ocaml
gtrak_1 has quit [Ping timeout: 256 seconds]
am55 has joined #ocaml
gtrak_1 has joined #ocaml
zpe has joined #ocaml
<pmetzger> kuwze: it has a opam file...
pmetzger has quit []
gtrak_1 has quit [Ping timeout: 240 seconds]
sh0t has joined #ocaml
gtrak_1 has joined #ocaml
zpe has quit [Read error: No route to host]
zpe has joined #ocaml
Haudegen has quit [Remote host closed the connection]
LACampbell has joined #ocaml
sh0t has quit [Remote host closed the connection]
sh0t has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
jimmyrcom has quit [Ping timeout: 260 seconds]
spew has quit [Quit: Leaving]
zpe has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
zpe has joined #ocaml
cbot has joined #ocaml
zpe_ has joined #ocaml
zpe has quit [Read error: Connection reset by peer]
slash_ has quit [Quit: Leaving]
sh0t has quit [Ping timeout: 260 seconds]
kalio has joined #ocaml
tane has quit [Quit: Leaving]
orbifx has joined #ocaml
orbifx has quit [Ping timeout: 240 seconds]
kakadu has quit [Remote host closed the connection]
orbifx has joined #ocaml
jimmyrcom has joined #ocaml
sh0t has joined #ocaml
Haudegen has quit [Remote host closed the connection]
zpe_ has quit [Ping timeout: 256 seconds]