Phillip Lord phillip.l...@newcastle.ac.uk writes:
Mikera mike.r.anderson...@gmail.com writes:
On Wednesday, 11 December 2013 14:50:36 UTC, Phillip Lord wrote:
Macros that generate type hints can get pretty ugly.
Yes, I notice that!
I ran into the same problem with vectorz-clj
The
On Dec 12, 2013, at 4:01 AM, Colin Fleming colin.mailingl...@gmail.com wrote:
Seesaw is the gold standard with lib wrapping IMO, it's a fantastic piece of
work.
thanks. I'll start to study it today and try to grab idea from there. if anyone
have any suggestion on best-practices to wrap an OO
Informative, nice work Dave! Perhaps a small mistake: looks like you're
using `dommy/text` in your jayq example.
On 12 December 2013 07:05, Dave Della Costa ddellaco...@gmail.com wrote:
Hi folks,
Albeit a little later than I'd hoped, I've written a post giving a
high-level overview of the
It's hard to offer an opinion without some sense of the data structures you
are producing.
In the case of sorting by identifier, why do you need a new type? It sounds
like you're basing your logic on data types, rather than the data itself.
- James
On 12 December 2013 04:26, Tim
Most definitely a mistake--good catch Luke! I've updated it with
something jayq-specific.
Thank you!
DD
(2013/12/12 19:52), Luke Morton wrote:
Informative, nice work Dave! Perhaps a small mistake: looks like you're
using `dommy/text` in your jayq example.
On 12 December 2013 07:05, Dave
I seem to be getting a 404 on the link now.
--
--
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
Apologies...I messed something up temporarily fixing the issue Luke
Morton found. Is it still broken for you?
(2013/12/12 22:33), Creighton Kirkendall wrote:
I seem to be getting a 404 on the link now.
--
--
You received this message because you are subscribed to the Google
Groups Clojure
Hi James,
I'm not basing logic on types alone. That aside, here's an example to
highlight the specific problem:
{:where [:id 'identity]}
Here are two options for sorting by id:
1. {:where [:id 'identity] :sort-by :id :sort '}
2. {:where [:id (object 'identity {:sort })}
I chose #2, which
Nice job!
I noticed a few small things on the Enfocus section that I would tweak but
nothing that really makes all that big a difference. I listed a few below.
You don't need to reference js/document when doing a single selector and you
don't need the [] around the selector.
(ef/at
Creighton, this is really excellent feedback and exactly what I was
hoping for. I am relatively new to Enfocus and had a feeling I could
have written that code in a more idiomatic way. I'll edit the piece to
incorporate your suggestions ASAP.
Many thanks!
DD
(2013/12/12 23:00), Creighton
Why not something like:
{:where [[:id 'identity]] :sort [[:id :desc]]}
That would make it relatively straightforward to merge queries (use `into`
and then check for duplicates in :sort).
To me, it doesn't make a huge amount of sense to tie sorting logic onto the
field itself.
- James
On
On Tuesday, November 12, 2013 5:10:43 PM UTC+2, John Hume wrote:
The last (non-authoritative) word on cider on this mailing list[1] was
that it is unstable. Is that really the case? Is it just a matter of many
packages that depend on it not being updated?
I'm cider's primary maintainer.
On Wednesday, November 13, 2013 1:50:32 AM UTC+2, Tim Visher wrote:
While I'm glad to hear that there are users out there for whom cider
is working great, I would still say based on following the project on
GitHub that there are far too many issues being filed based on
function names not
On Tuesday, November 19, 2013 4:56:05 PM UTC+2, Phillip Lord wrote:
I discovered one of the reasons for my issues with stability yesterday.
The version of clojure-test-mode on marmalade still depends on nrepl
(rather than cider), so, despite my best efforts to remove nrepl.el it
was still
And that's ok, there's obviously more to it and not knowing or
understanding the spec I wouldn't expect you to make sense of that piece.
Still, the question really is: If you were to do this, would you implement
deftype, gen-class instead? Would the hacked approach be a bad idea and if
so
Hi everyone,
We (Munich Lambda[1]) are organising Meetups, dedicated to Functional
Programming, and Clojure specifically.
Even though we already know many people who're doing Clojure here in Munich
and area, we believe that there're
more enthusiasts that we haven't yet met, who may be
Elastisch [1] is a minimalistic feature complete Clojure client for
ElasticSearch.
1.3.0 is a minor feature and usability release.
Release notes:
http://blog.clojurewerkz.org/blog/2013/12/12/elastisch-1-dot-3-0-is-released/
1. http://clojureelasticsearch.info
--
MK
Neocons [1] is a Clojure client for Neo4J REST API.
2.0.1 fixes one compatibility issue with Neo4J 2.0 GA.
Release notes:
http://blog.clojurewerkz.org/blog/2013/12/12/neocons-2-dot-0-1-is-released/
1. http://clojureneo4j.info
--
MK
http://github.com/michaelklishin
gen-class is really there just for compatibility with Java. deftype should
be preferred.
Here's a project of mine where I create a custom type and data reader, if
you want an example: https://github.com/weavejester/crumpets
However, it feels like you're looking for a solution in the wrong place.
There is actually a out of the box way to do this - but it's not through
the core.logic.
What you want to do is to use the java_interlop to import and
use
http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/util/SubnetUtils.html
On Monday, 24 June 2013 12:01:40 UTC-4,
Thanks for the responses.
I took a look at your project and found it to be more useful than any
documentation I've seen on deftype, so thanks for linking to it.
Tim
On Thursday, December 12, 2013 2:20:21 PM UTC-5, James Reeves wrote:
gen-class is really there just for compatibility with
As far as I know, I've created the first lein template that allows you to run jMonkeyEngine3 from Clojure without any configuration. Create a projectlein new jme3 project-name-here
Download depscd project-name-here; lein deps
Run the demolein run
Game Engine: http://jmonkeyengine.org/Github:
Nice, I tried it but got the following error under OS X:
Exception in thread LWJGL Renderer Thread java.lang.UnsatisfiedLinkError:
Can't load library: /.../jme-test/liblwjgl.dylib
I see that it's under /.../jme-test/target/native/macosx
On Thu, Dec 12, 2013 at 3:40 PM, Kelker Ryan
Hi Dave,
Thanks for the overview.
I found one error. When running the Google Clojure example on its own this
expression gives an error:
(first (query #menu ul))
This is because 'first' depends on the protocols implemented in
domina.events.
This expression will fix the error:
(aget (query
There was talk a while ago about splitting out some of the generally useful
parts of Seesaw into separate libs, particularly the object config part
would be very useful, I think. I don't think anything ever came of it,
though.
On 12 December 2013 23:34, Mimmo Cosenza mimmo.cose...@gmail.com
Dear list,
I'm playing around with core.async and I don't understand the following.
1) I make a source channel that emits a random number every second.
(def continue (atom true))
(def source (let [out (as/chan)]
(as/go-loop []
(when @continue
Hi Creighton, I've updated the post with a bit expanding on the Enfocus
section, including your suggestions.
Thanks again for your great feedback--
DD
(2013/12/12 23:00), Creighton Kirkendall wrote:
Nice job!
I noticed a few small things on the Enfocus section that I would tweak but
Hi Walter, thanks very much for the fix, good catch--I've updated the
github repo and the post to reflect this change.
Thanks!
DD
(2013/12/13 6:26), Walter van der Laan wrote:
Hi Dave,
Thanks for the overview.
I found one error. When running the Google Clojure example on its own
this
On Thu, Dec 12, 2013 at 06:08:11PM -0800, Joachim De Beule wrote:
I expected to see a sequence of the form However, only one or
very few get printed, so I get a sequence Why?
They're getting buffered. Try this:
(as/pipe (as/map (fn [x] (print ) (flush) x) source)
I'm sorry to hear that. I run Arch tux x86_64, but I've looked around for some
possible OSX solutions and it looks like there's a known issue with liblwjgl
and Java 7 on Macs.
Here are some things you might want to look into.
Fixing LWJGL Java 7 Mac -
Is cider just a new release of nrepl.el or a different thing entirely?
Sorry to be a noob, but this is awfully confusing to the uninitiated.
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
31 matches
Mail list logo