Re: Using ring, jetty plugin: No reader function for tag object

2017-10-22 Thread Angel Java Lopez
rsion you've added to your project file. > If you update Ring to 1.6.2 (and lein clean) it should work. > > On 22 October 2017 at 18:40, Angel Java Lopez <ajlopez2...@gmail.com> > wrote: > >> Hi! >> >> I have a problem, following the instructions: >> >

Using ring, jetty plugin: No reader function for tag object

2017-10-22 Thread Angel Java Lopez
erjar Any cues?? TIA Angel "Java" Lopez @ajlopez -- 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

Re: clojars down?

2016-01-01 Thread Angel Java Lopez
It's down here... chrome, page not available, from Buenos Aires, Argentina On Fri, Jan 1, 2016 at 3:51 PM, Mimmo Cosenza wrote: > it’s down here too. > > http://status.linode.com/ > > mimmo > > On 01 Jan 2016, at 19:49, Bobby Eickhoff wrote: > > Is

Re: lambda detector?

2015-12-08 Thread Angel Java Lopez
Hi! Sorry, this is not an answer, but a question: Why you need to know if an argument is a lambda? What is your use case? Angel "Java" Lopez @ajlopez On Tue, Dec 8, 2015 at 10:08 AM, Gregg Reynolds <d...@mobileink.com> wrote: > Hi folks, > > Doing a little meta-p

Re: [ANN] [Book] ClojureScript Unraveled

2015-05-04 Thread Angel Java Lopez
Great work! I really appreciate http://funcool.github.io/clojurescript-unraveled/#tooling-compiler Now, I started to understand the compiler process Angel Java Lopez @ajlopez On Mon, May 4, 2015 at 3:20 PM, Andrey Antukh n...@niwi.be wrote: Hi! We (my friend Alejandro and I) are happy

Re: Clojure needs a web framework with more momentum

2015-05-03 Thread Angel Java Lopez
of: - middleware chaining - routing a la MVC - coordinate template rendering In contrast, PayPal developed kraken http://krakenjs.com/ adding some conventions and libraries Angel Java Lopez @ajlopez On Sun, May 3, 2015 at 4:45 PM, Christopher Small metasoar...@gmail.com wrote: Perhaps we need

Re: [ClojureScript] The Essence of ClojureScript Redux

2015-01-03 Thread Angel Java Lopez
Angel Java Lopez @ajlopez On Fri, Jan 2, 2015 at 10:06 PM, David Nolen dnolen.li...@gmail.com wrote: I've posted a simple walkthrough of the new Node.js REPL: http://swannodette.github.io/2015/01/02/the-essence-of-clojurescript-redux/ I suspect people will be reaching for ClojureScript REPLs

Re: Is there a reason ns macro is not a function?

2014-12-30 Thread Angel Java Lopez
as a normal function. Angel Java Lopez @ajlopez On Tue, Dec 30, 2014 at 5:30 AM, Petr petrg...@gmail.com wrote: Hello. Does anyone know why clojure.core/ns macro is not implemented as function? It seems that it should work that way except that probably it would be nicer to have in-ns call

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-09 Thread Angel Java Lopez
Maybe when you reach the async nature of node.js, you could use node fibers https://github.com/laverdet/node-fibers to wrap up async calls as sync ones, as a baby step to implement your ideas. Meteor https://www.meteor.com/ use a lot of fibers internally. Angel Java Lopez @ajlopez On Tue

Re: Ring and Compojure with Node.js via Clojurescript

2014-12-09 Thread Angel Java Lopez
Another path: write ClojureScript that consumes directly Nodejs and some popular web framework (like Express). Then, you can write the controllers/actions/logic in ClojureScript. I'm not sure about the feasibility of this idea from clojurescript. Angel Java Lopez @ajlopez On Tue, Dec 9, 2014

Re: If code is data why do we use text editors?

2014-11-16 Thread Angel Java Lopez
Loosely related, but interesting http://blog.interfacevision.com/design/design-visual-progarmming-languages-snapshots/ Angel Java Lopez @ajlopez On Sun, Nov 16, 2014 at 4:11 AM, Colin Fleming colin.mailingl...@gmail.com wrote: Hi Mike, Actually, I haven't - I probably should spend more

Macro invocation. compilation?

2014-11-09 Thread Angel Java Lopez
y 1)) #'user/myfn2 user= (myfn1 1 2) 4 and THE NEW myfn2 is indirectly invoked. TIA Angel Java Lopez @ajlopez -- 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

Re: non-literate, excellent documentation style

2014-05-25 Thread Angel Java Lopez
Yes, it is based on docco http://jashkenas.github.io/docco/ Check https://github.com/jashkenas/backbone/blob/master/package.json the doc scripts is doc: docco backbone.js docco examples/todos/todos.js examples/backbone.localstorage.js, On Sun, May 25, 2014 at 4:51 PM, Marek Srank

Macro and metadata

2014-05-25 Thread Angel Java Lopez
amacro) ... ) Why in Clojure the macro are defined using metadata, instead of something like (mlambda ... ) or (mfn ... )? My first guess: this way of doing macro was related with compile to Java Angel Java Lopez @ajlopez -- You received this message because you are subscribed to the Google

Basic question: metadata reader

2014-05-03 Thread Angel Java Lopez
/core.clj#L5304but apparently it is some magic detecting the metadata Any clue? Angel Java Lopez @ajlopez -- 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

Re: Basic question: metadata reader

2014-05-03 Thread Angel Java Lopez
(IPersistentMap meta); } So. ^{ } applied to a symbol, returns a new symbol. From Symbol.java: public IObj withMeta(IPersistentMap meta){ return new Symbol(meta, ns, name); } I have seen the light! ;-) Time to refactor my code, TDD will save my day Angel Java Lopez @ajlopez On Sat, May 3, 2014

Re: Why I'm giving Clojure a try

2014-04-17 Thread Angel Java Lopez
Hi Massimiliano! I read you at Scala list. Short comment: there is a clojurescript googlegroup, too. Angel Java Lopez @ajlopez On Thu, Apr 17, 2014 at 8:31 AM, Massimiliano Tomassoli kiuhn...@gmail.comwrote: On Thursday, April 17, 2014 2:17:13 AM UTC+2, Zhemin Lin wrote: Hi Massimiliano

Re: Lessons Learned from Adopting Clojure

2014-02-05 Thread Angel Java Lopez
+100 My English is bad, but you expressed my position about TDD in general (I'm not a clojurian, yet, but I really appreciate TDD workflow in other technologies). On Wed, Feb 5, 2014 at 6:35 PM, James Trunk james.tr...@gmail.com wrote: As a TDD practitioner and

Re: Lessons Learned from Adopting Clojure

2014-02-04 Thread Angel Java Lopez
Interesting! A question: did you abandon TDD? why? IMO, TDD is a workflow that pushes for simplicity On Tue, Feb 4, 2014 at 9:22 AM, Colin Yates colin.ya...@gmail.com wrote: Is there going to be online access during/after the event? I would greatly value seeing this, but probably not enough

Re: Java interoperability

2014-01-27 Thread Angel Java Lopez
Ummm... the methods has a generic T parameter, ie https://github.com/jayway/JsonPath/blob/master/json-path/src/main/java/com/jayway/jsonpath/JsonPath.java#L446 Any way to invoke them, from Clojure? On Mon, Jan 27, 2014 at 12:27 PM, Sam Ritchie sritchi...@gmail.com wrote: Where do you see that

Re: How to go about 'proving' why dynamically typed languages are better.

2013-12-23 Thread Angel Java Lopez
About: The question, then, is whether the flexibility of dynamic types lets you develop, test, unit test, and system test code so much faster than you would in a language with strong static types that you are able to prevent all runtime type errors anyway. Yes! In the past years, I coded in

Re: How to go about 'proving' why dynamically typed languages are better.

2013-10-09 Thread Angel Java Lopez
And JavaScript is missing (OK, a dozen scripting language) But today, JavaScript is very important in the picture. Even Clojure has ClojureScript On Wed, Oct 9, 2013 at 8:36 AM, Dennis Haupt d.haup...@gmail.com wrote: especially haskell scala are missing in your list :) as long as you

Re: How to go about 'proving' why dynamically typed languages are better.

2013-10-09 Thread Angel Java Lopez
ceremony than Ruby or Python), and combined with Node.js at server, browsers at client, JSON for messaging, and TDD, it shines! Any quirk on JS language is easy to circumvent (ie. using module pattern, build and exercised with TDD), and IMO, it pays a lot to use it. Angel Java Lopez @ajlopez

Re: How to go about 'proving' why dynamically typed languages are better.

2013-10-08 Thread Angel Java Lopez
typed language for performance reasons. Angel Java Lopez @ajlopez On Tue, Oct 8, 2013 at 11:48 AM, Phillip Lord phillip.l...@newcastle.ac.ukwrote: John D. Hume duelin.mark...@gmail.com writes: On Oct 8, 2013 5:35 AM, Phillip Lord I'm not sure a type checker will help in that instance

Clojure at Netflix by Dave Ray

2013-10-03 Thread Angel Java Lopez
https://speakerdeck.com/daveray/clojure-at-netflix -- -- 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

[Semi OT] Staples Acquires Runa to Transform Shopping Experience Through Personalization

2013-10-02 Thread Angel Java Lopez
http://online.wsj.com/article/PR-CO-20131002-904169.html The Runa facility in San Mateo will serve as the newest Staples Lab, following locations in Seattle and Cambridge. In the coming months Staples plans to increase the staff in San Mateo. Candidates with backgrounds in Clojure programming,

Re: Library (or libraries) for translating REST queries to database queries?

2013-09-24 Thread Angel Java Lopez
/danbev/odata_test Don't sure if it implements a consumer But I insist, odata is a bit overwhelming... Something more simple? Angel Java Lopez @ajlopez On Tue, Sep 24, 2013 at 10:35 AM, Bill Piel b...@billpiel.com wrote: I want to use clojure to build a web service with a RESTful API

Re: [ANN] clara-rules 0.1.0 released -- rules as a control structure

2013-09-24 Thread Angel Java Lopez
+1 On Tue, Sep 24, 2013 at 9:00 PM, Mark Engelberg mark.engelb...@gmail.comwrote: I used CLIPS (another forward-chaining rule system) for several years, and the way I tend to explain it to people is that it is the best tool for the job when your code would look like an enormous cond with

Re: Fantasy Baseball Lineup Optimization

2013-09-15 Thread Angel Java Lopez
I don't know how to play baseball, what a lineup is, etc... But first idea to explore: genetic algorithm On Sat, Sep 14, 2013 at 10:53 PM, Matthew Rocklin mrock...@gmail.comwrote: Perhaps a bit intense but this problem might lend itself to mixed integer linear programming. MILP is a very

Re: In what OS do you code?

2013-06-17 Thread Angel Java Lopez
Windows 8 at work Windows 2008 Server at home Lot of Node.js, C#, Java, PHP coding. Few Clojure, only spikes or little sample, using REPL, sometimes lein Angel Java Lopez @ajlopez On Fri, Jun 14, 2013 at 10:46 AM, Erlis Vidal er...@erlisvidal.com wrote: Hi, I'm a bit curious to know

Re: My Clojure Workflow, Reloaded

2013-06-05 Thread Angel Java Lopez
It was recently discussed at https://groups.google.com/group/clojure/browse_thread/thread/f1a3bb6563fecf1c?hl=en See also http://blog.goodstuff.im/clojure_workflow Angel Java Lopez @ajlopez On Wed, Jun 5, 2013 at 8:21 AM, Julian juliangam...@gmail.com wrote: Stuart Sierra has written

Re: Utility libraries and dependency hygiene

2013-05-12 Thread Angel Java Lopez
for modules: each module has its own subfolder for dependencies I guess it could be difficult to implement such feature in Java/Clojure Angel Java Lopez @ajlopez On Sun, May 12, 2013 at 8:29 PM, Stuart Sierra the.stuart.sie...@gmail.comwrote: Based on a recent thread about utility libraries, I

Re: Metadata evaluation

2013-03-19 Thread Angel Java Lopez
Ummm... Jean, I don't understand. Recapitulation. As Herwig showed, the symbol has its metadata WITHOUT evaluation: user= (meta (second (read-string (def ^{:key (+ 1 1)} foo {:key (+ 1 1)} second, in the above expression, retrieves the symbol foo, and reader already set its metadata WITHOUT

Re: Why is this so difficult?

2013-02-15 Thread Angel Java Lopez
development experience. I'm a bit oldie: I want to program, not struggle with config mess. Again, I had no problem with clojure experience. But I only play with it. I put my Node.js experience as an example of multiplaform dev experience. Maybe, current Clojure status is the same. Angel Java

ClojureScript FileNotFoundException

2012-10-18 Thread Angel Java Lopez
? Some month ago, I run the repl with success. But now, I'm trying in this new machine, and something goes wrong. Same exception is I run .\script\repljs.bat TIA Angel Java Lopez @ajlopez -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: interests in Clojure internals

2012-06-07 Thread Angel Java Lopez
Any project like https://github.com/codereading/HQ ? for Clojure some materials/books about language/compiler designing could help me better understand these stuffs?? While I think the project is still in a very incomplete stage you can find quite a bit of information in Tim Daly's

Re: CRUD application backed only by immutable facts

2012-06-06 Thread Angel Java Lopez
Yes, I thought the same... Now, encouraged by Dave message ;-) some links: http://martinfowler.com/eaaDev/EventSourcing.html Dave mentioned CQRS, some post about Events, Event Sourcing AND CQRS: http://thinkbeforecoding.com/tag/CQRS CQRS (Command Query Responsibility Separation) is a big topic,

Re: Boolean

2012-04-14 Thread Angel Java Lopez
!= null !t.equals(Boolean.FALSE)) return thenExpr.eval(); return elseExpr.eval(); } My guess: performance. But it should be measured Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Sat, Apr 14, 2012 at 6:16 AM, Vinzent ru.vinz...@gmail.com wrote: So 'false?' doesn't help you

Re: Can Clojure be as readable as Python or Ruby ?

2012-03-07 Thread Angel Java Lopez
An old thread: http://groups.google.com/group/clojure/browse_thread/thread/319a1c77ed718ba/3e4be7484b7cbe38?pli=1 Also, someone proposed instead of (f a b c) begin to use f(a, b, c) or something alike but I don't have the thread link now On Wed, Mar 7, 2012 at 2:39 PM, Leon Talbot

Re: Can Clojure be as readable as Python or Ruby ?

2012-03-07 Thread Angel Java Lopez
Maybe this proposal: http://grokbase.com/t/gg/clojure/11ctt573jq/list-syntax-sugar-f-x-notation On Wed, Mar 7, 2012 at 6:09 PM, Angel Java Lopez ajlopez2...@gmail.comwrote: An old thread: http://groups.google.com/group/clojure/browse_thread/thread/319a1c77ed718ba/3e4be7484b7cbe38?pli=1

Re: Anyone on Google+ yet?

2011-07-15 Thread Angel Java Lopez
https://profiles.google.com/ajlopez2000 Thanks! On Thu, Jul 14, 2011 at 2:12 PM, Claudia Doppioslash claudia.doppiosl...@gmail.com wrote: My Clojure circle is all set up but empty. My g+ is: http://gplus.to/gattoclaudia Please add link to your profile below. -- You received this message

Re: Giving a 15 minute Clojure lightning talk. Any ideas?

2010-12-09 Thread Angel Java Lopez
to simple Lisp/Clojure concepts. Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Thu, Dec 9, 2010 at 8:36 PM, Alex Baranosky alexander.barano...@gmail.com wrote: Thanks, for all of your thoughts, guys. I'm letting all the ideas boucne around. I'll be sure to let you all know

Re: precise numbers

2010-10-12 Thread Angel Java Lopez
Short comment: I remember Common Lisp has rational numbers (I'm not sure). Any rational number library for Clojure? Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Tue, Oct 12, 2010 at 4:14 PM, Luka Stojanovic li...@magrathea.rs wrote: On Tue, 12 Oct 2010 20:53:16 +0200

Re: ¿Clojure en España? - Clojure in Spain?

2010-09-03 Thread Angel Java Lopez
There is a list http://groups.google.com/group/clojure-hispano low traffic, but I hope more Spanish developers will participate in discussions. I guess @hhariri is research about Clojure in Spain. Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Fri, Sep 3, 2010 at 11:34

Re: cool compiler-project?

2010-08-18 Thread Angel Java Lopez
Hi people! Related to Clojure to Javascript http://github.com/richhickey/clojure-contrib/tree/master/clojurescript/ Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Wed, Aug 18, 2010 at 7:37 PM, Jules julesjac...@gmail.com wrote: Or a Clojure to Javascript compiler. So

Re: Newb Question

2010-06-29 Thread Angel Java Lopez
Hi people! Paul, yes! but... The apply and str evaluations in (apply str (repeat n text)) are lazy? I guess the result could be a big string. Isn't it? Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Mon, Jun 28, 2010 at 5:31 PM, Paul Moore p.f.mo...@gmail.com wrote

Re: usage examples in clojure api docs

2010-06-29 Thread Angel Java Lopez
guess. And it's pretty good in the non-function part: good explanation of language and its usage. Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Tue, Jun 29, 2010 at 1:06 AM, cageface milese...@gmail.com wrote: Several people have suggested that usage examples in the docs

Re: Apply/Laziness question (was Re: Newb Question)

2010-06-29 Thread Angel Java Lopez
Hi people! Hmmm (str (repeat )) doesn't concatenate the repeated values. As (str (f o o)) doesn't return foo, it returns (f o o) the stringified sequence. But (apply str '(f o o)) returns foo, as expected in the initial question. Angel Java Lopez http://www.ajlopez.com http

Re: Newb Question

2010-06-28 Thread Angel Java Lopez
Hi people! Any way to produce a lazy seq of chars, that prints as a string, based on two parameters, n (number of repeats), text (text to repeat)? Then, something like (myrepeat 100 superdupertext) could be implemented without a big processing or concatenation. Angel Java Lopez http

Re: special form vs. macro

2010-05-31 Thread Angel Java Lopez
? Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Mon, May 31, 2010 at 11:06 AM, Patrick Stein p...@nklein.com wrote: Maybe Clojure uses the term special form differently than Common Lisp does, but here's how to think of special form in the Common Lisp sense. A form

Re: Microsoft drops Software Transactional Memory

2010-05-14 Thread Angel Java Lopez
Hi people! A 2008 paper, I just received today via twitter *Software transactional memory**: why is it only a research toy?* http://portal.acm.org/citation.cfm?id=1400228coll=ACMdl=ACMCFID=90273999CFTOKEN=67127907ret=1#Fulltext Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez

Re: Web Programming with clojure

2010-03-16 Thread Angel Java Lopez
Hi people! I'm not use it, but first link to explore http://github.com/weavejester/compojure My collected links http://delicious.com/ajlopez/compojure http://delicious.com/ajlopez/clojure+webdevelopment Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Mon, Mar 15, 2010

Re: German Clojure Book

2010-03-11 Thread Angel Java Lopez
Great! I thought the cover was a Bratko, as in other Lisp book Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Thu, Mar 11, 2010 at 7:27 PM, Stefan Kamphausen ska2...@googlemail.comwrote: Hi, Congratulations! I hope there will be an English translation one day

Re: REPL in a browser

2010-03-07 Thread Angel Java Lopez
as backend Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Sun, Mar 7, 2010 at 7:18 AM, Jozef Wagner jozef.wag...@gmail.com wrote: Hi, I'm wondering how hard it would be to make a clojure REPL accessible from a browser. Something like at http://www.simplyscala.com/ Some

Re: group tag for clojure newsgroup

2010-03-04 Thread Angel Java Lopez
+1 many quick interfaces show only the title. Adding [clojure] would be fine. On Thu, Mar 4, 2010 at 10:05 AM, Johnny Kwan johnny.c.k...@gmail.comwrote: On Mar 4, 2010, at 8:00 AM, Rich Hickey wrote: On Mar 4, 2:56 am, TimDaly d...@axiom-developer.org wrote: For the other groups that I

Re: Clojure on Go

2010-02-21 Thread Angel Java Lopez
or contribute to Clojure-CLR, I hope this state of affairs will change this year). Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Sat, Feb 20, 2010 at 6:15 PM, Chouser chou...@gmail.com wrote: On Sat, Feb 20, 2010 at 3:59 PM, Joop Kiefte iko...@gmail.com wrote: I read

Re: Language similarities

2010-01-01 Thread Angel Java Lopez
of name collision; it has some sort of renaming. The first time I saw namespaces was in nineties C++, then popularized by Java packages. Any previous work on that? Smalltalk categories, dictionaries could be considered namespaces? Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez

Some questions about core.clj implementation

2009-11-15 Thread Angel Java Lopez
)) :else (cons (first arglist) (spread (next arglist) Where is defined :else keyword behaviour? I can't find how :else is defined to be managed in cond/if code TIA Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez -- You received this message because you are subscribed

Clojure resources in Spanish

2009-10-22 Thread Angel Java Lopez
://javierneirasanchez.blogspot.com/ Any other resources? Any interest in create and participate in a Clojure Spanish google group? Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Clojure resources in Spanish

2009-10-22 Thread Angel Java Lopez
Hi People! Ok, I just created a Google group, dedicated to Clojure topics, in Spanish: http://groups.google.com/group/clojure-hispano Anyone is invited to join. We are few, but I hope this group could be an starting point. Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez

Duplicated keys in maps

2009-10-11 Thread Angel Java Lopez
? where? Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez --~--~-~--~~~---~--~~ 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

Re: If you wish to have a version for off-line use...

2009-09-19 Thread Angel Java Lopez
Hi people! I understand you want to use the download button from: http://github.com/richhickey/clojure Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Sat, Sep 19, 2009 at 3:59 PM, cej38 junkerme...@gmail.com wrote: I was just looking through the main web page

Re: Help

2009-08-30 Thread Angel Java Lopez
I guess you want to write: (defn foo [ v] (apply + v)) (note the space between and v) -- no clojure here... it's English... :-) If you write v (without space) it's just another identifier v. Angel Java Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Sun, Aug 30, 2009 at 10:09 AM