adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.08 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.08/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
yomimono has quit [Ping timeout: 245 seconds]
kakadu has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
AtumT has quit [Quit: AtumT]
ziyourenxiang has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
malina has quit [Ping timeout: 240 seconds]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
<cemerick> Drup: sure, it's hardly difficult, but it's also definitely a wart.
<cemerick> the `b` formatter is sitting there (deprecated from some prior usage I guess), and it's the only flavour that isn't represented vs. the formats supported by `int_of_string`
nullifidian__ is now known as nullifidian
jao has quit [Remote host closed the connection]
tormen has joined #ocaml
kalio has joined #ocaml
jao has joined #ocaml
jao is now known as Guest77378
tormen_ has quit [Ping timeout: 265 seconds]
Guest77378 has quit [Remote host closed the connection]
jao- has joined #ocaml
jao- is now known as jao
jao has quit [Ping timeout: 265 seconds]
kleisli has quit [Ping timeout: 245 seconds]
kleisli has joined #ocaml
breitenj has quit [Ping timeout: 250 seconds]
gravicappa has joined #ocaml
_whitelogger has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
narimiran has joined #ocaml
kvda has joined #ocaml
_whitelogger has joined #ocaml
mbuf has joined #ocaml
gareppa has joined #ocaml
Serpent7776 has joined #ocaml
barockobamo has joined #ocaml
bartholin has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
Nikkel has quit [Ping timeout: 250 seconds]
narimiran_ has joined #ocaml
narimiran has quit [Read error: Connection reset by peer]
Nikkel has joined #ocaml
crichoux has joined #ocaml
crichoux has quit [Ping timeout: 245 seconds]
ggole has joined #ocaml
malina has joined #ocaml
malina has quit [Remote host closed the connection]
jaar has joined #ocaml
bitwinery has quit [Quit: Leaving]
liberiga has joined #ocaml
nahra` has joined #ocaml
nahra has quit [Ping timeout: 240 seconds]
pino|work has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian has quit [Ping timeout: 265 seconds]
mfp has joined #ocaml
narimiran_ is now known as narimiran
kjak has quit [Ping timeout: 240 seconds]
kjak has joined #ocaml
kjak has quit [Ping timeout: 245 seconds]
gareppa has quit [Quit: Leaving]
h11 has joined #ocaml
jaar has quit [Remote host closed the connection]
jaar has joined #ocaml
jaar_ has joined #ocaml
jaar has quit [Ping timeout: 276 seconds]
webshinra has quit [Remote host closed the connection]
AtumT has joined #ocaml
webshinra has joined #ocaml
crichoux has joined #ocaml
gareppa has joined #ocaml
crichoux has quit [Ping timeout: 245 seconds]
dmiles has quit [Ping timeout: 265 seconds]
slice has quit [Ping timeout: 240 seconds]
slice has joined #ocaml
dmiles has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
jaar_ has quit [Ping timeout: 252 seconds]
gareppa has quit [Quit: Leaving]
tane has joined #ocaml
nahra`` has joined #ocaml
nullifidian_ is now known as nullifidian
jaar has joined #ocaml
nahra` has quit [Ping timeout: 276 seconds]
Haudegen has joined #ocaml
zolk3ri has joined #ocaml
q9929t has joined #ocaml
jao has joined #ocaml
nahra`` has quit [Remote host closed the connection]
nahra`` has joined #ocaml
pierre30 has joined #ocaml
nahra``` has joined #ocaml
nahra`` has quit [Ping timeout: 268 seconds]
ct-pierre has joined #ocaml
<ct-pierre> hello everyone, i am considering using ocaml as a web framework, do anyone has experience with it ? How easy would it be to transition from a rails app ?
pierre30 has quit [Remote host closed the connection]
<Leonidas> ct-pierre: ocaml is not a web framework, it is a programming language so it would be rather hard.
<ct-pierre> sorry i was referring to ocsigen
<Leonidas> well, it is quite different, yes.
<Leonidas> the question is maybe: why do you want to transition? what do you hope to achive then we can hopefully help you better
gareppa has joined #ocaml
<ct-pierre> Leonidas, We have data pipelines that are getting quite complicated, requiring lots of validation on data, as well as human interactions at various stages of the data processing.
<ct-pierre> The OCaml type system could definitely help us ensuring data integrity throughout the different stage of the pipeline, as well as cut development times, which is why I am considering using it for writing the part of our codebase that deals with data processing, as it gets more and more complicated.
<ct-pierre> We are also experimenting longer development time, in part due to our unit-test suite that has to test for a lot of things that could be tested at compile time using a statically typed language.
<ct-pierre> The human interaction is done through a web-app which is part of a rails monolith, which is the same app on which we interact with our customers. It has however a minimal front-end. Using Ocsigen would help me avoid data-validation issues to ensure type consistency between the Ocaml data processing part and the webapp used for data-entry.
<ct-pierre> Which is why i am trying to reach out to people who have experience with ocsigen, and possibly with a transition from a rails/django type of app to ocsigen !
<companion_cube> have you looked at crystal?
<ct-pierre> no not yet, i am still exploring possibilities!
<Armael> companion_cube: ?!
<Armael> shoo shoo
q9929t1 has joined #ocaml
q9929t has quit [Ping timeout: 240 seconds]
q9929t1 is now known as q9929t
<companion_cube> :DDDD
<companion_cube> hey, coming from a rails app…
<zozozo> companion_cube has gone to the dark side, :p
<companion_cube> the right tool for the right job :p
<Leonidas> ct-pierre: well, it is possible and yes, OCaml will give you lot of this but Ocsigen is not really similar to e.g. Django (which is what I have used).
<Leonidas> the opam distributions page mentions every maintainer, except for me :(
nahra```` has joined #ocaml
nahra``` has quit [Ping timeout: 240 seconds]
zolk3ri has quit [Remote host closed the connection]
ct-pierre has quit [Remote host closed the connection]
ct-pierre has joined #ocaml
ct-pierre has left #ocaml [#ocaml]
ct-pierre has joined #ocaml
ct-pierre has quit [Client Quit]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ct-pierre has joined #ocaml
<ct-pierre> Leonidas, I guess my main concern would be about the structure of the database, i see you can use ocsipersist to store data on a database. Is it similar to Django/Rails models ? What happens to the tables on the database when you change the types of the objects you want to store ?
<thizanne> you can use any database library to store data on a database
<thizanne> we don't have much, but we do have bindings to the most common ones
<Leonidas> ct-pierre: ocsipersist looks more like key-value. There aren't any "big" ORMs in OCaml.
wham has joined #ocaml
ct-pierre has quit [Remote host closed the connection]
ct-pierre has joined #ocaml
<ct-pierre> I see, thank you for your help :)
count3rmeasure has joined #ocaml
<Leonidas> personally I think that's for the better, ORMs are terrible
yomimono has joined #ocaml
<ct-pierre> Leonidas, I agree, the only thing i like about them is the ability to keep the database structure up to date with the data structures in your code (which is only really the migration engine rather than the ORM itself). As far as data access is concerned, it's way too easy to get caught in things such as n+1 requests as soon as your requests are not trivial
<Leonidas> that is a good point.
wham has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Serpent7776 has quit [Quit: Leaving]
q9929t1 has joined #ocaml
q9929t has quit [Ping timeout: 265 seconds]
q9929t1 is now known as q9929t
wham has joined #ocaml
barockobamo has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
ct-pierre has quit [Quit: Leaving]
barockobamo has joined #ocaml
barockobamo2 has joined #ocaml
jao has quit [Ping timeout: 240 seconds]
barockobamo has quit [Ping timeout: 276 seconds]
pino|work has quit [Quit: brb]
pino|work has joined #ocaml
vicfred has quit [Quit: Leaving]
count3rmeasure has quit [Quit: Leaving]
ygrek has joined #ocaml
mbuf has quit [Quit: Leaving]
FreeBirdLjj has joined #ocaml
malc_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
<malc_> does [/usr/bin/ld: prims.o:(.data.rel+0x0): undefined reference to `caml_'] ring any bells for anyone? (a person on debian having troubles building 4.09.0)
Haudegen has quit [Quit: Bin weg.]
<tane> malc_, did you modify the source?
<malc_> tane: no
<tane> without any further knowledge, it looks like faulty source code, which may be the result of bad macro substitution
<malc_> tane: the source is a a tarball of ocaml 4.09.0 obtained from official source. also, it's not me who's having the problem but the user of my software (which in turn tries to download and build sufficiently new version of ocams if the users one is not the expected one)
<tane> I see
ggole has quit [Quit: Leaving]
ziyourenxiang has quit [Ping timeout: 276 seconds]
bartholin has joined #ocaml
jao has joined #ocaml
barockobamo2 has quit [Remote host closed the connection]
unyu has quit [Quit: unyu~?]
q9929t has quit [Quit: q9929t]
q9929t has joined #ocaml
Haudegen has joined #ocaml
TheLemonMan has joined #ocaml
FreeBirdLjj has joined #ocaml
wham has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Remote host closed the connection]
unyu has joined #ocaml
wham has joined #ocaml
wham has quit [Remote host closed the connection]
gareppa has quit [Quit: Leaving]
jaar has quit [Ping timeout: 240 seconds]
liberiga has quit [Ping timeout: 260 seconds]
nahra```` has quit [Quit: ERC (IRC client for Emacs 26.2)]
narimiran has quit [Remote host closed the connection]
nahra has joined #ocaml
kleisli has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
TheLemonMan has quit [Read error: Connection reset by peer]
q9929t has quit [Quit: q9929t]
<reynir> yomimono: Yea, I would expect something like that to be in cstruct tbh. In the end I didn't need it after all due to how I had constructed the strings
kakadu has left #ocaml ["Konversation terminated!"]
madroach has quit [Ping timeout: 264 seconds]
gareppa has joined #ocaml
madroach has joined #ocaml
kleisli has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 240 seconds]
TheLemonMan has joined #ocaml
jao has joined #ocaml
malina has joined #ocaml
tane has quit [Remote host closed the connection]
tane has joined #ocaml
<reynir> In vim, is :MerlinDocument bound to a key?
<lobo> reynir: grepping for map.+Document doesn't emmit any results. it is also missing in the documentation. issuing a PR for the latter is still on my todo list :)
<reynir> :)
kakadu has joined #ocaml
yomimono has quit [Quit: Lost terminal]
kleisli has joined #ocaml
kleisli has quit [Ping timeout: 265 seconds]
Hrundi_V_Bakshi has joined #ocaml
kleisli has joined #ocaml
gravicappa has quit [Ping timeout: 240 seconds]
gareppa has quit [Quit: Leaving]
tane has quit [Quit: Leaving]
malina has quit [Remote host closed the connection]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
kjak has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
kleisli has quit [Ping timeout: 245 seconds]
kakadu has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
Hrundi_V_Bakshi has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Haudegen has quit [Ping timeout: 268 seconds]
vicfred has joined #ocaml
ziyourenxiang has joined #ocaml
vicfred has quit [Quit: Leaving]
AtumT has quit [Quit: AtumT]
nahra` has joined #ocaml
nahra has quit [Ping timeout: 265 seconds]