[ClojureScript] ANN: remote - DSL for clj-http/cljs-http

2015-06-26 Thread Joel Holdbrooks
Are you tired of writing the same clj-http/cljs-https boilerplate? Looking for an easy way to express an endpoint or a service API? Then remote is the library for you! Github: https://github.com/outpace/remote Leiningen: [com.outpace/remote 0.3.1] This library has been closed source up until

[ClojureScript] ANN phalanges 0.1.5

2015-03-02 Thread Joel Holdbrooks
Phalanges, library for working with JavaScript keyboard events is now 0.1.5. This release fixes a small problem under advanced mode compilation. https://github.com/spellhouse/phalanges -- Note that posts from new members are moderated - please be patient with your first post. --- You

[ClojureScript] Re: [ANN] clairvoyant 0.0-43-ga703f4e

2014-11-20 Thread Joel Holdbrooks
On Monday, November 10, 2014 5:43:50 AM UTC-8, Yehonathan Sharvit wrote: Clairvoyant is really great Joel! I'd like to use the trace-forms inside my project. My thought is to have a macro named: dbgfn that will replace defn in the places where I need to investigate my function calls

[ClojureScript] Re: (def foo 1) (set! foo 2) ;; this works on ClojureScript?

2014-10-25 Thread Joel Holdbrooks
On Saturday, October 25, 2014 2:46:20 PM UTC-7, Marcus Lewis wrote: So... I've been using Clojure wrong, because I primarily use ClojureScript. Clojure my.clj.ns= (def foo 1) #'my.clj.ns/foo my.clj.ns= (set! foo 2) IllegalStateException Can't change/establish root binding of: foo with set  

[ClojureScript] Re: Newbie advice on cljs + om?

2014-10-24 Thread Joel Holdbrooks
On Sunday, October 19, 2014 12:29:01 PM UTC-7, Colin Yates wrote: Any advice for a newbie about to embark on a new non-trivial SPA using cljs, om and (om-)bootstrap. I am not a newbie in terms of CSS, JS (coffeescript for the win!) or Clojure (despite the evidence :)). The app itself

[ClojureScript] Re: Newbie advice on cljs + om?

2014-10-24 Thread Joel Holdbrooks
On Sunday, October 19, 2014 12:29:01 PM UTC-7, Colin Yates wrote: Any advice for a newbie about to embark on a new non-trivial SPA using cljs, om and (om-)bootstrap. I am not a newbie in terms of CSS, JS (coffeescript for the win!) or Clojure (despite the evidence :)). The app itself

Re: [ClojureScript] Re: Newbie advice on cljs + om?

2014-10-24 Thread Joel Holdbrooks
On Friday, October 24, 2014 3:56:58 PM UTC-7, Kyle Cordes wrote: On Friday, October 24, 2014 at 3:32 PM, Joel Holdbrooks wrote: One more thing regarding library support in Sass. Many of the frameworks you'll find out there which give you a responsive grid, button helpers, etc. are trivial

Re: [ClojureScript] Extending a clojurescript protocol inside a macro

2014-10-24 Thread Joel Holdbrooks
On Saturday, October 18, 2014 7:37:54 PM UTC-7, Dom Kiva-Meyer wrote: You are resolving the protocol method symbol. `(-invoke ...) expands to (your.namespace/-invoke ...) To fix this, you need to quote (not syntax-quote) and unquote the symbol. `(~'-invoke ...) expands to (-invoke ...)

[ClojureScript] Re: [ANN] clairvoyant 0.0-43-ga703f4e

2014-10-23 Thread Joel Holdbrooks
On Wednesday, October 22, 2014 10:15:13 PM UTC-7, Joel Holdbrooks wrote: Clairvoyant, a flexible tracing library for ClojureScript is now version 0.0-43-ga703f4e. Included in this release: * Fixed bug which caused anonymous functions to thrown an exception * Fixed bug with IPrintWithWriter

[ClojureScript] [ANN] Phalanges 0.1.4 (Keyboard Events)

2014-09-23 Thread Joel Holdbrooks
Phalanges, a library providing utilities for working with JavaScript KeyboardEvents, is now version 0.1.4. Leiningen dependency: [spellhouse/phalanges 0.1.4] Project URL: https://github.com/spellhouse/phalanges I forgot to mention this library earlier (sorry!). The library is fairly small and

[ClojureScript] FYI Secretary 2.0.0 coming soon

2014-09-22 Thread Joel Holdbrooks
Secretary v2.0.0 is in the works. I felt like it would be a good idea to notify the community that it's underway. Please have a look at this pull request: https://github.com/gf3/secretary/pull/50 for more information. tl;dr several breaking changes are on the horizon. This is mostly a

[ClojureScript] Re: accessing cljs code from inside a macro

2014-09-05 Thread Joel Holdbrooks
foo [] 4) a clj namespace (ns my-macros) (defmacro my-macro [] my-cljs/foo) What is the best way to access my-cljs/foo from inside the macro? On Saturday, 30 August 2014 20:33:50 UTC+3, Joel Holdbrooks wrote: On Monday, August 25, 2014 1:15:51 PM UTC-7, Yehonathan Sharvit

[ClojureScript] Re: accessing cljs code from inside a macro

2014-08-30 Thread Joel Holdbrooks
On Monday, August 25, 2014 1:15:51 PM UTC-7, Yehonathan Sharvit wrote: I would like to write a macro that calls a cljs function. The problem is that the macro is defined inside a clj file and when I require the namespace that contains the cljs code I receive the following compilation error:

[ClojureScript] Re: Om/Ankha and defrecord problem

2014-08-27 Thread Joel Holdbrooks
On Friday, August 22, 2014 7:03:08 PM UTC-7, Taylor Sando wrote: I looked through the source code of om and found out that there is a call to to-cursor in om/root. Seems that you have to override IToCursor if you want something custom. (defrecord RecordTest [x y] om/IToCursor

[ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-07 Thread Joel Holdbrooks
I'm in agreement that Silk is a step in the right direction. I've reached out to Dom and I think we can learn a lot from each other and work together to improve the routing story in Clojure overall. There are some really good things in secretary. What do you think about them? Splat, regex,

[ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-06 Thread Joel Holdbrooks
Bidirectional routes are indeed especially important to render and dispatch routes in Om etc. In secretary its a bit awkward since you have to write stuff like (defroute front-page / [] :front-page) and then a separate thingie for matching the keywords back to the routes. We have written

[ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-05 Thread Joel Holdbrooks
Awesome work. It's fantastic to see a library that's interested in targeting both the front-end and the back-end. This is the type of attitude I would love to see more often in the Clojure community. OTOH, it would have been awesome to have heard your thoughts WRT the concept of isomorphic

[ClojureScript] [ANN] Secretary 1.2.0

2014-06-27 Thread Joel Holdbrooks
Secretary, the client-side router for ClojureScript, is now version 1.2.0 FIXED - bug with empty route triggering a match on first available route (GH 33, 39) ADDED - vector routes with regex validation (GH 37) Thanks to Travis Vachon and Joel Friedman for their work on these. https

[ClojureScript] Re: templating for clojurescript react libraries

2014-06-25 Thread Joel Holdbrooks
+1 Designers aren't stupid. I'd throw in Sass, Less, etc. into the pile of evidence to support this as well. Stop treating these people as idiots. BTW I *used* to be a designer. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this

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

2014-06-24 Thread Joel Holdbrooks
On Wednesday, June 11, 2014 4:23:30 PM UTC-7, tal giat wrote: Can't seem to get those working with IE8/IE9. I've created a project on github to demonstrate that: https://github.com/talgiat/om-tutorial which is basically the very first example (Hello world) in the om tutorial. This

[ClojureScript] Re: Om: Using a zipper cursor

2014-06-24 Thread Joel Holdbrooks
On Saturday, May 24, 2014 1:21:48 PM UTC-7, Scott Thompson wrote: The problem I've been thinking about is that Om manages a path in a vector format for use with functions like get-in whereas zippers use a location to represent a path. So its not yet clear to me if that will translate well

[ClojureScript] [ANN] Ankha 1.0.3

2014-05-27 Thread Joel Holdbrooks
Ankha, a generic data inspection component for Om, is version 1.0.3. ADDED: New ankha.core/IInspect protocol. https://github.com/noprompt/ankha -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed

Re: [ClojureScript] Foolproof Emacs + Browser Repl instructions?

2014-05-27 Thread Joel Holdbrooks
On Tuesday, May 20, 2014 3:41:31 PM UTC-7, Daniel Kersten wrote: I've personally found weasel to be slightly faster to eval code with and also less brittle overall. It was also slightly easier to set up than austin. Basically, while my experience with austin was alright, my weasel experience

[ClojureScript] [ANN] Garden 1.1.7

2014-05-24 Thread Joel Holdbrooks
Garden, a library for authoring stylesheets in Clojure and ClojureScript, is now 1.1.7. ADDED: Support for :preamble IMPROVED: Support for meta data in garden.def/* macros https://github.com/noprompt/garden -- Note that posts from new members are moderated - please be patient with your first

[ClojureScript] [ANN] Secretary 1.1.1

2014-05-24 Thread Joel Holdbrooks
Secretary, a client-side routing library for ClojureScript, is now 1.1.1 FIXED: bug when passed a record as route-params (Thanks Mortiz Ulrich!) https://github.com/gf3/secretary -- Note that posts from new members are moderated - please be patient with your first post. --- You received this

[ClojureScript] Re: Om: Using a zipper cursor

2014-05-24 Thread Joel Holdbrooks
On Monday, May 19, 2014 8:10:14 PM UTC-7, Scott Thompson wrote: I've been thinking about using a clojure zipper (http://richhickey.github.io/clojure/clojure.zip-api.html) as input to om/root. This would give some convenient properties like being able to traverse my data and make edits. My

Re: [ClojureScript] Om and contentEditable - there be dragons?

2014-05-24 Thread Joel Holdbrooks
On Friday, May 23, 2014 4:17:45 AM UTC-7, Chas Emerick wrote: Bit of a stale thread here, but I thought I'd say a couple of things since I was mentioned. :-) contentEditable is absolutely a cluster, through and through. (All the best that the web standards processes has

[ClojureScript] Re: [ANN] lein-figwheel a live coding plugin for leinigen

2014-05-02 Thread Joel Holdbrooks
This is so awesome! Nice work! -- 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 emails from it, send

[ClojureScript] Re: ANN: cljs-time 0.1.3

2014-04-23 Thread Joel Holdbrooks
It would be mega awesome if this clj-time was just a CLJX project so we could just depend on one library instead of two. Have you thought about asking the maintainers of clj-time their thoughts wrt to that? -- Note that posts from new members are moderated - please be patient with your first

Re: [ClojureScript] OM: Interesting mismatch between app-state and passed-in data

2014-03-17 Thread Joel Holdbrooks
On Monday, March 17, 2014 11:51:32 AM UTC-7, Scott Nelson wrote: Thanks David! That works great. I made a root component that simply builds a new component based on the current route (updated the Gist). One thing I might suggest is to avoid mutating app-state in your route actions. Our team

[ClojureScript] ANN: Secretary 1.0.3

2014-03-17 Thread Joel Holdbrooks
Secretary, the client-side router for ClojureScript is 1.0.3 FIXES * Encoding/decoding of data structures in query-strings [gh-27] -- 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

[ClojureScript] Re: ANN: Secretary 1.0.3

2014-03-17 Thread Joel Holdbrooks
On Monday, March 17, 2014 5:01:10 PM UTC-7, Joel Holdbrooks wrote: Secretary, the client-side router for ClojureScript is 1.0.3 FIXES * Encoding/decoding of data structures in query-strings [gh-27] Forgot the URL: https://github.com/gf3/secretary -- Note that posts from new members

[ClojureScript] ANN: lein-garden 0.1.7

2014-03-02 Thread Joel Holdbrooks
lein-garden, the plugin for automatically compiling Garden stylesheets is now 0.1.7 https://github.com/noprompt/lein-garden FIXES: * Auto compiling doesn't work right away (#8) * Auto compiling only compiles the first build (#10) -- Note that posts from new members are moderated - please be

[ClojureScript] Re: ANN: lein-garden 0.1.7

2014-03-02 Thread Joel Holdbrooks
On Sunday, March 2, 2014 12:12:20 PM UTC-8, Joel Holdbrooks wrote: lein-garden, the plugin for automatically compiling Garden stylesheets is now 0.1.7 https://github.com/noprompt/lein-garden FIXES: * Auto compiling doesn't work right away (#8) * Auto compiling only compiles the first

[ClojureScript] ANN: Secretary 1.0.2

2014-03-01 Thread Joel Holdbrooks
Secretary, the client side router for ClojureScript, is now version 1.0.2 https://github.com/gf3/secretary FIXES: * Decoding of parameters [https://github.com/gf3/secretary/pull/19] -- Note that posts from new members are moderated - please be patient with your first post. --- You received

[ClojureScript] ANN: Secretary 1.0.1

2014-02-26 Thread Joel Holdbrooks
Secretary the client side router for ClojureScript is now 1.0.1 https://github.com/gf3/secretary * FIXES bug in route encoding -- 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

[ClojureScript] Re: ANN: ankha (Om data inspector)

2014-02-24 Thread Joel Holdbrooks
On Sunday, February 23, 2014 7:09:03 PM UTC-8, Conrad Barski wrote: On Saturday, February 22, 2014 7:55:10 PM UTC-6, Joel Holdbrooks wrote: Ankha is a generic data inspector for use with Om. You can use it to interactively view your application's state or any other supported data

[ClojureScript] Re: ANN: om-sync

2014-02-22 Thread Joel
I'm interested in this thread, it does seem however that DerbyJS is farther ahead in this type of work though. I was looking for a similar JVM stack, but not sure how to put it together as well. Atmosphere seems like it fits for the basic communication even including pubsub. Derby updates the

[ClojureScript] ANN: Secretary 1.0.0

2014-02-16 Thread Joel Holdbrooks
Secretary, the client side router for ClojureScript is now 1.0.0! https://github.com/gf3/secretary Many exciting new features have been added: - String route matchers now recognize splats (globs) and named splats! - Regular expression route matchers! - Protocols! - Bug fixes! - A

[ClojureScript] Re: ANN: Om 0.4.0

2014-02-14 Thread Joel Holdbrooks
On Friday, February 14, 2014 5:00:10 AM UTC-8, Tatu Tarvainen wrote: Btw, I seem to get the following compiler errors after upgrading om from 0.3.6 to 0.4.0 (clojurescript version is 0.0-2138) WARNING: Use of undeclared Var om.core/specify! at line 570 out\om\core.cljs WARNING: Use

Re: [ClojureScript] Trying to get PhantomJs and ClojureScript.test working

2014-02-14 Thread Joel Holdbrooks
On Friday, February 14, 2014 12:54:41 PM UTC-8, Chris Zheng wrote: Is there a way of doing autotesting of clojurescript code? I'm using 0.2.2 and when I run lein cljsbuild test, it only seems to test once. My settings are: :cljsbuild {:builds [{:source-paths [src test]

Re: [ClojureScript] Trying to get PhantomJs and ClojureScript.test working

2014-02-14 Thread Joel Holdbrooks
On Friday, February 14, 2014 12:54:41 PM UTC-8, Chris Zheng wrote: Is there a way of doing autotesting of clojurescript code? I'm using 0.2.2 and when I run lein cljsbuild test, it only seems to test once. My settings are: :cljsbuild {:builds [{:source-paths [src test]

Re: [ClojureScript] Javascript-closureScriptFn()

2014-02-06 Thread Joel Trunick
No, i just simply missed this in the docs. Thanks! On Thu, Feb 6, 2014 at 10:52 AM, David Nolen dnolen.li...@gmail.com wrote: On Thu, Feb 6, 2014 at 11:50 AM, Joel j...@harpsoft.com wrote: I've seen examples of calling into javascript from closurescript, but none vice-versa. This seems

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread Joel Trunick
A by the way this is how it looks using Sablano/Kioo would be nice in the tutorial. On Mon, Jan 27, 2014 at 12:10 PM, David Nolen dnolen.li...@gmail.comwrote: On Mon, Jan 27, 2014 at 12:48 PM, Mike Haney txmikes...@gmail.com wrote: I was initially surprised by the implementation in your

[ClojureScript] Re: ANN: Om 0.3.0

2014-01-25 Thread Joel
This tutorial was exactly what I needed, and hope to see more in the tutorial as hinted at at the end. I think I'm having a Light Table issue though. There is quite a few places where you mention to try evaluating the functions. However, I think something is messed up with my LightTable

[ClojureScript] OM/Reagent Handling client/server synchronization

2014-01-24 Thread Joel
I Lisp'ed quite some time ago, so no longer an insider, although I do get the gist of Om and Clojure particularly the immutable state. I was wondering if Om already (or could) be used for keeping state in sync with the server as well as other clients. Maybe this has already been exampled, but

[ClojureScript] Om Templating

2014-01-24 Thread Joel
Is there a way to convert html to Om/ClojureScript syntax easily? Or, is there a way already to simply use some kind of templates that are closer to html? J -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you