On Thu, Dec 13, 2012 at 11:43 PM, Meikel Brandmeyer (kotarak)
m...@kotka.dewrote:
You can still use load to split the implementations accross different
files to keep things organised if that is your main concern.
In the early 1.0 days of Clojure, I experimented with splitting code across
Leo,
yes, here:
https://itunes.apple.com/ru/podcast/michael-fogus-fertile-ground/id275488598?i=126465057mt=2
On 14.12.2012, at 3:59, Leonardo Borges leonardoborges...@gmail.com wrote:
Are these videos available elsewhere?
Yes, in iTunes podcasts.
Really? I tried finding them in
I'm sorry, Russian link. English is:
https://itunes.apple.com/en/podcast/michael-fogus-fertile-ground/id275488598?i=126465057mt=2
On 14.12.2012, at 12:19, Ilshad Khabibullin astoon@gmail.com wrote:
Leo,
yes, here:
Ilshad,
Thanks a lot!
Cheers,
Leonardo Borges
www.leonardoborges.com
On Fri, Dec 14, 2012 at 7:21 PM, Ilshad Khabibullin astoon@gmail.comwrote:
I'm sorry, Russian link. English is:
https://itunes.apple.com/en/podcast/michael-fogus-fertile-ground/id275488598?i=126465057mt=2
On
Hi,
Am Freitag, 14. Dezember 2012 09:04:32 UTC+1 schrieb puzzler:
Has the situation improved? (Specifically, are you speaking from
experience with splitting files up in this way, or is this just a
theoretical idea? If you have done this and had a good experience, what
tools were you
Hi,
what about put a torrent somewhere? Unfortunately Not everybody has iTunes...
Cheers,
2012/12/14 Leonardo Borges leonardoborges...@gmail.com:
Ilshad,
Thanks a lot!
Cheers,
Leonardo Borges
www.leonardoborges.com
On Fri, Dec 14, 2012 at 7:21 PM, Ilshad Khabibullin
On Fri, Dec 14, 2012 at 12:55 AM, Paul Butcher p...@paulbutcher.com wrote:
On 14 Dec 2012, at 00:30, kovas boguta kovas.bog...@gmail.com wrote:
If you can't incorporate novelty without cloning the
entire datastructure, thats not that useful.
I'm not 100% sure what you mean by this - can you
I agree that with regards to 'least astonishment' the core fn should
capitalize all characters. This is what I'd expect from a fn called
'capitalize'.
There is already an upper-case function, thus capitalize should either
capitalize the first character or all characters who begin a
On Thursday, December 13, 2012 11:43:48 PM UTC+2, puzzler wrote:
On Thu, Dec 13, 2012 at 1:31 PM, Timo Mihaljov
ti...@mihaljov.infojavascript:
wrote:
(ns example.patron
The patron doesn't have an artistic vision (that's the artist's job),
nor does it know how to talk to a graphics
Ah, thanks for your reply, both of you!
That's why I got confused: it seemed to work when I didn't use proxy. I'll
stop using nested defs for now. But I will miss them: they allow me to
evaluate them top-level in the REPL (using C-x C-e in emacs) and play
around with them.
K.
On Thursday,
While they are not on http://blip.tv/clojure , I was able to google
them: https://google.com/search?q=site:blip.tv/clojure - all the links are
here: http://is.gd/clojure_blip_videos
In the process I also found the rss channel http://blip.tv/clojure/rss
which has direct links to the files
In the epic thread about the STM between Rich and Cliff Click[1] the
main argument against the STM was that it didn't help solve the problem
of where to place guards around the data. From one of Cliff's arguments:
In a trivial example I can say �go up one call level and atomic
On Friday, December 14, 2012 6:32:17 PM UTC+7, Marek Šrank wrote:
While they are not on http://blip.tv/clojure , I was able to google them:
https://google.com/search?q=site:blip.tv/clojure - all the links are
here: http://is.gd/clojure_blip_videos
Yeah, blip seems to gradually bring the
Thanks for pointing me to Vagrant. That looks like a great idea,
especially since I develop primarily on a mac.
On Thursday, December 13, 2012 6:47:46 PM UTC-5, Phil Hagelberg wrote:
So anything that's a heroku add-on will translate to a lein profile
entry, correct?
No, add-ons and
The limitation was only on - but I think that is due for a fix in
the next version.
On Thu, Dec 13, 2012 at 5:48 PM, JvJ kfjwhee...@gmail.com wrote:
Clever, but I always thought - had to take more than one parameter. Maybe
that's only for -
On Thursday, 13 December 2012 13:35:33 UTC-5,
So I downloaded them to make a backup, but I found that I have only
10GB/30days upload limit on my current academic internet network, so It'll
take time till I upload them all :-/
Then I'll post the download links, just in a case the Blip TV will delete
them in a future...
Marek
On Friday,
Btw, seems that Rich won't allow sharing his videos by
ourselves: https://twitter.com/richhickey/status/279414741582114817 , but
he's going to find an alternate location where to put them, so it should be
all okay then :)
Marek.
On Friday, December 14, 2012 2:20:09 PM UTC+1, Marek Šrank
On Dec 14, 2012, at 12:55 AM, Paul Butcher wrote:
On 14 Dec 2012, at 00:30, kovas boguta kovas.bog...@gmail.com wrote:
My recommendation is either Persistent Datastructures or Database as a
Value
Interesting. I'd be interested to hear others thoughts on this. In particular
Rich's
tools.namespace (a Clojure contrib library):
Tools for managing reloading namespaces.
Changelog more info:
https://github.com/clojure/tools.namespace
Leiningen dependency:
[org.clojure/tools.namespace 0.2.2]
Flow (non-contrib, EPL):
Building up computations out of dependency
For others who might have this problem, I've reduced this to the following:
(defrecord A ...)
(instance? A (A. ...)) ;= true
(instance? A (map-A {...})) ;= can be false (e.g., in a tomcat servlet)
The map-A constructor uses the create method, and as Chris said earlier,
this seems
to have to
`in-ns` is special. To create Vars in another namespace, use `intern`
instead of `defn`.
-S
--
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 -
I'm asked to log in now to access this page.
On Thursday, April 28, 2011 11:03:53 PM UTC-4, Christopher Redinger wrote:
We've got a good start to the list going
http://dev.clojure.org/display/community/Clojure+Success+Stories
Any more we should get listed?
--
You received this message
On 14 Dec 2012, at 13:52, Rich Hickey richhic...@gmail.com wrote:
On Dec 14, 2012, at 12:55 AM, Paul Butcher wrote:
Rich - what is the soundbite description of Clojure's concurrency model
you're happiest with?
Ah, soundbites, the foundation of modern programmer education :)
Maybe I should
When you choose an atom you are effectively saying that nobody else will
ever need to ensure consistency between this identity and another. This is
fine if you're writing an application, where you can stake a claim and
create an atom for global state, but what when a library you use does
Does Flow work with ClojureScript?
It feels like expressing and using those Flows could solve similar
call-back-hell problem in the single-threaded asynchronous javascript world,
and could be an alternative to promises (?).
(hopefully I understood the functionality well after a quick scan and
Some recent discussions related to my development of Friend have prompted me to
create a new group:
https://groups.google.com/group/clojure-sec
Dedicated to discussing security issues affecting those building applications
with Clojure and its variants.
I'm sure many of us are building
Neat!
I realize this isn't exclusively web-oriented, but given Friend, I expect
that will dominate. So, I give you OWASP:
https://www.owasp.org/index.php/Main_Page
There is a lot of documented and codified experience in OWASP that may be
fruitfully extracted and hopefully contributed back
I've done this for a project in Emacs, and Slime needed to get
slightly confused sometimes. As I recall the buffer names got out of
sync with the filenames somehow or something like that. Has anyone
gotten this working smoothly with Slime or nrepl-el?
It works well even with the minor quirks.
Hi,
I would like to suggest an enhancement to the clojure.core/group-by
function. The idea came from using Enumerable.GroupBy
http://msdn.microsoft.com/en-us/library/bb534304.aspxextension method in
.NET quite much. It is really handy to have an optional value-mapper
function which
FrankS wrote:
Does Flow work with ClojureScript?
I haven't tried. In principle, there's no reason why it
couldn't. It uses macros, so it would require some porting.
It feels like expressing and using those Flows could solve
similar call-back-hell problem in the single-threaded
asynchronous
On Fri, Dec 14, 2012 at 4:23 AM, Jonathon McKitrick
jmckitr...@gmail.com wrote:
Ah, right. Add-ons add capabilities, and lein plugins interface with them.
My mistake.
No, Leiningen plugins have nothing to do with Heroku add-ons. Some
add-ons (databases, etc) require dependencies for your app
Looks nice and short to me. Again I don't have the time to ponder
optimizations so I'm curious myself how it could be made faster.
David
On Thu, Dec 13, 2012 at 9:22 PM, Adam Clements adam.cleme...@gmail.comwrote:
Hi, so I chose this problem as my first foray into core.logic too
My solution
I've created a test harness for this as a leiningen plugin:
https://github.com/bendlas/lein-partest
You can just put
:plugins [[net.bendlas/lein-partest 0.1.0]]
into your project and run
lein partest your.ns/testfn 6
to run 6 threads/processes in parallel
The plugin then runs the
I confused the lein-noir plugin in profiles.clj with noir in my
project.clj. Okay, I think I got it now
On Friday, December 14, 2012 3:01:43 PM UTC-5, Phil Hagelberg wrote:
On Fri, Dec 14, 2012 at 4:23 AM, Jonathon McKitrick
jmcki...@gmail.com javascript: wrote:
Ah, right. Add-ons
Hi, folks.
I need a generalized version of clojure.core/format function, i.e. function
that accepts a pattern like -%s-%s-%s-, two functions and format args. It
most return a 'formatted' seq. The first supplied function is called for
each non-special character from the pattern and returns its
I've used javaspaces a fair bit in high-flexibility situations, although
not in a truly high-scale situation. I am aware of truly high-scale
implementations. Just be careful extrapolating from one case to another.
Contact the apache river folks for detailed reports of javaspaces in
Contact the apache river folks for details. There have been several
published accounts, but it is definitely the case that many jini/javaspaces
users felt it was in their own interest not to draw attention to this
technology as it was determined to be a competitive advantage.
Yeah that's not how partial maps work are intended to be used, though it's
not very clear - Philip Potter actually brought up a good criticism of the
behavior of partial maps at ClojureX in London when I gave a quick
demonstration - you lose transitivity. I'm inclined to push the
functionality of
Oh to answer your question - expecting two separate unifications to
change a var defeats the spirit of logic programming - you're back to
something stateful.
That said the framework is probably laid well enough to implement CLP(Map).
I don't have any time to do such a thing but I can explain how
Hi,
I'm writing a wrapper to use JavaFX with Clojure. But I hava an issue.
I called a class javafx.clojure.Application, then in a source code I wrote:
(ns javafx-clj.wrapper
(:import javafx.clojure.Application)
(:import javafx.application.Application javafx.application.Platform))
...
But
One would have the same problem importing those classes in Java code. It's
just not possible to import two classes with the same name, because there
is no way to tell which one you are referring to when you use the class'
name only (e.g. (Application.)).
However it's possible to just import
I just tried but I get the same error.
Le samedi 15 décembre 2012 03:13:14 UTC+1, juan.facorro a écrit :
One would have the same problem importing those classes in Java code. It's
just not possible to import two classes with the same name, because there
is no way to tell which one you are
Thanks Herwig,
I used your plugin with the following 2 burn variants:
(defn burn-slow [ _]
(count (last (take 1000 (iterate #(reduce conj '() %) (range 1))
(defn burn-fast [ _]
(count (last (take 1000 (iterate #(reduce conj* (list nil) %) (range
1))
Where conj* is just a
I'm learning Clojure, and I learn best by jumping in. I'm interested in
using Noir. Noir has a full API reference, so when I'm reading other
people's Noir code, I can just look up the exact function and see what it
does.
I can't find a similar thing for Clojure. I'm looking through other
I would recommend checking out
http://clojuredocs.org
If you use Leiningen version 2, you can get similar output with these two
commands:
lein repl
user= (doc first)
user= (cdoc first)
doc gives the doc string built into Clojure. cdoc gives the examples from
ClojureDocs.org for that symbol,
I'd be interested in seeing your GP system. The one we're using evolves
Push programs and I suspect that whatever's triggering this problem with
multicore utilization is stemming from something in the inner loop of my
Push interpreter (https://github.com/lspector/Clojush)... but I don't
I want to compose and apply a function as follows:
A (= (function to extract \a abBcdAa) aa)
I can filter the argument using filter #(= \a %) string.
If I (def s (filter #(= \a %) abBcdAa)) I get
(\a \a\).
If I (str s) I get
clojure.lang.LazySeq@fe1
If I (apply str s) i get
aa
But what I am
(comp (partial apply str) (partial filter #{\a}))
--
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
(I took the liberty of replacing #(= \a %) with #{\a})
On Fri, Dec 14, 2012 at 11:37 PM, Mark Engelberg
mark.engelb...@gmail.comwrote:
(comp (partial apply str) (partial filter #{\a}))
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
49 matches
Mail list logo