avsm changed the topic of #mirage to: mirage 2 released! party on!
dsheets has joined #mirage
dsheets has quit [Ping timeout: 250 seconds]
wildseba1 has joined #mirage
wildseba1 has quit [Ping timeout: 250 seconds]
seliopou_ is now known as seliopou
brson_ has quit [Ping timeout: 260 seconds]
wiredsister has quit [Ping timeout: 276 seconds]
copumpkin has joined #mirage
dsheets has joined #mirage
dsheets has quit [Ping timeout: 250 seconds]
wiredsister has joined #mirage
dsheets has joined #mirage
dsheets has quit [Ping timeout: 250 seconds]
dsheets has joined #mirage
dsheets has quit [Ping timeout: 250 seconds]
pyvpx_ has joined #mirage
_longines has quit [Ping timeout: 276 seconds]
pyvpx has quit [Ping timeout: 276 seconds]
ansiwen_ has joined #mirage
ansiwen has quit [Ping timeout: 276 seconds]
_longines_ has joined #mirage
_longines_ is now known as _longines
copumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mort___ has quit [Quit: Leaving.]
wiredsister has quit [Ping timeout: 248 seconds]
smkz_ has joined #mirage
dograt has joined #mirage
dograt_ has quit [*.net *.split]
smkz has quit [*.net *.split]
dobson has quit [*.net *.split]
dobson has joined #mirage
smkz_ is now known as smkz
jermar has quit [Remote host closed the connection]
jermar has joined #mirage
wildsebastian has joined #mirage
rudenoise has joined #mirage
jermar has quit [Ping timeout: 244 seconds]
jermar has joined #mirage
bsb-the-1 is now known as bsb
djs55 has joined #mirage
dsheets has joined #mirage
pyvpx_ is now known as pyvpx
djs55 has quit [Quit: Leaving.]
ansiwen_ has quit [Ping timeout: 252 seconds]
ansiwen has joined #mirage
djs55 has joined #mirage
mattg has quit [Read error: Connection reset by peer]
mattg has joined #mirage
<
rudenoise>
Anyone got time for a quick Lwt question?
<
rudenoise>
I'm wondering how I'd achieve something similar to Promise.all() from JavaScript, is it Lwt_mvar?
<
hannes>
Lwt.choose I'd say...
<
hannes>
or Lwt.join
<
hannes>
the mvars are similar to erlang-style mailboxes where you put and take values...
<
hannes>
if you want to sync multiple tasks [t1..tn], you either want that any finished (Lwt.choose) or all (Lwt.join)
<
rudenoise>
It works but is quite slow as (I assume) it handles each request/response in turn
<
hannes>
use map_p :)
<
hannes>
(the map_s is the sequential map, map_p the parallel one)
<
rudenoise>
Ha! That's done it, thanks Hannes!
<
hannes>
you're welcome
<
rudenoise>
I'll read the docs a little more closely next time.
<
hannes>
oh, no worries. asking questions is perfectly fine. this channel is too quite anyways (seems like most camels are sleeping) ;)
djs55 has quit [Quit: Leaving.]
djs55 has joined #mirage
dsheets has quit [Remote host closed the connection]
seliopou has quit [Ping timeout: 244 seconds]
seliopou has joined #mirage
dsheets has joined #mirage
mort___ has joined #mirage
djs55 has quit [Quit: Leaving.]
dsheets has quit [Remote host closed the connection]
apache2_ has joined #mirage
apache2 has quit [Ping timeout: 250 seconds]
dsheets has joined #mirage
djs55 has joined #mirage
yegods has joined #mirage
mort___ has quit [Quit: Leaving.]
mort___ has joined #mirage
djs551 has joined #mirage
Druup has joined #mirage
Drup has quit [Ping timeout: 276 seconds]
djs55 has quit [Ping timeout: 276 seconds]
seliopou_ has joined #mirage
seliopou has quit [Ping timeout: 276 seconds]
mattg has quit [Ping timeout: 276 seconds]
demonimin_ has quit [Ping timeout: 276 seconds]
effractur has quit [Ping timeout: 276 seconds]
effractu1 has joined #mirage
demonimin has joined #mirage
mattg has joined #mirage
jerith_ is now known as jerith
dsheets has quit [Remote host closed the connection]
mort___1 has joined #mirage
mort___ has quit [Read error: Connection reset by peer]
dsheets has joined #mirage
hannes has quit [Quit: Coyote finally caught me]
ansiwen has quit [Ping timeout: 264 seconds]
mort___1 has quit [Quit: Leaving.]
yegods_ has joined #mirage
ansiwen has joined #mirage
yegods has quit [Ping timeout: 264 seconds]
<
engil>
Druup: following what you said the other day, I tested creating a custom device to run various shell commands at configure time
mort___ has joined #mirage
<
engil>
But I think I miss something, do I really need to provide the module in the end to the application's main module ?
<
Druup>
engil: you don't, you can just add it as a dependency
aantron has joined #mirage
<
Druup>
engil: alternatively, you can specify it as a job
<
Druup>
it would be nice to have that in functoria directly, actually
<
engil>
thanks, that works well that way :)
<
engil>
(as a deps)
<
engil>
I think I'll keep this solution, way better than crafting some random shell script
<
engil>
what do you mean by having that in functoria directly ?
<
Druup>
engil: having a combinator that, given a shell line, would make a device running it a configure time
<
Druup>
sidenote: you don't even need this Shellconfig module
<
Druup>
just return something like "Functoria.Runtime" as module :)
<
Druup>
Functoria_runtime*
djs55 has joined #mirage
dsheets_ has joined #mirage
djs551 has quit [Ping timeout: 260 seconds]
<
engil>
oh, okay, great :), I could put pretty much whatever I want I think since I'm using my device only as a dep
<
engil>
(if i'm not mistaking)
dsheets has quit [Ping timeout: 260 seconds]
henrytill_ is now known as henrytill
henrytill has joined #mirage
henrytill has quit [Changing host]
djs55 has quit [Quit: Leaving.]
mort___ has quit [Quit: Leaving.]
rudenoise has left #mirage [#mirage]
djs55 has joined #mirage
djs55 has quit [Quit: Leaving.]
wildsebastian has quit [Ping timeout: 276 seconds]
dsheets_ has quit [Ping timeout: 276 seconds]
wiredsister has joined #mirage
djs55 has joined #mirage
brson has joined #mirage
dsheets has joined #mirage
djs55 has quit [Client Quit]
djs55 has joined #mirage
demonimin has quit [Quit: No Ping reply in 180 seconds.]
demonimin has joined #mirage
effractu1 is now known as effractur
djs55 has quit [Quit: Leaving.]
dsheets has quit [Remote host closed the connection]
dsheets has joined #mirage
dsheets has quit [Remote host closed the connection]
djs55 has joined #mirage
dsheets has joined #mirage
dsheets has quit [Ping timeout: 264 seconds]
<
reynir>
I've had problems with doing ~7000 requests using map_p
Druup is now known as Drup
dsheets has joined #mirage
brson_ has joined #mirage
yegods has joined #mirage
brson has quit [Ping timeout: 276 seconds]
yegods_ has quit [Ping timeout: 276 seconds]
wildsebastian has joined #mirage
djs55 has quit [Quit: Leaving.]
justincormack_ is now known as justincormack
rudenoise has joined #mirage
hannes has joined #mirage
hannes has quit [Client Quit]
hannes has joined #mirage
dsheets has quit [Remote host closed the connection]
wiredsister has quit [Ping timeout: 268 seconds]
rudenoise has left #mirage [#mirage]
dsheets has joined #mirage
dsheets has quit [Ping timeout: 260 seconds]
dsheets has joined #mirage
dsheets has quit [Ping timeout: 250 seconds]
rsFF has quit [Ping timeout: 250 seconds]
effractur has quit [Ping timeout: 268 seconds]
effractur has joined #mirage
rsFF has joined #mirage
dsheets has joined #mirage
dsheets has quit [Ping timeout: 250 seconds]
wildsebastian has quit [Quit: WeeChat 1.4]
mort___ has joined #mirage