<Algebr>
hmm, so is unison the biggest success story?
wu_ng has quit [Ping timeout: 250 seconds]
<reynir>
Uh, I dunno, it was just the first example I could think of that uses lablgtk in the debian repos
<reynir>
Can you search for build time dependencies?
<Algebr>
no, don't think so
<Algebr>
apt doesn't expose that
<Algebr>
also this one which is supposedly transitive: apt-rdepends -r liblablgtk2-ocaml
<Algebr>
apt-rdepends is some extra perl program
<flux>
but you could do it from the apt data in /var
<flux>
because apt-get source works without consulting the internet
<flux>
hmm, I mean build-dep
<reynir>
(One day I should learn more about debian packaging)
<Algebr>
infinity0: since you know debian really well and if you have time, can you help us know what is the most popular application that uses liblablgtk2-ocaml?
<Algebr>
this more than 5 param splitting in two is a hassle, thinking about just wrapping all params in a record
<reynir>
0install also uses lablgtk
<reynir>
heh, maybe it's easiest to search rdepends in opam and check if there's a corresponding package in debian
brunoro has joined #ocaml
_andre has joined #ocaml
<Onemorenickname>
I don't know if it's appropriate to ask here : but, any one knows how to comment/uncomment line with the emacs tuareg-mode ?
kakadu has quit [Quit: Konversation terminated!]
kakadu has joined #ocaml
Algebr has quit [Ping timeout: 250 seconds]
fluter has joined #ocaml
fraggle-boate_ has quit [Ping timeout: 250 seconds]
argent_smith1 has joined #ocaml
argent_smith has quit [Ping timeout: 252 seconds]
fraggle-boate_ has joined #ocaml
Algebr has joined #ocaml
libertas has quit [Ping timeout: 245 seconds]
jnavila has quit [Quit: Konversation terminated!]
jnavila has joined #ocaml
conrad4 has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
conrad4 has quit [Ping timeout: 260 seconds]
freusque has joined #ocaml
dmi3y has quit [Quit: dmi3y]
redsteg has joined #ocaml
govg has quit [Ping timeout: 250 seconds]
redsteg has quit [Ping timeout: 252 seconds]
brunoro has quit [Ping timeout: 250 seconds]
Simn has quit [Ping timeout: 250 seconds]
dmi3y has joined #ocaml
freusque has quit [Ping timeout: 250 seconds]
Algebr has quit [Ping timeout: 260 seconds]
TarVanimelde has quit [Quit: Leaving]
MercurialAlchemi has joined #ocaml
freusque has joined #ocaml
aphprentice has quit [Ping timeout: 250 seconds]
andreypopp has quit [Ping timeout: 250 seconds]
aphprentice has joined #ocaml
andreypopp has joined #ocaml
brunoro has joined #ocaml
Algebr has joined #ocaml
freusque has quit [Client Quit]
aphprentice has quit [Client Quit]
inr_ has joined #ocaml
freusque has joined #ocaml
inr has quit [Ping timeout: 252 seconds]
quicquid has joined #ocaml
Algebr has quit [Remote host closed the connection]
Algebr has joined #ocaml
freusque has quit [Quit: WeeChat 1.5]
<vinoski>
Onemorenickname: see the docs for comment-dwim. put the line in a region and hit M-;
silver_ has joined #ocaml
smondet has quit [Ping timeout: 260 seconds]
conrad4 has joined #ocaml
jnavila has quit [Ping timeout: 268 seconds]
conrad4 has quit [Ping timeout: 250 seconds]
slash^ has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
Sorella has joined #ocaml
stux|RC-only has quit [Ping timeout: 260 seconds]
stux|RC-only has joined #ocaml
<AltGr>
What is the normal way of installing cmx etc. files for libraries with packed modules ?
<AltGr>
hm, I guess I'll use subdirectories and findlib's `directory =` directive, although I couldn't find many examples
<Drup>
(if you are looking for an example of library using findlib's "directory", there is eliom)
jao has joined #ocaml
<Drup>
(no idea about the other one, I usually just trust oasis to do the right thing ...)
Algebr has quit [Ping timeout: 265 seconds]
inr_ is now known as inr
<AltGr>
thanks
shinnya has joined #ocaml
<rand__>
Drup: hey, why is the interface of Eliom_shared.React.S not full?
<Drup>
it seems to be only the server side that is not complete
yomimono has joined #ocaml
<rand__>
yes I were thinking of making all my react become client-side until serverside gets fully implemented - can't really mix and match the two (only one-way)
<rand__>
.. and when it's only one-way then there is not much point in writing server-side react code if one wants the full interface, or what is your view?
<rand__>
I could have a look at extending the serverside eliom_shared.S if I get time though
<Drup>
at least please report it
<rand__>
mm I will
Algebr has quit [Ping timeout: 250 seconds]
wxfdglm has joined #ocaml
<Drup>
the goal of Eliom_shared is that you can define stuff with client reactive behaviors on the server, so that you get an initial page and that it works with js disabled
<rand__>
mmm and that's cool - but I'm missing the functionality (:
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Onemorenickname has quit [Read error: Connection reset by peer]
<rand__>
else I need to replace the reactive nodes with js later, and I loose the declarativeness
noddy has quit [Ping timeout: 265 seconds]
AlexDenisov has joined #ocaml
almynic has joined #ocaml
<almynic>
can someone recommend na ide for ocaml
Algebr has joined #ocaml
AlexDenisov has quit [Client Quit]
<almynic>
can someone recommend a ide for ocaml
<almynic>
i'm a beginner with ocaml but i'm not a beginner in programming. I already programmed in c, java, c++ and some other languages
<rand__>
I can recommend emacs + merlin, but it's also possible to use merlin with vim and I think sublime-text
Algebr has quit [Ping timeout: 244 seconds]
noddy has joined #ocaml
AlexDenisov has joined #ocaml
marsam has joined #ocaml
<jmasseo>
there are a stack of plugins for emacs
<jmasseo>
prelude comes with an ocaml mode
Algebr has joined #ocaml
<jmasseo>
it has most of the things
<jmasseo>
it might be missing merlin or tuareg
ocaml461 has joined #ocaml
<jmasseo>
but you can just add that in
<jmasseo>
i mean, it's emacs, so it is what it is. if you've never used it or lisp before, it may be daunting.
ryanartecona has joined #ocaml
al-damiri has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 250 seconds]
Mercuria1Alchemi has quit [Ping timeout: 260 seconds]
<hannes>
do I understand this correctly: Lwt_mutex is a non-recursive lock, and I cannot see whether my task owns it (there is is_locked, and is_empty, but they claim to report the overall state of the mutex, not connected to the task)
<aantron>
hannes: believe so
<hannes>
hmm, so that's rather useless, isn't it?
<aantron>
perhaps. some people found a use for it, but i suppose it's not always the right thing
<aantron>
(adding a todo to look into it)
<hannes>
ic, thx
<aantron>
if you have interest in changing the interface, the current implementation is about 25 lines long. so it shouldn't be hard to edit.. havent given any thoughts to backwards compatibility, though
sh0t has joined #ocaml
<aantron>
however im not sure about lwt's notion of a "current task"
<hannes>
aantron: my main interest is to solve an actual problem, and waiiting for a lwt release cycle is not an option atm..
<aantron>
understood
veggie_ has joined #ocaml
<hannes>
but thx for confirming my suspicions... having the possiblity to create a recursive lock would help in lots of situations (according to my experience)
<aantron>
would still be interested in how you solve it, if you have time to briefly describe it at some later date
<aantron>
yep suppose so.. though never needed it in ocaml specifically
<hannes>
I'll likely use a Lwt_condition and write more code
ocaml908 has joined #ocaml
<ocaml908>
print_string "hey";;
<ocaml908>
hey
<quicquid>
:)
<hannes>
the problem I want to solve: given a single TCP connection/stream, I want to send data over it from multiple tasks. each send should be finished before another is executed.
<aantron>
hello - : unit = ()
ocaml894 has joined #ocaml
<hannes>
and what makes it slightly more complicated that TCP sessions may finish/die, and then there needs to be reconnect logic involved (which should only be run by one task, otherwise I end up with 5 connections)
<ocaml894>
hello loves <3
<ocaml908>
@hannes use java
<hannes>
ocaml908: I guess you're in the wrong channel
<ocaml908>
okay sorry, bye :****
<ocaml894>
who of you are playing Battlefield 1? oh right i wanted to join the BFxXN0sc0p3Xx360xXx channel
ocaml908 has left #ocaml [#ocaml]
<Algebr>
not quite relevant here...
<Leonidas>
agreed
ocaml894 has left #ocaml [#ocaml]
<aantron>
hannes: do you want to do something like have any of these 5 tasks be able to take the mutex if the reconnection logic has to be run, even if they already have taken it for sending?
<hannes>
aantron: atm I'd take the mutex before sending, and if sending fails do the reconnect and call send again... but then the mutex is already locked by the task, and I'm not able to lock it again
ryanartecona has joined #ocaml
<hannes>
I plan to run the reconnect logic within the same mutex (to ensure that not 3 tasks try to establish connections)
<hannes>
ah, but I can just unlock at the end of reconnect...
<aantron>
hannes: one thing about lwt, is that there is no notion of a "task" in a sense that persists across binds
rossberg has quit [Ping timeout: 250 seconds]
<aantron>
at least afaik :)
<hannes>
oh... maybe I should just not use any of those asynchronous things all together ;)
<hannes>
I usually fail when it comes to tasks or mutable state
<aantron>
it seems like calling send from one loop that also does reconnect would take care of this.. your 5 current "tasks" would generate the values for this loop to consume.. or something is missing?
<hannes>
..from one loop.. would mean a separate Lwt.async task (which loops over a stream/...)?
<aantron>
sure. it doesn't actually matter for its operation if it's invoked inside Lwt.async or not
zpe has quit [Remote host closed the connection]
copy` has joined #ocaml
<hannes>
yes/no... it is an option I thought about, but unfortunately the upper interface (which I do not control) has both synchronous and asynchronous behaviour (depending on call site)
stas has joined #ocaml
stas has quit [Client Quit]
rossberg has joined #ocaml
<aantron>
i.e. sometimes you need to complete a thread only when the send completes?
quicquid has left #ocaml [#ocaml]
<aantron>
you could pass pairs of buffers and Lwt.u's to the loop :)
noddy has quit [Ping timeout: 244 seconds]
govg has joined #ocaml
kamog has joined #ocaml
ChristopheT has joined #ocaml
eh_eff has joined #ocaml
dmi3y has quit [Quit: dmi3y]
slash^ has joined #ocaml
Algebr has quit [Ping timeout: 250 seconds]
annoymouse has joined #ocaml
jnavila has joined #ocaml
silver_ is now known as silver
sepp2k has quit [Quit: Leaving.]
conrad4 has joined #ocaml
johnf_ has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jao has joined #ocaml
conrad4 has quit [Ping timeout: 252 seconds]
dmi3y has joined #ocaml
dmi3y has quit [Client Quit]
dmi3y has joined #ocaml
Algebr has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
yomimono has quit [Ping timeout: 260 seconds]
brunoro has quit [Ping timeout: 245 seconds]
ChristopheT has quit [Ping timeout: 250 seconds]
jnavila has quit [Ping timeout: 252 seconds]
marsam has quit [Read error: Connection reset by peer]
d0nn1e has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ocaml
noddy has joined #ocaml
th5 has joined #ocaml
yomimono has joined #ocaml
kamog` has joined #ocaml
fraggle_ has quit [Ping timeout: 250 seconds]
kamog` has quit [Remote host closed the connection]
marsam has joined #ocaml
kamog has quit [Ping timeout: 260 seconds]
fraggle_ has joined #ocaml
manizzle has quit [Remote host closed the connection]
manizzle has joined #ocaml
dmi3y has quit [Quit: dmi3y]
dmi3y has joined #ocaml
sillyotter has joined #ocaml
brunoro has joined #ocaml
sillyotter has quit [Client Quit]
AlexDenisov has joined #ocaml
dmi3y has quit [Quit: dmi3y]
smondet has joined #ocaml
ygrek has joined #ocaml
veggie_ has quit [Ping timeout: 245 seconds]
jeffmo has joined #ocaml
brunoro has quit [Ping timeout: 260 seconds]
wxfdglm has quit [Ping timeout: 250 seconds]
wxfdglm has joined #ocaml
ryanartecona has quit [Quit: ryanartecona]
demonimin has quit [Ping timeout: 252 seconds]
veggie_ has joined #ocaml
conrad4 has joined #ocaml
<Drup>
aantron: I see you have found a new cross to bear :D
Orion3k has joined #ocaml
AltGr has left #ocaml [#ocaml]
<Drup>
(ast cross version compat layer)
veggie_ has quit [Ping timeout: 260 seconds]
noddy has quit [Ping timeout: 244 seconds]
_andre has quit [Quit: leaving]
conrad4 has quit [Ping timeout: 252 seconds]
djellemah_ has joined #ocaml
AlexDeni_ has joined #ocaml
AlexDenisov has quit [Read error: Connection reset by peer]
demonimin has joined #ocaml
brunoro has joined #ocaml
Denommus has joined #ocaml
AlexDeni_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexDenisov has joined #ocaml
eh_eff has quit [Ping timeout: 250 seconds]
slash^ has quit [Read error: Connection reset by peer]
<rand__>
wondering if there is a simple way to delay a client computation in an Eliom App until some path is visited (and re-run each time)?
<rand__>
like a callback registered at page/path visit in App
brunoro has quit [Ping timeout: 268 seconds]
johnf_ has quit [Remote host closed the connection]
<Denommus>
rand__: hm, I would use react to send an event whenever the path is visited, and then map it to the callback
dmi3y has joined #ocaml
<Drup>
rand__: well, aren't services made for that ?
lyxia has quit [Ping timeout: 250 seconds]
<rand__>
Drup: yes - but as my services are all registered in main module - all client-side code seems to get run the first time page loads with some service @ App
kakadu_ has joined #ocaml
<rand__>
maybe I've misunderstood; I'm actually supposed to define my client-code to be run inside service creation
lyxia has joined #ocaml
<rand__>
can see how that would work
<Drup>
`let _ = [%client my_client_code ] in ...` inside your service handler ?
<rand__>
I see... just getting confused separating my content creation from my service creation (;
<rand__>
.. made some combinators for generating paths with a list of content - therefore it didn't seem obvious
<Drup>
Careful code separation is important, even when you have eliom magic :p
<rand__>
hehe
veggie_ has joined #ocaml
<aantron>
Drup: :D
jnavila has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 268 seconds]
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
eh_eff has joined #ocaml
pierpa has joined #ocaml
brunoro has joined #ocaml
th5 has quit []
eh_eff has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
dmi3y has quit [Quit: dmi3y]
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 268 seconds]
veggie_ has quit [Ping timeout: 250 seconds]
brunoro has quit [Ping timeout: 265 seconds]
ryanartecona has joined #ocaml
ygrek has quit [Remote host closed the connection]
veggie_ has joined #ocaml
ygrek has joined #ocaml
richi235 has quit [Read error: Connection reset by peer]
richi235 has joined #ocaml
whisperedcigar has quit [Ping timeout: 245 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 268 seconds]
Sim_n has joined #ocaml
wxfdglm has quit [Quit: leaving]
eh_eff has joined #ocaml
Simn has quit [Ping timeout: 260 seconds]
brunoro has joined #ocaml
brunoro has quit [Ping timeout: 256 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
conrad4 has joined #ocaml
zpe has quit [Ping timeout: 244 seconds]
d0nn1e is now known as don
conrad4 has quit [Ping timeout: 256 seconds]
don is now known as Guest94844
Algebr has quit [Ping timeout: 245 seconds]
Guest94844 is now known as d0nn1e
redsteg has joined #ocaml
zv has quit [Ping timeout: 250 seconds]
brunoro has joined #ocaml
djellemah_ has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
redsteg has quit [Ping timeout: 268 seconds]
zv has joined #ocaml
Denommus has quit [Quit: going home]
brunoro has quit [Ping timeout: 250 seconds]
shinnya has joined #ocaml
brunoro has joined #ocaml
jnavila has quit [Remote host closed the connection]
ryanartecona has joined #ocaml
michbad has joined #ocaml
yomimono has quit [Ping timeout: 245 seconds]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sh0t has quit [Quit: Leaving]
troydm has quit [Ping timeout: 252 seconds]
Sim_n has quit [Quit: Leaving]
brunoro has quit [Ping timeout: 268 seconds]
marsam has quit [Remote host closed the connection]
silver_ has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]