Phillip Lord writes:
> Mikera 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 following pattern ended up working for me: the
On Dec 12, 2013, at 4:01 AM, Colin Fleming 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 c++/java lib which has su
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 wrote:
> Hi folks,
>
> Albeit a little later than I'd hoped, I've written a post giving a
> high-level overview of the DOM manipulation/Ev
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 wrote:
> As a
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,
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 "Clojur
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, whic
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 js/docume
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 Kirke
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 1
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 maintaine
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
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
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 for
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 interes
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
http://github.com/michaelkli
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
http://twitter.com/michaelkli
Machine Head [1] is a minimalistic Clojure MQTT client.
beta5 is a development milestone release.
Release notes:
http://blog.clojurewerkz.org/blog/2013/12/12/machine-head-1-dot-0-0-beta5-is-released/
1. http://clojuremqtt.info
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelkl
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, D
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 Ja
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
Download depscd ; lein deps
Run the demolein run
Game Engine: http://jmonkeyengine.org/Github: https://github.com/runexec/clj-jme3
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 wrote:
>
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 "#m
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 wrote:
> On Dec 12, 2013, a
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
(as/pu
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
> n
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
> th
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) sou
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 - https://www.youtube.com/watch?v=03R7CZoSa0A
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 clojure@googlegr
32 matches
Mail list logo