Re: [ANN] Calfpath (v0.7.1), a fast and flexible Ring request router

2019-01-06 Thread Paul deGrandis
Hi Shantanu, Interesting project and congrats on the release! I think Alan was asking more about the runtime and space complexities. What is the core approach used in Calfpath? What is the runtime and space complexity? What are the ideal operational conditions and under what conditions

[ANN] Vase: data-driven microservices

2017-01-31 Thread Paul deGrandis
I'm very pleased to announce the availability of Vase - a library for writing declarative, data-driven microservices. With Vase, HTTP services can be created within minutes, complete with database integration and data validation. I first described Vase

Re: Frustrations so far

2016-07-25 Thread Paul deGrandis
Similar to James' ring-anti-forgery message, as the maintainer of Pedestal, I'd also like to know if you had issues with Pedestal (specifically, on the Pedestal mailing list ). In general, I think most maintainers want to know about

Re: [ANN] pedestal-api 0.2.0 release - Swagger for pedestal

2016-06-09 Thread Paul deGrandis
Congrats! -- 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

Re: IoT: Clojurescript -> Jerryscript?

2016-05-31 Thread Paul deGrandis
Hi Gregg, I've previously used ClojureScript to target other JavaScript engines (on small devices and on Android), without any issue. You shouldn't need to do anything special, but if something comes up and you hit a snag, just post here. Good luck and have fun! Cheers, Paul -- You

Re: Clojure beyond Java 6 ?

2016-01-19 Thread Paul deGrandis
Hi All, Jloj is/was a quick spike into what it'd take to make interop play nicely with later Java features (New trait-like interfaces, FunctionalInterface, Optional, Lambdas, Streams, etc.) It's mostly focused on making the Java side more Clojure-like, but does have support for loads of

Re: best practice with forked libraries

2015-11-17 Thread Paul deGrandis
In addition to Ray's response (which I would also suggest), I'd encourage you to reach out to the project maintainer/author with your additions - it's always nice to see how your project is being used and the shortcomings that others are hacking around. Cheers, Paul -- You received this

Re: How is core.async/go related to go-lang's concurrency?

2015-10-12 Thread Paul deGrandis
I'm sure Timothy Baldridge will speak to the core.async specifics, but I'll offer a high level. libmill is a library for C coroutines (using jumps), with Go-style syntax. It's more similar to Lua's coroutines than Go's goroutines. In libmill, there is only one thread performing the

Re: Clojure/Pedestal vs Go

2015-09-14 Thread Paul deGrandis
Hi Alan, Thanks for reaching out on the Pedestal mailing list! Most web benchmarks care more about throughput and concurrent connection than latency, but sadly, nearly all benchmarks show these measurements as scalars instead of distributions. The "errors" number is the number of requests

Re: Advice on introducing a Java dev to Clojure

2015-07-23 Thread Paul deGrandis
I have had success here with a few approaches. For every company I work with that is new to Clojure, I provide them with a Quick Learn document. The document is split into 5-7 days, and every day they skim/read an article, poke around a resource (like ClojureDocs), and watch a talk.

[ANN] Pedestal 0.4.0 and doc updates

2015-05-26 Thread Paul deGrandis
Hi all, Pedestal https://github.com/pedestal/pedestal 0.4.0 has been released, featuring: - A very fast and efficient prefix-tree router - The ability to plug-in new routers - A simplified and improved Interceptor API - Advanced error handling capabilities for async systems - and

Re: [ANN] Pedestal 0.4.0 and doc updates

2015-05-26 Thread Paul deGrandis
Effort was invested in updating the `samples https://github.com/pedestal/pedestal/tree/master/samples` over the docs, since it seemed like more people used those and we knew there were architectural changes coming down the roadmap. We added the API docs http://pedestal.github.io/pedestal/

Re: [ANN] darwin and algebolic - genetic algorithms, and evolving mathematics

2015-05-17 Thread Paul deGrandis
It's great to see all of these! Thank you both! Cheers, Paul -- 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

Re: Embedded systems and transpiling Clojure to Nim

2015-05-11 Thread Paul deGrandis
Hi Alan, Yep, you can cross compile the output from Terra - you can even set it up to output compilations dynamically for any platform you want. Replacing LuaJIT with Lua would just be a matter of changing the library that you link when building Terra itself. As Timothy pointed out, Pixie is

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Paul deGrandis
This is for Sean specifically, but hopefully this will clear some things up for other people I would argue that Pedestal is perhaps objectively simpler than Ring. I would also add it's more performant, more flexible, and more secure (by default). In Pedestal, everything is an interceptor - a

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-05 Thread Paul deGrandis
Hi Sean, Pedestal's router is just an interceptor in the chain. You could easily write an interceptor that looks at the request and sees if it can resolve a var by that name. You could even stack multiple routers - first the var/fn lookup and failing that, a more explicit router. Cheers,

Re: Embedded systems and transpiling Clojure to Nim

2015-05-05 Thread Paul deGrandis
I'm just going to echo a few things - Timothy and I have talked at length about Clojure-like languages on other platforms. His ideas and general approach have led to some very promising work (Pixie), and I can personally vouch for RPython as a platform. My ideas led me to Terra (

Re: Clojure web server capacity

2015-04-22 Thread Paul deGrandis
Also note that Compojure (and Ring) applications are artificially limiting, because they cannot utilize the containers' full capabilities (Ring apps can't go async at the container level, they can't use NIO responses, etc). For these use-cases, you'll have to program directly to container

Re: Immutant survey

2015-04-02 Thread Paul deGrandis
Thanks for the summary! I just want to publicly say thanks for Immutant and the hard work you, Toby, and others put into it. It's a fantastic set of tools and libraries and deserves more recognition than it receives. Cheers, Paul -- You received this message because you are subscribed to

Re: State of the Art in Clojure Debugging

2015-03-30 Thread Paul deGrandis
Because of the blocking nature of vim-fireplace (really of vim itself), you'll have to run most of the debuggers from a live, dedicated repl. I've been slowly evolving my own debug-repl for a few years now. It works in a `user.clj` setting or in a project related file. At a quick glance, it

Re: A (foolish) plan to re-invent IO on top of core.async

2015-01-07 Thread Paul deGrandis
There was another discussion on this list regarding async IO and web servers. It may be rather informative to you: https://groups.google.com/d/msg/clojure/rKqT13Ofy4k/H9xvkZA9Yy4J To my knowledge, Pedestal is the only web library that let's you go async all the way down to the wire

Re: [ANN] Quickie 0.3.5

2014-10-16 Thread Paul deGrandis
Congrats on publishing the tool! Just to clarify - this isn't quite a parallel test runner. You're just testing the namespaces in parallel. Consider the case where you have 5 namespaces, 4 of which have a single test in them, and one of which has 100 tests in it. Assume all tests have two

ANN: Pedestal 0.3.1

2014-10-10 Thread Paul deGrandis
I'm extremely happy to announce the release of Pedestal 0.3.1 In this release you'll find many goodies: * NIO support * Immutant added as a platform type * Transit support * Improved SSE capabilities * A new route format * And more Please see the official release notes for all of the

Re: [ANN] Async Ring 0.1.0

2014-09-10 Thread Paul deGrandis
Hi David, It's excellent to see this tools and others like it (eg: Max Penet's Jet - https://github.com/mpenet/jet)! The more ideas we get in this area, the better all the tooling will become. There are a few things I'd like to clear about the notion of asynchronous processing in general and

Re: Code health metrics

2014-07-02 Thread Paul deGrandis
Hi Chris, I have long collected metrics on various Clojure code bases, and have had grand plans for automating the process with an open source tool. The metrics you look at depend heavily on what you care about - the most telling metrics I've used recently are Assertion Density [1], an

Re: clojurescript sandboxed code execution

2014-04-22 Thread Paul deGrandis
I would carefully question the desire for user stabilizability in this fashion, and then work through the quality attributes and design constraints for what you're trying to achieve. If what you end up needing is in fact an elisp-like system with closed/sandboxed functionality, one way to

Re: clojurescript sandboxed code execution

2014-04-22 Thread Paul deGrandis
I definitely mean user customizibility - sorry for the insane typo. -- 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

Re: alternative syntax for Clojure? Haskell?

2014-04-07 Thread Paul deGrandis
What projects specifically do you find lack documentation and well-organized code? If the problem statement is: Some projects have code that is not easily comprehended, the solution is contribution. If the problem statement is: Clojure lends itself to writing code that is not easily

Re: [ANN] Clojure 1.6

2014-03-25 Thread Paul deGrandis
Awesome work everyone! Thanks! Paul -- 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

Re: Finding maximum weighted graph matchings

2014-03-18 Thread Paul deGrandis
I've written general versions of Blossom and Blossom V in the past, and every so often a similar question comes up on this mailing list. I'd personally love to see both algorithms contributed to Loom if OP is up for the task. Paul -- You received this message because you are subscribed to

Re: [ANN] Cognitect

2013-09-16 Thread Paul deGrandis
Congrats! This is great news all around! Paul On Monday, September 16, 2013 6:50:46 AM UTC-7, Rich Hickey wrote: I just wanted to let everyone know that Metadata Partners (the company behind Datomic) and I have merged with Relevance, Inc., to form Cognitect, Inc. This merger is great for

Re: [ANN] optparse-clj: Functional GNU-style command line options parsing

2013-08-31 Thread Paul deGrandis
Aug 2013 at 05:02:50PM -0700, Paul deGrandis wrote: Guns, Have you signed a Clojure CA yet? I'd love to help get this merged into tools.cli Okay, since there is interest, I will mail a CA on Monday morning. Paul, if you are a maintainer or committer of tools.cli, I would be happy

Re: [ANN] optparse-clj: Functional GNU-style command line options parsing

2013-08-24 Thread Paul deGrandis
Guns, Have you signed a Clojure CA yet? I'd love to help get this merged into tools.cli Paul On Wednesday, August 7, 2013 10:18:06 AM UTC-7, guns wrote: On Wed 7 Aug 2013 at 05:35:41PM +0100, Wolodja Wentland wrote: Do you have a particular reason why you didn't simply add this

Re: Any suggestions for configuration solution in Clojure or Java world?

2013-06-17 Thread Paul deGrandis
I have wrapped up the Typesafe Config pieces, that can read EDN and HOCON in: https://github.com/ohpauleez/confil The project should be considered pretty alpha and the general interface may change. I also have plans to make two supplemental project: confil-literals (that bring along reader

Re: Future/Promise and not using threads

2013-05-30 Thread Paul deGrandis
I'm not entirely sure what you're trying to accomplish in a larger context, but perhaps you're looking for something like this? (delay (deref (future (and (Thread/sleep 2000) (+ 1 2) ... or maybe you want just `delay` Cheers, Paul On Thursday, May 30, 2013 6:09:02 AM UTC-7, David Pollak

Re: Future/Promise and not using threads

2013-05-30 Thread Paul deGrandis
Oh! I see, you want promises with callbacks (which you want to be futures). Once a promise is delivered, you want to kick off a future (in Clojure, futures consume a thread from the thread pool to do their work). It's been discussed before:

test.generative war stories / improvements

2013-05-10 Thread Paul deGrandis
Hi all, I'm looking for feedback from people who have used test.generative for their own projects. Specifically I'm looking for: * things that bugged you or got in your way * changes to signatures/args/function names/interfaces * things you really wanted test.generative to do, but couldn't

Re: Parallel code execution in ClojureScript?

2013-05-08 Thread Paul deGrandis
David is right, it can be done with workers. I created a proof of concept in Shoreleave to do this dynamically. The dynamic workers implemented IFn and supported IWatchable via the HTML5 Messaging API. https://gist.github.com/ohpauleez/2914039 About a month or so ago, I started creating a new

Re: [GSoC] Update: student proposal deadline; mentors, please sign up

2013-05-03 Thread Paul deGrandis
I'm a little behind the ball on my GSoC effort, but if you approve my mentor request, I'll happily go through the projects. Once I was interested in mentoring, I had to Start a connection with the Clojure organization. Regards Paul // ohpauleez On Friday, May 3, 2013 7:20:47 AM UTC-7, Daniel

Re: [ANN] Pedestal Application Framework

2013-03-29 Thread Paul deGrandis
Cedric, I don't own a printer, so I end up making heavy use of http://hellofax.com/ I'd point people there if they want to keep the whole process digital for themselves. Cheers, Paul -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: Clojure/West 2013 videos?

2013-03-25 Thread Paul deGrandis
I propose a challenge: Cedric, you pull together a top-notch conference, of high quality speakers with high-quality content. I expect... demand... I demand the following: - It must be in a beautiful, unique city within the united states. - The venue must provide me with free snacks and

Re: ClassNotFoundException when using fetch RPC from cljs

2013-03-21 Thread Paul deGrandis
If you're up for the challenge, I'd encourage you to migrate from Noir to Compojure+Ring and from Fetch to Shoreleave remotes. I have much appreciation for Chris and his works, but the recent additions of the EDN reader are in the latter stack combination. You also get benefits like CSRF and

Re: [ANN] Complete authentication app using Compojure and lib-noir

2013-03-08 Thread Paul deGrandis
Cool! Thanks for building a nice example app. Paul -- -- 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

Re: ANN: Iota 1.0.2 release (Reducers for text files)

2013-03-06 Thread Paul deGrandis
I agree, this is a really cool project. Nice 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

ANN: Shoreleave 0.3.0

2013-02-28 Thread Paul deGrandis
Shoreleave is a collection of integrated libraries for building ClojureScript applications that focuses on: * Security * Idiomatic interfaces * Common client-side strategies * HTML5 capabilities * ClojureScript's advantages Version 0.3.0 has been released across all modules. There is also

Re: Securing Clojure + Clojurescript Web App

2013-02-26 Thread Paul deGrandis
Friend + Shoreleave's CSRF protection gets you most of the way there. The rest is up to you (iptables, ssh lock down, etc). Paul On Tuesday, February 26, 2013 9:30:18 AM UTC-8, Akhil Wali wrote: Here's a good screencasthttp://www.clojurewebdevelopment.com/videos/friend-interactive-formto

Re: *read-eval* vulnerability

2013-01-30 Thread Paul deGrandis
I like the idea of setting the default to false. This potentially does break some code, but perhaps it breaks unknowingly insecure code - which is a pretty big bonus. I'd love it if I upgraded to a new release of Clojure and my app toppled down because of my own shortsightedness. An

Re: Natively Compiled Clojure

2013-01-28 Thread Paul deGrandis
I personally have no limitations with Clojure and the JVM for general development. Like Mark mentioned, I have a need to embed runtimes within C systems, with a small memory footprint (ideally less than 5 Mb) fast execution, and a solid FFI. Giving up some raw performance to get some benefits

Re: Natively Compiled Clojure

2013-01-27 Thread Paul deGrandis
As far as embedding Clojure is concerned, another option is ClojureScript-Lua + LuaJit + C. I've recently started going through the CLJS-Lua source to see how viable this is. I am holding off committing any serious effort until I see the talk at Clojure/West. C + Python + ClojurePy2 could fit

Re: Natively Compiled Clojure

2013-01-27 Thread Paul deGrandis
Additionally, you might also consider ClojureScript itself. With a little work you could embed V8 into your application (https://developers.google.com/v8/embed). Martin Trojer just wrote a really nice blog post on embedded runtimes - http://martinsprogrammingblog.blogspot.co.uk/ All that

Re: Clojure Conj Videos

2013-01-08 Thread Paul deGrandis
Thanks for the update Lynn! Paul On Tuesday, January 8, 2013 7:06:32 AM UTC-8, Lynn Grogan wrote: Alright, the first 2012 video is up on Youtube: http://www.youtube.com/watch?v=Mfsnlbd-4xQ. Chris Ford on Functional Composition. Expect 1-2 more videos every day. Cheers! Lynn On

Re: CLJS: Issue with requiring goog.storage.mechanism.HTML5LocalStorage (?)

2013-01-08 Thread Paul deGrandis
Hi Frank, Two situations cause this error: - Sometimes paths to the third-party jar get jangled up. - Names/paths will sometimes change slightly between the dev releases and the final official releases of the Goog jar. (This is happening a lot with HTML5 stuff) In both cases you just have to

Re: Client-Server comunication with shoreleave

2013-01-07 Thread Paul deGrandis
Hi Francesco, Robert Stuttafird's example might help you out: https://github.com/robert-stuttaford/demo-enfocus-pubsub-remote You may also want to use the remote macros on the client side, they might clean up the code for you a bit. (ns CLJS-NS (:require-macros

Re: New System Architecture in Clojure

2012-12-11 Thread Paul deGrandis
I would take a look at MIT's Pyxis for help. The publications and work sounds very similar to what you're shooting for: http://web.mit.edu/newsoffice/2012/making-web-applications-more-efficient-0831.html Paul -- You received this message because you are subscribed to the Google Groups Clojure

Re: abysmal multicore performance, especially on AMD processors

2012-12-08 Thread Paul deGrandis
My experiences in the past are similar to the numbers that Jim is reporting. I have recently been centering most of my crunching code around reducers. Is it possible for you to cook up a small representative test using reducers+fork/join (and potentially primitives in the intermediate steps)?

Re: Current status of Clojure on Android?

2012-11-27 Thread Paul deGrandis
Curtis, I have successful built a ClojureScript app that uses SL4A (Rhino). The startup time is an issue, the performance isn't great but is acceptable. If you're just prototyping something or need a tool for in-house use - this is one alternative. Given the work and efforts that Cesar

Re: Promise for ClojureScript?

2012-11-26 Thread Paul deGrandis
Hi Frank, I have a discussion about promises in CLJS using Closure's Result: http://www.pauldee.org/blog/2012/clojurescript-and-node-js-an-experience-report/ Bodil is also working on the underpinnings of a proper CLJS promise (potentially specific to Node.js):

Re: Where did the idea of metadata come from?

2012-11-13 Thread Paul deGrandis
Here's one use case: Let's say you want to develop a library that monitors system behavior and resources while functions are executed (or while collections are processed). You might have a collection of monitoring functions (we'll call them sensors) that check various things, like disk I/O

Re: Documenting clojure data structures

2012-10-31 Thread Paul deGrandis
If your concern is passing around associative data, contracts and general membership functions are the two most common approaches. If you're dealing with some unknown thing, you can see what protocols it satisfies and what functions/operations those protocols specify. Doc strings should be

Re: MVC / Observer Immutable Data

2012-10-31 Thread Paul deGrandis
Hi Alexey, MVC as an architectural style is very common in functional programming, but it manifests itself differently as a software pattern. Separating the data from functions that process and shape it, and functions that polish and present it is always a good idea. This is the core concept

Re: Documenting clojure data structures

2012-10-31 Thread Paul deGrandis
This sounds like a fantastic approach. Do you have any of your thoughts of how the spec would look like publicly available? (or maybe a github project) It's not in the public currently but I'm hoping to have something together for consumption by Conj (Nov 14th). At this time, the

Re: About code help: is it ok to ask for how to improve?

2012-10-30 Thread Paul deGrandis
In addition to suggestion by Nicolas, you should also feel free to pop on IRC and join #clojure. Posting a question and gist in IRC is a great way to get quick feedback, advice, and general help. Paul On Tuesday, October 30, 2012 2:50:27 PM UTC-7, Sean S wrote: Extremely new to clojure, so

Re: CLJS: println stopped working (r1514) ?

2012-10-23 Thread Paul deGrandis
Frank, Do you have an open issue for this? if not, please do so and attach all the information you can. I can start digging in on this. Paul -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: code design in clojure

2012-10-18 Thread Paul deGrandis
Brian, Those are two excellent books. If you are looking at more general project organization and approaches, I'd suggest: - Just Enough Architecture (specifically its discussion on architectural evident coding) - watch the Halloway talks on evident code - thumb through Ring, Leiningen, and

Re: Clojure turns 5

2012-10-17 Thread Paul deGrandis
Whoa, five years?! So awesome. Congrats! -- 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

Re: ANN: a Clojure docs site, and github organization

2012-10-04 Thread Paul deGrandis
This is great to see. Along side efforts like Fogus' REPL love - http://readevalprintlove.fogus.me/ - we're well on our way fixing the documentation problems in our community. I could definitely see something like this migrating into docs.clojure.org once it reached maturity. Huge thanks to

Re: ANN: a Clojure docs site, and github organization

2012-10-04 Thread Paul deGrandis
Sorry, I couldn't resist the temptation to remind you of this: http://www.ted.com/talks/derek_sivers_keep_your_goals_to_yourself.html DOh! (and this is one of my favorite TED talks!) Indeed, I didn't mean to state what was going to done before it was done - just that I was happy to see

Re: Evolving the Clojure contribution process and goals

2012-09-20 Thread Paul deGrandis
Stuart: Regarding making clojure.test/clojure.string/etc. contrib libraries, does it make sense to also move clojure.core to a contrib style library. The idea here would be that Clojure 1.6 is the bundling of all smaller Clojure lib/contrib subsets, whose version number is always in sync

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread Paul deGrandis
Andy - you're the perfect model of someone stepping up from the community and making the situation better for everyone. I'm sure I speak for a large population when I say, Thank You. For sure, I'd love to see an updated ClojureDocs-like system, hooked up to the build process and integrated

Evolving the Clojure contribution process and goals

2012-09-18 Thread Paul deGrandis
Clojure Conj is nearly upon us. Last year there was a very positive meeting to discuss and help improve the contribution process. This year I thought it might be helpful to get some ideas on the table and refined by the community before the Conj. This has also been a common topic in #clojure.

Re: ClojureScript and development workflow

2012-09-10 Thread Paul deGrandis
Hi Laurent, I've been putting a few ClojureScript apps into production throughout this year with much success. Because of earlier limitations/sensitivities in the browser-repl, my workflow is a little different than those described above. Typically I: - have cljsbuild-auto running - use the

Re: Fund raiser for our projects

2012-09-05 Thread Paul deGrandis
We keep bringing up the same social problem: We have brilliant people contributing quality code, with a lack of documentation, polish, and to some degree community management/engagement. The solution is simple: help out by writing or improving documentation, building demo apps, writing

[ANN] Shoreleave 0.2.2 - a library for production-ready ClojureScript

2012-09-04 Thread Paul deGrandis
Shoreleave is a collection of libraries for building robust, production-ready ClojureScript applications. It was created in parallel while making production ClojureScript applications and is running systems in the wild. Shoreleave includes: * idiomatic interfaces for browser functionality and

Re: A succinct reasonably fast sudoku solver in core.logic

2012-07-31 Thread Paul deGrandis
On Tuesday, July 31, 2012 11:48:14 AM UTC-4, David Nolen wrote: A much shorter version using an everyo goal I just landed in master: http://gist.github.com/3217582 That is easily the clearest sudoku solver I have ever seen. It reads *exactly* like the rules of the game. Great stuff

Re: ClojureScript instead of CoffeeScript for complete web app development?

2012-06-14 Thread Paul deGrandis
I've been building out substantial ClojureScript apps for a few months now. Previously I had written an HTML5 game engine, so I'm no stranger to lots of JavaScript. My CLJS code base is smaller, easier to organize/maintain, more functional and declarative, and boasts a level of server-side

Re: The Kiln, an Evaulation Strategy for Insanely Complex Functions

2012-05-10 Thread Paul deGrandis
Marc, Nicely done! I've done something similar before as well. This was basically my point earlier: Dispatch tables (and maps in general), unification, and closures seem to solve the same problem, are composable, don't introduce nouns/types/metaphors, are open for extension and closed for

Re: The Kiln, an Evaulation Strategy for Insanely Complex Functions

2012-05-06 Thread Paul deGrandis
Can you give a better example of insanely complex functions? I actually think that FP is ideal at modeling, representing, and managing data-flow, stream-based, or request/response data. Kiln seems to encourage a sort of imperative style to these operations, where associative data (like hashmaps)

Re: ClojureScript with embedded (java applet)

2012-04-23 Thread Paul deGrandis
Rather than battle the challenges of Java Applets, could you possibly expose the functionality via Fetch (RPC over HTTP from within ClojureScript)? https://github.com/ibdknox/fetch Regards, Paul (OhPauleez) On Apr 23, 7:23 am, Laurent PETIT laurent.pe...@gmail.com wrote: Hello, I've read

Re: ClojureScript with embedded (java applet)

2012-04-23 Thread Paul deGrandis
the application above. Paul On Apr 23, 9:59 am, Laurent PETIT laurent.pe...@gmail.com wrote: 2012/4/23 Paul deGrandis paul.degran...@gmail.com Rather than battle the challenges of Java Applets, could you possibly expose the functionality via Fetch (RPC over HTTP from within ClojureScript)? https

Re: Clojure alternatives to Esper

2012-04-23 Thread Paul deGrandis
I've had some success using Esper directly in Clojure for an internal project at work. Are you just looking to avoid interop? Are you just curious about what other Clojure-specific options exist? Or is there a specific tradeoff, design constraint, or quality attribute you're working with? Paul

Re: kibit 0.0.3

2012-04-02 Thread Paul deGrandis
Great work all around! It's exciting to see Kibit get so much use. Paul On Apr 1, 2:29 pm, Jonas jonas.enl...@gmail.com wrote: I'm happy to announce the release of kibit[1] version 0.0.3. New in this release include: * much better reporting * a more advanced rule system * more rules *

Re: Google Summer of Code 2012 - any mentors?

2012-03-05 Thread Paul deGrandis
I'll happily be a backup mentor. I've gone through the Summer of Code program twice as a student (Nmap and PyPy). I'll actively help any mentor or pair with any student. Paul On Mar 5, 10:38 am, David Nolen dnolen.li...@gmail.com wrote: Thanks! Unless somebody else wants to - I'm willing to

Re: Clojure for Android

2011-08-16 Thread Paul deGrandis
I'd consider taking this. I've worked a little bit behind the scenes to get Clojure to run better for me personally on android. Recently, I've been working to get ClojureScript to work well for SL4A (Scripting Layer for Android). I wanted to try to get a native Clojure package working for SL4A,

ANN: cljs-android - ClojureScript on the Android

2011-07-31 Thread Paul deGrandis
Hi All, I'd like to announce cljs-android - ClojureScript on the Android. This is accomplished via the scripting layer for Android (SL4A), and gives you full access to the entire Android API from within ClojureScript. GitHub: https://github.com/ohpauleez/cljs-android Currently, the interface is

Re: Architecture for a Clojure project

2011-05-27 Thread Paul deGrandis
The architecture of a large system should designed independent of the language in which you're working You should strive to identify the architecture styles you need for your problem domain, and then intelligently compose them with connectors that help fulfill your nonfunctional

Re: Idiomatic way to document defn's

2011-05-13 Thread Paul deGrandis
I've adopted: (defn create-session! Create shared sessions and their associated channel. Arguments: some-req-arg - a vector, something descriptive. [session-id] - a String, the session's identifier. [auto-generated UUID] Returns: m - a MapEntry, the stored session Notes:

Re: Learning Idiomatic Clojure

2011-05-12 Thread Paul deGrandis
I'll also jump on that, I'm on my second or third full read of Joy of Clojure. Just a great book about the why and when of the language features (why does feature X exist, when should I use it, when am I abusing it). Paul On May 12, 2:55 pm, Sean Corfield seancorfi...@gmail.com wrote: I'll +1

Re: Reading clojure code of larger domain specific projects

2011-05-10 Thread Paul deGrandis
You might want to take a look at the clojars project: https://github.com/ato/clojars-web It's not quite to the scale you're looking for, but it's a start. Also keep in mind that a lot of business apps in Clojure look more like libraries (for a specific domain problem) than applications, so

Re: Reading clojure code of larger domain specific projects

2011-05-09 Thread Paul deGrandis
I really like the code in Stuart Sierra's lazytest: https://github.com/stuartsierra/lazytest/tree/master/modules/lazytest/src/main/clojure/lazytest The code in Enlive is also a really great read: https://github.com/cgrand/enlive I also would recommend going through compojure. Pau On May 9,

Re: ANN: Jark 0.3 (using the nrepl protocol)

2011-05-06 Thread Paul deGrandis
Out of curiosity, have you finished adapting Jark for use with VimClojure? I'd love to have a Jark+nREPL+VimClojure stack for editing. Paul On May 6, 12:48 pm, Chas Emerick cemer...@snowtide.com wrote: It's great to see nREPL being used for such things. FYI, I just released nREPL 0.0.5,

Re: Declarative Data Models

2011-04-30 Thread Paul deGrandis
I'm not exactly sure of your specific use case, but you should take a look at clojure.template. It could be what you're looking for. http://clojuredocs.org/clojure_core/clojure.template Paul On Apr 30, 3:39 am, Ambrose Bonnaire-Sergeant abonnaireserge...@gmail.com wrote: Hi David, I can

Re: Executing Future

2011-04-28 Thread Paul deGrandis
Another great resource for Clojure is ClojureDocs. The doc for 'future' has a simple example: http://clojuredocs.org/clojure_core/clojure.core/future Not only does it show you the doc string and an example, if your scroll down you can see the source code for the function. You'll see that lot

Re: Logos - core.logic

2011-04-28 Thread Paul deGrandis
This is quality work David, that I feel opens up Clojure to even more exciting domains. I'd love to get involved in helping your second goal. As ideas and projects come up, please advertise them on the list or email me directly. Paul On Apr 28, 8:59 am, David Nolen dnolen.li...@gmail.com

ANN: SoyMacchiato - JDK7 for OS X

2011-04-20 Thread Paul deGrandis
Hi All, I've been doing some experimentation with Clojure on various setups of Java/JDK 1.7, including the DaVinci Machine enhancements. In the process I distilled the build process to a few scripts and pre- compiled some binaries for others. To download the binaries or compile a custom JVM

Re: ANN: Clojure Atlas (preview!)

2011-04-19 Thread Paul deGrandis
This is a great piece visualization for Clojure and very much how I think about the language as I'm working with it (based on the pictures and descriptions). This is a nice niche piece of documentation for the community, power users, and newly emerging Clojure shops. Is your freemium model

Re: Who's using Clojure?

2011-04-19 Thread Paul deGrandis
I also know of Clojure being used by Algorithmics, Comcast, and Etsy. I'm not sure if they are all still deploying Clojure, but they were all using it at one time or another. Paul On Apr 19, 12:04 pm, Alex Miller a...@puredanger.com wrote: We're using Clojure at Revelytix (7 people, several

Re: Future of clojure.contrib.core/-? macro

2011-04-18 Thread Paul deGrandis
I very much like the -? and -? macros and fine them pretty useful. I'd support their addition into core. Also, regarding Konrad's comment: I also find a lot of random one-off things in old contrib that I think are useful to use as well as to read through some of the source. I think something

Re: Future of clojure.contrib.core/-? macro

2011-04-18 Thread Paul deGrandis
Rich, Thanks for the feedback and righting some things for me. Can you speak to the -? and -? macros, specifically if you think nil should be handled differently, or if these macros code find a new home in core? That said, I'd happily pitch in and help maintain a handful of the contrib libs for

Re: ANN: Clojure Toolbox (Early Beta)

2011-02-25 Thread Paul deGrandis
James, this is awesome stuff! I don't want to crowd up the space, but I'd love to see a section for Machine Learning projects (and perhaps lump nlp and collective intelligence into that). I also think screen-scraping would be worth considering. Paul On Feb 25, 10:38 am, Allen Johnson

Re: Best practices for protocols

2010-10-15 Thread Paul deGrandis
In this case I would most certainly use multimethods. This is the perfect use case for them. If you want your views themselves to have certain forms, you may consider applying protocols there. Paul On Oct 15, 8:57 am, Laurent PETIT laurent.pe...@gmail.com wrote: 2010/10/15 K.

  1   2   >