Am Dienstag, 5. April 2011, 23:53:56 schrieb Stuart Sierra:
> defrecord does not, at present, produce a first-class Clojure object, just
> a Java class that implements Clojure's map interfaces. So there's no
> "Record" object to ask questions about. As Meikel said, you could use
> Java reflection
On Apr 5, 2011, at 8:35 PM, Ambrose B wrote:
> One thing I was confused about in the 1.1-betas was the boolean return value
> of tests seemed random. ie. tests that pass don't always return true.
Yes, there's no specified connection between `fact` return values and whether
the test(s) passed or f
Great work Brian!
One thing I was confused about in the 1.1-betas was the boolean return value
of tests seemed random. ie. tests that pass don't always return true.
Is this still the case?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to t
You mentioned you were on the Mac, so you can reduce your "round-
about"
using the pbcopy tool on the command line, as follows:
% pygmentize -f rtf swing-ex.clj | pbcopy -Prefer rtf
(Now, inside Keynote, just paste).
pbcopy and pbpaste are very useful tools to become familiar with.
cheers,
I'm in the same boat as Sam. Only one thing in particular that I'd
care to talk about. I understand the desire for variety, but I'm not
sure the whole multiple abstract requirement thing makes much sense.
You're getting a variety of talks from the people who have two things
to talk about but it cou
you can easily access a packaged scoped field using reflection without
having to write java. in fact there are functions in contrib to do
just that, please use them instead of writing java.
On Tue, Apr 5, 2011 at 3:18 PM, Stuart Sierra
wrote:
> It's a legitimate concern, but not necessarily a bug
On Tuesday, April 5, 2011 2:29:39 PM UTC-4, Sam Aaron wrote:
>
> Are you really requiring two abstracts or is that just a nice bit of
> cheese?
>
We'd really like a minimum of two proposals. Just like last year, we'd like
to have a unifying theme throughout the talks. It could end up being the
It's a legitimate concern, but not necessarily a bug at this point. So it
becomes a design decision: should Clojure support access to package-scoped
fields?
Personally, my initial reaction is that it should not. Package-scoped
fields are a quirk of Java. The solution on StackOverflow is adeq
You can omit clojure.core/first from your namespace like this:
(ns your.namespace
(:refer-clojure :exclude (first)))
Users of your library could do the same, and also `(:use your.namespace)` to
have access to your alternate definition of `first`.
-Stuart Sierra
clojure.com
--
You received t
defrecord does not, at present, produce a first-class Clojure object, just a
Java class that implements Clojure's map interfaces. So there's no "Record"
object to ask questions about. As Meikel said, you could use Java
reflection, but that's it.
There is some ongoing work to make records more
> I could write a number of abstracts representing different approaches to
> presenting the same core material, but that would seem disingenuous...
Since you've got the credentials of "an otherwise great speaker",
should your topic be taken they might have you talk about Ruby. Or,
that call for t
Is anyone working on a Clojure getting started package for the next
Google AI contest?
See
http://aerique.blogspot.com/2011/03/preparing-for-next-google-ai-challenge.html
Justin
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group,
On 5 Apr 2011, at 19:17, Christopher Redinger wrote:
> If you are interested in speaking at this year's Clojure Conj, please send us
> your talk ideas!
Are you really requiring two abstracts or is that just a nice bit of cheese?
I only have one topic I'd like to talk about. If that's interesti
If you are interested in speaking at this year's Clojure Conj, please send us
your talk ideas!
Visit http://clojure-conj.org for more details.
--
Christopher Redinger
http://clojure.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
On Tue, Apr 5, 2011 at 12:53 PM, Baishampayan Ghose wrote:
> On Tue, Apr 5, 2011 at 10:17 PM, Ken Wesson wrote:
And why would it come up as a page full of ads (mostly pretty scammy
looking ads, like fake Windows messageboxes and such) instead of a
Host Unknown error?!
>>>
>>> Becau
Cool!
--
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
Hi,
Am 05.04.2011 um 17:56 schrieb Michael Jerger:
> (doseq [mykey (keys Dependency)]
>(ant/mkdir {:dir (str lib "/" (name mykey))}))
>
> Is there a nifty way in clojure to access such "static record information"?
You can get it from instances of the record type.
user=> (defrecord Depende
Midje is a test framework for Clojure. I created it to support top-down as well
as bottom-up testing, to encourage readable tests, to provide a smooth
migration path from clojure.test, and to support a balance between abstraction
and concreteness.
Midje's tests look like the sort of examples s
Hi all,
I'm currntly writing a build system based on clojure. On this way I defined a
record called Dependency:
(defrecord Dependency [aspect project runtime dev transitive]
...)
Lateron I try to create lib directories (lib/aspect, lib/project, lib/runtime
...). So it would be nice, if
On 04/05/2011 12:53 PM, Baishampayan Ghose wrote:
On Tue, Apr 5, 2011 at 10:17 PM, Ken Wesson wrote:
And why would it come up as a page full of ads (mostly pretty scammy
looking ads, like fake Windows messageboxes and such) instead of a
Host Unknown error?!
Because the registrar for clojure.or
On Tue, Apr 5, 2011 at 9:47 AM, Ken Wesson wrote:
> That's pretty evil. Their behavior makes Clojure look unprofessional,
> or even hacked, and is confusing to users trying to reach the page.
It's pretty standard behavior for domain registrars. I manage a lot of
domains for clients and things lik
On Tue, Apr 5, 2011 at 10:17 PM, Ken Wesson wrote:
>>> And why would it come up as a page full of ads (mostly pretty scammy
>>> looking ads, like fake Windows messageboxes and such) instead of a
>>> Host Unknown error?!
>>
>> Because the registrar for clojure.org chose to resolve lapsed domain
>>
On Tue, Apr 5, 2011 at 12:29 PM, Mike Meyer wrote:
> On Tue, 5 Apr 2011 10:00:28 -0400
> Ken Wesson wrote:
>> And why would it come up as a page full of ads (mostly pretty scammy
>> looking ads, like fake Windows messageboxes and such) instead of a
>> Host Unknown error?!
>
> Because the registra
On Tue, 5 Apr 2011 10:00:28 -0400
Ken Wesson wrote:
> And why would it come up as a page full of ads (mostly pretty scammy
> looking ads, like fake Windows messageboxes and such) instead of a
> Host Unknown error?!
Because the registrar for clojure.org chose to resolve lapsed domain
names to a pa
Hi,
On 5 Apr., 14:25, Ken Wesson wrote:
> I don't think so. I just tested it and adding a call to seq there
> causes it to retain more data in memory, longer, not the other way
> around.
I don't understand this from a logical point of view. (seq (drop-
while ...)) can only *remove* references,
At Tue, 5 Apr 2011 18:31:15 +0530,
Baishampayan Ghose wrote:
>
> On Tue, Apr 5, 2011 at 3:39 PM, alsor wrote:
> > What's with http://clojure.org/ website? Is it expired?
>
> Works for me.
$ whois clojure.org
...
Created On:03-Apr-2005 14:24:30 UTC
Last Updated On:05-Apr-2011 09:34:35 UTC
...
T
Our registrar failed to get updated billing info; see:
https://groups.google.com/d/topic/clojure/Oa37OufE2rA/discussion
--
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
On Tue, Apr 5, 2011 at 9:58 AM, Aaron Bedra wrote:
> On 04/05/2011 09:55 AM, Ken Wesson wrote:
>>
>> I keep a tab parked at the Clojure cheat sheet, and just now I clicked
>> a link there. When I hit back, instead of the browser displaying the
>> cheat sheet again, as it should have, it displayed
On Tue, Apr 5, 2011 at 9:59 AM, Ken Wesson wrote:
> On Tue, Apr 5, 2011 at 9:58 AM, Aaron Bedra wrote:
>> On 04/05/2011 09:55 AM, Ken Wesson wrote:
>>>
>>> I keep a tab parked at the Clojure cheat sheet, and just now I clicked
>>> a link there. When I hit back, instead of the browser displaying t
On 04/05/2011 09:55 AM, Ken Wesson wrote:
I keep a tab parked at the Clojure cheat sheet, and just now I clicked
a link there. When I hit back, instead of the browser displaying the
cheat sheet again, as it should have, it displayed a big block of ads
and other cruft with no cheat sheet in sight!
I keep a tab parked at the Clojure cheat sheet, and just now I clicked
a link there. When I hit back, instead of the browser displaying the
cheat sheet again, as it should have, it displayed a big block of ads
and other cruft with no cheat sheet in sight!
The cheat sheet web page has apparently be
YourKit
http://www.yourkit.com/
It's a great tool. It comes with a free trial, but IMHO it's worth
every penny for the paid version.
--
Cheers,
Aaron Bedra
--
Clojure/core
http://clojure.com
On 04/04/2011 07:31 PM, Base wrote:
Hi Group!
I am hoping to get a little help figuring out how
It's working for me too ...
- Prashanth
On Tue, Apr 5, 2011 at 9:48 AM, Allen Johnson wrote:
> > What's with http://clojure.org/ website? Is it expired?
>
> I'm also having trouble accessing this. I receive a "Renew your domain
> name now" page.
>
> Allen
>
> --
> You received this message beca
Oops, didn't see this message from Stuart Sierra:
http://groups.google.com/group/clojure/browse_thread/thread/39adfb3ae7c4dab0
--
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 pos
> What's with http://clojure.org/ website? Is it expired?
I'm also having trouble accessing this. I receive a "Renew your domain
name now" page.
Allen
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googl
Have you tried "lein upgrade"?
On Apr 5, 12:59 pm, Sunil S Nandihalli
wrote:
> I am quiet positive I followed what you said. It may not be a problem with
> clj3D I think it could be with the version lein .. I don't know though.. I
> have had similar frustrating issues before..
>
> Sunil.
>
>
>
>
The domain was set to auto-renew, there was just a hiccup with our domain
registrar.
-Stuart Sierra
clojure.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 me
On Tue, Apr 5, 2011 at 3:39 PM, alsor wrote:
> What's with http://clojure.org/ website? Is it expired?
Works for me.
Regards,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, sen
Hi, all!
What's with http://clojure.org/ website? Is it expired?
--
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 you
On Tue, Apr 5, 2011 at 8:09 AM, Meikel Brandmeyer wrote:
> (defn partition-by [f s]
> (lazy-seq
> (let [s (seq s)]
> (if s
> (let [fs (map f s)
> eq (cons true (map = fs (rest fs)))
> eqs (seq (map list eq s))
> step (fn step [eqs]
>
Hi,
On 5 Apr., 13:08, Ken Wesson wrote:
> This seems to contradict the test results I posted earlier. Perhaps it
> is behaving differently on your system -- what is your Clojure
> version? Maybe some issue with locals clearing?
Clojure 1.2 running on Windows with JDK 1.6.0_24.
> In any event,
>> If I understand your claim correctly, it's therefore wrong.
>
> Since it's correct, you don't understand my claim correctly.
That is rather rude and arrogant.
> Using your partition-by.
[snip]
This seems to contradict the test results I posted earlier. Perhaps it
is behaving differently on yo
I am quiet positive I followed what you said. It may not be a problem with
clj3D I think it could be with the version lein .. I don't know though.. I
have had similar frustrating issues before..
Sunil.
On Tue, Apr 5, 2011 at 4:25 PM, Alfredo wrote:
> I've just checked clj3D on another computer
Hi Alfredo,
I am not certain it is a type .. if you really think it is a typo .. can
you pin-point which one your are refering to?
Thanks,
Sunil.
p.s.. I have opened an issue on github..
On Tue, Apr 5, 2011 at 3:43 PM, Alfredo wrote:
> Hi Sunil,
> I'm glad that you have found my project usef
I've just checked clj3D on another computer, downloading the zip from
github. It works perfectly.
Are you sure to have followed all the steps required?
Have you executed "lein compile" or the cake equivalent in order to
compile the java classes into classes directory?
I will add the :aot directive
Hi Sunil,
I'm glad that you have found my project useful.
Since it's in early stage development, it could be bug prone.
For your question, i have more or less an idea about how to fix this
typo.
Please open an issue on github. I will fix it asap.
Bye,
Alfredo
--
You received this message because
Hi,
Disclaimer: believing this kind of benchmark. No clue whether the
following is really valid.
On 5 Apr., 09:44, Ken Wesson wrote:
> If I understand your claim correctly, it's therefore wrong.
Since it's correct, you don't understand my claim correctly. The
numbers in between are the memrem
lein -v gives the following.
Leiningen 1.3.1 on Java 1.6.0_22 Java HotSpot(TM) Client VM
Thanks,
Sunil.
On Tue, Apr 5, 2011 at 2:46 PM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:
> Hi Charles,
> Thanks for this work. I wanted something like this for a while.. But when
> I run lein c
Hi Charles,
Thanks for this work. I wanted something like this for a while.. But when I
run lein compile on my laptop .. it is not compiling the java files..
because of which it is not able to find the classes ObjectViewer and Viewer
classes. Do you have a suggestion as to why this is happening?
T
I don't have much experience with this, but I have used VisualVM a
while back to profile a Clojure app. Bottom line is that any Java
profiler just works™.
On Apr 5, 1:31 am, Base wrote:
> Hi Group!
>
> I am hoping to get a little help figuring out how to profile my app.
>
> I have been working on
Thank you for the insights.
What I will do is make a separate protocol for drawing and acting.
There might indeed be objects that only act but not draw, and other
objects that do not act but just draw themselves, not necessarily
using a sprite.
Collision could be another protocol like (defprotoco
My cake was probably pulling incanter from some other location... I manually
downloaded it from clojars and it had both the Matrix.java and Matrix.class
files...
On Tue, Apr 5, 2011 at 1:48 PM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:
> Hello everybody,
> I tried Clj3D available f
It's worked!
thank you -)
--
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
Hello everybody,
I tried Clj3D available from git://github.com/CharlesStain/clj3D.git . This
depends on Incanter among other things .. I encountered the same problem as
I had encountered before .. I get
error: java.lang.ClassNotFoundException: incanter.Matrix (internal.clj:19)
This is what I had
On Tue, Apr 5, 2011 at 2:27 AM, Meikel Brandmeyer wrote:
> Hi,
>
> On 5 Apr., 01:27, Ken Wesson wrote:
>
>> Oh, and it also doesn't hold onto the head:
>
> Your version of partition-by is basically equivalent to:
>
> (defn partition-by
> [f coll]
> (lazy-seq
> (when-let [s (seq coll)]
>
55 matches
Mail list logo