This is a me too.
I've found this seemingly related
https://github.com/clojure-emacs/cider/issues/367
This appears to be a cider problem more than a clojure issue, perhaps
directing this inquiry there would be more beneficial?
Anyway, my fix is to ignore it - it seems that my repl works fine
Very clever!
On Fri, Jan 10, 2014 at 8:10 PM, Håkan Råberg hakan.rab...@gmail.comwrote:
Another style, using channels for local state, but could been plain old
iterators, slight golf warning:
(require '[clojure.core.async :refer [to-chan !!]])
(defn uniquify [s formatter]
(let [g
I've been finding uses for Brandon Bloom's transduce mini-library left and
right lately. There is a class of problems where you want to track some
state as you process a seq, and transduce.lazy/map-state enables you to do
that (https://github.com/brandonbloom/transduce).
Here's my solution using
SunItLabs provides the best Software’s training for various Computer IT
courses through Webex, Gotomeeting. We are providing Hadoop Training based
on specific needs of the learners especially we will give innovative one to
one Classes which has great opportunities in the present IT market. We
HI everyone, I am new to Clojure in terms of practice. I like the
philosophy of Clojure and I want to start using it.
I need to build a simple model: button and indicator (progress bar).
Button interacts with indicator. That's it.
When the button is pressed - indicator fills,
when the button is
Andy and Nicola has done truly amazing work with this release! Check out
the graph describing issues created/solved for tools.analyzer(.jvm) during
the last 60 days:
Hi!
Just looked at the eastwood lint today, awesome project. It reminded me of
another clojure plugin which analyzes your code and tells you how it could
be written more idiomaticly. I can't remember the name of this plugin, does
anyone know?
--
--
You received this message because you are
Congrats!
FWIW I won't be porting core.typed while tools.analyzer is still in alpha
but I'll definitely be pointing people your way.
Thanks,
Ambrose
On Sat, Jan 11, 2014 at 9:23 AM, Nicola Mometto brobro...@gmail.com wrote:
Today I released the first version of the tools.analyzer[1] and
Kibit https://github.com/jonase/kibit ~BG
On Sat, Jan 11, 2014 at 7:39 PM, Robin Heggelund Hansen
skinney...@gmail.com wrote:
Hi!
Just looked at the eastwood lint today, awesome project. It reminded me of
another clojure plugin which analyzes your code and tells you how it could
be written
Thanks for the report - your are probably right re the attribution; I'll
make a comment on the cider issue list.
Thanks,
-mark
On Saturday, 11 January 2014 08:11:33 UTC, Pink Bobsledder wrote:
This is a me too.
I've found this seemingly related
Great! Thanks :)
kl. 15:25:21 UTC+1 lørdag 11. januar 2014 skrev Baishampayan Ghose følgende:
Kibit https://github.com/jonase/kibit ~BG
On Sat, Jan 11, 2014 at 7:39 PM, Robin Heggelund Hansen
skinn...@gmail.com javascript: wrote:
Hi!
Just looked at the eastwood lint today, awesome
Hi Dan,
This seems like a really smart approach to me. I've been playing with a
number of ways of structuring a large Cljs application recently - and the
way Cloact cooperates with atom derefs is pretty inspired. It's flexible,
it's fast, it's natural - and it makes transition from a non-React
On Sat, January 11, 2014 9:22 pm, Alex Baranosky wrote:
There is a class of problems where you want to track some state as you
process a seq
This is an interesting exercise. I find said class of problem comes up
fairly frequently and I usually end up with something scary-looking using
reduce or
This is really nice!
I just added it to my lein profile so I can use it to test my software. I
was testing it and I got this output:
WARNING (Dynalint id 1): clojure.core/dissoc first argument should be a
map: nil
WARNING (Dynalint id 2): clojure.core/select-keys first argument should be
a
Hey Ambrose, looks great. I tried to the leiningen plugin's test command
and ended up with a bunch of messages like this:
WARNING (Dynalint id 146): clojure.set/union should have set arguments: nil
but with no way to link this back to my code. Any ideas?
Ambrose Bonnaire-Sergeant
Hi Ambrose,
This looks great! I'll give it a try.
Eric
http://lispcast.com
On Saturday, January 11, 2014 8:46:40 AM UTC-6, Ambrose Bonnaire-Sergeant
wrote:
Hi,
For those who like analysing their programs I present Dynalint, a
simplistic linter. It's essentially a bunch of manually
Thanks a lot Peter!
Btw, there is already code that comes from Reflex in Cloact (even if it is
mangled quite a bit by now). Very undocumented, and probably a very poor api,
though... See ratom.clj/.cljs. There is for example a run! macro that will
execute its body every time a deref'ed atom is
Two hints:
http://clojure.org/java_interop
http://docs.oracle.com/javase/7/docs/api/javax/swing/package-summary.html
On Sat, Jan 11, 2014 at 2:45 AM, Mark Johns m3nt...@gmail.com wrote:
HI everyone, I am new to Clojure in terms of practice. I like the
philosophy of Clojure and I want to
Yes, there will be two concurrent tracks during most of the conference,
separated by either topic or level. We also expect to record talks and
release videos following the conference.
Alex
On Friday, January 10, 2014 7:15:21 PM UTC-6, Logan Linn wrote:
This was great news to hear. Looking
Hi,
I have a clojure.core.async.chan
Is there a way to figure out the # of elements currently queued on the
channel? (preferably in O(1) time)
I don't want to actually take any item off the channel, I just want a
progress bar, something like there are 20 transactions ahead of you in
life
Quite another thing is if it is a good idea to do that :-) If possible, I'd
say it is better to keep state that belongs together in a single atom.
Am looking at this from a performance point of view. You're marking components
as dirty when there's any change in an atom being deref'ed by the
Sorry, I mixed up. I meant the second book to be 'Clojure in Action' :
http://manning.com/rathore/
On Fri, Jan 10, 2014 at 4:26 PM, Sean Corfield s...@corfield.org wrote:
On Jan 10, 2014, at 11:26 AM, Guru Devanla grd...@gmail.com wrote:
Another good book I thought you could get through
On 11 jan 2014, at 18:51, Peter Taoussanis ptaoussa...@gmail.com wrote:
Am looking at this from a performance point of view. You're marking
components as dirty when there's any change in an atom being deref'ed by the
component, right?
But I'm guessing it's quite common for a component to
A Clojure Swing wrapper (and more!): https://github.com/daveray/seesaw
On Jan 11, 2014, at 4:45, Mark Johns m3nt...@gmail.com wrote:
HI everyone, I am new to Clojure in terms of practice. I like the philosophy
of Clojure and I want to start using it.
I need to build a simple model:
But it would probably be better to just pass (:relevant-submap @my-atom) to a
sub-component. The subcomponent will only be re-rendered when its arguments
(i.e the params map and possible children) changes.
Ahh, gotcha. Of course, thank you!
Also, React is fast enough that a few
Hi,
Consider this function:
(defn try-put! [chan msg]
(not (= (alts! [chan msg]
:default :chan-full)
:chan-full)))
Now, I understand that:
* go blocks involve deep macro walking / rewriting
* thus, I can't call this function inside of a go block
My
Monger [1] is a MongoDB Clojure driver for a more civilized age.
Release notes:
http://blog.clojurewerkz.org/blog/2014/01/11/monger-1-dot-7-0-is-released/
1. http://clojuremongodb.info
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
--
--
You received this message
Validateur [1] is a data validation library.
1.7.0 introduces support for ClojureScript.
Release notes:
http://blog.clojurewerkz.org/blog/2014/01/11/validateur-1-dot-7-0-is-released/
1. http://clojurevalidations.info
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
--
On Jan 11, 2014, at 10:05 AM, Guru Devanla grd...@gmail.com wrote:
Sorry, I mixed up. I meant the second book to be 'Clojure in Action' :
http://manning.com/rathore/
That book was already outdated when it was released (and many of the examples
won't work properly now).
There's a second
Sure that could be the case. But I found the coverage interesting and quite
different from the other books. There was also some good tips for using
Clojure in the real world. That said, may be its still worth a wait for
next version.
Thanks
Guru
On Sat, Jan 11, 2014 at 1:51 PM, Sean Corfield
I'm just playing around with tool kits to retrieve and parse html from web
pages and files that I already have on disk (such as JDK API documentation).
Based on too little time, it looks like [http-kit 2.1.16] will retrieve
but not parse html, and [enlive 1.1.5] will retrieve AND parse html.
I was using net.cgrand.enlive-html/html-resource and org.httpkit.client/get
for the page retrievals.
On Saturday, January 11, 2014 6:24:48 PM UTC-5, Dave Tenny wrote:
I'm just playing around with tool kits to retrieve and parse html from web
pages and files that I already have on disk (such
Java has HTTP retrieval built in. Clojure's core functions can use file or
http URLs:
user (slurp http://google.com;)
user (slurp file:///etc/passwd)
Parsing HTML on the other hand is a question of not just science but also
art. Doesn't enlive use Tag Soup?
--
--
You received this
To echo the Swing suggestion -
Try the Seesaw REPL experiment! I think this is it:
https://gist.github.com/daveray/1441520
--
--
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
I don't recommend using java's built in HTTP retrieval (by passing
java.net.URL object to enlive html-resource function).
Not only is it significantly slower then using clj-http (which uses
apache-http client under the hood), but it's also unreliable
when issuing more parallel requests.
Current
Any API that lets you peek at the state of a channel is a surefire source
of race conditions. So no, public API-wise, there isn't any way to do what
you want. In theory, you can peek at the internals using reflection to get
that information, but don't do that!
Instead, you can simply *count*
I have a another stupid question:
How is this a race-condition / a source of problem given that:
* all I want to do is to read, I'm not writing / modifying
In particular, the sole goal of this read is to show a counter saying
there are XYZ people ahead of you in line.
It seems that to
In response to this thread, I've hacked lein-cljsbuild to dump the compiler
state, and built a version of autodoc to parse it and generate api docs.
I'm trying to figure out how exactly cider and austin will talk to each
other so I can make it happen, and I approach that I'm considering now is
to
How did you start the Emacs Cider REPL?
--
--
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
39 matches
Mail list logo