al-damiri has quit [Quit: Connection closed for inactivity]
lobo has quit [Ping timeout: 245 seconds]
nomicflux has quit [Quit: nomicflux]
chris2 has joined #ocaml
noddy has quit [Ping timeout: 260 seconds]
wu_ng has joined #ocaml
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lobo has joined #ocaml
noddy has joined #ocaml
silver has quit [Read error: Connection reset by peer]
copy` has quit [Quit: Connection closed for inactivity]
jlongster has joined #ocaml
wu_ng has quit [Read error: Connection reset by peer]
wu_ng has joined #ocaml
noddy has quit [Ping timeout: 244 seconds]
juliench1rch has joined #ocaml
<juliench1rch>
Anyone here work for Jane Street?
<average>
juliench1rch: no, but just ask
TarVanim_ has joined #ocaml
TarVanimelde has quit [Ping timeout: 265 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
juliench1rch has quit [Ping timeout: 246 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TarVanim_ has quit [Quit: TarVanim_]
jlongster has joined #ocaml
mfp has quit [Ping timeout: 260 seconds]
TarVanimelde has joined #ocaml
jlongster has quit [Client Quit]
noddy has joined #ocaml
jonasen has joined #ocaml
wu_ng has quit [Read error: Connection reset by peer]
juliench1rch has joined #ocaml
wu_ng has joined #ocaml
jlongster has joined #ocaml
juliench1rch has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Ping timeout: 244 seconds]
cheater has quit [Ping timeout: 245 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
average has quit [Ping timeout: 260 seconds]
average has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
nomicflux has joined #ocaml
auser_ has joined #ocaml
<auser_>
does anyone know if it is possible to rollback part of lexeme matched
<auser_>
using sedlex
auser_ has quit [Ping timeout: 260 seconds]
jlongster has joined #ocaml
larhat has quit [Quit: Leaving.]
noddy has quit [Ping timeout: 260 seconds]
erider has joined #ocaml
erider has quit [Remote host closed the connection]
TarVanimelde has quit [Quit: Leaving]
ygrek has quit [Ping timeout: 248 seconds]
Mich has joined #ocaml
Mich has left #ocaml [#ocaml]
_whitelogger has joined #ocaml
_y has quit [Ping timeout: 245 seconds]
tobiasBora has quit [Ping timeout: 250 seconds]
nomicflux has quit [Quit: nomicflux]
tobiasBora has joined #ocaml
MercurialAlchemi has joined #ocaml
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_y has joined #ocaml
jao has quit [Ping timeout: 268 seconds]
AlexDenisov has joined #ocaml
AlexDeni_ has joined #ocaml
AlexDenisov has quit [Read error: Connection reset by peer]
kakadu has joined #ocaml
julienchurch has joined #ocaml
jonasen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ygrek has joined #ocaml
_y has quit [Ping timeout: 258 seconds]
tobiasBora has quit [Ping timeout: 250 seconds]
TarVanimelde has joined #ocaml
TarVanimelde has quit [Read error: Connection reset by peer]
AlexDenisov has joined #ocaml
AlexDeni_ has quit [Ping timeout: 246 seconds]
<julienchurch>
average: Alright, though what I was going to ask was specific to Jane Street employees. Just wondering if anyone was willing to share some details with me about the interview process (e.g., what kind of qualities are looked on most positively, what kind of questions might I expect).
<julienchurch>
I haven't applied yet, but I'm about to. My experience with OCaml is nil, but I have a bit of experience in Haskell. I'm trying to brush up fast.
cheater has joined #ocaml
TarVanimelde has joined #ocaml
<julienchurch>
I'm sure there will be FP questions, but Will there be industry-specific questions? Compsci fundamentals questions (like algs or data structures)?
<julienchurch>
I've also got a teensy amount of MOOC-based machine learning experience. I have a feeling that would be a nice-to-have, though, and it's a very interesting subject to me.
fre has joined #ocaml
cheater has quit [Ping timeout: 250 seconds]
jonasen has joined #ocaml
<average>
julienchurch: you can find those on the web imo
<average>
julienchurch: just read blogs and whatever else you can find
<average>
like planet ocaml
<average>
in terms of algo.. ofc.. what caters/is_relevant to their industry or particular domain
<average>
you should read basically.. if you don't read you can't know
<julienchurch>
I thought I'd ask because conversations tend to be more rewarding than blog posts. I'm also not (yet) part of the OCaml community, so I'm not even sure where to look for a lot of the basic information.
TarVanimelde has quit [Quit: TarVanimelde]
<average>
just told you, planet ocaml
cheater has joined #ocaml
<julienchurch>
You did, which is exactly why I asked.
malc_ has joined #ocaml
<average>
also find profiles of people working there and ask yourself the magic question "am i like this person?"
<average>
when the answer turns from "no" to "maybe.. mm yes"
<average>
then youre probably ready to interview
<average>
i dunno this is just generic advice
<average>
i dunno anything about jane street or whatever
julienchurch has quit [Ping timeout: 245 seconds]
juliench1rch has joined #ocaml
pierpa has quit [Ping timeout: 250 seconds]
Mercuria1Alchemi has joined #ocaml
struk|desk has quit [Ping timeout: 246 seconds]
fre has quit [Ping timeout: 265 seconds]
struk|desk has joined #ocaml
TarVanimelde has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeffmo has joined #ocaml
jeffmo has quit [Client Quit]
alfredo has joined #ocaml
_y has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
tobiasBora has joined #ocaml
kakadu has quit [Remote host closed the connection]
ygrek has joined #ocaml
freusque has quit [Quit: WeeChat 1.5]
freusque has joined #ocaml
larhat has joined #ocaml
juliench1rch has quit [Ping timeout: 240 seconds]
AltGr has joined #ocaml
julienchurch has joined #ocaml
AlexDenisov has joined #ocaml
AlexRussia has quit [Ping timeout: 250 seconds]
zpe has joined #ocaml
<companion_cube>
Leonidas: for_all/exists in some modules
<Leonidas>
companion_cube: I wanted it on List, but there is no. Ended up writing my own helpers which work just fine
jnavila has joined #ocaml
<Leonidas>
companion_cube: I suppose to_seq causes copying of the whole `foo`, correct?
<larhat>
Leonidas: there are List.for_all / List.exists in stdlib
<Leonidas>
oops. okay.
<Leonidas>
embarassing
Simn has joined #ocaml
<Leonidas>
larhat: thanks
<Leonidas>
(that said, that's something I would definitely not expect to be in the stdlib *g*)
<companion_cube>
Leonidas: it's already in the standard list
<companion_cube>
heh
<companion_cube>
I added it in some modules where it was lacking
<Leonidas>
companion_cube: did you check whether List.for_all is tail recursive?
<Leonidas>
(since Containers supplies a safe map)
julienchurch has quit [Ping timeout: 245 seconds]
<companion_cube>
I think it is
<companion_cube>
you don't have to build a new list, so it's not hard
<Leonidas>
ok. Well, learned something new and can delete some more code now.
juliench1rch has joined #ocaml
rand__ has joined #ocaml
<companion_cube>
^^
chris2 has quit [Ping timeout: 240 seconds]
<Leonidas>
I wish ocaml had something like clojure's seq protocol
AlexRussia has joined #ocaml
<flux>
which reminds me, I wonder how modular implicits is doing nowadays..
<def`>
:-]
ryu0 has left #ocaml ["WeeChat 1.4"]
juliench1rch has quit [Ping timeout: 250 seconds]
<flux>
it seems some mysterious let-def person has made some commits related to that just last month!
<def`>
There are discussions for resuming the work, it is just a matter of waiting for it to pop on the top of the todolist.
julienchurch has joined #ocaml
<flux>
are there still open research issues??
<flux>
oops, one ? was sufficient ;-)
Ch0c0late has joined #ocaml
<def`>
yes, but not blocking for now
<def`>
Jacques Garrigues made big progress on the resolution of implicits themselves. This seems fine.
<flux>
I don't even remember what I wanted for ocaml after modular implicits and ocaml-multicore, ocaml must have reached the perfection then.. :-)
<def`>
But there are some mystery related to interaction between implicits and the rest of the language
esad has joined #ocaml
<flux>
I bet the object system gets the second seat in it as well, if at all possible ;-)
<flux>
or maybe back row seat..
<def`>
ah, the object system... :-)
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
<flux>
wish someone(TM) would fix the case of recursing from classes to regular types and vice versa.. so if you're bored.. ;)
zpe has quit [Ping timeout: 265 seconds]
Algebr has quit [Ping timeout: 250 seconds]
<def`>
module rec :o
esad has quit [Ping timeout: 246 seconds]
rwmjones has quit [Ping timeout: 260 seconds]
esad has joined #ocaml
rwmjones has joined #ocaml
<reynir>
"back row seat" :P
jnavila has quit [Ping timeout: 260 seconds]
<companion_cube>
excellent pun :p
Ch0c0late has quit [Ping timeout: 244 seconds]
jwatzman|work has joined #ocaml
fraggle_ has joined #ocaml
drvink has joined #ocaml
theolaurent has quit [Ping timeout: 250 seconds]
theolaurent has joined #ocaml
freusque has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
malc_` has joined #ocaml
malc_ has quit [Ping timeout: 260 seconds]
kakadu has joined #ocaml
freusque has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_andre has joined #ocaml
Algebr has joined #ocaml
AlexDenisov has joined #ocaml
julienchurch has quit [Ping timeout: 248 seconds]
<flux>
def`, ok, you can also implement module-rec-without-explicit-type-signature ;-)
dhil has joined #ocaml
wu_ng has quit [Ping timeout: 258 seconds]
AlexRussia has quit [Ping timeout: 265 seconds]
malina has joined #ocaml
juliench1rch has joined #ocaml
malc_` is now known as malc_
<cheater>
are OCaml strings unicode aware? What is the best way to go and find out if a certain string is a prefix of a certain other string, with either being possibly utf-8?
Algebr` has joined #ocaml
<flux>
no, ocaml strings are to be considered as arrays of unsigned 8-bit integers
<flux>
depending on how serious your unicode needs are, there are some options..
<flux>
I understand camomile is the old library that does everything, and the new hotness are the libraries uucd uucp uunf uuseg
<flux>
there are other alternatievs, of course, as this is ocaml ;-)
<cheater>
it needs to be very serious
<flux>
well I might go with camomile then. it's old and I think the developers are quite serious about it.
Algebr has quit [Ping timeout: 265 seconds]
<flux>
it used to have this issue that programs compiled with camomile needed to have a access to a file describing unicode at runtime, I'm not sure if that has been resolved. just a warning, because if you don't have the file, your program starts (or used to start) with message "Not_found: plaplap"
<flux>
you could hang around for a while and wait for better advice ;)
<cheater>
hmm ok thank you
<cheater>
:)
<Drup>
cheater: do you need the complete unicode database ?
<companion_cube>
I'd go with Bunzli libs on this one, he can be trusted to do the right thing™
<cheater>
Drup: no, i just don't want it to match on something it shouldn't match on
<Drup>
companion_cube: when you agree with him on what the right thing is
<Drup>
cheater: then bunzli's uu* libs
<cheater>
ok
<companion_cube>
Drup: of course
<companion_cube>
on unicode it's not too hard
<companion_cube>
to agree
malc_ has quit [Ping timeout: 260 seconds]
<cheater>
ok, i kind of suck with unicode, so if i have a pure ascii string s, and a unicode string t, and i do substr on t with the length of s and compare, is that good enough to find out if s is a prefix of t?
jonasen has quit [Ping timeout: 260 seconds]
<Drup>
cheater: no, use uu* stuff
<cheater>
ok. those strings are going to be http headers. i guess those can be utf-8 (i don't really remember)
<def`>
flux: out of curiosity, what do you use the object system for ?
mfp has joined #ocaml
<flux>
not for much :). but at the times I've used a bit more seriously it I have ended up with these problems..
<flux>
congratulations to anyone who is able to compile that nowadays :-)
<flux>
(bitrot is real!)
johnelse is now known as johnel_away
johnel_away is now known as johnelse
<cheater>
Drup: i'm not trying to create a package - i just want to know what dependencies a certain installed package has
silver has joined #ocaml
<flux>
I really should port that to OpenGL some day. or reimplement it in Unity :/
<Drup>
ah, opam list --required-by foo"
<cheater>
ohh
<Drup>
(you can add --rec for recursive too)
<Drup>
you can just do "opam show foo" to see everything, of course
<cheater>
can i find a list of dependencies recursively?
<cheater>
or do i have to do it by hand?
<Drup>
See previous message :)
<cheater>
oh there we go :)
<def`>
flux: I don't have time for that, but that would be cool to update :P. Maybe one day (no unity ahhh)
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chris2_ has joined #ocaml
<flux>
I didn't remember I had done all that cool stuff
<flux>
like loading graphics from a .tar-file :)
juliench1rch has quit [Ping timeout: 268 seconds]
chris2_ is now known as chris2
zpe has quit [Remote host closed the connection]
esad has joined #ocaml
zpe has joined #ocaml
esad has quit [Client Quit]
FreeBirdLjj has joined #ocaml
malina has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 258 seconds]
TarVanimelde has quit [Quit: TarVanimelde]
FreeBirdLjj has quit [Ping timeout: 244 seconds]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonasen has joined #ocaml
<jstolarek>
I need to run an external command, read first line of it's stdout and discard any errors silently. What would be the best way of doing this with the standard library?
<jstolarek>
for example, I am creating a channle using Unix.open_process_in
<jstolarek>
but I should probably also close that channel
<jstolarek>
irrespective of whether the command execution succeeds or not
<jstolarek>
is there a way of providing some sort of finalization handler?
<jstolarek>
also, how do I silence stderr of the command that I am executing?
<Algebr`>
redirect stderr to /dev/null?
<Algebr`>
or close the fd
<jstolarek>
but how?
dhil has quit [Ping timeout: 244 seconds]
maattdd has quit [Ping timeout: 268 seconds]
julienchurch has joined #ocaml
julienchurch has quit [Ping timeout: 260 seconds]
<Algebr`>
check out the unix systems programming in OCaml book
<Drup>
(Bonus point: opam doesn't start any removing before being done with compilation of ocaml, so it can fails without butchering your switch)
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
<companion_cube>
isn't it weird that `ocaml-variants is now pinned to […]4.03.0`?
FreeBirdLjj has joined #ocaml
<Drup>
yeah, it's a small bug
noddy has joined #ocaml
julienchurch has joined #ocaml
jackweirdy has joined #ocaml
julienchurch has quit [Ping timeout: 260 seconds]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
shinnya has joined #ocaml
AlexRussia has joined #ocaml
rgrinberg has joined #ocaml
dhil has joined #ocaml
jonasen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Remote host closed the connection]
TarVanimelde has quit [Quit: TarVanimelde]
FreeBirdLjj has joined #ocaml
TarVanimelde has joined #ocaml
<aantron>
jstolarek: companion_cube: the lwt docs have a LOT of oversights. getting this fixed is very much on the todo list for the near term. if you have problems/concerns, keep mentioning them. it helps to prioritize work getting the library back into shape :)
jao has joined #ocaml
<companion_cube>
heh, it was not for me, but right
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
<jstolarek>
how do I convert string Lwt.t to string?
zpe has quit [Ping timeout: 260 seconds]
juliench1rch has joined #ocaml
<companion_cube>
you can't! :p
<companion_cube>
(well, there is only Lwt_main.run, but it's to be used only once and at the beginning of the program)
<companion_cube>
otherwise, use >>= to chain computations
<jstolarek>
ugh
jlongster has joined #ocaml
jlongster has quit [Client Quit]
alfredo has quit [Ping timeout: 250 seconds]
<companion_cube>
well, do you understand how Lwt works?
<aantron>
jstolarek: a "string Lwt.t" is a string that you might not have yet. Lwt.t is a promise
tvynr has quit [Ping timeout: 248 seconds]
Algebr` has quit [Ping timeout: 258 seconds]
<aantron>
so you might have to wait for the operation behind the promise to complete, this is done with ">>=" or, if using package lwt.ppx, with let%lwt s = the_string_lwt_t_type_expression in ...
juliench1rch has quit [Ping timeout: 246 seconds]
jlongster has joined #ocaml
yomimono has joined #ocaml
jackweirdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noddy has quit [Ping timeout: 246 seconds]
yomimono has quit [Ping timeout: 265 seconds]
sh0t has joined #ocaml
cheater has joined #ocaml
jackweirdy has joined #ocaml
yomimono has joined #ocaml
jackweirdy has quit [Client Quit]
<cheater>
hey guys
<cheater>
does ocaml have a good debugger?
<tobast>
cheater: what about gdb?
<cheater>
something like the python debugger perhaps? i'd like to break at a certain line and look at values
<tobast>
You can definitely do that with gdb
<tobast>
And it will work with any other compiled language as well :)
<cheater>
well.. i'd like to see what sort of methods a certain object has.. not sure if i can do that with gdb?
<tobast>
I’m not sure how much debugging symbols ocamlopt does add, but I bet you can see a lot.
<tobast>
(you just have to compile with -g)
<cheater>
tbh i just want to find out how to get the origin header in Cohttp
<tobast>
Oh. If you just want to list methods, wouldn’t the interactive shell be enough?
<cheater>
it would but somehow i can't open the Cohttp_lwt module?
<cheater>
when i say "open Cohttp_lwt;;" it says unbound module
<cheater>
same if i do Cohttp
<cheater>
oh i needed to #require the package first
<aantron>
cheater: you need to use the package cohttp.lwt
Mercuria1Alchemi has quit [Ping timeout: 246 seconds]
cheater has quit [Read error: Connection reset by peer]
cheater has joined #ocaml
juliench1rch has joined #ocaml
noddy has joined #ocaml
juliench1rch has quit [Ping timeout: 240 seconds]
grinbergr has joined #ocaml
grinbergr has quit [Remote host closed the connection]
rgrinberg has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
julienchurch has joined #ocaml
jackweirdy has joined #ocaml
jnavila has joined #ocaml
julienchurch has quit [Ping timeout: 260 seconds]
kakadu has quit [Quit: Konversation terminated!]
ryanartecona has joined #ocaml
freusque has quit [Quit: WeeChat 1.5]
<rgrinberg>
Is everyone able to install camlspotter's packages with omake 0.10.1?
<rgrinberg>
E.g. ppxx
jnavila has quit [Ping timeout: 260 seconds]
octachron has joined #ocaml
larhat has quit [Quit: Leaving.]
larhat has joined #ocaml
larhat has quit [Ping timeout: 250 seconds]
fre has joined #ocaml
jackweirdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noddy has quit [Ping timeout: 246 seconds]
smondet has joined #ocaml
<companion_cube>
I could not build omake 0.10.1, I think, so I pinned to prev version
<rgrinberg>
companion_cube: do you have building docs enabled by chance or something?
FreeBirdLjj has quit [Remote host closed the connection]
<rgrinberg>
I saw your report and failed to reproduce it. And I didn't understand gerd's comment either :(. Do you mind trying again after doing an opam update though?
<companion_cube>
I didn't tweak anything in opam
<octachron>
rgrinberg: I had the same build failure that companion cube
<companion_cube>
oh also: last release of opium slightly broke a program of mine, by removing >>= from 'utils' or something like that
jackweirdy has joined #ocaml
<rgrinberg>
companion_cube: yeah sorry about that, that was the right thing to do though I think. That >>= import snuck in there by accident from the Async => Lwt port
slash^ has joined #ocaml
fre has quit [Ping timeout: 260 seconds]
jackweirdy has quit [Client Quit]
<companion_cube>
^^
<companion_cube>
one-line fix, it's alright
tmtwd has joined #ocaml
<octachron>
rgrinberg: the conditional nature of the build error is most probably due to hevea/build interaction : [remove hevea; install omake; reinstall hevea] worked for me
octachron has quit [Quit: Page closed]
agarwal1975 has joined #ocaml
<rgrinberg>
octachron: thank you very much :P
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
th5 has joined #ocaml
FreeBirdLjj has joined #ocaml
AlexDenisov has joined #ocaml
AlexDenisov has quit [Client Quit]
Algebr` has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
maattdd has quit [Quit: WeeChat 1.5]
maattdd has joined #ocaml
juliench1rch has joined #ocaml
ryanartecona has joined #ocaml
ygrek has joined #ocaml
dhil has quit [Ping timeout: 245 seconds]
agarwal1975 has quit [Quit: agarwal1975]
agarwal1975 has joined #ocaml
jnavila has joined #ocaml
shinnya has quit [Ping timeout: 250 seconds]
ygrek has quit [Ping timeout: 258 seconds]
kakadu has joined #ocaml
dhil has joined #ocaml
noddy has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
TarVanimelde has joined #ocaml
dhil has quit [Ping timeout: 245 seconds]
isd has quit [Ping timeout: 258 seconds]
isd has joined #ocaml
malina has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
Simn has quit [Quit: Leaving]
TarVanimelde has quit [Ping timeout: 260 seconds]
jonasen has joined #ocaml
juliench1rch has quit [Ping timeout: 268 seconds]
jnavila has quit [Ping timeout: 256 seconds]
AlexDenisov has joined #ocaml
govg has joined #ocaml
th5 has quit [Remote host closed the connection]
agarwal1975 has quit [Quit: agarwal1975]
ygrek has joined #ocaml
agarwal1975 has joined #ocaml
juliench1rch has joined #ocaml
juliench1rch has quit [Client Quit]
AltGr has left #ocaml [#ocaml]
jnavila has joined #ocaml
govg has quit [Ping timeout: 245 seconds]
govg has joined #ocaml
jnavila has quit [Ping timeout: 260 seconds]
agarwal1975 has quit [Quit: agarwal1975]
fre has joined #ocaml
mfp has quit [Remote host closed the connection]
dhil has joined #ocaml
noddy has quit [Ping timeout: 265 seconds]
Soni is now known as propane
_andre has quit [Quit: leaving]
noddy has joined #ocaml
jzy123_ has joined #ocaml
jzy123_ has left #ocaml [#ocaml]
noddy has quit [Ping timeout: 260 seconds]
yomimono has quit [Ping timeout: 245 seconds]
dhil has quit [Ping timeout: 256 seconds]
maattdd has quit [Ping timeout: 260 seconds]
noddy has joined #ocaml
rgrinberg has quit [Ping timeout: 250 seconds]
jkni has quit [Remote host closed the connection]
rfv has quit [Remote host closed the connection]
adelbertc has quit [Remote host closed the connection]
Guest71678 has quit [Remote host closed the connection]
jmct has quit [Remote host closed the connection]
yunxing has quit [Remote host closed the connection]
Sorella has quit [Remote host closed the connection]
mrallen1 has quit [Remote host closed the connection]
NhanH has quit [Remote host closed the connection]
mbrock has quit [Remote host closed the connection]
jnavila has joined #ocaml
malina has quit [Ping timeout: 250 seconds]
NhanH has joined #ocaml
Orion3k has quit [Ping timeout: 258 seconds]
ryanartecona has quit [Quit: ryanartecona]
adelbertc has joined #ocaml
ryanartecona has joined #ocaml
Guest71678 has joined #ocaml
rfv has joined #ocaml
noddy has quit [Ping timeout: 256 seconds]
zpe has joined #ocaml
mrallen1 has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
Orion3k has joined #ocaml
Sorella has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
<isd>
aantron: alternative: coroutines. Gives a more accurate description of the execution model. Also, if you were to take out reference to "threads," what does the t in lwt stand for?
<aantron>
yeah i was thinking lwt can just become an opaque word..
<isd>
Just a thought; don't feel strongly, and I'm not terribly dug into the community/project at this point, so I don't know that I have a ton of perspective.
<aantron>
or someone can come up with a nice backronym :)
<isd>
I think talking about coroutines may make it clearer without having to deal with all that.
<isd>
But promises may be a better model for folks familiar with that terminology. Dunno, just spitballing.
<aantron>
im not sure that lwt is closer to coroutines though
<aantron>
besides wakeup
<aantron>
Lwt.wakeup that is
<isd>
Also, I am definitely a newbie and it's possible my own mental model as to how they work is imperfect.
<aantron>
:)
zpe has quit [Remote host closed the connection]
malina has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 244 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
govg has quit [Ping timeout: 268 seconds]
<copy`>
Should libraries be compiled with (flambda) optimisation options or are those only relevant for the last compilation step?
<copy`>
That's a bit funny because it's one of aantron's libraries that I would like to be faster :-)
<aantron>
:D
<aantron>
soup?
<copy`>
Yep
<aantron>
vaguely on the topic of flambda, i am going to release lambda soup in a day or two with the change that installs .cmx files. want to partially rewrite the docs before release
<aantron>
but i guess you already have that in the dev pin anyway actually..
<aantron>
copy`, which part of soup is too slow? if it's the parse, the problem is in markup.ml
<copy`>
I haven't checked yet, I will let you know when I know
<aantron>
ok cool
jonasen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<copy`>
aantron: It's mostly markup
<aantron>
yes. markup is very slow. it is written to be legible, not fast, at the moment
<aantron>
what kind of input are you giving? are there lots of entity references for example?
<copy`>
By the way, I pinned soup and markup and there still seem to be some cmx missing from markup: http://pastebin.com/FmiaP1xC
<aantron>
dang, thanks
slash^ has quit [Read error: Connection reset by peer]
<aantron>
markup has a lot of really obvious things to optimize, such a a linear scan of 2000 entity names :p but i need time to set up for profiling to know what to do first. what are you using?