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: > > (defproject

[ClojureScript] Re: [cljs-ajax] how to post json data like CURL ?

2015-07-04 Thread Sean Johnson
At the risk of promoting my own tool, I created a tool (in Clojure and ClojureScript) to debug just this sort of problem. It's called: POSThere.io ( https://github.com/SnootyMonkey/posthere.io ) Point your cURL command at POSTHere.io (you make up whatever URL you want, so I just used the same o

[ClojureScript] [ANN] POSThere.io 1.0.0

2015-01-12 Thread Sean Johnson
POSThere.io ( http://posthere.io ) is a simple free service for developers to help debug API calls and web hooks. When your code is POSTing to someone else’s code… or they'll be POSTing to you, it can be hard to iterate, debug and validate your code. POSThere.io let's you see what is POSTed (or

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

2014-12-24 Thread Sean Johnson
Very nice work. I'll be using this! Also, I agree with Noam that there's a fairly common expectation of blank? that started in the Ruby world. Here's my suggestion for what it's worth: blank? - true iff "" or nil empty? - true iff "", false if nil whitespace? true iff "" or only white space, fa

[ClojureScript] Re: Controllers in large om app?

2014-11-26 Thread Sean Johnson
Colin, I have no experience with large scale Om apps (hope to soon), but do with large scale React apps in JavaScript. The thing you maybe intuiting is the pattern used to apply React in the large called Flux. Details here: http://facebook.github.io/flux/docs/overview.html#content In addition

[ClojureScript] Re: om - focused re-rendering

2014-11-06 Thread Sean Johnson
> Another question of idiomatic usage (will somebody *please* right a > "JoyOfClojure" type book about om ;)). ...snip... > (Has anyone thought of writing a book on this stuff? I can't be the only > person who has been doing this a while and been completely blown out of the > water by the whol

[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

[ClojureScript] Re: A question for TDD practitioners

2014-01-29 Thread Sean Johnson
I'm a bit more TDD inclined than the average Clojurian (having come over most recently from Ruby/Rails) and I have to say speed is king in TDD. I agree that source maps are life savers when you need to debug an issue in browser, but I don't really see how they'd be all that useful in the average