Re: In what OS do you code?

2013-06-15 Thread Max Gonzih
Linux. OpenSource, package management, tools, tailing window managers, if you know linux you can apply your knowledge everywhere (development, production, embed), OpenSource system is solid system, you can change everything in open OS if you need to and not afraid of being proper hacker. On Fri

try* macro to catch multiple exception classes with one body. feedback is needed.

2013-06-19 Thread Max Gonzih
Hi, I implemented small macro to catch multiple exception classes with one body. https://gist.github.com/Gonzih/5814945 What do you think? Are there better ways to achieve similar results? Thanks! -- -- You received this message because you are subscribed to the Google Groups "Clojure" grou

Re: try* macro to catch multiple exception classes with one body. feedback is needed.

2013-06-19 Thread Max Gonzih
Right, simpler solution, thanks. Regards, Max On 20 Jun 2013 08:47, "Meikel Brandmeyer (kotarak)" wrote: > Hi, > > Am Mittwoch, 19. Juni 2013 17:00:17 UTC+2 schrieb Max Gonzih: >> >> Hi, I implemented small macro to catch multiple exception classe

Re: try* macro to catch multiple exception classes with one body. feedback is needed.

2013-06-20 Thread Max Gonzih
2013 17:00:17 UTC+2 schrieb Max Gonzih: >> >> Hi, I implemented small macro to catch multiple exception classes with >> one body. >> >> https://gist.github.com/Gonzih/5814945 >> >> What do you think? Are there better ways to achieve similar results? >&

Re: try* macro to catch multiple exception classes with one body. feedback is needed.

2013-06-22 Thread Max Gonzih
I can't think about another name for my macro :). Any ideas? Regards, Max On 20 Jun 2013 23:26, "Herwig Hochleitner" wrote: > One thing to consider: try* is a compiler builtin form. Those are > currently not even namespaced. That might lead to confusion for readers. >

Re: Can we please deprecate the :use directive ?

2013-07-26 Thread Max Gonzih
Totally agree. :use is anti-pattern since :require :refer :all can do the same. If you have :use in ns macro and want to make :refer :all visible just put it at the end of ns macro, separated b empty line from other :require clauses. Having 2 ways of doing so simple thing as requiring code is m

Issue with log4j inside lein plugin.

2014-10-08 Thread Max Gonzih
Hello guys, I'm trying to create small lein plugin (https://github.com/Gonzih/lein-feeds2imap/blob/master/src/leiningen/feeds2imap.clj) that should use library underneath that uses log4j via clojure.tools.logging. But I don't see logging output when I call plugin. I tried to configure it in m

Re: {ANN} defun: A beautiful macro to define clojure functions with pattern match.

2014-10-23 Thread Max Gonzih
Are there any updates on clojurescript support? On Friday, September 26, 2014 1:00:04 PM UTC+2, dennis wrote: > > I will add supporting for clojurescript this weekend.Thanks for your > suggestion. > > 2014-09-26 1:09 GMT+08:00 Ivan L >: > >> Is this clojurescript ready? This looks amazing, I wou

Re: [ANN] freactive - high performance, pure Clojurescript, declarative DOM library

2014-11-17 Thread Max Gonzih
Wow! Amazing! I see some ClojureCLR code in this repository, but from brief look it's not clear why is it there. Are you also experimenting on CLR support? Anyway, great that it finally happened! On Monday, November 17, 2014 3:20:29 AM UTC+1, Aaron Craelius wrote: > freactive (pronounced "f rea

Re: [ANN] cuerdas 0.1.0: A string manipulation library for clojure and clojurescript.

2014-12-24 Thread Max Gonzih
On Tuesday, December 23, 2014 6:48:18 PM UTC+1, Andrey Antukh wrote: > Hello everybody. > > > I wanted to announce the first release of cuerdas. A string manipulation > library for clojure and clojurescript. > > > It is mainly based on underscore.string and string.js, but also influenced by >

Re: ANN: ClojureScript 0.0-2644, enhanced REPLs

2015-01-03 Thread Max Gonzih
Any idea why Nashorn is slower? Is it related to type checks? -- 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 f

Re: The Essence of ClojureScript Redux

2015-01-04 Thread Max Gonzih
Very nice! But I have issue that I saw also while applying instructions from previous blog post. Repl starts fine, but I see errors when I'm trying to evaluate anything. Error: No such module at Error (native) at Socket. ([stdin]:27:35) at Socket.EventEmitter.emit (events.js:107:17)

Re: ANN: ClojureScript 0.0-2913, Google Closure Modules, improved nREPL support

2015-02-24 Thread Max Gonzih
On Saturday, February 21, 2015 at 7:01:39 PM UTC+1, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > > README and source code: https://github.com/clojure/clojurescript > > > New release version: 0.0-2913 > > > Leiningen dependency information: >

Re: ANN: ClojureScript 0.0-3058, Enhanced REPLs, faster compile times

2015-03-10 Thread Max Gonzih
Amazing update! Yay. But I just spotted one weird thing, after I pumped compiler version compilation fails for me with following error: clojure.lang.ExceptionInfo: failed compiling file:public/javascripts/out-server-side/cljs/core.cljs {:file #} at clojure.core$ex_info.invoke(core.clj:4

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3058, Enhanced REPLs, faster compile times

2015-03-10 Thread Max Gonzih
Thanks David, it solved my problem! -- 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

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Max Gonzih
After update compilation with advanced optimizations displays following warning: WARNING: file:/home/gnzh/.m2/repository/org/clojure/google-closure-library/0.0-20140718-946a7d39/google-closure-library-0.0-20140718-946a7d39.jar!/goog/net/jsonp.js:269: WARNING - Misplaced f unction annotation.

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread Max Gonzih
Al this conversation still gives me hope that there is room for clojure on bare metal implementation. There is https://github.com/halgari/clojure-metal but I'm not sure about its state. On Saturday, January 4, 2014 5:43:22 PM UTC+3, g vim wrote: > > I have recently moved most of my work to Cloju

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread Max Gonzih
Probably you are right. On Wed, Jan 08, 2014 at 11:26:55AM +0100, Laurent PETIT wrote: > Is it possible that a lot of these projects are waiting for a stronger > blessing of the clojure contrib efforts for analyzers, etc. that is, > waiting for the JVM Clojure in Clojure. > >

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread Max Gonzih
I do lot of hacking on embed devices like Pi and BeagleBone for fun, I run clojure mostly on ejre and it is much faster and memory efficient than openjdk compiled for ARM, but still suffers from startup time (in Pi case it actually much worse). Also ejre in development right now, so sometimes it

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread Max Gonzih
JIT'ed Java > (including Swing) with hardware-floating point arithmetic. I think > the jdk8-ea (early access) is a tiny bit faster but not complete (no > Swing). I think openJDK has not JIT. > > Jim > > > On 08/01/14 16:30, Max Gonzih wrote: > >I do lot of hacking on

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread Max Gonzih
uple of months ago through the official rasbian > channels . > > Jim > > > On 08/01/14 16:58, Max Gonzih wrote: > >How is it different from > >http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html ? > > > >On Wed, Jan 08, 2014

Re: A faster clojure startup

2014-03-05 Thread Max Gonzih
This is brilliant amount of work! Looking forward to play with new patch on my ARM devices. On Friday, February 28, 2014 6:16:44 PM UTC+3, Gal Dolber wrote: > > Here're some notes on the lean compiler I've been working on for > clojure-objc > > http://galdolber.tumblr.com/post/78110050703/reduce

Re: Clojure on iOS devices - Swift as a host?

2014-06-11 Thread Max Gonzih
GC means pauses. Swift doesn't have proper GC, only ref counting because of that. GC pauses in UI are bad. I like idea of Clojure on some new fancy high performance language like Go or Swift. On Wednesday, June 4, 2014 4:08:17 PM UTC+2, tbc++ wrote: > > I'm starting to feel like a broken record,

Re: {ANN} defun: A beautiful macro to define clojure functions with pattern match.

2014-09-21 Thread Max Gonzih
Amazing! Would love to have something like that in clojure.core. On Sunday, September 14, 2014 8:47:28 AM UTC+2, dennis wrote: > > > Hi , i am pleased to introduce defun : > a beautiful macro to define clojure functions with pattern match. > > Some examples: >

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread Max Gonzih
On Sunday, May 10, 2015 at 11:24:54 PM UTC+2, Dmitri Sotnikov wrote: > Is there possibly anything else missing in the package, figwheel doesn't > appear to find the repl ns. > > > > > > lein figwheel > Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom from > central >

Re: ANN: clojure.java.shell2 drop in replacement for clojure.java.shell

2015-05-18 Thread Max Gonzih
Hello, I just found about this nice improvement over default java.shell provided by clojure stdlib. What is current status of this project? Is it still useful or maybe there are alternatives? Does it support latest clojure versions (1.6 or even maybe 1.7-beta)? Thanks! On Tuesday, June 25, 201

Re: ANN: clojure.java.shell2 drop in replacement for clojure.java.shell

2015-05-19 Thread Max Gonzih
27;t tested it with later versions of Clojure, but I'm not aware of any breaking changes, so I would expect it to work. There are some alternatives, e.g. https://github.com/Raynes/conch marc On Mon, May 18, 2015 at 2:55 PM, Max Gonzih <mailto:gon...@gmail.com>> wrote: Hello,

Re: ANN: ClojureScript 0.0-3308, fixes & enhancements

2015-06-05 Thread Max Gonzih
On Monday, June 1, 2015 at 8:47:51 PM UTC+2, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > > README and source code: https://github.com/clojure/clojurescript > > > Leiningen dependency information: > > >     [org.clojure/clojurescript "0.0-330

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-19 Thread Max Gonzih
> Many people feel this way, but ultimately Clojure is Rich's project and I guess Cognitect's to some extent. If they don't want to run it like other more open & contribution-friendly OSS projects this is obviously their right. Similar concern and attitude caused apearence of io.js. Do we wan

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-19 Thread Max Gonzih
On Saturday, July 18, 2015 at 5:44:29 PM UTC+2, Luc wrote: > > Sure, indentation is what gets the code running on metal :)) > > Not ranting here, just my abs dying from the pain as I laugh :)) > Comments like that are often linked as an expample of "Functional Programmers" attitude. Let's not d

Re: best practice with forked libraries

2015-11-18 Thread Max Gonzih
I think lein deps :tree should be enough to spot issues like that. Also :exclusions should be used to remove original library from other dependencies. On Wednesday, November 18, 2015 at 3:45:48 PM UTC+1, Herwig Hochleitner wrote: > > 2015-11-17 19:54 GMT+01:00 Ray Miller >: > >> >> There's a con

Re: best practice with forked libraries

2015-11-18 Thread Max Gonzih
g Hochleitner > wrote: > >> 2015-11-18 15:48 GMT+01:00 Max Gonzih : >> >>> I think lein deps :tree should be enough to spot issues like that. >>> >> >> If you're into skimming pages of transitive dependencies (or know how to >> use grep ;),

Re: Clojure - Python Style suggestion

2013-02-06 Thread Max Gonzih
Actually I think python style indention will over-complicate code. When writing python style clojure you will always need to think in which clojure with parentheses it will be transformed. Personally I love parentheses. Imho Lisp is easy and S-expressions are awesome :) On Monday, February 4,

Re: Clojure - Python Style suggestion

2013-02-08 Thread Max Gonzih
I can't understand how to distinguish where is function call and where is var in function arguments. Should it be indented too? On 02/08/2013 01:14 PM, faenvie wrote: >>A simple workaround I've considered, but haven't gotten around to doing anything about in e.g. Emacs, is to simply tone down t

Re: Clojure - Python Style suggestion

2013-02-10 Thread Max Gonzih
programmer dvorak is better :) On Feb 9, 2013 3:39 PM, "vemv" wrote: > I like the parentheses better. My only complaint is that I have to press >> the shift key to type them. >> > > You can always remap your keyboard / keyboard bindings. For example in > emacs: > > (define-key clojure-mode-map "9

Re: A forum for Clojure...?

2013-03-05 Thread Max Gonzih
There is no forum engine there that can provide such flexibility that mailing list can provide. I want to be able to have updates send to my email on daily basis, I want to be able to reply directly in email, I want to be able to use it from different clients (console based, gui based, not only

Re: ANN: vim-redl -- advanced fuzzy omnicompletion and VimClojure-style repl with enhanced debugging features

2013-04-04 Thread Max Gonzih
Awesome! Thank you! Can you add example profiles.clj to readme? Because I can understand how to configure Clojure component. On Wednesday, April 3, 2013 11:08:30 PM UTC+3, David Greenberg wrote: > > Although I've announced vim-redl in the past, now you can reap the > benefits of all of its feat

Re: ANN: vim-redl -- advanced fuzzy omnicompletion and VimClojure-style repl with enhanced debugging features

2013-04-04 Thread Max Gonzih
So I got it working and it's pretty cool. But is there any options to remap default keys (for example I'm using "-_" instead of "$^")? Thanks -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Re: [ANN] Instaparse 1.0.0

2013-05-02 Thread Max Gonzih
Hi, what do you think about dsl version using map? Nice Idea was proposed here http://www.reddit.com/r/Clojure/comments/1djbio/growing_a_lanugage_with_clojure_and_instaparse/c9qwv4d On Tuesday, April 9, 2013 12:41:38 PM UTC+3, puzzler wrote: > > On Tue, Apr 9, 2013 at 1:33 AM, Tassilo Horn >wrot