This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-03
Channels
- # announcements (11)
- # aws (1)
- # beginners (57)
- # calva (14)
- # cider (22)
- # clara (23)
- # cljdoc (21)
- # cljs-dev (14)
- # clojure (76)
- # clojure-austin (3)
- # clojure-europe (32)
- # clojure-finland (1)
- # clojure-gamedev (5)
- # clojure-italy (3)
- # clojure-nl (17)
- # clojure-poland (4)
- # clojure-spec (23)
- # clojure-uk (29)
- # clojurescript (72)
- # cursive (6)
- # data-science (4)
- # datomic (2)
- # dirac (10)
- # duct (3)
- # emacs (1)
- # figwheel-main (10)
- # fulcro (86)
- # jackdaw (5)
- # juxt (2)
- # kaocha (2)
- # leiningen (16)
- # off-topic (47)
- # pathom (46)
- # protorepl (2)
- # reagent (4)
- # reitit (14)
- # ring-swagger (5)
- # shadow-cljs (43)
- # spacemacs (13)
- # sql (13)
- # tools-deps (6)
@richiardiandrea I think you really do have to be a bit careful about introducing new "weird" things, even if they seem objectively better to you (and even if they are pretty much better.) Adoption requires buy-in from a lot of people in most cases. And most people have an aversion to the new and weird. The ground must be laid very carefully.
Yeah I think I have definitely noticed this š
Anyone know how to convert a bezier curve like cubic-bezier(0.42, 0, 0.58, 1.0)
into a function of time?
Using this I can see the relationship but not sure how to turn that into an equation http://cubic-bezier.com/#.42,0,.58,1
Actually, thatās really close to https://github.com/mattdesl/eases/blob/master/sine-in-out.js
According to wikipedia: https://wikimedia.org/api/rest_v1/media/math/render/svg/504c44ca5c5f1da2b6cb1702ad9d1afa27cc1ee0
The CSS form is cubic-bezier(P1x, P1y, P2x, P2y)
, with implicit P0 = {0,0}
& P3 = {1,1}
Thanks, I usually find wikipedia too dense to learn math concepts from but this is really approachable. I shouldnāt have ruled it out so early on. Thanks again for pointing me to it.
Though admittedly, Iām not clear on how to plugin the P coords into it. Where it asks for (1-t)^3P0 for instance, is P0 either P0x or P0y or some combination of the two?
Which is what https://github.com/mattdesl/eases/blob/master/sine-in-out.js gives me
Thatās not quite what Iām looking for, however I did find exactly what I was trying to do: http://greweb.me/2012/02/bezier-curve-based-easing-functions-from-concept-to-implementation/
news from nathan marz: https://medium.com/red-planet-labs/introducing-red-planet-labs-2a0304a67312
cool, I wonder what is referred to by mentioning compilers in the closing sentence: excited to push the boundaries of whatās possible with compilers
that'd be my guess
Is GraalVM+Clojure a thing people are doing in production?
Err, people do all kinds of things, but is it a relatively common and/or not-insanely-difficult thing?
@d4hines once after "warm up", JVM is faster then native-imageĀ¹ I think that makes no sense to move from JVM to a native-image But i see people talking about it on "lambda" scenario https://gist.github.com/mfikes/07be413e34750a9f451bd76d937ff545
āļø Thatās what interests me - the interop.
I don't get the impression it is particularly harder than graalvm+java. There's a gotcha or two in clojure core iirc.
If I worked in a Java shop, I would try the whole āClojure is just a library for Javaā trick, but we do native C++ stuff, where that isnāt an option.
So Iām interested in Graal as a way of making our stuff polyglot.
I donāt know much about LLVM (or native stuff in general actually - this a new world for me). What would it look like? Clojure => Java Byte Code => LLVM => consume from C++?
I think graalvm can consume llvm bytecode for interop, so you can call existing code.
Oh, so go the other way C++ => JVM => Clojure.
Thanks
I think I remember a demo of going nodejs=>java, but haven't seen it actually released
yeah, the polyglot nature of Graal sounds very interesting to me