Re: Can't "recur" from within a "catch" expression.

2011-03-19 Thread Shree Mulay
On Mar 19, 12:02 am, Ken Wesson wrote: > It occurs to me you probably only want the delay between successive > retries, so really you want to put the delay in the retrying code, or > maybe use interpose in some manner (and make the interposed delay > function look like a failure to the surrounding

Re: Clojure Editor

2011-03-29 Thread Shree Mulay
On Mar 18, 11:04 pm, Olivier Lefevre wrote: > On 3/13/2011 1:09 PM, WoodHacker wrote: > > > If you are looking for a very good editor for Clojure try Bluefish. > > It's been around for ever, is very stable, and does everything you > > would want an editor to do.   And it now works with Clojure. >

Re: Tron clone in Clojure

2011-04-04 Thread Shree Mulay
really cool! On Apr 4, 4:10 pm, "pepijn (aka fliebel)" wrote: > Hi, > > I'm at the moment writing a 2D game 'thing' (wouldn't call it a > framework or engine really) I don't have it released yet, but when I > do, I'll post it on this list. > > In my 'thing', I just do something like this for the

Re: clj3D, a Clojure 3D Library

2011-04-06 Thread Shree Mulay
GREAT TRACK - What is it? On Apr 6, 2:56 pm, Ken Wesson wrote: > On Wed, Apr 6, 2011 at 5:50 AM, Alfredo wrote: > > First screencast is out! > > >http://www.youtube.com/watch?v=_fLgBzRdddU > > Can anyone else who's using Chrome see these videos? I just get a > black box with text saying "You nee

sessions in Ring, Sandbar, Compojure, etc...

2011-05-09 Thread Shree Mulay
For the life of me, I can't get sessions to work, immaterial of which tutorial I try and get going??? Is there any tutorial out there that explicitly explains everything for a newb like me? After several round, I did successfully get form params to work! YEAH! But now, I'd like to create a login s

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
> There's an example of Ring sessions linked from the Ring wiki: > > https://gist.github.com/608048 > > Does that help? > > - James On May 10, 6:19 am, James Reeves wrote: > On 10 May 2011 07:24, Shree Mulay wrote: > > > For the life of me, I can'

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
On May 10, 9:20 pm, Matthew Boston wrote: > Maybe try looking at the source of a project on github using logins/ > sessions.  One I'm currently using for reference is from > 4clojurehttps://github.com/dbyrne/4clojure > Hey Matthew, I'm looking at the code. If I can't get headway on Ring, I mi

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
c happens here: (let [n (session :n 1)] -or- (assoc-in [:session :n] (inc n))) In the code from: https://gist.github.com/608048. Hope you get what I'm asking? Thanks again, shree On May 11, 3:32 am, Shree Mulay wrote: > > There's an example of Ring sessions linked from t

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
to > get the presentation (HTML and CSS) right. > > Don't get allow yourself to get despondent - I really think you'll > find solving your actual problems far simpler than you anticipated. > It's just a matter of, well, 'getting it'. > > On May

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
ixed, but I've been going up the wall on this one! Thanks in advance, shree ps. My code may seem a bit contrived. It's been bundled together off of a bunch of examples I've seen at the ring, compojure, sandbar examples, and elsewhere... On May 11, 8:01 pm, James Reeves

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
Dear Aaron, et al., I have been wrapping my sessions. Perhaps there's something I'm missing??? (def app (-> #'main-routes (wrap-reload '(SocialNetworkCore.core)) ;;remove wrap-reload from production code (wrap-params) ;; wraps params (inputs from forms) - makes

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
w to use both styles in one > app. I hope you find this helpful. > > http://github.com/brentonashworth/sandbar/blob/master/src/examples/se... > > Brenton > > On May 9, 11:24 pm, Shree Mulay wrote: > > > > > > > > > For the life of me, I can't ge

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
c (redirect "/page/") :session (assoc session :name (params "name"))) ;{:session (assoc session :name (params "name"))} ;(redirect "/page/")) ) (redirect "/oops/" my repl(output) still gets me: "Getting userid: nil&q

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-11 Thread Shree Mulay
s :params} (handle-form params)) (route/not-found (page_not_found))) But for WHATEVER reason, the sessions are NOT getting stored? When I goto the set page, I get: http://localhost:3000/set You set x = -and- http://localhost:3000/get x = respectively. I must REALLY be messing SOMETH

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-12 Thread Shree Mulay
ors Anything look wrong there??? On May 12, 7:02 am, James Reeves wrote: > On 12 May 2011 04:49, Shree Mulay wrote: > > > But for WHATEVER reason, the sessions are NOT getting stored? > > Have you added the session middleware? e.g. > > (def app >   (-> main-routes &

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-12 Thread Shree Mulay
en I goto http://127.0.0.1:3000/set I still get: You set x = Though at: http://127.0.0.1:3000/get I get: x = Shree All thoughts are appreciated. Thanks! Y'all's help has been wonderful! :) shree On May 12, 2:57 pm, Shree Mulay wrote: > @ James, yes. > > (def app >     (-&

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-12 Thread Shree Mulay
James, et al., > I'm not sure. There exist better alternatives to the `wrap-reload` > middleware anyway, such as the lein-ring plugin. > I didn't know there was? What I understood of wrap-reload is that I didn't have to restart "lein ring server" at the command line everytime I made a change to m

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-05-14 Thread Shree Mulay
On May 12, 8:12 pm, James Reeves wrote: > On 13 May 2011 00:23, Shree Mulay wrote: > > > I didn't know there was? What I understood of wrap-reload is that I > > didn't have to restart "lein ring server" at the command line > > everytime I made a chan

Re: Clojure Editor

2011-05-30 Thread Shree Mulay
Well, my os crashed, and after a clean install was finally able to get Bluefish to work on Win7-64x. I'm happy that I was able to get a simple, stand alone ide that supports clojure to FINALLY work. Before this, I have been using geany and notepad++ interchangeably - but without clojure support

Re: Recommendation for Clojure Enterprise Development toolkit

2011-07-09 Thread Shree Mulay
Clojure REALLY isn't ready for Enterprise level development. see: http://dev.clojure.org/display/community/Clojure+Success+Stories http://www.quora.com/Whos-using-Clojure-in-production -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this g

Re: Recommendation for Clojure Enterprise Development toolkit

2011-07-09 Thread Shree Mulay
i though all we needed was a sleek logo??? look forward to the clojure port to LCARS. Please keep us updated (whoever has info) On Sat, Jul 9, 2011 at 7:11 PM, Andreas Kostler < andreas.koestler.le...@gmail.com> wrote: > What is generally considered "enterprise" then? > > On 10/07/2011, a

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-07-26 Thread Shree Mulay
On Saturday, May 14, 2011 4:48:03 PM UTC-4, James Reeves wrote: > > On 14 May 2011 20:49, Shree Mulay wrote: > > One final thought I had is I've noticed if I reload a page, the > > session information is lost. How do we get around this? > > You could use defonce

Re: sessions in Ring, Sandbar, Compojure, etc...

2011-07-26 Thread Shree Mulay
ere's an sandbar api page anywhere? I've looked, but couldn't find. Do let me know, eh Thanks, shree On Wednesday, May 11, 2011 10:34:45 PM UTC-4, Shree Mulay wrote: > > Thanks Brenton, > > I've gone through your example, and tried to replicate it at my >

Re: is there a 4Clojure forum anywhere?

2011-08-27 Thread Shree Mulay
yeah, i'm stuck on the nth without cheating problem myself... would be cool if there were forums for this site! :) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new

Re: Boston Clojure Meetup Thursday Jan 13

2011-02-17 Thread Shree Mulay
When is the next one? On Feb 16, 9:24 am, rob levy wrote: > By the way, as those who attend the first meeting know, it was actually > quite huge in terms of the number of people who attended.  There are less > than 40 people who list themselves on the meetup page as members, but closer > to 50 pe