[ANN] Clojure 1.9.0-alpha20

2017-09-08 Thread Joel Holdbrooks
Are there any plans to make the ## reader macro extensible in the future? -- 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

ANN: remote - DSL for clj-http/cljs-http

2015-06-26 Thread Joel Holdbrooks
Are you tired of writing the same clj-http/cljs-https boilerplate? Looking for an easy way to express an endpoint or a service API? Then "remote" is the library for you! Github: https://github.com/outpace/remote Leiningen: [com.outpace/remote "0.3.1"] This library has been closed source up unti

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2015-04-24 Thread Joel Holdbrooks
On Saturday, April 11, 2015 at 8:40:07 AM UTC-7, kovas boguta wrote: > On Sat, Apr 11, 2015 at 10:46 AM, Malcolm Sparks   > > So, in summary, I think it would be useful to have a single 'default' routing > library in Clojure that supported isomorphism and was built on protocols, as > a minimum.

Re: Too many words written on referential transparency in Clojure and Haskell

2015-04-22 Thread Joel Ericson
ty except mine survived the project. Joel On Wed, Apr 22, 2015 at 6:25 PM, Maik Schünemann wrote: > Andy Fingerhut writes: > > > Dave, you say "seq on a set cannot be pure unless you were to provide an > > argument to explicitly specify which order the items should be

Re: State of Clojure/ClojureScript 2014 survey results

2014-10-24 Thread Joel Holdbrooks
On Thursday, October 23, 2014 8:59:21 AM UTC-7, Alex Miller wrote: > I've published links to the State of Clojure and ClojureScript 2014 survey > results here: > http://blog.cognitect.com/blog/2014/10/20/results-of-2014-state-of-clojure-and-clojurescript-survey > > > > That page links to some r

Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-07 Thread Joel Holdbrooks
I'm in agreement that Silk is a step in the right direction. I've reached out to Dom and I think we can learn a lot from each other and work together to improve the routing story in Clojure overall. > There are some really good things in secretary. What do you think about them? > Splat, regex,

Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-06 Thread Joel Holdbrooks
> Bidirectional routes are indeed especially important to render and dispatch > routes in Om etc. In secretary its a bit awkward since you have to write > stuff like (defroute front-page "/" [] :front-page) and then a separate > thingie for matching the keywords back to the routes. We have writ

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-06 Thread Joel Holdbrooks
e already have several vanilla functions for adding/removing routes that could easily be made stateless. The three of us (myself, Gianni, and Joel) have been busy and just haven’t had the chance to fix it. Anyway, you’ve done a great job enumerating your reasons for writing Silk and flaws about Secr

Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-05 Thread Joel Holdbrooks
Edit: s/\(routers in the Clojure\)Script/\1 -- 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 uns

Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2014-08-05 Thread Joel Holdbrooks
Awesome work. It's fantastic to see a library that's interested in targeting both the front-end and the back-end. This is the type of attitude I would love to see more often in the Clojure community. OTOH, it would have been awesome to have heard your thoughts WRT the concept of isomorphic rout

Re: ANN: ClojureScript 0.0-2227

2014-05-26 Thread Joel Holdbrooks
On Thursday, May 22, 2014 8:18:06 AM UTC-7, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > > README and source code: https://github.com/clojure/clojurescript > > > > New release version: 0.0-2227 > > > Leiningen dependency information: > > >

Re: [ANN] core.async (and more) video tutorials

2014-05-24 Thread Joel Holdbrooks
Zippers might be another good topic. They ship with Clojure and are a bit mystical to folks who are curious but don't know how to get started. On Wednesday, May 21, 2014 3:32:55 PM UTC-7, tbc++ wrote: > > From time to time I get asked to do more writing on core.async, and I've > come to the real

[ANN] Garden 1.1.7

2014-05-24 Thread Joel Holdbrooks
Garden, a library for authoring stylesheets in Clojure and ClojureScript, is now 1.1.7. ADDED: Support for :preamble IMPROVED: Support for meta data in garden.def/* macros https://github.com/noprompt/garden -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: Garden, Thorn - Looking for contributors

2014-03-27 Thread Joel Holdbrooks
Thanks! I'll be in touch. On Tuesday, March 25, 2014 1:54:23 PM UTC-7, Alan Moore wrote: > > Joel, > > Count me in... > > You can contact me offline at kahunamoore coopsource org > > Thanks for this library! > > Alan > > > On Tuesday, March 25, 20

Re: Garden, Thorn - Looking for contributors

2014-03-27 Thread Joel Holdbrooks
I've answered this question numerous times and am convinced I need to write a blog post so I can just drop a link. In general the biggest win is that you can use Clojure and all of the facilities therein to write more sophisticated stylesheets. Large CSS codebases are notoriously hard to manage

Garden, Thorn - Looking for contributors

2014-03-22 Thread Joel Holdbrooks
will also be in San Francisco tomorrow until Tuesday for Clojure/West if you'd like to discuss these items in person. Truly, Joel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Re: CLJS Advanced Compilation & JS Libraries lacking externs

2014-03-16 Thread Joel Holdbrooks
I notice you mention: > For some JavaScript libraries there is an acceptable workaround Under what circumstances would this not be acceptable? On Friday, March 14, 2014 5:39:06 PM UTC-7, David Nolen wrote: > > I've written up an explanation how to make this work > http://swannodette.github.io/2

Re: CLJS Advanced Compilation & JS Libraries lacking externs

2014-03-16 Thread Joel Holdbrooks
This is brilliant. Thanks for sharing! On Friday, March 14, 2014 5:39:06 PM UTC-7, David Nolen wrote: > > I've written up an explanation how to make this work > http://swannodette.github.io/2014/03/14/externs-got-you-down/ > > David > -- You received this message because you are subscribed to t

ANN: lein-garden 0.1.6

2014-02-23 Thread Joel Holdbrooks
lein-garden the plugin for automatically compiling Garden stylesheets has been updated to version 0.1.6. https://github.com/noprompt/lein-garden This release fixes a bug where an unnecessary exception would be thrown for valid identifiers. -- You received this message because you are subscrib

Re: ANN: om-sync

2014-02-22 Thread Joel
I'm interested in this thread, it does seem however that DerbyJS is farther ahead in this type of work though. I was looking for a similar JVM stack, but not sure how to put it together as well. Atmosphere seems like it fits for the basic communication even including pubsub. Derby updates the v

ANN: ankha (Om data inspector)

2014-02-22 Thread Joel Holdbrooks
Ankha is a generic data inspector for use with Om. You can use it to interactively view your application's state or any other supported data structure (see README). Learn more here: https://github.com/noprompt/ankha Comments, suggestions, and patches welcome. Expect more features to come. --

Re: pretty-exception middleware for ring

2014-02-19 Thread Joel Holdbrooks
This is another fantastic idea. I'd definitely love to expand on this technique. Great work! On Thursday, February 13, 2014 8:39:58 AM UTC-8, bob wrote: > > Hey, > > a simple exception middle-ware for ring, maybe useful for some,maybe none. > it catch exceptions and print, meanwhile the source

Re: hooks on "namespace required/loaded"

2014-02-18 Thread Joel Holdbrooks
I know we talked a bit about this in IRC but this is a hack you could use to slurp the file's contents into a string in that file: (ns foo.core (:refer-clojure :exclude [slurp])) (defmacro slurp [file] (clojure.core/slurp file)) ;; In CLJS (ns bar.core (:require [foo.core :include-mac

Re: [ANN] Clojure 1.6.0-beta1

2014-02-15 Thread Joel Hodbrooks
Actually, truthy? = boolean.  Anyway, throw everything I said in the trash. :-) No more sleepy posts to the ML from me. On February 15, 2014 at 1:02:43 PM, Alex Miller (a...@puredanger.com) wrote: truthy? = identity falsey? = not -- You received this message because you are subscribed to

Re: [ANN] Clojure 1.6.0-beta1

2014-02-15 Thread Joel Hodbrooks
That’s fair. On February 15, 2014 at 1:02:43 PM, Alex Miller (a...@puredanger.com) wrote: truthy? = identity falsey? = not -- 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

Re: [ANN] Clojure 1.6.0-beta1

2014-02-14 Thread Joel Holdbrooks
As an addendum to my last comment, *not-nil?* would also be a good candidate. That really doesn't leave room for doubt. This: (some? false) ;; => true Would confuse me. On the other hand this: (not-nil? false) ;; => true Would not. There's really no need to complicate the naming story

Re: ANN: Om 0.4.0

2014-02-14 Thread Joel Holdbrooks
On Friday, February 14, 2014 5:00:10 AM UTC-8, Tatu Tarvainen wrote: > Btw, I seem to get the following compiler errors after upgrading om from > 0.3.6 to 0.4.0 > > > (clojurescript version is 0.0-2138) > > > WARNING: Use of undeclared Var om.core/specify! at line 570 out\om\core.cljs > WARNIN

Re: ANN: [lein-describe 0.1.0] plugin for displaying detailed information about Clojure projects

2014-02-05 Thread Joel Holdbrooks
Oh, hey, thanks. I didn't catch that. Great copy/paste fail, eh. Maybe next time post an issue to the Github. :-) On Feb 5, 2014, at 8:29 PM, Atamert Ölçgen wrote: > I posted to the correct thread. Check the project.clj please. > > > On Thu, Feb 6, 2014 at 12:05 PM, Joel Hol

Re: ANN: [lein-describe 0.1.0] plugin for displaying detailed information about Clojure projects

2014-02-05 Thread Joel Holdbrooks
Check which project.clj? You posted a link to lien-garden. Am I missing something here? On Wednesday, February 5, 2014 8:29:35 PM UTC-8, Atamert Ölçgen wrote: > > I posted to the correct thread. Check the project.clj please. > > > On Thu, Feb 6, 2014 at 12:05 PM, Joel Holdbrook

Re: [ANN] garden-watch

2014-02-05 Thread Joel Holdbrooks
Interruptsoftware.com > > > On Wed, Feb 5, 2014 at 11:04 PM, Joel Holdbrooks > wrote: > The idea to watch edn or garden files was a consideration of lein-garden but > decided against it because, personally, I felt it was giving up a lot. > However, some folks may prefer

Re: ANN: [lein-describe 0.1.0] plugin for displaying detailed information about Clojure projects

2014-02-05 Thread Joel Holdbrooks
Wat? I think you may have meant to post this comment somewhere else. That's certainly not the case. But I think I did forget to share the link which is: https://github.com/noprompt/lein-describe On Wednesday, February 5, 2014 6:23:25 PM UTC-8, Atamert Ölçgen wrote: > > The project URL is "https:

Re: [ANN] garden-watch

2014-02-05 Thread Joel Holdbrooks
The idea to watch edn or garden files was a consideration of lein-garden but decided against it because, personally, I felt it was giving up a lot. However, some folks may prefer this approach and, hopefully, it suits them just as well. On Wednesday, February 5, 2014 4:45:43 AM UTC-8, frye wrot

ANN: [lein-describe 0.1.0] plugin for displaying detailed information about Clojure projects

2014-02-02 Thread Joel Holdbrooks
lein-describe Have you ever be involved in a Clojure project and wondered "how are these dependencies used?" or "what do these plugins do?". This plugin can help you answer those questions. lein-describe provides detailed information about Clojure project dependencies and plugins. With a singl

Re: [ANN] clj-refactor.el 0.10.0

2014-02-02 Thread Joel Holdbrooks
Slam dunk! Looking forward to trying this out. -- 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 u

Re: [ANN] clj-refactor.el 0.10.0

2014-02-02 Thread Joel Holdbrooks
Slam dunk! Looking forward to trying this out. On Thursday, January 30, 2014 5:13:36 AM UTC-8, Magnar Sveen wrote: > > clj-refactor.el > Since the last update, there's been lots of activity for > clj-refactor.el > . Alex Baranosky

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-05 Thread Joel Holdbrooks
As a suffix to my last reply; if Hy were capable of delivering acceptable truthy semantics and persistent data structures, I might recommend it. On Saturday, January 4, 2014 9:44:08 AM UTC-8, g vim wrote: > > On 04/01/2014 17:28, gaz jones wrote: > > Why not just use Ruby or (my preference) Pyth

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-05 Thread Joel Holdbrooks
As one of the original contributors to Rouge I will definitely agree that it does need a lot of work. That being said, if there's interest and pull requests are submitted the original author or myself typically chime in. Both of us have been busy with other projects/life and haven't done much w

Re: AnNN: ClojureScript 0.0-2120

2013-12-13 Thread Joel Holdbrooks
Woohoo! Yes! Thank you! On Friday, December 13, 2013 7:15:40 AM UTC-8, David Nolen wrote: > > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > New release version: 0.0-2120 > > Leiningen dependency infor

Re: Import dbpedia data into neo4j using clojure

2013-12-02 Thread Joel Holdbrooks
I'm not certain where the Transient error is coming from but as far as Neo4J is concerned have you considered using the neocons library to help you with your import? It provides a decent wrapper for working with Neo4J and perhaps it will spare you some headache. IIRC it does batch inserts. Have

Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Joel Holdbrooks
This exactly the sort of project I've been hoping for to get others to take a serious look at using Clojure. While its unfortunate some developers will not look at a language until it has a comfortable entry point, it's a real barrier for adoption. Caribou looks like it has the potential to spe

Re: [ANN] Garden 1.0.0 released

2013-10-04 Thread Joel Holdbrooks
pp in the Clojure Cup. We didn't do anything advanced but it spared us one less language! Joel On Oct 4, 2013, at 9:39, james borden wrote: > Nice Joel! Thanks for making css a function. > > I suggest that others check this library out. It is a very compelling clojure > al

[ANN] Garden 1.0.0 released

2013-09-26 Thread Joel Holdbrooks
erested in hearing new ideas and getting feedback from the community. Sincerely, Joel -- -- 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 mode

Re: Emacs font and theme for clojure

2013-09-26 Thread Joel Holdbrooks
I've been using the noctilux-theme with Oxygen Mono or Liberation Mono . On Thursday, September 26, 2013 7:51:44 AM UTC-7, Murtaza Husain wrote: > > H

Re: [ANN] clojure-sql 0.1.0: relational algebra in clojure

2013-09-19 Thread Joel Holdbrooks
This looks really nice Carlo! It'd be even better if it were on GitHub so I could star it :). But I'm definitely going to take a look at this when I'm in the SQL world again. On Wednesday, July 3, 2013 1:48:07 AM UTC-7, Carlo wrote: > > Hey guys! > > I've been working on a small library to make

Re: [ANN] Ayler - A simple namespace/documentation browser

2013-09-12 Thread Joel Holdbrooks
This is really cool! Nice work! On Wednesday, September 11, 2013 8:35:31 AM UTC-7, babysnakes wrote: > > Hi > > As a clojure noob I constantly find myself browsing through various API > docs to see what's available in a library. While this data is available in > a REPL it's not easy to look for

[ANN] Shodan: ClojureScript console API wrapper

2013-09-06 Thread Joel Holdbrooks
odeJS. Thanks, Joel -- -- 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: Emacs Clojure mode : No syntax highlighting for #_

2013-08-29 Thread Joel Holdbrooks
something nifty like that. I think that's possible in the gui version of Emacs. On Thu, Aug 29, 2013 at 1:58 AM, Laurent PETIT wrote: > 2013/8/29 Joel Holdbrooks : > > I would imagine it is intended since #_ is a reader macro. #_ is not > > intended for commenting. Rather, it i

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-08-28 Thread Joel Holdbrooks
I would imagine it is intended since *#_* is a reader macro. *#_* is not intended for commenting. Rather, it instructs the Clojure Reader to ignore entirely the subsequent form. This is much different from the *comment*macro (which simply takes any number of arguments and returns nil) or the *;

Re: Searching for Regular Expressions in a file

2013-08-12 Thread Joel Holdbrooks
You could use *line-seq* which, if I'm not mistaken, is lazy. Then do your regex search line by line lazily. On Monday, August 12, 2013 4:25:15 PM UTC-7, JvJ wrote: > > Is there a way to do a regex search over an entire file without loading > the file into memory? > -- -- You received this me

Re: Invalid token exception on a / operator

2013-08-01 Thread Joel Holdbrooks
I've been stung by this too. One work around I use is *(:refer-clojure :exclude [/])* and *(:require [some.ns :refer [/])* in my *ns* form. Then refer to *clojure.core//* directly if needed. It's good to hear this will be fixed in 1.6. On Tuesday, July 30, 2013 5:26:23 AM UTC-7, Maik Schünemann

Re: YA regular expression tool

2013-08-01 Thread Joel Holdbrooks
gular expression will produce even better patterns. Of course, this means pattern construction will be slower. More or less I'd like some input on ways to improve the efficiency of the whole thing. On Tuesday, July 30, 2013 3:49:49 AM UTC-7, Mikera wrote: > > On Monday, 29 July 2013 21:2

Re: changing a value in a vector of maps

2013-07-30 Thread Joel Holdbrooks
This probably won't help with your garbage collection worries, but it's a bit more flexible. *(defn find-assoc-in [pred coll k v & kvs]* * (let [f #(if (pred %) (apply assoc % k v kvs) %)]* *(into (empty coll) (map f coll* On Tuesday, July 30, 2013 10:53:48 AM UTC-7, cej38 wrote: > > S

Re: T-shirts?

2013-07-29 Thread Joel Holdbrooks
+1. I'd love this. On Sunday, July 28, 2013 3:22:21 PM UTC-7, Isaac Wagner wrote: > > There was a discussion a while ago about stickers which led to > http://clojure.org/swag. Could we get some sanctioned T-shirts as well? > There are a few Clojure shirts on Zazzle, but what I would be intereste

YA regular expression tool

2013-07-29 Thread Joel Holdbrooks
I spent some time this weekend writing a little tool for generating regular expressions *from known inputs*. My goal is to produce regular expressions that backtrack as few times as possible along with a complete and total disregard for readability. :) The code for the tool is here

Re: New CSS library - Garden

2013-07-06 Thread Joel Holdbrooks
p with something, even a simple gist, please share it. I'm still loading/compiling stylesheets manually. :P Oh, I don't know if you saw this gist but there's also some interest in ideas surrounding grid systems. Thanks, Joel On Jul 6, 2013, at 7:41 PM, Steven Degutis wrote: &

Re: New CSS library - Garden

2013-07-06 Thread Joel Holdbrooks
hover "&:hover") (footer (h1 {:font-weight "normal"} (hover {:font-weight "bold"})) (a {:text-decoration "none"} (hover {:text-decoration "underline"}))) To make life easier I will add all known HTML selectors (via defrule) and make

Re: New CSS library - Garden

2013-07-02 Thread Joel Holdbrooks
able option. It's a good idea but it still needs a ton of work. Anyhow, thanks for sharing your ideas! I look forward to hearing more from you. Joel On Thu, Jun 27, 2013 at 11:09 AM, Rob Jens wrote: > P.p.s. the pound signs are causing reader errors (e.g. #px) in LightTable > so I

Re: New CSS library - Garden

2013-06-26 Thread Joel Holdbrooks
; but > depending on your taste/clarity might also wish to check out their grid in > Sass/SCSS. > > Its math is quite elegant and simple. > > Cheers, > Rob > > Op woensdag 19 juni 2013 13:14:03 UTC+2 schreef JeremyS het volgende: >> >> Hi Joel, >> >&g

Re: New CSS library - Garden

2013-06-26 Thread Joel Holdbrooks
ative to other CSS preprocessors (at least in my opinion). It's a slow burn but eventually it'll get there! Thanks to everyone for remaining interested in the project and please continue to give me feedback. On Tuesday, April 9, 2013 12:58:50 PM UTC-7, Joel Holdbrooks wrote: > > Nob

Packaging data_readers.clj with a Clojar

2013-06-22 Thread Joel Holdbrooks
Tagged literals are really neat. The other day I discovered what seems to be a fairly good use case for them (see discussion here). At the time I wasn't sure if data_readers.clj could be packaged with a Clojar but it appears it

Re: New CSS library - Garden

2013-06-18 Thread Joel Holdbrooks
spiring. On Jun 18, 2013, at 4:41 AM, JeremyS wrote: > Hi Joel, > > I have a quick and dirty implementation of a 960-ish grid system using a DSL > similar to garden If you want to take a look. > > > > On Friday, April 26, 2013 1:01:44 AM UTC+2, Joel Holdbrooks wrote: &g

Re: unusual question: how do you get morale?(or moral support)

2013-05-14 Thread Joel Ericson
My life is mostly about music and playing with structure. Programming falls into the second category. Right now, I'm having difficulty getting a job since it's much more fun to play the violin and program than to apply for jobs. If I were to get a programming job where I were to do mundane tasks in

Re: New CSS library - Garden

2013-04-25 Thread Joel Holdbrooks
; > On Thu, Apr 25, 2013 at 6:12 PM, Joel Holdbrooks > wrote: > > Murtaza, > > > > Thanks for having a look at the library. I'll try to answer you > questions as > > best as I can. > > > > > > How does Garden compare to other pre proc

Re: New CSS library - Garden

2013-04-25 Thread Joel Holdbrooks
g and I haven't thought about how a standardize the build process. But I would definitely be open to any thoughts regarding that. A Leiningen plugin would be awesome! I hope these answers are helpful. Please continue to experiment with the library and express your thoughts! Thanks, Joel On

Re: New CSS library - Garden

2013-04-22 Thread Joel Holdbrooks
As of today, Garden is officially out of alpha and in to beta! The library now sports media queries (via meta data) and parent selector references (ie. "&hover"). With these new fea

Re: New CSS library - Garden

2013-04-22 Thread Joel Holdbrooks
#x27;m sure it could benefit greatly from both of these things. On Tuesday, April 9, 2013 12:58:50 PM UTC-7, Joel Holdbrooks wrote: > > Nobel Clojurians, > > I am pleased to announce the alpha version of > *Garden*<https://github.com/noprompt/garden>, > a new library f

Re: New CSS library - Garden

2013-04-10 Thread Joel Holdbrooks
Awesome. Yes, please do! Also, feel free to suggest ideas for features. I'm focusing on media queries and "&" prefixed selectors this week, but I'd love to see if anyone has good ideas surrounding attribute and child selectors. Right now the best we can do is "input[type=\"text\"]" and "ul > li

New CSS library - Garden

2013-04-09 Thread Joel Holdbrooks
hing more than to see this library succeed where other's have not. Truly, Joel Holdbrooks (aka noprompt) -- -- 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

Re: Standard alias for partial?

2012-06-20 Thread Joel Ericson
I propose using ☃. I don't think it has any other uses yet. ;) On Tue, Jun 19, 2012 at 8:57 PM, Joel Ericson wrote: > Only case I can see where it doesn't "work". > > user=> (def % partial) > #'user/% > user=> (map #(% + %) [1 2 3]

Re: Standard alias for partial?

2012-06-20 Thread Joel Ericson
Only case I can see where it doesn't "work". user=> (def % partial) #'user/% user=> (map #(% + %) [1 2 3]) ;trying to use #(% + %) instead of #(partial + %) ClassCastException java.lang.Long cannot be cast to clojure.lang.IFn user/eval2/fn--3 (NO_SOURCE_FILE:2) ; (Also: my first post in this group

unchecked-int returning long?

2011-12-26 Thread Joel Hobson
on, the unchecked casting functions do not currently appear on the clojure.org documentation cheat sheet. Thanks, Joel -- 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 p

Re: Please try the alphas and betas!

2011-10-31 Thread Joel Gluth
Worth pointing out that the Clojure team don't have to do this necessarily - a motivated person could set up a CI server that monitors pre-release SNAPSHOTS on one side, and takes code snippets/lein projects/gists/test-is packages on the other? On Sun, Oct 30, 2011 at 4:04 PM, Colin Yates wrote:

Re: Is there a reader setting support BigDecimal by default?

2011-10-20 Thread Joel Gluth
On Tue, Oct 18, 2011 at 3:47 PM, Tassilo Horn wrote: > Scott Hickey writes: > And usually, you should refrain from using floating points at all, no > matter if BigDecimal or Double. I thought BigDecimal with was not a floating point in the traditional sense (ie., subject to all of the usual roun

Fully qualified keywords in clojurescript vs. clojure

2011-08-17 Thread Joel Boehland
ot; ns: " (namespace ::kwtest)) ==> ("kw: " :user/kwtest "ns: " "user") while in clojure: (ns testns) (pr-str "kw: " ::kwtest " ns: " (namespace ::kwtest)) ==> ("kw: " :testns/kwtest "ns: " "testns")

Re: Tail Calls and Continuations in Clojure

2011-07-17 Thread Joel Dice
On Sun, 17 Jul 2011, Phil Hagelberg wrote: I tried Leiningen on Avian and it caused Maven's dependency injection framework to choke, which is not terribly surprising. Perhaps once we've ported it over to Aether it will fare better. My goal is for Avian to be able to run anything HotSpot can wh

Re: Tail Calls and Continuations in Clojure

2011-07-17 Thread Joel Dice
On Fri, 15 Jul 2011, Joel Dice wrote: On Fri, 15 Jul 2011, George Jahad wrote: very cool Joel! I'd also be interested in start up time of avian vs. hotspot, i.e. does avian make it viable to use clojure for short, quick scripts? Possibly. By default, Avian is noticeably slow

Re: Tail Calls and Continuations in Clojure

2011-07-15 Thread Joel Dice
(sorry about the lack of subject in my original post; I've added one to this email) On Fri, 15 Jul 2011, George Jahad wrote: very cool Joel! I'd also be interested in start up time of avian vs. hotspot, i.e. does avian make it viable to use clojure for short, quick scripts? Pos

[no subject]

2011-07-15 Thread Joel Dice
Hi all, I thought I'd share the results of a fun little excercise I did this morning: running Clojure on a VM with native support for tail call optimization and first class continuations. Any Schemers on this list will probably appreciate it. The VM in question is Avian (http://oss.readytal

Re: RIncater

2011-05-24 Thread Joel Boehland
e out how to do something similar with leiningen/clojars. Basically, we need to figure out how to launch the jvm with the LD_LOAD_PATH (or equiv) set to where R installs the JRI native libs. Anyone know how we can do that with leiningen? --Joel -- You received this message because you are

Re: sharing multiple jogl opengl contexts in clojure

2010-04-21 Thread Joel Gluth
On Apr 20, 4:46 pm, Josh Stratton wrote: > But I can't seem to call createGLPbuffer w/o getting an exception. > Caused by: java.lang.IllegalArgumentException: No matching method: > createGLPbuffer This one is because the createGLPbuffer method is not static; you need to have created a GLDrawable

Re: sharing multiple jogl opengl contexts in clojure

2010-04-20 Thread Joel Gluth
Further, from the JOGL user guide: "In the JSR-231 abstractions, a context is always associated with exactly one drawable." I guess that answers that question. So, while we certainly might want to share some of our GLish state between windows, the Context is not the right vehicle... J -- You r

Re: sharing multiple jogl opengl contexts in clojure

2010-04-20 Thread Joel Gluth
> Right now it seems calling (.getContext (new GLCanvas)) returns nil Right. The context doesn't get set at construction, but will be set by the time the canvas gets passed to any of the GLEventListener methods. The Javadoc mentions that the underlying context may need to get created and destroye

Re: Any Clojure job out there?

2010-04-19 Thread Joel Gluth
On Apr 18, 11:23 pm, Steven Shaw wrote: > You could see each of those jobs saying "Java Developer" as a potential > Clojure job :). In particular, I'd be thinking that places who use Hadoop (and similar things) would be the kind of jobs to look at, with a view to bringing your new favourite langu

Re: primitive arrays, am I reading this right?

2010-04-19 Thread Joel Gluth
> Did you try (into-array Float/TYPE [(float 1.0) (float 2.0)])? I'm not > sure it works, though. I haven't much done with primitives up to now. Aha. It does work. The key bit of information being that there was another way to call into-array (which I actually speculated about being a good additio

primitive arrays, am I reading this right?

2010-04-19 Thread Joel Gluth
Hi all, (There is an old thread on a similar topic to this, but I seem to be unable to reply to the group about it, only to the author). I've been using Clojure this last week, and in general enjoying it very much. There have been a small number of jarring moments though, to do with Java interop,

The end goal

2010-03-23 Thread Joel Martin
I'll know that this problem is solved when the Setup and Getting Started sections of the main Getting Started page resemble this: - For debian and Ubuntu users: apt-get install clojure For Fedora and CentOS users: yum install clojure For other distributions: wget XXX.tgz tar

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Joel Westerberg
I love clojure but I think it's unnecessary it doesn't ship with a simple clj and a clj.bat script out of the box, yeah it's easy to run it with jvm, but who want to type java -server -Djava.ext.dirs=./lib:/opt/bin/lib -cp ~/.emacs.d/lisp-packages/swank-clojure jline.ConsoleRunner clojure.lang.Rep

Re: Montreal Clojure User Group

2010-02-23 Thread Joel Perras (jperras)
As a new Clojure user, I'm in as well. On Feb 22, 5:57 pm, Jeff Heon wrote: > Okay, Google created: > > http://groups.google.ca/group/montreal-clojure-user-group -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cl

Re: Clojure and OOP

2010-02-11 Thread Joel Westerberg
You can work with java objects. But clojure itself is not object oriented, because it's functional, and object orientation requires state manipulation. Other lisps support object orientation, common-lisp for example. cheers, /J On Thu, Feb 11, 2010 at 1:46 PM, HB wrote: > Hey, > Since Clojure

Re: A new lisper's question about a macro

2010-01-25 Thread joel r
On Mon, Jan 25, 2010 at 3:09 AM, ataggart wrote: > > (zipmap >  (map keyword (take-nth 2 ~params)) >  (map (comp var-get resolve) (take-nth 2 (next ~params > Neat :-) Thanks! - Joel Rosario. -- You received this message because you are subscribed to the Google Groups &quo

Re: A new lisper's question about a macro

2010-01-25 Thread joel r
> (:page :posts :post) > > Power comes from algorithms × data structures, and hiding the data > structures — whilst sometimes beneficial — reduces one's ability to leverage > existing algorithms. > Very true. Once I had started down the rabbit hole though I had to follow i

A new lisper's question about a macro

2010-01-24 Thread joel r
mpojure better. Thanks in advance for you thoughts! Joel Rosario. -- 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 p

Re: Probability Monad

2010-01-09 Thread joel r
contrib source, and my code works now. > > BTW, I suppose that instead of > >> (domonad dist-m >>        [a die >>        b die] >>        [+ a b]) > > you want > > (domonad dist-m >        [a die >        b die] >        (+ a b)) > W

Re: Probability Monad

2010-01-07 Thread joel r
6} as expected. Perhaps there's something I'm missing here? Thanks, Joel Rosario. -- 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 mod

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Joel
hy this advice hasn't been activated. On the prior versions of swank-clojure, I didn't have this problem. Loading order issue maybe? Anyhow, try explicitly activating that advice and see if that fixes your problem. Cheers, Joel -- You received this message because you are subscribed to the Go

Re: ANN: Web application framework (beta)

2009-11-30 Thread Joel Westerberg
Not every web application has to scale. I think that continuation based stuff rocks for adminstration interfaces. The main benefit with continuation based stuff, is that it's possible to build something that is more application like, so that one can avoid building wizards, and having to split up s

Re: roll call of production use?

2009-11-29 Thread Joel Westerberg
I have written a production web app with compojure. It was a very nice experience. First project I have pulled of totally TDD and the functional aspect of clojure really makes tests so much easier and more truthful, although there sometimes seems to sneak in some exceptions I didn't expect from the

Re: Help with xml-seq

2008-11-30 Thread Joel L
7;m curious to see a solution that doesn't. Thanks again! -Joel On Dec 1, 1:03 am, Chouser <[EMAIL PROTECTED]> wrote: > On Sun, Nov 30, 2008 at 5:12 PM, Joel L <[EMAIL PROTECTED]> wrote: > > > I've hit a wall trying to work with tree like data structures, > >

Help with xml-seq

2008-11-30 Thread Joel L
ttrs nil :content ["Title"]} {:tag :p :attrs nil :content ["Test"]}]} -> [:div {:class "foo"} [:h1 "Title"] [:p "Test"]] It seems like it should be fairly straight forward, but I'm stumped. Any help is greatly appreciated. (I've a

Re: Processing wrapper

2008-11-03 Thread Joel L
Just had a quick play with the example you provide, good fun. Almost impossible to believe, but I think you're on the way to making working with processing even more interactive! On Sep 8, 10:43 pm, fyuryu <[EMAIL PROTECTED]> wrote: > Hi all, I've written a wrapper for Processing.org. It covers m

  1   2   >