ohama has quit [Remote host closed the connection]
chou has joined #ocaml
pierpal has joined #ocaml
ohama has joined #ocaml
baka has quit [Ping timeout: 268 seconds]
gravicappa has joined #ocaml
lalitmee has joined #ocaml
liberiga has quit [Ping timeout: 260 seconds]
bitwinery has joined #ocaml
malina has quit [Ping timeout: 245 seconds]
narimiran has joined #ocaml
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ocaml
mbuf has joined #ocaml
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ocaml
lalitmee has quit [Max SendQ exceeded]
lalitmee has joined #ocaml
lalitmee has quit [Max SendQ exceeded]
jnavila has joined #ocaml
webshinra has quit [Remote host closed the connection]
webshinra has joined #ocaml
<Nikkel>
What's the most correct way to load configurations into an OCaml/Eliom program? in .NET Core, I would just use app.settings and env vars for hostnames and api keys, but whats best practice in OCaml?
gremly has joined #ocaml
Haudegen has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
jnavila has joined #ocaml
mbuf has quit [Quit: Leaving]
bitwinery has quit [Quit: Leaving]
sagax has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
nahra has quit [Ping timeout: 245 seconds]
amiloradovsky has joined #ocaml
ollehar has joined #ocaml
amiloradovsky has quit [Ping timeout: 258 seconds]
Nikkel has quit [Ping timeout: 264 seconds]
n0v4 has joined #ocaml
jnavila has joined #ocaml
ggole has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
Nikkel has joined #ocaml
malina has joined #ocaml
jnavila has quit [Ping timeout: 264 seconds]
malina has quit [Remote host closed the connection]
mfp has joined #ocaml
bartholin has quit [Remote host closed the connection]
<Leonidas>
rwmjones|hols: heh, tried to push your repo to GH and it fails :|
<Leonidas>
Nikkel: we (at work) often use environment variables
tristero has joined #ocaml
<pino|work>
Leonidas: only rich can push to annexia.org (it's his website, after all...)
spew has joined #ocaml
q9929t has joined #ocaml
<Leonidas>
pino|work: I know, I wanted to clone his repo to GitHub so I can work on my own fork but pushing fails because GitHub rejects one of the commits
<Leonidas>
it is one of these days where nothing works -.-
<Nikkel>
Leonidas: Thank you :) I'll go with that solution
<ollehar>
I want to create a new web browser that renders all content in the same way. All articles look the same, all menus, all lists, etc.
<Nikkel>
I'm having serious issues with sending POST-requests from my Ocsigen/Eliom application. I thought I could use Cohttp, but that seems wrong
<Nikkel>
it needs Lwt_main.run to unpack the Lwt promise
<Leonidas>
yes, cohttp is nonblocking, is Eliom blocking?
<Leonidas>
i'd be surprised since eliom and lwt are part of the same organisation even
<Armael>
Eliom already provides you with a webserver, it seems strange to use cohttp on top of it
<Nikkel>
Armael: I know, but I haven't found anything relevant other than Ocsigen_http_client
<Nikkel>
I need to be able to click a button, send an HTTP POST request, and update the model accordingly
<Nikkel>
And by what I can see, Ocsigen_http_client doesn't return anything else than a string Ocsigen_stream.t
<Kitambi>
I have a similar problem...someone needs to click a button, then I need to make a series of google api calls to create a spreadsheet
<Kitambi>
that project is on hold for now :)
<Nikkel>
😬
<Nikkel>
that's not good news
laudecay has joined #ocaml
<laudecay>
is the only way to store data with known size at compile time tuples or records?
<laudecay>
like there's no known-size arrays or bytes?
<laudecay>
could i get that by calling out to C?
<Leonidas>
no, ocaml is not dependently typed, C is not either
<laudecay>
i mean a c struct certainly has known compile-time size
<laudecay>
but
<laudecay>
ok
<laudecay>
also if i'm doing bitmanip stuff on bytes.t's, what's the best way to do this? like i need to 'or' a word with a specific word in my bytes.t. is there a good/maintained lib you'd recommend?
<laudecay>
definitely need the mutability here btw
bartholin has joined #ocaml
KeyJoo has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
ollehar has quit [Ping timeout: 272 seconds]
jacobian has left #ocaml [#ocaml]
pino|work has quit [Quit: brb]
pino|work has joined #ocaml
sz0 has joined #ocaml
ziyourenxiang has quit [Ping timeout: 246 seconds]
Serpent7776 has joined #ocaml
jnavila has joined #ocaml
n0v4 has quit [Read error: Connection reset by peer]
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
atweiden-air has joined #ocaml
ravenous_ has joined #ocaml
tane has joined #ocaml
Haudegen has joined #ocaml
laudecay has quit [Ping timeout: 246 seconds]
laudecay has joined #ocaml
laudecay has quit [Changing host]
laudecay has joined #ocaml
bitwinery has joined #ocaml
andreas303 has quit [Read error: Connection reset by peer]
cantstanya has quit [Read error: Connection reset by peer]
zolk3ri has quit [Remote host closed the connection]
nicoo has quit [Read error: Connection reset by peer]
klntsky has quit [Write error: Connection reset by peer]
zolk3ri has joined #ocaml
klntsky has joined #ocaml
andreas303 has joined #ocaml
cantstanya has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
nicoo has joined #ocaml
jao has quit [Ping timeout: 245 seconds]
narimiran_ has joined #ocaml
narimiran has quit [Ping timeout: 245 seconds]
atweiden-air has left #ocaml [#ocaml]
bitwinery has quit [Quit: Leaving]
sz0 has quit [Quit: Connection closed for inactivity]
sagax has quit [Ping timeout: 272 seconds]
kakadu has joined #ocaml
sagax has joined #ocaml
Hrundi_V_Bakshi has joined #ocaml
dhil has joined #ocaml
zapashcanon has quit [Quit: Cheers !]
zapashcanon has joined #ocaml
zapashcanon has quit [Changing host]
zapashcanon has joined #ocaml
ggole has quit [Quit: Leaving]
tane has quit [Quit: Leaving]
malina has joined #ocaml
andrewlitteken has joined #ocaml
gravicappa has quit [Ping timeout: 244 seconds]
laudecay has quit [Ping timeout: 258 seconds]
jao has joined #ocaml
narimiran_ has quit [Ping timeout: 246 seconds]
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Birdface has joined #ocaml
Birdfacee has joined #ocaml
Birdface has quit [Ping timeout: 250 seconds]
liberiga has joined #ocaml
KeyJoo has quit [Quit: KeyJoo]
sonologico has joined #ocaml
laudecay has joined #ocaml
laudecay is now known as Guest65320
bitwinery has joined #ocaml
Guest65320 has quit [Ping timeout: 245 seconds]
_jerry_ has joined #ocaml
_jerry_ has quit [Remote host closed the connection]
jnavila has quit [Remote host closed the connection]
Birdfacee has quit [Remote host closed the connection]
tester has joined #ocaml
tester is now known as Guest29536
Guest29536 has left #ocaml [#ocaml]
laudecay has joined #ocaml
Birdface has joined #ocaml
presiden has joined #ocaml
<presiden>
so, I'm using utop
kakadu has quit [Quit: Konversation terminated!]
<presiden>
is there a way to find the type of some operator in utop? e.g something like :t in ghci
<presiden>
type signature*
<Kitambi>
#show (+);;
<Kitambi>
for example
<presiden>
Kitambi, ah, that's it. thanks
<presiden>
hm... it shows instantly for #show (+);;
<presiden>
but hang on #show (*);;
<presiden>
did it parse * character differently
<Kitambi>
probably put spaces between the ()
<presiden>
ah
<presiden>
why is that?
<Kitambi>
no idea :)
Serpent7776 has quit [Quit: leaving]
andrewlitteken has quit []
iovec has joined #ocaml
<zapashcanon>
presiden: I guess it's because (* is used to comment
<Kitambi>
that makes a lot of sense :)
<presiden>
ah
<presiden>
:D
Birdface has quit [Ping timeout: 264 seconds]
laudecay has quit [Ping timeout: 272 seconds]
bartholin has quit [Remote host closed the connection]