Clojure In: An interview with Sean Corfield

2018-10-10 Thread andrew jackson
is as friendly as his online persona. It was a really enjoyable interview so I hope that anyone who reads it will enjoy it as much as I have writing it up. https://juxt.pro/blog/posts/clojure-in-seattle-world-singles-networks.html Best wishes, Andrew P.S. If you have a twitter account, please R

Re: [ANN]: clambda 0.1.4 - reducible Java Streams

2018-08-11 Thread Andrew Oberstar
Yep, that helps. Thanks! On Fri, Aug 10, 2018 at 2:42 AM Dimitrios Jim Piliouras < jimpil1...@gmail.com> wrote: > Hi Andrew, > > Well, for the native java Stream case, your 'early-spliterator' has to be > able to split the Spliterator it's wrapping instead o

Re: [ANN]: clambda 0.1.4 - reducible Java Streams

2018-08-09 Thread Andrew Oberstar
e ike.cljj. Is the missing piece to support parallel the combine function? Andrew Oberstar On Thu, Aug 9, 2018 at 11:05 AM dimitris wrote: > Damn! Here is the correct link: > > https://github.com/jimpil/clambda > > On 09/08/18 17:03, dimitris wrote: > > Hi folks, > > htt

[ANN] gradle-clojure 0.4.0 (adding ClojureScript support)

2018-07-01 Thread Andrew Oberstar
jureverse.org/c/projects/gradle-clojure> or the #gradle Clojurian's Slack channel <http://clojurians.net>. Thanks to Colin Fleming for the initial code and Piotrek Bzdyl for his contributions (most notably the first cut of this ClojureScript support)! Andrew Oberstar -- You receiv

Re: numeric-tower versus clojure 1.9

2018-01-20 Thread Andrew Dabrowski
OK, it seems to have been an emacs issue rather than a cider one, at least after tweaking a few emacs configs related to help-mode I'm no longer having the problem. Thanks for your patience. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: numeric-tower versus clojure 1.9

2018-01-20 Thread Andrew Dabrowski
foobar.core > namespace to be in a file called core.clj in a directory called foobar. > Yes, that's it was set up (using lein). > > > On Fri, Jan 19, 2018 at 1:55 PM, Andrew Dabrowski > wrote: > >> Maybe it isn't a cider problem, I'm having a similar is

Re: numeric-tower versus clojure 1.9

2018-01-19 Thread Andrew Dabrowski
t;>> I can't reproduce that locally. Checking with the new clojure 1.9 clj >>> tool: >>> >>> $ echo '{:deps {org.clojure/math.numeric-tower {:mvn/version "0.0.4"}}}' >>> > deps.edn >>> $ clj >>> Clojure 1.9.0 &g

Re: numeric-tower versus clojure 1.9

2018-01-17 Thread Andrew Dabrowski
Yes. On Wednesday, January 17, 2018 at 5:44:18 PM UTC-5, puzzler wrote: > > Did you put > > [org.clojure/math.numeric-tower "0.0.4"] > > in your leiningen project.clj file? > > > On Wed, Jan 17, 2018 at 2:26 PM, Andrew Dabrowski > wrote: > >>

numeric-tower versus clojure 1.9

2018-01-17 Thread Andrew Dabrowski
Is clojure.math.numeric-tower incompatible with clojure 1.9? The numeric tower is still at version 0.0.4, 4 years old. WHen I try to use I get the error 1. Caused by java.io.FileNotFoundException Could not locate clojure/math/numeric_tower__init.class or clojure/math/numeric_tower.clj on

Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
You were right: it was spyscope. I forgot I had it in .lein/profiles.clj. -- 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

Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
> be determined from some of the error messages you have not shown. Clojure > 1.9.0 checks the syntax of ns forms more strictly, and issues error > messages about them, more strictly than previous versions of Clojure. > > Andy > > On Sat, Jan 13, 2018 at 1:07 PM, A

Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
versions of Clojure. > > Andy > > On Sat, Jan 13, 2018 at 1:07 PM, Andrew Dabrowski > wrote: > >> I can't start a lein repl under 1.9 ( clojure 1.8 still works fine). >> >> $ lein repl >> WARNING: boolean? already refers to: #'clojure.core/boolean

lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
I can't start a lein repl under 1.9 ( clojure 1.8 still works fine). $ lein repl WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: seesaw.util, being replaced by: #'seesaw.util/boolean? Exception in thread "main" clojure.lang.ExceptionInfo: Call to clojure.core/ns did no

Re: 1.9 is close to 2.0...

2017-12-28 Thread Andrew Oberstar
I would expect 1.10 is next. Andrew Oberstar On Thu, Dec 28, 2017 at 4:58 PM Jacob Goodson wrote: > Now that clojure 1.9 is out, will future releases be 1.91, 1.92, etc? > > Or, are talks in place for a clojure 2.0? > > If there is discussion of clojure 2.0, what would

Re: [ANN] Lightmod, an all-in-one tool for full stack Clojure

2017-11-04 Thread Andrew Oberstar
This is really cool! Nice job! Andrew Oberstar On Sat, Nov 4, 2017 at 12:50 PM Zach Oakes wrote: > Today I'm releasing a new tool that lets you make full stack Clojure web > apps without any build tools or even any system-wide JDK install. It runs > everything internally an

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-20 Thread Andrew Oberstar
What about a compromise where you could opt-in or opt-out of checking macro specs at compile time (via a compiler option)? It seems worth preserving the correctness of the spec, without forcing all of the breakage. Andrew Oberstar On Sat, Aug 20, 2016 at 9:13 PM Colin Fleming wrote: > W

Re: Using a function to def other functions?

2016-08-08 Thread Andrew C
I don't understand -- How am I using 'def' in a non-top-level-form? I thought I was calling 'bar', getting the result which is a function, and binding that function to a name 'foo', where the binding is 'def' at the top level. Is that not what I'm doing? I'm trying to avoid the use of unnecess

Re: cautious wrapper for letfn that does macroexpansion on fnspecs first

2016-08-01 Thread Andrew C
In case anyone's curious, It was a bad idea :) It compiled and seemed to work fine until it tried to return a result and instead evaluated (result). There was a way to fix it where my letfn' macro dealt with the name and body separately. But I ended up defining functions on their own and using

cautious wrapper for letfn that does macroexpansion on fnspecs first

2016-07-27 Thread Andrew C
letfn assumes fnspecs are all already properly shaped, like: (fn-name [args] body) But it is possible that a macroexpansion is needed to get them in the right shape before letfn does its work, especially if the user found all his fnspecs were of similar shape and used a macro to eliminate boile

Automat - order of reducing functions?

2016-07-22 Thread Andrew C
How come the order of the reducing operations in the resulting diagrams below is different? Basically I want to call the first reducing operation after the first 1 and then the second operation when it accepts. This is with [org.clojars.semperos/automat "0.2.0-alpha3"] (ns p.core (:require [

Re: Idea: standardised way of packaging docs inside jar

2016-05-31 Thread Andrew Oberstar
Not very familiar with it, but is the Grenada/datadoc project along the lines you were thinking? I think that was a Google Summer of Code project last year. Andrew Oberstar On Tue, May 31, 2016, 5:37 AM Arnout Roemers wrote: > Hi all, > > This is a copy from the question I posed

Re: Add support for seq on Java streams?

2016-02-24 Thread Andrew Oberstar
If you want to use reduce or transducers on a stream, you could take a look at ike.cljj (shameless plug). Depending on your use case, it might not provide a lot of benefit over Gary's suggestion. https://github.com/ike-tools/ike.cljj Andrew Oberstar On Wed, Feb 24, 2016 at 7:07 AM &

Re: [ANN] Graclj 0.1.0 -- New Gradle Plugin for Clojure

2016-02-15 Thread Andrew Oberstar
d on this: https://en.wikipedia.org/wiki/Common_grackle > > > On Sunday, February 14, 2016 at 8:11:00 PM UTC-6, Andrew Oberstar wrote: >> >> I just released the first version of Graclj, which is a new Gradle plugin >> for Clojure. The goal is to make something that feels nat

[ANN] Graclj 0.1.0 -- New Gradle Plugin for Clojure

2016-02-14 Thread Andrew Oberstar
u can walk through the learning-graclj repo. I'd welcome any feedback on the plugin or documentation. Source: https://github.com/graclj/graclj Documentation: https://github.com/graclj/learning-graclj/tree/learning-0.1.0 Thanks, Andrew Oberstar -- You received this message because you are su

Re: Clojure bootstrap, what am I missing here?

2015-09-02 Thread Andrew Oberstar
That's great! Andrew Oberstar On Tue, Sep 1, 2015, 11:25 PM Patrick Gombert wrote: > There is an effort underway to port the stdlib to clojure named > clojure.core <https://github.com/mylesmegyesi/clojure.core>. The idea is > to eventually to move off of clojure and b

[ANN] ike.cljj 0.2.2

2015-08-25 Thread Andrew Oberstar
://github.com/ike-tools/ike.cljj Andrew Oberstar -- 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 firs

Re: Clojure Truck Factor

2015-08-17 Thread Andrew Chambers
>From my outside observation you would need to hit Rich Hickey, Timothy Baldridge, David Nolen, Stuart Halloway + other cognitect staff all at once. This wouldn't exactly "kill" clojure. But may put it into maintenance only mode for a while. On Saturday, August 8, 2015 at 4:21:40 AM UTC+12, Gu

Re: Durable atom

2015-08-16 Thread Andrew Chambers
UTC-4, Andrew Chambers wrote: >> >> Datomic is basically what you want. >> > > What if he wants open source? > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Re: Durable atom

2015-08-16 Thread Andrew Chambers
Datomic is basically what you want. when you get a db instance from the connection it is equivalent to dereffing an atom - You get an immutable reference to the data at that point in time. On Monday, August 17, 2015 at 2:59:09 AM UTC+12, Jeremy Vuillermet wrote: > > Hello, > > With the rise of O

Re: Decomplecting Clojure

2015-08-12 Thread Andrew Cristina
Hi Sebastian, Thanks for sharing! I'm enjoying read this document, and I plan to share it with a few teammates. I do have a question about one section however: Near the end, under "Principles and Community" you list three questions, and then state that if the answer to any of the questions is

[ANN] ike.cljj 0.1.0

2015-08-12 Thread Andrew Oberstar
java.util.function ones). * Wrappers for java.lang.invoke (MethodHandles API) since it was used for the SAM conversion. Any feedback is welcome. Thanks! Andrew Oberstar -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Clojure beyond Java 6 ?

2015-08-08 Thread Andrew Oberstar
doesn't become an excuse for Clojure to stay moored to the JVM's past for the long-term. Andrew Oberstar On Fri, Aug 7, 2015 at 7:12 AM Morten Christensen wrote: > I am new to Clojure which I am evaluating using Clojure for a Java 8 based > framework with code in clojure, j

Re: Java 8 Lambda Interop

2015-07-28 Thread Andrew Oberstar
s the case, it seems like a beneficial thing to support in Clojure. Though it depends on the impact to the compiler. I can see the argument either way. Andrew Oberstar On Mon, Jul 27, 2015 at 9:49 PM Sean Corfield wrote: > I think Mike was suggesting something like this: > > (-> (IntS

Re: Java 8 Lambda Interop

2015-07-27 Thread Andrew Oberstar
a Java API that expects something implementing a single-method-interface (Predicate in this case). Right now I need to do something like this: (defn lambda [f] (reify Predicate (test [x] (f x (-> (IntStream/range 0 100) (.filter (lambda odd?)) (.limit 5) (.collect Collectors/toList)) Andrew

Re: Java 8 Lambda Interop

2015-07-27 Thread Andrew Oberstar
ve functions as second-class citizens for interop. Granted, there may be a simplicity argument against this (maybe that's why Java varargs require an explicit array?). Andrew Oberstar On Mon, Jul 27, 2015 at 4:16 AM Gary Verhaegen wrote: > On Sunday, 26 July 2015, Andrew Oberstar wr

Java 8 Lambda Interop

2015-07-26 Thread Andrew Oberstar
unction or macro to reify a wrapper around a Clojure function to implement all of the usual interfaces from java.util.function. Anyone have any better ideas? Andrew Oberstar -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: [ANN] Replete ClojureScript REPL iOS app available

2015-07-21 Thread Andrew Keedle
Brilliant Mike. Well done with this. Very impressive. On Monday, 20 July 2015 21:28:51 UTC, Mike Fikes wrote: > Replete 1.0 is now in the App Store > > > http://blog.fikesfarm.com/posts/2015-07-20-ios-clojurescript-repl-available-in-app-store.html -- You received this message because you a

Re: [ANN] Introducing Yagni, a Leiningen plugin for finding unused code

2015-06-23 Thread Andrew Oberstar
Haven't tried it yet, but looks good. Nice work! Andrew Oberstar On Tue, Jun 23, 2015 at 12:39 PM W. David Jarvis wrote: > Hello everyone. > > I'm happy to announce the initial release of Yagni, a Leiningen plugin for > finding unused code. > > At a high level, Ya

Re: [ANN] Demo of the Holy Grail workflow

2015-05-23 Thread Andrew Oberstar
Silly me, my computer was muted... I'll watch it again. On Sat, May 23, 2015 at 8:27 AM Andrew Oberstar wrote: > I can play the video, but there's no sound. Looks interesting though. > > > Andrew Oberstar > > On Fri, May 22, 2015 at 3:06 PM Daniel Szmulewicz <

Re: [ANN] Demo of the Holy Grail workflow

2015-05-23 Thread Andrew Oberstar
I can play the video, but there's no sound. Looks interesting though. Andrew Oberstar On Fri, May 22, 2015 at 3:06 PM Daniel Szmulewicz < daniel.szmulew...@gmail.com> wrote: > Sorry about that. Some countries are prevented from watching this video on > Youtube. I've uploa

Re: [ANN] Clojure 1.7.0-beta3

2015-05-13 Thread Andrew Keedle
Looks good for current project. Project compiles and runs with clojure "1.7.0-beta3", clojurescript "0.0-3269", figwheel "0.3.1" + core.async core.match + om + ... Figwheel repl still works from within Cursive. Thanks, Andrew -- You received this message bec

Re: Clojure needs a web framework with more momentum

2015-05-03 Thread Andrew Rosa
en templates could become unnecessary, despite being very helpful to lower the entry point for new developers. IMHO *that* is the power of data driven architectures that we like to sell, isn't? []'s Andrew On Sunday, May 3, 2015 at 11:51:36 AM UTC-3, Plinio Balduino wrote: > > Mr Her

Re: test.check :autotest ?

2015-03-27 Thread Andrew Forward
Hey boz, You probably found your post, but just in case someone lands here from a search there are a few options, but take a look at lein-autotest https://github.com/dakrone/lein-autotest Here's the stackoverflow page, which might have more (or better) answers too http://stackoverflow.com/que

Re: Announcing oolong: a config-based glue for `component`

2015-03-17 Thread Andrew Oberstar
Just a quick look so far, but it looks pretty interesting. I'm working on a multi-module project and I'd like to have the flexibility to run those modules separately or together. Extracting the component structure out into a config file could be pretty helpful in that regard. Nice wor

Re: "Easier" Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
ementation inheritance. Is that the more general Clojure approach to reach for when an OO-programmer would usually reach for an abstract class? Andrew Oberstar On Sun, Mar 15, 2015 at 1:36 PM Andrew Oberstar wrote: > Sure, that makes sense. I'll give that a go along with a few other ideas, &g

Re: "Easier" Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
Sure, that makes sense. I'll give that a go along with a few other ideas, and see what works out best. Thanks for the help! Andrew Oberstar On Sun, Mar 15, 2015 at 1:22 PM Colin Yates wrote: > I don't have one at hand (as I literally wrote my first macro last > week ;)) but

Re: "Easier" Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
and update-system-reverse may be the key piece for implementing something like the LifecycleStatus solution in my original email without requiring any change to component itself. The big weakness is that it would require using a custom start-system stop-system function rather than the standard one.

"Easier" Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
em functions. Maybe this is better suited to an issue/pr on his repository, but I wanted to see if there were any comments from the community. Is there a better way to do this? Andrew Oberstar -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Browserless ClojureScript

2014-12-23 Thread Andrew Keedle
Never looked at Node before. I've followed the instructions, but I get this error when running: node run.js (I'm using nixos with node v0.11.13. Anyone got any clues?) [keeds@pixie:~/workspace/hello-world]$ node run.js /home/keeds/workspace/hello-world/out/goog/bootstrap/nodejs.js:69 process

Re: [ClojureScript] Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-24 Thread Andrew Rosa
Aaron, Still need to study the more detailed docs, but from what I read from UI-SPEC the only thing I get confused about was the event/lifecycle. Just a suggestion about the name, if there is time for that: despite of the chosen one, IMO will be a good thing unify all (potential) libraries und

Re: a nicer way to write 1 - 2 + 3 - 4 ... +/- n

2014-11-14 Thread Andrew Oberstar
How about this? (defn cyclefn [& fs] (let [fcycle (cycle fs) rem-fs (atom fcycle)] (fn [& args] (let [f (first @rem-fs)] (swap! rem-fs rest) (apply f args) (reduce (cyclefn + -) (range 1 100)) cyclefn could be used to cycle through any set of functions y

Re: On Testing

2014-10-31 Thread Andrew Rosa
seeing Haskell's https://github.com/feuerbach/tasty. OK, I don't do Haskell, but I kind of like the way of composing a single integrated suite of different flavors of test. Andrew On Friday, October 31, 2014 10:41:09 PM UTC-2, John Louis Del Rosario wrote: > > Would be great if hu

Re: [ANN] fast-zip 0.5.0 now with ClojureScript support

2014-10-23 Thread Andrew Rosa
I think this will be awesome. If the data structures made a no-op, at least the testing code should help. Nice work Alexander! On Thursday, October 23, 2014 10:50:51 PM UTC-2, Alexander Hudek wrote: > > The implementation is API compatible but not compatible in terms of data > structures. I sup

[ANN] ike.tk.httpkit 0.1.0 - Trapperkeeper service for http-kit

2014-10-11 Thread Andrew Oberstar
, including a sample app below: https://github.com/ike-tools/ike.tk.httpkit Andrew Oberstar -- 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

Re: com.stuartsierra/component & ring/compojure example

2014-10-07 Thread Andrew Meredith
This is not a full example, but I ran into the same issue when building an app for the Clojure Cup not too long ago. The general approach I used is this: - create the Compojure routes in a function with the components I need as parameters - declare the web server itself (I used httpkit

Re: twitter-api and streaming calls

2014-05-06 Thread Andrew Fitzgerald
xample/src/main/java/com/twitter/hbc/example/FilterStreamExample.java with some additional logic to dump messages onto rabbitmq. Clojure code here https://www.refheap.com/85199 Cheers, Andrew Fitzgerald On Friday, May 2, 2014 3:40:06 AM UTC-4, Simon Katz wrote: > > Thanks Andrew and Gary.

Clojure compiled without Eval

2014-05-05 Thread Andrew Stine
I'm wondering if there is a way to generate Clojure executables/jars without the embedded Clojure compiler/interpreter. In older lisps there is usually the option to generate an executable with unused bits of the language expunged for performance reasons. Clojurescript already sort of works thi

Re: Functional programming and security

2014-05-04 Thread Andrew Chambers
I would say the transaction model of datomic would have saved Mt Gox from its problems dealing with atomic transactions, however that's more due to datomic's design and poor design of the Mt Gox system than a clojure specific thing. On Monday, May 5, 2014 6:21:47 PM UTC+12, Magnus Therning wrot

Re: Idiomatic tokenizing and performance

2014-05-04 Thread Andrew Chambers
I hope you don't > mind. > > https://gist.github.com/muhuk/7c4a2b8db63886e2a9cd > > > On Mon, May 5, 2014 at 12:36 PM, Andrew Chambers > > > wrote: > >> I've been trying to make a tokenizer/lexer for a project of mine and came >> up with the f

Idiomatic tokenizing and performance

2014-05-04 Thread Andrew Chambers
q [cs] (let [[newcs tok] (next-token cs)] (lazy-seq (cons tok (token-seq newcs) Cheers, Andrew Chambers -- 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 p

Re: twitter-api and streaming calls

2014-05-01 Thread Andrew Fitzgerald
I had the same (very frustrating issue) recently. I ended up just using the official twitter API which is written in Java https://github.com/twitter/hbc On Thursday, May 1, 2014 6:59:04 PM UTC-4, Simon Katz wrote: > > Hi, > > I'm playing with twitter-api (https://github.com/adamwynne/twitter-api

Re: testing clojure.core/group-by with clojure.test.check

2014-04-30 Thread Andrew Chambers
One approach you can use is write the generators in such a way that they generate the final answer group-by should return, then you write code which does the inverse to group by and then you check the group by answer is equal to the originally generated solution. On Wednesday, April 30, 2014 1

Re: cursive plugin question

2014-04-29 Thread Andrew Chambers
To do this i created a new run configuration with and in the run config dialog set it to local clojure repl, then you need to go to preferences and create keybindings for send current form to repl (I just used shift + enter). Then it should work no problem. On Tuesday, April 29, 2014 11:04:24 P

Re: Update

2014-04-29 Thread Andrew Chambers
For the llvm based approach you can look at vmkit. On Wednesday, April 30, 2014 3:39:21 AM UTC+12, Divyansh Prakash wrote: > > Check out my previous reply. The parrot vm provides gc and everything, But > still the author defines lambda primitives in c, and then builds over it. -- You received t

Re: Update

2014-04-29 Thread Andrew Chambers
Well, why write it in primitives when there is a perfectly good compiler from java to primitives? I dont quite understand why you think there would be benefit from manually writing everything with java bytecode. The JVM works with classes, thats how its designed, Clojure itself is just a java l

Re: ring streaming efficiency

2014-04-22 Thread Andrew Chambers
it might > be useful hosting your files on a service like S3, and redirecting your > users instead. > > - James > > > On 23 April 2014 04:03, Andrew Chambers > > wrote: > >> When you set the body of a ring response to a java input stream and >> return it,

Re: Which linux distro has intelij ?

2014-04-22 Thread Andrew Chambers
Just for reference, i use xubuntu (with the apt-get java jdk) and windows with cursive no problem. I love cursive compared to other clojure dev tools I've tried. On Wednesday, April 23, 2014 11:37:12 AM UTC+12, Andrew Chambers wrote: > > Don't install intellij from and package

ring streaming efficiency

2014-04-22 Thread Andrew Chambers
When you set the body of a ring response to a java input stream and return it, is this still a thread per stream? or does it use some sort of java event loop for efficiency? I'm worried that a traffic download/upload server in ring wouldn't handle many concurrent large file uploads and downloads

Re: Which linux distro has intelij ?

2014-04-22 Thread Andrew Chambers
Don't install intellij from and package manager (it will probably be out of date/not there), just install java then download it from the intellij/cursive website. Its self updating anyway and should work on any distro and on windows that way. On Wednesday, April 23, 2014 5:11:54 AM UTC+12, Roel

Re: [ANN] Gorilla REPL 0.2.0 - all new extensible renderer

2014-04-15 Thread Andrew Chambers
ds chaps - glad you like it! >> >> @Steve Are you sure your Leiningen is up to date? I've only seen this >> problem when accidentally trying to run Gorilla with Lein 1.7 (as Debian >> seems to have that version as its default install). >> >> @Andrew Probab

Re: "true" lightweight threads on clojurescript?

2014-04-15 Thread Andrew Chambers
You need to write either an interpreter of some sort of bytecode in javascript/clojurescript and and have the interpreter implement the threading, or use a webworker for each process then something like core.async for sending ui events to the main browser loop. Clojurescript doesnt attempt to e

Re: [ANN] Gorilla REPL 0.2.0 - all new extensible renderer

2014-04-15 Thread Andrew Chambers
This is awesome (reminds me of ipython notebooks). I hope to use this to custom render some data structures internal to my compiler project. I'll have to read up on how to render directed graphs. On Thursday, March 20, 2014 9:22:57 AM UTC+13, Jony Hudson wrote: > > Hi all, > > I'm happy to ann

Re: Clojure compiletime vs runtime

2014-04-15 Thread Andrew Chambers
j > (def y 1) > > > Now the AOT would only load the first file in the namespace because > (load "user_y") would not be evaluated. > > Why are you worried about this? Most of the time compilation in Clojure > is an implementation detail, as it is in python. It j

Re: Clojure compiletime vs runtime

2014-04-15 Thread Andrew Chambers
Why are the toplevel forms which arent macros executed at compile time? For example Lua can be compiled to bytecode without executing its top level calls. On Tue, Apr 15, 2014 at 9:04 PM, Softaddicts wrote: > Ahem :) > > a) The fn x does not exist in the universe until you call foo, hence you >

Re: Clojure compiletime vs runtime

2014-04-14 Thread Andrew Chambers
Forgive me, the first example was meant to be The following code wont compile: (defn y[]) ((x)) (defn x [] nil) On Tuesday, April 15, 2014 4:39:59 PM UTC+12, Andrew Chambers wrote: > > Is there an explanation of how clojure deals with scoping and its static > checking. It seems to be

Clojure compiletime vs runtime

2014-04-14 Thread Andrew Chambers
Is there an explanation of how clojure deals with scoping and its static checking. It seems to be a hybrid of a static language and a dynamic language when it comes to compilation. I'll elaborate. The following code wont compile: (defn x [] nil) (defn y[]) ((x)) however this code will compile:

Re: Extending a data model

2014-04-14 Thread Andrew Chambers
An update, I read about protocols and multimethods. I think multimethods are a decent way to go (cant use protocols without a defrecord) provided they work across namespaces. On Tuesday, April 15, 2014 11:52:36 AM UTC+12, Andrew Chambers wrote: > > Hi everyone, > > I'm new

Re: Extending a data model

2014-04-14 Thread Andrew Chambers
methods may be another solution. On Tuesday, April 15, 2014 11:59:17 AM UTC+12, Reid McKenzie wrote: > > Hey Andrew, I actually built something very much along these lines a few > months ago if you care to cheat off of it: > > http://github.com/arrdem/toothpick is an assembler g

Re: Potential Intro clojure projects - libraries and ideas with wow factor

2014-04-14 Thread Andrew Chambers
Clojure logic programming with core.logic (something akin to a sudoku solver https://gist.github.com/swannodette/3217582 is a good example) or using datomic to have a database with a time machine and datalog for queries might be cool (perhaps visualizing the data in the database at arbitrary ti

Extending a data model

2014-04-14 Thread Andrew Chambers
Hi everyone, I'm new to clojure and in order to learn I'm working on making some compiler tools which converts a lightweight IR code into assembly. My data model for an IR function is along the lines of (def code { :entry [[:loadaddr :x "global_label"] [:loadconst 1 :y]

lein2 - lein version fails due to org.apache.http.impl.client.DefaultRequestDirector

2014-03-31 Thread Andrew Xue
my lein started not working mysteriously. i can't even get lein version to work w/o a weird error: lein version Mar 31, 2014 3:11:38 PM org.apache.http.impl.client.DefaultRequestDirector tryConnect INFO: I/O exception (java.net.NoRouteToHostException) caught when connecting to the target host:

Re: [ClojureScript] Re: Test G.Closure lib release 0.0-20140226-71326067

2014-03-13 Thread Andrew Keedle
ime and thanks for all your efforts on all of the wonderful things you create that I get to use everyday. Andrew On Thursday, 13 March 2014 12:32:37 UTC, David Nolen wrote: > Andrew, > > > I've tried the new JARs on a couple of projects and I have not encountered > these i

Re: ANN: Om 0.5.0-rc1

2014-02-19 Thread Andrew Keedle
On Wednesday, 19 February 2014 03:51:15 UTC, David Nolen wrote: > In order to stay in sync with React 0.9.0-rc1 I've cut Om 0.5.0-rc1. There > are a couple of small breaking changes due to React but otherwise the > differences between 0.4.2 and 0.5.0-rc1 are minor. One big enhancement is > that

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Andrew Voron
Well, Im not sure if I expressed myself correctly when asked for tips about editor - I thought about how to get Emacs (or may be other editor which support nrepl workflow) "work" with cljs-start. Now I see that it works good when I'm testing it. I use emacs-live for clojure work with emacs, and

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Andrew Voron
Good job. First thing that start and running from description in wiki. It seems like next evolution step in path: pure cljs -> Piggieback -> austin -> cljs-start May be for newcomers like me it will be good to add some integraional tips for emacs(others) editors.. Thx. Andrew --

Re: [ANN] Compliment - a completion library you deserve

2013-08-09 Thread Andrew Stine
Looks *very* cool. I like the drop-down list in ac-nrepl-compliment. On Friday, August 9, 2013 12:19:40 PM UTC-4, Alexander Yakushev wrote: > > Dear community, > > I've just released the initial version of my clojure-complete fork, > Compliment. I decided to move it into a separate project after

Re: Lisp newbie seeks (macro?) wisdom - instrumentation and app metadata

2013-08-09 Thread Andrew Stine
macros already which handle most of the things I would do with them in Common Lisp. On Friday, August 9, 2013 11:13:44 AM UTC-4, Lee wrote: > > > On Aug 9, 2013, at 11:01 AM, Andrew Stine wrote: > > > For a pretty decent cover of when and how to use macros, On Lisp[1] is a > p

Re: Lisp newbie seeks (macro?) wisdom - instrumentation and app metadata

2013-08-09 Thread Andrew Stine
For a pretty decent cover of when and how to use macros, On Lisp[1] is a pretty good book. It's written mainly for Common Lisp but most of it translates to Clojure well enough. I find that for common code, writing macros isn't so useful as most of the goods ones are already part of clojure.core

Re: Hiring Clojure Programmer(s)

2013-08-02 Thread Andrew Stine
Might help if you said what part of the world you're in. On Friday, August 2, 2013 12:47:21 PM UTC-4, Quinn Finney wrote: > > Hello all, > > My company is looking to hire a Clojure programmer to help assess and > finish our product, a server architecture system for Java instances. The > product

Re: is intellij idea a good ide for clojure development?

2013-07-27 Thread Andrew Inggs
On 26 July 2013 09:53, Cedric Greevey wrote: > Would that include a contemporary user interface that can show trees > properly, do graphical diffs, and be quickly taken up by any reasonably > adept Windows or Mac user the way Eclipse, clooj, and IntelliJ can? > I don't speak for HÃ¥kan, but I don'

Re: is intellij idea a good ide for clojure development?

2013-07-26 Thread Andrew Inggs
Lisp to Clojure. It uses the Lanterna > library for text UI. The goal is to reach reasonable compatibility with GNU > Emacs during 2013. The longer term goal is to phase out Emacs Lisp in > favour for Clojure, to add a Web UI and re-capture Emacs' spirit on a > contemporary platform.

Re: Latest JOGL with Clojure in Eclipse?

2013-06-28 Thread Andrew Voron
I dont know if I miss something, but after "lein deps" and trying to import NewtFacroty for ex. , clojure says me about absence of gluegen-rt-2.0.0-rc11-natives-windows-amd64.jar. All start working when I put this jar and native dlls into \.m2\repository\org\clojars\toxi\gluegen-rt\2.0.0-rc11\

Re: Simple socket programming problem

2013-05-31 Thread Andrew Spano
It works! Wow, that was a simple solution! Thanks for the help :D :D. On Friday, May 31, 2013 9:04:42 PM UTC-4, atkaaz wrote: > > What happens if you send a newline after that "Hello"? ie. "Hello\n" since > you're using read-line > > > >

Simple socket programming problem

2013-05-31 Thread Andrew Spano
Hello, I'm trying to create a very simple interaction between a client and server program using the server-socket library which used to be part of clojure-contrib and is now maintained by technomancy https://github.com/technomancy/server-socket/blob/master/src/server/socket.clj I created a s

Re: [ANN] tawny-owl 0.11

2013-05-22 Thread Andrew Wagner
I went looking for the same thing. There are a few partial examples in the docs directory that might be worth looking at. On Wed, May 22, 2013 at 8:06 AM, atkaaz wrote: > 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 fee

Why the need for an explicit new operator in Clojure?

2013-05-16 Thread Andrew McAuliffe
Hi. My understanding of Java (or jvm) is that you can not call a constructor without using a new operator. Why then (even with the suffix dot syntactic sugar notation) is the new operator required explicitly at all? What are the disadvantages to having it implicit? Thanks in advance amca --

[GSoC 2013] Learning resource

2013-04-29 Thread Andrew Kondratovich
Hello. It's probably late, but I want to offer to community a GSoC project idea. Recently, I took a part in a short Clojure courses, which were organized on pure enthusiasm by Dmitry Bushenko. There were a lot of people interested in it. Most of them didn't not know where to start but they want

Re: nREPL middleware for external repl.

2013-04-24 Thread Andrew Voron
Thanks for reply, Michael. Take a look at Piggieback by Chas Emerick: > https://github.com/cemerick/piggieback > Yes I saw it, but if I underestand it correctly, this middeware doesn't connect to any external repl, it passes in to inner ClojureScript evaluator, which outputs plain JavaScript w

nREPL middleware for external repl.

2013-04-24 Thread Andrew Voron
Hello. I need a suggetion about one thing: las3r - is a subset of Clujure language, hosted inside flash runtime. The idea is to use emacs + nrepl (I want to use all it's sweet features) to talk with flash repl. My question is: can this be achieved via some c

Re: Surprising behaviour related to records, protocols and AOT

2013-04-18 Thread Andrew Sernyak
I guess extend-type does changes only to generated java class and the var defrecordissue.arecord->ARecord contains the 'old' version of ARecord constructor. Obviously it would be weird for defprotocol to change the variable in another namespace. Especially when you can extend a record from anyw

  1   2   3   4   >