like http://getclojure.org/search?q=-\%3E\%3E&num=0
On Fri, May 17, 2013 at 6:36 AM, Ramesh wrote:
> Looks like "->>" is not supported. I quoted it!
>
> http://getclojure.org/search?q=%22-%3E%22&num=0
>
> -ramesh
>
>
> On Thu, May 16, 2013 at 6:12 PM, Devin Walters wrote:
>
>> Hey All,
>>
>>
nevermind :) it acts the same as ->> even when -\>\>
so I don't know what I was talking about :D
On Fri, May 17, 2013 at 6:37 AM, atkaaz wrote:
> like
> http://getclojure.org/search?q=-\%3E\%3E&num=0<http://getclojure.org/search?q=-%5C%3E%5C%3E&num=0>
Ok, weird question: is there some clojure port on assembler yet? Even
if(/especially if) it doesn't have jvm/java/javalibs support
Or should I just check https://github.com/clojure/clojure-clr ?
I'm mainly interested in low memory footprint and fast startup times (does
clojure-clr have that?)
--
;d=1
>
> For a more serious representation of Clojure's persistent data structures,
> I don't recommend trying to implement them in ASM.
>
> Cheers
> Julian
>
>
> On Friday, 17 May 2013 22:06:45 UTC+10, Alan D. Salewski wrote:
>
>> On Fri, May 17, 2013 at 02
I feel silly for even suggesting but is pprint not good enough? do you need
colors? (unaware of what those do in emacs)
On Sat, May 18, 2013 at 6:42 AM, Korny Sietsma wrote:
> Hi folks - I had to prepare some slides for a conference, and I struggled
> to get nice looking clojure code onto a sli
I've some idea, but it may not be right; I'm thinking that clojure needs
its own classloader and if that spring thing overriden it somehow, it's not
going to work initing clojure, just like in minecraft bukkit server with
clojure-based plugins, ie. https://github.com/CmdrDats/clj-minecraft/
I'm th
looks like it didn't properly load clojure.core (possibly due to that
classloader being "wrong"?) but I am not sure why it didn't fail sooner
than on the line with refer
static void doInit() throws ClassNotFoundException, IOException{
load("clojure/core"); //this wasn't loaded ok?!
Var.pu
Hi. Can I release my clojure code under unlicensed?
http://unlicense.org/
Maybe the code and the jar can be, right? But how about the uberjar which
includes clojure itself which is under EPL?(for example I cannot dist the
uberjar under GPL) Is my code being unlicensed like that work ok with
clojur
On Sat, May 18, 2013 at 4:48 PM, Michael Klishin <
michael.s.klis...@gmail.com> wrote:
> 2013/5/18 atkaaz
>
>> Hi. Can I release my clojure code under unlicensed?
>> http://unlicense.org/
>>
>
> You can but it's not a very good idea. Not all countries hav
tps://sourceforge.net/p/mingw/mingw-org-wsl/ci/21762bb4a1bd0c88c38eead03f59e8d994349e83/tree/LICENSE>
.
On Sat, May 18, 2013 at 4:48 PM, Michael Klishin <
michael.s.klis...@gmail.com> wrote:
> 2013/5/18 atkaaz
>
>> Hi. Can I release my clojure code under unlicensed?
your comment caused me to be reading this http://prog21.dadgum.com/134.html
(at least)
On Sat, May 18, 2013 at 6:17 PM, Gary Trakhman wrote:
> Immutability, persistence, closures without a serious garbage collector
> sounds hard.
>
>
> On Sat, May 18, 2013 at 1:09 AM
Hi guys. I just stumbled upon something [1] and the editor is quite similar
to what I was hoping/focusing on having(these days) for editing/writing
(not just) clojure code.
What are your thoughts on this? (just don't think too much of it in that
is for java and ignore the 3D thing)
To see what I
The following idea came to me in the shower, sort of out of the blue, and I
don't know why I didn't think of it before(I'm disappointed with myself)
so, why not use the same thing as clojure does? even though it does it in
java, you can do it in clojure, the only thing is that you have to do it
onc
=> (future (swap! atom inc 0))
#
=> @(future (swap! atom inc 0))
ClassCastException clojure.core$atom cannot be cast to clojure.lang.Atom
clojure.core/swap! (core.clj:2161)
(both in ccw, but i notice that the first statement does throw in lein repl)
guessing the error is actually thrown in that
concurrency-wise, you might find useful Rich Hickey's ants simulation
https://github.com/juliangamble/clojure-ants-simulation/
the relevant video where he explains it:
https://www.youtube.com/watch?v=dGVqrGmwOAw
(if you want the slides too, see in the comments: someone suggested google
for "Must w
On Wed, May 22, 2013 at 3:06 AM, Peter Mancini wrote:
> I noticed that '(nil nil true) will cause "and" to produce false, so I am
> aware of that edge case. Anything else I should be aware of?
>
> What about the other edge?
user=> (reduce #(and %1 %2) '(1 true 2))
2
user=> (eval (conj '(1 true
22, 2013 at 1:28 PM, atkaaz wrote:
>
>
>
> On Wed, May 22, 2013 at 3:06 AM, Peter Mancini wrote:
>
>> I noticed that '(nil nil true) will cause "and" to produce false, so I
>> am aware of that edge case. Anything else I should be aware of?
>>
>
y 22, 2013 at 2:40 PM, John D. Hume wrote:
>
> On May 22, 2013 5:35 AM, "atkaaz" wrote:
> >
> > I find the wording of this confusing "otherwise it returns the value of
> the last expr. (and) returns true."
> > I mean, I know it returns the last true va
For those who don't know the concepts (aka me) can we get a working example
of what can be done ? I'm having a strange feeling that ontologies(although
I've never heard the word/idea before except from you) might be something
similar to what I am searching for...
Possibly an example that showcases
t;> it's been a useful thing for me to know in the 0.05% of time that knowledge
>> is needed.
>>
>> But, people who don't know just won't be able to get past those problems.
>> And, you generally can't easily find a _really_ full-stack guy to glance
>
; lots of other applications. Probably the most famous one at the moment
> is Siri (the iphone thingy) which is ontological powered underneath.
>
> There are quite a few articles, varying in scope on ontologies on
> ontogenesis http://ontogenesis.knowledgeblog.org.
>
> It is a very v
Would you say that ontologies can be modeled on top of graphs? so in a way
they can be seen as a specific use case for graphs? (maybe directed acyclic
graphs), that's what I am getting the sense of so far
On Wed, May 22, 2013 at 4:47 PM, atkaaz wrote:
> Thank you very much for this! I
=> (type identity)
clojure.core$identity
On Wed, May 22, 2013 at 7:17 PM, Peter Mancini wrote:
> So I did some coding and came up with this but it is broken;
>
> (= java.lang.Boolean (type false)) ;;evaluates to true
>
> (defn all-true?
> [coll]
> (every? (cond (= java.lang.Boolean (type i
I think the exception is thrown because you basically called (every? false
coll) however on my clojure version I cannot reproduce it oh wait there we
go, some bug here with empty collection (maybe someone can pick it up):
=> (every? false [1 2 3])
ClassCastException java.lang.Boolean cannot be cas
(str "bad input:" input)
#'cgws.notcore/test1
=> (test1 1)
received nice input=` 1 `
nil
=> (test1 nil)
RuntimeException bad input: cgws.notcore/test1 (NO_SOURCE_FILE:5)
=> (test1 a)
received nice input=` # `
nil
but I guess I should've put this in its proper threa
27;s the only way to get there :/
It can still be fast even though all the debug info (so to speak) and
source code is tagged/connected to the binary code/offsets I imagine.
On Wed, May 22, 2013 at 6:51 PM, Mikera wrote:
> On Wednesday, 22 May 2013 20:35:01 UTC+8, atkaaz wrote:
>
>&
I don't know about the emacs stuff, but I consider the latter to be a
"nice" workaround/hack :)
On Wed, May 22, 2013 at 8:35 PM, Gary Trakhman wrote:
> emacs does this navigation stuff.. M-. and M-, . For uses of a function,
> try grep -R or rgrep.
>
>
> On Wed, M
IFn
cgws.notcore/eval2542 (NO_SOURCE_FILE:1)
=> (false true)
ClassCastException java.lang.Boolean cannot be cast to clojure.lang.IFn
cgws.notcore/eval2564 (NO_SOURCE_FILE:1)
doesn't seem truthy to me
Thanks.
On Thu, May 23, 2013 at 3:08 AM, Michał Marczyk wrote:
> On 22 May 2013 18:34,
involving implication):
>
> x -> y
>
> is true when x is false, regardless of what value y takes. (It's also
> true when y is true, regardless of what value x takes; this, however,
> is not relevant here.)
>
> Cheers,
> M.
>
>
> On 23 May 2013 06:31, a
Firstly let me just say that I really enjoy this conversation, ergo I thank
you!
On Thu, May 23, 2013 at 9:00 PM, Michał Marczyk wrote:
> On 23 May 2013 18:30, atkaaz wrote:
> > when you say the word "false" I'm assuming you're referring to "false?"
>
hello world .exe file is 1,132,640 bytes (big but depends
only on kerner32/user32/msvcrt/wsock32 .dll files)
On Fri, May 17, 2013 at 2:10 PM, atkaaz wrote:
> Ok, weird question: is there some clojure port on assembler yet? Even
> if(/especially if) it doesn't have jvm/java/javal
for comparison an uberjar run [1] of a hello world program takes 2 seconds
(2.2 sec) on clojure 1.5.1 and Leiningen 2.2.0-SNAPSHOT on Java 1.7.0_17
Java HotSpot(TM) 64-Bit Server VM
[1] java -jar newproj1-0.1.0-SNAPSHOT-standalone.jar
On Fri, May 24, 2013 at 1:29 PM, atkaaz wrote:
> makin
ion *every?* expects a predicate and a collection. Converting the
> map {:a 1} into a collection returns a sequence of 2-element vectors:
>
> user=> (seq {:a 1})
> ([:a 1])
>
> Calling the function :a on a vector returns nil, since keyword lookup only
> works for maps. ev
typo, I meant: "thanks to everyone that replieD"
On Fri, May 24, 2013 at 9:25 PM, atkaaz wrote:
> Thank you, I see it now. Based on your comment I actually took at look at
> the source code for "every?" (haven't checked it before, oddly enough)
>
quick note: the foo-one in local_mvn_repo (inside foo_two) is just v 0.1.0
without SNAPSHOT
the foo-one project however is 0.1.0-SNAPSHOT
On Sat, May 25, 2013 at 10:00 AM, David Williams
wrote:
> This is really important, and I am totally stumped and on a deadline.
> Help is greatly appreciate
folder
On Sat, May 25, 2013 at 10:54 AM, atkaaz wrote:
> quick note: the foo-one in local_mvn_repo (inside foo_two) is just v 0.1.0
> without SNAPSHOT
> the foo-one project however is 0.1.0-SNAPSHOT
>
>
>
> On Sat, May 25, 2013 at 10:00 AM, David Williams <
> mobiu
idn't
define the bar fn) so check if you have the red black function in
.m2\repository\self\foo-one\0.1.0 (replace with your red black project
here)
On Sat, May 25, 2013 at 11:06 AM, atkaaz wrote:
> ok nevermind I guess it works anyway:
> user=> (use 'foo-two.core)
> ni
I could be wrong if it's checking the .md5 (which probably does) I should
try to update foo-one and install it in local repo, but I don't really know
the command :)
On Sat, May 25, 2013 at 11:11 AM, atkaaz wrote:
> or let me put it this way, if I touch all the files in local_
ough I would've
expected to recheck even though it's the same version, but perhaps it
doesn't support updating the same versions
On Sat, May 25, 2013 at 11:12 AM, atkaaz wrote:
> I could be wrong if it's checking the .md5 (which probably does) I should
> try to update fo
without giving this much thought is the % actualy a vector like [:dh-uuid
"abc-def-ghi-klm"] ?
On Sat, May 25, 2013 at 2:21 PM, Mond Ray wrote:
> I am missing something obvious... I get a list of maps back from a
> function and I want to find the elements with nil
>
> (({:a2p-id "1", :dh-uuid "
can you tell what this returns?
(map find-records query-parts)
On Sat, May 25, 2013 at 2:21 PM, Mond Ray wrote:
> I am missing something obvious... I get a list of maps back from a
> function and I want to find the elements with nil
>
> (({:a2p-id "1", :dh-uuid "abc-def-ghi-klm"} {:a2p-id "2",
may I see the macro for the latter, if you decide to go that way ? thx
On Sat, May 25, 2013 at 2:24 PM, Steven Degutis wrote:
> There are two patterns I find in my code that I'm still unhappy with but I
> don't know how to clean up.
>
> The first is: (if (:attr obj) obj (assoc obj :attr somethi
pred obj) ~obj
> ~(tf obj)))
>
> Jim
>
>
>
> On 25/05/13 12:44, atkaaz wrote:
>
> may I see the macro for the latter, if you decide to go that way ? thx
>
>
> On Sat, May 25, 2013 at 2:24 PM, Steven Degutis wrote:
>
>> There are two patterns I find
tf]
> `(if ~(pred obj) ~obj
> ~(tf obj)))
>
> Jim
>
>
>
> On 25/05/13 12:44, atkaaz wrote:
>
> may I see the macro for the latter, if you decide to go that way ? thx
>
>
> On Sat, May 25, 2013 at 2:24 PM, Steven Degutis wrote:
>
>> There are two patte
Shouldn't it be like:
(definline pred-transform [obj pred tf]
`(if (~pred ~obj) ~obj
(~tf ~obj)))
=> (pred-transform 1 #(not (nil? %)) println)
1
=> (pred-transform 1 nil? println)
1
nil
On Sat, May 25, 2013 at 2:55 PM, atkaaz wrote:
> just wondering if obj is a fo
in which case it does get evaluated twice if form:
=> (pred-transform (println 1) #(not (nil? %)) #(println % "."))
1
1
nil .
nil
=> (pred-transform (println 1) nil? #(println % "."))
1
1
nil
so maybe a let + gensym would be in order?
On Sat, May 25, 2013
ot;))
1
nil .
nil
On Sat, May 25, 2013 at 3:07 PM, atkaaz wrote:
> in which case it does get evaluated twice if form:
> => (pred-transform (println 1) #(not (nil? %)) #(println % "."))
> 1
> 1
> nil .
> nil
>
> => (pred-transform (println 1) nil? #(p
n 1) nil? #(println % "."))
1
nil
=> (fn? pred-transform)
true
=> (definline pred-transform [obj pred tf]
`(let [o# ~obj]
(if (~pred o#) o#
(~tf o#
#'cgws.notcore/pred-transform
=> (fn? pred-transform)
true
On Sat, May 25, 2013 at 3:08 PM, atkaaz wro
r it's needed or not, so in cases where
>> "something" is expensive to compute (or has side effects that should only
>> happen if it winds up in the output!) then another method needs to be used.
>>
>>
>> On Sat, May 25, 2013 at 8:08 AM, atkaaz wrote:
>>
yep that was interesting thanks btw; it was a function that was acting like
a macro, how odd
On Sat, May 25, 2013 at 4:26 PM, Jim - FooBar(); wrote:
> so maybe a let + gensym would be in order?
>>
>
>
> yes that is what you do to avoid double-evaluation...:) I was making a
> different point thou
=> (doall (map #(remove :dh-uuid %)
'(({:a2p-id "1", :dh-uuid "abc-def-ghi-klm"} {:a2p-id "2",
:dh-uuid "def-ghi-klm-opq"} {:a2p-id "3", :dh-uuid nil}) ({:a2p-id "1",
:dh-uuid "abc-def-ghi-klm"} {:a2p-id "2", :dh-uuid "def-ghi-klm-opq"}
{:a2p-id "3", :dh-uuid *false*}))
))
(
I kinda found the haskell equivalent of the editor I mentioned above(well,
at least conceptually) and it's a work in progress but looks great so far,
it's written in haskell & it's in 3D
https://github.com/Peaker/lamdu
On Mon, May 20, 2013 at 8:17 PM, atkaaz wrote:
or maybe this (Subtext2):
http://www.subtextual.org/subtext2.html
or this (Conception):
https://www.youtube.com/watch?v=DNJ7HqlV55k
maybe someone could get some ideas and adapt them to clojure or something
On Mon, May 27, 2013 at 10:42 AM, atkaaz wrote:
> I kinda found the hask
I find this might be helpful in this situation:
Google I/O 2009 - The Myth of the Genius Programmer
https://www.youtube.com/watch?v=0SARbwvhupQ
On Tue, May 28, 2013 at 4:02 AM, Kelker Ryan wrote:
> I wrote it for fun and deleted after no one took interest. There was no
> real purpose other than
Jim, that is in project.clj right?
OP can use :refer and :exclude but can't pass two namespaces to :refer,
just one
some examples from clojure code:
(ns foo.bar
(:refer-clojure :exclude [ancestors printf])
(:require (clojure.contrib sql combinatorics))
(:use (my.lib this that))
(
looks like you found it:
https://github.com/jimpil/Clondie24/commit/16f92fccc0c65d3c250b7a880649b940f792ea92
On Thu, May 30, 2013 at 11:25 PM, Jim - FooBar(); wrote:
> Hi everyone,
>
> I've re-arranged some code in a project of mine and it seems I've
> introduced cyclic dependencies...It doesn'
7;s why I didn't post back with the
> "solution"...but of course nothing is secret, as you demonstrated :)
>
> btw, the commit you're showing is not exactly what fixed it...that was
> before my post I think...
>
> Jim
>
>
> On 30/05/13
What happens if you send a newline after that "Hello"? ie. "Hello\n" since
you're using read-line
On Sat, Jun 1, 2013 at 3:44 AM, Andrew Spano wrote:
> Hello,
>
> I'm trying to create a very simple interaction between a client and server
> program using the server-socket library which used to
hey, just going to let people know about the following exception happening
when you have something like this(bad):
(ns runtime.util-test
(:use [midje.sweet :reload-all]))
as opposed to any of these(correct):
(ns runtime.util-test
(:use midje.sweet :reload-all))
(ns runtime.util-test
(:use [
your*
bG9sLCBzb3JyeS4gSSB0aG91Z2h0IGl0IHdhcyBmdW5ueSBtZS1jb3JyZWN0aW5nLXlvdSBhdCB0aGlzIHBvaW50IGFuZCBzZWVtaW5nIGFsbCBzZXJpb3VzOykgSSBob3BlIHlvdSBzbWlsZWQgYmVmb3JlIHJlYWRpbmcgdGhpcw==
On Sat, Jan 19, 2013 at 5:33 PM, Mimmo Cosenza wrote:
> Hi,
> wherever you start from (all the cited books are
is this line 244?
https://github.com/jimpil/Clondie24/blob/master/src/Clondie24/games/chess.clj#L238
On Sun, Jan 20, 2013 at 7:58 PM, Jim - FooBar(); wrote:
> Hi everyone,
>
> I came back to a project of mine after a couple of months only to be
> surprised by some cryptic exception! Imagine a 2d
njoyable ;)
On Mon, Jan 21, 2013 at 12:03 AM, Jim - FooBar(); wrote:
> yes exactly! In the commit that github shows last line 238 is line 244
> in my current branch...Since you're looking into it i can commit everything
> now so we're all on the same page...
>
>
6@1028, compiling:
On Mon, Jan 21, 2013 at 1:17 AM, AtKaaZ wrote:
> I've managed to reduce this to:
> (ns Clondie24.games.xx1)
>
> (def ^:const
> mappings-8x8
>
> (mapv #(apply vector-of :int %)
> [[0 0] [1 0] [2 0]])
> )
>
>
> (defn translat
: " +
value,e);
any reason why that isn't there already?(I guess this was added later: the
ability to pass the cause)
On Mon, Jan 21, 2013 at 1:20 AM, AtKaaZ wrote:
> Actually, it's even simpler:
>
> (def ^:const
> mappings-8x8
&
ntVector (just as you'd expect), so probably ^:const
is doing some reifying (which maybe disallows changes to the vector?) and
yielding a different class - my guess (I don't really know what reify does
btw - just what I remember)
On Mon, Jan 21, 2013 at 2:08 AM, Jim - FooBar(); wrote:
&g
memoize?
On Mon, Jan 21, 2013 at 7:27 AM, Larry Travis wrote:
> One of the neat things about Clojure (maybe all functional languages) is
> that functions can be defined either extensionally or intensionally. How
> can one create a Clojure structure that mixes these two types of definition?
>
>
Could you retry using this
-XX:-UseCompressedOops
jvm arg, or use a newer jre (I think it's some bug in the jvm)
I don't have time right now to test but I'll get back on it soon
On Mon, Jan 21, 2013 at 5:38 PM, Jim - FooBar(); wrote:
> On 21/01/13 01:24, AtKaaZ wrote:
>
&
27;s something extra introduced by mapv but
the returned class seems to be the same that PersistenVector - anyway I'm
just guessing around, doesn't help :)
On Mon, Jan 21, 2013 at 6:17 PM, Jim - FooBar(); wrote:
> On 21/01/13 17:07, Jim - FooBar(); wrote:
>
>> On 21/01/13 1
t; new and I'm thinking it's the rc1 version of clojure...
>
> At the moment to avoid any problems I *have to* remove the ^:const flag
> completely. Then and only then it works as expected regardless of whether
> the numbers inside are unboxed ints or boxed longs.
>
> Jim
>
'uberwar' is not a task. See 'lein help'.
Did you mean this?
uberjar
Are you using this https://github.com/alienscience/leiningen-war maybe?
On Tue, Jan 22, 2013 at 11:25 PM, larry google groups <
lawrencecloj...@gmail.com> wrote:
>
> I know very little about the JVM eco-system. I hav
now I'm confused, which one is the right memoize to use?
and is that true about dosync? "the nesting property of dosync: a nested
transaction merges with the surrounding one." or did it change in the past
almost 3 years since?
On Wed, Jan 23, 2013 at 12:08 PM, David Powell wrote:
>
> Specificall
Hi.
There are a bunch of calls to Util.runtimeException("msgHere") which can be
replaced with Util.runtimeException("msgHere", e); where e is the exception
just caught (aka the cause), for example here:
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Compiler.java#L4570
and her
Here are some more: (which I'm getting from my old gist from here
https://gist.github.com/3895312 after I recheck those and tell you only the
ones relevant to this subject)
1. This one has to do with namespace expected format for :import
https://groups.google.com/d/msg/clojure/JCwpbqbrHUE/m1Fx13Ye
looks like you denied outgoing for java.exe in your firewall
the java.exe that's in your path(or in JAVA_HOME if set)
in my case:
ie. cmd.exe
C:\Users\user>java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02,
I wonder how the double posting happens (I've seen others do it), and I've
sent that from gmail. (I'll assume something causes the send email to
happen twice)
On Fri, Jan 25, 2013 at 6:08 AM, AtKaaZ wrote:
> looks like you denied outgoing for java.exe in your firewall
> t
I've also seen a case of that(context classloader changing so that calling
clojure will work) here [1], if anyone's into Minecraft bukkit server tests
this would be somewhat easy to understand if you can test it:
[1] -
https://github.com/CmdrDats/clj-minecraft/blob/master/javasrc/cljminecraft/Cloj
Hi. Check this out: https://github.com/CmdrDats/clj-minecraft
On Fri, Jan 25, 2013 at 11:14 PM, Ryan Cole wrote:
> Hi all, beginner here,
>
> I'm trying to write a Minecraft plugin in Clojure, and use AOT so that the
> Minecraft server can load it right up. I've got this much going, and all as
so, wait, are you having any trouble with eclipse+counterclockwise ? it
seems to be pretty straight forward, considering that I actually failed to
use emacs myself (although I did get emacs-live working, i prefer
eclipse+ccw for now)
On Sat, Jan 26, 2013 at 12:24 PM, wrote:
>
>
> On Friday, Jan
although I'm sure everybody's seen this, I believe it is relevant here,
this clojureconj by Chris Granger
https://www.youtube.com/watch?v=V1Eu9vZaDYw
maybe only applies to clojurescript(that is, being slow in this case)
the important stuff is at from 13:59
On Mon, Jan 28, 2013 at 1:53 AM, Mark Ra
=> (are [ x y ] (= x y) ((fn[x] x) 1) 1)
StackOverflowError clojure.lang.PersistentArrayMap.containsKey
(PersistentArrayMap.java:158)
=> (dorun (map #(println (.toString %)) (take-last 100 (.getStackTrace *e
clojure.lang.RestFn.invoke(RestFn.java:408)
clojure.core$map$fn__4226.invoke(core.cl
maybe he needs to :reload-all for each use in foo.care? ie.
(ns foo.core
(:use [runtime.q :as q] :reload-all)
(:use [datomic.api :only (q db) :as d])
(:use [runtime.util :as u] :reload-all)
)
so that it will also reload whatever foo.core is using, in this example
it's only going to reload run
well this should explain it:
=> (are [ x y ] (= x y) ((fn[x] x) 1) 1)
StackOverflowError clojure.core/partial/fn--4209 (core.clj:2396)
=> (are [ x y ] (= x y) ((fn[a] a) 1) 1)
true
On Mon, Jan 28, 2013 at 4:37 PM, John Lawrence Aspden <
aspd...@googlemail.com> wrote:
> Hi, am I doing somethin
sorry, James Xu already said that (didn't want to steal any credit, but
I've just realized that he said the same thing)
On Mon, Jan 28, 2013 at 5:25 PM, AtKaaZ wrote:
> well this should explain it:
>
> => (are [ x y ] (= x y) ((fn[x] x) 1) 1)
> StackOverflowError
try using this vm arg:
-XX:-UseCompressedOops
more info here:
https://groups.google.com/d/msg/clojure/MIKccMX9gvk/gZYA_24d0BwJ
On Mon, Jan 28, 2013 at 6:59 PM, larry google groups <
lawrencecloj...@gmail.com> wrote:
>
> I have a small clojure app (maybe 700 lines of code). I start it at the
> t
ducers to traverse tree of moves deeper than 6...It doesn't happen always
> but most of the times! If i don't use ^:const it seems to not happen.
> Notice that this is irrelevant to disabling CompressedOops...
> LIke larry I'm running the latest jdk..
>
> Jim
>
>
;
> Larry are using reducers or ^:const ??? I'll try my code with some alpha
> clojure 1.5 ( I remember having no problems whatsoever) and I'l egt back to
> you probably tomorrow morning...This seems really serious and since someone
> else is encountering it there is no
ignorant about the JVM. I have
> been using these options:
>
> :jvm-opts ["-Xmx1000m"]
>
> I will switch to:
>
> :jvm-opts ["-Xmx1000m -XX:-UseCompressedOops"]
>
>
>
> W dniu poniedziałek, 28 stycznia 2013 13:02:48 UTC-5 użytkownik AtKaaZ
>
I would use (map :keyword) myself, for that exact reason(because I'm into
fail-fast), but only when I know the map is expected to never be nil at
this point(but likely I'll do the program in such a way that this point
won't be reached with a nil map in the first place), so that if it happens
that t
(read only what's in *bold*, to save your time, read everything if you're a
consistency maniac xD)
*While I have a knack*(and enjoy) *for finding bugs*(and I take them
personally[as ideas, so I don't hate the person who introduced it(or at
least I'd like to believe that I don't, but let's be hone
ll not work.
>
>
> ---
> Joseph Smith
> j...@uwcreations.com
> @solussd
>
>
> On Jan 28, 2013, at 8:31 PM, AtKaaZ wrote:
>
> I would use (map :keyword) myself, for that exact reason(because I'm into
> fail-fast), but only when I know the map is expected to never be n
On Tue, Jan 29, 2013 at 8:03 AM, larry google groups <
lawrencecloj...@gmail.com> wrote:
>
> Maybe someone can tell me where I went wrong on this one.
>
> I have an app. Written with Clojure 1.4.
>
> At first the app was very small, so I put all the code into core.clj.
> When I got to about 500 or
On Tue, Jan 29, 2013 at 8:11 AM, James Xu wrote:
> Don’t know the exact reason for your issue, but for your question:
>
> "How can a
> class be present at compile time but not at runtime?"
>
I find this to be relevant:
http://onjava.com/pub/a/onjava/2005/01/26/classloading.html
>
> It IS possible
It might be something like this(pasting here):
The problem is the hyphen in the namespace.
>From the *Joy of Clojure*
HYPHENS/UNDERSCORES If you decide to name your namespaces with hyphens, à
la my-cool-lib, then the corresponding source file must be named with
underscores in place of the hyphen
orked,
but only errs after a while, in which case that would be weird.
On Tue, Jan 29, 2013 at 8:38 AM, AtKaaZ wrote:
> It might be something like this(pasting here):
>
> The problem is the hyphen in the namespace.
>
> From the *Joy of Clojure*
>
> HYPHENS/UNDERSCORES
just guessing here, but is it maybe that one of the deps of your project
was (also?) updated and it's using that clojure ? I'm thinking just in case
you have something like version x.y.z-SNAPSHOT of a dep, if nothing with
SNAPSHOT then it's probably not the case. I couldn't reproduce this with a
ne
if you put that on youtube, let me know, currently I cannot see the slides
or they are simply stuck on the first slide and never change (the video
works though)
On Fri, Feb 1, 2013 at 5:31 AM, Alex Miller wrote:
> The video of the talk on Graph from Strange Loop just came out:
> http://www.info
2013 at 5:39 AM, Baishampayan Ghose wrote:
> Try Firefox. ~BG
>
> On Fri, Feb 1, 2013 at 10:08 AM, AtKaaZ wrote:
> > if you put that on youtube, let me know, currently I cannot see the
> slides
> > or they are simply stuck on the first slide and never change (the video
>
amalloy, inspirational as always! thank you
On Fri, Feb 1, 2013 at 11:08 AM, Alan Malloy wrote:
> (max-key :power mario luigi)
>
>
> On Thursday, January 31, 2013 6:08:21 PM UTC-8, Leandro Moreira wrote:
>>
>> Running through this problem I also faced the weird situation, so:
>>
>> Given two ma
there are some examples here:
http://clojuredocs.org/clojure_core/clojure.core/slurp
http://clojuredocs.org/clojure_core/clojure.java.io/reader
On Fri, Feb 1, 2013 at 1:44 PM, Baishampayan Ghose wrote:
> clojure.core/slurp
>
> Sent from phone. Please excuse brevity.
> On 1 Feb 2013 18:13, "Ro
seems a bit similar to https://github.com/Prismatic/plumbing
On Sat, Feb 2, 2013 at 1:12 AM, Ben Wolfson wrote:
> ReadyForZero is open-sourcing our library for easily gathering data
> and computing summary measures in a declarative way:
>
> https://github.com/ReadyForZero/babbage
>
> The summar
1 - 100 of 303 matches
Mail list logo