Re: [ANN] ring-transit-middleware 0.1.1

2015-10-31 Thread Atamert Ölçgen
Hi Sven, What is the difference to ring-transit ring-transit-middleware doesn't silence exceptions. Also the three points I listed in my original message. But _essentially_ they both do the same thing. On Sat, Oct 31, 2015 at 11:41 PM, Sven Richter wrote: > Hi Atamert, > > Thanks for your

Re: [ANN] ring-transit-middleware 0.1.1

2015-10-31 Thread Sven Richter
Hi Atamert, Thanks for your work. I am curious. What is the difference to ring-transit (https://github.com/jalehman/ring-transit). Both libraries seem to have the same goal. Best Regards, Sven Am Samstag, 31. Oktober 2015 14:30:21 UTC+1 schrieb Atamert Ölçgen: > > Hi, > > I've just released ri

Re: automatically convert java to clojure

2015-10-31 Thread Asim Jalis
The output of this is: (def key1 "") (def key2 "") (def factory (new TwitterFactory key1 key2)) (def twitter (.getInstance factory)) (def user (.verifyCredentials twitter)) (def statuses (.getHomeTimeline twitter)) (def screenName (.getScreenName user)) (def text (.getText status)) On Sat, Oct 3

Re: automatically convert java to clojure

2015-10-31 Thread Asim Jalis
The code got mangled in the posting. Here it is again. TEST=$(cat <<"END" String key1 = ""; String key2= ""; TwitterFactory factory =new TwitterFactory(key1,key2); Twitter twitter = factory.getInstance(); User user = twitter.verifyCredentials(); List

Re: automatically convert java to clojure

2015-10-31 Thread Asim Jalis
On Wednesday, June 18, 2008 at 4:32:01 PM UTC-7, kyle smith wrote: > > Is it possible to automatically convert java code to clojure? If so, > would someone like to volunteer to write it? I frequently want to quickly translate code snippets from Java to Clojure to test out an API. For example

clojure webapp with webpack frontend

2015-10-31 Thread fasfsfgs
Hi everyone! I'm new to the clojure and the webpack world so forgive me if I say something stupid. I'd like to build a webapp using clojure as backend and angular (or any other js framework) as frontend. For the frontend part, I'd like to use webpack so I can do a better job providing frontend co

[ANN] ring-transit-middleware 0.1.1

2015-10-31 Thread Atamert Ölçgen
Hi, I've just released ring-transit-middleware 0.1.1 to clojars. - It has sane defaults, most of the time you just need to wrap with ring.middleware.transit/wrap-transit - Allows customisation (see API docs) - Is Aleph-aware (handles deferred responses) https://github.com/muhuk/ring-transit-midd

Re: If a Java function seems to never return, how do I test?

2015-10-31 Thread Thomas Heller
> > > What could we do to make the Exception visible, assuming there is one? > > Exceptions are ALWAYS visible, the only way they get lost is the try/catch blocks you added in your code which effectively swallow and ignore them. The JVM will not randomly lose an Exception, it is always code you