[ANN] Rankle from Tables Considered Helpful

2018-12-05 Thread semperos
>From my Tables Considered Helpful talk, I’ve made the Rankle code base at https://github.com/semperos/rankle public. It’s alpha, a mess, and a work in progress. It currently has two Jupyter notebooks with some documentation and examples, starting with https://github.com/semperos/rankle/b

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread semperos
Is there a reason you don't use one of the methods exposed in clojure.lang.RT, e.g., makeClassLoader() or baseLoader() ? On Thursday, May 9, 2013 2:00:54 AM UTC-4, Stream wrote: Hi all i wanna change the classloader of Clojure RT. in 1.5.1 so , i try to

Re: dumping maps out to XML

2012-08-23 Thread semperos
The following is a start: http://clojuredocs.org/clojure_core/clojure.xml/emit-element The :tag, :attrs, :content trio is a common pattern in Clojure libraries that deal with XML. -Daniel On Wednesday, August 22, 2012 9:40:28 PM UTC-4, larry google groups wrote: Forgive me if this has been

labrepl + tryclojure

2012-08-21 Thread semperos
I wanted to share a new tutorial resource that combines two excellent projects: Relevance's labrepl with tryclojure's web-based REPL. Here is a first, very rough cut of try-labrepl: http://bit.ly/O1Q8B8 Just run lein cljsbuild once and then lein run to get the app running locally on port

Re: labrepl + tryclojure

2012-08-21 Thread semperos
In terms of the labrepl content, I have purposely made very few edits at this point. Depending on the Clojure version, different forms are sometimes available by default at the REPL, so it's possible you'll need to do something like (require '[clojure.repl :as r]) and then use that alias to

Re: Logic Programming

2012-08-20 Thread semperos
miniKanren has been ported by David Nolen as well and is part of the core set of Clojure libraries: https://github.com/clojure/core.logic On Sunday, August 19, 2012 5:42:15 PM UTC-4, David Nolen wrote: On Fri, Aug 17, 2012 at 11:45 PM, Benjamin Chi bch...@gmail.comjavascript: wrote: Hi

Re: Follow-up questions on Stuart's InfoQ interview

2012-08-20 Thread semperos
With regards to reducers, I think it's worth watching one of Rich's own talks on this as well: http://vimeo.com/45561411 On Friday, August 17, 2012 6:29:29 PM UTC-4, Ben Mabey wrote: On 8/17/12 3:03 PM, Rich Morin wrote: I took a break from reading Programming Clojure, 2e to watch Stuart's

Re: ANN lein-expectations 0.0.7

2012-08-14 Thread semperos
With testing frameworks, there's nothing like trying all of them with a medium-sized code base. I use both clojure.test and Midje for clj-webdriver, but have recently used (and enjoyed) Expectations to test a parser/code-generator. Midje is the most batteries-included of the three and provides

[ANN] clj-webdriver 0.6.0-alpha9 released

2012-06-11 Thread semperos
I've just released version 0.6.0-alpha9 of clj-webdriver. Please see this post for more details: https://groups.google.com/forum/#!topic/clj-webdriver/B_QvWIOFr2o -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Emulating inheritance on protocols in ClojureScript.

2012-06-09 Thread semperos
Reviving this thread to see if anyone has any info at this point. Looking at the implementation of extend-type in JVM Clojure and ClojureScript, it's obvious that in ClojureScript it's not a simple wrapper macro for a specific use of extend, like it is in JVM Clojure. As this particular

Re: Lambda: A lniux distro for clojurists

2012-06-04 Thread semperos
Any of a specialized distro, a shared VM, a pallet or vagrant script would be a good idea, because the point of such an offering is for *getting started*. For those who have never set up a Clojure environment, being able to interact with an existing setup and take out the parts they want would

Re: clj-webdriver: Clojure API for Selenium-WebDriver

2012-02-27 Thread semperos
this in the future. Cheers, '(Devin Walters) On Saturday, February 25, 2012 at 12:19 AM, Yan Aung wrote: Sweet! I'm excited to do browser testing again using this. Screencast is awesome. Thanks for putting it together. -Yan On Feb 18, 4:57 pm, semperos daniel.l.grego...@gmail.com wrote: Though

Re: [ANN] clj-webdriver: Clojure API for Selenium-WebDriver

2012-02-19 Thread semperos
I wouldn't go that far :-) It's more like, browser is gross mutable Java object hidden beneath layers of Clojure goodness. -Daniel -- 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

[ANN] clj-webdriver: Clojure API for Selenium-WebDriver

2012-02-18 Thread semperos
screencast introducing clj-webdriver: http://blip.tv/semperos/introduction-to-clj-webdriver-taxi-api-5967872 The current version is [clj-webdriver 0.6.0-alpha2]. The project is hosted on Github https://github.com/semperos/clj-webdriver with an extensive wikihttps://github.com/semperos/clj

Re: ANN: Autodoc 0.9.0 (Finally!)

2012-01-05 Thread semperos
Thanks Tom, works like a charm. Looking forward to support for protocols and the like. Where's a good place to start helping on that front? -Daniel -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Basic Data Structure Question

2011-07-28 Thread semperos
@Ken Thanks for taking the time to walk through all of that. I had considered recursive approaches, but was hoping to avoid a naive approach given the size of the root map and all its children. The [key1 key2 key3] as id won't be possible in this context, but thanks for the multiple options.

Re: Basic Data Structure Question

2011-07-28 Thread semperos
@lpetit Thanks for that, that's a nice complete example of using zippers and easy to follow. O(n) time is fine at this stage of the application (due to smaller amounts of data and a shallow tree), but definitely won't scale over time. -- You received this message because you are subscribed to

Re: Alright, fess up, who's unhappy with clojurescript?

2011-07-26 Thread semperos
Based on the majority of posts in this thread, I think you can see you're in the minority, both with regards to your opinions of ClojureScript and with regards to how this community should behave. Here's one more person who doesn't appreciate the attitude your posts embody. Rich, and everyone

Re: newbie question

2011-04-18 Thread semperos
To use lein run, you need to do two things: 1) Write a -main function (defn -main [] ... ) in whatever namespace you like (you could put it in the core namescape, like you did in your echo statement for the (println foo)). For example: (defn -main [] (println foo)) 2) Specify which

Re: Clojure Code Highlighting in Presentations

2011-04-04 Thread semperos
On my Mac, I use pygmentize http://pygments.org/on the command-line to generate a syntax-colored HTML file from a Clojure source file. Then I open the HTML file in Safari and copy-and-paste the code into Keynote. The Mac clipboard keeps the formatting between those two programs. A bit

Re: Multiple replacements in string using a map

2011-03-14 Thread semperos
There is also this contrib code which facilitates string interpolation: http://clojure.github.com/clojure-contrib/strint-api.html But I second Ken's concern about SQL injection attacks. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: Release.Next Version Number

2011-02-24 Thread semperos
Another vote for semantic versioning. I agree that the claim to 2.0 comes with some expectations about environment and overall development experience, but I think that *backwards incompatible changes* deserve a major version bump, to keep heads straight and make it clear to newcomers where the

Re: ANN: Clojure Toolbox (Early Beta)

2011-02-23 Thread semperos
Thanks for taking the time and effort to put this together. -Daniel -- 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

Re: Sorting of function definitions in namespaces

2011-02-11 Thread semperos
To throw another opinion in the mix... Lisp programming encourages a bottom-up style of development. I feel this fits very naturally with Clojure's function-order requirements, as you build the vocabulary of your program starting with small units. Combined with logical separation of files and

Re: [SOLVED] Re: Help - .class files and GAE's too many files problem

2011-02-11 Thread semperos
Thanks for posting your solution. Asking a question and then providing an answer is no noise; I'm sure it will help folks with similar issues. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to