Re: Clojure Conj extracurricular activities spreadsheet

2011-10-29 Thread Edmund
Please add me to:

 - ClojureScript
 - core.logic/miniKanren
 - Heroku Drinkup
 - Literate Programming

Thanks.

On 26/10/2011 03:25, Michael Fogus wrote:
 We built quite a large list before the internet graffiti started 
 taking over, so if you have an addition then please post it here
 and it'll be added.
 

-- 
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: Trickiness with protocols and extends (1.3.0)

2011-10-29 Thread David McNeil
A couple of more thoughts on this.

On Oct 28, 12:46 pm, Howard Lewis Ship hls...@gmail.com wrote:
 (extend-type cascade.Asset
   ToAttributeValueString
   (to-attribute-value-string [asset] (:client-url asset)))

The reason this is probably not what you really want is that the set
of types which satisfy the Asset protocol is a superset of the set of
types which satisfy the cascade.Asset interface. This is certainly not
immediately obvious, but one way to understand it is that if you
extend a built-in Java type to implement your protocol, it does not
change the underlying type to implement the protocol's interface.
Rather it provides machinery in the protocol itself that knows how to
use the built-in Java type to satisfy the protocol.

 I don't think it is useful to try and think of this as interface
 inheritance because it is not the same as interface inheritance in
 Java.

I wasn't used to thinking of it as inheritance, but after thinking
about it more it seems like inheritance is a reasonable way to think
of it. Adapting protocol A to protocol B is like saying that all types
satisfying protocol B can also be used as if they satisfy protocol A
and furthermore there is a default implementation (that can be over-
ridden) of protocol A for them.

-David

-- 
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


A memcached client for clojure wrapping xmemcached

2011-10-29 Thread dennis
Hi,all

I wrote a memcached client for clojure wrapping xmemcached.Xmemcached
is an opensource high performance memcached client for java.

 It's name is clj-xmemcached,and it is on github

https://github.com/killme2008/clj-xmemcached

A basic example:

(ns demo
  (:use [clj-xmemcached.core]))

(def client (xmemcached localhost:12000))
(xset client key value)
(prn (xget client key))
(xcas client key #(str %  update))
(xshutdown client)

More detail please visit the github homepage.


-- 
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 memcached client for clojure wrapping xmemcached

2011-10-29 Thread dennis zhuang
An example with more detail is on

https://github.com/killme2008/clj-xmemcached/blob/master/example/demo.clj


2011/10/29 dennis killme2...@gmail.com

 Hi,all

 I wrote a memcached client for clojure wrapping xmemcached.Xmemcached
 is an opensource high performance memcached client for java.

  It's name is clj-xmemcached,and it is on github

 https://github.com/killme2008/clj-xmemcached

 A basic example:

 (ns demo
  (:use [clj-xmemcached.core]))

 (def client (xmemcached localhost:12000))
 (xset client key value)
 (prn (xget client key))
 (xcas client key #(str %  update))
 (xshutdown client)

 More detail please visit the github homepage.





-- 
庄晓丹
Email:killme2...@gmail.com
伯岩(花名)  bo...@taobao.com
Site:   http://fnil.net

淘宝(中国)软件有限公司 / 产品技术部 / Java中间件

-- 
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

testing framework for clojurescript?

2011-10-29 Thread Eric Harris-Braun
Hi folks,

I'm looking for people's experience and best-practices writing tests
for clojurescript apps.  Have folks been using Google Closure's test
functions?  Anybody tried integrating Jasmine?  Any other
approaches?What I'd love is something like midje for a more BDD
approach...

Thanks,

-Eric

-- 
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


clojure.Compile output in clojure-clr 1.3.0

2011-10-29 Thread Ian
Hi all,

In Clojure 1.2.0, if I run a command like:

c:\clojure\Clojure.Compile.exe program

then the output .dll and .exe files turn up in the current directory
as expected, but since 1.3.0 the output files land in the c:\clojure\
directory (i.e. the location of the compiler), which seems rather
strange. Is this a feature or a bug?

Cheers,
Ian

-- 
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: Literate programming

2011-10-29 Thread Damion Junk
I have also been using Emacs/Org-mode/Babel/R lately, mostly as a way to 
have easily modifiable write up and source code for assignments in 
statistics courses. I suppose this is one valid use, but I'm using it less 
to communicate code meaning and more as a convenient way to perform 
analysis, look at the results, and talk about them all in the same place, 
and then to easily generate documentation of my efforts [LaTeX output].

I have added the suggested LP readings from earlier in this thread to my 
reading queue. Looking forward to this meetup!

Best,

Damion

On Friday, October 28, 2011 12:21:47 AM UTC-4, Robert McIntyre wrote:

 I've found org-mode in emacs quite acceptable for literate programming
 in clojure.



-- 
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