A new version of https://github.com/mixradio/clafka has been released.
clafka is a library providing an idiomatic clojure api for kafka's
SimpleConsumer and KafkaProducer. It is intended to be used as the basis
for consumers whose needs are not met by the
zookeeper consumer that is included wit
Note that IntelliJ will actually do Python and Clojure in the same (free,
OSS) IDE if you only need the community edition of Python, i.e. you don't
need support for frameworks like Django or the web stuff.
If you do need the Ultimate edition of IntelliJ, you can get free licences
for open source a
Hi Georgi,
Have you seen this thread?
https://groups.google.com/forum/#!topic/clojure/0hKOFQXAwRc
Shantanu
On Wednesday, 5 August 2015 17:28:42 UTC+5:30, Georgi Danov wrote:
>
> Hi,
> I have had good 6 months of fun with Clojure and have big appreciation
> for it's way of doing things. Coming
Hi all,
I opened this issue on github project prevayler-clj
https://github.com/klauswuestefeld/prevayler-clj/issues/1
because 1M short vectors, like this [:a1 1], forming the state of the
prevayler, results in 1GB file size when serialized, one by one, with Java
writeObject.
Is it possible? Ab
Hi Everyone,
I'm taking part in an effort to introduce REPL-Driven Development at my
shop. The shop has historically been based in PHP/Python/javascript and
similar languages and most devs there have their workflows formed by that
technology.
I'm used to using a REPL or REPL-connected editor t
No. ClojureScript's macro system isn't going to change.
See
https://github.com/clojure/clojurescript/wiki/Bootstrapped-ClojureScript-FAQ
.
David
On Thu, Aug 6, 2015 at 11:27 PM, Matthew Molloy wrote:
> Hi David,
>
> Are macros supported directly within clojurescript then? I'm having some
> tr
You should probably look at Clojure-specific solutions, starting with EDN
(i.e. essentially pr-str), fressian, transit or nippy.
Clojure data structures have a lot of properties that can be exploited (we
only care about the abstract type and the actual data), so a serializer can
make a lot of assu
Sorry for steering the discussion away from tooling, but have tou looked at
Racket and the research in teaching programming that's been going on around
it for the past ~20 years?
One of their findings was that beginning with functional programming (1
semester FP followed by 1 semester OOP) yielded
Alex,
+1
Glad to hear you're going to get a new core.async out. That's huge. In
particular the old tools.analyzer.jvm dependency seems to be causing lots
of problems using core.async in bigger projects that use other macro
powered libraries.
Cheers,
Sean
On Thursday, August 6, 2015 at 7:43:
I am new to Clojure which I am evaluating using Clojure for a Java 8 based
framework with code in clojure, java and possibly other jvm based languages
that all need to interoperate.
Clojure has many smart features which I like but there is at least one
drawback. I could be wrong (?) but it appe
The plan for Clojure 1.8 is to retain Java 1.6 support. After that, it is
something we will continue evaluating.
It is possible in some cases to provide jdk-specific features as is done with
the fork/join library and a few other things. If you have a specific
enhancement request, feel free to f
Yes. I suggested nippy. The question is about the size of Java serialized
Clojure data structures. Can a two element vector be 1kB in size? Why
serialization in my REPL experiment (see the code following the link in my
previous mail) produces a 80MB byte buffer while prevayler logs are 1GB?
Il
Hi all,
I noticed this behaviour that I was not expecting:
simo@simo:~$ lein repl
nREPL server started on port 42010 on host 127.0.0.1 -
nrepl://127.0.0.1:42010
REPL-y 0.3.5, nREPL 0.2.6
Clojure 1.6.0
OpenJDK 64-Bit Server VM 1.7.0_79-b14
Docs: (doc function-name-here)
(find-doc "p
Hi Simone,
The stack overflow here is caused by the REPL trying to print a circular
reference. `swap!` always returns the new value of the Atom, and the REPL
tries to print it.
If you don't print the Atom, this self-reference can still work:
user=> (def a (atom {}))
#'user/a
user=> (do (swap!
Thank you :)
Extremely clear !
On Friday, August 7, 2015 at 3:48:14 PM UTC+2, Stuart Sierra wrote:
>
> Hi Simone,
>
> The stack overflow here is caused by the REPL trying to print a circular
> reference. `swap!` always returns the new value of the Atom, and the REPL
> tries to print it.
>
> If
On Fri, Aug 7, 2015 at 5:02 AM, Gary Verhaegen
wrote:
> Sorry for steering the discussion away from tooling, but have tou looked
> at Racket and the research in teaching programming that's been going on
> around it for the past ~20 years?
>
> One of their findings was that beginning with function
On Fri, Aug 7, 2015 at 7:29 AM, kirby urner wrote:
>
> So in my Python for kid-newcomers, my back end has been
>
> (A) for 2D: POV-Ray, the free ray tracer (povray.org, CompuServ
> license) and
> (B) for 3D: a lot of Visual Python (vpython.org) -- once it came down
> the pike, with VRML befor
Java 6 can be thought of as the minimum version of the JVM that Clojure
supports.
Regarding NIO2, it's worth pointing out that Clojure itself only has
minimal wrapping around blocking streams, and nothing for NIO1. Using Java
APIs directly in Clojure is not uncommon.
Incidentally, java.lang.AutoC
New and noteworthy:
1. GPU engine now available (OpenCL 2.0 required, works superfast on AMD
Radeons and FirePros)
2. Support for pluggable engines and datastructures (so pure Java engine
would be relatively easy to add)
*** New, very detailed tutorials with benchmarks available ** Discuss
at h
This fact has become hugely important for me, as it allowed me to host my
Clojure-based lighting control system inside Cycling ’74’s Max visual
data-flow environment for music, synthesis and video. Their Java
integration on the Mac currently requires the use of the legacy Apple VM,
which is Jav
Sorry, what I meant was can bootstrapped ClojureScript do (:require-macros ...)
without the JVM. Perhaps you can clarify that FAQ to say that.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.
As part of my PhD research on code authorship, we calculated the Truck
Factor (TF) of some popular GitHub repositories.
As you probably know, the Truck (or Bus) Factor designates the minimal
number of developers that have to be hit by a truck (or quit) before a
project is incapacitated. In our
Hi Guilherme,
As the language creator and owner, Rich is obviously a critical part of the
team that directs and maintains Clojure and if he was no longer involved
there would be a significant impact. That said, Clojure is backed by a
company (Cognitect) and a community of 10k's of developers an
Is there a new release planned for core.async anytime in the near future?
The docs show some functionality that's not in the current release [1].
Specifically offer! [2] which looks like it's slated for 0.1.0 (love to
switch to that from alts+timeout).
Are there (perhaps) tasks that need a dev? (
A future fails when it throws an exception. How to do that with a future?
It looks like (fail future exception) does not do the
trick: http://dev.clojure.org/display/design/Promises
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this gro
Futures automatically capture exceptions raised in their bodies and reraise
them when the future is derefed. Promises also throw exceptions when
derefed.
Unlike promises, futures are created with the code that delivers their
value, so calling fail and deliver explicitly on a future makes no sen
Sorry, I meant to ask how to fail with a promise? It seems that there is no
fail method.
On Friday, August 7, 2015 at 4:52:47 PM UTC-4, Francis Avila wrote:
>
> Futures automatically capture exceptions raised in their bodies and
> reraise them when the future is derefed. Promises also throw exce
I don't where the 0.1.0 number is coming from, but yes there are plans to
do a round of work on core.async and release in the near future.
On Friday, August 7, 2015 at 1:16:19 PM UTC-5, Kyle Burton wrote:
>
> Is there a new release planned for core.async anytime in the near future?
>
> The docs s
Huh, I was sure I had done this before, but I misremembered, I was using my
own promise that rethrew Throwable instances on deref (and it was in
clojurescript!)
Clojure promises have no notion of failure, only realized/not-realized. You
need to deliver a sentinel type or value and check for it
Still a newbie here, about to release my first Clojure project. But that
clojure blob will take some digging on my part. I use a gummed up
dereference function that checks for Throwable in the meantime.
My goal right now is to become a Dtomic freelancer. So much to learn! Which
is why I'm doin
The version in the project.clj file is 0.1.0-SNAPSHOT, that'll probably be
it.
On Sat, 8 Aug 2015 at 9:12 AM Alex Miller wrote:
> I don't where the 0.1.0 number is coming from, but yes there are plans to
> do a round of work on core.async and release in the near future.
>
>
> On Friday, August 7,
You must be doing something wrong, or describing your method badly, because
the vector [:a1 1] doesn't take nearly that much space in my experiments.
The first object you write to a stream requires quite a bit of overhead,
but after that future objects are relatively cheap. Here's an example you
Clojure contrib projects are built via pom.xml so that’s where you should look
for version information.
The project.clj file is a convenience for the developers/maintainers and has
nothing to do with the actual project version (although some
developers/maintainers try to keep their project.clj
Has anyone found a good way to automatically keep project.clj in sync with
the official pom.xml? Maybe using the clojure-maven-plugin or similar?
I do this too for a number of libraries, but it's always a manual task and
prone to error at present
On Saturday, 8 August 2015 07:45:41 UTC+8, S
34 matches
Mail list logo