example-map {:order-by [:foo :asc :bar
:desc]})
Sean Corfield -- (904) 302-SEAN
World Singles -- http://worldsingles.com/
--
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
with other projects that offered both a
bundled Eclipse install and a plugin install: at some point the bundled install
just breaks due to Eclipse updates – using a plugin is nearly always a safer
option, in my experience)
Sean Corfield -- (904) 302-SEAN
An Architect's View --
On 5/6/16, 2:49 PM, "Fluid Dynamics" wrote:
> That's hours and hundreds of megabytes of downloading,
The latest Eclipse for Java Developers is 166MB which I believe is the edition
most Clojure developers would need, to use CCW?
For that to take “hours” to download, your Internet download speed
e
alpha2 / alpha1 below for more details.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org
--
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 tha
n removed
- The java.jdbc.deprecated namespace has been removed
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because y
SQLite, Apache Derby, HSQLDB, H2, MySQL, MS SQL
Server (both MS Type 4 driver and jTDS driver). JDBC-127 and JDBC-129.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwo
)))
Hi! #object[org.joda.time.DateTime 0x169f53b5 2016-05-20T03:20:53.021Z]
nil
boot.user=> (t/now)
#object[org.joda.time.DateTime 0x11798c1b "2016-05-20T03:19:54.145Z"]
See how the time printed is a minute in the future of the actual time?
Sean Corfield -- (904) 302-SEA
” recommended way to deal with reader
conditionals in macros used from ClojureScript?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
On 5/20/16, 10:34 AM, &quo
Awesome! I know one company that’s going to jump straight on 1.9.0-alpha1! ☺
Heck, we may even start today with 1.9.0-master-SNAPSHOT since clojure.spec was
committed a couple of hours ago ☺
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you'
On 5/23/16, 2:29 PM, "Rich Hickey" wrote:
>fdef will not add doc metadata (see rationale re: not putting more stuff in
>the namespaces/vars), but specs will be present when you call ‘doc’. That doc
>enhancement was in a push later in the afternoon.
Nice:
(require '[clojure.spec :as s])
(s/
On 5/23/16, 3:45 PM, "Rich Hickey" wrote:
>That one’s already fixed if you grab the latest.
Confirmed! Thank you!
Sean
--
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 f
clojure.spec
or not? I ask because I’m thinking about adding an optional namespace to
clojure.java.jdbc that would provide fn-specs for that library – my assumption
is that folks not yet using a 1.9.0 build would simply not require that spec
namespace…
Sean Corfield -- (904) 302-SEAN
An
r
they become production code. I still write expectations to clarify how to
design APIs in the small (and APIs in the large as needed), but most of the
red-green-refactor loop of TDD/BDD now comes from the REPL experiments for me.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http:/
Another option is:
((fn pascal ([n] (pascal n [1M])) ([n row] (if (= n 1) row (recur (dec n) (mapv
(partial reduce +) (partition 2 1 (cons 0 (conj row 0 500)
Because row is a vector you can conj 0 to the end (quickly) and cons 0 to the
front (quickly) and then mapv makes sure you get a
e it does what I want, all on one
"canvas".
I really like having a full-featured browser in my editor (that works
cross-platform) and can act as a live evaluation target for .cljs and .js files
(and .css and .html and so on).
I still keep Emacs open as my Git "client" and as my
On Tue, Feb 4, 2014 at 6:07 PM, Brian Marick wrote:
> I always grate at the need to then "immortalize" the core of what I did in
> the REPL in repeatable tests.
That's actually one of the things that bothered me in the Emacs REPL
world: working in the REPL was separate from working in my product
he benefit of the REPL and fast feedback without needing a
separate REPL buffer.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Descr
FWIW, I find the language of Expectations to be much better suited to
describing the desired behaviors of a system I want to build than the
assertion-based language of clojure.test - so for me it's about
test-before, not test-after.
Sean
On Wed, Feb 5, 2014 at 2:52 PM, Jay Fields wrote:
> On Wed
On Wed, Feb 5, 2014 at 1:56 PM, John D. Hume wrote:
> The misconception I hope is disappearing is that REPL-driven development in
> Emacs necessarily involves lots of switching and copy-pasting back and forth
> between source file buffers and a REPL buffer. The video in Jay's blog post
> makes it
itrary series of data values.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
are not really a match for
Expectations - we use clojure.test instead because it's "do a bunch of side
effecting stuff in the browser, assert that a bunch of conditions are true
about the DOM, do a bunch more side effecting stuff, assert more DOM
conditions, rinse and repeat"...
• Added verb support to routes
• Ensure UTF-8 output
• Add :middleware support
• Fix JSON MIME type
• Update dependencies
The simplest way to get up and running:
lein new fw1 myapp
cd myapp
PORT= lein run
Sean Corfield -- (904) 302-SEAN
An
But you're misunderstanding what map does: it converts its collection
arguments to _sequences_ and then it processes those sequences. Map
doesn't operate on sets, or vectors, or maps, only on sequences.
Scala goes out of its way to retain input types as output types on
many of its collection opera
On Feb 8, 2014, at 7:59 AM, Andy C wrote:
> Your assertion that I "am misunderstanding something" is wrong.
Now that you've seen everyone else's responses, perhaps you understand my
assertion was correct? :)
Sean Corfield -- (904) 302-SEAN
An Architect's View
As maintainer of java.jdbc I'd say this is a more appropriate feature
for a DSL library like SQLingvo or HoneySQL (which may already support
something like this - I haven't checked).
Sean
On Sun, Feb 9, 2014 at 12:40 PM, Jan Herich wrote:
> Hello folks,
>
> In the last days, i was working with c
I find clojureatlas.com very helpful for exploring the API, especially since it
is concept-based (so "Maps" is a concept that shows all the related functions
and concepts).
It's only up to 1.4.0 - hopefully Chas will update it to 1.5 / 1.6 at some
point - but it's better than a site stuck at 1.
On Feb 12, 2014, at 5:46 AM, Vincent wrote:
> On Friday, February 7, 2014 2:23:33 AM UTC, Sean Corfield wrote:
> On Feb 6, 2014, at 12:58 PM, Stuart Sierra wrote:
>> I think (reduce + (range N)) is commonly used in *examples*, not necessarily
>> in real applications.
>
n't
really a variant of cond-> but between that and the source of cond-> I suspect
I will just end up rolling my own...
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French
g does not short circuit
after the first true test expression."
[expr & clauses]
(assert (even? (count clauses)))
(let [g (gensym)
pstep (fn [[pred step]] `(if (~pred ~g) (->> ~g ~step) ~g))]
`(let [~g ~expr
~@(interleave (repeat g) (map pstep (partition
My priority to work on turning David's codebase into a library changed as I was
originally planning to do it for conference presentations in May and June, but
for personal reasons I've had to pull out of both conferences. So this is still
on my radar but it's moved down my list some way.
Sean
Isn't this a more fundamental problem tho'...:
(def x 0)
(or (zero? x) (/ 100 x)) ;; true
(alt-or (zero? x) (/ 100 x)) ;; java.lang.ArithmeticException: Divide by zero
Sean
On Feb 20, 2014, at 4:58 AM, Niels van Klaveren
wrote:
>
> The result wouldn't return faster if the input is an infi
of CongoMongo but there are parts of Monger
I'm not happy with either. Michael / ClojureWerkz have been very receptive to
suggestions and pull requests so part of me feels like that's a better use of
my time - but if folks are genuinely interested in a new version of CongoMongo,
I coul
pport multiple
databases (dropping down to the Java API to get a Collection object from a
specific DB object).
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
On Feb 28, 2014, at 7:29 AM, action wrote:
> Monger, and any other popular driver?
CongoMongo -- but see this thread:
https://groups.google.com/forum/#!topic/clojure/JOREq-Jl1Ns
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enem
Looking at the source of isa? it very specifically calls out vector arguments
so I'd say it's by design.
Be careful that (isa? '(String foo) '(String foo)) returns true - child equal
to parent regardless of type.
(defn isa?
"Returns true if (= child parent), or child is directly or indirectly
It's definitely one of the less intuitive aspects of dealing with core.cache
but it bites you once (or twice!) and you internalize it and kinda move on :)
Sean
On Mar 3, 2014, at 1:57 PM, dan.stone16...@gmail.com wrote:
> In case anyone was wondering I worked out what was going on and it makes
int of view:
http://clojure.org/contributing
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
We've been running our (World Singles) test suite against 1.6.0-master-SNAPSHOT
for some time as a matter of course and haven't tripped over anything so far
(that I can recall). The only change in our bugbase due to 1.6.0 was the
earlier change to disallow keyword literals that start with a digi
o picking something you're all comfortable with might well be a
better business choice than some cool tech you might all like to use.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
Hard to tell what your problem is with so little information to go on.
Here's the code we use to get a directory listing:
(defn- wildcard-filter
"Given a regex, return a FilenameFilter that matches."
[re]
(reify java.io.FilenameFilter
(accept [_ dir name] (not (nil? (re-find re name
Looks great Jay - as you know I'm a big fan of Expectations.
One big issue I see here is that by removing 'given' you've made adoption of
2.0 a bit "all or nothing": to use 2.0, I must update our entire test base to
rewrite all 'given' tests using the new syntax.
Is there an intermediate versio
Since `given` was a relatively simple macro, we added it to
worldsingles.util.test and switched all our test namespaces to refer given from
there instead, and then upgraded to Expectations 2.0.6. Seems to have gone
smoothly.
Love the new DSL features!
Sean
On Mar 11, 2014, at 8:28 PM, Sean
As the author of cfmljure, it's not something I'd recommend anyone to use in
its current form and combining CFML and Clojure (as we do at World Singles) is
a bit of a dark art that I wouldn't encourage others to attempt, unless they're
already up to their eyeballs in CFML, and running on Railo (
We have 1.6.0-RC1 running in production as of this afternoon. No
problems so far...
Sean
On Tue, Mar 18, 2014 at 7:21 AM, Alex Miller wrote:
> Hello all,
>
> We would love to release Clojure 1.6.0 final soon.
>
> We need your help in checking out the current release candidate - this is
> your op
Thanx for Eastwood - it's a great tool!
Just FYI, using Clojure 1.6.0 builds produces these warnings:
WARNING: record? already refers to: #'clojure.core/record? in namespace:
clojure.tools.analyzer.utils, being replaced by:
#'clojure.tools.analyzer.utils/record?
WARNING: record? already refers
but still had Eastwood 0.1.0
in my ~/.lein/profiles.clj file which was overriding it. Once I removed that
old dependency, the warning went away. Thank you!
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
--
ocus, yes, you really do need a "project". Either pick things you've
done before in other languages, or figure out something that would scratch an
itch (a small web app, perhaps?) and tackle that.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
jure.string/split #"\n"))
See:
http://clojure.github.io/clojure/clojure.java.shell-api.html#clojure.java.shell/sh
and:
http://clojure.github.io/clojure/clojure.string-api.html#clojure.string/split
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.
This happens because a Symbol is a "function that looks itself up in its
argument" much like Keywords do:
user=> ('a {'a 2 'b 3})
2
user=> ('b {'a 2 'b 3})
3
user=> ('b 42)
nil
And the two argument version provides a default value to return if the symbol
is not found:
user=> ('c {'a 2 'b 3} ::
Use: lein deps :tree
That should show you where the conflict is coming from (you're picking up an
old core.cache from somewhere).
Sean
On Mar 22, 2014, at 1:34 PM, Jakub Holy wrote:
> For me, Eastwood fails mysteriously:
>
> $ lein eastwood
> Exception in thread "main" java.lang.RuntimeExcept
he "0.6.2"]
>
> which is only 0.0.1 version behind the latest (and excluding it did not help)
>
>
> 2014-03-22 22:25 GMT+01:00 Sean Corfield :
> Use: lein deps :tree
>
> That should show you where the conflict is coming from (you're picking up an
>
is that 0.6.3 added core.cache/through, and core.memoize
depends on that version.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Des
Looks like the Noir session isn't initialized. Have you added the
wrap-noir-session middleware?
Sean
On Mar 23, 2014, at 2:54 PM, Sven Richter wrote:
> I have an error message that I just dont understand. This is what I am trying
> to do:
>
> (ns service)
> (defn get-id [] (session/get :id))
d - or that the old library was never really a good way to do things in the
first place. I've no idea what defadt was meant to do, I'm afraid.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- G
BTW, where did you find the references to defadt and clojure.contrib.types?
Perhaps we can get the original references updated so people aren't misled in
future...
Sean
On Mar 28, 2014, at 8:05 PM, Sean Corfield wrote:
> On Mar 28, 2014, at 7:40 PM, Christopher Howard wrote:
>&g
of my 30+ years ago Comp Sci degree
must be very rusty :)
So what would be the "modern" Clojure way to implement ADTs...
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist
at 5:06 PM, Christopher Howard
wrote:
> On Fri, 28 Mar 2014 20:06:59 -0700
> Sean Corfield wrote:
>
>> BTW, where did you find the references to defadt and
>> clojure.contrib.types? Perhaps we can get the original references
>> updated so people aren't misled in future...
init6357505187919130689.clj:1)
And because all these seem to be at line 1, they're likely the (ns ...) forms
and so we have part of the dependency chain. I mostly just skipped over all the
clojure.* stuff except for noting (in my head) that clojure.core/load and
clojure.core/use were called along
your :user dependencies from profiles.clj - which is
why you get the conflict.
You might solve this by putting clj-ns-browser in a separate profile, say,
:browse and then explicitly using that profile when you want to fire up
clj-ns-browser (via lein's with-profile feature).
Sean Corfield --
Here's what I see in LT:
https://www.dropbox.com/s/nd1xf00sbdwjpgc/Screenshot%202014-04-08%2014.05.06.png
i.e., the correct, expected behavior - exactly the same as in a regular REPL.
Maybe you have some customization in LT that is causing it? Or perhaps one of
your plugins?
Sean
On Apr 7, 20
DB,
third party web services, to do data transformation (mostly to/from XML, JSON),
and so on. We're also using it for the back end of a chat server (built around
Netty and a Socket.IO server library).
Happy to answer any questions about "real world usage" either on or off-list!
S
on mass-insert!
One side effect of these updates is that mass-insert! should now be much faster
than multiple individual insert! calls, due to performance improvements in the
Java driver when used with the latest MongoDB.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfiel
And for comparison at World Singles:
Clojure source 101 files 17952 total loc,
1321 fns, 666 of which are private,
203 vars, 8 macros, 29 atoms
Clojure tests 43 files 3790 total loc
Clojure WebDriver tests 14 files 560 total loc
(includes comments / whitespace etc - this is just the outpu
x27;t consider that a "hard to explain design decision" but it is a standard
idiom that is initially unfamiliar to many people coming from certain other
languages...
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good.&q
Take a look at Sente (core.async over web socket / xhr) - and contribute
anything additional you need to that.
On Apr 13, 2014, at 6:16 PM, t x wrote:
> For building robust cljs web apps, I'd like to have a "uber
> websocket" which does the following:
>
> * when disconnected, it auto reconnec
used Emacs for just over two years before switching to LT, BTW (well, after a
near 20 year break from Emacs before that).
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1
T is the integrated evaluation of code inline so I
can treat a file as a REPL and see the results right there, and if you're doing
ClojureScript, the ability to live eval cljs and the embedded browser make for
a very smooth workflow.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- h
e as I re-trained them to use Emacs! :)
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
quot;good style"?
[1] http://dev.clojure.org/display/community/Library+Coding+Standards
[2] https://github.com/bbatsov/clojure-style-guide#naming
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
Since they can move into any namespace they want and they're all sharing the
same running JVM context, I'm not sure what separate namespaces buys... Can you
elaborate on your use case?
Sean
On Apr 17, 2014, at 5:35 AM, Arkadiusz Komarzewski
wrote:
> I would like to let multiple users use sing
LightTable has a plugin for live Markdown rendering which I find very useful.
So useful in fact that I created a plugin for live Textile rendering based on
it :)
Sean
On Apr 17, 2014, at 11:18 AM, Brian Craft wrote:
> Is there a standard workflow, lein plugin, or such, for building/serving a
ing down the path of using ClojureScript for an internal-facing analysis
app - using Om and D3 for real-time data display, with core.async over web
sockets (via Sente).
All new server-side development is in Clojure for us. Two reasons:
* The Clojure code is much simpler, shorter and easier to mainta
t isn't always
possible (or appropriate).
I hope the venue is chosen with _cost_ in mind this year!
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
update:
https://github.com/mongodb/mongo-java-driver/releases/tag/r2.12.1
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description:
What Leiningen plugins do you have installed? (Both in your project and in
your user profile)
I believe this is caused by a plugin forcing an earlier version of
clojure.core.cache on you...
On Saturday, April 26, 2014, Daniel Slutsky
wrote:
> added an issue at
> http://dev.clojure.org/jira/brow
s message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
typed's analysis), it's sometimes
surprisingly hard to crank down the type signatures and still get everything to
type check: you often need either much more general types than you might wish
for or you end up with complex union types, partly due to nil-punning and
Clojure's view
That's
about a low a barrier to entry as there can be and we still don't see enough
contribution to documentation.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist nov
days ago - and I saw no
discussion of the proposed changes so I'd like to hear from Cognitect's folks
about this: is it a change of heart by Clojure/core or are they unaware of the
change?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"
something and see if people like it. That's probably a
better approach than trying to discuss it anyway.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
My question would be: why do you specifically need a list? i.e., why isn't a
sequence good enough?
Sean
On May 3, 2014, at 6:30 AM, Dave Tenny wrote:
> After nosing around all I've come up with via clojure mechanisms is to use
> (apply list (sort ...)).
> It seems to work well enough for lists
A specific case: when I worked at Adobe, we could not use any open source
library whose license was not one of a standard set of pre-approved licenses.
During a license audit (oh joy!) I had to approach a couple of OSS projects we
had started to use in order to persuade them to change their lice
the developer that wrote the above rewrite it in a better way. You'll
just end up with more bad documentation getting in the way of what the code
actually does. Bad documentation is worse than no documentation. At least with
no documentation, the code doesn't lie.
Sean Corfield
On May 6, 2014, at 10:41 AM, Mark Engelberg wrote:
> Sean, I think you missed the point of that example.
No, I was simply responding to Philip's assertion that the docstring was poorly
written.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"
http://jayfields.com/expectations/in-context.html
On May 6, 2014, at 12:14 PM, Brian Craft wrote:
> Someone suggested the Expectations lib, but I don't see any fixture support
> there. Anyone using Expectations that can point me to the right place?
signature.asc
Description: Message signed w
Indeed. The OP contacted me offlist and I suggested running a virtual
framebuffer for X11 and sent them a link.
Sean
On May 9, 2014, at 10:52 AM, Stuart Sierra wrote:
> This sounds more like a problem with remote access to X-Windows (the Unix
> graphical back-end) than a Clojure-specific probl
ch produces a vector and is not lazy:
(do (mapv deref (make-tasks (range 3))) (println "DONE"))
Or you could simply loop over the tasks, calling deref and throwing the result
away via `doseq` (which is why this is kind of procedural):
(doseq [f (make-tasks (range 3))]
(deref f))
expected-object-retention/
Yes, I added that in a few places to address claims of a memory leak from a
couple of java.jdbc users. I don't think anyone had proved it really was the
cause of the memory leak they were seeing but it seemed like a harmless
optimization for memory usage anyway.
S
This might be a good place to start:
http://dodcio.defense.gov/OpenSourceSoftwareFAQ.aspx
and in particular this section:
http://dodcio.defense.gov/OpenSourceSoftwareFAQ.aspx#OSS_Licenses
and this section:
http://dodcio.defense.gov/OpenSourceSoftwareFAQ.aspx#Using_OSS_in_DoD_systems
Having wo
e's ns either.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
The exception object should have a full stack trace in it - how are you
printing your exceptions?
Sean
On Jun 2, 2014, at 12:28 PM, Lee Spector wrote:
> In my single-threaded code, exceptions stop execution and print a stack
> backtrace. This is less informative than I would like [1], but some
're still on Java 7 in production.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
On Jun 9, 2014, at 7:07 PM, Taegyoon Kim wrote:
> And you can't do this:
> user=> (let [x 1 (comment y 2)] x)
You can, however, do this:
user=> (let [x 1 #_(y 2)] x)
and this:
user=> (let [x 1 #_y #_2] x)
Sean Corfield -- (904) 302-SEAN
An Architect's Vi
erday morning and we have a working
proof of concept up on QA today - Instaparse is an amazing tool!
Sean Corfield -- http://clojurebridge.org
"ClojureBridge aims to increase diversity within the Clojure community by
offering free, beginner-friendly Clojure programming workshops for
On Thu, Jun 12, 2014 at 7:33 AM, Timothy Baldridge wrote:
> I say this too many times on this list, but I'll say it again. The best way
> to test defn- functions is to never use defn- in the first place. Instead
> move implementation functions into an internal namespace that way they can
> be acce
"works for me"...
Leiningen 2.4.2; Java build 1.8.0_05-b13; OS X 10.8.5 - lein help new
works fine outside of a project and also inside the context of a
project that depends on Clojure 1.6.0.
Are you running lein inside a project or outside? What do you have in
your profiles.clj file?
Sean
On T
to
having a lot of stuff in the user profile...
Sean
On Jun 18, 2014, at 2:08 AM, Ambrose Bonnaire-Sergeant
wrote:
> Someone was having the same issue, solved by upgrading Eastwood plugin to
> 0.1.2.
>
> Hope that helps.
>
> Thanks,
> Ambrose
>
>
> On Wed,
Clojure JDBC contrib library takes another step toward an 0.3.0 with a
fifth alpha release!
Release 0.3.0-alpha5 on 2013-09-15
* DDL now supports entities naming strategy JDBC-53.
* Attempt to address potential memory leaks due to closures - see
Christophe Grand's blog post on Macros, closures and
Take a look at
http://clojure-doc.org/articles/ecosystem/java_jdbc/connection_pooling.html
You would want to set up a connection pool and pass that into your app
as part of its context.
Does that help?
Sean
On Mon, Sep 23, 2013 at 11:25 AM, Brian Craft wrote:
> Trying to get a small app off t
Another very useful "getting started" plugin is lein-try:
https://github.com/rkneufeld/lein-try
Then you can do stuff like:
lein try [quil "1.6.0"]
;; taken from the quil getting started wiki:
(use 'quil.core)
(sketch :setup (fn [] (background 20) (ellipse 50 50 80 80)) :title
"The moon del
701 - 800 of 1941 matches
Mail list logo