<companion_cube>
jpdeplaix: mind rebasing your ci PR when you can?
<companion_cube>
:)
<orbifx>
companion_cube: burning the midnight oil?
<companion_cube>
no, it's 18h40 here in Texas :)
kamog has quit [Quit: Leaving.]
jimmyrcom has joined #ocaml
FreeBirdLjj has joined #ocaml
jimmyrcom has quit [Max SendQ exceeded]
jimmyrcom has joined #ocaml
nomicflux has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
<orbifx>
ow
FreeBirdLjj has joined #ocaml
<companion_cube>
why "ow"? ^^
<zolk3ri>
wo
<companion_cube>
e is me
FreeBirdLjj has quit [Ping timeout: 260 seconds]
<whoman>
ow
<orbifx>
thought you were in France
<orbifx>
but I remembered that was not that case
<companion_cube>
moved to TX in january :)
<orbifx>
how are you finding it?
<companion_cube>
nice so far!
<orbifx>
nod if it's not ok and you don't want to say :P
<companion_cube>
:D
<companion_cube>
h… help?
<companion_cube>
(no I'm fine, really, as long as I don't think about politics or guns too much)
<orbifx>
yeah
isd has quit [Quit: Leaving.]
Haudegen has quit [Remote host closed the connection]
jimmyrcom has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #ocaml
sh0t has quit [Remote host closed the connection]
zolk3ri has quit [Quit: leaving]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
nomicflux has quit [Quit: nomicflux]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
sapristi has quit [Ping timeout: 252 seconds]
nomicflux has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
nomicflux has quit [Quit: nomicflux]
VermillionAzure has joined #ocaml
nomicflux has joined #ocaml
spew has joined #ocaml
orbifx has quit [Ping timeout: 252 seconds]
jimmyrcom has joined #ocaml
jxv has joined #ocaml
spew has quit [Ping timeout: 252 seconds]
jao has joined #ocaml
FreeBirdLjj has joined #ocaml
mfp has quit [Ping timeout: 252 seconds]
chat__ has quit [Ping timeout: 255 seconds]
chat has joined #ocaml
chat is now known as Guest25308
FreeBirdLjj has quit [Ping timeout: 245 seconds]
shinnya has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
FreeBirdLjj has joined #ocaml
tarptaeya has joined #ocaml
jao has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Ping timeout: 245 seconds]
gtrak has joined #ocaml
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 245 seconds]
gtrak has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
tarptaeya__ has joined #ocaml
tarptaeya_ has quit [Ping timeout: 245 seconds]
tarptaeya_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
tarptaeya__ has quit [Ping timeout: 252 seconds]
tarptaeya has joined #ocaml
tarptaeya_ has quit [Ping timeout: 245 seconds]
tarptaeya_ has joined #ocaml
FreeBirdLjj has joined #ocaml
tarptaeya has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Ping timeout: 245 seconds]
tarptaeya__ has joined #ocaml
tarptaeya__ has quit [Client Quit]
tarptaeya has joined #ocaml
tarptaeya_ has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
nomicflux has quit [Quit: nomicflux]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
nomicflux has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 245 seconds]
tarptaeya__ has joined #ocaml
nomicflux has quit [Quit: nomicflux]
tarptaeya_ has quit [Ping timeout: 245 seconds]
spew has joined #ocaml
tarptaeya_ has joined #ocaml
FreeBirdLjj has joined #ocaml
tarptaeya__ has quit [Ping timeout: 245 seconds]
tarptaeya has joined #ocaml
tarptaeya_ has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
VermillionAzure has quit [Ping timeout: 240 seconds]
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 245 seconds]
tarptaeya__ has joined #ocaml
tarptaeya_ has quit [Ping timeout: 245 seconds]
tarptaeya has joined #ocaml
tarptaeya__ has quit [Quit: Leaving]
tarptaeya_ has joined #ocaml
shinnya has joined #ocaml
<rgr[m]>
companion_cube: TX is a big place. Which city?
tarptaeya has quit [Ping timeout: 245 seconds]
tarptaeya__ has joined #ocaml
tarptaeya_ has quit [Ping timeout: 245 seconds]
<companion_cube>
Austin
<companion_cube>
the best city, obviously :)
<companion_cube>
(and probably the only one with cool people doing OCaml)
jxv has quit [Quit: my string on the can snapped off]
<dmbaturin>
companion_cube: So Houston is the cough syrup capital, and Austin is the functional programming capital of Texas? :)
<companion_cube>
no idea about Houston, really, but Austin is obviously the place cool people are
<companion_cube>
since it's where I am ;-)
<dmbaturin>
In any case, careful with cough syrup.
<dmbaturin>
companion_cube: Are other FP languages also more popular than average there?
<rgr[m]>
Who does ocaml apart from you in Austin?
<companion_cube>
dmbaturin: I have no idea, tbh, I arrived here in January
<companion_cube>
but a rust meetup has just been created ^^
<companion_cube>
rgr[m]: my boss, and afaik we're the only two :D
<companion_cube>
(well there are also ACL2 people, but you know, they are weird lisp fanatics)
<dmbaturin>
I remember Dijkstra wrote an open letter to the Rice University about them replacing all Haskell classes with Java.
<dmbaturin>
Or it wasn't Rice? Something in Texas in any case.
<companion_cube>
maybe ^^
<companion_cube>
there's a big university in Austin, but afaict it's a lisp bastion
<companion_cube>
(well, maybe it's just the people who do logic tho)
<dmbaturin>
Well, as long as it's lisp1, there's hope. ;)
tarptaeya_ has joined #ocaml
<companion_cube>
:D
<dmbaturin>
"Lisp2 isn't my lisp"
<companion_cube>
sadly ACL2 is based on common lisp
<companion_cube>
which I believe is a lisp2 ?
<dmbaturin>
CL is lisp2 for sure.
tarptaeya__ has quit [Ping timeout: 245 seconds]
<companion_cube>
how's life for y'all?
<companion_cube>
there are so many people here I'd like to meet in person one day ^^
<dmbaturin>
Right now I'm writing the first ever Lwt tutorial with the new s/thread/promise/ terminology. :)
<companion_cube>
oh my.
<companion_cube>
doing god's work it seems
pierpa has quit [Quit: Page closed]
<dmbaturin>
Well, someone has to I guess. We should all go on a quest to improve Lwt docs, too.
<dmbaturin>
(Oh, reminds me. I was going to switch my lwt-using project to the 3.0 style packages)
<companion_cube>
you mena lots of small packages?
<companion_cube>
improving docs is a sysiphean task, good luck
<dmbaturin>
"The struggle itself toward the heights is enough to fill a man's heart. One must imagine Sisyphus happy."
<companion_cube>
if you're happy writing docs, then every open source project is going to cover you in gold
<companion_cube>
well, metaphorically
tarptaeya_ has quit [Ping timeout: 248 seconds]
<dmbaturin>
Well, more often than not it's like "why this doesn't work, let's check in the docs". <docs don't explain much> <read the source, bug the maintainers> <edit the docs to not run into the same issue again> ;)
<companion_cube>
the last part is the hard one
tarptaeya has joined #ocaml
<rgr[m]>
I find that keeping docs up to date is the most troublesome part :(
<companion_cube>
also :/
<companion_cube>
even comments…
<companion_cube>
hey rgr[m] didn't you have a cool system for ensuring tests in markdown files ran properly?
<companion_cube>
(like, code snippets in a readme)
<rgr[m]>
Yeah, sure. I just generated with cpp using the snippet sources
<rgr[m]>
Though that solution isn't really complete. You wan't to be able to include toplevel output in your docs
<companion_cube>
oh, ok, I thought it was the other way around
<rgr[m]>
and also partial snippets
<companion_cube>
like pydoc, heh?
<companion_cube>
doctest*
<rgr[m]>
RWO has a nice system for this stuff I think
<companion_cube>
I'd love a solution that'd be the opposite way, like "extract and compile every OCaml code snippet from the readme"
tarptaeya has quit [Ping timeout: 256 seconds]
spew has quit [Read error: Connection reset by peer]
gentauro has quit [Ping timeout: 252 seconds]
gentauro has joined #ocaml
<rks`>
companion_cube: I believe rwo is built somewhat like this
<rks`>
ask def`
<dinosaure>
orbifx[m]: sorry different timezone, Emile.t list is the top value in From:/To:/Cc:/etc. it could be a list of separated e-mails (`Mailbox) or a list of groups (`Group) which contain list of e-mails ... So Emile.t does not mean "an e-mail" but a set of e-mails, Emaile.mailbox is an e-mail. So, Emile.of_string returns an e-mail as a Emile.mailbox and Emile.Set.of_string returns a list of a set of e-mails.
sapristi has joined #ocaml
<dinosaure>
and for a deeper explanation, Emile.List.of_string uses an implementation of the ABNF address_list from the RFC 5322, I can provide val group
<dinosaure>
val group_or_mailbox_of_string: string -> t but, for me it's a non-sense
FreeBirdLjj has joined #ocaml
VermillionAzure has joined #ocaml
orbifx has joined #ocaml
<orbifx>
dinosaure: there is only Emile.List.of_string in emile.mli on the master branch.
<dinosaure>
aaah I forget to put in the *.mli file ..
<dinosaure>
sorry
<dinosaure>
I will update soon
<orbifx>
K, I will look at .ml but I won't be able to use it till added I guess.
<orbifx>
dinosaure: would you accept a pull request for this?
<orbifx>
Also, is there scope for extensions that are not RFC standard? Even outwith Emile?
<jpdeplaix>
companion_cube: no need to rebase, I just have to relaunch travis
VermillionAzure has quit [Ping timeout: 240 seconds]
<dinosaure>
orbifx: yeah, I accept PR :) and it's possible to have extension on domain
<dinosaure>
(the Ext constructor specifically)
<dinosaure>
so you need to resolve by yourself, then, of course, Emile does not resolve domain
<dinosaure>
so a@12.34.56.78 could be equal to a@my-domain.com for example and Emile does not check that
Muzer has joined #ocaml
<dinosaure>
about [Ext] constructor, your e-mail address looks like a@[my-tag:my-value]
Haudegen has joined #ocaml
caw______ has quit [*.net *.split]
l1x has quit [*.net *.split]
Robdor has quit [*.net *.split]
bigs has quit [*.net *.split]
ia0 has quit [*.net *.split]
remix2000 has quit [*.net *.split]
rbocquet has quit [*.net *.split]
dejanr has quit [*.net *.split]
dogui_ has quit [*.net *.split]
Madars has quit [*.net *.split]
mjvoge02 has quit [*.net *.split]
cbarrett has quit [*.net *.split]
rgrinberg has quit [*.net *.split]
monad_cat has quit [*.net *.split]
rfv has quit [*.net *.split]
stux|RC-- has quit [*.net *.split]
zozozo has quit [*.net *.split]
CcxWrk has quit [*.net *.split]
VermillionAzure has joined #ocaml
remix2000 has joined #ocaml
l1x has joined #ocaml
bigs has joined #ocaml
Robdor has joined #ocaml
Madars has joined #ocaml
dogui_ has joined #ocaml
dejanr has joined #ocaml
ia0 has joined #ocaml
rbocquet has joined #ocaml
cbarrett has joined #ocaml
mjvoge02 has joined #ocaml
caw______ has joined #ocaml
zozozo has joined #ocaml
CcxWrk has joined #ocaml
stux|RC-- has joined #ocaml
rgrinberg has joined #ocaml
rfv has joined #ocaml
monad_cat has joined #ocaml
seliopou has quit [Ping timeout: 240 seconds]
seliopou has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
infinity0 has quit [Ping timeout: 240 seconds]
infinity0 has joined #ocaml
infinity0 has quit [Changing host]
infinity0 has joined #ocaml
FreeBirdLjj has joined #ocaml
BitPuffin has joined #ocaml
<jpdeplaix>
companion_cube: I pushed a fix on master. It should be ok now I think
<orbifx>
dinosaure: the extension I have in mind is adding support for more than one addresses and types for a contact. So I'd like to change the <> to be a URL: Some name <mailto:some@example.com> <https://example.com>[, ...]
cbot_ has quit [Ping timeout: 245 seconds]
stux|RC-- has quit [Max SendQ exceeded]
stux|RC-only has joined #ocaml
<dinosaure>
Emile.*.of_string_raw could be a solution, it try to parse a sub-part of your string and return how many bytes it consumed
malc_ has joined #ocaml
jnavila has joined #ocaml
remix2000 has quit [Ping timeout: 256 seconds]
remix2000 has joined #ocaml
kakadu has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
remix2000 has joined #ocaml
remix2000 has quit [Changing host]
VermillionAzure has quit [Remote host closed the connection]
TheLemonMan has joined #ocaml
<TheLemonMan>
is it normal for dose3 to take ~8Gb of ram to compile?
<orbifx>
dinosaure: thanks, will take a look
<dinosaure>
orbifx: I think, I just found a good interface finally :)
<dinosaure>
I just push :)
webshinra has quit [Read error: Connection reset by peer]
govg has quit [Ping timeout: 240 seconds]
webshinra has joined #ocaml
govg has joined #ocaml
<orbifx>
dinosaure: good interface?
maker has quit [Quit: = ""]
govg is now known as Guest97828
<orbifx>
I'm looking at the diffs now
Guest97828 has quit [Quit: leaving]
govg_ has joined #ocaml
jnavila has quit [Read error: No route to host]
jnavila has joined #ocaml
<dinosaure>
yeah, I change the bahaviour of of_string_raw to include a CRLF delimiter of your sub-part first and add an address type
<orbifx>
Meant to do that with the string patch, but you are on it:)
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 256 seconds]
jnavila has quit [Ping timeout: 260 seconds]
<orbifx>
dinosaure: could you explain or demonstrate how I can extend the parsing of the `<>` part?
jao has quit [Ping timeout: 260 seconds]
<dinosaure>
I fix again something, so you need to pull, but for example Emile.of_string_raw "<mmm:a@b.com> yolo" 5 7
<dinosaure>
with this, the parser will parse only the "a@b.com" part
<dinosaure>
en return how many bytes it consumed (in this case, 7 bytes - like what you expected)
<remix2000>
Which 2D graphics + input handling library should I use? Maybe "ocsfml" or "tsdl"?
<dinosaure>
orbifx: and only for email address, Emile.address_of_string_raw is better
<orbifx>
remix2000: I have used tsdl, found it good.
<orbifx>
dinosaure: and if I want to extend it and parse a protocol first? e.g. <mailto://...> or <https://..>
<orbifx>
Will I have to do that with a custom parser upon the address? Will Emile allow such strings?
<dinosaure>
your parser should extract the part which contains an email address and let Emile to process it
<dinosaure>
with angstrom, you can consider let p = between '<' '>' (string "mailto://" *> string >>= fun my_email -> Emile.address_of_string my_email
<dinosaure>
>>| instead >>=
<dinosaure>
emile.ml#1420 is a good example of how to use a of_string_raw function inside a parser
webshinra has quit [Remote host closed the connection]
webshinra has joined #ocaml
<orbifx>
dinosaure: not familiar with angstrom, but will see what I can make on this.
zolk3ri has joined #ocaml
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
jnavila has joined #ocaml
bacam has quit [Quit: reboot]
FreeBirdLjj has quit [Remote host closed the connection]
<rgr[m]>
dinosaure: are you in Vietnam?
FreeBirdLjj has joined #ocaml
gentauro has quit [Ping timeout: 245 seconds]
gentauro has joined #ocaml
bacam has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
jnavila has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #ocaml
pluplog has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Client Quit]
FreeBirdLjj has joined #ocaml
govg_ has quit [Quit: leaving]
FreeBirdLjj has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #ocaml
argent_smith has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
shinnya has quit [Ping timeout: 256 seconds]
tarptaeya has joined #ocaml
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 245 seconds]
tarptaeya_ has quit [Ping timeout: 245 seconds]
sapristi has quit [Ping timeout: 240 seconds]
gtrak has joined #ocaml
govg has joined #ocaml
nopf has joined #ocaml
nomicflux has joined #ocaml
<dinosaure>
rgr[m]: I'm in Cambodia, but come back to France in 3 days :D
jao has joined #ocaml
nomicflux has quit [Quit: nomicflux]
baboum has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
zpe has joined #ocaml
sapristi has joined #ocaml
gtrak has quit [Ping timeout: 240 seconds]
tarptaeya has joined #ocaml
jnavila has joined #ocaml
<rgr[m]>
dinosaure: I'm just recovering from a food poisoning, how do you manage to stay out here for so long.
<dinosaure>
oh I see, I know some story in Cambodia about water with arsenic (and, one month before, a friend drunk it, hopefully, we go to an "hospital" to clean stomac) but I eat only with friends Cambodia peoples or foreigners restaurant
FreeBirdLjj has joined #ocaml
jao has quit [Ping timeout: 248 seconds]
govg has quit [Quit: leaving]
jnavila has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
theglass has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
spew has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
theglass has joined #ocaml
theglass has quit [Changing host]
theglass has joined #ocaml
orbifx1 has joined #ocaml
jnavila has joined #ocaml
<companion_cube>
TheLemonMan: honestly I consider it a bug (either of flambda or dose)
<companion_cube>
if they had a github repo I'd definitely report it -_-