Re: Newbie question: Writing a GUI with clojure

2009-08-05 Thread Julian
On Aug 6, 6:51 am, Joe Van Dyk 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: http://clojure.googlegroups.com/web/clojure-gui-and-netbeans.pdf?hl=en&gda=f1jT-U4AAAC-wnUK1KQ919yJcmM1ACuZF_7

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 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 the  page at GitHu

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 mi

Re: asm-based clojure yet?

2013-05-17 Thread Julian
e's persistent data 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 cl

Re: asm-based clojure yet?

2013-05-22 Thread Julian
gt;>> On Sat, May 18, 2013 at 1:09 AM, atkaaz >> >wrote: >>> >>>> Thanks very much everyone! I'm looking into all of those, but currently >>>> planning to read Julian's pdf. I didn't want to say anything until I had >>>> some

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: [ANN] async-sockets - work with sockets using core.async channels

2014-10-11 Thread Julian
and/status/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

[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 f

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

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

"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 a

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 clojure@googlegrou

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

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

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 reduc

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: 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:

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: 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: > > > learn

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 tran

Re: Homoiconicity in clojure (macro power)

2011-11-01 Thread Julian
Julian 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 >aga

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 G

Re: Atoms

2008-12-05 Thread Julian Morrison
It seems like a pure efficiency optimization - used alone it doesn't change semantics from dosync and alter over one ref. It makes me feel wary. What if I changed my design and wanted to do more in the same transaction? What if I later wanted to call a function that uses it in the scope of a wide

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. P

Re: neo4j-clojure

2008-12-06 Thread Julian Morrison
D]> wrote: > --- On Sat, 12/6/08, Julian Morrison wrote: > > > A wrapper for neo4j, which is a non-relational database > > using [...] traversable relationships. > > Hey, wait... > > Dave --~--~-~--~~~---~--~~ You received this message b

Re: neo4j-clojure

2008-12-06 Thread Julian Morrison
, I was just looking at neo4j last 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 da

Re: Clojure + Redis

2010-01-01 Thread Julian Morrison
I've just recently been poking around these NoSQLs investigating their features, so... Redis has limited data structures - flat un-nested lists and sets, and plain strings. It doesn't have sets exactly - just keys and values. Nothing nested at all, unless you serialize to strings. No indexes, alth

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 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

Re: Full Disclojure - I Need Topics!

2010-01-27 Thread Julian Adams
+1 for debugging 2010/1/27 Joonas Pulakka > On Jan 27, 7:17 am, Mark Engelberg 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 easier? > > I have to mention MiGLayout (http

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 f

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

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 rep

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 -

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

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

Debugging Java heap space memory error with lazy sequences.

2011-11-17 Thread Julian Kelsey
es: we can trust that (nth seq 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, sen

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

2011-11-18 Thread Julian Kelsey
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 wrote: > Hi, >

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) #'us

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 IObjec

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 th

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 (

Re: Entity component system

2011-01-09 Thread Eduardo Julian
Interesting. I'm also into game development with Clojure. I'd like to see the project open--sourced and, if possible, participate. -- 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

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 clojure

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 erro

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