Re: using Stuarts component library correctly

2014-08-11 Thread Sven Richter
Hi, Following the tips I removed the middleware wrappers, separated the handler and created closures over the routes. Now, when I do a reset after every change I am having a nice experience. So it was not much that was missing. Thanks everybody for your help, Sven Am Sonntag, 10. August 2014

Re: CIDER vs Org Mode: "Symbol's definition is void: nrepl-send-string-sync" (workaround)

2014-08-11 Thread Bozhidar Batsov
On August 10, 2014 at 11:51:07 PM, Matching Socks (phill.w...@gmail.com) wrote: Using Org Mode's org-babel-execute-src-block, I ran into "Symbol's definition is void: nrepl-send-string-sync" after installing a recent update of the cider package from Melpa. This was recently renamed - have a look

Re: Core.logic for boardgames

2014-08-11 Thread Henrik Eneroth
I have no idea, but I'm also interested in the answer. ^_^ On Saturday, August 9, 2014 12:51:20 PM UTC+2, Robin Heggelund Hansen wrote: > > Hi. > > I'm starting a new project now, where users are presented with a set of > boardgames (chess, checkers, othello...) which they then can play together

Re: Core.logic for boardgames

2014-08-11 Thread Mark Engelberg
I don't see how core.logic would apply here. You might be interested in a Java-based general game playing engine which you can leverage from Clojure. Many take logical descriptions of the game rules in LISP form. http://www.ggp.org/ On Sat, Aug 9, 2014 at 3:51 AM, Robin Heggelund Hansen wrot

Re: Core.logic for boardgames

2014-08-11 Thread Robin Heggelund Hansen
The idea was to implement the game rules (validating a move) using core.logic, but I take it that isn't something core.logic would be suited for? kl. 11:42:18 UTC+2 mandag 11. august 2014 skrev puzzler følgende: > > I don't see how core.logic would apply here. > > You might be interested in a Ja

Re: [ANN] Leiningen 2.4.3

2014-08-11 Thread Andy Dwelly
On Wednesday, August 6, 2014 12:54:16 AM UTC+1, Phil Hagelberg wrote: > > Hello everyone. > > I'm happy to announce the release of Leiningen 2.4.3. This release > includes a number of small fixes and one big fix: access to the Central > repository now occurs over HTTPS since Sonatype opened up

Re: Core.logic for boardgames

2014-08-11 Thread Kalina Todorova
Core.logic is just Clojure implementation of logic like programming and actually you can use logic programming for chess games (the example is in Prolog) http://stackoverflow.com/questions/9337074/what-is-the-neatest-prolog-implementation-for-conways-game-of-life On Mon, Aug 11, 2014 at 11:41 A

Benchmarking structural sharing

2014-08-11 Thread Paul Butcher
Is there any way to benchmark the degree of structural sharing achieved by a Clojure algorithm? I'm evaluating two different implementations of an algorithm, one which uses zippers and one which uses rrb-vector. It would be great if there were some way to quantify the degree to which they both a

Re: Core.logic for boardgames

2014-08-11 Thread Moritz Ulrich
Robin Heggelund Hansen writes: Implementing non-trivial game-logic in core.logic or any other logic-programming system is likely harder than implementing the validation in Clojure, as you'd have to learn many new idioms and a totally different programming style - but it's really mind-opening too.

Re: Core.logic for boardgames

2014-08-11 Thread Robin Heggelund Hansen
Ok, thanks for all the answers :) kl. 15:11:39 UTC+2 mandag 11. august 2014 skrev Moritz Ulrich følgende: > > Robin Heggelund Hansen > writes: > > Implementing non-trivial game-logic in core.logic or any other > logic-programming system is likely harder than implementing the > validation in Clo

Re: Looking for Clojure freelancers

2014-08-11 Thread Kalina Todorova
Hi to you all, I am mainly back-end web developer in Denmark.. I have professional experience with Clojure and I am looking for some additional experience in new Clojure projects. You can contact me on the following information: -- Best regards | Med venlig hilsen, Kalina Todorova T: 00

Re: What to use for serializing reference types?

2014-08-11 Thread James Reeves
If your purpose is just to save disk space, then I'd suggest just using compression. Two identical data types should produce the same sequence of bytes, which are easily compressed. I believe Nippy has a fast compression via Snappy enabled by default. - James On 10 August 2014 19:36, MS <5lvqbw.

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2301, Transducers!

2014-08-11 Thread Alex Miller
Sonatype reports the cache has been purged and it should be working again. Seems to be for me. On Mon, Aug 11, 2014 at 8:35 AM, Ivan Mikushin wrote: > The same issue (and workaround) applies to clojurescript-0.0.2311 > > -- > Note that posts from new members are moderated - please be patient wi

Re: What to use for serializing reference types?

2014-08-11 Thread Patrick Logan
Space is one thing, but I would assume the net list should be able to represent sequential logic, which implies a cyclic graph. -- 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 po

New Functional Programming Job Opportunities

2014-08-11 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Big Data Engineer / Data Scientist at Recruit IT http://functionaljobs.com/jobs/8731-big-data-engineer-data-scientist-at-recruit-it Cheers, Sean Murphy FunctionalJobs.com -- You received this message beca

Re: Success Stories w/US Government Projects

2014-08-11 Thread rcg
These are the specific objections- BTW we are using clojure as part of Server side code for website... 1. "This Agreement is governed by the laws of the State of New York". Not acceptable: The federal government cannot agree to be bound by state law. 2. "Each party waives its rights to a jury t

RICON CFP open - anyone submitting?

2014-08-11 Thread Alex Miller
RICON CFP is open - anyone planning on submitting anything Clojure-related? CFP ends in one week: http://ricon.io/event-details/index.html Event is in Las Vegas, Oct 28-29. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

handling agent errors

2014-08-11 Thread Brian Craft
Two questions, really. I'm running large batch jobs with an agent. The jobs may fail in any number of unanticipated ways (due to user input), so I do a try/catch in the agent, log any errors, and continue with the next job. First question: how to deal with OOM (the Xmx limit, not the OS out of

workflow with aot compiling

2014-08-11 Thread Brian Craft
A number of clojure tools, like tools.namespaces, and codox, don't work with aot compiling, and their docs say to turn it off. However aot compiling isn't really optional: we're embracing the platform, and java libs like their named classes. How do you work around this? I can move aot compiling

Re: What to use for serializing reference types?

2014-08-11 Thread MS
Thanks, I'm roughly familiar with edif, having seen it on occasion in various previous lifetimes. However I'm trying to get away from Big EDA companies in genera. Without looking at the format in too much detail, it seems to want to define how the internal structure of the program would be, i

Re: What to use for serializing reference types?

2014-08-11 Thread MS
Thanks, that's what I was starting to converge on, basically relying on a unique identifier for the prototype... but in trying to be flexible perhaps a component "instance" would actually just be the search text for a more comprehensive search which may in fact pull up several prototypes which t

Re: What to use for serializing reference types?

2014-08-11 Thread MS
Thanks, I figure now in 2014 disk space is not a big deal, and any two sequences of text will compress to something really small, so saving disk space is not a compelling reason for reference data. There was in fact a decent reason I wanted these to reference the same object, but of course I c

Re: What to use for serializing reference types?

2014-08-11 Thread MS
Actually there are several things going on. In general the database I'm trying to define would include not only the actual net list (ie a mapping between nets and pins), but also all the PCB junk that goes on. The cyclic graph requires some type of mutability if I want to find the net that bel

Re: workflow with aot compiling

2014-08-11 Thread Sean Corfield
We've moved to a model where we AOT only those namespaces that need to result in "Java classes" and we resolve into the main code at runtime for the implementation. We have all the AOT "shims" in one project and everything in non-AOT projects. That allows us to essentially ignore AOT except for

Re: What to use for serializing reference types?

2014-08-11 Thread Patrick Logan
Yeah, EDIF is certainly a big, old, consensual standard. It does handle PCBs just fine. I thought it might be worth perusing for useful nuggets and insights rather than an en masse kind of adoption. On Monday, August 11, 2014 3:13:17 PM UTC-7, MS wrote: > > Thanks, I'm roughly familiar with edif

[ANN] ring-middleware-format 0.4.0 with Transit support

2014-08-11 Thread Nils Grunwald
I am pleased to announce a new version of ring-middleware-format , with the main highlight being transit support both for decoding requests bodies and encoding responses. ring-middleware-format is a Ring middleware that transparently handles

Re: What to use for serializing reference types?

2014-08-11 Thread Patrick Logan
See inline... On Monday, August 11, 2014 3:32:21 PM UTC-7, MS wrote: > > Actually there are several things going on. > In general the database I'm trying to define would include not only the > actual net list (ie a mapping between nets and pins), but also all the PCB > junk that goes on. > > Th

Re: What to use for serializing reference types?

2014-08-11 Thread John Wiseman
Interestingly, it looks like early versions of clojure.pprint had *print-circle* to handle printing of cyclic data structures: http://clojuredocs.org/clojure_contrib/clojure.contrib.pprint/*print-circle* Maybe something along the lines of Common Lisp's reference syntax was considered and rejected?

[ANN] Pink and Score

2014-08-11 Thread Steven Yi
Hi All, I'd like to announce two Clojure libraries for music systems design and composition called Pink[1] and Score[2]. Pink is a library for music system design. It currently contains code for an audio engine, events processing, and signal processing. It is heavily influenced by Music-N systems

[JOBS] Clojure/Clojurescript Web Developer + CSS/HTML UI Designer

2014-08-11 Thread Alexander Hudek
Hi everyone, We have two clojure-related job openings. Best, Alex Clojure/Clojurescript Web Developer DiligenceEngine Inc. is a Toronto-based startup using machine learning to automate legal work. We’re looking for a developer to work on our clojure/clojurescript/om web stack. Our te

[JOBS] Clojure/Clojurescript Web Developer + CSS/HTML UI Designer

2014-08-11 Thread Alexander K. Hudek
Hi everyone, We have two clojure-related job openings. Best, Alex Clojure/Clojurescript Web Developer DiligenceEngine Inc. is a Toronto-based startup using machine learning to automate legal work. We’re looking for a developer to work on our clojure/clojurescript/om web stack. Our team is sma

Re: handling agent errors

2014-08-11 Thread Jeremy Heiler
On Mon, Aug 11, 2014 at 3:07 PM, Brian Craft wrote: > Two questions, really. I'm running large batch jobs with an agent. The > jobs may fail in any number of unanticipated ways (due to user input), so I > do a try/catch in the agent, log any errors, and continue with the next job. > > First quest