Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Andrew Voron
Good job. First thing that start and running from description in wiki. It seems like next evolution step in path: pure cljs - Piggieback - austin - cljs-start May be for newcomers like me it will be good to add some integraional tips for emacs(others) editors.. Thx. Andrew -- -- You

Re: cider status

2013-12-17 Thread Phillip Lord
Gary Johnson gwjoh...@uvm.edu writes: As another hacker who lives in Emacs, I found the nrepl - cider transition to be quite painless. It took me maybe an hour of reading the website docs, installing/uninstalling packages with package.el, and updating the relevant sections of my

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Mimmo Cosenza
May be for newcomers like me it will be good to add some integraional tips for emacs(others) editors.. I always feel guilty when talking about editors because I use emacs. It seems that the top clojurists are pushing people to switch from emacs to something more used by younger/front-end

Re: Comparing core.async and Reactive Extensions

2013-12-17 Thread Leonardo Borges
Thought not specifically about Rx, this thread talks about core.async and FRP (of which Rx is an implementation): https://groups.google.com/forum/#!topic/clojure/jHhwufCjrR8 -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group,

Parsing large XML files

2013-12-17 Thread Peter Ullah
Hi all, I'm attempting to parse a large (500MB) XML, specifically I am trying to extract various parts using XPath. I've been using the examples presented here: http://clojure-doc.org/articles/tutorials/parsing_xml_with_zippers.html and all was going when tested against small files, however

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Cedric Greevey
On Tue, Dec 17, 2013 at 5:48 AM, Mimmo Cosenza mimmo.cose...@gmail.comwrote: May be for newcomers like me it will be good to add some integraional tips for emacs(others) editors.. I always feel guilty when talking about editors because I use emacs. It seems that the top clojurists are

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Mimmo Cosenza
Calling emacs incidental complexity is like calling the North Pole a bit nippy this time of year. :) LOL mimmo signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [ClojureScript] Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Tim Visher
On Tue, Dec 17, 2013 at 5:48 AM, Mimmo Cosenza mimmo.cose...@gmail.com wrote: May be for newcomers like me it will be good to add some integraional tips for emacs(others) editors.. I always feel guilty when talking about editors because I use emacs. It seems that the top clojurists are

Re: [ClojureScript] [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Mimmo Cosenza
I would encourage anyone who is not learning a language to learn Emacs. :) Well said signature.asc Description: Message signed with OpenPGP using GPGMail

[ANN] Buffy, The Byte Buffer Slayer 1.0.0-beta1

2013-12-17 Thread Alex P
Buffy [1][2] is a Clojure library to work with Binary Data, write complete binary protocol implementations in clojure, store your complex data structures in an off-heap chache, read binary files and do everything you would usually do `ByteBuffer`. After the initial project announcement, we've

How do I serve clojure pages with nginx

2013-12-17 Thread Zeynel
I've set up a home server with ubuntu and nginx and I can serve static pages. Now I want to add clojure but I am not sure what I need to do. I asked the same question in StackOverflow but for some reason it is voted to be closed:

Re: Parsing large XML files

2013-12-17 Thread Ryan Senior
As far as I know, using zippers like that will need the whole XML data structure to be in memory. data.xml returns fast because it's lazy (uses pull parsing). Until you start traversing down the structure, it won't parse more of it. data.xml should also be fully streaming, so it shouldn't

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Dave Della Costa
I have not done this specifically with Nginx but I suspect you probably want something like what I set up with Apache + Jetty: https://github.com/ddellacosta/Clojure-under-Jetty-and-Apache#setting-up-jetty-with-apache-httpd That is, set up Nginx to act as a proxy for Jetty:

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Andrew Voron
Well, Im not sure if I expressed myself correctly when asked for tips about editor - I thought about how to get Emacs (or may be other editor which support nrepl workflow) work with cljs-start. Now I see that it works good when I'm testing it. I use emacs-live for clojure work with emacs, and

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Lee Spector
On Dec 17, 2013, at 6:01 AM, Cedric Greevey wrote: Calling emacs incidental complexity is like calling the North Pole a bit nippy this time of year. :) The thing is, it's actually possible to have the power of emacs without the incidental complexity of currently available emacs versions.

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Tim Visher
On Tue, Dec 17, 2013 at 8:14 AM, Andrew Voron volan...@gmail.com wrote: Well, Im not sure if I expressed myself correctly when asked for tips about editor - I thought about how to get Emacs (or may be other editor which support nrepl workflow) work with cljs-start. Now I see that it works good

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Tim Visher
On Tue, Dec 17, 2013 at 8:21 AM, Lee Spector lspec...@hampshire.edu wrote: On Dec 17, 2013, at 6:01 AM, Cedric Greevey wrote: Calling emacs incidental complexity is like calling the North Pole a bit nippy this time of year. :) The thing is, it's actually possible to have the power of emacs

Re: Comparing core.async and Reactive Extensions

2013-12-17 Thread Timothy Baldridge
I won't go so far as to tell you which is better as that often comes down to a matter of taste. However, I will explain the technical differences. In this case I'll use my (somewhat limited) knowledge of C# Rx. Scala/Java's Rx may be different. Rx is based on a direct call. We could write a

Philadelphia SICP Study Group starting Feb 5th

2013-12-17 Thread Steve Shogren
Quite a few in the Philadelphia area expressed interest in having a study group around the excellent book Structure and Interpretation of Computer Programs, and so here it is! http://www.meetup.com/Clojadelphia/events/155920672/ But, SICP is in Scheme, right? What does that have to do with

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Lee Spector
On Dec 17, 2013, at 8:24 AM, Tim Visher wrote: On Tue, Dec 17, 2013 at 8:21 AM, Lee Spector lspec...@hampshire.edu wrote: On Dec 17, 2013, at 6:01 AM, Cedric Greevey wrote: Calling emacs incidental complexity is like calling the North Pole a bit nippy this time of year. :) The thing

Re: Philadelphia SICP Study Group starting Feb 5th

2013-12-17 Thread Paul L. Snyder
On Tue, 17 Dec 2013, Steve Shogren wrote: Quite a few in the Philadelphia area expressed interest in having a study group around the excellent book Structure and Interpretation of Computer Programs, and so here it is! http://www.meetup.com/Clojadelphia/events/155920672/ Any chance of a

Re: Philadelphia SICP Study Group starting Feb 5th

2013-12-17 Thread Tim Visher
Hi Paul, On Tue, Dec 17, 2013 at 9:26 AM, Paul L. Snyder p...@pataprogramming.com wrote: On Tue, 17 Dec 2013, Steve Shogren wrote: Quite a few in the Philadelphia area expressed interest in having a study group around the excellent book Structure and Interpretation of Computer Programs, and

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Zeynel
Yes, this is helpful. I think this will be a good starting point for me once I read the references that you gave. I also heard about Immutant and I'm investigating it but do you think it may be helpful? I am not sure at this point exactly what it does. Thanks. On Tuesday, December 17, 2013

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Toby Crawley
From an HTTP perspective, Immutant will behave similarly to Jetty - you would need to use Nginx as a proxy. Where Immutant differs from Jetty is when your application needs services beyond the web: scheduled jobs, messaging, XA transactions, etc. Immutant bundles those services and simplifies

Re: How do I serve clojure pages with nginx

2013-12-17 Thread Zeynel
Great, thanks. In that case I'll concentrate on Jetty. On Tuesday, December 17, 2013 11:51:42 AM UTC-4, Toby Crawley wrote: From an HTTP perspective, Immutant will behave similarly to Jetty - you would need to use Nginx as a proxy. Where Immutant differs from Jetty is when your application

Re: [ANN] Brambling: Datomic (Schema) Migration library/toolkit for Clojure

2013-12-17 Thread Daniel Higginbotham
Thanks for open sourcing this! I'm not sure I'm understanding what it does correctly. It looks like it installs new attributes and creates the transactions needed to update existing entities? Is that right? So in the README example, the idea is that you're changing :message/action from a

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-17 Thread Mimmo Cosenza
Hi Andrew, just remember that cljs-start is for pure CLJS project only. Few weeks ago I started working on a similar lein template for mixed CLJ/CLJS projects which have different requirement. then I stopped because of work overload on other projects. On the mixed cli/cljs path the

NPE in print-stack-trace

2013-12-17 Thread Dmitry Groshev
I've managed to get an NPE in print-stack-trace: https://gist.github.com/si14/e8d22913d21933d12ef1 It seems highly counter-intuitive to me that this function can throw NPEs. I thought it's intended to be used in catch clauses; does it mean that I should wrap some catches in their own

Re: Comparing core.async and Reactive Extensions

2013-12-17 Thread Brian Craft
On Tuesday, December 17, 2013 5:33:10 AM UTC-8, tbc++ wrote: Core.Async on the other hand is based on two primitives: channels (queues) and processes. Errors are never propagated unless specified by the user. And thread pools/dispatchers are almost always required. Seems like it's more

Re: NPE in print-stack-trace

2013-12-17 Thread Andy Fingerhut
You might be hitting a bug in Clojure 1.5.1 where it incorrectly attempts to access elements in an empty stack trace, which I have seen occur. This should be fixed in Clojure 1.6.0 alpha releases: http://dev.clojure.org/jira/browse/CLJ-1102 Andy On Tue, Dec 17, 2013 at 9:14 AM, Dmitry Groshev

Re: instaparse (1.2.4) perfomance issue a long string to parse

2013-12-17 Thread Mark Engelberg
Thanks for this. It's always useful to see examples of parsers that aren't performing as well as expected. On my machine, using the latest version (1.2.13), your parser processes your text file (which appears to have three bogus bytes at the front of the file which I needed to edit out), I'm

Re: Meta-eX: Power to Complect (featuring Rich Hickey)

2013-12-17 Thread Samuel Aaron
On 16 Dec 2013, at 22:48, Timothy Washington twash...@gmail.com wrote: Lol, very cool :) Haha, thanks. The best is definitely still to come though. 2014 should be a good year for Meta-eX and live coding with Clojure. Sam --- http://sam.aaron.name -- -- You received this message because

Re: cider status

2013-12-17 Thread Bozhidar Batsov
Good news for the Marmalade users here! Nic Ferrier has fixed the package upload problem that plagued cider 0.4 and it’s now available for installation from there. -- Cheers, Bozhidar On Tuesday, December 17, 2013 at 12:31 PM, Phillip Lord wrote: Gary Johnson gwjoh...@uvm.edu

[ANN] clojure.java.jdbc 0.3.0 gold release

2013-12-17 Thread Sean Corfield
The Clojure contrib library that provides a thin wrapper around JDBC. For Leiningen: [org.clojure/java.jdbc 0.3.0] Changes since RC1: * Ensure canonical Boolean to workaround strange behavior in some JDBC drivers JDBC-84. * Rename recently introduced test to ensure unique names JDBC-83. *

Re: Parsing large XML files

2013-12-17 Thread Matching Socks
On general Java principles, you can stream a large XML file with either SAX or StAX and pluck what you like from it without wasting memory on the rest. If the file is a long series of small sections that could be examined separately, you might use SAX to partition the file and then subject

Re: Comparing core.async and Reactive Extensions

2013-12-17 Thread Ben Mabey
On 12/17/13, 6:33 AM, Timothy Baldridge wrote: I won't go so far as to tell you which is better as that often comes down to a matter of taste. However, I will explain the technical differences. In this case I'll use my (somewhat limited) knowledge of C# Rx. Scala/Java's Rx may be different.

Re: [ANN] Clojure IDE for OS X

2013-12-17 Thread Timothy Washington
Looks like a great effort. I wish you much success. Tim Washington Interruptsoftware.com http://interruptsoftware.com On Sun, Dec 15, 2013 at 6:21 PM, Nikki Degutis wonderwomen...@gmail.comwrote: It's called Leviathan. You should check it out here, https://github.com/sdegutis/Leviathan Go

Re: Parsing large XML files

2013-12-17 Thread danneu
Good question. Every lib that came to mind when I saw clojure.data.xml/parse's tree of Elements {:tag _, :attrs _, :content _} only works on zippers which apparently sit in memory. One option is to use `clojure.data.xml/source-seq` to get back a lazy sequence of Events {:type _, :name _, :attrs