mettekou has quit [Read error: Connection reset by peer]
dsheets has joined #ocaml
toaoMgeorge has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
antkong_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
orbifx has quit [Ping timeout: 246 seconds]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 276 seconds]
aphprentice has quit [Quit: Connection closed for inactivity]
nicholasf has quit [Remote host closed the connection]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
aantron has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has joined #ocaml
wiredsister has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
BitPuffin|osx has joined #ocaml
noddy has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
hxegon has quit [Ping timeout: 276 seconds]
GeorgeHahn has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
hxegon_AFK has joined #ocaml
hxegon_AFK is now known as hxegon
hxegon has quit [Client Quit]
dsheets has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
nicholasf has quit [Remote host closed the connection]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
wiredsister has quit [Ping timeout: 244 seconds]
deko-pyon has quit [Quit: cleanup]
deko-pyon has joined #ocaml
noddy has quit [Ping timeout: 250 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has joined #ocaml
seangrove has quit [Ping timeout: 268 seconds]
noddy has joined #ocaml
Haudegen has quit [Ping timeout: 244 seconds]
Haudegen has joined #ocaml
seangrove has joined #ocaml
dsheets has joined #ocaml
yunxing has joined #ocaml
whitequark has joined #ocaml
<whitequark>
let's talk about omake
<whitequark>
omake is garbage.
<whitequark>
not only it bootstraps for no reason whatsoever, it fails to bootstrap itself on a 32-bit OCaml, and consequently fails even harder at cross-compilation.
<whitequark>
why does ocaml have so many garbage buildsystems?
ygrek has quit [Ping timeout: 250 seconds]
<whitequark>
i shouldn't need to rewrite them every time i simply have to get something onto windows.
dsheets has quit [Ping timeout: 264 seconds]
teknozulu has joined #ocaml
nicholasf has quit [Ping timeout: 248 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 244 seconds]
nicholasf has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has joined #ocaml
troydm has quit [Ping timeout: 244 seconds]
dsheets has quit [Ping timeout: 252 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
ygrek has joined #ocaml
Emmanuel`_ has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
aantron has quit [Quit: Leaving...]
johnelse has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
johnelse has quit [Ping timeout: 260 seconds]
johnelse has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
dsheets has joined #ocaml
johnelse has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
dsheets has joined #ocaml
noddy has quit [Ping timeout: 252 seconds]
antkong_ has quit [Quit: antkong_]
dsheets has quit [Ping timeout: 250 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has joined #ocaml
<jyc>
do you have a favorite? :P
dsheets has quit [Ping timeout: 250 seconds]
slash^ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
GeorgeHahn has quit [Read error: Connection reset by peer]
slash^ has quit [Read error: Connection reset by peer]
GeorgeHahn has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
yunxing has quit [Remote host closed the connection]
wolfcore has quit [Ping timeout: 260 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
wolfcore has joined #ocaml
ggole has joined #ocaml
<whitequark>
ocamlbuild and oasis have caused me the least amount of pain
<whitequark>
after that, handwritten makefiles, which usually require only minute adjustment, assuming they were written sanely in the first place
<whitequark>
I would say that about 50% of handwritten makefiles need no or trivial adjustment, and the other half needs a few dozen recompilations before I can make them work
Simn has joined #ocaml
<adrien>
being based on ocamlmakefile is a fairly good start however
<whitequark>
yes.
<whitequark>
well, in general, I don't care for ocamlmakefile one way or another
<whitequark>
as long as you do everything via `ocamlfind`, we're going to get along.
<adrien>
:)
<whitequark>
OASIS is a funny case here because it does a bunch of unnecessary detection itself but then just calls ocamlfind
<whitequark>
so it looks completely wrong but is actually one of the least painful cases, I think with all OASIS projects I just copy-pasted my template and it worked
<adrien>
yeah, and you can easily override whatever it detects if you need to
<whitequark>
which made me dislike OASIS quite a bit less
<whitequark>
yeah, had to do --override ext_dll .dll
<whitequark>
camlimages though...
<whitequark>
i ended up rewriting its 20 kilobytes of omake garbage right inside the opam file. 120 lines and three ocamlfind invocations
nicholasf has quit [Remote host closed the connection]
<adrien>
same for ext_dll; nothing more, nothing less in the typical case
<adrien>
omake is very powerful but also, well, very powerful :)
<whitequark>
it's powerful in all the useless ways
<whitequark>
the insides of camlimages buildsystem are horrible; omake is not a good choice for building ocaml, based on the hacks i have seen
<whitequark>
all these buildsystems are trying to be 'clever' but what they should do is simply call ocamlfind ocamlmklib
<whitequark>
actually, if ocamlmklib could invoke ocamldep itself, then we wouldn't need any buildsystems at all for the trivial case
malc_ has joined #ocaml
<adrien>
what made me fear omake is that its tutorial explains how to bind GTK+ for omake
<adrien>
like not build bindings but bind it with the omake languge
<adrien>
language*
<whitequark>
jesus christ
<adrien>
that's what I remember; I might have misunderstood, especially since I quickly closed the page
<adrien>
(let's check)
<whitequark>
what made *me* fear omake in the first place was its version number
<whitequark>
it is simply impossible that a healthy piece of software have a version like 0.9.8.6-0.rc1
<whitequark>
and, frankly, seeing that in opam list would be obnoxious enough to prevent me from using anything that builds via omake
<whitequark>
but it's actually also a horrible buildsystem too
<whitequark>
a true unity of presentation and substance
<adrien>
they use omake to make the bindings but the bindings are not for omake
<adrien>
(but that's already scary)
<adrien>
heheh :)
tane has joined #ocaml
<whitequark>
if someone implements the light-weight cross-compilation proposal I have for opam then we could have cross-compilation in the main repo very soon
<adrien>
:)
<adrien>
the split of the tools from the compiler really got things better
<adrien>
it was a nightmare before that
copy` has quit [Quit: Connection closed for inactivity]
<whitequark>
really?
<adrien>
you couldn't touch a thing without the whole thing breaking down
<adrien>
breaking down somewhere*
<whitequark>
I'm unconvinced
<whitequark>
there weren't even any changes in the compiler that helped me.
<adrien>
ocamlbuild got pulled out of the compiler and the removal of the Makefile.nt variants was simple; it was just obvious
<adrien>
but in the compiler...
<whitequark>
existence of opam, yes. ocamlfind patch, yes
<whitequark>
oh, I don't actually use that Makefile.nt patch myself
Sorella has quit [Quit: Connection closed for inactivity]
<whitequark>
it doesn't bring any benefit, the only actual problem that it also fixes I fixed with a one-line ad-hoc patch
<whitequark>
just the existence of those useless Makefile.nt files pissed me off very much
<adrien>
mosts of the changes had been merged back already yeah
<adrien>
but doing that [B[A[B[B[Bhmmm, internet connection is flappy as hell
<adrien>
so...
<adrien>
I haven't touched the .nt files either except a couple times but they had some bits that had to be ported back to the non-.nt ones
<adrien>
but for ocamlbuild that was just an example
<adrien>
except there were many such examples :P
<adrien>
I've been really happy to see everyone work to get rid of the .nt variants
<adrien>
including Alain Frisch without whom it's very difficult to remove these variants (partly because he's added so many things in them)
<whitequark>
they are aesthetically unpleasant
<whitequark>
I also wish everyone would get rid of the #ml in Makefile.config
<whitequark>
and it rather pleases me to have killed the ocamlmktop shell script
<adrien>
the main actual issue was that they could use some variables differently from the regular Makefiles and as such if configure was changed, they could break (and well, they did)
<adrien>
20 years to accumulate cruft at every level :)
<whitequark>
I'm bothered by Damien's threat to migrate to autoconf
<malc_>
adrien: it still works after 20 years, and it takes only 5 for ocamlbuild to come and go
<whitequark>
reasonable OSS projects migrate *from* autoconf these days, not *to* it
<whitequark>
and that doesn't help the cygwinless builds too
<adrien>
malc_: well, closer to 10, but yeah :)
<adrien>
whitequark: well, migrating from ocaml's configure to autoconf cannot be bad; that configure script has so many issues
<adrien>
but I think we need to have a clear list of actually-supported platforms
<malc_>
whitequark: look to WHAT they migrate... CMake
<malc_>
i'd say fuck that
<adrien>
I did many changes trying to keep compat for X or Y and when X got broken, people finally said that Y didn't actually matter nowadays
<malc_>
pardon my french
<adrien>
heh
<whitequark>
malc_: cmake is less bad than autoconf.
<adrien>
but if damien only mentionned autoconf, how do you get the same with cmake?
<whitequark>
cmake is also less bad than every alternative, or almost every alternative.
<malc_>
whitequark: we will only learn whether this assertion is true or not in 20 years
<whitequark>
note that I am not saying that cmake isn't deeply disturbing
<adrien>
because that means doing the configure step with one tool but not touching the makefiles
<whitequark>
no. that doesn't matter. autoconf is definitely bad enough already.
<whitequark>
autoconf was never good, but for a while it wasn't quite bad enough.
<whitequark>
the worst part of cmake is its idiosyncratic language. but its semantics is fairly compact and can be learned, and debugging is not hard.
<adrien>
I'm OK with autoconf; in practice I find that it's known well enough now that you can use it properly
<whitequark>
the idiotic amalgamation of m4 and shell does not have that property. nor does it work on windows natively.
<whitequark>
adrien: you cannot build ocaml with cmake
<adrien>
it's not much worse than shell scripting; it's a minefield but you can avoid the mines quite well
<whitequark>
I ported LLVM's ocaml bindings to cmake
<whitequark>
it doesn't scale, simple as that
<whitequark>
so, I do not suggest cmake for the OCaml compiler.
<adrien>
whitequark: yeah, my point, so I don't know how cmake could be used for the configure part but not the rest
<whitequark>
that doesn't really make sense
<adrien>
ah, ok
<whitequark>
cmake is not a good fit for ocamlc.
<adrien>
in any case, I really truly believe we can't do much without a list of platforms to support
<adrien>
autoconf is horrible because it supports every horrible system out there
<adrien>
including shells that don't handle constructs such as [ -z "${foo}" ]
<adrien>
just checking if the string is empty
<whitequark>
autoconf is horrible because it's based on shell, period
<malc_>
adrien: shellology portion of autoconf manual is superb though
<adrien>
definitely :)
<adrien>
anyway, food time, and next I'll kidnap Damien and get that platform list
slash^ has joined #ocaml
wolfcore has quit [Ping timeout: 248 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
antkong has joined #ocaml
wolfcore has joined #ocaml
kakadu has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has joined #ocaml
darkf_ has joined #ocaml
Nahra has quit [Remote host closed the connection]
Nahra has joined #ocaml
slicefd has joined #ocaml
darkf has quit [Ping timeout: 248 seconds]
nicholasf has quit [Ping timeout: 246 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
silver has joined #ocaml
Reventlov has quit [Ping timeout: 244 seconds]
GeorgeHahn has quit [Read error: Connection reset by peer]
teknozulu has quit [Quit: Leaving]
leyyin has joined #ocaml
<lokien>
hello guys :)
troydm has joined #ocaml
Reventlov has joined #ocaml
Reventlov is now known as Guest98314
Guest98314 is now known as Reventlov
Reventlov has quit [Changing host]
Reventlov has joined #ocaml
darkf_ has quit [Quit: Leaving]
pierpa has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
pierpa` has joined #ocaml
badon has joined #ocaml
antkong has quit [Ping timeout: 244 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
malc_` has joined #ocaml
malc_ has quit [Ping timeout: 260 seconds]
<Nazral>
Does Notty uses stdin to get terminal events ?
toaoMgeorge has left #ocaml ["Leaving"]
<Nazral>
let create ?(dispose=true) ?(mouse=true) ?(input=Lwt_unix.stdin) ?(output=Lwt_unix.stdout) () = < it seems so, doesn' it ?
Enjolras is now known as HS-157
HS-157 is now known as Enjolras
mettekou has joined #ocaml
pierpa has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
pierpa` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
toaoMgeorge has joined #ocaml
malc_` is now known as malc_
pierpa has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
orbifx has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
rand__ has joined #ocaml
orbifx has quit [Ping timeout: 244 seconds]
Haudegen has quit [Ping timeout: 260 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
mettekou has quit [Read error: Connection reset by peer]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Haudegen has joined #ocaml
nicholasf has joined #ocaml
nicholasf has quit [Remote host closed the connection]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has joined #ocaml
sgnb` has quit [Remote host closed the connection]
rossberg has quit [Ping timeout: 264 seconds]
ygrek has quit [Ping timeout: 248 seconds]
BitPuffin|osx has joined #ocaml
rossberg has joined #ocaml
sepp2k has joined #ocaml
butts_butts has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 276 seconds]
<Drup>
I considered using omake, because of good thing people said about it
<Drup>
it is simply too low level
<Drup>
and the dependency model is very unclear
copy` has joined #ocaml
<Drup>
whitequark: have you tried to port opium to your thing ? It uses omake but It didn't look *that* hackish, so I would be interested to know if it's inherent to omake or to camlimage
<whitequark>
all the subtlety of a bulldozer, combined with maintainability of an iPhone
<Drup>
Well, I meant opam-cross-windows
<whitequark>
holy shit OCaml.om is over 1000 lines
octachron has joined #ocaml
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ocaml
mfp has quit [Remote host closed the connection]
rand__ has quit [Quit: leaving]
sepp2k has quit [Client Quit]
sepp2k has joined #ocaml
toaoMgeorge has quit [Ping timeout: 260 seconds]
toaoMgeorge has joined #ocaml
dsheets has quit [Remote host closed the connection]
djellemah_ has joined #ocaml
butts_butts has quit [Ping timeout: 244 seconds]
jbrown has quit [Quit: Client exiting]
hunteriam has joined #ocaml
sepp2k has quit [Quit: Leaving.]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
snhmib has joined #ocaml
djellemah_ has quit [Ping timeout: 244 seconds]
axiles has quit [Ping timeout: 246 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
axiles has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 276 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has joined #ocaml
jbrown has joined #ocaml
kolko has joined #ocaml
deko-pyon has quit [Quit: fix config]
deko-pyon has joined #ocaml
mettekou has joined #ocaml
mettekou has quit [Read error: Connection reset by peer]
sh0t has joined #ocaml
Sorella has joined #ocaml
octachron has quit [Quit: Leaving]
<ggole>
Screwed by <> again! Cyclic values ftw.
orbitz has quit [Quit: leaving]
noddy has joined #ocaml
orbitz has joined #ocaml
ygrek has joined #ocaml
ygrek has quit [Ping timeout: 276 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
sh0t has quit [Ping timeout: 248 seconds]
sillyotter has joined #ocaml
sillyotter has quit [Client Quit]
Anarchos has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
destrius has quit [Read error: Connection reset by peer]
larhat has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Emmanuel`_ has quit [Client Quit]
Emmanuel`_ has joined #ocaml
BitPuffin|osx has joined #ocaml
<flux>
ggole, maybe the core folks are onto something.. ;)
d0nn1e has quit [Ping timeout: 268 seconds]
<ggole>
Hmm? How would rebinding != help?
d0nn1e has joined #ocaml
nicholasf has quit [Remote host closed the connection]
<flux>
of they only bound that? never mind then.
<flux>
s/of/oh/
<flux>
I suppose normal programming would become too arduous if = and <> were banned :)
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has joined #ocaml
larhat has quit [Quit: Leaving.]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has quit [Remote host closed the connection]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
<toaoMgeorge>
Hey Ocaml people, just out of curiosity, what do you think of this: https://github.com/mlin/twt?
BitPuffin|osx has quit [Ping timeout: 240 seconds]
<toaoMgeorge>
I really like Ocaml, but it would be a blessing for me to get rid of some synctactic noise (hehe, I can't help being picky on syntax...)
<Drup>
Nobody uses it
<Drup>
Actually, there is one package depending on it, by the same author
sh0t has joined #ocaml
lokien has quit [Ping timeout: 268 seconds]
BitPuffin|osx has joined #ocaml
<malc_>
toaoMgeorge: decent editor will alleviate your pain
lokien has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 276 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
butts_butts has joined #ocaml
butts_butts has quit [Ping timeout: 268 seconds]
<flux>
I think twt. well, as an idea. I haven't actullay used it ;-).
<flux>
s/think/like/ oops
seangrove has quit [Ping timeout: 248 seconds]
mettekou has joined #ocaml
seangrove has joined #ocaml
seangrove has quit [Ping timeout: 268 seconds]
<companion_cube>
I like the idea
<companion_cube>
but it's not the default syntax and therefore 99% of people won't use it
hunteriam has quit [Quit: Connection closed for inactivity]
mettekou has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Anarchos>
companion_cube i am not sure if the erasure of the "in" in "let ... in ..." is semantically correct !
<companion_cube>
well if it's guided by indentation...
<companion_cube>
although I wouldn't have removed `in`, indeed
darkf has joined #ocaml
yunxing has joined #ocaml
seangrove has joined #ocaml
xcrom has quit [Read error: Connection reset by peer]
<Anarchos>
damn, ounit runs the test, but bisect_ppx can't put the line in green in the report :/
Emmanuel`_ has quit [Quit: Konversation terminated!]
AlexRussia has quit [Quit: WeeChat 1.4-dev]
Emmanuel`_ has joined #ocaml
octopus1 is now known as polaron
mettekou has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
aantron has joined #ocaml
<please_help>
I'm trying to have a process-scope'd reference with ocsigen. The docs say that Volatile.Ext.{get,set} should only need the eref, but they also need an Eliom_state parameter. How do I construct it? I don't see a way to form client_process_scope'd states in Eliom_state.Ext.
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
seangrove has quit [Remote host closed the connection]
<Drup>
The documentation says "Use it in conjunction with functions like Eliom_state.Ext.iter_volatile_sub_states"
<malc_>
but yeah you'd need the development version of the package
<Drup>
please_help: oh, indeed, please report
<please_help>
Drup: in ocsigen/tutorial, right?
<Drup>
Yes.
sh0t has quit [Ping timeout: 250 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
toaoMgeorge has left #ocaml ["Leaving"]
sh0t has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
noddy has quit [Ping timeout: 276 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
ggole has quit [Ping timeout: 260 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<please_help>
When I try to access the reference server-side, I get "unbound value [the reference name]", when I try to access the reference client-side, I get "unbound module Eliom_reference"...
<please_help>
I put my references together in a module that is to be accessed by the various other modules that need to refer to them.
deko-pyon has quit [Quit: fix urxvt's config]
deko-pyon has joined #ocaml
<Drup>
can't answer the first, it looks like an error in your code
<Drup>
for the second, Eliom_reference is server side only. If you want to acces it from the client, you need to use a server_function (hence rpc)
<Drup>
(or just the usual injection stuff)
<orbitz>
Hello, is there a suggested library for if one wants to run a program and get its output?
<please_help>
Whether or not I open the module (i.e. [%%server open X] ... the_ref) or not (i.e. [%%server ] ... X.the_ref) doesn't seem to affect anything. The module is simply x.eliom in the main directory, and other modules are picked up correctly. I rechecked the name several times in case my eyes were tricking me, but they match... I'll try making a reduced sample.
<orbitz>
Ah, looks like Process might be what I want
martintrojer has quit [Ping timeout: 264 seconds]
<please_help>
OK, the problem was that my module's name conflicted with another.
<Drup>
please_help: enable warnings.
<please_help>
how do I do that (with the ocsigen build system)?
martintrojer has joined #ocaml
<orbitz>
Is thre a suggested md5 implemetnation?
<malc_>
orbitz: man Digest
<orbitz>
Yaay, I find my answers as soon as I ask, twice! :)
kakadu_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
<Drup>
please_help: there is a field for compiler flags somewhere
Emmanuel`_ has joined #ocaml
butts_butts has quit [Read error: Connection reset by peer]
butts_butts has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Haudegen has joined #ocaml
Emmanuel`_ has joined #ocaml
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
mettekou has quit [Read error: Connection reset by peer]
dsheets_ has joined #ocaml
dsheets has quit [Ping timeout: 268 seconds]
dsheets_ has quit [Ping timeout: 246 seconds]
AlexRussia has joined #ocaml
malc_ has quit [Ping timeout: 276 seconds]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 268 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
seangrove has quit [Ping timeout: 276 seconds]
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
<please_help>
Is there a way to send a user to either a generic 404 page (as generated by ocsigen) or an arbitrary page from within a service, such as conditional on the get parameters?
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
seangrove has joined #ocaml
seangrove has quit [Ping timeout: 246 seconds]
mettekou has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
t4nk105 has joined #ocaml
seangrove has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
seangrove has quit [Ping timeout: 240 seconds]
mettekou has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seangrove has joined #ocaml
slicefd has quit [Quit: WeeChat 1.4]
<t4nk105>
What's the deal with bytes and --safe-string these days? I'm on 4.02.3 with utop. On utop I have Bytes and Bytes.of_string available but not in any code I write. Functions expecting bytes leave me using Bigbuffer.to_bytes which is really circumloquacious. Perhaps I have a misconfiguration, or is Bytes not available? Or how do I provide an arg as type bytes when I used to write "a string" in quotes and that used to suffice?
<Drup>
Bigbuffer ? That sounds like a core thing
<t4nk105>
It is a core thing. So what?
Emmanuel`_ has quit [Quit: Konversation terminated!]
<Drup>
Than you might have code shadowing the usual modules ..
Emmanuel`_ has joined #ocaml
<Drup>
core*
<t4nk105>
I'll check that out. Didnt know core shadows bytes with ... nothing?
nicholasf has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
Emmanuel`_ has quit [Quit: Konversation terminated!]
Emmanuel`_ has joined #ocaml
nicholasf has quit [Remote host closed the connection]