Re: clojure.spec

2016-05-24 Thread Stan Dyck
I appreciate the wisdom of separating the existence of a key from the conformance of the values of that key. I wonder though if there is a way to specify co-constraints; a situation where the conformance of the value of one key depends on the existence of and perhaps the value of another key.

Re: More Clojure XML challenges

2014-07-24 Thread Stan Dyck
On 07/24/2014 02:45 PM, Adrian O'Sullivan wrote: I'm really struggling to understand how to parse XML in Clojure. Here's my xml: java.complexity.HelloWorld.notcomplex() 2 1 0 java.complexity.HelloWorld.complex(int) 4 2 0 ... etc I can do

Re: New release of Light Table (which is now open source!)

2014-01-08 Thread Stan Dyck
On 01/08/2014 06:10 PM, Mark Engelberg wrote: When I fired up Light Table a while back, I felt completely hamstrung -- I couldn't do anything the way I ordinarily would do it. The notion of executing statements that live in a file didn't feel anything like the workflow I was used to. It se

Re: Why is this Project Euler solution slow?

2013-10-01 Thread Stan Dyck
On Tue, Oct 1, 2013 at 11:22 AM, David Chambers > wrote: Last night I attempted Project Euler #5 in Clojure. The problem is as follows: > # Smallest multiple > > 2520 is the smallest number that can be divided by each o

Re: Design Composition and Performance

2013-09-03 Thread Stan Dyck
On 09/03/2013 09:05 AM, Sam Aaron wrote: Hey everyone, here's a picture of us (Meta-eX) doing most of the things Rich said we shouldn't in his recent talk: * pair programming * using a complex tmux setup * hacking in an extremely monstrous emacs setup (http://overtone.github.io/emacs-live) *

Re: Standardized value for "no-value"?

2013-01-15 Thread Stan Dyck
On 01/15/2013 11:48 AM, Herwig Hochleitner wrote: There actually is a standardized value for "no value" in clojure: nil The reason it's not useable as such in some places, is exactly it being standardized. Were we to introduce another such non-value, e.g. #, I think the following would happen:

Re: Best IDE

2012-01-18 Thread Stan Dyck
On 01/18/2012 12:12 PM, Sean Corfield wrote: On Wed, Jan 18, 2012 at 11:51 AM, Cedric Greevey wrote: don't see very many S.O.Ses or complaints from CCW, Clooj, or LaClojure, or Enclojure users. Probably because 60-70% of Clojure developers are using Emacs so you'll see more questions from tha

Re: ClojureScript One and remote development

2012-01-12 Thread Stan Dyck
On 01/12/2012 11:44 AM, Brenton wrote: This can also be solved by not hard-coding "localhost" in one.sample.core as it is now. There are functions in goog.uri.utils to help with this. This is on our list of things to do. Brenton Is not hard-coding port 8080 also on this list? This would be

Re: [ANN] emacs-clojure-vagrant: a sane development virtual environment

2011-07-09 Thread Stan Dyck
When I tried bringing it down and back up, it restarted the whole process over from scratch. Basically, vagrant halt seems to cause the entire VM to disappear as if vagrant destroy was called. :-( I'll try to re-get from git and see if it works better now. On Fri, Ju

Re: [ANN] emacs-clojure-vagrant: a sane development virtual environment

2011-07-08 Thread Stan Dyck
There was a minor bug in the provisioning script that prevented the .emacs.d directory from being populated but a fix has been pushed for that. That being said, I also had the hang issue. I did the same as you; I did a vagrant ssh from a new terminal window and everything worked. Also, after br

Re: Seattle Clojure meeting

2010-02-04 Thread Stan Dyck
I can do the 11th as well. StanD. Kevin Downey wrote: the 11th at Zokas is good for me On Wed, Feb 3, 2010 at 10:07 PM, ajay gopalakrishnan wrote: I'm in! But on 11th. I cannot make it on 15th On Wed, Feb 3, 2010 at 7:01 PM, Phil Hagelberg wrote: Hello, clojurists of Seattle. Let's meet

Project Euler: Problem suggestions that show off clojure?

2009-10-15 Thread Stan Dyck
I recently discovered Project Euler (http://projecteuler.net/) and have decided to take on some of the problems there to improve my clojure skills. I see from searching around that I'm not the first to have this idea so I thought I'd ask if anyone on this list who has done this can suggest pro

How to generate a hash map from a list

2009-08-23 Thread Stan Dyck
I'm still new to this so bear with me. I'm trying to apply a function to a seq-able thing to produce a hashmap. So for instance say the function is (inc 3). I'd like to write a function that does [1 2 3] --> {1 4, 2 5, 3 6} Can someone help me? StanD. --~--~-~--~~~--