Re: Strange exception intializing clojure.core using Spring-Hadoop

2013-05-18 Thread Kyrill Alyoshin
This is indeed due to an interesting peculiarity of Clojure's runtime 
implementation. For whatever reason, RT class will fail to initialize if it 
was loaded by a classloader different from the context class loader of the 
executing thread. It may sound somewhat strange in terms of how this can 
actually happen in practice? But it is quite possible if the actual context 
classloader chooses "*parent first*" style of loading classes - thus 
delegating to its parent classloaders (or just the system classloader) 
first. 

This has been discussed on the following thread in this group in some 
detail: 
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/scala-user/Bh_YmI6e-wY

Spring Hadoop chooses an interesting style of classloading delegation when 
it submits the Hadoop "uberjar" using its 
*ParentLastURLClassLoader*implementation. It actually delegates to the system 
classloader first, then 
tries to load classes from the uberjar, and only then goes to the parent 
classloader if it is available. So, if you're running a simple Java process 
(i.e. not inside an application server or web container), as can be the case
in many situations including launching a simple unit test from inside an 
IDE, this *ParentLastURLClassLoader *effectively becomes a "parent first" 
classloader. 

Thus it creates an interesting situation: if *clojure.jar* is present on 
the classpath outside of the "uberjar" (not an unreasonable expectation), 
the RT class will be loaded by the system classloader when the context 
classloader is set to *ParentLastURLClassLoader* classloader. I have 
created an RFE in Spring Hadoop Jira to allow making classloading 
delegation configurable (i.e. allowing true "parent last" delegation as an 
option): SHDP-135 .

The way to work around these issues is to either ensure that no *clojure.jar
* is present on the main classpath when submitting "uberjars" to Hadoop 
from inside a running live JVM process or replacing a context classloader 
with a custom "true parent last" classloader (assuming the 
SHDP-135is not addressed) in a 
try/finally block. 

At this point it is *unclear* why Clojure RT class behaves the way it does. 
It is certainly somewhat "unconventional". It would be hugely beneficial 
and *very interesting* to know why the actual implementation of the context 
classloader should matter to the startup of Clojure runtime. I think the 
whole community would benefit greatly from this understanding. 

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Jason Gilman
One option that I've used is to put the code into a gist on github named 
with a clj extension. Github will format it based on the extension. When 
you copy and paste it from the gist into keynote, etc. the formatting will 
be intact. Example here: https://gist.github.com/jasongilman/3684830  This 
also has the side effect of having a place to point people to see the code 
from your presentation.

On Friday, May 17, 2013 11:42:55 PM UTC-4, Korny wrote:
>
> Hi folks - I had to prepare some slides for a conference, and I struggled 
> to get nice looking clojure code onto a slide.  I eventually arrived at the 
> following, but it's awfully clunky:
>
> * write code in emacs
> * turn off rainbow delimiters as html-fontify doesn't like them
> * M-x load-theme whiteboard  (for high contrast)
> * M-x htmlfontify-buffer (and save)
> * M-x browse-url-of-file (loads in Chrome)
> * load same url in Safari as for some reason cut-and-paste from Chrome to 
> Powerpoint is broken
> * copy code from Chrome
> * paste-special into PowerPoint, as "styled text"
>
> Yes, I know I can just take a screenshot, but that gives you a bitmap that 
> doesn't scale nicely or give you any ability to do last minute editing. 
>  But the above gets tedious very fast - I wonder if there's a better option 
> I've missed?
>
> - Korny
>
> -- 
> Kornelis Sietsma  korny at my surname dot com http://korny.info
> .fnord { display: none !important; }
>  

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




new grojure version

2013-05-18 Thread Gavin Grover
grojure 0.7.1 is out at https://github.com/gavingroovygrover/grojure

Grojure is a Javalike syntactic shell for Clojure using Kern, Amando 
Blancas' port of Haskell's Parsec, a monadic parser combinator library. 
Because Grojure's grammar will expand and change, it's probably of most use 
to Clojure/Kern developers as an example of Kern usage for now. The one 
feature of Grojure I am committed to is always using an in-place 1:1 
monad-to-macro mapping. Some call them "evil parser actions" but I think 
monads (for parsing and state) and macros in the same language enable 
parsed syntax and generated code to be matched up in the source very 
easily, making it very readable.

In this version, performance is much better and the source more readable. 
All function names have changed from Groovy's to those of Clojure. 
Everything in the README.md is implemented.

Gavin "Groovy" Grover

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread John Gabriele
On Friday, May 17, 2013 11:42:55 PM UTC-4, Korny wrote:

>
> Yes, I know I can just take a screenshot, but that gives you a bitmap that 
> doesn't scale nicely or give you any ability to do last minute editing. 
>  But the above gets tedious very fast - I wonder if there's a better option 
> I've missed?
>
>
Try [Pandoc](http://johnmacfarlane.net/pandoc/). It can do syntax 
highlighting for Clojure, and also supports various output formats for 
creating slides (though, I haven't used those).

-- John

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: seancorfield /clj-soap

2013-05-18 Thread Keith Irwin
On May 18, 2013, at 5:32 PM, Marc Boschma  wrote:

> Well understood Sean!
> 
> If I work out away to up lift the code I'll contribute that back. 
> 
> I was just checking to see if anyone else had tried.
> 
> If, like you, I need to find another way is Axis 1.x an easier platform than 
> 2.x ?The Java SOAP landscape seems overly complex.
> 
> Marc
> 
> I really wish the service I need to integrate with was REST based…

You know, I was faced with this once. What we ended up doing (in Groovy) was 
just crafting our own SOAP envelope "template" so to speak, and injecting the 
specifics for the actual SOAP request into it, then using a plain HTTP request. 
I imagine using something like hiccup would make it even more fun. Add in xml 
zippers to extract out the good bits from the WSDL, and there you go. 

Kind of a hack, but it was much easier to maintain and fix over time than 
attempting to generate classes via WSDL. Even hand inspecting the WSDL was 
better than the alternatives

;)

Keith

> 
> On 19/05/2013, at 12:43 AM, Sean Corfield  wrote:
> 
>> Since my name was invoked via mention of this repo, I figured it was a
>> good chance to post from the readme:
>> 
>> "Note however that I am not actively maintaining this library and
>> would welcome someone taking it over. I updated Tetsuya's code to use
>> a more modern Clojure environment purely to test it for a problem I
>> was working on - it didn't really do what I needed so I took a
>> different approach (using Axis 1.x libraries at a much lower level for
>> one specific web service)."
>> 
>> Sean
>> 
>> On Fri, May 17, 2013 at 11:29 PM, marc  wrote:
>>> Hoping someone has already explored this. Has anyone ever used clj-soap as a
>>> client and managed to pass in Basic authentication credentials?
>>> 
>>> I tried putting them into the URL to the WSDL but that did seem to work…
>>> 
>>> Off to read up on Axis 2…
>>> 
>>> 
>>> 
>>> --
>>> --
>>> 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.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>> 
>> 
>> 
>> --
>> Sean A Corfield -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>> World Singles, LLC. -- http://worldsingles.com/
>> 
>> "Perfection is the enemy of the good."
>> -- Gustave Flaubert, French realist novelist (1821-1880)
>> 
>> -- 
>> -- 
>> 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.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>> 
>> 
> 
> -- 
> -- 
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and 

Re: seancorfield /clj-soap

2013-05-18 Thread Marc Boschma
Well understood Sean!

If I work out away to up lift the code I'll contribute that back. 

I was just checking to see if anyone else had tried.

If, like you, I need to find another way is Axis 1.x an easier platform than 
2.x ?The Java SOAP landscape seems overly complex.

Marc

I really wish the service I need to integrate with was REST based…

On 19/05/2013, at 12:43 AM, Sean Corfield  wrote:

> Since my name was invoked via mention of this repo, I figured it was a
> good chance to post from the readme:
> 
> "Note however that I am not actively maintaining this library and
> would welcome someone taking it over. I updated Tetsuya's code to use
> a more modern Clojure environment purely to test it for a problem I
> was working on - it didn't really do what I needed so I took a
> different approach (using Axis 1.x libraries at a much lower level for
> one specific web service)."
> 
> Sean
> 
> On Fri, May 17, 2013 at 11:29 PM, marc  wrote:
>> Hoping someone has already explored this. Has anyone ever used clj-soap as a
>> client and managed to pass in Basic authentication credentials?
>> 
>> I tried putting them into the URL to the WSDL but that did seem to work…
>> 
>> Off to read up on Axis 2…
>> 
>> 
>> 
>> --
>> --
>> 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.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
> 
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
> 
> -- 
> -- 
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Screencast: Clojure development with Sublime Text 2

2013-05-18 Thread Jonathan Fischer Friberg
Nice introduction!

Problems/suggestions for lispindent can be reported here:
https://github.com/odyssomay/sublime-lispindent/issues
don't be shy!

In any case, I went ahead and implemented checking for the
syntax of the file. So non-saved files with clojure syntax is now
indented correctly.

This update is not live yet. It will be soon, but I have recently
done some rather large changes on the plugin (not huge, but
largest since its inception), so I want to do some more testing
before pushing it to everyone. :)

Jonathan (author of lispindent)


On Sat, May 18, 2013 at 10:36 PM, James MacAulay wrote:

> This is a little show-and-tell I recorded today:
>
> http://www.youtube.com/watch?v=wBl0rYXQdGg
>
> Hopefully it's useful for some of you. Feedback welcome!
>
> Cheers,
> James
>
> --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Screencast: Clojure development with Sublime Text 2

2013-05-18 Thread James MacAulay
This is a little show-and-tell I recorded today:

http://www.youtube.com/watch?v=wBl0rYXQdGg

Hopefully it's useful for some of you. Feedback welcome!

Cheers,
James

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Stefan Kamphausen
Besides the obvious org-mode which exports with colors to HTML when you use 
"#+BEGIN_SRC clojure ... #+END_SRC" I also had some fun presenting with 
marginalia or impress.js, both using Alex Gorbatchev's Syntax Highlighter. 
(FWIW)

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: asm-based clojure yet?

2013-05-18 Thread Gary Trakhman
It's hard to really appreciate java and clojure until you actually write
some C/C++ or ASM.. I have some minor experience with that stuff, and it
still haunts me from time to time.

Sometimes we make tradeoffs without knowing we did.  By choosing a
language, or having the choice made for us, we accept a set of abstractions
as our bottom level of thinking for a problem-space.  Only old-timers and
people that make a point to care about low-level stuff will notice the
implications of what they're doing along the abstraction stack.  People
with ingrained habits just won't find it easy to think functionally, but
I'm young and irreverent, so it doesn't bother me :-).

C++ is fun because of all the bolted-on kludges that 'mitigate' these
problems.  You can use operator-overloading on pointer operations to
perform automatic reference counting, deallocating objects when things that
point to them go out of scope, but I think implementing a PersistentHashMap
this way would be very difficult.  Also, pretty sure it can't handle cycles.

I guess the point is, I appreciate any effort to understand such issues,
it's been a useful thing for me to know in the 0.05% of time that knowledge
is needed.

But, people who don't know just won't be able to get past those problems.
 And, you generally can't easily find a _really_ full-stack guy to glance
at it for you when it would be useful to have one.

On Sat, May 18, 2013 at 11:24 AM, atkaaz  wrote:

> your comment caused me to be reading this
> http://prog21.dadgum.com/134.html
>   (at least)
>
>
> On Sat, May 18, 2013 at 6:17 PM, Gary Trakhman wrote:
>
>> Immutability, persistence, closures without a serious garbage collector
>> sounds hard.
>>
>>
>> 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
>>> something definite, but just letting y'all know that I'm considering each
>>> recommendation.
>>>
>>>
>>> On Sat, May 18, 2013 at 7:12 AM, Julian  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
 Ghuloum called "Compilers: Backend to Frontend and Back to Front Again". It
 used to be available here:
 http://www.cs.indiana.edu/~aghuloum/compilers-tutorial-2006-09-16.pdf

 I don't know if it available anywhere else on the internet - but I
 grabbed another copy and put it here:
 https://sites.google.com/site/juliangamble/Home/Compilers%20Tutorial%202006-09-16.pdf?attredirects=0&d=1

 For a more serious representation of Clojure'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 clojure port on assembler yet?
> Even
> > if(/especially if) it doesn't have jvm/java/javalibs support
> >
> > Or should I just check 
> > https://github.com/clojure/**clojure-clr?
> >
> > I'm mainly interested in low memory footprint and fast startup times
> (does
> > clojure-clr have that?)
>
> You may want to check out ClojureScript, too. ClojureScript programs
> leveraging nodejs for host interop have fast startup times:
>
> 
> https://github.com/clojure/**clojurescript/wiki
>
> --
> --**--**-
> a l a n   d.   s a l e w s k i   sale...@att.net
> 1024D/FA2C3588 EDFA 195F EDF1 0933 1002  6396 7C92 5CB3 FA2C 3588
> --**--**-
>
  --
 --
 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.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



>>>
>>>  --
>>> --
>>> 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: asm-based clojure yet?

2013-05-18 Thread atkaaz
your comment caused me to be reading this http://prog21.dadgum.com/134.html
  (at least)


On Sat, May 18, 2013 at 6:17 PM, Gary Trakhman wrote:

> Immutability, persistence, closures without a serious garbage collector
> sounds hard.
>
>
> 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
>> something definite, but just letting y'all know that I'm considering each
>> recommendation.
>>
>>
>> On Sat, May 18, 2013 at 7:12 AM, Julian  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
>>> Ghuloum called "Compilers: Backend to Frontend and Back to Front Again". It
>>> used to be available here:
>>> http://www.cs.indiana.edu/~aghuloum/compilers-tutorial-2006-09-16.pdf
>>>
>>> I don't know if it available anywhere else on the internet - but I
>>> grabbed another copy and put it here:
>>> https://sites.google.com/site/juliangamble/Home/Compilers%20Tutorial%202006-09-16.pdf?attredirects=0&d=1
>>>
>>> For a more serious representation of Clojure'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 clojure port on assembler yet? Even
 > if(/especially if) it doesn't have jvm/java/javalibs support
 >
 > Or should I just check 
 > https://github.com/clojure/**clojure-clr?
 >
 > I'm mainly interested in low memory footprint and fast startup times
 (does
 > clojure-clr have that?)

 You may want to check out ClojureScript, too. ClojureScript programs
 leveraging nodejs for host interop have fast startup times:

 
 https://github.com/clojure/**clojurescript/wiki

 --
 --**--**-
 a l a n   d.   s a l e w s k i   sale...@att.net
 1024D/FA2C3588 EDFA 195F EDF1 0933 1002  6396 7C92 5CB3 FA2C 3588
 --**--**-

>>>  --
>>> --
>>> 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.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> --
>> 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.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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.
To unsubscribe from this group, send em

Re: asm-based clojure yet?

2013-05-18 Thread Gary Trakhman
Immutability, persistence, closures without a serious garbage collector
sounds hard.


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
> something definite, but just letting y'all know that I'm considering each
> recommendation.
>
>
> On Sat, May 18, 2013 at 7:12 AM, Julian  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 Ghuloum
>> called "Compilers: Backend to Frontend and Back to Front Again". It used to
>> be available here:
>> http://www.cs.indiana.edu/~aghuloum/compilers-tutorial-2006-09-16.pdf
>>
>> I don't know if it available anywhere else on the internet - but I
>> grabbed another copy and put it here:
>> https://sites.google.com/site/juliangamble/Home/Compilers%20Tutorial%202006-09-16.pdf?attredirects=0&d=1
>>
>> For a more serious representation of Clojure'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 clojure port on assembler yet? Even
>>> > if(/especially if) it doesn't have jvm/java/javalibs support
>>> >
>>> > Or should I just check 
>>> > https://github.com/clojure/**clojure-clr?
>>> >
>>> > I'm mainly interested in low memory footprint and fast startup times
>>> (does
>>> > clojure-clr have that?)
>>>
>>> You may want to check out ClojureScript, too. ClojureScript programs
>>> leveraging nodejs for host interop have fast startup times:
>>>
>>> 
>>> https://github.com/clojure/**clojurescript/wiki
>>>
>>> --
>>> --**--**-
>>> a l a n   d.   s a l e w s k i   sale...@att.net
>>> 1024D/FA2C3588 EDFA 195F EDF1 0933 1002  6396 7C92 5CB3 FA2C 3588
>>> --**--**-
>>>
>>  --
>> --
>> 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.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: seancorfield /clj-soap

2013-05-18 Thread Sean Corfield
Since my name was invoked via mention of this repo, I figured it was a
good chance to post from the readme:

"Note however that I am not actively maintaining this library and
would welcome someone taking it over. I updated Tetsuya's code to use
a more modern Clojure environment purely to test it for a problem I
was working on - it didn't really do what I needed so I took a
different approach (using Axis 1.x libraries at a much lower level for
one specific web service)."

Sean

On Fri, May 17, 2013 at 11:29 PM, marc  wrote:
> Hoping someone has already explored this. Has anyone ever used clj-soap as a
> client and managed to pass in Basic authentication credentials?
>
> I tried putting them into the URL to the WSDL but that did seem to work…
>
> Off to read up on Axis 2…
>
>
>
> --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




ANN Langohr 1.0.0-beta14 is released

2013-05-18 Thread Michael Klishin
Langohr [1] is a Clojure client for RabbitMQ that embraces the AMQP 0.9.1
model.

Release notes for beta14:
http://blog.clojurewerkz.org/blog/2013/05/18/langohr-1-dot-0-0-beta14-is-released/

1. http://clojurerabbitmq.info
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: unlicensed clojure code/jar/uberjar ?

2013-05-18 Thread atkaaz
I see what you mean about public domain  here for example:
http://www.mingw.org/license
*MinGW Runtime:* All releases of the MinGW base runtime package, prior to
release 4.0, have been placed in the public domain, and are not governed by
copyright. This basically means that you can do what you like with the code.

Due to inadmissibility of the public domain concept, in certain
jurisdictions, we have now chosen to adopt a MIT style license for the
principal components of the MinGW runtime, from release 4.0 onwards; you
may view this LICENSE, as it is filed in the source code
repository
.



On Sat, May 18, 2013 at 4:48 PM, Michael Klishin <
michael.s.klis...@gmail.com> wrote:

> 2013/5/18 atkaaz 
>
>> Hi. Can I release my clojure code under unlicensed?
>> http://unlicense.org/
>>
>
> You can but it's not a very good idea. Not all countries have the notion
> of public domain.
> It is extremely unlikely that folks in large companies will be able to use
> code released
> under such an exotic license.
>
>  I'd recommend Eclipse Public License or Apache Public License 2 if you
> care about
> your project adoption in circles other than hobbyists and free software
> radicals.
>
> Take a look at
> http://blog.clojurewerkz.org/blog/2013/04/20/how-to-make-your-open-source-project-really-awesome/
> ,
> it has some thoughts about licensing.
> --
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
> --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: unlicensed clojure code/jar/uberjar ?

2013-05-18 Thread Michael Klishin
2013/5/18 atkaaz 

> Could you elaborate on this:
>
>> It is extremely unlikely that folks in large companies will be able to
>> use code released
>> under such an exotic license.
>>
>
Their legal department won't let them because they are not familiar with
Unlicense and have no interest or time to investigate it.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: unlicensed clojure code/jar/uberjar ?

2013-05-18 Thread atkaaz
On Sat, May 18, 2013 at 4:48 PM, Michael Klishin <
michael.s.klis...@gmail.com> wrote:

> 2013/5/18 atkaaz 
>
>> Hi. Can I release my clojure code under unlicensed?
>> http://unlicense.org/
>>
>
> You can but it's not a very good idea. Not all countries have the notion
> of public domain.
>

Could you elaborate on this:

> It is extremely unlikely that folks in large companies will be able to use
> code released
> under such an exotic license.
>


>
>  I'd recommend Eclipse Public License or Apache Public License 2 if you
> care about
> your project adoption in circles other than hobbyists and free software
> radicals.
>
> Take a look at
> http://blog.clojurewerkz.org/blog/2013/04/20/how-to-make-your-open-source-project-really-awesome/
> ,
> it has some thoughts about licensing.
> --
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
> --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: unlicensed clojure code/jar/uberjar ?

2013-05-18 Thread Michael Klishin
2013/5/18 atkaaz 

> Hi. Can I release my clojure code under unlicensed?
> http://unlicense.org/
>

You can but it's not a very good idea. Not all countries have the notion of
public domain.
It is extremely unlikely that folks in large companies will be able to use
code released
under such an exotic license.

I'd recommend Eclipse Public License or Apache Public License 2 if you care
about
your project adoption in circles other than hobbyists and free software
radicals.

Take a look at
http://blog.clojurewerkz.org/blog/2013/04/20/how-to-make-your-open-source-project-really-awesome/
,
it has some thoughts about licensing.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




unlicensed clojure code/jar/uberjar ?

2013-05-18 Thread atkaaz
Hi. Can I release my clojure code under unlicensed?
http://unlicense.org/

Maybe the code and the jar can be, right? But how about the uberjar which
includes clojure itself which is under EPL?(for example I cannot dist the
uberjar under GPL) Is my code being unlicensed like that work ok with
clojure's EPL? Or does EPL prevent this? so in effect then I cannot
distribute the uberjar, but can the jar or just my code
(by jar I mean *lein jar*)
(by uberjar I mean *lein uberjar*)



I'm reproducing the unlicensed text here for those who cannot(or don't
want) to visit that website:

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to 

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: getclojure.org

2013-05-18 Thread Jason Toy
Great job!

On May 17, 6:32 am, Manuel Paccagnella 
wrote:
> Nice! Thank you Devin.
>
> Il giorno venerdì 17 maggio 2013 03:12:11 UTC+2, Devin Walters (devn) ha
> scritto:
>
>
>
>
>
>
>
>
>
> >  Hey All,
>
> > I put this (http://getclojure.org) together and wanted to share it with
> > all of you. It's a nifty way to search for example usage of clojure. It's
> > far less curated than ClojureDocs, so you may pick up some interesting
> > ideas by simply browsing.
>
> > It supports boolean queries like: "comp AND juxt" and will let you search
> > for "->>" (but you must quote it).
>
> > If you're interested in contributing:https://github.com/devn/getclojureis
> > the place to do it.
>
> > Thanks,
> > --
> > {:∂evin :√valters}

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Karsten Schmidt
Btw. Has anyone managed to run htmlize or htmlfontify with rainbow
delimiters enabled? Both throw errors like this for me (but I really
would like to export w/ rainbow brackets):

Wrong type argument: symbolp, "rainbow-delimiters-depth-1-face"

Thanks, K.

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Korny Sietsma
If I didn't want colours, I could just cut and paste the text :)  But on a
big screen, to a not-necessarily-clojure-literate audience, colours help
comprehension.

As for presenting in emacs or another plain-text format - I'd agree for
mostly-technical presentations with lots of text.

This was less technical, and involved lots of pictures and diagrams, in
which case a gui environment makes life much easier.

Thanks Phil for htmlize.el - not sure how I missed that, it's much like
htmlfontify, but handles rainbow parens which is nice.

- Korny


On 18 May 2013 15:31, atkaaz  wrote:

> I feel silly for even suggesting but is pprint not good enough? do you
> need colors? (unaware of what those do in emacs)
>
>
> On Sat, May 18, 2013 at 6:42 AM, Korny Sietsma  wrote:
>
>> Hi folks - I had to prepare some slides for a conference, and I struggled
>> to get nice looking clojure code onto a slide.  I eventually arrived at the
>> following, but it's awfully clunky:
>>
>> * write code in emacs
>> * turn off rainbow delimiters as html-fontify doesn't like them
>> * M-x load-theme whiteboard  (for high contrast)
>> * M-x htmlfontify-buffer (and save)
>> * M-x browse-url-of-file (loads in Chrome)
>> * load same url in Safari as for some reason cut-and-paste from Chrome to
>> Powerpoint is broken
>> * copy code from Chrome
>> * paste-special into PowerPoint, as "styled text"
>>
>> Yes, I know I can just take a screenshot, but that gives you a bitmap
>> that doesn't scale nicely or give you any ability to do last minute
>> editing.  But the above gets tedious very fast - I wonder if there's a
>> better option I've missed?
>>
>> - Korny
>>
>> --
>> Kornelis Sietsma  korny at my surname dot com http://korny.info
>> .fnord { display: none !important; }
>>
>> --
>> --
>> 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.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> 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.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Kornelis Sietsma  korny at my surname dot com http://korny.info
.fnord { display: none !important; }

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Stuart Sierra
I wrote my own tool (in ClojureScript) to present Emacs org-mode's HTML 
export as slides. It's pretty clunky too, but works for code-heavy 
presentations.

https://github.com/relevance/org-html-slideshow

-S


On Saturday, May 18, 2013 1:42:55 PM UTC+10, Korny wrote:
>
> Hi folks - I had to prepare some slides for a conference, and I struggled 
> to get nice looking clojure code onto a slide.  I eventually arrived at the 
> following, but it's awfully clunky:
>

-- 
-- 
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.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.