Working on that right now, coming in 1.11... :)
I think you’re unlikely to beat reduce-kv, or self reduction on a map
Maps don’t store entries, just kvs. So anything that makes entries that you have to take apart is just additional cost in making and destroying objects
reduce-kv avoids that
:bananadance:
@alexmiller Great to hear! Can you say how it's going to be addressed?
All in good time
You know me: as soon as there are changes on master (or another accessible branch), I'm happy to try them out at work! 🙂
well obviously nothing before 1.10.2 ... likely rc3 coming tomorrow
Will get it on dev a.s.a.p. and onto QA early next week...
Hey!
I followed the "Web Development with Clojure 3Ed" up to the end
It builds a Luminous app with Shadow-cljs app
but when I tried to deploy it to heroku I got into troubles
I did what heroku recommends:
heroku buildpacks:clear
heroku buildpacks:add heroku/nodejs
heroku buildpacks:add heroku/clojure
in order to first have it run npm install
but in the phase of compiling the ClojureScript app I get the error:
[:app] Compiling ...
remote: The required JS dependency "process" is not available, it was required by "node_modules/prop-types/checkPropTypes.js".
...and I am stuck 🙂
any insights?
@adicirstei looks like you don't have shadow-cljs
installed in the project? npm install -D shadow-cljs
Thanks @thheller! I actually needed to add it to actual dependencies not as development dependencies. It seems heroku is ignoring that part.
anyway. it worked.
well, next one: How can I tell it ran the migrations?
I am trying to use aws ses service using cognitect’s aws-api
library. I tried looking for com.cognitect.aws/ses
package in maven but there is nothing. Any ideas 🙂
Nevermind, i found com.cognitect.aws/sesv2
there is also email
not sure if that's older or newer
a few of their api names don't match service names like that
look at latest-releases.edn, that includes the artifact name + AWS service description
https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn
Thank you @alexmiller @ghadi 🙂