Re: RFC: spec talk? / spec-like features in other languages?

2020-08-29 Thread Aaron D.
://guides.rubyonrails.org/active_record_validations.html [2] https://write.as/aaron-d/dynamic-validations-in-rails On Friday, August 28, 2020 at 10:05:50 AM UTC-5 ldoc...@gmail.com wrote: > Hello, > > Along with a friend, we are preparing a short talk on spec. > > The main idea is to show some less

Re: Clojars deployment failing

2020-02-23 Thread Aaron D.
ojars-web/issues/744 for the details, and > please comment there if you are still seeing issues with 400 Bad > Request responses when deploying. > > I'd like to thank Aaron Dixon, Ambrose Bonnaire-Sergeant, and Benito > Gonzalez for their patience and assistance in debugging

Re: Clojars deployment failing

2020-02-19 Thread Aaron D.
Whelp -- Just another data point -- I got two releases through just now successfully. So this is intermittent or something was fixed. On Wednesday, February 19, 2020 at 10:24:47 PM UTC-6, Aaron D. wrote: > > Hey Toby > > > What do you mean by "I disabled :checksum checking

Re: Clojars deployment failing

2020-02-19 Thread Aaron D.
not transfer metadata com.github.atdixon:thurber/maven-metadata.xml from/to releases (https://repo.clojars.org): Failed to transfer file: https://repo.clojars.org/com/github/atdixon/thurber/maven-metadata.xml. Return code is: 400 , ReasonPhrase:Bad Request. On Sunday, February 16, 2020 at 6:2

Re: Clojars deployment failing

2020-02-16 Thread Aaron Dixon
update, I disabled :checksum checking for clojars and was able to get a release thru. On Sun, Feb 16, 2020 at 6:26 PM Aaron D. wrote: > My gpg creds are as usual (and verified) and I'm deploying in standard > fashion but my last attempt at lein deploy fails with 400/Bad Request at >

Clojars deployment failing

2020-02-16 Thread Aaron D.
My gpg creds are as usual (and verified) and I'm deploying in standard fashion but my last attempt at lein deploy fails with 400/Bad Request at the very ened trying to retrieve maven-metadata.xml -- is anyone / has anyone seen this? My last deploy was 10 days ago... The log to error: Created

Re: [ANN] thurber: Clojure on Apache Beam (distributed batch/streaming)

2020-01-22 Thread Aaron D.
Hi Dominic thank you! Are you maintainer/contrib to datasplash, I would be happy to swap notes, synthesize ideas. My org looked at datasplash. The biggest dealbreaker for us was datasplash's AOT-orientation; its AOT packaging meant we couldn't float its dependencies, and didn't like the

Re: Java Interop on steroids?

2019-06-22 Thread Aaron Dixon
That is likely more to do with doing a full rewrite with 5+ years of learned experience under their belt than any insurmountable performance issue by Clojure. (Storm was mostly Clojure from day one but always had Java code in the mix, as well; in other words, they've always had Java if they had

Re: Prototype code for enhanced CIDER code completion for Java methods

2018-10-16 Thread Aaron Cohen
doto macro is also useful in a similar way, and often what you want when using some of the more byzantine java libraries. (All of the above works in Cursive, I'm not sure about how it works in CIDER, but I assume it's equivalent). --Aaron On Tue, Oct 16, 2018 at 8:30 PM 'somewhat-functional-progr

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-13 Thread Aaron Bedra
Penetration testing is something performed on an application, but a source code review of the language is certainly an interesting idea. My company does these all the time. I ran this by my folks and there was certainly interest. If we could publish the results and create a healthy discussion

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-13 Thread Aaron Bedra
s obviously not really 'objective'. A way to make it more strongly > objective would be to use a third party - that may however be costly. > Similarly we are wondering to what extent we could expand the work we do in > terms of ethical hacking / penetration testing - perhaps we could rai

Re: [clojure.spec] Best practices for programmatically generating specs?

2017-12-14 Thread Aaron Brooks
An eval requirement will still be an impediment to me but it's good to hear that things are still being worked on. I'm happy to do any early testing of proposed approaches and give feedback. Thanks for letting me know -- keep us posted! -Aaron On Wednesday, December 13, 2017 at 10:45:56 PM

[clojure.spec] Best practices for programmatically generating specs?

2017-12-13 Thread Aaron Brooks
needs to capture symbols and forms but wish that was a ease interface on top of a data oriented implementation that was first-class. Let me know if I'm missing something in how I'm thinking about this or what my available options are. Thanks! -Aaron -- You received this message because you

Re: clojure.edn versus clojure.tools.reader.edn

2017-11-28 Thread Aaron Cummings
Thanks Alex. This makes sense. It did occur to the the recommendation in the cheatsheet might be aimed at ClojureScript compatibility. Since I'm in JVM Clojure only for this project I'll switch over to clojure.edn. -Aaron -- You received this message because you are subscribed to the Google

clojure.edn versus clojure.tools.reader.edn

2017-11-28 Thread Aaron Cummings
also see clojure.edn/read-string. Are both of these edn readers considered equally safe on untrusted input? What tradeoffs are there for one versus the other? Thanks, Aaron -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this g

clojure.edn versus clojure.tools.reader.edn

2017-11-28 Thread Aaron Cummings
also see clojure.edn/read-string. Are both of these edn readers considered equally safe on untrusted input? What tradeoffs are there for one versus the other? Thanks, Aaron -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this g

Re: core.async got in a bad state?

2017-08-29 Thread Aaron Iba
named >>> "async-dispatch-" and it looks like there are 8 blocked ones in your >>> thread dump. >>> >>> It also looks like they are all blocking on a >!!, which is a blocking >>> call. So I would look for a go block that contains a >!! an

core.async got in a bad state?

2017-08-29 Thread Aaron Iba
uation. Or if we notice it happening again, what could I do to gather more helpful information. I also have a redacted thread dump, in case it's useful: https://gist.github.com/anonymous/65049ffdd37d43df8f23630928e8fed0 Any help would be much appreciated, Aaron P.S. core.async has been a godsend in

Re: making a tree from map

2017-01-30 Thread Robert Aaron Zawiasa
I got a perfect answer from @moxaj on Clojurians Slack: https://clojurians.slack.com/files/moxaj/F3Y6J1X0S/-.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

making a tree from map

2017-01-30 Thread Robert Aaron Zawiasa
]] I've tried: (clojure.walk/prewalk answer42 :world) but it gives back nils: [[[nil nil] nil] [[nil [[nil] nil]]] nil] and also miss things without children.. This is my first post here. All your help is greatly appreciated! Bests, Aaron -- You received this message because you

Re: Cyclic namespace dependencies!

2016-12-30 Thread Aaron Cohen
You already know this has been discussed a lot over the years. I just wanted to cite the best reasoning that I've seen from Rich about why Clojure does it the way that it does, which I believe is the argument that surrounded an blog post fro Steve Yegge that Rich responded to and some excellent

Re: [moderated] I don't understand what (:t :t) means

2016-12-26 Thread Aaron Cohen
to do a collection look up using a non-collection is defined to return nil. Thus, (:t :t) -> nil If you wish to create a structure by preventing clojure from using the first element as a function, you must "quote" your example, ie, (quote (:t :t)) or '(:t :t) then the structure would be

Re: Java interop: dealing with Java implementation instances vs interfaces

2016-10-17 Thread Aaron Cohen
My guess is that you're getting a message related to there being no overload of the Producer.send method that accepts a String. In your Java code, you're calling String.getBytes you need to do the same in you Clojure code. --Aaron On Sun, Oct 16, 2016 at 2:42 AM, hiskennyness <ken

RE: Data Transformation Question

2016-10-12 Thread Aaron Cummings
You may also want to consider clojure.set/index, though that may not exactly be what you are looking for.  Original message From: tmountain Date: 2016/10/12 11:26 (GMT-05:00) To: Clojure Subject: Data Transformation

Re: Recursive clojure.spec doesn't work

2016-10-06 Thread Aaron
Well I'm referring to the OP's original example: (s/def :html/element > (s/cat >:tag keyword? >:attrs map? >:children (s/* (s/alt :element (s/spec :html/element) > :string string? > > The exception says: "Unable to resolve spec: :html/element". > On

Re: Recursive clojure.spec doesn't work

2016-10-05 Thread Aaron
I was playing around with something similar to the OP and encountered this same problem using s/spec recursively. Yes, I get it that there are work-arounds, but it seems like this is a legitimate issue. s/spec as you say resolves at definition time, but the rest of the combinators (s/alt,

Re: Tiny fix for LispReader

2016-04-27 Thread Aaron Cummings
some items from the Java spec for numeric literals that are apparently not supported by the Clojure reader - underscores, 0b prefix for binaries, the L, D and F type suffixes, hex formatted decimals, etc. -Aaron On Wed, Apr 27, 2016 at 06:17:28AM -0700, Frank Pursel wrote: > I was acting with re

Re: Mutual Recursion Doesn't Compile

2016-03-31 Thread Aaron Cohen
likely be, "How do I make mutually recursive functions not run out of stack space?" and the answer for that is "trampoline". https://clojuredocs.org/clojure.core/declare https://clojuredocs.org/clojure.core/letfn https://clojuredocs.org/clojure.core/trampoline --Aaron -

Re: Guidance on modelling listeners

2015-12-07 Thread Aaron D. Valade
What I’ve done in a similar situation is having a protocol defined like so: (defprotocol Transition (valid? [this world input] “Checks if the transition is valid for this input given the state of the world”) (action! [this world input] “Changes the state of the world based

Re: how to make a function of a map argument ?

2015-10-23 Thread Aaron Cohen
I think you might find the following blog post helpful: http://blog.jayfields.com/2011/01/clojure-select-keys-select-values-and.html What you are asking for is basically (clojure.string/join (select-values my-map vals)) where select-values is defined in several ways in the linked blog post. For

Re: [ANN] paren-soup 0.1.1, a browser-based editor for CLJS

2015-09-08 Thread Aaron Cohen
For me, the instarepl column seems to be unreadable because all the results have horizontal scrollbars that entirely obscure the results. On Tue, Sep 8, 2015 at 4:38 PM, Zach Oakes wrote: > This is a ClojureScript viewer and editor you can embed in any website. I > hope to

Re: [ANN] paren-soup 0.1.1, a browser-based editor for CLJS

2015-09-08 Thread Aaron Cohen
I should have given you that information up front, sorry. I just tried it in Windows 10 using both Edge and Chrome and both have scrollbars. Earlier I was using Chrome in Windows 7. I was able to fix it in the inspector using "overflow: hidden": .paren-soup .instarepl .result { position:

Re: [ANN] Glow version 0.1.2 released - a parser and syntax highlighter for Clojure source code.

2015-08-18 Thread Aaron Cohen
I'm curious why you chose to write your own parser rather than use clojure.tools.analyzer https://github.com/clojure/tools.analyzer? On Tue, Aug 18, 2015 at 10:53 AM, W. David Jarvis venant...@gmail.com wrote: Hey all - I'm happy to announce the release of version 0.1.2 of Glow

Re: How to exclude compile-time dependencies from uberjar?

2015-06-30 Thread Aaron Cohen
My understanding is that those dependencies should go into the dev profile, which won't be included in the uberjar. On Tue, Jun 30, 2015 at 4:56 AM, Robin Heggelund Hansen skinney...@gmail.com wrote: I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies

Re: Looking for library to annotate structures with grammar descriptions

2015-06-26 Thread Aaron Cohen
I took a swing at this using prismatic schema: (ns schema-test.core (:require [schema.core :as s] [schema.utils :as utils] [schema.coerce :as coerce]) (:import schema.core.NamedSchema)) (def Alternate (s/named [s/Keyword] alternate)) (def Path (s/named [(s/either

prose - a minimal language, inspired by Io/Ioke, that compiles to Clojure and ClojureScript

2015-05-26 Thread Aaron Lebo
println Clojure: (def sum (partial reduce +)) (println (+ 1 (sum [1 2 3]))) I used Instaparse for it, which was incredible. https://github.com/aaron-lebo -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

repost (bad url): prose is a minimal language that is inspired by Io and Ioke that compiles down to Clojure and ClojureScript

2015-05-26 Thread Aaron Lebo
println Clojure: (def sum (partial reduce +)) (println (+ 1 (sum [1 2 3]))) I used Instaparse for it, which was incredible. https://github.com/aaron-lebo/prose -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: prose - a minimal language, inspired by Io/Ioke, that compiles to Clojure and ClojureScript

2015-05-26 Thread Aaron Lebo
Sorry, the url is https://github.com/aaron-lebo/prose On Tuesday, May 26, 2015 at 11:49:13 AM UTC-5, Aaron Lebo wrote: Hi, I wanted to show a little project I've been working on. It is called prose, the syntax is heavily inspired by Io and Ioke. It is not object-oriented, though. It does

Re: prose - a minimal language, inspired by Io/Ioke, that compiles to Clojure and ClojureScript

2015-05-26 Thread Aaron Lebo
It isn't Google, I just don't use mailing lists often. I gave a bad URL and I figured deleted the original messages would delete the thread. Here is the repost: https://groups.google.com/forum/?hl=en#!topic/clojure/NV8ujk4L8MI On Tuesday, May 26, 2015 at 11:59:14 AM UTC-5, Fluid Dynamics

Re: a simple question about Arrays.asList

2015-05-21 Thread Aaron Cohen
yourself: (java.util.Arrays/asList (make-array Object 1 2 3)) Why are you trying to use Arrays#asList btw? There are probably better ways to do what you're trying to do. --Aaron On Thu, May 21, 2015 at 5:08 PM, webber tokomakoma...@gmail.com wrote: I am trying to use java.util.Arrays/asList

Support for IBM JVM?

2015-03-18 Thread Aaron Cummings
. Is this something that I should report? -Aaron -- 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

Opportunity at IBM in Vermont

2015-03-17 Thread Aaron Cummings
There is a position open in my department developing software infrastructure (Clojure, Java, Perl, Bash on Linux systems) for an embedded memory design team. Some background in circuit design and EDA is helpful. https://jobs3.netmedia1.com/cp/faces/job_summary?job_id=STG-0730448 -Aaron -- You

Re: Project fails to compile on different machines

2015-03-11 Thread Aaron France
The makefile is not ran in parallel -- the Makefile is being explicit for non-Clojure users. Read above -- the issue is solved, there's an issue with the profiles and AOT. On Wed, 11 Mar 2015 at 16:21 Tassilo Horn t...@gnu.org wrote: Aaron France aaron.l.fra...@gmail.com writes: Hi Aaron

Re: Project fails to compile on different machines

2015-03-11 Thread Aaron France
Hi, The relevant parts of the Makefile are here: https://gist.github.com/AeroNotix/f65a846781357db59ced On Wednesday, 11 March 2015 14:01:20 UTC+1, Tassilo Horn wrote: Aaron France aaron.l...@gmail.com javascript: writes: Here is output compiling on the different machines: https

Re: Project fails to compile on different machines

2015-03-11 Thread Aaron France
The makefile calls compile then uberjar, which is why things are compiled twice, so it seems my problem lies *just* with uberjar. Any idea why compile would succeed but then uberjar would fail? On Wednesday, 11 March 2015 14:22:17 UTC+1, Aaron France wrote: Hi, The relevant parts

Project fails to compile on different machines

2015-03-10 Thread Aaron France
compiling on the different machines: https://gist.github.com/AeroNotix/70a2d10bbb050aa0542a The lein version is 2.5.0 on both machines (I'm using the lein.sh script) Aaron -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: Project fails to compile on different machines

2015-03-10 Thread Aaron France
prred correctly? I've cleaned the maven cache on both machines completely. On Wed, 11 Mar 2015 at 00:26 Ivan L ivan.laza...@gmail.com wrote: seems like a clear classnotfound error to me. make sure both environments are building from a clean state (no build caches) and that your classes are

Re: Border cases for doseq

2015-02-25 Thread Aaron Cohen
| On Wed, Feb 25, 2015 at 1:41 PM, Aaron Cohen aa...@assonance.org wrote: On Wed, Feb 25, 2015 at 1:35 PM, Cecil Westerhof cldwester...@gmail.com wrote: 2015-02-25 19:23 GMT+01:00 Aaron Cohen aa...@assonance.org: On Wed, Feb 25, 2015 at 1:08 PM, Cecil Westerhof cldwester...@gmail.com wrote

Re: Border cases for doseq

2015-02-25 Thread Aaron Cohen
On Wed, Feb 25, 2015 at 1:35 PM, Cecil Westerhof cldwester...@gmail.com wrote: 2015-02-25 19:23 GMT+01:00 Aaron Cohen aa...@assonance.org: On Wed, Feb 25, 2015 at 1:08 PM, Cecil Westerhof cldwester...@gmail.com wrote: 2015-02-25 18:14 GMT+01:00 Andy Fingerhut andy.finger...@gmail.com

Re: Border cases for doseq

2015-02-25 Thread Aaron Cohen
describing your tables, and then use clojure.pprint/print-table to print out the resulting map when desired. --Aaron (printf format field type null key default)) (println)) (recur (rest all-tables))) It solves both problems. On Wed

Re: [ANN] cqrs-server - An opinionated CQRS/ES implementation using Onyx, Datomic, DynamoDB, Kafka and Zookeeper.

2015-02-12 Thread Aaron France
Hi, What are your opinions on Onyx? What are your opinions on Onyx compared to Storm? What are your opinions on Onyx deployment? Aaron On Thursday, 12 February 2015 10:15:44 UTC+1, Deon Moolman wrote: Hi everyone, I spent some time putting together an implementation of the CQRS pattern

Reducers question

2015-02-09 Thread Aaron Cohen
@4b2ae664 I don't actually understand how this is possible from reading the source code. --Aaron -- 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

Possible additions to tools.trace

2015-02-03 Thread Aaron France
Hi all, I've proposed some changed to tools.trace and created an initial implementation (linked in the JIRA ticket). http://dev.clojure.org/jira/browse/TTRACE-10 Thanks, Aaron -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Re: Possible additions to tools.trace

2015-02-03 Thread Aaron France
Hi, Roger! Aaron On Tuesday, 3 February 2015 16:25:23 UTC+1, Luc wrote: Hi, Got your ticket notification, it's a busy week, beeing on the road most of it. I will look at it by next Sunday after crossing the Atlantic :) Luc P. Hi all, I've proposed some changed

Re: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-22 Thread Aaron Cohen
require some investigative work to see if it breaks anything. --Aaron On Thu, Jan 22, 2015 at 1:23 PM, Adam Clements adam.cleme...@gmail.com wrote: Just to follow up, doing the obvious (though perhaps naïve) fix of changing forName to forNameNonLoading in the referenced maybeClass does seem to fix

[ANN] freactive.core - generalized reactive atom, cursor and expression library

2015-01-14 Thread Aaron Craelius
I have separated the code for reactive atoms, cursors and expressions from freactive (https://github.com/aaronc/freactive) into a separate freactive.core library: https://github.com/aaronc/freactive.core. The code for these data structures has evolved significantly since I released freactive,

[ANN] fx-clj - Clojure library for JavaFX that supports reactive programming

2015-01-14 Thread Aaron Craelius
Finally, an official release of fx-clj, my Clojure library for JavaFX: https://github.com/aaronc/fx-clj. I've been using it for quite a number of months now and most of the core functionality is pretty stable. This library works with my freactive.core ( https://github.com/aaronc/freactive.core)

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

2014-12-20 Thread Aaron Craelius
, the element won't actually go away. This gives the user considerable power to screw things up (by not calling the callback) but I think it is useful to allow this so that people can apply fade transitions. On Sat, Dec 20, 2014 at 3:18 PM, Leon Grapenthin grapenthinl...@gmail.com wrote: Hi Aaron, I am

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

2014-12-17 Thread Aaron Craelius
I've just posted gists about the items-view and observable collections proposed for freactive. In case anyone is interested in discussing please comment on the gists themselves. observable collections: https://gist.github.com/aaronc/0654151190b9145dd473 items-view:

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

2014-12-01 Thread Aaron Craelius
03:20:29 UTC+1 schrieb Aaron Craelius: freactive (pronounced f reactive for functional reactive) is a new high performance, pure Clojurescript, declarative DOM library: https://github.com/aaronc/freactive It has a syntax very similar to that of Reagent and was in fact inspired by Reagent

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

2014-11-27 Thread Aaron Craelius
So, you've made a good observation about the spec - it doesn't proscribe any convention for dealing with sequences of items. The reason for this is pretty much that the DOM is the only modern UI framework that I've worked with that doesn't include something like an items view. So, I understand

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

2014-11-26 Thread Aaron Craelius
On Monday, November 24, 2014 3:49:22 PM UTC-5, Andrew Rosa wrote: 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. Okay - that's something that would be platform-specific. It's still being

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

2014-11-24 Thread Aaron
abstraction in advance and then implement it carefully. At the moment I can't say if my problems with using freactive are problems of implementation or spec. Need more time to play with. понедельник, 24 ноября 2014 г., 6:45:12 UTC+3 пользователь Aaron написал: Glad to see all the enthusiasm

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

2014-11-23 Thread Aaron Craelius
Fresco isn't bad. I think it's better than freactive at least. Seems to be relatively popular for a name, but no big projects: https://github.com/search?o=descp=1q=frescos=starstype=Repositoriesutf8=✓ On Sun, Nov 23, 2014 at 3:05 AM, Olli Piepponen kot...@gmail.com wrote: If you are open to

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

2014-11-23 Thread Aaron Craelius
- Containing compounds of only a single chirality  Fullerene - Bucky-Balls, they're just cool Recycle - 'Save the trees', and also 'recycle streams' from chemical engineering.  On Sun, Nov 23, 2014 at 12:37 PM, Aaron Craelius aaronc...@gmail.com wrote: Fresco isn't bad. I think it's

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

2014-11-22 Thread Aaron
Regarding diffing - in terms of rerendering whole subtrees every time reactive will not perform as well as react even if diffing is implemented - it is not designed that way. I should probably correct this - I think i was a bit tired when I wrote it and not as impressed with diffing

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

2014-11-22 Thread Aaron
Also, after discussions with several people at Clojure/conj, I see that it is necessary to provide some more documentation about how the bindings (components) and data structures in this library work differently from existing solutions (especially React) and what the overall vision is. Here

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

2014-11-20 Thread Aaron Craelius
different diffing behavior ? I know it's in the cards, but how is the performance difference now while only needing to rerender parts of the dom ? On Monday, November 17, 2014 10:03:08 PM UTC+1, Aaron wrote: On Monday, November 17, 2014 2:42:38 PM UTC-5, Aaron wrote: On Monday, November 17, 2014

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

2014-11-17 Thread Aaron Craelius
Do I correctly understand, that freactive does not care about tag names, and I can use any ones (potentially injecting polymer or smth like pieces)?  Yes! It tries to work with pure DOM nodes wherever possible. In freactive, Clojurescript vectors are virtual DOM - so the hiccup vectors are

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

2014-11-17 Thread Aaron Craelius
On Monday, November 17, 2014 9:19:29 AM UTC-5, Max Gonzih wrote: Wow! Amazing! I see some ClojureCLR code in this repository, but from brief look it's not clear why is it there. Are you also experimenting on CLR support? Yes, I'm not sure if it's in a working state right now, but I was

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

2014-11-17 Thread Aaron Craelius
On Monday, November 17, 2014 12:02:32 PM UTC-5, Diogo Almeida wrote: This is really cool (especially if what Ruslan said is the case). What would the best practice be for stateful effects? Do you have any plans of adding the equivalent of React's lifecycle methods? So I plan to write more

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

2014-11-17 Thread Aaron Craelius
On Monday, November 17, 2014 2:32:18 PM UTC-5, Shaun LeBron wrote: How does it perform its dom-diffing? So, it does not actually do diffing. It is very close to being able to, but if this is added it will be sort of an extra optimization as opposed to a core algorithm. Instead of diffing,

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

2014-11-17 Thread Aaron Craelius
On Monday, November 17, 2014 2:27:17 PM UTC-5, Ruslan Prokopchuk wrote: I've played a little bit with freactive today, and investigated this idea with using polymer components — it works! I'm unsure of right usage of rx, especially on conditional rendering — (rx (if @state ... does

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

2014-11-17 Thread Aaron
On Monday, November 17, 2014 2:42:38 PM UTC-5, Aaron wrote: On Monday, November 17, 2014 2:27:17 PM UTC-5, Ruslan Prokopchuk wrote: I've played a little bit with freactive today, and investigated this idea with using polymer components — it works! I'm unsure of right usage of rx

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

2014-11-16 Thread Aaron Craelius
freactive (pronounced f reactive for functional reactive) is a new high performance, pure Clojurescript, declarative DOM library: https://github.com/aaronc/freactive It has a syntax very similar to that of Reagent and was in fact inspired by Reagent, Om, and others. I came up with it when I was

Re: Clojure CLR Experiences

2014-11-11 Thread Aaron
Hi Adrian, I'll share some of my experiences. * Is Clojure CLR production ready? Yes, I have been using it in production for about 2 years now. * Do its version numbers correspond to the core Clojure version numbers? (would it be fair to say the Java version is the core version) It's fair to

Re: [jobs] for newbie in europe

2014-07-21 Thread Aaron France
:35:19 PM UTC+2, Aaron France wrote: Where are you based? On Sun, Jul 20, 2014 at 4:29 PM, Krzysztof Władyka krzy...@wladyka.eu wrote: Hello, I am living in Poland and i have a little problem there... totally 0 jobs for Clojure Programmers. I am also beginner in Clojure. More about my

Re: [jobs] for newbie in europe

2014-07-20 Thread Aaron France
Where are you based? On Sun, Jul 20, 2014 at 4:29 PM, Krzysztof Władyka krzysz...@wladyka.eu wrote: Hello, I am living in Poland and i have a little problem there... totally 0 jobs for Clojure Programmers. I am also beginner in Clojure. More about my IT skills you can read on site

Re: Clojure on iOS devices - Swift as a host?

2014-06-04 Thread Aaron France
@Timothy, you mention speed a lot, but I'm not sure where in the OP it mentioned wanting to do this for speed at all. I think the intention is to be able to Clojure on a different platform, is all. On Wed, Jun 4, 2014 at 4:58 PM, Mike Fikes mikefi...@me.com wrote: I have been experimenting

Re: [ANN] ring-auth middleware for protecting sessions

2014-05-19 Thread Aaron Bedra
to take this off list and start a more productive discussion on how with a smaller group if there's interest. - Aaron On 18 May 2014 14:06, Brendan Younger brendan.youn...@gmail.com mailto:brendan.youn...@gmail.com wrote: On Saturday, May 17, 2014 9:03:01 PM UTC-4, James Reeves wrote

Re: [ANN] ring-auth middleware for protecting sessions

2014-05-19 Thread Aaron Bedra
to take this off list and start a more productive discussion on how with a smaller group if there's interest. - Aaron On 18 May 2014 14:06, Brendan Younger brendan.youn...@gmail.com mailto:brendan.youn...@gmail.com wrote: On Saturday, May 17, 2014 9:03:01 PM UTC-4, James Reeves wrote

Re: Loading native libs from Clojure

2014-05-13 Thread Aaron Cohen
...) instead of (java.lang.System/loadLibrary ...) --Aaron On Tue, May 13, 2014 at 3:00 PM, Gary Verhaegen gary.verhae...@gmail.comwrote: Hi everyone, I have recently been working on something [0] that required (consisted mainly of, really) loading native dlls. I have encountered a surprising

Re: Why can I not parse the command line arguments in this way

2014-04-22 Thread Aaron France
One hates to be rude but: I've read all your questions over the past couple of weeks and it seems it would behoove you to pick up a book. There are plenty of recommendations on Google and archived threads. Good day. On 22 Apr 2014 16:48, Cecil Westerhof cldwester...@gmail.com wrote: Obvious

Re: Meta-eX - The Music of Code

2014-04-11 Thread Samuel Aaron
On 10 Apr 2014, at 03:18, Earl Jenkins ejenkins...@gmail.com wrote: Good stuff, all the hard work you've done in the field of live coding, yet no mention of Meta-ex nor clojure in the Computer Music Journal which has a whole issue dedicated to this subject ;( To be honest, Overtone was

Re: Meta-eX - The Music of Code

2014-04-09 Thread Samuel Aaron
For those that enjoyed the interview and are interested in how we sound this month, we just pushed out a new track, lovingly live coded in Clojure: https://soundcloud.com/meta-ex/spiked-with-recursive-dreams Sam --- http://sam.aaron.name On 2 Apr 2014, at 21:33, Samuel Aaron samaa

Meta-eX - The Music of Code

2014-04-02 Thread Samuel Aaron
Howdy there Clojuristaritorians! For those of you that enjoy seeing applications of code in none-business contexts, you might be excited to see Clojure being mentioned in Imperica - a Digital Arts Culture Magazine: http://www.imperica.com/en/in-conversation-with/meta-ex-the-music-of-code

Re: probably a noobie question: apparent memory leak

2014-03-29 Thread Aaron Cohen
On Sat, Mar 29, 2014 at 10:09 AM, Ryan Waters ryan.or...@gmail.com wrote: I have some code that blows up the heap and I'm not sure why. I've reduced it down to the following. I've tried to make sure the atom doesn't have boundless growth and I didn't think 'while' hangs on to the head of

Re: dependencies from github

2014-03-27 Thread Aaron Cohen
versions, so it's not really possible for that artifact to change out from under you. That's the whole point of the maven/lein repeatable builds philosophy. --Aaron On Thu, Mar 27, 2014 at 5:16 AM, t x txrev...@gmail.com wrote: Hi, ## Context: * I'm using lein. * In my project.clj, I

Re: [ANN] Clojure 1.6

2014-03-25 Thread Aaron Cohen
was just reverted because of the performance impact. --Aaron -- 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

Re: Kibit output

2014-03-19 Thread Aaron France
`lein kibit file` On Wed, Mar 19, 2014 at 03:26:17AM -0700, Tim Terry wrote: Hi, is it possible to output kibit code analysis results into a file? My aim is to publish this file with a CI tool such as teamcity/ jenkins. Thanks, Tim -- You received this message because

Lapse - a JSON property test generator

2014-03-04 Thread Aaron France
using it in a professional setting so I should hope it will continue to grow. The README hopefully has everything you would need to start on this application. Thanks, Aaron pgpZhJMjfgmoR.pgp Description: PGP signature

Re: Why do I have to register an ImageReader?

2014-02-27 Thread Aaron Cohen
On Thu, Feb 27, 2014 at 3:44 PM, larry google groups lawrencecloj...@gmail.com wrote: I tried this too: (ns tma-make-thumbnails.make-images (:import (java.util UUID) (javax.imageio ImageIO) (java.awt.image BufferedImage) (javax.imageio ImageReader)) (defn

Re: Why do I have to register an ImageReader?

2014-02-27 Thread Aaron Cohen
, February 27, 2014 3:52:09 PM UTC-5, Aaron Cohen wrote: On Thu, Feb 27, 2014 at 3:44 PM, larry google groups lawrenc...@gmail.com wrote: I tried this too: (ns tma-make-thumbnails.make-images (:import (java.util UUID) (javax.imageio ImageIO) (java.awt.image BufferedImage

Re: Why do I have to register an ImageReader?

2014-02-27 Thread Aaron Cohen
groups wrote: Ah, I see what happened. There was a Microsoft Word document in my folder of images. It was causing the problems. I had no error handling for non-images. On Thursday, February 27, 2014 3:52:09 PM UTC-5, Aaron Cohen wrote: On Thu, Feb 27, 2014 at 3:44 PM, larry google groups

Re: Is there a function to determine if code is run as script or library ?

2014-02-26 Thread Aaron France
Hi, You can implement https://github.com/clojure-cookbook/my-daemon for your application. I've had great success with this. Aaron On Wed, Feb 26, 2014 at 01:50:43AM -0800, macdevign mac wrote: Hi, is there a function to determine if the clojure code is running as library

Re: How would I write it with concurrency

2014-02-10 Thread Aaron France
Hi, Ignoring your question for a second to recommend using simple-check[0] to generate test data. [0] https://github.com/reiddraper/simple-check Aaron On Mon, Feb 10, 2014 at 08:46:59PM +0200, Haim Ashkenazi wrote: Hi I have a simple code that generates a list of maps: (defn test-data

Using Apache Daemon with Clojure

2014-02-09 Thread Aaron France
, when it tries to run, it complains with: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader Yet I am following their instructions *to the letter*. Any ideas guys/gals? Aaron [1] http://www.rkn.io/2014/02/06/clojure-cookbook-daemons/ [2] https://github.com/clojure-cookbook

Re: Coverage tools in Clojure

2014-02-04 Thread Aaron France
caused which branches to be hit, it also gives you notice if there are any logical errors in your code which cause the branches to not be hit. Aaron On Tue, Feb 04, 2014 at 03:19:05AM -0800, Colin Yates wrote: I don't know. But maybe the lack of coverage tools is itself interesting? My (not quite

Re: Coverage tools in Clojure

2014-02-04 Thread Aaron France
On Tue, Feb 04, 2014 at 04:18:30AM -0800, Colin Yates wrote: Comments in line. On Tuesday, 4 February 2014 11:23:36 UTC, Aaron France wrote: I don't want to seem rude but I think you've drank a bit too much kool-aid. You know the phrase I don't want to seem rude doesn't actually do

Re: Coverage tools in Clojure

2014-02-04 Thread Aaron France
I don't come from 'Java-land'. I'm primarily an Erlang developer, which already is a very similar language to Clojure. Perhaps this is why I'm not gushing about functional programming's panacea? Aaron On Tue, Feb 04, 2014 at 06:12:18AM -0800, Colin Yates wrote: This has turned

  1   2   3   4   5   6   7   >