ANN: tween-clj 0.4.0 (Tweening library for Clojure)

2012-09-17 Thread Glen Stampoultzis
tween-clj is a Clojure library designed to tween a value between two points. Inbetweening or tweening is the process of generating intermediate points between two points. Source code: https://github.com/gstamp/tween-clj Jar file: https://clojars.org/tween-clj Clojure Libraries Page: http:/

Re: ANN Quartzite 1.0 (final)

2012-09-17 Thread Glen Stampoultzis
On 18 September 2012 06:53, Michael Klishin wrote: > * Solid documentation (my favorite feature) Mine too! Nice job. -- 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 fro

Re: Clojure Toolbox

2012-04-03 Thread Glen Stampoultzis
Also... http://clojure-libraries.appspot.com On 24 March 2012 23:45, Rostislav Svoboda wrote: > A nice list of tools and libraries I stumbled upon. Enjoy! > > http://www.clojure-toolbox.com/ > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To

Re: Calling all Melbourne, Australia, Clojure users

2012-02-08 Thread Glen Stampoultzis
On 7 February 2012 22:23, James Sofra wrote: > > So please drop a note here, or you email me directly, to let me know if > you are in Melbourne and interesting in catching up to chat about and hack > Clojure. > > I'd be interested. -- You received this message because you are subscribed to the

Re: ANN: deep-freeze serialization library

2011-12-30 Thread Glen Stampoultzis
On 30 December 2011 17:00, Timothy Baldridge wrote: > A few months back I released 1.0 of deep-freeze, a binary > serialization library for Clojure. Due to recent additions by Peter > Taoussanis I thought it would be about time to let some more people > know about this project, and bump the versi

Re: Avout: Distributed State in Clojure

2011-12-04 Thread Glen Stampoultzis
On 3 December 2011 01:44, David Edgar Liebke wrote: > Hi Glen, > > > > > The init-stm step is still referenced in the documentation as being > required BTW. > > > > Thanks, I'll remove the reference. > > > I had a couple of questions. > > > > I noticed that when I create a reference (zk-ref) I ne

Re: Avout: Distributed State in Clojure

2011-12-01 Thread Glen Stampoultzis
On 2 December 2011 05:26, liebke wrote: > Just released Avout 0.5.2, which now includes automatic STM > initialization (no more pesky init-stm step). > > The init-stm step is still referenced in the documentation as being required BTW. I had a couple of questions. I noticed that when I create a

Re: How to attach debugger on clojure's repl ?

2011-09-22 Thread Glen Stampoultzis
On 22 September 2011 11:04, Scott Jaderholm wrote: > While that still works, ritz is really where it's at for awesome debugging > clojure in emacs. It allows stepping and stuff with a nice UI. > > https://github.com/pallet/ritz > > Video (only for overview, follow instructions at url above) > htt

Re: ANN: ClojureSphere - browse the Clojure ecosystem

2011-09-06 Thread Glen Stampoultzis
On 7 September 2011 01:17, Justin Kramer wrote: > Prompted by a question on IRC a couple days ago, I built a tool that allows > you to browse the dependency graph of Clojure projects from GitHub & > Clojars: > > http://clojuresphere.herokuapp.com/ > > You can see dependencies of a project, but al

Re: Clojure for large programs

2011-07-06 Thread Glen Stampoultzis
On 7 July 2011 09:39, Zach Tellman wrote: > I agree that namespaces should be designed to be consumed, but that can be > pretty taxing on the developer. In my libraries, I tend to split the > functions into whatever sub-namespaces I want to keep the organization easy > for me, and then import al

Re: Clojure for large programs

2011-07-02 Thread Glen Stampoultzis
On 3 July 2011 11:26, Mark Engelberg wrote: > But Clojure's > lack of a "fail-fast" philosophy has burned me several times, with > hard-to-track-down bugs that were far-removed from the actual cause. > The larger my code grows, the more this annoys me, reminding me too > much of my days tracking

Re: Emacs setup - quick navigation to files and definitions

2011-06-12 Thread Glen Stampoultzis
ctrl-x ctrl-i lists the current symbols and lets you jump to them. I don't know of anything that does it across a project however. On 13 June 2011 12:42, yair wrote: > I mean something like a window or tab somewhere on the screen that > would list all .clj files in the project directory, and fo

Re: clj3D, a Clojure 3D Library

2011-04-06 Thread Glen Stampoultzis
On 7 April 2011 07:18, Ken Wesson wrote: > On Wed, Apr 6, 2011 at 4:46 PM, Benny Tsai wrote: > > Works for me (Chrome 10.0.648.204, Windows XP SP3). > > Well, this is just screwy. I have tried restarting Chrome, disabling > and re-enabling its Flash plugin, and various other things. No joy. > An

Re: Emacs `align' function customization for Clojure

2011-04-02 Thread Glen Stampoultzis
I created an align for Clojure a little while back. [1] It has some limitations such as not handling type hints (yet) but works well enough. There was also a fork [2] that added alignment to compojure forms. [1] http://clojure-libraries.appspot.com/show/34002 [2] https://github.com/scottjad/align-

Re: ANN: Clojure Libraries

2011-03-01 Thread Glen Stampoultzis
Changed. Thanks. On 2 March 2011 08:52, Sergey Didenko wrote: > Thanks, Glen. > > A correction: "calx" does not belong to the GUI category. > > May be "Utility" is better? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this grou

Re: ANN: Clojure Libraries

2011-02-27 Thread Glen Stampoultzis
On 28 February 2011 12:01, James Reeves wrote: > On 27 February 2011 23:56, Glen Stampoultzis wrote: >> PS. This overlaps somewhat with Clojure Toolbox which, via an >> unfortunate coincidence, came out about the same time. There are some >> important differences however, so

ANN: Clojure Libraries

2011-02-27 Thread Glen Stampoultzis
Hi everyone, I'd like to announce the availability of Clojure Libraries (http://clojure-libraries.appspot.com/). Clojure Libraries is a database for keeping track of Clojure libraries and tools. Clojure Libraries can be edited by end users (by logging in with a Google account). Edits are tracke

Re: Release.Next Version Number

2011-02-23 Thread Glen Stampoultzis
>> - better discovery for existing, well-tested libraries. > > You can search on http://clojars.org/. This works well for me. > However, the key to well tested libraries is having people give > feedback if a library breaks or is badly documented or doesn't meet > their needs. I'm currently working

Re: Emacs `align' function customization for Clojure

2011-01-10 Thread Glen Stampoultzis
On 6 January 2011 04:29, Scott Jaderholm wrote: > On Tue, Jan 4, 2011 at 9:10 PM, Eric Schulte > wrote: > > I wonder if anyone else has written any similar Emacs alignment rules > > for Clojure which they would be interested in sharing? > > Alignment rules for let and defroutes are at the top of

Re: Library and development process for GAE

2011-01-09 Thread Glen Stampoultzis
On 10 January 2011 04:37, Constantine Vetoshev wrote: > On Jan 9, 10:54 am, Stefan Kamphausen wrote: > > Given that decision I'd like to understand the general development > process. > > Does one always compile to a class (ns ...gen-class ..extends ..Servlet) > and > > will the appengine develop

Re: Let's see how fast we can make this

2010-12-25 Thread Glen Stampoultzis
On 26 December 2010 03:00, Ivan wrote: > Would be interesting to see tests done on UTF-8 strings as this is the > only type that Java supports. > Do you mean UTF-16? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: sort-by reverse order?

2010-11-21 Thread Glen Stampoultzis
On 22 November 2010 15:30, Glen Stampoultzis wrote: > > On 22 November 2010 15:02, Alex Baranosky > wrote: > >> Hi guys, >> >> I'm trying to figure out how to use sort-by in reverse order. >> >> something like: >> >> (defn ke

Re: sort-by reverse order?

2010-11-21 Thread Glen Stampoultzis
On 22 November 2010 15:02, Alex Baranosky wrote: > Hi guys, > > I'm trying to figure out how to use sort-by in reverse order. > > something like: > > (defn keyfn [p] > (:last-name p)) > > (sort-by keyfn persons) > > where persons is a map... > > I don't see it in the docs, what's the idiomatic

Re: ANN: Clojure Games

2010-11-20 Thread Glen Stampoultzis
On 20 November 2010 02:37, Tim Visher wrote: > Here's something quick I threw together this morning. I like your > logo a lot but I thought it had a little more potential. :) > > Anyway, free for you to use if you feel so inclined. Thanks. > > Since the ghost is bitmaped maybe the pacman shoul

Re: [ANN] appengine-magic: using Clojure with Google App Engine

2010-10-04 Thread Glen Stampoultzis
On 21 September 2010 07:15, Constantine Vetoshev wrote: > I'd like to announce the release of a working version of appengine- > magic, a library designed to make it easier to get started with Google > App Engine using Clojure. > .. chop .. I noticed it uses ring out of the box. I was wondering

Re: usage examples in clojure api docs

2010-07-02 Thread Glen Stampoultzis
On 3 July 2010 10:12, David Nolen wrote: > On Fri, Jul 2, 2010 at 3:46 AM, Justin Kramer wrote: >> >> Partly in response to this issue and partly to get my feet wet with >> Ring and friends, I spent the last few nights writing a proof-of- >> concept Wiki to collect structured Clojure usage exampl

Re: usage examples in clojure api docs

2010-06-29 Thread Glen Stampoultzis
On 30 June 2010 10:01, Mark Fredrickson wrote: >  user> (doc foo) > - > user/foo > ([a b]) >  Adds two numbers > === Categories === > > :bar, :baz, :other > > === See Also === > > * #'user/bar > > === Examples === > >> (foo 1 2) > 3 >> (foo 3 4) > 7 > > === References === >

Re: Clojure script with shebangoid on windows

2010-05-30 Thread Glen Stampoultzis
On 31 May 2010 04:51, Paul Moore wrote: > On 30 May 2010 12:31, alux wrote: > > Small addition, you missed to add the : before eof > > > > replace "goto eof" by "goto :eof" > > Thanks, good catch. ("goto eof" without the colon works on TCC, which > I normally use as my command shell). > > I noti

Re: Documentation (was: Re: duck-streams missing from clojure-contrib.jar file)

2010-04-21 Thread Glen Stampoultzis
On Thursday, April 22, 2010, Tom Faulhaber wrote: > > A couple things I've also been thinking about are building in a search > capability and building a "super-index" of not only core and contrib > but various other external libraries that would link back to their > doc. I think building a super

Re: Leiningen, Clojure and libraries: what am I missing?

2010-03-07 Thread Glen Stampoultzis
On 5 March 2010 17:22, Meikel Brandmeyer wrote: > Hi, > > On Mar 5, 1:03 am, Felix Breuer wrote: > > > I agree that Windows is a second class citizen as far as clojure > > tools go. > > Oh please stop that. I have a stable setup of Gradle + Clojuresque + > VimClojure on Windows. Granted setting

Re: Leiningen, Clojure and libraries: what am I missing?

2010-03-04 Thread Glen Stampoultzis
On 5 March 2010 04:39, Chris Perkins wrote: > > The situation is worse on Windows, where I can't even get leiningen to > work at all. Luckily I'm only working on one clojure project, so I > just copy clojure.jar and clojure-contrib.jar into my project's lib > directory, as well as a faked versio

Re: Full Disclojure - I Need Topics!

2010-02-04 Thread Glen Stampoultzis
On 25 January 2010 16:34, Sean Devlin wrote: > Hello everyone, > I'm having a blast making the Full Disclojure series. It's one the > best projects I've had a chance to work on. > > However, there's going to be a problem soon. I only have a few more > topics left before I run out. No more topi

Re: Clojure for game programming?

2009-09-01 Thread Glen Stampoultzis
I've been fiddling with the LWJGL [1] with a view to making a game for my children. It's slow going because when I learn more about Clojure I end up changing my mind about how I want things structured. OpenGL is all new to me as well - as is game programming in general. As part of my exploration

Re: Improving the documentation

2009-08-16 Thread Glen Stampoultzis
> I took a shot at it at > http://ociweb.com/mark/clojure/ClojureCategorized.html. Suggestions > for changes to this are welcomed. Also check out > http://ociweb.com/mark/clojure/article.html. > > -- > R. Mark Volkmann > Object Computing, Inc. > > Since you're asking. :-) That page would be greatl

Re: Clojure performance tests and clojure a little slower than Java

2009-08-12 Thread Glen Stampoultzis
> > There was a good thread on this list some weeks ago which mentioned > another JVM flag: > -XX:+PrintOptoAssembly > > The original thread: > > http://groups.google.com/group/clojure/browse_thread/thread/314952431ec064b7?fwc=1 > > There's some more information about it at [1]. It looks like you

Re: Website down?

2009-07-27 Thread Glen Stampoultzis
Seems to be up. http://downforeveryoneorjustme.com/clojure.org 2009/7/27 John Newman > I've been trying to get to Clojure.org for a few days > now and I can't get to it from my military network, nor my civilian > satellite con

Re: Emacs clojure mode: how to set current directory & classpath

2009-07-21 Thread Glen Stampoultzis
2009/7/21 Anne Ogborn > > > While we're on this subject, anybody know the same information for La > Clojure? That is, how to set up the current directory and classpath so one > can compile java classes from Clojure? > > IntelliJ has many strengths, but a simple, transparent mechanism to add an >

Re: Examining performance on the JVM

2009-07-15 Thread Glen Stampoultzis
Apparently it's possible to see the assembly instructions if you're running a debug VM [1]. -XX:+PrintOptoAssembly dumps to the console a log of all assembly being generated for JITed methods. The instructions are basically x86 assembly with a few Hotspot-specific instruction names that get replac

Re: Penumbra, a new set of OpenGL bindings

2009-07-06 Thread Glen Stampoultzis
2009/7/1 ztellman > > Most of the OpenGL code I've seen has been a fairly literal > translation of the corresponding Java, so as a way of getting my feet > wet in Clojure I've written something that tries to be a little more > idiomatic. It can be found at > http://github.com/ztellman/penumbra/t

Re: subvec drops metadata

2009-06-30 Thread Glen Stampoultzis
I couldn't say whether it should or not but I've faced similar issues with attaching metadata to various collections. It becomes very easy to lose the metadata when you're dealing with collections since many high level functions tend to return new seqs. I found myself having to reappy the metadat

Re: Improved Error Messages - Part XXXVIII

2009-06-25 Thread Glen Stampoultzis
2009/6/26 James Reeves > > On Jun 25, 7:01 pm, Four of Seventeen wrote: > > On Jun 25, 12:18 pm, James Reeves wrote: > > > > > Some languages go a step further, and highlight syntax errors directly > > > with some ASCII art: > > > > > Unmatched delimiter: > > > (let [x map inc nums)] > >

Re: I must be blind. No matching method found?

2009-06-24 Thread Glen Stampoultzis
Seems to fine under Windows XP: user> (.substring (StringBuilder. "i must be blind") 4) "st be blind" 2009/6/25 Adrian Cuthbertson > There was a post a few days ago about a StringBuilder problem on MacOs Java > 1.5. I think this is the same problem (i.e Java not Clojure). > > Rgds, Adrian. > >

Re: Good examples of defmulti polymorphism

2009-06-02 Thread Glen Stampoultzis
in > Select your photo > Take your identity photo > Select your photo > liberer piece > {:photos 2, :state :needs-coin} > 1:7 designpatterns.state=> > > It's more a tutorial-like example than a "real life" example, but I > hope it will help, > &g

Re: Good examples of defmulti polymorphism

2009-06-02 Thread Glen Stampoultzis
Some good examples from everyone. Thank you. 2009/6/3 Richard Newman > > Some work in which I'm currently engaged uses ad hoc hierarchies for > dispatching on a handler and either a message method or a method and > response code. In the realm of HTTP clients -- imagine that the > response arriv

Good examples of defmulti polymorphism

2009-06-02 Thread Glen Stampoultzis
orphism in clojure. Regards, Glen Stampoultzis --~--~-~--~~~---~--~~ 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 m

Slime and OpenGL

2009-05-19 Thread Glen Stampoultzis
different about the environment is triggering this error. Anyone with any clue about what's going on? Regards, Glen Stampoultzis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" grou

Best practices for Slime with Clojure

2009-05-16 Thread Glen Stampoultzis
t working directory. The swank process seems to use my home directory as the current working directory regardless of what the current working directory of emacs currently is. Is there any way to set this and to manage it on a per project basis? Regards, Glen Stampoultzis --~--~-~--~

Re: Request for improved error reporting

2009-03-28 Thread Glen Stampoultzis
2009/3/29 Stephen C. Gilardi > > On Mar 28, 2009, at 10:31 PM, Glen Stampoultzis wrote: > > It wasn't really this specific problem that I wanted to point out but more >> to trigger a rethink of how errors are reported back to the user. >> > > I understand, b

Re: Request for improved error reporting

2009-03-28 Thread Glen Stampoultzis
__4.invoke(testing.clj:3) at clojure.lang.Compiler.eval(Compiler.java:4522) ... 16 more Using latest released version of clojure. 2009/3/29 Stephen C. Gilardi > > On Mar 28, 2009, at 8:01 PM, Glen Stampoultzis wrote: > > Sorry I just realized I was a bit ambiguous with this. The exce

Re: Request for improved error reporting

2009-03-28 Thread Glen Stampoultzis
Sorry I just realized I was a bit ambiguous with this. The exception does show the line number (in the second stack trace). But it's gone missing in the top one. 2009/3/29 Glen Stampoultzis > Hi, I've been really enjoying getting to know clojure. It's an awesome > lan

Request for improved error reporting

2009-03-28 Thread Glen Stampoultzis
Hi, I've been really enjoying getting to know clojure. It's an awesome language that has got me very interested in learning more. One thing that hasn't left me impressed is the error reporting. I recently got this one that left me scratching my head: java.lang.NullPointerException (splat.clj:0)

Re: The Application Context Pattern

2009-03-04 Thread Glen Stampoultzis
plicated > to solve than infinite loops among observers. > > -- > Itay Maman > http://javadots.blogspot.com/ > > > > On Mar 4, 8:45 am, Glen Stampoultzis wrote: > > Hi Itay, > > Thanks for posting this example. Being new to Clojure it's a nice > exa

Re: The Application Context Pattern

2009-03-04 Thread Glen Stampoultzis
Hi Itay, Thanks for posting this example. Being new to Clojure it's a nice example to study since it solves a very realistic problem that many new to functional programming will face. I think I've unraveled most of how the code is working but there's one function I'm not particularly clear about.