Re: [ANN][Book] Clojure Recipes published and for sale on Amazon

2015-10-25 Thread Julian
Thanks everyone. On Thursday, 22 October 2015 22:52:25 UTC+11, Torsten Uhlmann wrote: > > Congratulations, Julian! > > Leonardo Borges <leonardo...@gmail.com > schrieb am Do., 22. > Okt. 2015 um 13:10 Uhr: > >> Congratulations Julian! I'll share this around! >

[ANN][Book] Clojure Recipes published and for sale on Amazon

2015-10-22 Thread Julian
My book Clojure Recipes just got published and is for sale on Amazon! http://clojurerecipes.net/ http://www.amazon.com/Clojure-Recipes-Developers-Library-Julian/dp/0321927737/ I've been working on it for about 2.5 years - I hope you find it useful! (Or even better - I hope you know a friend

Re: sort-by reverse order?

2014-12-23 Thread Julian Jelfs
That's awesome! (though I'm slightly surprised there isn't an easier way). Thanks. On Tuesday, 23 November 2010 21:03:37 UTC, Tyler Perkins wrote: Nice! And with just a bit more, we have a clean, sorting DSL: (def asc compare) (def desc #(compare %2 %1)) ;; compare-by generates a

Re: [ANN] async-sockets - work with sockets using core.async channels

2014-10-11 Thread Julian
/520566182194450432 https://gist.github.com/cgrand/767673242b7f7c27f35a I'm interested to hear if this solves your problem or is about something else. Cheers Julian On Wednesday, 8 October 2014 17:00:02 UTC+11, Zach Tellman wrote: The reason the thread-per-connection approach is nice is because it correctly

in Clojure I rarely find myself reaching for something like the state monad, as I would in Haskell

2014-05-16 Thread Julian
A quick shoutout to the Clojure Community - thanks for the way you've all contributed to make my life (mentally) richer. James Reeves (author of Compojure and many other wonderful libraries) made this interesting comment on Hacker News: Clojure has libraries that implement monads, but these

My Clojure Workflow, Reloaded

2013-06-05 Thread Julian
Stuart Sierra has written a fantastic article on his particular pattern for writing and testing Clojure code: http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded There is some commentary on Hacker News about it here: https://news.ycombinator.com/item?id=5819487 I'll include some

Re: asm-based clojure yet?

2013-05-22 Thread Julian
letting y'all know that I'm considering each recommendation. On Sat, May 18, 2013 at 7:12 AM, Julian julian...@gmail.comjavascript: wrote: If you had a hobbyist interest in representing S-expressions in assembler - then you could take a look at the tutorial written by Abdulaziz

Re: asm-based clojure yet?

2013-05-17 Thread Julian
structures, I don't recommend trying to implement them in ASM. Cheers Julian On Friday, 17 May 2013 22:06:45 UTC+10, Alan D. Salewski wrote: On Fri, May 17, 2013 at 02:10:02PM +0300, atkaaz spake thus: Ok, weird question: is there some clojure port on assembler yet? Even if(/especially

Re: How to speed up Clojure Training for New Recruitment

2012-06-20 Thread Julian
Thanks Jay, Those articles are indeed inspirational. I was just wondering - back from your TW days - would the arguments in those articles make sense for a TW consultant to present to a client? Cheers, Julian On Tuesday, 19 June 2012 01:22:34 UTC+10, Jay Fields wrote: learning curve

Re: algebra system core.logic

2012-05-20 Thread Julian
Core.logic isn't the only way to approach this problem. In Peter Norvig's PAIP he included a simple algebra system, macsyma http://norvig.com/paip/macsyma.lisp (in common lisp). JG On Sunday, 20 May 2012 06:21:56 UTC+10, Brent Millare wrote: That's more or less what I'm going to have to do

Re: Rich Hickey Video - unit conversion language

2012-03-06 Thread Julian
Awesome - I wonder if Frinj was what Rich had in mind when he was giving that talk? On Sunday, 4 March 2012 19:08:36 UTC+11, martintrojer wrote: And now there is Frinj! :) https://github.com/martintrojer/frinj On Monday, 21 June 2010 12:46:55 UTC+1, Julian wrote: Rich Hickey made

clj-blueprints

2012-02-24 Thread Eduardo Julian
I'd like to present you with an small library for working with Blueprints-enabled graph databases in Clojure: https://github.com/eduardoejp/clj-blueprints Have fun! -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Debugging Java heap space memory error with lazy sequences.

2011-11-18 Thread Julian Kelsey
, as in the solution Meikel has provided, I avoid retaining any references to the front of the sequence, and the garbage collector can do it's work. I always learn much better by making mistakes like these. Cheers, Julian. On Thu, Nov 17, 2011 at 9:49 PM, Meikel Brandmeyer m...@kotka.de wrote: Hi

Debugging Java heap space memory error with lazy sequences.

2011-11-17 Thread Julian Kelsey
N) is not the problem, it returns in reasonable time for a test like this: (nth (iterate inc 1) (Math/pow 10 9)) Cheers, Julian Kelsey. -- 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: Homoiconicity in clojure (macro power)

2011-11-01 Thread Julian
There are some examples of homoiconicity in other languages here: http://c2.com/cgi/wiki?HomoiconicExampleInManyProgrammingLanguages (being TCL, Joy and Io) Also worth noting is the recent work by Ola Bini on Ioke. Another interesting homoiconic language was Apple's Dylan language - which

Re: Homoiconicity in clojure (macro power)

2011-11-01 Thread Julian
Julian julian...@gmail.com writes: I wonder what would be required for a modification to the clojure reader in order to do this... No intention of picking on Julian, but do we really have to re-live all of the flamewars and jawflapping of comp.lang.lisp on the clojure group again? You're

Clojure binding for OrientDB

2011-08-01 Thread Eduardo Julian
I have been working on this library for a little while and I would like to present it to you: https://github.com/eduardoejp/clj-orient I hope this can be of help for the Clojure and OrientDB communities. -- You received this message because you are subscribed to the Google Groups Clojure group.

Re: [Clojurescript] Any of this in the pipeline?

2011-07-26 Thread Julian
These were the four major features which first got me interested in GWT: * tooling in GWT - being able to debug compiled javascript step by step whilst working in an eclipse java debugger is what stood out for me (and seemed to help it scale to large applications) I've got stacks of respect

Re: A stupid jvm question

2011-06-24 Thread Eduardo Julian
You might want to check this out: https://github.com/tinkerpop/tinkubator/tree/master/mutant -- 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 -

clj-ripple

2011-05-11 Thread Eduardo Julian
I made a little library called clj-ripple for the easy embedding of Ripple code (for navigating the Semantic Web) inside Clojure programs. It works by translating Clojure sexps to Ripple code strings through a macro and then executes and returns the resulting stacks as lazy sequences. The git

Re: Cyber Dungeon Quest Alpha 1

2011-04-15 Thread Julian
I looked at this and thought, It reminds me of Wyvern. The lead developer behind Wyvern, Steve Yegge, was a fairly visionary and expressive programmer who has written a lot about LISP and JVM related subjects. I was reminded of Steve Yegge's post on when he thought he'd rewrite Wyvern to reduce

VerifyError trouble

2011-01-28 Thread Eduardo Julian
Hi guys. I was working on a macro for easily defining mutable classes without having to previously define a protocol for the methods in them (the macro takes care of that for you) and providing basic get-set operations. However, I have trouble when defining classes, cause I get the following

Re: VerifyError trouble

2011-01-28 Thread Eduardo Julian
I think I have the same error as in this post: http://groups.google.com/group/clojure/browse_thread/thread/8257e4ec8a652b23/e94df8077ecb1ac4 -- 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

Why is DISsoc being DIScriminated?

2011-01-13 Thread Eduardo Julian
I noticed that although you can use assoc with sequences and vectors to modify them, you could not use dissoc to eliminate elements from them. Why is this so? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

OrientDB

2010-11-30 Thread Eduardo Julian
Hey guys, I know it's not directly related to Clojure, but I'm in a start-up with some friends and I'll be working on a website that would seriously benefit from graph DBs. I've checked out Neo4J (and found it quite nice), but OrientDB also seems really cool and it sports a more flexible license

Symbol evaluation error in let

2010-11-27 Thread Eduardo Julian
user= (let [a 'b] (str a)) b user= (let [b 5 a 'b] (eval a)) java.lang.Exception: Unable to resolve symbol: b in this context (repl-1:7) user= (let [a 'b b 5] (eval a)) java.lang.Exception: Unable to resolve symbol: b in this context (repl-1:9) user= (def b 5) #'user/b user= (def a 'b) #'user/a

Re: Symbol evaluation error in let

2010-11-27 Thread Eduardo Julian
Woah. That's as weird as you can get. Thanks, man. -- 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.

Can clojure.contrib.fnmap.PersistentFnMap have metadata

2010-11-27 Thread Eduardo Julian
I was trying to use the fnmap API at clojure.contrib for some things and I needed to add metadata to the function maps but I got this exception: java.lang.ClassCastException: clojure.contrib.fnmap.PersistentFnMap cannot be cast to clojure.lang.IObj Stuart, can you make PersistentFnMa extend

Re: Understanding clojure bindings

2010-11-27 Thread Eduardo Julian
You might wanna check out the post I recently made and the answer by Ken Wesson: http://groups.google.com/group/clojure/browse_thread/thread/9b042a2ddb8017aa It's basically the same thing. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: precise numbers

2010-10-14 Thread Julian
For the sake of comparison with other LISPs - some Scheme implementations have an exact? function for dealing with non-precise numbers. This seems not to have come across to Clojure. (Although we do have ratios and BigInteger). JG -- You received this message because you are subscribed to the

Re: Little LISPer and Ten Commandments

2010-09-23 Thread Julian
I concur - that book is amazing. Steve Yegge mentions he worked through the whole book in Scheme and then Common LISP. http://steve-yegge.blogspot.com/2006/06/shiny-and-new-emacs-22.html (and he mentioned recently he was taking a look at Clojure.) It looks like there is a blog or two online that

maturity and usefulness: clj-haml vs haml-macro

2010-06-21 Thread Julian
I'm about to start a new project using haml in clojure and I wanted to know at the present time (Jun 2010) - is clj-haml or haml-macro more mature? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Rich Hickey Video - unit conversion language

2010-06-21 Thread Julian
Rich Hickey made reference in one of his videos to a language that could convert between all different kinds of units and dimensions. Does anybody recall what that was? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Problem: Multimethod Dispatch Function

2010-04-14 Thread Eduardo Julian
I'm working on an object system called Fenrir, and one of the functions in my library, called new-obj, is used to make instances of classes: (defmulti new-obj #(:_fenrir_class-name %)) (defmethod new-obj ::fObject [fclass kvals] (with-meta (apply struct-map (conj kvals (:_fenrir_struct

Re: Full Disclojure - I Need Topics!

2010-01-27 Thread Julian Adams
+1 for debugging 2010/1/27 Joonas Pulakka joonas.pula...@gmail.com On Jan 27, 7:17 am, Mark Engelberg mark.engelb...@gmail.com wrote: Topic idea: What is the most elegant way to write a GUI in Clojure? (Swing? JavaFX?) Any great contrib libraries that make GUI programming noticeably

Matt Raible: Why is Clojure better than Scala or Groovy?

2010-01-16 Thread Julian
Matt Raible - Spring Expert and Java consultant posted the following entry to Twitter: Why is Clojure better than Scala or Groovy? http://twitter.com/mraible/status/7793457551 He went on to say: Let's try that again: I like Scala and Groovy and see no compelling reason to learn Clojure. Am I

Re: Clojure + Redis

2010-01-01 Thread Julian Morrison
Oops, typo - I meant, doesn't have hashes. On Jan 1, 9:07 pm, Julian Morrison julian.morri...@gmail.com wrote: It doesn't have sets exactly - just keys and values. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

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

2009-09-22 Thread Julian
Did you mean this? http://clojure.googlegroups.com/web/manual.pdf On Sep 20, 4:59 am, cej38 junkerme...@gmail.com wrote: I was just looking through the main web page of clojure-contrib and came across this: If you wish to have a version for off-line use you can use the download button on

Re: Newbie question: Writing a GUI with clojure

2009-08-05 Thread Julian
On Aug 6, 6:51 am, Joe Van Dyk joevan...@gmail.com wrote: You wouldn't want to whip up a quick example (or blog post) for me, would ya? Taking a quick look in the files section of this group found this:

neo4j-clojure

2008-12-06 Thread Julian Morrison
A wrapper for neo4j, which is a non-relational database using a network of nodes with properties and traversable relationships. This is my first Clojure wrapper library, I've tried to keep the spirit of Clojure by only wrapping things that were verbose or un- lispy. Please comment and critique.

Re: neo4j-clojure

2008-12-06 Thread Julian Morrison
night.  Can you point me to any papers about the theory behind those kinds of a databases? Thanks, Jim On Dec 6, 3:15 pm, Julian Morrison [EMAIL PROTECTED] wrote: A wrapper for neo4j, which is a non-relational database using a network of nodes with properties and traversable relationships