- Friday / Saturday
- SF Bay Area
Chad Harrington
chad.harring...@gmail.com
On Fri, Jan 22, 2010 at 9:36 AM, dysinger t...@dysinger.net wrote:
We will be organizing a conference in the next month for 2010
(probably in the fall). One question I would like to ask is, given
the conference is
Greetings, Mr. Wampler,
Actually, I was thinking about doing a short cross-comparison of the advantages
and disadvantages of Mozart/Oz and Scheme in multiparadigm programming in the
textbooks SICP and CTM; however, currently, because of the economic depression,
my company has been forced to
On Jan 24, 6:40 am, CuppoJava patrickli_2...@hotmail.com wrote:
Thanks for the reply. That seems to match well with how I thought they
were supposed to work.
I'm just a little confused by the
set!, with-local-vars, functions. What are they supposed to be used
for?
-Patrick
Vars are
2010/1/23 ataggart alex.tagg...@gmail.com:
If the authors of of c.c.trace are
amenable, I'm inclined to add this functionality to a variant of the
c.c.logging/spy macro
Great idea!
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
2010/1/24 Eric Lavigne lavigne.e...@gmail.com:
lein run
Great! Very handy 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 -
+1 to Boston/NY/DC/Bay Area in that order
On Sun, Jan 24, 2010 at 3:44 AM, Chad Harrington
chad.harring...@gmail.com wrote:
- Friday / Saturday
- SF Bay Area
Chad Harrington
chad.harring...@gmail.com
On Fri, Jan 22, 2010 at 9:36 AM, dysinger t...@dysinger.net wrote:
We will be organizing
Be careful of deftrace. It has a bug that crashes when the defn'ed
funcs have string comment on the top of the func
On Jan 23, 7:02 am, ataggart alex.tagg...@gmail.com wrote:
On Jan 22, 6:27 pm, Mike Meyer mwm-keyword-googlegroups.
620...@mired.org wrote:
On Fri, 22 Jan 2010 17:25:39 -0800
+1 Boston.
Brent Millare wrote:
Weekend, and East coast, either near the DC area or New York Area,
maybe Boston area is OK too.
On Jan 22, 12:36 pm, dysinger t...@dysinger.net wrote:
We will be organizing a conference in the next month for 2010
(probably in the fall). One question I would
When: weekends
Where: DC, Boston, NY, San Fran
Who: at least one, probably more
Newsgroups are such a painful way to vote on things. Google Wave or
some other wiki-like thing would make it much easier to aggregate
everyone's input.
On Jan 24, 8:37 am, Jeff Schwab j...@schwabcenter.com wrote:
+1
That makes sense Jarkko, thanks for the explanation.
So then, for my example, using a binding and set! would be the proper
way of going about it right? Because I don't intend for multiple
threads to access the job queue.
And is there a way to change the bound value for another thread?
The
This thing is driving me nuts. If I do a cyclic require(ns-a requires
ns-b and ns-b requires ns-a) I get exceptions complaining about No
such var-..
How can cyclic dependencies be done correctly in Clojure ? I know it
might be bad practice. But I really need it.
--
You received this message
Short answer: you can't. And yes, it's a smell (a bad one) if you
want to achieve this.
You have to somehow break the cycle :
* maybe acknowledge that ns a b are strongly coupled since there's
the need for a cyclic dependency, and merge them.
* sometimes one wants to have a b to have
2010/1/24 CuppoJava patrickli_2...@hotmail.com:
That makes sense Jarkko, thanks for the explanation.
So then, for my example, using a binding and set! would be the proper
way of going about it right? Because I don't intend for multiple
threads to access the job queue.
And is there a way to
You know what? I am not sure that it smells so bad actually. What if I
have 2 modules that collaborate with each other and use each other
functions ? Why is this so bad?
On Jan 24, 5:32 pm, Laurent PETIT laurent.pe...@gmail.com wrote:
Short answer: you can't. And yes, it's a smell (a bad one)
Hi all,
I'm stumbling about the very basics.
Calling clojure like this:
rlwrap java
-cp /home/manfred/clojure/clojure.jar:/home/manfred/clojure/clojure-contrib.jar
clojure.main
I try:
user= (ns my (:require clojure.contrib.classpath))
nil
my=
which to me looks fine.
But why does this
Maybe try
(ns my (:require [clojure.contrib.classpath :as cp]))
(cp.classpath)
On Jan 24, 5:28 pm, Manfred Lotz manfred.l...@arcor.de wrote:
Hi all,
I'm stumbling about the very basics.
Calling clojure like this:
rlwrap java
-cp
If the collaboration is deeply entwined, the two modules should be one
module. If one module uses another, but with occasional callbacks in
the other direction, use an interface or a protocol to define the
backchannel.
Think about it from the point of view of someone wanting to call your
It has confused me since the day I tried to mess around with clojure that
this topic isn't brought up more (not that I follow clj regularly) ... so
I'm happy to learn that someone added trace capabilities.
That said (and I'm not trying to make this a charged statement ... just a
way to learn
On Jan 24, 2010, at 17:12 , Stuart Halloway wrote:
If the collaboration is deeply entwined, the two modules should be one
module. If one module uses another, but with occasional callbacks in the
other direction, use an interface or a protocol to define the backchannel.
That sounds horribly
Sorry, I meant (cp/classpath) ..
On Jan 24, 6:06 pm, Gabi bugspy...@gmail.com wrote:
Maybe try
(ns my (:require [clojure.contrib.classpath :as cp]))
(cp.classpath)
On Jan 24, 5:28 pm, Manfred Lotz manfred.l...@arcor.de wrote:
Hi all,
I'm stumbling about the very basics.
Calling
A little progress update.
I havent had much time to work on this since my initial effort. But
this weekend I have gotten structures to work.
The reason that special support for structures is needed is to support
C api's that pass them by value.
Most of the effort to make this work went into how I
Hi,
I was wondering whether there was an elegant way to make this macro do
more work:
(defmacro define-template [template-name template-params]
`(def ~template-name (apply merge (map (fn [[k# v#]]
{(keyword k#) (var-get
(resolve v#))})
ok folks, we need some more real opinions... :)
we're thinking it will be in the Bay Area, some time during early
fall. weekend seems logical from the responses so far...
as far as pricing goes, how does something in the $199 range sound? we
can probably add a tutorial day Friday for a small
On Sun, Jan 24, 2010 at 10:28 AM, Manfred Lotz manfred.l...@arcor.dewrote:
user= (ns my (:require clojure.contrib.classpath))
nil
my=
which to me looks fine.
But why does this fail?
my= (classpath)
java.lang.Exception: Unable to resolve symbol: classpath in this
context
Sorry for asking this here, but it's about the Clojure IRC room, which
is kind of related to Clojure, being this group's sister help
resource.
I know nothing about IRC, but I've been using the Colloquy application
for Mac OS X to connect to the Clojure IRC room on irc.freenode.net.
It was working
Perhaps this might help:
http://freenode.net/faq.shtml#userregistration
On Sun, Jan 24, 2010 at 1:30 PM, joshua-choi rbysam...@gmail.com wrote:
Sorry for asking this here, but it's about the Clojure IRC room, which
is kind of related to Clojure, being this group's sister help
resource.
I
Thanks for the link; it's helpful. I've registered with Freenode as
joshua-choi with a password and nickname, and my IRC client informs me
when I reconnect that the server has identified me as joshua-choi.
However, when I try to send a message, I still get the same error.
Could anything else be a
Ah! Never mind! I just got an email telling me that I had to verify
the account! I did that, and I can now send messages to the room (I
think). Thanks a lot!
On Jan 24, 12:00 pm, joshua-choi rbysam...@gmail.com wrote:
Thanks for the link; it's helpful. I've registered with Freenode as
That said (and I'm not trying to make this a charged statement ...
just a way to learn more) I had always thought that one of the key
things that made lisp so complete was that programs don't just
crash ... that debugging is fully-baked into the *core* of
everything. Now, I don't remember
interesting. thanks for the thoughtful reply.
On Sun, Jan 24, 2010 at 2:08 PM, Richard Newman holyg...@gmail.com wrote:
That said (and I'm not trying to make this a charged statement ... just a
way to learn more) I had always thought that one of the key things that made
lisp so complete was
as far as pricing goes, how does something in the $199 range sound? we
can probably add a tutorial day Friday for a small additional cost,
say $149...? we can certainly have some well-known clojurians conduct
the tutorials, I'm sure we'll have plenty of real world clojure
experience in the
I recently found a scheme problem that I think would be a good
exercise for a new Clojure developer. I've written about it here:
http://fulldisclojure.blogspot.com/2010/01/code-kata-data-sifter.html
Have fun.
Sean
--
You received this message because you are subscribed to the Google
Groups
Manfred,
The (:require clojure.contrib.classpath) tuple tells the ns function
to load the clojure.contrib.classpath library if it has not already
been loaded. Clojure looks for clojure/contrib/classpath.clj (or the
equivalent class file) somewhere in your classpath, which in your
case would be
Some software principle are certainly above the languages used to
solve a problem, even probably above programming paradigms (OOP,
purely functional, etc.).
Java certainly has good parts, and having promoted the role and
importance of interfaces must certainly be accounted to its credit.
But
It's an elegant puzzle. Thanks Sean!
Here's my take:
(defn sift [pred? s]
(lazy-seq
(if (seq s)
(let [key (first s)
[vals remaining] (split-with #(not (pred? %)) (rest s))]
(cons [key vals] (sift pred? remaining))
Running:
(sift string? [a 2 b 3 4 c d 4])
As a side note, I didn't see anywhere in clojure docs that cyclic
references are forbidden.
And if it is forbidden, the Exception raised by the runtime should
reflect this instead of the odd No
such var-.. exception
On Jan 24, 10:44 pm, Laurent PETIT laurent.pe...@gmail.com wrote:
Some software
2010/1/24 Gabi bugspy...@gmail.com:
As a side note, I didn't see anywhere in clojure docs that cyclic
references are forbidden.
Yeah, and that's why I didn't employ (or intend to ?) the word
forbidden, but rather the words smells and software principles.
Smells and principles and general
On Jan 24, 9:05 am, joel r cirqu...@gmail.com wrote:
Hi,
I was wondering whether there was an elegant way to make this macro do
more work:
(defmacro define-template [template-name template-params]
`(def ~template-name (apply merge (map (fn [[k# v#]]
The documentation for the `proxy' macro mentions lack of access in the
defined implementation to protected members:
,[ proxy ]
| Note that while method fns can be provided to override protected
| methods, they have no other access to protected members, nor to super,
| as these capabilities
On Jan 24, 5:05 pm, joel r cirqu...@gmail.com wrote:
It's meant to be called like this:
(define-template some-template-name
page some-function-1
posts some-function-2
post some-function-3)
It defs a var called some-template-name bound to a map that looks like this:
{:page
The former is a lot clearer to read, as it uses standard Clojure
datastructures.
... which offers other advantages beyond the human, such as
(def page-names keys)
user= (page-names foobar)
(:page :posts :post)
Power comes from algorithms × data structures, and hiding the data
structures —
Hi,
I was wondering if anyone has tried somehow calling Jython functions
from within Clojure, and how you went about doing this if so. I have
not used Jython, but I would imagine the Jython interpreter can be
invoked in the same way as any other java code, and Python programs
can be run within
This is using a sledgehammer to drive in a nail, but you can use
java.lang.reflect.Method.setAccessible (http://java.sun.com/javase/7/
docs/api/java/lang/reflect/AccessibleObject.html#setAccessible
%28boolean%29) to make an otherwise protected method available for
public access. It's a
We don't know what the cost is going to be yet - I want to keep it _low_ but
we don't have any sponsors yet nor do we have a small (narrowed) list of
locations picked out. We plan on working on these items this month and will
release more info soon as we know more.
On Sun, Jan 24, 2010 at 9:42
.Bill Smith william.m.sm...@gmail.com writes:
you can use java.lang.reflect.Method.setAccessible to make an
otherwise protected method available for public access.
It looks like one would have to hang on to the Method object and reuse
it, as setting one Method instance's accessibility has no
Richard,
Agreed - I'm not committing to anything right now, just throwing out
what we might target, if those numbers sounds reasonable to people.
Like Tim said, our goal is to keep costs low, so we can keep the price
low.
Regards,
Amit.
On Jan 24, 2:51 pm, Tim Dysinger t...@dysinger.net wrote:
Location: DC (central and lots of Clojurers in the area) or Atlanta
(cheap)
Days of week: Any, suggest Fri-Sat
There seem to be at least an equal (probably greater) number of east
coast Clojure users in North America and the east coast is an easier
destination for any European attendees.
I'm
Occasionally things like this remind me of the similarities between
parsing character sequences and dealing with unpredictably ordered
collections. For character sequences, the regular expression mechanism
has been invented. I wonder if any one else has ever wished for the
ability to write a
I was wondering if anyone has tried somehow calling Jython functions
from within Clojure, and how you went about doing this if so. I have
not used Jython, but I would imagine the Jython interpreter can be
invoked in the same way as any other java code, and Python programs
can be run within
Thanks for correcting me. I agree you would need to hang on to the
Method object.
On Jan 24, 5:09 pm, Steven E. Harris s...@panix.com wrote:
.Bill Smith william.m.sm...@gmail.com writes:
you can use java.lang.reflect.Method.setAccessible to make an
otherwise protected method available for
As has been discussed here previously, one way to generate an uncached
stream of numbers is:
(defn incs [i]
(proxy [clojure.lang.ASeq] []
(first [] i)
(next [] (incs (inc i)
ASeq implements most of the machinery of sequences, so you can just
implement the parts that differ.
I'd
That's very thoughtful Travis. I was also considering generalizing
regular expressions to apply to arbitrary ordered collections for this
question. That is the most elegant abstraction for this problem. I
suppose there just isn't enough real-world use for a regex on
collections to justify the
Hello everyone,
I'm having a blast making the Full Disclojure series. It's one the
best projects I've had a chance to work on.
However, there's going to be a problem soon. I only have a few more
topics left before I run out. No more topics, no more videos.
This is where you come in. I'm
Debugging techniques, including:
* How to make sense of Clojure's stack traces.
* How to use Java debugging and profiling tools with 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
I see you did one recently on Leiningen - how about a companion piece
on the maven-clojure-plugin [1] and native maven ( covering automated
test script generation/running, repl and slime integration ), or going
completely experimental the polyglot maven clojure stuff ( adding
dynamic scripting to
* How to make sense of Clojure's stack traces.
* How to use Java debugging and profiling tools with Clojure.
1+
--
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
On 25 Jan, 06:50, Mark Engelberg mark.engelb...@gmail.com wrote:
Debugging techniques, including:
* How to make sense of Clojure's stack traces.
* How to use Java debugging and profiling tools with Clojure.
+1 for this. I haven't had the energy to try any debugging or
profiling tools yet.
2010/1/25 Mark Engelberg mark.engelb...@gmail.com:
Debugging techniques, including:
* How to make sense of Clojure's stack traces.
* How to use Java debugging and profiling tools with Clojure.
+1
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To
On Jan 25, 6:34 am, Sean Devlin francoisdev...@gmail.com wrote:
Hello everyone,
I'm having a blast making the Full Disclojure series. It's one the
best projects I've had a chance to work on.
However, there's going to be a problem soon. I only have a few more
topics left before I run out.
59 matches
Mail list logo