This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-19
Channels
- # beginners (37)
- # boot (96)
- # cider (23)
- # clara (2)
- # cljs-dev (40)
- # clojars (1)
- # clojure (149)
- # clojure-conj (1)
- # clojure-dev (2)
- # clojure-dusseldorf (5)
- # clojure-france (82)
- # clojure-italy (1)
- # clojure-nlp (1)
- # clojure-russia (13)
- # clojure-spec (24)
- # clojure-uk (62)
- # clojurescript (131)
- # core-async (13)
- # core-logic (7)
- # data-science (1)
- # datomic (10)
- # defnpodcast (3)
- # docker (4)
- # emacs (3)
- # events (4)
- # hoplon (68)
- # klipse (4)
- # leiningen (1)
- # off-topic (5)
- # om (140)
- # onyx (16)
- # pedestal (24)
- # planck (10)
- # proton (2)
- # re-frame (9)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (16)
- # untangled (5)
- # vim (8)
- # yada (30)
@malcolmsparks thanks for the new bidi, that’s fixed my vhosts-model issue.
@peterwestmacott it's odd but when @stijn asked yesterday I could have sworn the vhosts wildcard thing was in the released bidi, that's why your issue confused me. At least now it's mystery solved.
@stijn yes certainly. Have a look under dev/ in the repo. Grep for Consumer
@malcolmsparks ah, interesting, yada.consume/save-to-file is using java NIO to write the chunks to a file?
Yes. It's fully async.
The throughput is pretty good. ~200Mb/s
is there a way of communicating to the client how much data has been saved? or does the client need to keep track of that?
Websockets?
I don't know what upload sites give feedback. Most image uploaders seem to give spinners
I think if you use built in FormData you don't get feedback. Not sure.
Does FormData have an api?
But you could set up some signalling between your yada part consumer and your client
What does youtube do?
well, i know we allow our users to upload “huge” files, and we chunk those files in the frontend
@stijn off topic but who's at euroclojure next week?
yada definitely needs to support partials and soon!
yes, although you can perfectly “hack” your way around it by just provided a ?offset=X param
maybe I'm just going to forward these requests to it or see if the client can upload directly to cloud storage
@malcolmsparks i'll be there from Monday evening to Thursday