t, what kind of adaptation would it take to port
Clojure?
Thanks,
Robin
--~--~-~--~~~---~--~~
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
To unsubscr
t can you foresee any corner cases
where Clojure's use of ASM might be considered 'unsafe' by Google?
Thanks,
Robin
On Jan 29, 9:33 am, Rich Hickey wrote:
> On Jan 27, 2:44 pm, Robin wrote:
>
> > Under a huge assumption that Google will soon announce a 'Java
> &g
Google will officially announce Java support for AppEngine at the end
of May at Google IO: http://ru.ly/T6 Clojure web apps will have
access to BigTable and be able to auto-scale based on load. Clojure
in the cloud!
Robin
On Feb 2, 2:35 pm, Mark Derricutt wrote:
> I wonder if
Tonight Google officially announced JVM support for AppEngine: http://ru.ly/Z2
JRuby on Rails is working and Clojure/Compojure works too: http://ru.ly/74
Unfortunately threading is restricted on GAE/J.
Robin
On Mar 27, 9:44 am, Robin B wrote:
> Google will officially announce Java support
Can anyone help me solving this problem in clojure 1196 - Ring of Primes
http://coj.uci.cu/24h/problem.xhtml?abb=1196
--
--
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 fr
I asked this question as a leiningen issue on github a week or so a
go. Technomancy kindly referred me to the spawn plugin for leiningen.
https://github.com/levand/spawn
I haven't tried it though.
Robin
On 15 mei, 19:03, David Cabana wrote:
> There are dev dependencies (Marginali
Awesome! I'm seeing some inconsistency though. Does anyone know why a
Bayesian classifier would produce such different results? Could it be
because of the short input text?
(lang/detect "My name is joe")
["af" {"af" "0.8571390166207665", "lt" "0.14285675907555712"}]
(lang/detect "My name is joe")
(https://github.com/richhickey/clojure-clr/wiki/Getting-started-binary-distribution)
to note that one extra step is required between downloading and
unzipping if you're running the .Net 4.0 version of Clojure-CLR.
--
Robin Munn
robin.m...@gmail.com
GPG key 0x4543D577
--
You received
Looks cool. Is this somewhat inspired by go format?
lørdag 17. januar 2015 15.02.47 UTC+1 skrev James Reeves følgende:
>
> I've just released cljfmt 0.1.0, a code formatting library and Leiningen
> plugin for Clojure.
>
> https://github.com/weavejester/cljfmt
>
> The library is useful for ensurin
Does there exist a tutorial for how to setup a project using cljs.test? And
some details on how the async testing works?
Thanks!
--
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
>From what I can see, aleph allows me to set a executor to handle client
requests. I'm already using core.async pretty heavily. Is there any reason
why I shouldn't pass core.async's executor to aleph? I see I can also make
every client request start on aleph's dispatch thread. Considering
absol
Thanks! :)
--
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 unsubscribe from this group, send ema
>From the source of core.async, I see that it is started with a threadpool
of *2 + 42.
I can understand the number of processors * 2 part, erlang does the same
thing. But Hitchicker's references aside, why add 42 to this? Won't that
many threads do more harm than good, in terms of overhead rela
Ahh ok, makes sense :)
--
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 unsubscribe from this gr
It says analysis caching is enabled when optimizations is :none. Do we have
to enable to explicitly on other optimization levels?
tirsdag 10. mars 2015 00.42.28 UTC+1 skrev David Nolen følgende:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code:
Hmm... In Clojurescript you can do the following
(try
;; throw something
(catch :default e
e))
When I try the same thing in Clojure, it seems to not be supported. Is
there any plans to support this syntax in Clojure 1.7?
--
You received this message because you are subscribed to the G
se. :default could probably be aliased
> to Throwable, but in the meantime differences like this are now handleable
> via conditional reading.
>
> David
>
> On Mon, Apr 13, 2015 at 6:37 AM, Robin Heggelund Hansen <
> skinn...@gmail.com > wrote:
>
>> Hmm... In C
Take a look at my project.clj file.
https://github.com/Skinney/oslo-programmene/blob/development/project.clj
fredag 29. mai 2015 11.17.25 UTC+2 skrev Colin Yates følgende:
>
> In the vein of "there are no stupid questions" :), how does one structure
> a combined clj and cljs project that uses re
No, it doesn't. I update with `lein ancient update :all` and committed
without checking if it worked. It's fixed locally :)
fredag 29. mai 2015 12.01.32 UTC+2 skrev Colin Yates følgende:
>
> Thanks Robin, that was helpful. I notice that you are using garden 1.2.6 -
> th
CLJS outputs valid ES3 code, but string.prototype.normalizer is API, and
can be added with a polyfill. That said, I don't really like code that
depends on polyfills to function, so another solution would be preferred,
especially since ES6 isn't that supported yet.
søndag 21. juni 2015 17.23.37
I'm trying to get the smallest uberjar as possible. Currently I have a
bunch of dependencies for compiling server resources (clojurescript,
garden...) that are required at compile-time, but don't have to be in the
uberjar. How can I create an uberjar without bundling these resources?
Thanks!
-
> uberjar does the right thing there or not but seems like it should.
>
> On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen
> wrote:
>>
>> I'm trying to get the smallest uberjar as possible. Currently I have a
>> bunch of dependencies for comp
All suggestions made the dependencies unavailable when running `lein
uberjar` which means the project won't build :/
--
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 ne
Are tuples used for small maps as well?
--
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 unsubscr
Does murmur3 hashing effect performance?
kl. 04:42:39 UTC+2 onsdag 2. juli 2014 skrev David Nolen følgende:
>
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
> README and source code: https://github.com/clojure/clojurescript
>
> New release version: 0.0-2261
>
> Leini
Don't know about SQL-based solutions, but Monger (MongoDB bindings) just
released a 2.0 update and is great!
kl. 14:10:16 UTC+2 tirsdag 22. juli 2014 skrev Jonathon McKitrick følgende:
>
> Development and support seem to have slowed down. Are there newer or
> better choices out there with momen
I was just looking for a OAuth library, this looks great!
kl. 19:15:11 UTC+2 torsdag 24. juli 2014 skrev Mike Thvedt følgende:
>
> Qarth is a simple interface to OAuth. Qarth's goal is to fix the problem
> of Ring/Compojure and/or Friend apps reinventing the wheel for OAuth.
>
> Qarth features ze
Neat
kl. 04:48:20 UTC+2 mandag 28. juli 2014 skrev John Andrews følgende:
>
> Emacs users: I have put together a namespace browser which builds upon the
> existing functionality of Cider. It is in early stages of development but I
> find it quite useful.
>
> Check it out! https://github.com/jxa/
Just read this blog post about Oxen
(http://arrdem.com/2014/08/05/of_oxen,_carts_and_ordering/?utm_source=dlvr.it&utm_medium=twitter).
In it is mentioned that Rich is re-introducing invokeStatic to achieve a
possible 10% performance increase for Clojure 1.7.
I couldn't find any information abo
12:54:32 PM UTC+2, Robin Heggelund Hansen
> wrote:
>>
>> Just read this blog post about Oxen (
>> http://arrdem.com/2014/08/05/of_oxen,_carts_and_ordering/?utm_source=dlvr.it&utm_medium=twitter).
>>
>> In it is mentioned that Rich is re-introducing invokeStatic
.7.0-static"] which can use ^:static annotations for
> a speedup while for development you may use [org.clojure/clojure "1.7.0"]
> which may ignore ^:static in exchange for a better REPL experience as
> Clojure 1.6 and 1.5 do.
>
> Hope this helps,
> Reid
>
>
I just want to check that I understand this. Instead of returning and
manipulating lazy-seqs, you compose functions (sort of like they way you
would in Haskell?) which return reqular seqs (non-lazy).
So I guess the upside is more flexibility, but you get eager-evaluation. Or
am I misunderstandi
Hi.
I'm starting a new project now, where users are presented with a set of
boardgames (chess, checkers, othello...) which they then can play together
online.
Does it make sense to implement the game logic using core.logic, and does
it transfer well to cljs (i'd like to share logic between back
ght be interested in a Java-based general game playing engine which
> you can leverage from Clojure. Many take logical descriptions of the game
> rules in LISP form.
>
> http://www.ggp.org/
>
>
>
> On Sat, Aug 9, 2014 at 3:51 AM, Robin Heggelund Hansen > wrote:
>
>
Ok, thanks for all the answers :)
kl. 15:11:39 UTC+2 mandag 11. august 2014 skrev Moritz Ulrich følgende:
>
> Robin Heggelund Hansen > writes:
>
> Implementing non-trivial game-logic in core.logic or any other
> logic-programming system is likely harder than implementing th
Same here =(
kl. 03:27:50 UTC+2 søndag 24. august 2014 skrev Dave Sann følgende:
>
> Do exclusions apply to plugins?
>
> if I have
>
> :plugins [[com.keminglabs/cljx "0.4.0" :exclusions [org.clojure/clojure]]]
>
> I get
>
> ([com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket
> "0.1.
Any reason this isn't a patch to clojure proper?
kl. 05:09:04 UTC+2 lørdag 4. oktober 2014 skrev Alexander Hudek følgende:
>
> Thanks to the wonderful work of Joel Holdbrooks, fast-zip now has
> ClojureScript support.
> See the benchmarks below. The ClojureScript benchmark only uses simple
> com
I'm in need of a library that is able to create a patch for some Clojure
datastructure, and apply it at a later time. This has to work in both
Clojure and Clojurescript.
The use case is that I'm autosaving a datastructure (through repeatedly
doing ajax calls, could be done over websocket) that
If you look at the issues list, you'll see that I tried it already ;)
kl. 06:51:14 UTC+1 fredag 14. november 2014 skrev Ruslan Prokopchuk
følgende:
>
> May be this one will be helpful https://github.com/timothypratley/patchin
>
> четверг, 13 ноября 2014 г., 11:31:39 UTC+3 п
Thank you for the link. This doesn’t, from what I can tell, work on all Clojure
datastructures, but a JSON-compatible subset.
> 15. nov. 2014 kl. 23.09 skrev Karsten Schmidt :
>
> Hi Robin, I just found a link to this library in the depths of the
> Liberator docs:
>
>
Well, the diff would be arbitrary, and could be applied to any similar
structure.
> 16. nov. 2014 kl. 07.57 skrev Vladimir Bokov :
>
> Hi Robin,
>
> I'm also highly interested in the subject as I'm trying to do essentially the
> same - reduce the client-ser
https://github.com/Skinney/differ
I needed a way to send diffs of data from a cljs web-app to a clj backend,
and I found clojure.data/diff to be a pain to work with, so i created my
own solution. It currently only supports maps (and nested maps...), but
support for lists, vectors and sets is on
iff {:name "Robin", :friends {:school #{"Lars" "Jens" "Erika"}}}) {:name
"Robin", :friends {:home #{"Mom"}, :school #{"Lars"}}})
Should return
[{:friends {:home #{"Mom"}}}
{:friends {:school #{"Jens", "Er
And no, the result shouldn't contain {:sex :female} because the :sex key is
listed in the removals map, so it's correct that it's not included in the
result.
kl. 07:42:30 UTC+1 tirsdag 18. november 2014 skrev Atamert Ölçgen følgende:
>
> Hi Robin,
>
> Thanks fo
https://github.com/Skinney/differ
Differ is a tool for creating and applying diffs on Clojure(script)
datastructures.
Differ now has support for sequential types (vectors, seqs and lists) and
sets.
Unfortunetly, differ can't detect changes in sets :/ Open for suggestions
here.
--
You receive
(def sample ["mytitle1" "2015-02-01"
"mytitle"" "2015-03-12"
"" "2015-03-28"
"mytitle3" "2015-01-12"])
;; Turns the map above into a map, skip this if you already have a map
(def working-set
(-> sample
(partition 2) ;;
If you want to turn the CSV text into a string, you can either find CSV
decoders, or take a look at "split-with"
kl. 11:07:58 UTC+1 fredag 12. desember 2014 skrev Mathias Picker følgende:
>
> Hi all,
>
> a short question from a newbie. I have a data structure like:
>
> "mytitle1"; "2015-02-01"
>
Wow, I made a lot of mistakes.
It should of course reduce into [] (not {}) and then it should be "conj"
instead of "assoc". I also made several spelling mistakes... Should
probably sleep more I guess :P
kl. 11:57:00 UTC+1 fredag 12. desember 2014 skrev Mathias Picker fø
I guess this post is mostly going to be a question, but one that could
shape up to be a long open source project and contribution on my part, if
it is warranted.
The Clojure community has been blessed with good language interoperability
with Java, which has made it easy to use and wrap Java-lib
ly use those and
> use core.async/put! and take! to allow them to operate on core.async
> channels. You often don't need much more than that.
>
> Timothy
>
> On Mon, Jan 5, 2015 at 3:18 PM, Robin Heggelund Hansen > wrote:
>
>> I guess this post is mostly going to b
a huge waste of time. Stuff like Netty
> already works pretty well and can be used from Clojure quite easily.
>
> Just my 2 cents,
> /thomas
>
> On Monday, January 5, 2015 11:18:42 PM UTC+1, Robin Heggelund Hansen wrote:
>>
>> I guess this post is mostly going to be a
So there are no benefits to having core.async being the only threadpool in
the app?
kl. 03:12:15 UTC+1 tirsdag 6. januar 2015 skrev tbc++ følgende:
>
> And if you want async web frameworks, Pedestal supports core.async. You
> just return a channel as a response body and it assumes that you will
Thanks. This was very interesting, especially the part about back pressure.
kl. 18:52:53 UTC+1 onsdag 7. januar 2015 skrev Paul deGrandis følgende:
>
> There was another discussion on this list regarding async IO and web
> servers. It may be rather informative to you:
> https://groups.google.co
The reason lein is initially slow, has to do with Clojures bootstrapping
process, which is slow. People tend to avoid starting clojure programs
repeatedly, and thus do alot of work from the repl, or using leiningen
plugins which keeps running and listens for changes.
Take a look at lein-test-re
Isn't this precisely why you should use namespaced keywords?
tirsdag 14. november 2017 19.43.55 UTC+1 skrev Sean Corfield følgende:
>
> Eric does raise an interesting question tho’:
>
>
>
> If you have an API that cares about ‘a’, ‘b’, and ‘c’ and you later
> specify that ‘d’ is optional and sh
Great stuff! Have been waiting on this :)
--
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 unsubs
Basically, I use stuart sierra's tools.namespace and component libraries to
write an application that can be easily reloaded. So I write my code in
regular files, then i tell the repl to reload my application with the
latest changes from disk. I can also test the application while it's
running,
A low heroku slug size is good for improving startup of heroku
applications. Because of that I've spent some time lately trying to get as
small a slug size as possible. I eventually found a plugin called
lein-heroku, which allows you to just upload a single uberjar file. When
the build system i
t; Are you having problems with boot timeouts, or just trying to optimize?
>
> On Tuesday, October 6, 2015 at 6:54:08 AM UTC-5, Robin Heggelund Hansen
> wrote:
>>
>> A low heroku slug size is good for improving startup of heroku
>> applications. Because of that I
Thanks. I've added an issue now :)
--
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 unsubscribe f
For a component-based workflow, you wouldn't send in the db-spec with the
defqueries. You would do it when calling a query.
(defqueries "somepath")
(defn code [component]
(some-query {:name "Robin", :age 6} {:db (:db-spec component)}))
torsdag 8. oktober 2015 15.
them. defqueries must be storing it somewhere (an
> atom?) but if component already has it than I do not need to give it to
> yesql to hold as well.
>
> Does this all sound right?
>
> Thanks.
>
>
>
>
> On Thursday, October 8, 2015 at 3:48:33 PM UTC-4, Robin Hegge
You can also take a look at patchin or differ (differ is my project) for
this usecase.
torsdag 15. oktober 2015 23.26.01 UTC+2 skrev JvJ følgende:
>
> I just discovered clojure.data/diff, and it's great. However, I'm not
> sure how to recombine the results to get back the original.
>
> For inst
This looks great, seems to solve all the problems I have with YeSQL. Great
work :D
--
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 b
You can now have async communication with your postgres database and HugSQL
over plain core.async channels.
https://github.com/Skinney/hugsql-async
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegr
I have used core.async in production on the backend. Works great, but it
does involve a bit more work, as you need to make sure that all io
(database) and middleware supports core.async. But it works well. There are
postgres.async for async db, and fink-nottle for sending sms/push
notifications
Great work Miller & Team :D
onsdag 28. oktober 2015 22.06.41 UTC+1 skrev Alex Miller følgende:
>
> I am happy to announce a long-overdue core.async release.
>
> Dependency info: [org.clojure/core.async "0.2.371"]
>
> There are a few new features in this release:
>
> 1) *promise-chan* is a functio
it allows different quoting and insertion
strategies, allowing you to create more flexible SQL functions.
onsdag 4. november 2015 18.42.30 UTC+1 skrev chepprey følgende:
>
> Is there anything that compares/contrasts HugSQL and YesQL?
>
> On Sunday, October 25, 2015 at 9:36:40 PM UTC-4,
The author of HugSQL is working on documentation now, and I believe he will
include a decent comparison to YeSQL in the process.
--
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
I got an exception when compiling with this RC (exception below). Seems it
have trouble compiling aleph, so I've added an issue there. I assume you
will be contacted if the bug is found to be an error in Clojure itself, and
not Aleph.
#error {
:cause IllegalName: compile__stub.aleph.http.core.
You were right. Aleph depended on potemkin, upgrading that dependency fixed
the problem.
onsdag 11. november 2015 12.12.40 UTC+1 skrev Alex Miller følgende:
>
> There is a Potemkin error that was exposed during 1.8 that looks like this
> (the compile_stub) - is that library in your dependencies?
A new release of hugsql-adapter-postgres-async is now available.
* Sync release number with hugsql release number.
* Make use of new feature in hugsql, that allows us to return all
exceptions on the response channel.
Github: https://github.com/Skinney/hugsql-async
--
You received this message
Fantastic release Curtis. This is an awesome work!
--
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.
Been running with this in production for two days now. Working fine.
onsdag 16. desember 2015 22.45.21 UTC+1 skrev Alex Miller følgende:
>
> Clojure 1.8.0-RC4 is now available. *This build is a "release candidate"!* We
> would appreciate any and all testing you can do on your own libraries or
>
Hi!
Did someone ever look at supporting InvokeDynamic for Clojure? I've read a
couple of blogs and it seemed interesting, would be cool to know if there
actually were any advantages in practice.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To po
me/2011/10/14/why-clojure-doesnt-need-invokedynamic-but-it-might-be-nice/
>
> http://blog.headius.com/2011/10/why-clojure-doesnt-need-invokedynamic.html?m=1
>
> Plinio Balduino
> 11 982 611 487
>
> On 04/04/2014, at 05:42, Robin Heggelund Hansen wrote:
>
>> Hi!
>&
Thank you!
4. apr. 2014 kl. 12:35 skrev Ragnar Dahlén :
> You may find this thread enlightening:
>
> https://groups.google.com/d/msg/clojure-dev/PuV7XTps9vo/SkkNuiynKfUJ
>
> /Ragnar
>
> On Friday, 4 April 2014 10:44:42 UTC+1, Robin Heggelund Hansen wrote:
> Yeah, t
is, and use
> InvokeDynamic bytecode in the same binary. DynJS, for example, is not
> compatible with Java 6.
>
> Anyway, it would be nice to see any experiment with that bytecode and
> Clojure, maybe evolving to some form of Clojure 2.0.
>
> It would be nice to hear
Simple question, sorry if this is jotted down somewhere and I didn't read
it :/
Regarding Datomic Pro Starter, is the limitation of 1 transactor+two peers
per registered user, or per app? I would love to use datomic in my
projects, but when free is recommended for dev and not prod, and I can on
on the Datomic mailinglist
> https://groups.google.com/forum/#!topic/datomic/gvP0ecJghd8
>
>
>
>
> On Thu, Apr 24, 2014 at 1:42 PM, Robin Heggelund Hansen <
> skinn...@gmail.com > wrote:
>
>> Simple question, sorry if this is jotted down somewhere and I didn't rea
Is this something that is fixable?
--
--
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 unsubscri
The reason Clojure "supports you better" is that Clojure doesn't really
give you an alternative. Scala is BOTH OO and FP, Clojure is only FP.
The "problem" with Scala is that if you come from an OO language, Scala
doesn't force you to use FP concepts, sure it's idiomatic, but there is
nothing t
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 s
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
> > wrote:
> > Hi!
> >
> > Just looked at the east
Gotta ask, what's the difference between Om and Reagent?
--
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
85 matches
Mail list logo