In an attempt to be slightly more "elegant" (whatever that means ;-) ):
-8<-8<-
(def start [{:key 3 :value 10} {:key 6 :value 30}])
(into [] (map (fn [[k v]] {:key k :value v})
(merge
(into {} (for [x (range 6)] {x nil}))
(into {} (map (juxt :key :value) start)
;;=> [{:key 6, :
…and just yesterday a ticket was opened to address at the very least warning
when this happens: http://dev.clojure.org/jira/browse/CLJ-1297 . If you've
wasted valuable development hours on this, up votes would be appreciated ;-)
- Josh
On Tuesday, November 19, 2013 at 10:10 PM, dmiller wrote:
On Thursday, November 28, 2013 at 12:10, Stanislav Yurin wrote:
> Hello, Clojure community.
>
> I have been following the Clojure path for nearly two years now, and have
> really great pleasure
> using it in my personal and job projects, watching the community delivering a
> lot of great things
On Wednesday, December 4, 2013 at 12:37, James Laver wrote:
> Ring is really wonderfully simple. the two combined take up only a handful of
> lines. Unfortunately, the tests take up rather a lot of lines (~140) and
> since they helped squeeze out the bugs, it would be a poor argument to say
> “d
On Saturday, December 7, 2013 at 14:06, Jim - FooBar(); wrote:
> Hi all,
>
> Technically speaking this is not a question specific to Clojure. I 'd
> like to see how people are generally accessing some big resource (e.g a
> massive .csv file). My use case is this:
>
> I've got code that fetc
On Saturday, December 28, 2013 at 6:05, kovas boguta wrote:
> The bottom line is that the definitive clojure distributed computing
> solution is yet to be invented, but there are a number of things out
> there including the aforementioned.
>
> 1. clojure wrappers for Akka, for instance
>
> http
You should be able to deploy with Immutant and then use the
Immutant-Openshift-Quickstart
(https://github.com/openshift-quickstart/immutant-quickstart) or the Immutant
Cart (https://github.com/immutant/openshift-immutant-cart).
On Tuesday, December 31, 2013 at 16:04, Leon Talbot wrote:
> Wha
I just wanted to point out that if you’re looking to write small background
processes that are more shell-script-y than server-y, you might consider CLJS +
Node.js. That way you can still leverage Clojure without the need to spin up an
entire JVM just for a quick cron task.
Cheers,
Josh
On
>
> Julio
>
>
> > On Jan 24, 2014, at 11:14 PM, Joshua Ballanco > (mailto:jball...@gmail.com)> wrote:
> >
> > I just wanted to point out that if you’re looking to write small background
> > processes that are more shell-script-y than server-y, yo
On Sunday, February 9, 2014 at 18:54, Andrey Antukh wrote:
> Hi!
>
> Buddy is an authentication, authorization and signing library for clojure,
> designed with simplicity in mind.
>
> Features / Sub libraries:
> * Modular Authentication (implemented using protocols).
> * Modular Authorization
My intention is to write up a full blog post explaining how I arrived at this
answer, but as I am horribly delinquent in updating my personal site, I figured
I would share this directly with the community:
https://github.com/jballanc/logicbuzz
Comments, questions, and incredulous cock-eyed sta
I think you’ve actually answered your own question without realizing it. At
least, the way I was taught is that “conj” is always constant time w.r.t. the
collection being appended to. Since different collections have different
internal storage mechanisms, that means that “conj” will do different
When dealing with lawyers, I find it best to keep things simple:
Is there no other project in the entire federal government developed with
Eclipse or some other EPL licensed code?
Somehow, I find that hard to believe.
On Friday, May 30, 2014 at 6:31, rcg wrote:
> Hello;
>
> Developing web s
My advice on convincing your boss to use Clojure for a new project: don’t.
Projects succeed or fail for any number of different reasons, but I can
guarantee you that if you *start* a new project with Clojure, and it does
happen to fail, then the choice of Clojure will bear the brunt of the bla
Very interesting project! (and congrats on joining SunlightLabs)
As someone who has, on occasion, contributed to various SunlightLabs foundation
projects, my only question would be: what do you need help with?
I understand completely if this project is not at a point where you’re looking
for
I think you’ve missed Immutant: http://immutant.org . I’ve used it on multiple
projects for serving HTTP requests, coordinating background jobs, caching, and
inter-app communication. It’s also fairly easy to get set up with a clustered
configuration.
On Friday, September 19, 2014 at 15:52, Dm
On Sunday, September 21, 2014 at 21:40, Tassilo Horn wrote:
> I think instead of `conde' you can use `conda' here, because when the
> first clause succeeds the second one cannot succeed and doesn't need to
>
Careful with the use of `conde` vs `conda`, as `conda` is an early cut. In
other words
Just in case you hadn’t already come across it in your Google-ing, I thought
you should know about http://clojure-doc.org . This site is more than just API
documentation, it also contains a number of useful guides covering various
topics in Clojure. It’s not exactly a collection of prescriptions
design! This is definitely a good start.
Cheers,
Josh
--
Joshua Ballanco
ELC Technologies™
1771 NW Pettygrove Street, Suite 140
Portland, OR, 97209
jballanco (mailto:jballa...@elctech.com)@elctech.com
(mailto:kmil...@elctech.com)
P +1 866.863.7365
F +1 877.658.6313
M +1 646.463.2673
T +90 533.0
invariably end up wrapped in as much bureaucracy and
configuration as actual code.
Just my opinion, but I think if you tried something relatively
unobtrusive like the above, and it caught on, you might some day find it
incorporated into the main language. (After all, even the famous "let&qu
efn print-src []
(println (with-out-str (clojure.repl/source my-function
The "source" method is designed for the REPL, and so dumps to *out* by
default (you can confirm this yourself, appropriately enough, by doing
"(source source)")
Cheers,
Josh
--
Joshua Balla
hl=en
I can't speak of specific experience, since we're still in the early
development phase, but we have had an outstanding experience with
Torquebox and so have been looking at it's Clojure cousin Immutant
(http://immutant.org/). At the very least, I think it's worth adding
t; To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
Not sure if you'd consider this "real code", but I recently wrote a
scrabble solver (i.e. find
, but since I also just
started looking at reducers, perhaps I'm just not understanding how they
work?
Any ideas?
Thanks,
Josh
--
Joshua Ballanco
ELC Technologies™
1771 NW Pettygrove Street, Suite 140
Portland, OR, 97209
jballa...@elctech.com
P +1 866.863.7365
F +1 877.658.6313
M +1 646.
ds to be a
proper monoid. Is that right? Also, on a related note, it's very
annoying that "and" in Clojure is implemented as a macro and therefore
cannot be used directly as combinef...
- Josh
--
Joshua Ballanco
ELC Technologies™
1771 NW Pettygrove Street, Suite 140
Por
k into the details of your specific
problem more, but in the absence of time, might I suggest two quick
points:
1. Gary Bernhardt has been playing with a "new" approach he calls
"Functional Core, Imperative Shell". Essentially, it's another take on
the question of how to limi
On Sun, Aug 26, 2012 at 11:16:29AM +0100, Jim - FooBar(); wrote:
> On 26/08/12 11:03, Joshua Ballanco wrote:
> >I would love to have some time to look into the details of your specific
> >problem more, but in the absence of time, might I suggest two quick
> >points:
>
>
ent amount
of pre-processing and data-massaging can go a long way (as well as
applying YAGNI to algorithmic evaluations).
If you haven't already, I think this would make a good series of blog
posts too!
Cheers,
Josh
--
Joshua Ballanco
ELC Technologies™
1771 NW Pettygrove Street, Suite
with the desire for there to be at least a
small barrier before one can become involved with Clojure development, but
requiring physical mail seems like a biased barrier that is much larger for
some than others.
--
Joshua Ballanco
ELC Technologies™
1771 NW Pettygrove Street, Suite 140
Por
Zed Shaw's been working on just such a thing (generic online learning
environment) over at https://inculcate.me/ . It's still early, so I don't know
if he's even accepting third-party courses just yet, but it might be
interesting to reach out to him...
--
Joshua Ballanc
ith Travis have leaked, you can
quickly revoke them without any effect on your production machines.
- Josh
--
Joshua Ballanco
ELC Technologies™
1771 NW Pettygrove Street, Suite 140
Portland, OR, 97209
jballanco (mailto:jballa...@elctech.com)@elctech.com
(mailto:kmil...@elctech.com)
P +1 86
31 matches
Mail list logo