adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Hrundi_V_Bakshi has quit [Ping timeout: 256 seconds]
ollehar has quit [Ping timeout: 244 seconds]
ollehar has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
h14u has quit [Quit: Leaving]
vicfred has joined #ocaml
dborisog__ has joined #ocaml
malc_ has joined #ocaml
ArthurStrong has quit [Quit: leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
malc_ has quit [Remote host closed the connection]
malc_ has joined #ocaml
malc_ has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
malc_ has joined #ocaml
_whitelogger has joined #ocaml
shmibs has quit [Quit: leaving =o]
shmibs has joined #ocaml
FreeBirdLjj has joined #ocaml
_whitelogger has joined #ocaml
malc_ has quit [Ping timeout: 246 seconds]
jnavila has joined #ocaml
chripell has joined #ocaml
jnavila has quit [Remote host closed the connection]
jnavila has joined #ocaml
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ocaml
mbuf has joined #ocaml
jnavila has quit [Ping timeout: 256 seconds]
FreeBird_ has quit [Remote host closed the connection]
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
_whitelogger has joined #ocaml
ggole has joined #ocaml
malc_ has joined #ocaml
Haudegen has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 244 seconds]
malc_ has quit [Ping timeout: 246 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
ollehar has quit [Ping timeout: 244 seconds]
ollehar has joined #ocaml
_whitelogger has joined #ocaml
jbrown has quit [Ping timeout: 272 seconds]
vikfret has joined #ocaml
jbrown has joined #ocaml
waleee-cl has joined #ocaml
Serpent7776 has quit [Quit: leaving]
malc_ has joined #ocaml
nullcone has joined #ocaml
vikfret has quit [Quit: Leaving]
Serpent7776 has joined #ocaml
dborisog__ has quit [Ping timeout: 240 seconds]
mbuf has quit [Quit: Leaving]
oriba has joined #ocaml
<oriba> I'm still looking for a slim library that allows me to do http(s)-operations with OCam, is well documented including working examples and easy to install (directly or opam). Any ideas on that?
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 244 seconds]
infinity0 has quit [Ping timeout: 265 seconds]
infinity0_ has joined #ocaml
infinity0 has joined #ocaml
<flux> cohttp? I'm assuming the example in its README.md works.
<oriba> Last time I looked at it, the example did not work
infinity0 has quit [Ping timeout: 264 seconds]
infinity0 has joined #ocaml
<flux> then there is ocurl, OCaml bindings for curl
<oriba> not a fan of ocurl, migrated away from it long ago. But if it works, hmh, mabye I will give it a try again.
muskan has joined #ocaml
infinity0_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0 has quit [Killed (verne.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
zv has quit [Ping timeout: 256 seconds]
snowpanda has joined #ocaml
Hrundi_V_Bakshi has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
muskan has left #ocaml [#ocaml]
Haudegen has joined #ocaml
<companion_cube> curly? :p
infinity0_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0 has quit [Killed (orwell.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
<oriba> ah another curl-binding? hmhhh, description for curly: "The Dumbest Http Client". sounds great. :-) will look for it
malc_ has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<companion_cube> it's literally just calling curl via a subprocess :D
<simpson> At a safe distance.
<companion_cube> "a microservice architecture for invoking curl" ? ;)
<oriba> hmhh, so I could use Unix.system with curl-command line?
<rgrinberg> curly saved my ass a few times, take it seriously :P
<rgrinberg> it just needs a wget backend xD
<oriba> wget is not curl
<rgrinberg> I'm aware :)
<oriba> If Unix.popen "curl <url>" saves my ass, I maybe should use that... no curly needed then
<rgrinberg> if you don't have to deal with headers, that should work too
<oriba> curly use wget? So I should look for wgetly to use curl?
<oriba> I just need the content
<oriba> But I don't want to rely on a command line tool to be installed
<rgrinberg> Not relying on a command line tool will make you rely on a library instead i'm afraid
<oriba> when I install curly, which uses curl (or wget?), will curl/wget be available by installing curly? At least when I install a library, it will be there.
<oriba> no hidden dependencies
<rgrinberg> curly will not make curl available.
<oriba> yes, I think so
<oriba> so ocurl looks better to me
<rgrinberg> ocurl requires libcurl to be available
<oriba> will it compile without libcurl available?
ggole has quit [Quit: Leaving]
<rgrinberg> nope
<oriba> will curly compile wthout curl?
<rgrinberg> yes
<oriba> so, thats the hidden dependency. All things compiled, and on runtime -> failure
<ollehar> how about a "no aliasing" feature for OCaml? would that be useful?
<ollehar> in Rust they call it a "pinned" variable
<simpson> If you don't need the compiler to guarantee it for you, then you could build it yourself, as long as you promise only to use pure functions on the variable. If you do need the compiler to guarantee it...how do you imagine that being done?
kleisli__ has quit [Quit: Leaving]
stux|RC-only has quit [Ping timeout: 246 seconds]
<ollehar> no idea how it could be done
<ollehar> like C++ unique_ptr but without possibility to transfer
vicfred has quit [Quit: Leaving]
<ollehar> hm, would forbidding aliasing remove the need to box the value? for the gc
<ollehar> wouldn't unique and/or non-aliasing pointers be relevant for multicore?
<ollehar> "even without a GC memory management is not free"
<ollehar> pfff
<ollehar> in PHP we just never collect
<ollehar> it is the java way, too
<ollehar> e.g. if a ref variable had no alias, it would be safe to free it when it goes out of scope
<ollehar> ref-unique, perhaps
ArthurStrong has joined #ocaml
Hrundi_V_Bakshi has quit [Ping timeout: 244 seconds]