On Jul 28, 4:50 pm, Anthony Grimes disciplera...@gmail.com wrote:
Oh! I apologize. I was replying via the google interface and didn't realize
it wasn't quoting. Here is a link to the topic for
context:https://groups.google.com/d/topic/clojure/ZyVrCxmOFTM/discussion
I've also filed a bug
Regards,
~Avram
On Jul 24, 12:30 am, Mark McGranaghan mmcgr...@gmail.com wrote:
Hi All,
I recently posted to my blog on the process of developing and
deploying a simple Clojure web application:
http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applica...
The purpose
Hi All,
I recently posted to my blog on the process of developing and
deploying a simple Clojure web application:
http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html
The purpose of this post is twofold. The first is to provide some
documentation in the form of a
Hi Martin,
http://github.com/mmcgrana/clj-json is a simple example of a Clojure
+Java library that you could use as a working example. See in
particular project.clj the Development section of README.md.
Hope this helps,
- Mark
On Jul 14, 6:16 am, Martin DeMello martindeme...@gmail.com wrote:
Hi Vagif,
On Feb 3, 4:27 pm, Vagif Verdi vagif.ve...@gmail.com wrote:
Whatever you guys chose, do not go the immutable road. Compojure took
that approach and now many people (including me) are stuck with
situations where they need to update session in a middle and pass it
somewhere else, and
I've posted the slides here:
http://fleetdb.org/talks/2010_01_07_ba_clojure_user_group.pdf
On Jan 4, 6:35 pm, Mark McGranaghan mmcgr...@gmail.com wrote:
Sure; if someone at the meetup wanted to record the talk that would be
great. I'll probably publish my slides as well.
- Mark
On Jan 4, 6
to disk. The current version of FleetDB is designed
for datasets that fit in RAM. I'll be adding a FAQ page soon that
addressees this question in more detail, as it comes up a lot.
- Mark
On Jan 5, 4:26 am, Rick Moynihan rick.moyni...@gmail.com wrote:
2010/1/5 Mark McGranaghan mmcgr...@gmail.com
Hi Meikel,
Yep, what you're looking for is compaction:
http://fleetdb.org/docs/queries/compact.html
- Mark
On Jan 5, 2:59 am, Meikel Brandmeyer m...@kotka.de wrote:
Hello Mark,
On Jan 5, 1:12 am, Mark McGranaghan mmcgr...@gmail.com wrote:
I'm happy to announce the alpha release
, 2010 at 1:12 AM, Mark McGranaghan mmcgr...@gmail.com wrote:
Hi All,
I'm happy to announce the alpha release of 'FleetDB', a schema-free
database implemented in Clojure and optimized for agile development.
From the homepage athttp://fleetdb.org:FleetDB offers a flexible
and expressive data
Ok. After a second look: compact is asynchronous. How do I find out whether
it is finished or whether there is still a compaction going on? And related:
how do I shut down the server gracefully?
There is currently no query for checking whether compaction is going
on, though I am working on
Hi All,
I'm happy to announce the alpha release of 'FleetDB', a schema-free
database implemented in Clojure and optimized for agile development.
From the homepage at http://fleetdb.org: FleetDB offers a flexible
and expressive data model designed for the needs of modern application
developers; a
Sure; if someone at the meetup wanted to record the talk that would be
great. I'll probably publish my slides as well.
- Mark
On Jan 4, 6:18 pm, Sean Devlin francoisdev...@gmail.com wrote:
Would you be comfortable recording publishing the talk?
On Jan 4, 7:12 pm, Mark McGranaghan mmcgr
Hi Amitava,
You can se clj-html.helpers/doctype, which is from the clj-html-
helpers project:
http://github.com/mmcgrana/clj-html-helpers
I hope this helps,
- Mark
On Oct 15, 8:26 pm, Amitava amitava.s...@gmail.com wrote:
Hello all,
Does anyone know how to generate the html doctype using
I am happy to release version 0.1 of Ring, a Clojure web applications
library. This version of Ring incorporates several new features and
changes, includes improved documentation, and some several structural
changes to support ongoing development. I hope that this release
provides a useful
You might consider using clj-stacktrace for parsing, filtering, and or
formatting Clojure stacktraces:
http://github.com/mmcgrana/clj-stacktrace
For example, if you want to differentiate between Java, core Clojure,
and user Clojure stack trace frames in a terminal session, you could
try:
(use
+ 1 for literal using literal Clojure data structures for configuration.
On Wed, Mar 25, 2009 at 5:50 PM, Laurent PETIT laurent.pe...@gmail.com wrote:
And why not just use clojure source code literal datastructures as the
persistence format ?
With the pretty print function released by Tom
; did you mean like:
#doc-items {
margin-left: 17.5em;
position: fixed;
}
What does this change for you? Is it an IE rendering fix (I haven't
tested clj-doc at all in IE)?
- Mark McGranaghan
On Tue, Mar 10, 2009 at 9:26 AM, rb raphi...@gmail.com wrote:
On Mar 10, 11:47 am, Chas Emerick
+ vanilla repl
worked well for me.
- Mark McGranaghan
On Fri, Mar 6, 2009 at 11:35 AM, levand luke.vanderh...@gmail.com wrote:
As my Clojure application is now getting quite complex, I was curious
as to what workflow people are using for design, development,
testing and debugging.
I'll get started
Hi Mark,
Stuart might be referring to clj-backtrace:
http://github.com/mmcgrana/clj-backtrace
This library parses the Java exception information and renders it for
better readability, especially for elements in the trace corresponding
to Clojure code.
user= (try (foo) (catch Exception e (pst
I frequently use a more general version of this function that reduces
a seq to a map, mapping each element in the seq to a [key value] pair
for the map. I use this in several different libs:
(defn mash
Reduce a seq-able to a map. The given fn should return a 2-element tuple
representing a
since you first
announced it?
Mark McGranaghan mmcgr...@gmail.com writes:
Hi Kevin,
You should try clj-doc:
http://github.com/mmcgrana/clj-doc
clj-doc generates HTML API documentation that is searchable via
JavaScript and includes source snippets for the code that defined each
var.
I
documentation-related features to find their way into core,
especially the ns docstrings. Now that we have most of those (though
(def foo docstring :bar) is noticeably missing) I'm going to be
working more on clj-doc.
Hope you find it useful,
- Mark McGranaghan
On Fri, Jan 30, 2009 at 7:31 PM
My name: Mark McGranaghan
Lib name: Ring
Home page: http://github.com/mmcgrana/ring
Category: Web
License: MIT
Description: A Clojure web application library inspired by Python's
WSGI and Ruby's Rack; abstracts the details of HTTP into a simple,
unified API and enables web application components
Joda Time is also a good fit for Clojure because all features in the
library have a functional implementation, whereas the current built-in
Java classes tend to use non-functional/non-threadsafe mechanisms.
- Mark M.
On Fri, Jan 23, 2009 at 9:14 AM, Mark Volkmann
r.mark.volkm...@gmail.com
I'd suggest using Compojure for your first project - its fairly widely
used, is easy to pick up, and has a growing set of docs.
I'm not sure that Webjure is maintained anymore (i.e. no commits to
its repo in a few months).
Weld is still a work in progress - I'm trying to stabilize it now but
it
:
On Jan 13, 4:45 am, Mark McGranaghan mmcgr...@gmail.com wrote:
In terms of Clojure web frameworks, I think that there is a lot to be
gained by leveraging the Ring interface, especially from the modular
functionality provided by Ring middleware. I'd like in particular to
be able to run
It seems to me that Ring's approach works well if there's the
possibility of implementing Ring using technology other than Servlets.
In this case, it makes sense for Ring to act as a minimum common
interface. But if this isn't your goal, then you're just removing
functionality for aesthetic
Hi All,
I'm happy to announce the alpha release of 'Ring', a library inspired
by Python's WSGI and Ruby's Rack for developing web applications in
Clojure.
I've made it as easy as humanly possible for you to try it out:
git clone git://github.com/mmcgrana/ring.git
cd ring
java
pauljbar...@gmail.com wrote:
What's does the req object that is passed into the function have in it?
On Mon, Jan 12, 2009 at 11:45 PM, Mark McGranaghan mmcgr...@gmail.com
wrote:
Hi All,
I'm happy to announce the alpha release of 'Ring', a library inspired
by Python's WSGI and Ruby's Rack
Hi all,
A little while ago I released clj-backtrace, a library that produces
more readable backtraces for Clojure programs. I originally conceived
of the library as just a better (.printStackTrace *e) for use at the
REPL, but I've since found some other neat uses. I'd just like to
share some
at 7:17 PM, Phil Hagelberg p...@hagelb.org wrote:
Mark McGranaghan mmcgr...@gmail.com writes:
I'd also be happy to answer any questions you have about using the
library and to hear any general comments.
This looks great! I love the way they're aligned.
Have you looked at the way Rubinius
Clojure revision 1193 introduces metadata handling for namespaces and
other Reference types. I was thinking this could be used to add
support for ns-level docstrings such as we currently have for vars.
Such support would allow programatic access to namespace
documentation.
I was thinking of
:
On 02.01.2009, at 03:30, Mark McGranaghan wrote:
I'm happy to announce an alpha release of clj-backtrace, a library
for
processing backtraces generated by Clojure programs. The library
works
by separating useful backtrace information from the noise generated
by
the Clojure compilation process
backtrace. Could you provide REPL sessions like
these that indicate the unexpected behavior?
- Mark
On Sat, Jan 3, 2009 at 11:55 AM, Konrad Hinsen
konrad.hin...@laposte.net wrote:
On 03.01.2009, at 15:46, Mark McGranaghan wrote:
Thanks for trying the library, I'm glad you found it useful. It should
with this is how brittle is this with respect to
Clojure's development? Have you had any trouble getting reasonable
output on various revisions of Clojure?
/mike.
On Thu, Jan 1, 2009 at 9:30 PM, Mark McGranaghan mmcgr...@gmail.com wrote:
Hi all,
I'm happy to announce an alpha release of clj
Hi all,
I'm happy to announce an alpha release of clj-backtrace, a library for
processing backtraces generated by Clojure programs. The library works
by separating useful backtrace information from the noise generated by
the Clojure compilation process, and also provides functions for
Hi Steve,
Thanks for your work on polishing up Clojure's entry point situation.
I've applied your patch and tried a series of typical entry point
scenarios; all but one of them worked for me. Just for the record,
here is what did work:
- Using -h to get help
- Using no options to boot into a
Steve,
Your version of repl_ln.clj works for me:
1:1 user= (+ 1 2)
3
1:2 user= (throw (Exception. test))
java.lang.Exception: test (repl-1:2)
Thanks again,
- Mark
On Sun, Dec 21, 2008 at 3:47 PM, Stephen C. Gilardi squee...@mac.com wrote:
Hi Mark,
Thanks for your work on polishing up
and not Clojure.
I'm not using Compujre here, but looking quickly at Compojure it seems
like it uses (.start server) as well from scripts.
- Mark
On Sun, Dec 21, 2008 at 3:59 PM, Mark McGranaghan mmcgr...@gmail.com wrote:
Steve,
Your version of repl_ln.clj works for me:
1:1 user= (+ 1 2)
3
1:2 user
I've likewise though a fair bit about this, but haven't been able to
come up with a particularly satisfying solution.
One approach I've considered is a watcher-type system where
persistence is defined in terms of immutable snapshots and append-only
journals: you snapshot the data to disk
I don't recall a histogram-like method, though I may just be forgetting.
(defn frequencies [coll]
(reduce
(fn [map val] (assoc map val (inc (get map val 1
{}
coll))
On Thu, Dec 11, 2008 at 9:33 AM, Dave Griffith
[EMAIL PROTECTED] wrote:
(defn frequencies [coll]
I generally like the various def* macros from clojure.contrib.def. I
was wondering though if it would make sense unify the syntax of all
the def* macros from both clojure.contrib.def and clojure.core,
especially with respect to doc strings and attr-maps.
For example in clojure.core we have defn
Konrad,
You might find this group post on a recursive macroexpand useful:
http://groups.google.com/group/clojure/browse_thread/thread/bba604cee3b232d9/28837d55525306d8?lnk=gstq=recursive+macroexpand#28837d55525306d8
- Mark
On Mon, Dec 1, 2008 at 9:25 AM, Konrad Hinsen [EMAIL PROTECTED] wrote:
Hi all,
I'm happy to release clj-html, an HTML compilation library.
clj-html tries to combine the functional interface and expressive
literal vector syntax of compojure's HTML library[1] with the
compilation model of cl-who[2]. The goal is to start with easy-to-read
and concise templates,
Mark,
You can read some about destructuring in the documentation for the
special form let:
http://clojure.org/special_forms#let
You can also explore the functionality at the repl:
user= (destructure '[{x :x, y :y, :or {y 3}} given])
[map__59 given y (clojure.core/get map__59 :y 3) x
I really like being able to find and check documentation in the REPL
with find-doc and doc, but I often would like to see the source code
of a function or macro to be able to understand it better or learn
from the implementation. To do this I switch into an editor with
boot.clj, find and read the
)
- Updated looping methods to use clojure/loop
- Added a link on the wikibook
Best,
- Mark M.
On Fri, Oct 17, 2008 at 2:19 AM, mb [EMAIL PROTECTED] wrote:
Hi,
On 17 Okt., 00:14, Mark McGranaghan [EMAIL PROTECTED] wrote:
When I first started working with Clojure a while back I tried to get
my bearings
Now that we have remove (and sequential?), perhaps we should
redefine flatten and separate:
(defn flatten
Takes any nested combination of sequential things (lists, vectors,
etc.) and returns their contents as a single, flat sequence.
[x]
(remove sequential? (tree-seq sequential? seq x)))
Thanks Rich,
This is exactly the there must be a simple way to do this that I am
overlooking answer that I was hoping for.
- Mark
On Fri, Sep 19, 2008 at 8:25 AM, Rich Hickey [EMAIL PROTECTED] wrote:
On Sep 18, 8:49 pm, Mark McGranaghan [EMAIL PROTECTED] wrote:
Hi all,
I was wondering
49 matches
Mail list logo