adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Kyo9142 has joined #ocaml
tmtwd has joined #ocaml
tmtwd has quit [Read error: Connection reset by peer]
noddy has quit [Ping timeout: 246 seconds]
toolslive has quit [Ping timeout: 250 seconds]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yegods has quit [Read error: Connection reset by peer]
toolslive has joined #ocaml
groovy2shoes has quit [Quit: Leaving]
yegods has joined #ocaml
hunteriam has joined #ocaml
mistermetaphor has joined #ocaml
dsheets has joined #ocaml
hxegon has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
fluter has quit [Ping timeout: 260 seconds]
fluter has joined #ocaml
cross has quit [Remote host closed the connection]
yegods has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #ocaml
manizzle has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Kyo9142 has quit [Ping timeout: 276 seconds]
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigjuice has quit [Ping timeout: 246 seconds]
pierpa has quit [Ping timeout: 246 seconds]
sigjuice has joined #ocaml
lokien_ has joined #ocaml
Kyo9142 has joined #ocaml
johnelse has quit [Ping timeout: 250 seconds]
nicholasf has quit [Remote host closed the connection]
GeorgeHahn has joined #ocaml
adelbertc has joined #ocaml
johnelse has joined #ocaml
nicholasf has joined #ocaml
Kyo9142 has quit [Ping timeout: 276 seconds]
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
aantron has quit [Remote host closed the connection]
cdidd has quit []
cdidd has joined #ocaml
cdidd has quit [Ping timeout: 260 seconds]
cdidd has joined #ocaml
MercurialAlchemi has joined #ocaml
cdidd has quit [Ping timeout: 260 seconds]
FreeBird_ has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
hxegon has joined #ocaml
Yithar has joined #ocaml
rgrinberg has quit [Quit: WeeChat 1.4]
GeorgeHahn has quit [Read error: Connection reset by peer]
cdidd has joined #ocaml
cdidd has quit [Ping timeout: 252 seconds]
njrt has joined #ocaml
ggole has joined #ocaml
adelbertc has quit [Quit: Connection closed for inactivity]
A1977494 has joined #ocaml
Mercuria1Alchemi has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
des__ has joined #ocaml
nicholasf has quit [Remote host closed the connection]
hunteriam has quit [Quit: Connection closed for inactivity]
nicholasf has joined #ocaml
lokien_ has quit [Quit: Connection closed for inactivity]
des__ has quit [Ping timeout: 250 seconds]
leyyin has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
_habnabit has quit [Ping timeout: 250 seconds]
noddy has joined #ocaml
mistermetaphor has joined #ocaml
mistermetaphor has quit [Ping timeout: 268 seconds]
_habnabit has joined #ocaml
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
Yithar has quit [Quit: Leaving]
noddy has quit [Ping timeout: 250 seconds]
malc_ has joined #ocaml
Simn has joined #ocaml
mistermetaphor has joined #ocaml
nicholasf has quit [Remote host closed the connection]
mistermetaphor has quit [Ping timeout: 250 seconds]
nicholasf has joined #ocaml
kushal has quit [Ping timeout: 252 seconds]
TheLemonMan has joined #ocaml
cdidd has joined #ocaml
cdidd has quit [Ping timeout: 260 seconds]
kandu has quit [Ping timeout: 260 seconds]
kushal has joined #ocaml
kandu has joined #ocaml
kandu is now known as Guest75953
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
Guest75953 has quit [Ping timeout: 250 seconds]
dsheets has joined #ocaml
kandu_ has joined #ocaml
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
nicholasf has quit [Read error: Connection reset by peer]
nicholasf has joined #ocaml
pierpa has joined #ocaml
jwatzman|work has joined #ocaml
jwatzman|work has quit [Client Quit]
jwatzman|work has joined #ocaml
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
M-Illandan has quit [Ping timeout: 260 seconds]
mistermetaphor has joined #ocaml
M-martinklepsch has quit [Ping timeout: 276 seconds]
silver has joined #ocaml
Kakadu has joined #ocaml
mistermetaphor has quit [Ping timeout: 276 seconds]
M-Illandan has joined #ocaml
cdidd has joined #ocaml
M-martinklepsch has joined #ocaml
skejserjensen has joined #ocaml
cdidd has quit [Ping timeout: 260 seconds]
skejserjensen has quit [Ping timeout: 240 seconds]
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
skejserjensen has joined #ocaml
skejserjensen has quit [Ping timeout: 250 seconds]
skejserjensen has joined #ocaml
yegods has joined #ocaml
nicholasf has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
yegods has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
skejserjensen has quit [Quit: leaving]
yegods has joined #ocaml
uggwar has left #ocaml [#ocaml]
sepp2k has joined #ocaml
dsheets has quit [Remote host closed the connection]
bba has joined #ocaml
dsheets has joined #ocaml
yegods has quit [Remote host closed the connection]
kushal has quit [Quit: Leaving]
yegods has joined #ocaml
dsheets has quit [Remote host closed the connection]
cross has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
mistermetaphor has joined #ocaml
aantron has joined #ocaml
yegods has quit [Ping timeout: 268 seconds]
mistermetaphor has quit [Ping timeout: 244 seconds]
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yegods has joined #ocaml
BitPuffin has joined #ocaml
bba has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
pierpa` has joined #ocaml
copy` has joined #ocaml
pierpa has quit [Ping timeout: 268 seconds]
yegods has quit [Read error: Connection reset by peer]
yegods has joined #ocaml
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mettekou has joined #ocaml
dsheets has joined #ocaml
hcarty has joined #ocaml
luigy has quit [Ping timeout: 250 seconds]
destrius has quit [Ping timeout: 250 seconds]
swistak35_ has quit [Ping timeout: 250 seconds]
artart78 has quit [Ping timeout: 250 seconds]
rwmjones has quit [Ping timeout: 250 seconds]
theblatte has quit [Ping timeout: 250 seconds]
theblatte has joined #ocaml
destrius has joined #ocaml
teiresias has quit [Ping timeout: 250 seconds]
artart78 has joined #ocaml
yegods has quit [Ping timeout: 260 seconds]
pierpa`` has joined #ocaml
luigy has joined #ocaml
rwmjones has joined #ocaml
johnelse has quit [Ping timeout: 268 seconds]
johnelse has joined #ocaml
bba has joined #ocaml
maufred_ has joined #ocaml
destrius has quit [Ping timeout: 268 seconds]
pecan has quit [Ping timeout: 268 seconds]
swistak35 has joined #ocaml
pierpa` has quit [Ping timeout: 268 seconds]
demonimin has quit [Ping timeout: 250 seconds]
demonimin has joined #ocaml
artart78 has quit [Ping timeout: 250 seconds]
artart78 has joined #ocaml
maufred has quit [Ping timeout: 250 seconds]
pecan has joined #ocaml
yegods has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 252 seconds]
destrius has joined #ocaml
<rntz> is there a way to print something without knowing its type?
<rntz> I have a functorized structure, and I want to debug it, but of course I don't know the type it's operating over. I could make it take a stringifier for that type, but I'd just have to remove that code later
<zozozo> rntz: just require that the functor argument provides a print function of type : Format.formatter -> t -> unit or something like that
<zozozo> which is always nice to have
<flux> rntz, there is a way to do that approximately with a 'dump' function.
<flux> found ie. in Batteries
<flux> dump is only useful for debugging at most
<companion_cube> erg
<flux> dump is able to see through abstract types, so that might be helpful
<Drup> flux: except for complex structures, it's not very helpful, better to add a pp function in the functor
<flux> but it might not always be nice to require client to provide a pp
<flux> let's say you're implementing a data structure such as Hashtbl
<flux> are you going to require pp from the type to do a quick debugging output from somewhere inside it :)
<zozozo> flux: you can always do something like let printf= print_string "<abstract" if you really don't want to print the structure
<Drup> flux: I would argue it's good to require pp, because you always need to print the hashtbl at some point ..
<flux> "always" is such a stretch :)
<companion_cube> I disagree with drup, it's really annoying to require a printer in a functor
<companion_cube> keep the interfaces minimum, please
<rntz> hm, dump is not in the standard library :/
<edwin> some libraries provide conversion to sexp (with similar problems, now you depend on sexplib even if you don't use it otherwise)
<rntz> I am not interested in any solution that involves anything outside the standard library
<edwin> I tend to prefer pp over sexp
<rntz> this tiny 100 line exploratory file, I don't want to mess with library stuff, I just want to debug :P
<rntz> *this is a, rather
<companion_cube> rntz: in the functor, you can write a print function that requires a key printing function
<rntz> yeah, I guess that's what I'll do
<companion_cube> module Make(X : Foo) : sig type t = ...... val print : (formatter -> Foo.t -> unit) -> formatter -> t -> unit end
<flux> I wonder how difficult would it be to extend ocaml to have optional fields in type signatures :) (ie. don't fill in this optional field and you either get a default functionality or you don't get a 'pp' function in the resulting type signature)
<companion_cube> no idea
<companion_cube> otoh you can extend a functor with another functor
<companion_cube> for instance I have stuff that take a Map.S and return additional functions
<companion_cube> (main issue is that private types remain opaque)
<flux> but can you provide a nice "DefaultAbstractPrinter" to use when the user doesn't care?
<flux> actually, teh perfect solution
octachron has joined #ocaml
<companion_cube> I don't think yo ucan
<flux> return a module, that has a functor that makes the same module but with a pretty printer
<companion_cube> but in the functor you could ask val print : (formatter -> t -> unit) option
<flux> sadly this can only work realistically for 'one level' of extension.. or can it?!
<companion_cube> rather than making the subfunctor return the same module, just have it return a small module with additional facilities, imho
<flux> well, yes.. :)
<companion_cube> module type Map.S = sig type t ...... module Print(Ppkey : key printer) : sig val print : 'a printer -> 'a t printer end ... end
<companion_cube> something like this
djellemah has quit [Ping timeout: 250 seconds]
<flux> module HashtblWithPp = struct include Hashtbl.Make(Type) include MakePP(Type) end ?
<flux> except I guess include for functor doesn't work.. ?
mistermetaphor has joined #ocaml
<companion_cube> it works
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<companion_cube> but you still don't have access to the internals
yegods has quit [Ping timeout: 240 seconds]
dwillems has joined #ocaml
mistermetaphor has quit [Ping timeout: 268 seconds]
njrt has quit [Quit: Page closed]
dsheets has quit [Remote host closed the connection]
jeffmo has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
yegods has joined #ocaml
sh0t has joined #ocaml
<hcarty> companion_cube: Hello! Regarding the Lwt_pipe kind-of-ownership thing I'm not sure. That, to/of_stream and a Lwt_stream-like "from" all come with rather ugly possiblities
<companion_cube> it's not trivial
<hcarty> companion_cube: The simple case for each is simple and useful... and easy to abuse with rust-like ownership rules
<companion_cube> but if you don't have resource handling you can't decently `map` on a file-based pipe, say
<hcarty> Agreed
dwillems has quit [Quit: Leaving]
seangrove has joined #ocaml
<hcarty> s/abuse with/absuse without/
<hcarty> I think they should be there. It might be useful to have un-closable pipes. That increases the overall complexity more though.
Kakadu has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ocaml
<hcarty> Lwt_pipe.from could be made to act like connect with an ownership argument allowing users to supply a "close" function if they want to
<companion_cube> yeah, as in Lwt_pipe.make
pierpa`` is now known as pierpa
<companion_cube> .create
Mercuria1Alchemi has quit [Ping timeout: 276 seconds]
noddy has joined #ocaml
bba has joined #ocaml
mistermetaphor has joined #ocaml
mistermetaphor has quit [Ping timeout: 250 seconds]
djellemah has joined #ocaml
djellemah_ has joined #ocaml
<hcarty> companion_cube: Something seems to be not right: let p = Lwt_pipe.of_list [1; 2; 3] in Lwt_pipe.close p (* raises Lwt_pipe.Closed *)
mettekou has quit [Read error: Connection reset by peer]
<hcarty> companion_cube: And if you try to "Lwt_pipe.read p" after that you get 'Exception: Invalid_argument "Lwt.wakeup_result"'
djellemah has quit [Ping timeout: 244 seconds]
hxegon has joined #ocaml
<hcarty> companion_cube: But if you "Lwt_pipe.read p" more times after that you get the expected "None" returned
<companion_cube> hu
<companion_cube> interesting
<hcarty> I was running into this with of_stream and from and was assuming it came from those implementations but it doesn't. I think it's because the keep call in of_list closes the pipe.
<hcarty> I'm not sure if the Invalid_argument exception is caused by the same thing or something else
<companion_cube> close should be idempotent anyway
<Leonidas> close harder
<companion_cube> hmmmmmmmm
<companion_cube> oh interesting, close blocks when is_closed = true
<companion_cube> oh well, this needs fixing
yegods has quit [Read error: Connection reset by peer]
yegods has joined #ocaml
<hcarty> companion_cube: This is what I currently have for of_stream: http://vpaste.net/pqVyA It seems like overkill but I'm not sure how to make it simpler with missing cases. And I'm still not sure I've caught everything that should be caught.
yegods has quit [Read error: Connection reset by peer]
yegods has joined #ocaml
<Simn> I'm trying to use opam through cygwin and opam init is telling me "No OCaml compiler found in path.". I can run ocaml/ocamlopt just fine though, so I wonder why it would say this. I installed everything using http://protz.github.io/ocaml-installer/.
<hcarty> The ability to close a Lwt_pipe.t at any time by anyone makes for some tough corner cases
dsheets has quit [Remote host closed the connection]
<companion_cube> hcarty: no, create should deal with the idempotence of `close` by itself
<companion_cube> of_stream should not be that complicated
<companion_cube> (otoh the `pick` is probably justified)
yegods has quit [Read error: Connection reset by peer]
dsheets has joined #ocaml
mistermetaphor has joined #ocaml
<hcarty> Drup: \o/ - (Hooray!)
<Drup> (The compatible lwt version is coming too)
tane has joined #ocaml
<hcarty> \o/ - (Hooray-even-more!)
pierpa` has joined #ocaml
sepp2k has quit [Quit: Leaving.]
bba has quit [Read error: Connection reset by peer]
pierpa has quit [Ping timeout: 260 seconds]
bba has joined #ocaml
silver_ has joined #ocaml
slash^ has joined #ocaml
silver has quit [Ping timeout: 246 seconds]
sh0t has quit [Ping timeout: 250 seconds]
<companion_cube> hcarty: are you in a hurry for lwt-pipe?
mettekou has joined #ocaml
Kyo9142 has joined #ocaml
Simn has quit [Read error: Connection reset by peer]
Kyo9142 has quit [Ping timeout: 268 seconds]
sh0t has joined #ocaml
seangrove has quit [Remote host closed the connection]
Simn has joined #ocaml
seangrove has joined #ocaml
<flux> \o/ everything breaks \o/ :)
<Leonidas> quick, quick, someone update the topic
bba_ has joined #ocaml
<hcarty> companion_cube: No, what exists is enough to solve an immediate problem I was having. I'm hoping to have time later this week to look at it more
<companion_cube> ok, cool
<companion_cube> I'll try and work on the close issue
bba has quit [Ping timeout: 244 seconds]
<hcarty> flux: Only if you use ppx... or oasis... or something that uses one of those!
<companion_cube> oh, the oasis issue is still not solved? :/
cdidd has joined #ocaml
nicholasf has joined #ocaml
<Drup> I doubt it
seangrove has quit [Ping timeout: 250 seconds]
<Leonidas> which oasis issue?
cdidd has quit [Quit: Leaving]
<companion_cube> a flag that blocks it on ocaml 4.03, currently
cdidd has joined #ocaml
<hcarty> Drup: Does Lwt 2.5.2 work on 4.03.0?
<Drup> yes, that's the point
seangrove has joined #ocaml
cdidd has quit [Quit: Leaving]
dsheets has quit [Remote host closed the connection]
yegods has joined #ocaml
silver_ is now known as silver
<hcarty> Is it safe to 'opam switch install 4.03.0 --no-switch' and continue using the current switch while the new switch is building?
<Drup> yes
<hcarty> Drup: Thanks
<companion_cube> oh, that's nice
<flux> my opam doesn't know about 4.03.0?-(
<hcarty> flux: "opam update" and there may be some delay between the commit hitting github and it being mirrored into the main/official off-github package list
dsheets has joined #ocaml
<hcarty> flux: If you want to avoid the delay you can add opam-repository directly as a remote
<flux> hcarty, ok, got it, while ! opam update && opam switch .. ; do :; done
<flux> well I guess I can wait.
<flux> soooo, when is the alpha release of ocaml multicore.. ?-)
<hcarty> :-)
<Drup> hcarty: side note: it's not an abolutely great idea in general, at least not if you keep both repositories
<hcarty> Drup: Potential subtle version conflicts?
<Drup> yes
<Drup> opam is not designed to handle well when two packages have the same (name, version) couple
<hcarty> Thanks
<hcarty> What does the "with frame pointers enabled" switch add/change?
<dsheets> hmm? they shadow in the remote stack
<dsheets> but, i agree, one copy of a remote in the stack is best
<Drup> hcarty: it's useful for profiling with perf (it will give call stacks)
<hcarty> Never mind... RWO has a section on the +fp compiler switches
<hcarty> Drup: Thanks :-) Just read about it
mettekou has quit [Ping timeout: 260 seconds]
jwatzman|work has quit [Quit: jwatzman|work]
badon has quit [Remote host closed the connection]
badon has joined #ocaml
nicholasf has quit [Remote host closed the connection]
<theblatte> # Warning 31: files array.cmo and /home/jul/.opam/4.03.0/lib/ocaml/stdlib.cma(Array) both define a module named Array
shinnya has joined #ocaml
<theblatte> camlidl is sad with 4.03.0 :(
sh0t has quit [Ping timeout: 240 seconds]
octachron has quit [Quit: Page closed]
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
mettekou has joined #ocaml
yegods has quit [Ping timeout: 260 seconds]
yegods has joined #ocaml
dsheets has quit [Ping timeout: 244 seconds]
darkf has quit [Quit: Leaving]
yegods has quit [Ping timeout: 260 seconds]
yegods has joined #ocaml
yegods has quit [Ping timeout: 260 seconds]
yegods has joined #ocaml
dsheets has joined #ocaml
yegods has quit [Read error: Connection reset by peer]
dsheets has quit [Ping timeout: 246 seconds]
seangrov` has joined #ocaml
seangrove has quit [Ping timeout: 246 seconds]
yegods has joined #ocaml
mettekou has quit [Read error: Connection reset by peer]
pyon is now known as loli-pyon
sh0t has joined #ocaml
mettekou has joined #ocaml
noddy has quit [Ping timeout: 260 seconds]
<Drup> fuu
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Drup> opam compiler-conf doesn't work with opam 2.0 T_T
noddy has joined #ocaml
shinnya has quit [Ping timeout: 250 seconds]
struktured has joined #ocaml
Algebr` has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
Algebr has joined #ocaml
struktured has quit [Ping timeout: 276 seconds]
octachron has joined #ocaml
_whitelogger has joined #ocaml
dsheets has joined #ocaml
BitPuffin has quit [Remote host closed the connection]
cdidd has joined #ocaml
malc_` has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
malc_ has quit [Ping timeout: 260 seconds]
ygrek has joined #ocaml
tobast_ has quit [Quit: WeeChat 1.0.1]
<reynir> :o
<companion_cube> o:
tobast has joined #ocaml
slash^ has quit [Quit: Leaving]
noddy has quit [Ping timeout: 260 seconds]
<Drup> % eval `opam config env --switch 4.03.0+trunk`
<Drup> % opam pin add ocaml source/ocaml
<Drup> I'm doing magic :O
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
<reynir> is opam 2.0 out?
<hcarty> Drup: compiler-as-package?
<Drup> reynir: it's not, I'm cutting my fingers on the alpha version
<Drup> hcarty: yes!
<reynir> heh :)
Anarchos has joined #ocaml
ollehar has joined #ocaml
ollehar has quit [Client Quit]
kakadu has joined #ocaml
<adrien> so, who's updating the website? :)
<companion_cube> it really is a big release...
<Algebr> what website
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
<adrien> Algebr: ocaml.org
<rgrinberg> everyone get ready to defend OCaml on proggit and HN :P
<Anarchos> rgrinberg by HN, you mean Hacker News ?
<rgrinberg> Yeah
<companion_cube> I should make a account some time
<adrien> rgrinberg: I'm getting ready for bed :P
<adrien> companion_cube: you mean, you, our local ultra-hipster, has survived for so many years without a HN account?!
<companion_cube> me? seriously? :D
<adrien> or maybe you have not yet planned to make a startup with the sole purpose of selling it after 23 months
<rgrinberg> I'm sure he frequents on lobster.us already
<companion_cube> exactly
<companion_cube> lobsterwat?
<Algebr> who ever sends a PR I guess.
<rgrinberg> got that way wrong
<companion_cube> is this a HN wannabe?
<rgrinberg> invite only, open source HN clone
<companion_cube> hmmm
<companion_cube> oh well. I'm already on reddit.
<rgrinberg> let's all recall the 2 talking points that will dominate the dicussion
<rgrinberg> 1. multicore
<rgrinberg> 2. adhoc polymorphism
<companion_cube> oh god.
A19774941 has joined #ocaml
Anarchos has quit [Ping timeout: 250 seconds]
shinnya has joined #ocaml
<Algebr> windows support
<Algebr> same cannards over and over
A1977494 has quit [Ping timeout: 252 seconds]
<adrien> the thing with windows support is that people know they need to complain about it but they don't know why
<adrien> it doesn't lead to a very interesting troll
<rgrinberg> i get the sense that it's mostly idle observers complaining about something they'll never use.
<rgrinberg> where are all of these suffering ocaml prorammers on windows I sometimes wonder
<companion_cube> I wonder how python got popular, it doesn't even multicore
<adrien> but it's not its main performance issue :D
<companion_cube> :DD
<companion_cube> also, I heard it doesn't windows either!
<adrien> there's an MSVC port
<adrien> not an official nor clean mingw* one
<rgrinberg> node's shitty windows support didn't seem to matter on HN in the early days
Anarchos has joined #ocaml
<Anarchos> hi again
<companion_cube> come on, now there is CCstring.pad, we can compete with node
ggole has quit []
<hcarty> companion_cube: Why compete? We JS.
MercurialAlchemi has quit [Ping timeout: 260 seconds]
yegods has quit [Remote host closed the connection]
<Algebr> its a legimate concern, i think we ought to address it and it is being addressed
shinnya has quit [Ping timeout: 252 seconds]
<hcarty> rgrinberg: I had to write some code for Windows and wanted to write it in OCaml. So it's by choice, but I am/was a suffering OCaml programmer targeting Windows
<hcarty> rgrinberg: MXE + whitequarks opam-cross-windows repo made the whole process much nicer since I could avoid Windows for the most part
<hcarty> Algebr: Fair - perception matters when trying to grow a community
mettekou has quit [Read error: Connection reset by peer]
<Algebr> yep, for better or worse, perception matters a lot.
<rgrinberg> hcarty: it's a legitimate concern. when it's brought up like this - in the context of a real use case.
noddy has joined #ocaml
<hcarty> rgrinberg: I completely agree, just to be clear. I avoid HN most of the time for that reason. And try to tread lightly when looking through proggit
<Drup> I find proggit rather worse than HN on the matter
cdidd has quit [Remote host closed the connection]
<Algebr> a nice PR coup for OCaml would be if the website itself was rebuilt using jsoo bindings to reactJS
<Algebr> massive free marketing
<rgrinberg> but it's a static site... It's build 100% correctly for what it is.
<Algebr> so make it not a static site, make the interpreter right on the front page, show off bindings to d3
<Algebr> peopel like flashy cool things
<Drup> please no :(
<Algebr> y
pierpa`` has joined #ocaml
cdidd has joined #ocaml
<hcarty> Drup: Put the ocsigen shared drawing application on the front page :-)
<Drup> Eh.
<Drup> It will not satisfy Algebr's hypeness measure, though
<rgrinberg> all you arm chair marketers should consider a career at phillip morris :P
<Algebr> Drup: getting more people excited and interested in OCaml only benefits all of us
<Algebr> what's the downside?
Denommus has joined #ocaml
<Drup> fancier ≠ better
<Drup> having a simple, accessible, static website for ocaml.org is good
<Drup> (even if the current could be made much better, but it's a work on the content, not the fancyness)
<Algebr> the site is a little boring...
<edwin> whats proggit?
shinnya has joined #ocaml
A19774941 has quit [Quit: Leaving.]
<Drup> edwin: r/programming
<companion_cube> yeah, ocaml.org is fine
<Algebr> =/
<companion_cube> Algebr: you can still make a demo site if you want :D
<hcarty> It depends on what a person is coming to the site to see
<companion_cube> or some d3.js interface to coq-in-the-browser (??)
<Algebr> I do, and I'm trying to sell OCaml to as many people as I can
pierpa` has quit [Ping timeout: 260 seconds]
<Algebr> and people say, if this language is so awesome, then why isn't it used that much
<Algebr> What's the answer to that
<Drup> that change list is so long :O
<companion_cube> yeah
<companion_cube> impressive
pierpa`` is now known as pierpa
<hcarty> Algebr: It's a valid question. Honestly I think it's usually momentum and a lack of a big, "must-have" project to draw people in
cdidd has quit [Remote host closed the connection]
<companion_cube> c'mon, no one posted the release on HN ? :p
<rgrinberg> I would if I had an HN account. Anyone care to share the karma and make the submission?
<companion_cube> :D
<rgrinberg> it's for the greater good
cdidd has joined #ocaml
malc_` has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
<Drup> If that's not done by tomorrow midday, I'll sacrifice myself
<Drup> this hour is terribly bad for submitting stuff.
<Simn> Is the font on that caml-list web interface tiny or am I just getting old?
<Drup> it's tiny
nicholasf has joined #ocaml
nichola__ has joined #ocaml
nicholasf has quit [Read error: Connection reset by peer]
nichola__ has quit [Remote host closed the connection]
octachron has quit [Quit: Leaving]
nicholasf has joined #ocaml
<Algebr> rgrinberg: did anyone do it already? I can do it
<companion_cube> there aren't many comments on reddit :D
tane has quit [Ping timeout: 244 seconds]
sfri_ has quit [Ping timeout: 250 seconds]
igitoor has quit [Ping timeout: 250 seconds]
dsheets has joined #ocaml
igitoor has joined #ocaml
sfri has joined #ocaml
mettekou has joined #ocaml
dsheets_ has joined #ocaml
hcarty has quit [Ping timeout: 250 seconds]
<edwin> is the final 4.03.0 available on opam yet? I see it merged in the repo, but my opam won't find it
dsheets_ has quit [Read error: Connection reset by peer]
igitoor has quit [Changing host]
igitoor has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
<Drup> there's always a delay between the git repo and the mirror
<hxegon> noob here. Do I install 4.03 through opam?
<Drup> Yes, but cf comment above
tane has joined #ocaml
mettekou has quit [Read error: Connection reset by peer]
mettekou has joined #ocaml
<rgrinberg> Algebr: go ahead!
<Algebr> rgrinberg: what should I link to?
tane has quit [Quit: Verlassend]
cyc has joined #ocaml
<Algebr> https://news.ycombinator.com/item?id=11567561 upvoting it will cause self fulfilling momentum.
rgrinberg has quit [Ping timeout: 244 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
cyc has left #ocaml [#ocaml]
Simn has quit [Quit: Leaving]
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
cdidd has quit [Remote host closed the connection]
nicholasf has quit [Remote host closed the connection]
walter|r has joined #ocaml
walter|r has quit [Remote host closed the connection]
walter|r has joined #ocaml
cdidd has joined #ocaml
bba_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lobo> trying to create a hn account again. last time their captchas won
mettekou_ has joined #ocaml
seangrov` has quit [Ping timeout: 268 seconds]
yegods has joined #ocaml
mettekou has quit [Ping timeout: 246 seconds]
Madars_ has quit [Ping timeout: 246 seconds]
badon has quit [Remote host closed the connection]
badon has joined #ocaml
yegods has quit [Remote host closed the connection]
_berke_ has joined #ocaml
<hxegon> lobo tell me about it. I tried to make an account about 4 times over the course of a year before it actually worked :|
<_berke_> hi everyone
<hxegon> Hello _berke_
<_berke_> hi hxegon
<_berke_> is everyone trying out 4.03 ?
<hxegon> still not showing up with opam switch list for me
<Drup> teh, like I waited today :D
<_berke_> hxegon: same here
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
<_berke_> so the switch list is updated with update right?
octachron has joined #ocaml
iZsh has quit [Quit: ZNC - http://znc.in]
iZsh has joined #ocaml
<chris2> what's the reason +fp is not default?
noddy has quit [Ping timeout: 260 seconds]
<Drup> iirc, 5% perf penalty
<chris2> ok
<chris2> and flambda is just not well tested yet?
<pierpa> IIUC, +fp reduces by 1 the available registers?
<chris2> so on x86_64 not a big deal?
<Drup> I think it is, but some maintainer seems to disagree
misterme_ has joined #ocaml
<chris2> well, c uses fp by default too?
<Drup> not the same calling convention, the comparison is not really good
mistermetaphor has quit [Ping timeout: 250 seconds]
<chris2> ok
<chris2> but linux perf(1) would work better
<chris2> ?
<chris2> or debugging in general?
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
mettekou_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nicholasf has joined #ocaml
wolfcore has quit [Ping timeout: 250 seconds]
noddy has joined #ocaml
<Leonidas> is there a switch to force opam to rebuild an already installed package?
badon has quit [Quit: Leaving]
wolfcore has joined #ocaml
<Drup> reinstall
<Leonidas> ah, right :)
yegods has joined #ocaml
kakadu has quit [Remote host closed the connection]
badon has joined #ocaml
twobitsprite has quit [Read error: Connection reset by peer]
sh0t has quit [Ping timeout: 276 seconds]
sh0t has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
bba has joined #ocaml
noddy has quit [Ping timeout: 244 seconds]
<Leonidas> chris2: in my experience, +fp did not make debugging any better, but YMMV.
shinnya has quit [Ping timeout: 260 seconds]
walter|r has quit [Remote host closed the connection]
madroach has quit [Ping timeout: 244 seconds]
madroach has joined #ocaml
badon has quit [Disconnected by services]
octachron has quit [Quit: Leaving]
rgrinberg has joined #ocaml
noddy has joined #ocaml
badon has joined #ocaml
kyo9142 has joined #ocaml
rgrinberg has quit [Quit: WeeChat 1.4]
rgrinberg has joined #ocaml