Re: Good choices for a NoSQL database with Clojure?

2011-03-26 Thread Michael Ossareh
e the "bar" object points to the "foo" object. A point worth making is that Riak is a dynamo based kv store. Which, most notably to a RDBMS user, means you don't have the concept of updating in place. That is, if I wanted to change the bar object to have a key of :name wit

Re: Good choices for a NoSQL database with Clojure?

2011-03-26 Thread Michael Ossareh
On Sat, Mar 26, 2011 at 12:15, Michael Ossareh wrote: > > > On Sat, Mar 26, 2011 at 09:56, Base 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

Re: Good choices for a NoSQL database with Clojure?

2011-03-26 Thread Michael Ossareh
On Sat, Mar 26, 2011 at 09:56, Base 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. > > I've replaced my rdbms with Riak (www.basho.com). > Strong clo

Re: Tracking Clojure 1.3/2.0 progress

2011-03-09 Thread Michael Ossareh
On Wed, Mar 9, 2011 at 13:23, Aaron Bedra wrote: > On 03/09/2011 02:18 PM, Fogus wrote: > >> Hi all, >> >> I've put together a Jira dashboard to display a distillation of the >> current progress toward the 1.3/2.0 release. I believe that anyone >> can view it, so pass the link far and wide. >> >

Re: Issue with lein-ring...

2011-03-08 Thread Michael Ossareh
On Tue, Mar 8, 2011 at 11:31, John Szakmeister wrote: > I've been working on a web app, and it was using leiningen-war. The > author of that suggest moving to the lein-ring plugin on his github > site... so, I did that. However, when I run "lein ring server" I get > a traceback, which I show be

Re: java.lang.Exception: transaction rolled back: java.lang.InterruptedException

2011-02-24 Thread Michael Ossareh
On Thu, Feb 24, 2011 at 14:36, clj123 wrote: > That didn't solve the problem. I've tried smaller row numbers and it > still throws the same error: > > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.RuntimeException: java.lang.InterruptedException >at clojure.lang.Lazy

Re: defrecord/deftype ...

2011-02-16 Thread Michael Ossareh
> > Do you have more details of this - it sounds interesting... > A very rough answer: https://github.com/ossareh/clj-boilerplate I've some local changes that will go up in a few days that make this "better" - they're based off me actually using the framework where as what is there right now is m

Re: defrecord/deftype ...

2011-02-16 Thread Michael Ossareh
of maps. Though the fact errors take place in my code versus further down the stack is a nice benefit in this setup. On Feb 16, 2011 2:34 AM, "Sunil S Nandihalli" wrote: > Thanks Michael. > yea true .. but I don't think I will miss them much .. :) > Sunil. > > On W

Re: defrecord/deftype ...

2011-02-15 Thread Michael Ossareh
> > Am I missing something? > types. -- 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 unsubscrib

Re: [ANN] emacs-nexus (Emacs client for Nexus Maven repository servers)

2011-02-14 Thread Michael Ossareh
On Mon, Feb 14, 2011 at 16:50, Scott Jaderholm wrote: > On Mon, Feb 14, 2011 at 7:21 PM, Jürgen Hötzel wrote: > >> Hi, >> >> Although Emacs is a great environment for writing Clojure code and >> Leiningen/Cake makes Maven builds less painful, you still had to >> switch from your Emacs environment

Re: clojure xmpp

2011-02-10 Thread Michael Ossareh
On Thu, Feb 10, 2011 at 08:21, Bruce Durling wrote: > Mark, > > Smack looks delightfully straightforward. I think I'll give it a shot > thanks! > > Smack has a bunch of oddities once you start wanting to do anything past simple message processing. The predominate issue (this as of smack 3.0 I bel

Re: clojure.contrib.condition

2011-02-07 Thread Michael Ossareh
https://github.com/technomancy/leiningen/blob/master/sample.project.clj try adding :aot [clojure.contrib.condition] to your project.clj ? On Mon, Feb 7, 2011 at 17:56, Brian Marick wrote: > The header documentation for clojure.contrib.condition says: > > Note: requires AOT compilation. >

Re: searching for a good name thread-let, thread-with, thread-thru

2011-02-04 Thread Michael Ossareh
On Fri, Feb 4, 2011 at 12:05, B Smith-Mannschott wrote: > I came up with this macro, but I'm unsure what to call it: > > (defmacro thread-let [[varname init-expression :as binding] & expressions] > {:pre [(symbol? varname) > (not (namespace varname)) > (vector? binding) >

Re: extend-protocol with defrecord

2011-02-02 Thread Michael Ossareh
On Wed, Feb 2, 2011 at 18:49, Alex Osborne wrote: > Michael Ossareh writes: > > > You'll notice in the map returned after the second (extend-protocol) > > that :impls has example.Extender1 listed twice. I assume this is > > because they're different records, t

extend-protocol with defrecord

2011-02-02 Thread Michael Ossareh
Hi All, I've found extending-protocol to hold on to a references to records when they're redefined. example> (defprotocol ToExtend (foo [this])) ToExtend example> (defrecord Extender1 []) example.Extender1 example> (extend-protocol ToExtend Extender1 (foo [this] "extender1")) nil example> To

Re: Getting http-agent to throw an exception if url doesn't exist?

2011-01-30 Thread Michael Ossareh
p. > > Looks great! cheers for this. > On 27 Jan., 02:21, Michael Ossareh wrote: > > On Wed, Jan 26, 2011 at 14:57, Stuart Sierra < > the.stuart.sie...@gmail.com>wrote: > > > > > clojure.contrib.http-agent (which I wrote) is deprecated in 1.2 and > gone in

Re: Getting http-agent to throw an exception if url doesn't exist?

2011-01-26 Thread Michael Ossareh
On Wed, Jan 26, 2011 at 14:57, Stuart Sierra wrote: > clojure.contrib.http-agent (which I wrote) is deprecated in 1.2 and gone in > 1.3. Which lib is recommended to replace it? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: slow mysql inserts

2011-01-19 Thread Michael Ossareh
On Wed, Jan 19, 2011 at 09:15, rygorr wrote: > This was it. The overhead was in creating the handle. > > I can't remember who told me this: "Always blame the network". In finer detail, the conversation was about things that use the network and are so very much slower than you anticipate. -- Y

Re: Create a map from two seqs

2011-01-17 Thread Michael Ossareh
On Mon, Jan 17, 2011 at 10:14, Sam Aaron wrote: > > There are a lot of handy functions like this in core but you really need to > know they exist before you can use them. Discovering new ones is always > exciting! > I've found lurking in #clojure on irc to be a great way to find out about the fun

Re: Notice: c.c.json parser and clojure.lang.Ratio

2011-01-10 Thread Michael Ossareh
On Sat, Jan 8, 2011 at 23:38, Stuart Sierra wrote: > Ratios aren't valid JSON. If the recipient is Clojure, you don't need JSON > at all, just pr-str and read-string. Of course! Thanks, mike -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: Notice: c.c.json parser and clojure.lang.Ratio

2011-01-08 Thread Michael Ossareh
On Sat, Jan 8, 2011 at 13:49, Stuart Sierra wrote: > There's no solution here that will be perfect for all cases. But I've made > the decision that c.c.json will always "downgrade" Clojure types to the > nearest equivalent JSON types. It does not promise round-trip preservation > of types not spec

Re: #clojure in 2010

2011-01-06 Thread Michael Ossareh
On Thu, Jan 6, 2011 at 08:50, Miki wrote: > If someone is interested in some other statistics, please let me know and > I'll try to make it happen. >> >> >>> >> The most talkative person per session would be interesting :) though >> perhaps session time is a PITA to establish particularly across

Re: Notice: c.c.json parser and clojure.lang.Ratio

2011-01-05 Thread Michael Ossareh
> > I'm unclear on what the correct course of action in this case should be. > However this can be solved by transforming the ratios before and after to the jsonification: https://gist.github.com/767204 (clojure.walk/postwalk transform-ratio {:a [3/4] :b {:foo {:bar 3/4} :bar {:a 1}}}) => {:a [

Re: #clojure in 2010

2011-01-05 Thread Michael Ossareh
On Tue, Jan 4, 2011 at 19:06, Miki wrote: > If someone is interested in some other statistics, please let me know and > I'll try to make it happen. > > The most talkative person per session would be interesting :) though perhaps session time is a PITA to establish particularly across days boundar

Notice: c.c.json parser and clojure.lang.Ratio

2011-01-05 Thread Michael Ossareh
Hi, It turns out that c.c.json/json-str will spit out Ratio's in a manner which is not json compliant. (json-str [3/4]) => "[3/4]" This parses correctly in the reverse situation: (read-json (json-str [3/4])) => [3/4] When being read [1] we switch over to using the clojure form reader so this p

Re: pods?

2010-12-24 Thread Michael Ossareh
On Fri, Dec 24, 2010 at 01:20, Meikel Brandmeyer wrote: > Hi, > > Am 24.12.2010 um 09:56 schrieb Meikel Brandmeyer: > > > Am 24.12.2010 um 09:44 schrieb Sunil S Nandihalli: > > > >> what are PODS? > > And as a side note: I'm sad that people on conferences know more about pods > than people on thi

Re: Automatically unmapping unit tests from namespaces

2010-12-21 Thread Michael Ossareh
On Tue, Dec 21, 2010 at 21:36, Michael Ossareh wrote: > On Tue, Dec 21, 2010 at 16:16, Phil Hagelberg wrote: >> >> >> It also highlights failures in the test buffer for better feedback. > > > when there is a failure where are the details of the failure pri

Re: Automatically unmapping unit tests from namespaces

2010-12-21 Thread Michael Ossareh
On Tue, Dec 21, 2010 at 16:16, Phil Hagelberg wrote: > > > It also highlights failures in the test buffer for better feedback. when there is a failure where are the details of the failure printed out to? I love that the highlight shows me which test have errors, but since I've moved over to the

Re: Java out of memory problem

2010-12-16 Thread Michael Ossareh
On Thu, Dec 16, 2010 at 09:19, clj123 wrote: > Hello, > > I'm trying to insert in a database large number of records, however > it's not scaling correctly. For 100 records it takes 10 seconds, for > 100 records it takes 2 min to save. But for 250 records it > throws Java Heap out of memor

Re: Erlang-esque bit syntax in Clojure?

2010-12-16 Thread Michael Ossareh
> > I was wondering if anyone has been working > on implementing a bit syntax for Clojure in the rough conceptual style > of Erlang's bit syntax. > I'm not an erlang-pro, just dabbled enough to know I like the pattern matching, which is what you're talking about here, I believe. > I'm looking fo

Re: post your feedback on the conj

2010-12-13 Thread Michael Ossareh
On Wed, Dec 8, 2010 at 02:16, Sam Aaron wrote: > The rollout of videos has already started: > > http://twitter.com/clojure_conj/status/10324356836102144 > > Fogus' talk: http://clojure.blip.tv/file/4501296/ The synopsis says "30 minutes" but it seems there may have been an issue in the upload /

Re: Clojure on java me vms?

2010-12-12 Thread Michael Ossareh
On Sun, Dec 12, 2010 at 19:45, Kevin Downey wrote: > no, the runtime you get with every j2me implementation I've seen ia a > stipped down java 1.3 or 1.4. Clojure requires 1.5 at least. Basically > there are no phones with a real, up to date, jre. Out of interest, and with no time to find this

Re: OOM with Agents

2010-12-12 Thread Michael Ossareh
> > This was the first issue, the second issue is that I'm queueing up lots of > data for the thread pools and as a result I'm able to completely exhaust the > available memory. the clj-sys/work framework seems to be what I need to > ensure there is a fixed number of threads. > I wrote this up: ht

Re: OOM with Agents

2010-12-11 Thread Michael Ossareh
On Fri, Dec 10, 2010 at 23:36, Alex Osborne wrote: > Michael Ossareh writes: > > > There are 54874 companies in the companies var. The OOM tends to take > place when there are 1000 or so companies to process. > > > > What is likely to be causing this issue? &g

OOM with Agents

2010-12-10 Thread Michael Ossareh
Hi, I've cobbled together some grungy code to attempt to work out the number of employees in different ranges - the code is a horrible mess of side effects: https://gist.github.com/737179 (pmap process-company (take 1500 companies)) results in: Exception in thread "pool-2-thread-3905" java.lang

Re: easiest way to make a map out of a list?

2010-12-08 Thread Michael Ossareh
On Mon, Dec 6, 2010 at 21:01, Alex Baranosky wrote: > Way I have [:a 1:b 2] and I want to convert it to {:a 1 :b 2} Minor quibble - [] is a Vector not a list. List is (). -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: functional thinking

2010-12-02 Thread Michael Ossareh
ifferent things!). > > http://s-expressions.com/2010/01/24/conjure-simple-mocking-and-stubbing-for-clojure-unit-tests/ Great links - thanks Alyssa. > > > Remember that unit testing is NOT integration testing... > > Thanks, > Alyssa > > On Dec 1, 8:29 am, Laurent PETIT wrote

Re: functional thinking

2010-12-02 Thread Michael Ossareh
On Wed, Dec 1, 2010 at 05:29, Laurent PETIT wrote: > Hi, > > 2010/12/1 Michael Ossareh > > Hi All, >> >> In the course of putting together my latest piece of work I decided to >> really embrace TDD. This is run of the mill for me in Java: >> >&g

functional thinking

2010-12-01 Thread Michael Ossareh
Hi All, In the course of putting together my latest piece of work I decided to really embrace TDD. This is run of the mill for me in Java: - create some object that models your flow - create some object which contains your storage logic - create tests - dependency inject the correct storage logic

Re: clojure 1.3 alpha3 and swank

2010-11-28 Thread Michael Ossareh
On Sun, Nov 28, 2010 at 00:15, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > what repository did you get it from? > I don't seem to fine 1.3.0 anywhere.. > > http://clojars.org/swank-clojure I forgot the -SNAPSHOT in my previous message. -- You received this message because you are

Re: clojure 1.3 alpha3 and swank

2010-11-27 Thread Michael Ossareh
I had no issues with swank-clojure 1.3.0: in project.clj [swank-clojure "1.3.0"] I had plenty of issues using other libraries as there are some breaking changes in 1.3. YMMV. On Thu, Nov 25, 2010 at 05:52, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > Hello Everybody, > I would lik

Re: clojure-contrib 1.3.0-alpha3 deployed to build.clojure.org

2010-11-22 Thread Michael Ossareh
On Mon, Nov 22, 2010 at 14:56, Benny Tsai wrote: > My guess is that they're being deprecated in favor of their > counterparts in clojure.core: > > string -> clojure.string > io -> clojure.java.io Ah right, I think I remember that now. Thanks! -- You received this message because you are subs

Re: clojure-contrib 1.3.0-alpha3 deployed to build.clojure.org

2010-11-22 Thread Michael Ossareh
On Sun, Nov 7, 2010 at 06:50, Stuart Sierra wrote: > http://build.clojure.org/releases/org/clojure/contrib/ > > -- > 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 n

Re: Development vs Production resource files

2010-11-05 Thread Michael Ossareh
On Mon, Nov 1, 2010 at 21:09, Sean Corfield wrote: > This Q came up on the Leiningen list but I wanted to share my answer > on the larger Clojure group to get feedback from a bigger pool... > > On Mon, Nov 1, 2010 at 8:40 PM, Shantanu Kumar > wrote: > > There are some resource files (e.g. dbconf

Re: From jetty to war?

2010-11-05 Thread Michael Ossareh
On Wed, Nov 3, 2010 at 20:51, Mike Meyer < mwm-keyword-googlegroups.620...@mired.org> wrote: > > Finding good people is hard enough that wanting them to be good in > three or four languages is enough to break the camels back. If you've > got time to cross-train them - then you don't need > > I've

Re: Clojure on Javascript

2010-11-03 Thread Michael Ossareh
On Fri, Oct 29, 2010 at 21:32, Michael Gardner wrote: > Agreed. What is the point of Javascript on the server side? Familiarity? > Consistency with client-side code? > I guess what Java was meant to be, to some degree? "Write once run anywhere". I for one am still hankering for a great way to w

Re: Getting this error regarding duck-streams/spit ...

2010-10-25 Thread Michael Ossareh
On Mon, Oct 25, 2010 at 19:09, Victor Olteanu wrote: > > java.lang.IllegalStateException: spit already refers to: > #'clojure.contrib.duck-streams/spit in namespace: datatool.api (api.clj:1) > Hi Victor, I solved this issue by using (require) instead of (use). i.e. (ns myapp (require [other-ns

Re: Let usage question

2010-10-20 Thread Michael Ossareh
On Wed, Oct 20, 2010 at 09:52, Alan wrote: > I agree with Tom (and with Stuart). I tend to like using ->> when it's > convenient, since all you're really doing is performing a list of > transformations on a single object. However, the let is better > documentation if that's ever going to matter.

Re: Conj arrivals and Thursday night...

2010-10-18 Thread Michael Ossareh
> > > Eric Lavigne wrote .. > > > What's this about an after party? > > jealous :( /me darns this startup life that doesn't permit travel -- 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

Re: SQLAlchemy in Clojure?

2010-10-18 Thread Michael Ossareh
> > On Mon, Oct 18, 2010 at 11:18 AM, Sean Devlin > wrote: > > Okay, I just finished a Python app for work. Using SQLAlchemy was a > > joy. Has anyone ported this yet? > > Having never used SQLAlchemy, and rarely python, what are the benefits of SQLAlchemy? My only experience with ORM was hibern

Re: Newbie : Java Interop question

2010-10-15 Thread Michael Ossareh
On Fri, Oct 15, 2010 at 09:32, oak wrote: > Hi All, > > This is how i see the package in package explorer. > IEssbase.class > (I) IEssbase > (C, s f) Home > (M, s) create(String) IEssbase > (M, c) Home() > (P, s f) JAPI_VERSION > > Out of interest what is this

Re: RFE: modify description of "assoc"

2010-10-14 Thread Michael Ossareh
On Thu, Oct 14, 2010 at 08:02, Ralph wrote: > First, how do I submit a request for enhancement? > > I believe the process is: a) register on assembla, b) submit ticket ( http://www.assembla.com/spaces/clojure/tickets/custom_report/2729 ) If you intend to provide the change via a pull request on

Re: ANN: funkyweb 0.1.0 - The clojure webframework with route inference

2010-10-06 Thread Michael Ossareh
2010/10/6 Cédric Pineau > > One thing : I'm new to clojure and gathering information about the whole > ecosystem, including web frameworks, but find it hard to figure what to > choose. This has been raised quite a few times recently. Is this a sign of some critical mass starting to form? > It

Re: lispy ways of handling dev mode

2010-10-04 Thread Michael Ossareh
On Sat, Oct 2, 2010 at 22:46, Scott Jaderholm wrote: > On Sat, Oct 2, 2010 at 6:36 PM, Michael Ossareh wrote: > >> What is the recommended manner in which to let your application know its >> on a dev machine? >> > > I use an environment variable that determines w

Re: relational data aggregation language

2010-10-02 Thread Michael Ossareh
On Fri, Oct 1, 2010 at 17:55, Ross Gayler wrote: > Hi, > > This is probably an abuse of the Clojure forum, but it is a bit > Clojure-related and strikes me as the sort of thing that a bright, > eclectic bunch of Clojure users might know about. (Plus I'm not really > a software person, so I need a

Re: Screencast of the Emacs front end to the Clojure Debugging Toolkit:

2010-10-02 Thread Michael Ossareh
On Fri, Oct 1, 2010 at 13:32, George Jahad wrote: > For your delectation: > http://www.vimeo.com/15462015 This is sick! In the good sense! -- 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

lispy ways of handling dev mode

2010-10-02 Thread Michael Ossareh
What is the recommended manner in which to let your application know its on a dev machine? I'm building an app that sends emails based on certain events, however when I'm developing locally I'd rather it print the email to my log file. I have a variable in that namespace: *send* which is def'ed to

Re: functions left over in the vm

2010-09-28 Thread Michael Ossareh
On Sun, Sep 26, 2010 at 22:03, Phil Hagelberg wrote: > On Sun, Sep 26, 2010 at 2:56 PM, Michael Ossareh > wrote: > > Situation: We've built a product, very rapidly thanks to being able to > > produce stuff very quickly in clojure. However now that it is somewhat > &g

Re: functions left over in the vm

2010-09-28 Thread Michael Ossareh
On Sun, Sep 26, 2010 at 22:05, Robert McIntyre wrote: > > > Here are my functions that they may be helpful to you: > > (defmacro ns-nuke > ([] > (let [current-ns# (symbol (str *ns*))] > `(do > (println "NUKING namespace" (quote ~current-ns#)) > (clojure.lang.Namespace/

functions left over in the vm

2010-09-26 Thread Michael Ossareh
How are other people handling the process of reducing code in their projects? Situation: We've built a product, very rapidly thanks to being able to produce stuff very quickly in clojure. However now that it is somewhat settled I'm in the process of paring down the code, removing defunct fn's, etc

Re: thinking in clojure

2010-09-17 Thread Michael Ossareh
On Fri, Sep 17, 2010 at 08:58, Michael Wood wrote: > On 17 September 2010 00:56, Michael Ossareh wrote: >> Meikel, >> >>> >>>>     (recur (cond (not (nil? (data key))) >>>>                (true? true) >>> >>> *ieeck* Please do

Re: thinking in clojure

2010-09-17 Thread Michael Ossareh
Meikel, > >>     (recur (cond (not (nil? (data key))) >>                (true? true) > > *ieeck* Please do (cond ... :else default-clause). Not true, or (true? > true) or other stuff. Wow, I somehow missed the :else option in cond? I've got that (true? true) stuff scattered all over my code - goi

Re: thinking in clojure

2010-09-17 Thread Michael Ossareh
>> (loop [data (sorted-map) >>          collection newData >>          meeting (first collection)] >> >>   (def key ( )) > > As a general rule, def should only be used at the top level. You > probably want (let [key ...] (if ...) here. Hey, thanks for pointing this out - I was actually just t

Re: thinking in clojure

2010-09-17 Thread Michael Ossareh
On Thu, Sep 16, 2010 at 07:53, Laurent PETIT wrote: > 2010/9/16 Meikel Brandmeyer >> >> Hi Laurent, >> >> On 16 Sep., 15:54, Laurent PETIT wrote: >> >> > you don't like my one-liner ? :-) >> >> I saw your message only after I sent mine. :) >> >> > (update-in coll [k] (fnil update-in *default-val

thinking in clojure

2010-09-16 Thread Michael Ossareh
Hi Guys, One of the things that has struck me about clojure, by virtue of being a lisp, is the concision of the code - I really find it very attractive. However yesterday I found something that I couldn't work out how to do in a concise manner. Clearly commenting the code was a priority once I got

Re: var args

2010-09-14 Thread Michael Ossareh
Alan and Patrick, thank you so much! I've come across apply in JS and it really should have clicked for me! So I have the following, and it works very well: (defn make-tables [connection schema] (sql/with-connection connection (doseq [[name & specs] schema] (try

var args

2010-09-14 Thread Michael Ossareh
Hi, I don't fully understand how to make real use of varargs and destructuring. c.c.sql/create-table is defined as follows: (create-table name & specs) Called as follows: (c.c.sql/create-table :tblname [:cola :text "NOT NULL" "PRIMARY KEY"] [:colb :number "NOT NULL"] [:colc :blob "NOT NULL"

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-08 Thread Michael Ossareh
On Wed, Sep 8, 2010 at 08:17, CuppoJava wrote: > Ah I see. Yes, motivation is hard. I don't have any good tips for > that. I'm still a noob at the evangelising part of Lisp! However, when it comes to clojure, I tell Java people it's a better way of writing Java than Java; it gives you all the t

Re: JSON lib of choice?

2010-09-07 Thread Michael Ossareh
On Mon, Sep 6, 2010 at 19:50, Wilson MacGyver wrote: > I figure enough time has passed that I want to bring this up again. > > For JSON, are you using clojure.contrib.json or clj-json? Why? > We use org.danlarkin.json, because it encodes and decodes (contrib.json didn't when we made our decisio

Re: Thinking in Clojure

2010-09-03 Thread Michael Ossareh
On Thu, Sep 2, 2010 at 21:05, Miki wrote: > I'd go over SICP, though it not in Clojure but in Scheme - it will > show you how to "think" functional. > +1 on this. http://mitpress.mit.edu/sicp/ -- !new number! 415-400-6772 -- You received this message because you are subscribed to the Googl

Re: Web Development - templating?

2010-09-01 Thread Michael Ossareh
I highly recommend using Google Closure Templates. Clojure's java interop lets you script up creating a page from the soy files very efficiently and quickly (yay clojure!!). Also the fact that you can run the templates on the server and client mean if your idea scales up you can XHR data to and fro

Re: Installing Clojure on OS X

2010-08-17 Thread Michael Ossareh
On Tue, Aug 17, 2010 at 07:59, HB wrote: > Hey, > How to install Clojure on Mac OS X? > I wrote this pre 1.2: https://docs.google.com/Doc?docid=0AW2Ojyy-IGoHZGR0c256dmZfNTRjenBoYnBjaA&hl=en There are likely a few changes needed but a cursory glance and it mostly looks right. In summary - use em