Re: [ClojureScript] lein gorilla :port 8990 fails because "Call to clojure.core/ns did not conform to spec"

2019-10-12 Thread Sean Johnson
Kelvin, Andy's reply is the key. You need to switch Gorilla REPL to the patched version. Your plugins line should contain: [org.clojars.benfb/lein-gorilla "0.6.0"] Cheers, Sean On Thursday, October 10, 2019 at 2:37:41 PM UTC-4, Kelvin T wrote: > > My project.clj is as follows:

RE: [ClojureScript] What is clojurescript 1.9.495?

2017-03-30 Thread Sean Corfield
According to Maven Central, 1.9.495 is from March 1st and looking at the commits, that means that this single commit is the difference between 1.9.494: https://github.com/clojure/clojurescript/commit/86f26bf267f1c729313320c38e53e64450c0e68d The README just didn’t get updated. Sean Corfield

Re: [ClojureScript] ERROR: contains? not supported on type: clojure.lang.PersistentList

2016-08-18 Thread Sean Corfield
even :refer by name). Glad you got it working. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Note that posts from new members are moderated - please b

Re: [ClojureScript] ERROR: contains? not supported on type: clojure.lang.PersistentList

2016-08-17 Thread Sean Corfield
Based on the stacktrace, contains? is called from: cljs.analyzer$core_name_QMARK_.invokeStatic analyzer.cljc: 729 so I suspect this may be a syntax error in your code (are you calling to-array somewhere?). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View

Re: [ClojureScript] java.lang.RuntimeException: No such var: string/index-of

2016-08-17 Thread Sean Corfield
Sounds like you’re pulling in Clojure 1.7.0 there. What does boot –V show you? clojure.string/index-of was new in Clojure 1.8.0 Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -

RE: [ClojureScript] Re: clojure.spec

2016-05-29 Thread sean
Is it likely that we’ll see a common clojure.spec implementation in .cljc files rather than separate .clj / .cljs files? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org From: David Nolen -- Note that posts from new members are moderated - please be patient with your

Re: [ClojureScript] Paredit and Om - question about indentation

2016-02-11 Thread Sean Irby
It looks like the way to do this now is the following: (setq clojure-indent-style :always-indent) Replying only in case other people are coming to this thread from a google search. On Wednesday, June 25, 2014 at 5:24:49 AM UTC-7, William Sommers wrote: > Thank you! This seems to fix it. > >

[ClojureScript] Boot running on Windows (was: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-31 Thread Sean Corfield
know that’s a common sticking point with some tooling on Windows). I do not have a Windows 7 VM to test things on. And, yes, I am a bit of a masochist for having an Emacs / Leiningen / Clojure environment on Windows XP :) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org

Re: [ClojureScript] Re: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-27 Thread Sean Corfield
, Leiningen also treated Windows as a bit of a second-class citizen (the packaged installer made it much better, since you no longer need a third-party curl/wget installed just to use the Leiningen .bat script). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If y

Re: [ClojureScript] Re: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-25 Thread Sean Corfield
complete on dev/QA today). Sean -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving e

[ClojureScript] Using Angular as a view layer for re-frame

2015-05-25 Thread Sean Tempesta
/angularWatchAppDB.html But I think that's not the right way to do it. Any ideas? Code is on Github here: https://github.com/seantempesta/Re-Frame-Angular-Test Both Angular examples and the Reagent version are on this test page: http://clojure.tempesta.io/Re-Frame-Angular-Test/ Sean -- Note

Re: [ClojureScript] Re: Using a state machine to design/program UI ?

2015-05-18 Thread Sean Tempesta
something. I haven't built an FSM in a while. :) Sean On Monday, May 18, 2015 at 6:07:22 PM UTC+8, Khalid Jebbari wrote: Trying to push forward the discussion about Web UI with state machines. I came up with the following decomposition of the core components of a web application

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer latest Closure Compiler / Library

2015-05-11 Thread Sean Grove
Honestly curious what you mean by compile clojurescript snippets on the fly, and why you're not able to stay on the current ClojureScript version until Clojure 1.7 is stable/released - is there a bug/security/feature in a library that's switched over that's forcing your hand? On Mon, May 11, 2015

Re: [ClojureScript] Re: [ANN] Clojure 1.7.0-beta1 released

2015-04-14 Thread Sean Corfield
) clojure.tools.nrepl.middleware.interruptible-eval/evaluate/fn--876 (interruptible_eval.clj:53) clojure.core/apply (core.clj:628) nil user= Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French

Re: [ClojureScript] Unexpected token return in a case form returning a function

2015-04-03 Thread Sean Corfield
). I expect we’ll have to ramp up on a whole new set of tooling as things seem to be changing so fast in the cljs world (still!). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880

Re: [ClojureScript] Unexpected token return in a case form returning a function

2015-04-02 Thread Sean Corfield
of function context to be in play while compiling the first argument? Sean On Apr 2, 2015, at 6:58 PM, Mike Fikes mikefike...@gmail.com wrote: I haven’t looked into the root cause, but if it helps, here is the emitted JS: https://gist.github.com/mfikes/a6106afedd37b7e47138 - Mike On Apr 2

Re: [ClojureScript] Clojurescript roadmap for ES6

2015-01-13 Thread Sean Corfield
users worldwide and a lot of them non-technical consumers using older computers, we only recently dropped support for IE7! Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880

[ClojureScript] [ANN] POSThere.io 1.0.0

2015-01-12 Thread Sean Johnson
, huh? It’s written in Clojure and ClojureScript and it's open source! Check the code and verify we don’t do anything nefarious, or host it yourself. http://github.com/path/posthere.io Cheers, Sean -- Note that posts from new members are moderated - please be patient with your first post

[ClojureScript] Re: [ANN] cuerdas 0.1.0: A string manipulation library for clojure and clojurescript.

2014-12-24 Thread Sean Johnson
if nil Cheers, Sean On Tuesday, December 23, 2014 12:48:35 PM UTC-5, Andrey Antukh wrote: Hello everybody. I wanted to announce the first release of cuerdas. A string manipulation library for clojure and clojurescript. It is mainly based on underscore.string and string.js, but also

Re: [ClojureScript] Om or quiescent ?

2014-11-28 Thread Sean Corfield
the code base quite a bit). Our grounding in Om really helped us in designing Reagent components that could be reused more easily. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880

[ClojureScript] Re: om - focused re-rendering

2014-11-06 Thread Sean Johnson
, organization, herding cats). Cheers, Sean [0] http://joyofclojure.com/ [1] http://clojure-cookbook.com [2] https://github.com/clojure-cookbook/clojure-cookbook -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you

Re: [ClojureScript] om and IE8 (including shims) error

2014-10-30 Thread Sean Corfield
If it helps, Sente does work with IE8 (core.async over web sockets with fallback to long polling etc). On Oct 30, 2014, at 6:30 AM, Colin Yates colin.ya...@gmail.com wrote: Never mind, nothing to see here. Operator error (https://github.com/yatesco/om-tut proves it works). Now if only

Re: [ClojureScript] (newbie) Om/reagent (and react) clarity questions

2014-10-24 Thread Sean Corfield
may suit you better, depending on what you're trying to build and what style of ClojureScript code you prefer. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- Note

Re: [ClojureScript] Reagent atom read problem

2014-10-22 Thread Sean Corfield
separate (the idiom above). Sean On Oct 22, 2014, at 6:31 AM, Adam Krieg adammkr...@gmail.com wrote: I'm using an on-click callback to reset an atom and reading it in another div and the div doesn't see the updated value, it just sees nil. This seems to be a straightforward task, but I'm

Re: [ClojureScript] ANN: Om 0.8.0-alpha1, Reference Cursors!

2014-10-18 Thread Sean Grove
I'm looking forward to playing with it as well. Definitely seems like a thoughtful experiment - thanks David. On Sat, Oct 18, 2014 at 9:19 AM, Daniel Kersten dkers...@gmail.com wrote: Fantastic work, David! Thank you for all your hard work on Om! This is definitely an exciting release and I

Re: [ClojureScript] ANN: ClojureScript 0.0-2341, Improved Analysis Transducers

2014-09-23 Thread Sean Corfield
Do you know off-hand if those fixes are in 0.1.346.0-17112a-alpha which is the latest available version of core.async? Sean On Sep 23, 2014, at 1:09 AM, David Nolen dnolen.li...@gmail.com wrote: Those are errors in core.async already fixed in master. On Tuesday, September 23, 2014, Denis

Re: [ClojureScript] Reagent + Data visualization (c2? strokes?)

2014-09-09 Thread Sean Corfield
/app-state) (.. js/document (getElementById d3-node) -firstChild remove) (line-graph (data/make-target (:data/text @data/app-state)})) (That's slightly modified from what a direction translation of om-sente would be I suspect but is still pretty close) Sean On Sep 9, 2014

[ClojureScript] Om/Sablono and Reagent (was: reagent-forms a simple data binding library for Reagent

2014-09-09 Thread Sean Corfield
wouldn't be embarking on our ClojureScript journey for (internal) applications at World Singles: everything else we'd looked at before seemed to be a heap of JS interop, built on top of JS frameworks, which hadn't been enough to tempt us away from pure JS front ends... Sean Corfield -- (904

Re: [ClojureScript] Re: Reagent + Data visualization (c2? strokes?)

2014-09-09 Thread Sean Corfield
(relatively) straightforward it was to do raw SVG manipulation from Om and Reagent. D3 is certainly very powerful but the JS interop is painful. NVD3 seems like a good compromise if you want graphs (and your needs fit with what NVD3 has built in). Sean Corfield -- (904) 302-SEAN An Architect's View

Re: [ClojureScript] [ANN] reagent-forms a simple data binding library for Reagent

2014-09-08 Thread Sean Corfield
That looks great Dmitri! We've just made the switch from Om/Sablono to Reagent so this will be very handy for us I expect. Sean On Sep 8, 2014, at 3:05 PM, Dmitri Sotnikov dmitri.sotni...@gmail.com wrote: The goal of the library is to automate the process of binding form elements

[ClojureScript] Re: Tetris in ClojureScript using core.async

2014-08-18 Thread Sean Johnson
On Sunday, August 17, 2014 10:58:25 AM UTC-4, Tamas Szabo wrote: Hi, I've wrote a Tetris to play around with core.async. If anyone is interested you can play it here: http://tamas-szabo.com/tetris/ Hosted on GitHub: https://github.com/sztamas/tetris Thanks, Tamas Nice work

Re: [ClojureScript] Re: [ANN] Longshi a ClojureScript port of Fressian

2014-08-02 Thread Sean Grove
I thought transit's caching only applied to map keys? Pretty unclear on what Fressian's can do On Sat, Aug 2, 2014 at 8:23 AM, Alex Miller a...@puredanger.com wrote: Cool stuff Peter. It would be interesting to compare performance with transit-cljs https://github.com/cognitect/transit-cljs.

Re: [ClojureScript] Warning: Only React Components are valid for mounting.

2014-07-25 Thread Sean Corfield
app-state {:target (.getElementById js/document app)}) This compiles without warnings and runs as expected. Sean On Jul 25, 2014, at 5:26 PM, Makoto Hashimoto tokomakoma...@gmail.com wrote: Hi Sean, The code is as follows: (def app-state (atom {:count 0 :interval 1000})) (defn

Re: [ClojureScript] Send large immutable data structure with a lot of sharing back and forth to the server

2014-07-23 Thread Sean Grove
We've been exploring lots of different options for this as well. Not quite ready to share it yet, but there's no out-of-the-box solution to do this efficiently yet it seems. On Wed, Jul 23, 2014 at 10:47 AM, Anton Astashov anton.astas...@gmail.com wrote: Hello, Is there any good way to send

Re: [ClojureScript] Update Om demo with time travelling debugger

2014-07-14 Thread Sean Grove
Very nice! Very fast as well, fun to scroll through. On Mon, Jul 14, 2014 at 11:44 AM, Zubair Quraishi zuba...@gmail.com wrote: http://connecttous.co/connecttous/connecttous.html?livedebug=true Play around with the app and then press Debug at the top. Then either drag the slide to view the

Re: [ClojureScript] Re: ClojureScript with om on IE8 and IE9

2014-06-25 Thread Sean Grove
Very good idea to use Sauce Labs for this sort of thing. As a disclaimer I worked there years ago, but I still think it's a great convenience to be able to test against an array of browsers very easily in terms of infrastructure, and Om makes it so easy to test complex app flows... On Tue, Jun

Re: [ClojureScript] ClojureScript with om on IE8 and IE9

2014-06-25 Thread Sean Corfield
doesn't support)... Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [ClojureScript] Editing Om input properly with a set :value

2014-06-04 Thread Sean Grove
If you just want the value set initially, and you want the user to be able to change it freely, you can use the :defaultValue attribute instead of :value. On Wed, Jun 4, 2014 at 8:33 AM, Roberto Oliveros robertoolive...@mac.com wrote: I need to display an input element with an initial value

Re: [ClojureScript] Accessing the real DOM from Om

2014-05-29 Thread Sean Corfield
You may also find this helpful: https://github.com/seancorfield/om-sente/blob/master/src/cljs/om_sente/core.cljs It builds graphs three ways: * using Om to do animation * using D3 raw * using NVD3 raw Sean On May 29, 2014, at 3:41 AM, Juan Manuel Gimeno Illa jmgim...@gmail.com wrote: Thanks

Re: [ClojureScript] Why is cursor nil in om/IInitState

2014-05-05 Thread Sean Corfield
to think carefully about how and where you are modifying the global / local state - anything that is not changing is probably better placed in options (e.g., channels etc). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave

Re: [ClojureScript] Difference between init-state and state in om/build

2014-05-05 Thread Sean Corfield
on the component. :state - a map of state to merge into the component. The former is the entire state, the latter is merged into whatever state is setup (via IInitState's init-state function). Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy

Re: [ClojureScript] Om: where to organize shared state?

2014-05-02 Thread Sean Corfield
, e.g. to show or hide panels, to switch the cat being displayed. My understanding so far is: 1. app-state, cursors 2. local component state 3. :opts (shared readonly data) If that's not right, I look forward to being educated! -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http

Re: [ClojureScript] Om: Active channels on a removed component

2014-04-30 Thread Sean Corfield
? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) signature.asc Description: Message signed with OpenPGP using GPGMail

[ClojureScript] Om - Terminology around state and component?

2014-04-21 Thread Sean Corfield
the args [app-state application] and it will run the go-loop. Are other folks following the Om examples' lead of app and owner, or are you adopting distinct naming? (and if so, what sort of things?) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ Perfection

Re: [ClojureScript] Need a bit of help with Om

2014-04-06 Thread Sean Corfield
Thank you!!! I went with (reify IRender (render [this] ...)) and that worked too (it'll become a full-blown component later anyway). I totally missed that a (dom/... ) element wasn't just a shorthand for a component. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org

[ClojureScript] Need a bit of help with Om

2014-04-05 Thread Sean Corfield
is displayed. Any help gratefully received!! -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- Note that posts from new

Re: [ClojureScript] Om cursors, external updates and internal data transformations, and future behavior

2014-04-03 Thread Sean Corfield
I've been having with you on IRC and from my only playing with Om, I'd lean toward the former, but the latter is certainly simpler) Sean On Apr 3, 2014, at 9:51 AM, David Nolen dnolen.li...@gmail.com wrote: On Thu, Apr 3, 2014 at 12:17 PM, Don Jackson clojurescr...@dcj.com wrote: Which I take

Re: [ClojureScript] Re: Does anyone find themselves inexorably morphing Om into Backbone?

2014-03-30 Thread Sean Corfield
:) Sean On Sat, Mar 29, 2014 at 9:26 PM, Daniel Bell dchristianb...@gmail.com wrote: Oh, and I don't mean to sound like I'm running around with my head cut off. As I mentioned in the blog post and S. Corfield mentioned earlier, passing channels in as part of the :init-state map works fine

Re: [ClojureScript] Re: Does anyone find themselves inexorably morphing Om into Backbone?

2014-03-29 Thread Sean Grove
Omchaya hasn't been touched in ~25 days, mainly because we've been exploring some pretty deep rabbit-holes around this, and haven't had time to come up and consolidate it all. A few thoughts before I run out: We don't make enough use of Om's features for Omchaya - we should definitely be using

Re: [ClojureScript] Re: Does anyone find themselves inexorably morphing Om into Backbone?

2014-03-29 Thread Sean Grove
Possibly. I don't want to throw anything too experimental out, so if the ideas pan out enough to be worthwhile and I have a chance to clean things up and document it, we'll probably open source it. On Sat, Mar 29, 2014 at 1:42 PM, Rob Knight themanhims...@robknight.org.ukwrote: Sean, I checked

Re: [ClojureScript] cljx question

2014-01-26 Thread Sean Corfield
Argh! I knew it would be something stupid. Thank you! On Jan 26, 2014, at 1:13 PM, Chas Emerick c...@cemerick.com wrote: Looks like plover/util.clj should be renamed to plover/util.cljx? - Chas On Sun 26 Jan 2014 04:03:37 PM EST, Sean Corfield wrote: I'm just trying it out for the first