Re: Cursive Reloaded Workflow

2014-12-01 Thread Dylan Butman
Thanks guys, Colin, the history search sounds like a great substitute. Just tried it out and it works great! Will definitely get a lot of mileage for other things as well. On Monday, December 1, 2014 7:49:17 PM UTC-5, Colin Fleming wrote: > > So IntelliJ works in different way to Eclipse, as I

Re: perform action after events stop for some period

2014-12-01 Thread Erik Price
Coincidentally, we recently wrote code to do something very similar. The following function will invoke f after period milliseconds, unless a value is sent on events-ch, in which case the timeout is reset (and starts counting down again): (defn invoke-after-uninterrupted-delay ([period events-ch

Re: Cursive Reloaded Workflow

2014-12-01 Thread Colin Fleming
So IntelliJ works in different way to Eclipse, as I understand it. The terminology is a little confusing - in IntelliJ a project is what I normally think of as a project, so in the case of a multi-module project like CCW or Leiningen, the project is the whole thing (CCW or lein) and the sub-project

Re: perform action after events stop for some period

2014-12-01 Thread Brian Craft
That version has the unfortunate behavior that (func) can be interrupted if (event) is called while it is running. Here's another version using an agent: (defn queue-with-delay2 [period func] (let [q (agent nil)] (fn [] (send-off q (fn [t] (when t

Re: Cursive Reloaded Workflow

2014-12-01 Thread Laurent PETIT
2014-12-02 0:02 GMT+01:00 Colin Fleming : > Looks like Laurent is one ahead of me :-). Cursive can't do this right > now, although it's a much-requested feature with an issue in the tracker. > I'll try to add this soon. In the meantime, you can use the Search REPL > History action which narrows do

Re: Cursive Reloaded Workflow

2014-12-01 Thread Colin Fleming
Looks like Laurent is one ahead of me :-). Cursive can't do this right now, although it's a much-requested feature with an issue in the tracker. I'll try to add this soon. In the meantime, you can use the Search REPL History action which narrows down on typing - not ideal, but it should work for no

Re: Cursive Reloaded Workflow

2014-12-01 Thread Laurent PETIT
FWIW, please note that it's now possible to script Counterclockwise in such a way. The following link shows how to add a new keybinding for calling (user/reset) on the active REPL : https://github.com/laurentpetit/ccw-plugin-repl#repl-keybindingsclj (Requires a Counterclockwise built from the mas

perform action after events stop for some period

2014-12-01 Thread Brian Craft
I have need to perform an action when a series of events is quiet for some period. That is, if one event arrives an action is queued to execute after some timeout. If a second event arrives the timeout is reset, and so-forth. The following code seems to work, however I'm wondering if calling 'fu

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-12-01 Thread Sven Richter
Thank you, I have done so here: https://github.com/aaronc/freactive/issues/25 Best Regards, Sven Am Montag, 1. Dezember 2014 18:56:27 UTC+1 schrieb Aaron: > > There are no restrictions on events and attributes (although some > attributes may need a special handler if they don't work properly wi

Re: Linux Bash script to start clojure

2014-12-01 Thread Cecil Westerhof
2014-12-01 2:08 GMT+01:00 James Reeves : > Do you know about Leiningen and lein-exec? > ​Yes, I know about them. But not much more. I should look into them. ;-) -- Cecil Westerhof -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gro

Richelieu: a library for advising functions

2014-12-01 Thread Edwin Watkeys
Hello, Richelieu, a library for advising functions, is in something resembling announcement-worthy shape. It's available at the following URL: http://github.com/thunknyc/richelieu During my experience writing thunknyc/profile and the associated CIDER support, I realized that advising or decora

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-12-01 Thread Aaron Craelius
There are no restrictions on events and attributes (although some attributes may need a special handler if they don't work properly with setAttribute - please submit an issue on github). Looking at your code, maybe the issue is the event handler names - I believe the DOM events are called dragstart

is any work done to draw sequence diagrams with drcode/vijual ?

2014-12-01 Thread JUAN ANTONIO Ruz
Hi guys, I'm trying to guess in which state is drcode/vijual or which would be the better fork to start working on this "drawing sequence diagrams" feature... It's a really shame that this so cool tool seems to not be maintained any more :( Any advises or any

New Functional Programming Job Opportunities

2014-12-01 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Software Engineer - Server Applications at Curbside http://functionaljobs.com/jobs/8765-software-engineer-server-applications-at-curbside Cheers, Sean Murphy FunctionalJobs.com -- You received this messag

Cursive Reloaded Workflow

2014-12-01 Thread Dylan Butman
I've been playing around with Cursive lately (it seems awesome if I can ever get comfortable with the keybindings!). I emacs/cider, I have a custom keybinding that injects user/reset to trigger something like https://github.com/stuartsierra/reloaded/blob/master/src/leiningen/new/reloaded/templa

Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-12-01 Thread Sven Richter
Hi, I am currently trying to make drag and drop work with freactive, but fail so far. This is my code: [:thead [:tr (for [col (first (:content struct))] [:td [:div {:draggable true :on-drag-start (fn [e] (println "dragged"))

Re: Attempting to import class from a non-standard location [interop]

2014-12-01 Thread John Bohn
Ah perfect! Thanks Steven. That works great. Simple mistake on my part. On Sunday, November 30, 2014 8:24:18 PM UTC-5, Steven Yi wrote: > > Hi John, > > Could this maybe just be a dependencies problem? It seems you're trying > to use classes from two different libraries: > > com.googlecode.libp