Re: who uses enfocus/clojurescript in the wild ?

2013-02-12 Thread faenvie
thank you for the replies. it is also no surprise, that there are rough edges and uncertainties at the moment. enfocus is on my radar because i have worked with enlive on the serverside before. So herwigs argument "The same selector syntax (and semantics) for server- and client side" holds for

who uses enfocus/clojurescript in the wild ?

2013-02-12 Thread faenvie
hi clojure-users, as i am thinking about using enfocus (http://ckirkendall.github.com/enfocus-site/) for building up the clientside-logic for a new site, i am interested in reports of people who have done so already. i am esp curious about how the development-process works out and what main-pr

Re: Clojure - Python Style suggestion

2013-02-08 Thread faenvie
>>A simple workaround I've considered, but haven't gotten around to doing anything about in e.g. Emacs, is to simply tone down the parens visually in the editor. Just last week i was astouned how readable clojure is, when its proper indented and the parenteses are invisible. This insight came u

Re: [ANN] - 11th modern-cljs tutorial updated

2013-01-21 Thread faenvie
hi mimmo, >>I have no time to experiment with the validation libs already available on the server side ... i did that lately and found https://github.com/leonardoborges/bouncer esp. promising. a note regarding hiccup: ch. grand has added hiccup-like functionality to enlive during last week s

Re: a question about running embedded jetty

2013-01-19 Thread faenvie
very helpful answer. thank you Baishampayan. On Saturday, January 19, 2013 10:26:06 AM UTC+1, Baishampayan Ghose wrote: > > On Sat, Jan 19, 2013 at 5:24 AM, faenvie > > wrote: > > i have learned that for a ring/compojure-app the embedded jetty > > service

Re: a question about running embedded jetty

2013-01-19 Thread faenvie
https://github.com/ring-clojure/ring/wiki/Interactive-Development Ensure that: - Your Ring adapter is running in a background thread so it doesn't block your REPL. - Your handler function is wrapped in a var, so it will be updated when you reload the namespace. aha ... handl

a question about running embedded jetty

2013-01-18 Thread faenvie
dear clojure users, i have learned that for a ring/compojure-app the embedded jetty service can be started like this: (def app (handler/site routes)) (defn start [port] (ring/run-jetty (var app) {:port (or port 8080) :join? false})) can anyone explain, wha

Re: Friend 0.1.3 released

2013-01-13 Thread faenvie
>>Guice that was only available via a now-404 Maven repo hosted on Google Code. i was bitten by that, when i wanted to give friend a try. i like your rational for friend. It is 100 Percent true: "Securing Ring applications and services is (charitably speaking) a PITA right now, with everyone r

Re: ANN: bouncer, validation library for clojure

2013-01-10 Thread faenvie
i took a look at it. bouncers DSL seems smart inside and out. Has an excellent Documentation too. Thanks for sharing it. -- 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 fr

Re: ANN - Conjure 2.1.1 - Lightweight mocking library

2012-12-01 Thread faenvie
I tried it out and like it. i esp. inspiring to see how you do the lein multi-deps-test against clojure-versions 1.2 to 1.5. could the state that builds up in call-times cause mem-resource-problem with long-running-loops in fake-context ? but normally you don't have those in unit-testing ... a

Protocols and Prototyping

2012-11-28 Thread faenvie
Hi Clojure Users, while reading through http://natureofcode.com/book i tried to implemented some of the samples in clojure. One of them implements a sample ParticleSystem and uses Polymorphism to model state an behavior of different ParticleTypes. I have come up with this two solutions Solut

Can't dynamically bind non-dynamic var

2012-11-16 Thread faenvie
hi clojure-users, for testing an app that uses quil, i want to mock out some function-calls to the quil-library ... when i do it like this: (ns myapp (:use clojure.test) (:require [quil.core :as q])) (deftest (binding [q/height (fn [] 400)] (is 400 (q/height i get an Exception

Re: Practical Clojure

2012-04-15 Thread faenvie
hi, glad to hear that. Up the Ladder of Abstraction ;-) with the books. Gruesse On Apr 14, 7:55 pm, Stuart Sierra wrote: > Hi, faenvie, > > Thanks for your comments about "Practical Clojure," really glad you enjoyed > it! > > Unfortunately, it seems unlikely ri

Re: Practical Clojure

2012-04-14 Thread faenvie
light table looks like a candidate for the book ... btw 'professional clojure' is not a good title ... better: 'beyond clojure' ? etc. -- 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 t

Re: Practical Clojure

2012-04-13 Thread faenvie
as i think about it, it seems to me that 'practical clojure' should be updated but stay minimal. This means strictly keep the focus on the core of clojure, correct errors, add a few missing things (add more info on destructuring for instance), add and update things that come new or changed with clo

Practical Clojure

2012-04-13 Thread faenvie
hi community, i simply want to state that i love this book http://www.apress.com/9781430272311 it's minimalism is amazing and it helped me a lot. its good to repeatedly read single chapters to get conscious of ... minimal is good. i would love to read a second edition with maybe a chapter about

Re: Blog: SQL in Clojure

2011-11-19 Thread faenvie
thanks for the interesting blog-post. the main-points that makes sqlkorma attractive for me are: - it's simple to use and understand (focuses on one aspect) and leaves relational heavy-lifting @rdbms. - it adds signidicant value (composability) - the implementation has excellent code-quality an

Re: clojure starter package for aichallenge ?

2011-10-24 Thread faenvie
> http://aichallenge.org/starter_packages.php > > They changed the game at the end and I didn't have time to update it > for hills, but it actually works just fine as is. Also, it should be > fairly trivial for someone to add that bit... > > Cheers, > Chris. > > On Oct 20, 1

clojure starter package for aichallenge ?

2011-10-20 Thread faenvie
hi clojure community, at the moment there seems to be no applicable clojure starter package for the http://aichallenge.org/ though some work has be done on it by chris granger, i think: https://github.com/ibdknox/aichallenge are there any plans to get a clojure starter package out ? it would be

strangeloop presentations

2011-09-30 Thread faenvie
hi clojure-users, i ploughed through this year's strangeloop presentations today ... 3 presentations that i can recommend for clojure-users: - Jim Duey "EasyMonads" (advanced level) https://github.com/strangeloop/2011-slides/blob/master/Duey-MonadsEasy.pdf - David Nolen "The Mapping Dilemma" (

Re: a question about using the delay macro

2011-08-23 Thread faenvie
perfect answer. thank you ! btw: my snippet is taken out of the docs for java.jdbc. On Aug 22, 12:04 pm, "Meikel Brandmeyer (kotarak)" wrote: > Hope, I'm not too far off. > > Sincerely > Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

a question about using the delay macro

2011-08-22 Thread faenvie
hi clojure-community, yesterday i came across the following use of the delay-macro: (defn pooled-data-source [db-connection-settings] ; this Fn creates and returns object of type PooledDataSource ) (defn pooled-data-source-as-singleton [db-connection-settings] (let [datasource (delay (po

tasting pinot noir

2011-08-08 Thread faenvie
recently i took a closer look at noir (http://webnoir.org) and found it a quite promising and in the words best sense minimalistic approach of a clojure-based full-stack framework for building webapps. noir is in an early stage and lacks some of the features that established frameworks like rails,

Re: Modelling relationships between objects

2011-08-05 Thread faenvie
hi meikel so in your case after initial load of the knowledge-base there are no changes that need to be persisted, right ? following stefan tilkovs book i want to do a simple RESTful order-management (exercise only) and think of using core.logic for query-logic. persisting changes to rdbms seems

Re: Modelling relationships between objects

2011-08-05 Thread faenvie
hi david, thanks for the sample ... as you have asked for questions, i take the chance for asking a question that's in my mind for some times now: are there concepts for how to combine core.logic (minikanren) with (database backed) long term persistence ? my reasing: there must be, because pro

Re: ClojureScript

2011-07-22 Thread faenvie
in the first place i did not realize, how smart this move is, but then ... clojure rocks ... javascript reaches ... and as a sideeffect a first implementation of clojure-in-clojure is rolled out into the wild even before clojure 1.3 is released. in addition that works as a showcase for porting clo

Re: Clojure Books

2011-07-19 Thread faenvie
start with: http://java.ociweb.com/mark/clojure/article.html (free) then proceed with: practical clojure http://www.apress.com/9781430272311 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.c

Re: Please stand firm against Steve Yegge's "yes language" push

2011-07-08 Thread faenvie
>>do not >>expect to start "hacking" clojure in the morning and be "productive" >>and accomplishing work in the afternoon of that same day reality is cruel: http://norvig.com/21-days.html but fair ... isn't it ? -- You received this message because you are subscribed to the Google Groups "Cloj

Re: Please stand firm against Steve Yegge's "yes language" push

2011-07-06 Thread faenvie
@nchubrich > It did go on too long.  I hope when someone \does read it, they will > see I am not being wholly unreasonable. i liked to read through it anyway ... >>I was drawn to Clojure because I felt it was another >>evolutionary step in programming. I hope I am not wrong. i feel and hop

Re: Please stand firm against Steve Yegge's "yes language" push

2011-07-05 Thread faenvie
note on the original posting: > First, he shouldn't be porting Java code to clojure, Second, Clojure IS > fundamentally different from Java, and third, such said users who > don't want to touch Java should not touch Clojure. to port java-code to clojure-code is certainly not the right thing to do

Re: Build tool for mixed Clojure/Java projects

2011-07-05 Thread faenvie
hi meikel, you plugin really rocks. have you thought about contributing clojuresque as 'clojure-plugin' for gradle to the gradle project ? so that it will be more integrate and managed like ... say the scala-plugin for gradle ? maybe after gradle has released it's 1.0 version ? best regards ..

Re: Please stand firm against Steve Yegge's "yes language" push

2011-07-05 Thread faenvie
>>Of the people I've tried to expose to Clojure over the last six months, >>I've definitely found that those with less OO experience tend to pick >>it up much quicker. that's exactly true for me: 40+ years old and OO-centric-Programmer since 1995. it takes me one year now to reach a highlevel qual

Re: Please stand firm against Steve Yegge's "yes language" push

2011-07-02 Thread faenvie
I agree, that clojure will not gain java-like popularity in a forseeable future. IMO clojure is much more a Language for SystemProgrammers (high demands, thinking in concurrency) than a Language for ApplicationProgrammers (midsize demands, thinking singlethread) it does not have to target general

practical clojure

2011-06-20 Thread faenvie
today, once again, i realized, that of all 4 books, that i have read about clojure , 'practical clojure' is the one, that i like most. minimalistic, straight to the point, mostly clear in it's language. i would love to buy a second edition once clojure 1.3 or 2.0 is out. -- You received this me

Re: Best Installation Option

2011-06-06 Thread faenvie
i am also using ccw for eclipse but then cake instead of leiningen. this has the main-advantage of having an incredible fast development-cycle (running tests after change via commandline). this is because cake runs a persistent JVM, eliminating start-up overhead. (minor-)drawback: cake currently

Re: ANN: Logos v0.6 - Pattern matching, Tabling, Disequality Constraints, and now on Clojars

2011-04-10 Thread faenvie
very interesting stuff. i will follow this with pleasure ... to get into it, a basic tutorial that focuses on solving one or two classical problems using logos would probably be a winner. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: setup and propagation of config-params

2011-03-11 Thread faenvie
> (set-opt :development) ; this is what you want > ... > (get-opt :show-sql) ; need this flag hi armando, this is more of an OO style but as there is no def- , the state is still accessible from the outside. also the api is kinda asymetric. as described in 'the joy of clojure 7.2 - sharing closu

Re: setup and propagation of config-params

2011-03-10 Thread faenvie
thanks ken for the answer. more(?) functional using closures: (defn get-config [environment] (let [env (condp = environment :development { :whoami "development"} :test { :whoami "test"} :production { :whoami "production"} (throw (IllegalArgumentException.

setup and propagation of config-params

2011-03-10 Thread faenvie
hi clojure-users, i have a question regarding the setup and propagation of config-params. to configure a clojure-based web-app, i use a global var *opts* that is setup like this: (defn get-opts [environment] (condp = environment :development { :webapp-context "/mywebapp" :w

Re: Deflayout - define Swing UI declaratively

2011-02-03 Thread faenvie
i would love to see the knowledge that karsten lentzsch put into http://www.jgoodies.com/ transmitted to or adapted for the clojure-cosmos. -- 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 N

Re: Maven vs Ivy (or Leiningen)

2011-01-21 Thread faenvie
>>of a snapshot or a release und update of the documentation would be >>welcome ... after all ... its open-source-software and audience-participation is probably welcome ;-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: Maven vs Ivy (or Leiningen)

2011-01-21 Thread faenvie
you may want to take a look at https://bitbucket.org/kotarak/clojuresque which adapts the feature-rich gradle-buildsystem to implement build- logic for 'native' clojure-projects and also makes builds for mixed- language- projects and multi-projects quite easy. by default the gradle-buildsystem use

Re: The Joy of Closure

2011-01-18 Thread faenvie
not to forget practical clojure from apress: http://apress.com/book/view/1430272317 which gives a good introduction too and mark volkmanns article: http://java.ociweb.com/mark/clojure/article.html which is free and also gives an excellent introduction. -- You received this message because yo

Re: ANN: ClojureQL 1.0.0 now released

2011-01-06 Thread faenvie
On Jan 5, 3:14 pm, LauJensen wrote: > ... Works out of the box with PostgreSQL and MySQL ... nice work ! your testcode references sqlite3 too. so what about sqlite3-support ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: could clojure be androids joker card

2010-11-09 Thread faenvie
hi aaron, what i initially thought of, is an alternate technologie-stack. that's far from being a realistic option today and may not be realistic at all: (i guess this has a timeframe of 4-8 years) leave java completely out. base clojure on android's/linux's process- and memory-model and low lev

Re: could clojure be androids joker card

2010-11-07 Thread faenvie
>>I am just reading through the meap of ??? ??? = http://www.manning.com/ableson2/ sorry -- 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 - p

could clojure be androids joker card

2010-11-07 Thread faenvie
hi clojure-commmunity, when learning 2 new things at a time, one is always temped to combine them and have some unrealistic fantasies. i am just reading through the meap of ??? so it's not a surprise, that i think about a combination of clojure and android. according to other discussions in the

an abstraction for accessing stored data

2010-11-07 Thread faenvie
hi clojure-community, today i found this interesting blog-post about an abstraction for accessing stored data: http://anvil.io/2010/10/25/clojurize-the-data-not-the-database.html i searched the list if this was already discussed, but that seams not to be the case. would someone disagree, if i s

Re: From jetty to war?

2010-11-03 Thread faenvie
btw.: me too has great respect for ruby/rails one of the nice aspects of clojure is, that multiple currents and flavours of modern programming accumulate/reconvene in there. like evolution. diversity is good. it produces its own power and controversy. my fazit: clojure has great potential for we

Re: From jetty to war?

2010-11-03 Thread faenvie
most companys i know - i have come around a lot last years - clearly prefer spring to grails because: 1. the integration-aspect is much more important for them than partial productivity win or promise. 2. java is established in their tech portfolio groovy is not clojure is completely out of scop

Re: From jetty to war?

2010-11-01 Thread faenvie
my short-time experience with implementing webapps on a clojure-base is: i feel like in the very early days of java-servlet-api and j2ee. productivity way way way behind springframework or grails i don't even want to think about doing something sophisticated like security-integration. and of co

Re: From jetty to war?

2010-11-01 Thread faenvie
i dont see a gen-class your snippet: (ns mywebapp.firstservlet (:use [ring.util.servlet :only (defservice)]) ... (:gen-class :extends javax.servlet.http.HttpServlet)) (defservice app) WEB-INF/web.xml: firstservlet mywebapp.firstservlet firstservlet /* On Nov 1, 8:09 p

taking a first look at martin fowlers new book

2010-10-23 Thread faenvie
hi clojure-community, yesterday i got my copy of martin fowlers "Domain Specific Languages". I am quite sure, that this book, like others from the author, is an important one to own for the "pragmatic bookshelf". but reading the preface i found information that disappointed me a little bit: "..

Re: Lazytest 1.0.0 (beta)

2010-09-28 Thread faenvie
> You note that you're using ccw, is that because you have a clue that there > could be something related to the "lazytest-ccw" combo in the issue you're > facing ? no, ccw is ok. its a big help for us die-hard eclipse users. thank you. i think its my mistake: i put tests in a different src-file

Re: Lazytest 1.0.0 (beta)

2010-09-27 Thread faenvie
i am trying to use lazytest with eclipse + ccw ? lazytest.watch does not work for me so far. so i run my lazytests via: (ns myapp.runtests (:require lazytest.runner.console lazytest.color lazytest.report.nested)) ; switch ansi-coloring off (lazytest.color/set-colorize false)

practical clojure

2010-09-14 Thread faenvie
i just emerged from a whirlwind read through 'practical clojure'. i like this book very much. it's a very well structured, carefully written book. kind of a minimalistic approach but minimalistic in the positive sense clojure itself is. so now 'students' have really good choices among 4 high qual

Re: Standalone 1.2 contrib

2010-09-09 Thread faenvie
*1* a java-based alternative to maven and ant is gradle. pro: - gradle is a fantastic build-framework contra: - gradle is not leightweight -> even more thirdparty-dependencys - build-scripts are implemented in a groovy-based DSL -> gradle-users have to learn groovy basics i think a clojure-p

multiline strings and multiline comments ?

2010-08-16 Thread faenvie
hi clojure-users, i wonder what the reason is, that clojure(-reader) does not allow 1. multiline-strings like scala: """this is a | multiline string""" 2. multiline comments like java /* this is a multiline comment */ someone who can explain or point to relevant info ? thanks -- You

Re: 2 links for beginners

2010-08-05 Thread faenvie
> > That is the most unsubstantiated, moronic piece of writing I've ever read > > in my life. I can't really tell what he's attacking, he's just > > swinging some dick-shaped sword around trying to hit stuff. i do not agree ... its clear that the article is a rant, does not go deep and misses im

Re: 2 links for beginners

2010-08-05 Thread faenvie
> http://steve-yegge.blogspot.com/2006/04/lisp-is-not-acceptable-lisp.html a prophetic writing ... great ! thank you mike. -- 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

2 links for beginners

2010-08-03 Thread faenvie
as a beginner i found 2 links that i can recommend to others who want to step into matter: 1. mark volkmann's article about clojure: http://java.ociweb.com/mark/clojure/article.html this is a first class introduction to clojure and you can read through it in 2-3 days. it contains everything a ty

Re: SAFETY CRITICAL SOFTWARE

2010-07-11 Thread faenvie
>Also is it possible to utilize Clojure for programming > microcontrollers?? this i a question, that i am also interested in: - what are todays main-objectives for using clojure in the (higher ends) realtime-programming space ? - what would be the main-benefits of using clojure in the (higher en

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2010-05-31 Thread faenvie
in case, you want to abstract over swing ... there is this guy from germany: Karsten Lentzsch. he is author of http://www.jgoodies.com/ and has incredible knowledge about swing and esp. in abstracting over swing. He knows all the strongs and weaknesses of swing and beeing involved in http://www.j

Re: do clojure and la(tex) have something in common ?

2010-05-25 Thread faenvie
hello mike, hello tim thank you for this detailed insights into your experience and knowledge. lately i had to implement a generator for a big catalog of products and i used docbook for it, but that was not a satisfying experience at all. docbook locks you into its predefined document-structures

do clojure and la(tex) have something in common ?

2010-05-23 Thread faenvie
today i read this statement in a blog-post: "... remarkably (La)TeX is much better suited for composing and distributing most types of documents than any other modern word processor on the market that I am aware of. Just like programming languages tend to converge towards Lisp because it got thing

Re: German Clojure Book

2010-03-11 Thread faenvie
> You don't know how proud you made me with that remark! It was painted > in 2008 by my daughter who at that time was 5 years old.  The original > is approx 1m in height.  Thank you very much, indeed! gute idee ... i like this cover too now ,-) -- You received this message because you are subsc