Re: Do you leave a Swank / nREPL in your production servers?

2012-05-25 Thread Sean Allen
I've never done this w/ clojure but in my last job when we were using
Gemstone Smalltalk, I made live code changes on a fairly regular basis.

Get the quick fix out. Do the complete release cycle later. It was only a
difference of 25 minutes, but often worth it.

Not for the faint of heart. I felt a little better doing it in Gemstone
because it was transaction based and I had to commit all my code changes.
A wee bit of a net that was.

-Sean-


On Thursday, May 24, 2012, blais wrote:

 Hi,
 Just curious...
 Is it common for people deploying Clojure servers in a production
 environment to leave a swank or nrepl server running for making live bug
 fixes? Do you guys do this?  Would you advise against it?
 Thanks,

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to 
 clojure@googlegroups.comjavascript:_e({}, 'cvml', 
 'clojure@googlegroups.com');
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'clojure%2bunsubscr...@googlegroups.com');
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: ClojureScript source maps

2012-03-24 Thread Sean Allen
On Sun, Jul 24, 2011 at 1:19 PM, John concavel...@gmail.com wrote:

 Is there any interest in having ClojureScript generate source maps?

 http://code.google.com/p/closure-compiler/wiki/SourceMaps

 There are a couple of ways to accomplish this.


Lots of interest from me.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Who's using Clojure?

2011-04-19 Thread Sean Allen
Akamai was at the conj looking to hire clojure programmers so I would
assume they are as well.

On Tue, Apr 19, 2011 at 10:38 AM, Damien Lepage damienlep...@gmail.com wrote:
 Hi Everyone,

 I'm on a mission: introducing Clojure in my company, which is a big
 consulting company like many others.

 I started talking about Clojure to my manager yesterday.
 I was prepared to talk about all the technical benefits and he was
 interested.
 I still have a long way to go but I think that was a good start.

 However I need to figure out how to answer to one of his questions: who is
 using Clojure?

 Obviously I know each of you is using Clojure, that makes almost 5,000
 people.
 I know there is Relevance and Clojure/core.
 I read about BackType or FlightCaster using Clojure.

 But, let's face it, that doesn't give me a killer answer.

 What could help is a list of success stories, a bit like MongoDB published
 here:
 http://www.mongodb.org/display/DOCS/Production+Deployments

 Is there a place where I could find this kind of information for Clojure?

 Thanks

 --
 Damien Lepage
 http://damienlepage.com

 --
 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 members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Good choices for a NoSQL database with Clojure?

2011-03-26 Thread Sean Allen
On Sat, Mar 26, 2011 at 12:56 PM, Base basselh...@gmail.com wrote:
 hi All -

 Any recommendations on a NoSQL database to use with clojure?  I am
 experimenting if it will fit my project better than a SQL db and have
 no real experience with them.

 Strong clojure support is obviously important for this.  The only one
 I know of is MongoDb...

 Thoughts??



That depends on what you are storing, how you want to access it etc.
Couch and Mongo and Riak etc etc each solve different problems.
So, what is your problem? Figure that out. Then pick the one that is
aimed at solving that problem.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Jesus, how the heck to do anything?

2011-03-26 Thread Sean Allen
On Wed, Mar 23, 2011 at 11:04 PM, ultranewb pineapple.l...@yahoo.com wrote:
 On Mar 24, 7:26 am, Armando Blancas armando_blan...@yahoo.com wrote:
 That's quite alright. Nine out of ten people here hate java;

 Actually, I didn't know that.  I imagined that 9 out of 10 people here
 would be java-ites.  It's good to know that I'm in good company.


The majority of java people I know who I didn't meet through clojure,
aren't interested in functional programming and find lisp weird and wrong,
so that doesn't really surprise me.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Good choices for a NoSQL database with Clojure?

2011-03-26 Thread Sean Allen
On Sat, Mar 26, 2011 at 4:12 PM, Base basselh...@gmail.com wrote:
 Thanks All!  I guess I didnt even realize that they were so different
 (though that certainly makes sense).

 Basically I want to design a system that will have maybe 30M
 (eventually) complex graphs of data that need to be searchable through
 either pattern matching or unification or ?...
 The pattern s could conceivably become very complicated.

 My thought was that this would need to scale out horizontally and
 allow for a map-reduce like process to burn through these searches
 (though at this point i am still planning this part out and currently
 have my data in an RDBMS (using H2 in development - great little
 database).

 This is very new territory for me, as i am very much used to working
 with traditional databases so I kind of dont know where to start...


Couchdb and other document oriented stores def sound like
they wouldnt be what you are looking for.

I havent done anything really like what you are doing so I don't know
what would be right, I have done some work with Couchdb
and know it wouldnt be the best fit for what you are doing.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


with-timeout... ?

2011-03-09 Thread Sean Allen
Yesterday I was writing a bit of code that needs to wait for an
external event to happen but if it doesn't happen with X amount of
time,
to timeout with an error.

Is there a library to handle this? I know you can do it with a future
and if you google the general idea, there are a few blog posts, stack
overflow questions etc that all have the same basic solution. It seems
like such a common thing to do that there would be a standard
function/macro out there for it rather than everyone rolling their
own. I couldn't however find one.

Does one exist? If yes, pointer in the right direction.

Thanks,
Sean

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: with-timeout... ?

2011-03-09 Thread Sean Allen
On Wed, Mar 9, 2011 at 7:25 AM, Baishampayan Ghose b.gh...@gmail.com wrote:
 Yesterday I was writing a bit of code that needs to wait for an
 external event to happen but if it doesn't happen with X amount of
 time,
 to timeout with an error.

 Is there a library to handle this? I know you can do it with a future
 and if you google the general idea, there are a few blog posts, stack
 overflow questions etc that all have the same basic solution. It seems
 like such a common thing to do that there would be a standard
 function/macro out there for it rather than everyone rolling their
 own. I couldn't however find one.

 Does one exist? If yes, pointer in the right direction.

 You can roll your own macro to do this.

 Example -

 (defmacro with-timeout [ms  body]
  `(let [f# (future ~@body)]
    (.get #^java.util.concurrent.Future f# ~ms
 java.util.concurrent.TimeUnit/MILLISECONDS)))


Variation on that macro are what I've seen across the variety of sources
I've mentioned in my original message. It just strikes me as odd that something
so general hasn't made it into a library.

If it really hasn't made a library, ok.. I just wanted to make sure it
wasn't in a
library somewhere and that keeping the hand rolled macro wasn't something
I should still be doing.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: websockets w/ clojure

2011-03-05 Thread Sean Allen
I'd missed that when it went up. Thanks for pinging the list on this.

On Fri, Mar 4, 2011 at 1:49 PM, Jay Fields j...@jayfields.com wrote:
 I finally got around to writing this:
 http://blog.jayfields.com/2011/02/clojure-web-socket-introduction.html

 Cheers, Jay

 -- Forwarded message --
 From: Sean Allen s...@monkeysnatchbanana.com
 Date: Dec 24 2010, 11:58 pm
 Subject: websockets w/ clojure
 To: Clojure


 Jay,

 Do you have any publicly released code I could take a look at?
 I've only found a couple of jetty/clojure/websocket examples and would
 love
 to have more I could study.

 -Sean-







 On Fri, Dec 24, 2010 at 7:53 PM, Jay Fields j...@jayfields.com
 wrote:
 I've written a few Clojure websocket apps and used Jetty. Things worked out
 fine and there wasn't much code at all to integrate. I'd recommend it.

 Sent from my iPhone

 On Dec 24, 2010, at 11:58 AM, Sean Allen s...@monkeysnatchbanana.com
 wrote:

 We did a prototype application using websockets for work using node.js as
 the server.
 Websocket client connects, sending some basic info... said info is used to
 repeatedly get
 new data from a database that is pushed down as it arrives in the db to the
 client which displays.
 There will be more than 1 client, each with its own data constraints that
 are used to get the data
 to send.

 If it goes into production we need to run on the jvm so I've been rewriting
 in clojure. I spent a couple
 hours yesterday trying to figuring out the best websockets option to use w/
 the clojure based server
 before I gave up. I realized w/o any background I'm just running blind.

 Given the basic idea of the application, what is the best websockets
 abstraction to use w/ clojure?
 Aleph? The jetty websocket support? Something else?

 Pointers from anyone will more experience doing a websocket server in
 clojure greatly appreciated.

 Thanks,
 Sean

 --
 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
 clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en
http://groups.google.com/group/clojure?hl=en

  --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com 
 For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

 --
 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 members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Why won't leiningen install for me?

2011-01-25 Thread Sean Allen
I wiped my macports a while back, reinstalled everything I needed and
stopped having problems like this.

On Mon, Jan 24, 2011 at 9:38 PM, Mark Rathwell mark.rathw...@gmail.comwrote:


 Seems pretty clear that your macports version of curl is the problem, it's
 up to you what you want to do about it.  I don't know if uninstalling it
 would leave you with the OS X version of curl or not.  Link to get you
 started:


 http://www.richarddooling.com/index.php/2009/09/12/macports-on-snow-leopard/

 http://www.richarddooling.com/index.php/2009/09/12/macports-on-snow-leopard/

 On Mon, Jan 24, 2011 at 7:29 PM, Larry Travis tra...@cs.wisc.edu wrote:

 Mark, John, Gaz:
 Your responses are all suggestive but I don't know where to go from here
 so I am going to make one more cry for help -- and to this group rather than
 the leiningen-specific one suggested by Mark because my basic problem is
 really how-to-get-clojure/emacs-running-under-MacOsX.

 Here is the situation, and my further questions:

 -- I am running OsX 10.6 on a machine that has never had an earlier OsX
 version running on it so there should not be problems involving 10.5 to 10.6
 upgrade.

 -- I have downloaded and installed Macports -- including a recent upgrade.
 If Macports' version of curl is indeed the culprit, how do I get it replaced
 with a version that could download leiningen?  Do I dare just simply
 uninstall Macports -- which I am not using right now in any case? (All I
 want to do right now is work with Clojure!)

 -- Although it surprised me, when I checked to see to what kernel my iMac
 was defaulting, I was told i386. What else could the leiningen installation
 process be asking for? Surely it wouldn't be expecting x86_64.

 -- In the webpage Mark pointed me to is the assertion: If only ppc and
 i386 are present, while you require x86_64, then the library cannot be
 loaded.  But also, from a different commentator: This issue was fixed in a
 later version of MacPorts with better 10.6 x86_64 compatibility. Is there
 some way to determine if the installation process is indeed expecting an
 x86_64 architecture?

 Thanks again.
  --Larry

 --
 


 On 1/22/11 2:16 PM, gaz jones wrote:

 are you sure you dont have curl installed by macports or something?
 /usr/bin/curl on mac os x works fine with https for me... someone at
 work had this problem and they had (unknowingly) installed curl
 through macports...

 On Sat, Jan 22, 2011 at 1:28 PM, Bizicsjohn.stuart.hun...@gmail.com
  wrote:

 Hi Larry,
 I had problems installing too.
 Turns out curl on mac os x does not support https as required by
 github now.
 I had to download and rebuild curl with the +ssl flag for https to be
 supported and then things worked fine.
 I could dig up my notes from when I did it if you need more
 information.

 Cheers,
 John


 On Jan 21, 4:49 pm, Larry Travistra...@cs.wisc.edu  wrote:

 I get the following when I try to install Leiningen:

 ---
 larrytravis$   lein-install.sh   self-install

 Downloading Leiningen now...

 dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
Referenced from: /opt/local/bin/curl
Reason: no suitable image found.  Did find:
  /opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture

 /Users/larrytravis/bin/lein-install.sh: line 175:  2851 Trace/BPT
 trap  $HTTP_CLIENT $LEIN_JAR $LEIN_URL

 Failed to downloadhttps://
 github.com/downloads/technomancy/leiningen/leiningen-1.4.2-st...

 
 Can anybody advise me as to what I am doing wrong?

 /lein-install.sh/ is the script available at:

 https://github.com/technomancy/leiningen/raw/stable/bin/lein

 Also I can't download /leiningen-1.4.2-standalone.jar/ directly
 fromhttps://github.com/technomancy/leiningen/downloads, but I don't
 think I
 would know what to do with it if I could! I am a Java tyro (who knows
 some other lisps reasonably well) trying to use clojure under Mac Os X
 and Emacs, but I am having a lot of problems getting clojure to run
 conveniently in that environment.

 Thanks for your help.
--Larry Travis

 --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en



  --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit 

Re: list* does not make a list?

2011-01-16 Thread Sean Allen
the documentation on that could be improved. the doc string for that
is basically the same as for list. but they return different types.

rather surprising when you first see it.

On Sun, Jan 16, 2011 at 1:55 PM, Alan a...@malloys.org wrote:

 list* consumes its last argument lazily, which means it can't count it
 (a requirement to be a real list). Both functions return objects that
 are seqs, though, so you can (seq?) them if you want.

 user= (def x (list* (range)))
 #'user/x
 user= (def x (apply list (range)))
 java.lang.OutOfMemoryError: Java heap space (NO_SOURCE_FILE:4)


 On Jan 16, 10:21 am, Brian Marick mar...@exampler.com wrote:
  movies.core (list? (apply list (map identity [1 2 3])))
  true
 
  Makes sense to me!
 
  movies.core (list? (list* (map identity [1 2 3])))
  false
 
  Huh?
 
  -
  Brian Marick, Artisanal Labrador
  Contract programming in Ruby and Clojure
  Author of /Ring/ (forthcoming; sample:
 http://bit.ly/hfdf9T)www.exampler.com,www.exampler.com/blog,www.twitter.com/marick

 --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

my newbie question...

2011-01-12 Thread Sean Allen
So i've used this because I picked it up from numerous tutorials but I've
never really understood it,
can I get a some decent background information on - and -?

I picked them up from compojure tutorials and don't feel anywhere near
comfortable enough w/
what is actually going on.

Thanks.

-Sean-

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: My first clojure web app

2011-01-10 Thread Sean Allen
On Wed, Jan 5, 2011 at 9:21 PM, Timothy Pratley timothyprat...@gmail.comwrote:

 Neat, looks pretty nice.
 I love invitations to nit pick!
 database.clj
 (defn complete-todo [id]
  (dosync (ref-set *todo* (vec (remove #(= (get % :id) id) @*todo*)
 1) ref-set is unnecessary you could re-factor this to use alter.  The
 result is the same, but semantically set only applies when the new
 value cannot be calculated from the old.


I thought the update function to alter had to be able to take

sequence item

so that you could use conj with alter but not cons. and by the same idea,
because remove takes the sequence 2nd, it could be used w/ alter.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

My first clojure web app

2011-01-02 Thread Sean Allen
I finally moved on from messing around with stuff in the repl and trying to
get a firm grasp on all things clojure and dove into doing a little web
development with it. I hadn't used ring, compojure or enlive before so I
kept that functionality in the app really minimal. I'd appreciate feedback
on:

ways my clojure code could be improved/made more idiomatic.
things i did wrong with ring, compojure and enlive
code organization etc.

Thanks in advance to anyone who takes a look and gives me so feedback.
Code is on github at: https://github.com/SeanTAllen/Simple-Compojure-To-Do

-Sean-

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

websockets w/ clojure

2010-12-24 Thread Sean Allen
We did a prototype application using websockets for work using node.js as
the server.
Websocket client connects, sending some basic info... said info is used to
repeatedly get
new data from a database that is pushed down as it arrives in the db to the
client which displays.
There will be more than 1 client, each with its own data constraints that
are used to get the data
to send.

If it goes into production we need to run on the jvm so I've been rewriting
in clojure. I spent a couple
hours yesterday trying to figuring out the best websockets option to use w/
the clojure based server
before I gave up. I realized w/o any background I'm just running blind.

Given the basic idea of the application, what is the best websockets
abstraction to use w/ clojure?
Aleph? The jetty websocket support? Something else?

Pointers from anyone will more experience doing a websocket server in
clojure greatly appreciated.

Thanks,
Sean

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: websockets w/ clojure

2010-12-24 Thread Sean Allen
Jay,

Do you have any publicly released code I could take a look at?
I've only found a couple of jetty/clojure/websocket examples and would love
to have more I could study.

-Sean-

On Fri, Dec 24, 2010 at 7:53 PM, Jay Fields j...@jayfields.com wrote:

 I've written a few Clojure websocket apps and used Jetty. Things worked out
 fine and there wasn't much code at all to integrate. I'd recommend it.

 Sent from my iPhone

 On Dec 24, 2010, at 11:58 AM, Sean Allen s...@monkeysnatchbanana.com
 wrote:

 We did a prototype application using websockets for work using node.js as
 the server.
 Websocket client connects, sending some basic info... said info is used to
 repeatedly get
 new data from a database that is pushed down as it arrives in the db to the
 client which displays.
 There will be more than 1 client, each with its own data constraints that
 are used to get the data
 to send.

 If it goes into production we need to run on the jvm so I've been rewriting
 in clojure. I spent a couple
 hours yesterday trying to figuring out the best websockets option to use w/
 the clojure based server
 before I gave up. I realized w/o any background I'm just running blind.

 Given the basic idea of the application, what is the best websockets
 abstraction to use w/ clojure?
 Aleph? The jetty websocket support? Something else?

 Pointers from anyone will more experience doing a websocket server in
 clojure greatly appreciated.

 Thanks,
 Sean

 --
 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
 clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en
 http://groups.google.com/group/clojure?hl=en

  --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: A suggestion for the next Conj

2010-11-03 Thread Sean Allen
I really like this idea.

On Wed, Nov 3, 2010 at 1:16 PM, Laurent PETIT laurent.pe...@gmail.comwrote:

 Speed dating at the clojure conj, yay ! (not totally non-sense, really)

 2010/11/3 Alexy Khrabrov alexy.khrab...@gmail.com:
  Badges could have much bigger font/be more readable, but they are not the
 only, and not the main thing; a mixer format is, and it should be something
 deliberate as even random motion over 2 days is not enough to bring all
 particles next to each other!
 
  -- Alexy
 
  On Nov 3, 2010, at 12:52 PM, Christopher Petrilli wrote:
 
  I was thinking that it would be handy if the badges next year had
  space for that.  I'd be happy to whip up something to collect the data
  and print the badges.
 
  Chris
 
  On Wed, Nov 3, 2010 at 12:35 PM, Alexy Khrabrov
  alexy.khrab...@gmail.com wrote:
  I'd really like to meet everybody from IRC and github, but apparently
 missed some.  So perhaps we can have a meet-and-greet session, where folks
 will stand up and announce their IRC and github nicks!  We also need some
 color coding, as @hiredman could be easily confused with @liebke!
 
  @alexyk
 
  --
  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 members are moderated - please be patient with
 your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en
 
 
 
 
  --
  | Chris Petrilli
  | petri...@amber.org
 
  --
  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 members are moderated - please be patient with
 your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en
 
  --
  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 members are moderated - please be patient with
 your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/clojure?hl=en

 --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Conj arrivals and Thursday night...

2010-10-23 Thread Sean Allen
What hackathon?

On Thu, Oct 21, 2010 at 12:00 AM, Alex Miller alexdmil...@yahoo.com wrote:

 The Revelytix crew will be in around dinner time on Thursday.  I'm
 happy to spring for food during the hackathon courtesy of Strange Loop
 or take a group out to dinner - whatever happens to be convenient.

 Alex Miller

 --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Conj arrivals and Thursday night...

2010-10-19 Thread Sean Allen
I get in after a 9 hour train ride around 4:40 + time from train station.
Would certainly be up for some non amtrak food once I arrive.

On Mon, Oct 18, 2010 at 12:32 PM, Andrew Gwozdziewycz apg...@gmail.comwrote:

 Hey Conj goers,

 I'm scheduled to arrive around 6:30, and after I check in am planning
 to spend the rest of the night writing code. Anyone want to help
 commandeer a random lobby to join in on the fun?

 Andrew
 --
 http://www.apgwoz.com

 --
 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 members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: Thinking in Clojure

2010-09-03 Thread Sean Allen
On Thu, Sep 2, 2010 at 9:29 PM, HB hubaghd...@gmail.com wrote:
 Hey,
 I finished reading Programming Clojure and Practical Clojure and
 I'm hooked :)
 Please count me in the Clojure club.
 But I failed how to think in Clojure.
 My main career is around Java web applications (Hibernate, Spring,
 Lucene) and Web services.
 Lets not talk about Java web frameworks neither Clojure ones, I want
 to talk in general.
 Usually we create some domain entities, map them with Hibernate/
 iBatis.
 I don't know how a Clojure application would be build without objects.
 I think Scala really shines here, this OOP/FP is really powerful
 approach (please note I'm not saying Clojure isn't good, I don't seel
 flame war)
 How to think in Clojure? how to achieve this shift?


Reading a bit about OOP in either Common Lisp or Dylan might help ease you into
'thinking clojure'. It can provide a bridge between then Java OOP way
and other ways of doing OOP.

I had the opposite problem from you. When I started programming,
Dylan and Common Lisp style OOP made far more sense to me then the C++/Java way
( and the Smalltalk way but I didn't want to group it with C++/Java ).
There is a fundamental
difference in OOP in Lisp style languages from the Algol ones and
knowing more about those
other forms of OOP might make the path easier to see.

There is an older Guy Steele essay that talks in part about Scheme and
OOP ( something
that most people consider anti-ethical )
http://dreamsongs.com/ObjectsHaveNotFailedNarr.html
Basic message, some form of OOP is possible in any language, it is
just how easy it is made.

As David said, I would be careful about reaching for the methods in
Clojure that makes OOP
easier and work more with maps, vectors, fns etc and then look at the others.

-

for more info on OOP in dylan see:

http://www.opendylan.org/books/drm/

for more info about OOP in Common Lisp, I would recommened:

http://www.amazon.com/Object-Oriented-Programming-Common-Lisp-Programmers/dp/0201175894/ref=sr_1_9?ie=UTF8s=booksqid=1283484149sr=8-9

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Blogs/Twitter accounts about Clojure

2010-09-03 Thread Sean Allen
2010/9/3 Christian Guimarães cguimaraes...@gmail.com:

 Everybody here has a common interest. Clojure. And I think that all people 
 here can contribute with relevant informations. So, why not follow the guys 
 from this list.

 Interested? Add your twitter account bellow.

 Cheers.

 @csgui (Christian Guimaraes)
@SeanTAllen ( but I do far more smalltalk than anything else right now ).

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Blogs/Twitter accounts about Clojure

2010-09-02 Thread Sean Allen
a few off the top of my head:

@fogus
@planetclojure
@disclojure
@stuartholloway
@liebke
@richhickey


blog.fogus.me
dosync.posterous.com
m.3wa.com
nathanmarz.com


On Thu, Sep 2, 2010 at 12:21 PM, HB hubaghd...@gmail.com wrote:
 Hey,
 Would you please recommend some good Blogs/Twitter accounts about
 Clojure?
 Thanks.

 --
 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 members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clojure's n00b attraction problem

2010-06-30 Thread Sean Allen
On Wed, Jun 30, 2010 at 12:56 PM, cageface milese...@gmail.com wrote:
 On Jun 29, 10:50 pm, Sean Allen s...@monkeysnatchbanana.com wrote:
 So those who left Java behind years ago but like Lisps in general and Clojure
 in particular and want to minimize their contact with Java, where do
 they fit in your view?
 Enemies of the proper use of Clojure? Destroyers of the future?

 Dogs barking up the wrong tree.


The larger the clojure community gets, the more you should be prepared
for those dogs then.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: Clj on OSX

2010-06-30 Thread Sean Allen
 Thanks very much for your help. Where are you getting the .zip file you
 describe? As far as I can tell the Github project only includes a link to
 the .jar file. When I try to run that file by double-clicking it I get an
 error dialog: The Java JAR file 'clj-1.0.0-SNAPSHOT-standalone.jar' could
 not be launched. Check the Console for possible error messages. When I try
 running 'java -jar clj-1.0.0-SNAPSHOT-standalone.jar self-install' from the
 command line I get the exception and stack trace I described previously.

Downloading the jar file using either Safari or Chrome on Mac OS gets
you a .zip file rather than the .jar that Firefox gives you.
Perhaps a webkit issue.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: State of Clojure web development

2010-06-25 Thread Sean Allen
On Wed, Jun 23, 2010 at 5:23 PM, James Reeves
weavejes...@googlemail.com wrote:
 Hello there!

 Chas Emerick's recent State of Clojure survey [http://bit.ly/dtdAwb]
 indicated that a significant proportion of Clojure users are beginning
 to use Clojure for web development. A recent Hacker News posting
 [http://bit.ly/91Bu5J] seems to corroborate these results, with
 several Clojure-based web applications already out in the wild.

 As one of the main developers of Ring and Compojure, I'd be very
 interested to hear more about how people are using Clojure to build
 web apps. To this end, I have a few questions I'd like to quiz Clojure
 web developers about:

 1. Have you written, or are you writing, a web application that uses
 Clojure? What does it do?

I considered it but I needed comet support and didn't want to roll my own
when my practical clojure experience was limited. I think that
clojure would be an excellent platform for what I was planning on doing
but it lacked the comet support I needed so I'm implementing in Seaside
for Gemstone's Smalltalk.

-- 
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 members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en