This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-29
Channels
- # admin-announcements (4)
- # arachne (19)
- # aws-lambda (3)
- # beginners (10)
- # boot (166)
- # capetown (32)
- # carry (160)
- # cider (5)
- # cljs-dev (5)
- # cljs-edn (19)
- # cljsrn (1)
- # clojure (100)
- # clojure-belgium (2)
- # clojure-dev (8)
- # clojure-greece (13)
- # clojure-new-zealand (12)
- # clojure-poland (1)
- # clojure-russia (93)
- # clojure-sanfrancisco (2)
- # clojure-spec (133)
- # clojure-uk (52)
- # clojurescript (129)
- # cursive (32)
- # datomic (13)
- # defnpodcast (5)
- # devcards (6)
- # dirac (4)
- # emacs (12)
- # euroclojure (5)
- # events (2)
- # hoplon (19)
- # immutant (45)
- # keechma (17)
- # lein-figwheel (27)
- # off-topic (9)
- # om (30)
- # onyx (17)
- # other-languages (3)
- # planck (2)
- # proton (11)
- # re-frame (7)
- # reagent (4)
- # ring (8)
- # sim-testing (2)
- # spacemacs (4)
- # testing (2)
- # untangled (162)
- # utah-clojurians (1)
- # yada (80)
Hey guys looking to get some info for a solution we are designing. https://degree9.typeform.com/to/ZYV2Y7
@flyboarder: > What do you feel is the single most important aspect of your business when it comes to technology?* I don't quite understand this question. Can you rephrase it please or give an example response?
@onetom That is free to interpret, many business' use technology differently
As an example and investigator may say "Video Surveillance"
Hey ok so @jumblerg, here is a crazy question you might know a good solution for. Can you think of a sensible way to wire up a cell to the size of a given elem? I'm trying to do something perhaps a little nuts, auto-size an svg so it is responsive. To do that I can use transform on the svg object (we wired up the h/object tag using hoplon-ui internals, sorry sorry). I can apply a transform to the object (or its outer div) to scale it up to an appropriate size. But to do so I need to apply scale (svg:div). The div size changes based on the viewport size so... 🙂
@adamw: i haven’t done much with svg yet, but here’s some code i was using to get my transforms to scale down the size of the html then fill a space in my dashboard:
(elem :w (r 1 1) :h 300 :r 4 :c white :b 2 :bc (c 0xCCCCCC) :sv :auto :sh :hidden
(elem :w (r 5 1) :h (r 5 1) :x (scale 0.2) :xx :left :xy :top :sv :hidden
(cell= (render view)))
@jumblerg: thanks. When you scale by .2 that's a fixed (known) scale ratio? Is there a way to determine the current viewport size? Perhaps I need to set an event listener on js/window onsize.
for transforms, yeah. we need to make transforms take the same ratio types, but that was a more convenient, direct implementation, and i needed to make a think quick.
plus the browser is inconsistent at every turn; everything is a special case, basically. everytime i think i have an abstraction that’s working well, another one comes along and throws a wrench into things.