Re: Manifold questions: Creating sinks/sources

2022-08-10 Thread Jason Zwolak
I don't think you need two streams at all. Unless there's more code in between the two streams that you're not showing. Would the following work: (def -private-stream- (s/stream ...)) (def my-sink (s/sink-only -private-stream-)) (def my-source (s/source-only -private-stream-)) Or if you really

Re: java web start and clojure application

2015-10-03 Thread Jason Zwolak
Fantastic! Thanks for reporting this. Your work helped me get my application working with Clojure code in a webstart environment. I do have a question about security in relation to step 3 where the Policy is set. Is this the strictest policy that will work with Clojure code compiled at runti

Re: java web start and clojure application

2016-02-15 Thread Jason Zwolak
I'd also like to point out for the record, since I ran into this problem, that the policy related static code must appear before any requires in the Java code that loads the application specific functions; like the "clojure-main" in the OPs example. I believe a more modern load of the applicati

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-12 Thread Jason Zwolak
+1 JavaFX. I know this is an old thread... but in case anyone comes across it (like I did just now) and wants to see where things are, they should know that JavaFX has come a long way and seems to be Oracle's replacement for Swing. Now JavaFX is no longer only in JavaFXscript... in fact, I beli

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-19 Thread Jason Zwolak
You can diff JavaFX components like that? -- Jason Zwolak On Thu, Mar 17, 2016 at 12:51 PM, Timothy Baldridge wrote: > >> If the app-state has changed then it starts re-rendering the UI. > > That's pretty much exactly what fn-fx does in the latest version, with two >

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-19 Thread Jason Zwolak
ng on ;-) One thing that makes this work so well for their approach is that they have animations that depend on the app state. So their reoccurring timer is almost like a video algorithm redrawing the on screen image at the specified frame rate. -- Jason Zwolak On Thu, Mar 17, 2016 at 11:06 AM, Paul

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-21 Thread Jason Zwolak
ave time to put behind a project that is using the best we know about GUI programming. At the moment that seems to be core.async and some kind of DOM that can be diffed. -- Jason Zwolak On Fri, Mar 18, 2016 at 12:42 PM, Timothy Baldridge wrote: > I dusted off the fn-fx code today and fixed a

Strange classpath / ClassNotFoundException with Swing and JavaFX

2016-05-09 Thread Jason Zwolak
I don't want to cross post, but I wanted to see if anyone on this list can answer this tough StackOverflow question: http://stackoverflow.com/questions/37119814/swing-javafx-and-clojure-arent-playing-nice-with-the-classpath It's a strange ClassNotFoundException that requires a specific order of