Re: [Job Spam] Looking for a clojure devs

2015-06-09 Thread Murtaza Husain
! Murtaza On Thursday, June 4, 2015 at 1:15:44 PM UTC+5:30, Murtaza Husain wrote: > > Hi, > > A friend's startup is looking for couple of clojure devs. Its a startup > and the stack they are using is reagent / clojure / datomic. > > They are looking for experienced

[Job Spam] Looking for a clojure devs

2015-06-04 Thread Murtaza Husain
Hi, A friend's startup is looking for couple of clojure devs. Its a startup and the stack they are using is reagent / clojure / datomic. They are looking for experienced developers with / without clojure experience, however with enthusiasm to learn and excel at the clojure stack. If intereste

Re: ANN: cljson, for faster browser deserialization

2014-01-13 Thread Murtaza Husain
on is to improve browser > deserialization performance when the client is ClojureScript and the server > is Clojure. You can start with EDN and easily move to cljson if > client-side deserialization becomes your bottleneck. > > Alan > > On Monday, January 13, 2014 9:45:00 AM UT

Re: ANN: cljson, for faster browser deserialization

2014-01-13 Thread Murtaza Husain
Alan, I am exploring what option to use for exchanging data between my server and client. EDN and Cljson are two of the options. What are the pros / cons of using cljson over edn ? What was the motive in creating this library ? Thanks, Murtaza On Tuesday, June 25, 2013 12:58:11 AM UTC+5:30, A

Re: Does Pedestal have a future in the long run

2013-12-21 Thread Murtaza Husain
I dont know much about the third project so will comment on Pedestal and Om. I see both of these projects as complimentary - 1. Pedestal concerns itself with propagating the change in your state, and wiring the dependencies within it. Its sort of dataflow/FRP in cljs. 2. Om/react.js in concer

Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-19 Thread Murtaza Husain
Hi, Thanks for the great framework. I am loving it and will give it a try in a pet project. A few nitpicks - 1. Why not use hiccup data structure for representing DOM, instead of the custom fns and macros. This provides several advantages where your DOM is just data and you can manipulate it

Re: [ANN] Optimus - a Ring middleware for frontend performance optimization.

2013-11-25 Thread Murtaza Husain
Magnar, Thanks for the project ! Nicely fills up a void. Thanks, Murtaza On Monday, November 25, 2013 3:30:10 AM UTC+5:30, Magnar Sveen wrote: > > I just open sourced optimus. README and code here: > https://github.com/magnars/optimus

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-20 Thread Murtaza Husain
Ryan - I read somewhere that Datomic support is also being talked about. I think that would be great, as the type of time variant queries that are possible with datomic are not easily replicable in a RDBMS. So will really appreciate that support. On Wednesday, November 20, 2013 12:27:37 AM UT

Re: Does Pedestal have a future in the long run

2013-11-18 Thread Murtaza Husain
I also personally like pedestal. However couple of reasons are holding me back - 1) An easier integration with UI. All current frameworks such as Angular etc focus on easing the DOM manipulation. You define your model, and then define the relationship of your model with the DOM. The framework

[ANN] Clojure Support for the Intellij Sublime Theme

2013-10-30 Thread Murtaza Husain
Hi, I have been using the Sublime Theme https://github.com/y3sh/Intellij-Colors-Sublime-Monokai for IntelliJ, however it doesnt play nice with clojure. So added support for clojure forms too, so that will not look ugly. Here is my fork which adds the support - https://github.com/murtaza52/I

Re: Lifecycle Composition

2013-10-15 Thread Murtaza Husain
in the > "constructed" forms- as an unconnected database, a non-started cache, etc- > and their "started" forms- their post-initialization state of being > connected to database or as a cache that is ready for work. > > Hope that helps. > > 1. http://thi

Adding tomorrow theme to prelude

2013-09-26 Thread Murtaza Husain
Hi, I want to use the tomorrow theme with prelude - https://github.com/chriskempson/tomorrow-theme How do I add it to use with prelude ? Is a prelude package availaible for it ? Thanks, Murtaza -- -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Emacs font and theme for clojure

2013-09-26 Thread Murtaza Husain
ps://github.com/chriskempson/tomorrow-theme > > On Thu, Sep 26, 2013 at 8:21 PM, Murtaza Husain > > wrote: > > Hi, > > > > I was just cycling through the different themes in emacs. I was > wondering > > what font and theme combination others are

Emacs font and theme for clojure

2013-09-26 Thread Murtaza Husain
Hi, I was just cycling through the different themes in emacs. I was wondering what font and theme combination others are using ? Any recommendations for mac pro retina ? I like the solarized-dark theme, however the default font doesnt seem very good with it. Thanks, Murtaza -- -- You re

Lifecycle Composition

2013-09-20 Thread Murtaza Husain
Hi, I am going through the blog of Stuart Sierra regarding lifecycle composition. http://stuartsierra.com/2013/09/15/lifecycle-composition In the end there is this para - "This technique is a form of dependency injection through constructors. The choice of whether to make the individual compon

Re: How do new defrecords get the implementation for hashmaps ?

2013-09-19 Thread Murtaza Husain
> > > On Thu, Sep 19, 2013 at 5:21 PM, Murtaza Husain < > murtaza...@sevenolives.com > wrote: > >> Hi, >> >> I was going through the article regarding clojure protocols and datatypes >> - >> http://www.ibm.com/developerworks/java/library/j-clojure

How do new defrecords get the implementation for hashmaps ?

2013-09-19 Thread Murtaza Husain
Hi, I was going through the article regarding clojure protocols and datatypes - http://www.ibm.com/developerworks/java/library/j-clojure-protocols/index.html In it an example is given for a new defrecord that the author creates. The generated java source for the record as given in the article -

Re: [ANN] Pedestal 0.1.9 has been released

2013-07-04 Thread Murtaza Husain
Ryan - However expecting the Christmas this Monday :) On Wednesday, July 3, 2013 9:01:09 PM UTC+5:30, Manuel Paccagnella wrote: > > I'm sure I will :) In the meantime, I'll dive in the "Application > Overview" section to wrap my head around all the moving parts. Loving it so > far! Nice job. >

Re: [ANN] lein-pedantic is now deprecated

2013-05-30 Thread Murtaza Husain
+1 for both features. Nelson thanks for the plugin, I have been using it on my projects. On Thursday, May 30, 2013 9:11:17 AM UTC+5:30, tbc++ wrote: > > +1 for both features, it really helps for major version upgrades on large > projects. > > > On Wed, May 29, 2013 at 8:35 PM, Brian Tatnall >

Re: [ANN] - purnam "0.0.10" - angular.js language extensions

2013-05-17 Thread Murtaza Husain
Hi, Thanks for the project , the language extensions are fantastic ! One of the problems I have had in working with cljs is the compatibility and awkward syntax in working with external js libs. This goes a long long way in resolving it. Thanks, Murtaza On Monday, May 13, 2013 5:28:00 AM UT

Re: clojure/script web framework?

2013-04-29 Thread Murtaza Husain
webfui is another framework you can look at. I have a sample using it at github.com/murtaza52/mashup pedestal.io is another shiny new framework, which has a solid backing and is very promising. On Tuesday, April 30, 2013 6:02:59 AM UTC+5:30, Erlis Vidal wrote: > > I've been playing with htt

Re: New CSS library - Garden

2013-04-24 Thread Murtaza Husain
Joel, Thanks for the lib. Its great and I plan to use it in my projects. How does Garden compare to other pre processors such as sass and less ? Also can I use it in my clojurescript projects ? I mean does it have any java lib dependencies that would prevent it? What is the workflow when using

conflict using midje repl-tools

2013-03-19 Thread Murtaza Husain
Hi, I am having trouble using midje repl-tools. I am using the facts intermingled in my source code. In my source file abc/core.clj file, I have included (:use [midje.sweet]). After I start my repl, when I type this - (use 'midje.repl), I get the following error - IllegalStateException => a

Re: Midje 1.5 released

2013-03-19 Thread Murtaza Husain
Brian thanks for the effort, its a wonderful framework ! Brain I would also like to use it to test my cljs code, is that possible ? On Tuesday, March 19, 2013 8:22:12 AM UTC+5:30, Evan Mezeske wrote: > > Thanks for your continued work on this, Brian. I can't wait to upgrade! > > On Monday, Mar

Re: Clojure Position

2013-02-13 Thread Murtaza Husain
Yes Chris, I saw it after I had pressed the Post button :( On Wednesday, February 13, 2013 12:45:25 PM UTC+5:30, Chris Ford wrote: > > Murtaza, I'm guessing you probably didn't want to send us all your > resume... > > Cheers, > > Chris > > On 13 February 201

Re: Need help in geeting cemerick/friend working with openid

2012-12-20 Thread Murtaza Husain
I think this seems to be the one - Under :session and the following key :cemerick.friend/identity there is - :identity https://www.google.com/accounts/o8/id?id=AItOawlvddewdedwddrft56gt Thanks, Murtaza On Thursday, December 20, 2012 11:56:53 PM UTC+5:30, Murtaza Husain wrote: > &

Re: Need help in geeting cemerick/friend working with openid

2012-12-20 Thread Murtaza Husain
Hi, Once the user is authenticated, how do I get hold of unique user identifier that was returned by openid provider. I would like persist this user identifier with the user's authorization details into the DB. Murtaza On Thursday, December 20, 2012 8:06:04 PM UTC+5:30, Murtaza H

Re: Need help in geeting cemerick/friend working with openid

2012-12-20 Thread Murtaza Husain
ng on; so, locally, you'll have to set that to > e.g. http://localhost:8080, and then to http://mydomainname.com in > production, etc. > > - Chas > > On Dec 19, 2012, at 9:56 PM, Murtaza Husain wrote: > > > I have changed the parameter name to 'identifier', h

Re: Need help in geeting cemerick/friend working with openid

2012-12-19 Thread Murtaza Husain
to an (unrelated) > bug in the openid workflow. Thanks! :-) > > - Chas > > On Dec 19, 2012, at 1:20 PM, Murtaza Husain wrote: > > > Thanks for catching that Aaron ! > > The app currently redirects to the login page now. However I get an error > when I try to post t

Re: Need help in geeting cemerick/friend working with openid

2012-12-19 Thread Murtaza Husain
id/workflow[fn]friend.clj:174 cemerick.friend/authenticate*[fn]core.clj:2432clojure.core/map[fn] LazySeq.java:42clojure.lang.LazySeq.sval Thanks, Murtaza On Wednesday, December 19, 2012 7:37:04 PM UTC+5:30, Aaron Cohen wrote: > > > > > On Wed, Dec 19, 2012 at 8:40 AM, Murtaza

Re: Need help in geeting cemerick/friend working with openid

2012-12-19 Thread Murtaza Husain
for Friend: > > https://friend-demo.herokuapp.com/ > > I haven't publicly announced that app/effort yet — mostly because I want > to get a certain minimum number of example apps spiked out with non-hideous > presentation before blowing the trumpets. > > Anyway, I hope t

Need help in geeting cemerick/friend working with openid

2012-12-18 Thread Murtaza Husain
Hi, I am trying to setup my authentication using cemerick/friend. I would like to authenticate using openid with gmail. Below is the code that I have - (ns faiz.handler (:use compojure.core) (:require [compojure.handler :as handler] [compojure.route :as route] [rin

how to securely store parameters in config files

2012-09-28 Thread Murtaza Husain
Hi, I am using a config file to store passwords / keys for DB and connection to other services like AWS. I am using Travis CI for build, and running my tests, and then deploying it to live server. I would like to encrypt the variables in my config file and only the application should be abl

Re: What does ":resource-paths" in leiningen do?

2012-09-13 Thread Murtaza Husain
A good use case - You want to place html files, that can be processed in your server side code. Inorder for your code to have access to it, you will have to place them in the src dir. However if you use the :resource-path, you can define a dir relative to the root of your project where you are

Re: Ideas for interactive tasks

2012-09-11 Thread Murtaza Husain
Thinking aloud, clojure could be used to create a DSL using which the students can experiment with concepts from different sciences, and see the results / effects in a graphical manner !! On Wednesday, September 12, 2012 11:03:04 AM UTC+5:30, Murtaza Husain wrote: > > > This

Re: Ideas for interactive tasks

2012-09-11 Thread Murtaza Husain
This is really interesting. I am wondering if the idea could be broadened to not just teach CS, but also maths, physics and chemistry. A curriculum in which programming is used as a tool to explore the different sciences. An integrated curriculum to teach the different sciences. Please keep

Re: ClojureScript and development workflow

2012-09-11 Thread Murtaza Husain
Hi Paul, Thanks for the workflow. - use the Clojure REPL as much as possible, even for my CLJS code. Afterall, it's just Clojure, right? This also encourages good program design, keeping browser-specific code in a single namespace How do you achieve the above ? Do you specify your cljs

Re: Does moustache work with latest ring and clojure ?

2012-09-08 Thread Murtaza Husain
t;hi"] "Hello, world!\n") {:port :join? false}) > > $ curl localhost:/hi > Hello, world! > > > On Friday, September 7, 2012 7:06:42 PM UTC+2, Murtaza Husain wrote: >> >> >> Herwig, >> >> Thanks for the detailed answers below.

Re: Does moustache work with latest ring and clojure ?

2012-09-07 Thread Murtaza Husain
ntly)) [&] (-> "Nothing was found" response (status 404) constantly))) I have added another route /a/b, which also returns "Nothing was found" instead of "a b" ? 2012/9/7 Murtaza Husain > > (def my-app (app > wrap-stac

Re: Does moustache work with latest ring and clojure ?

2012-09-07 Thread Murtaza Husain
content on the screen, there was actually an error on the server side. On Friday, September 7, 2012 3:45:27 PM UTC+5:30, Herwig Hochleitner wrote: > > 2012/9/7 Murtaza Husain > > >> I have noticed that moustache swallows any errors, is there a way so that >> any errors bu

Re: Does moustache work with latest ring and clojure ?

2012-09-07 Thread Murtaza Husain
Herwig, I have noticed that moustache swallows any errors, is there a way so that any errors bubble up ? Thanks, Murtaza On Friday, September 7, 2012 2:35:07 PM UTC+5:30, Herwig Hochleitner wrote: > > Append: you don't need to fork or update it, since it uses version ranges > in its dependenc

Does moustache work with latest ring and clojure ?

2012-09-06 Thread Murtaza Husain
Hi, Moustache seems to be a great library and I would like to use it for my next project (No offense to compojure :) ) . However it still lists clojure 1.1 and ring 0.2 as its dependencies (on clojars). Does moustache work with clojure 1.4 and ring 1.1.5 ? Also is it still being maintained ? T

Re: {ANN} clojure-control 0.4.1 released.

2012-07-17 Thread Murtaza Husain
http://palletops.com/ On Wednesday, July 18, 2012 11:41:11 AM UTC+5:30, dennis wrote: > > I am sorry,i don't know pallet,any links? thanks. > > 2012/7/18 Murtaza Husain > >> >> Hi, >> >> How is this different from pallet ? >> >> Thanks,

Re: {ANN} clojure-control 0.4.1 released.

2012-07-17 Thread Murtaza Husain
Hi, How is this different from pallet ? Thanks, Murtaza On Wednesday, July 18, 2012 10:52:57 AM UTC+5:30, dennis wrote: > > Clojure-control is a > clojure tool library to execute user defined tasks on remote machines > grouped into cluster just

Re: Clojurians in Pune

2012-07-17 Thread Murtaza Husain
there > is enough interest outside our company group I would be glad to host > meetups in our office on weekends. > > Regards, > BG > > On Tue, Jul 17, 2012 at 4:04 PM, Murtaza Husain > wrote: > > Hi BG, > > > > Basically looking to learn and explor

Re: Clojurians in Pune

2012-07-17 Thread Murtaza Husain
I am in Pune. What do you want to do in such a Dojo? > > Regards, > BG > > On Tue, Jul 17, 2012 at 3:45 PM, Murtaza Husain > wrote: > > Hi, > > > > Anyone interested in organizing a clojure dojo in Pune ? > > > > Thanks, > > Murtaza > &

Clojurians in Pune

2012-07-17 Thread Murtaza Husain
Hi, Anyone interested in organizing a clojure dojo in Pune ? Thanks, Murtaza -- 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 pat

Re: Please I urgently need help with my Clojure written App.

2012-07-16 Thread Murtaza Husain
Hi, Can you post something so that we can take a look at it. Maybe upload the code to github ? Or provide us access to it in some form. Thanks, Murtaza On Monday, July 16, 2012 10:09:35 PM UTC+5:30, Oo Nwoye wrote: > > Hi Guys/Girls, > I need your help. I am a non-programmer (I barely writ

Re: newer versions

2012-07-15 Thread Murtaza Husain
Niles any advantages of using the sonatype repos over the regular maven ones? On Monday, July 16, 2012 2:30:46 AM UTC+5:30, Niels van Klaveren wrote: > > You might try the sonatype snapshot repository, there's a recent > core.logic snapshot build on there. > > Add > :repositories {"sonatype-sn

Re: [ANN] Immutant 0.2.0 released

2012-07-06 Thread Murtaza Husain
since we don't duplicate every class. Anything loaded by the system class > loader (java.*, javax.*, etc) and any java classes needed by Immutant > itself are not duplicated - only classes loaded from the app's dependency > tree are. > > - Toby > > On Jul 6, 2012, a

Re: [ANN] Immutant 0.2.0 released

2012-07-06 Thread Murtaza Husain
2) Can the message {"operation" "multiply"} be a map with {:operation "multiply"} ? 3) Can we have a predicate function in place of jms pattern selector, #(= multiply (:operation %)) instead of "operation='multiply'" Thanks, Murtaza

Re: [ANN] Immutant 0.2.0 released

2012-07-05 Thread Murtaza Husain
Hi Jim, "Multiple apps can be deployed to a single Immutant, each with its own isolated runtime" How much cost in terms of memory does the isolated runtime extract ? I assume by isolated runtime it means that all dependencies are laded in a separate runtime. usually starting a separate JVM for

:auto-refresh in ring apps

2012-07-02 Thread Murtaza Husain
Hi, I am developing an app in clojurescript with cljsbuild doing the compiling. ring has a configuration option where if :auto-refersh? is set to true in the project.clj, then browser will be refreshed when any resource files are changed. This will be ideal, as any generated clojurescript fi

Re: lein-daemon 0.3

2012-06-25 Thread Murtaza Husain
Hi, This is a very useful tool, and I will be giving it a spin. I would like to specify a file where it should log all the command line output, can I do that? Thanks, Murtaza On Tuesday, June 26, 2012 8:31:45 AM UTC+5:30, Joao_Salcedo wrote: > > > > On Thursday, May 12, 2011 2:18:57 PM UTC+1

error in clojurescript compilation

2012-06-22 Thread Murtaza Husain
Hi, I was hacking away happily with my clojurescript, when suddenly this error seems to crop up - java.lang.IllegalArgumentException: Parameter declaration clojure.core/let should be a vector core.clj:6567 clojure.core/assert-valid-fdecl core.clj:220 clojure.co

Re: defpartial returns object instead of html string

2012-06-22 Thread Murtaza Husain
Why do you want a string in the client? >> >> >> >> On Friday, 22 June 2012 20:38:09 UTC+10, Murtaza Husain wrote: >>> >>> >>> Nope doesnt work. >>> >>> >>> On Friday, June 22, 2012 4:05:13 PM UTC+5:30, bsmith.occs wrot

Re: defpartial returns object instead of html string

2012-06-22 Thread Murtaza Husain
Nope doesnt work. On Friday, June 22, 2012 4:05:13 PM UTC+5:30, bsmith.occs wrote: > > str > > On Fri, Jun 22, 2012 at 11:58 AM, Murtaza Husain > wrote: > > > > Hi, > > > > I am using Chris Ganger's crate library to generate html on the client

defpartial returns object instead of html string

2012-06-22 Thread Murtaza Husain
Hi, I am using Chris Ganger's crate library to generate html on the client side. (defpartial html [] form) (def form [:div.form-horizontal [:fieldset [:legend "Student Registeration"] [:div.control-group [:label.control-label "Hello World"]]

Re: Wildcards in Leiningen Dependencies Versions

2012-06-20 Thread Murtaza Husain
Phil, Tasillo thanks for the reply. The plugin is very helpful. On Tuesday, June 19, 2012 11:52:41 AM UTC+5:30, Tassilo Horn wrote: > > Phil Hagelberg writes: > > >> Does leiningen support wildcards in dependencies version numbers ? I > >> would usually like to use the latest version for some

Wildcards in Leiningen Dependencies Versions

2012-06-18 Thread Murtaza Husain
Hi, Does leiningen support wildcards in dependencies version numbers ? I would usually like to use the latest version for some library, and it would be nice if I can indicate it by using a wildcard, so tat I dont need to keep checking if a new version has been released. Thanks, Murtaza -- Yo

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Murtaza Husain
Thanks Bill !! On Monday, June 18, 2012 5:19:06 PM UTC+5:30, Bill Caputo wrote: > > > On Jun 18, 2012, at 6:37 AM, Murtaza Husain wrote: > > > Bill that is very interesting. So how do you make them learn. > > Haha, I don't make anyone do *anything* on my team

Re: How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Murtaza Husain
they may not be able to grasp, and they may also not have time. On Monday, June 18, 2012 5:01:45 PM UTC+5:30, Bill Caputo wrote: > > > On Jun 18, 2012, at 2:11 AM, Murtaza Husain wrote: > > > Hi, > > > > Just wanted to get pointers on how do you manage the

How to speed up Clojure Training for New Recruitment

2012-06-18 Thread Murtaza Husain
Hi, Just wanted to get pointers on how do you manage the training of recruits. It is difficult to find clojure talent, and we are located in India, where it is close to impossible. Also the non availability of talent becomes a hard sell to management too while introducing clojure projects. How

Two Way DOM binding in clojurescript

2012-06-13 Thread Murtaza Husain
Hi, I would like to data in atoms to DOM elements in clojurescript. Are there any examples out there that demonstrate this ? Something like what knockout.js or angular.js provide. Thanks, Murtaza -- You received this message because you are subscribed to the Google Groups "Clojure" group. T

Re: How to use the :use form in clojurescript

2012-06-03 Thread Murtaza Husain
> >> Note :use(-macros) is only supported with :only in ClojureScript. > >> > >> Cheers, > >> Michał > >> > >> > >> On 3 June 2012 21:20, Murtaza Husain > >> wrote: > >> > Hi, > >> > &g

Re: How to use the :use form in clojurescript

2012-06-03 Thread Murtaza Husain
Marczyk wrote: > > (:use-macros [enfocus.macros :only [at content]]) > > Note :use(-macros) is only supported with :only in ClojureScript. > > Cheers, > Michał > > > On 3 June 2012 21:20, Murtaza Husain > wrote: > > Hi, > > > > I am using

How to use the :use form in clojurescript

2012-06-03 Thread Murtaza Husain
Hi, I am using enfocus where the macros can be used in this manner (from enfocus's site)- (ns my.namespace (:require [enfocus.core :as ef]) (:require-macros [enfocus.macros :as em])) (defn start [] (em/at js/document [“body”] (em/content “Hello world!”)) However I would like to

Future milestones of ClojurescriptOne ?

2012-06-02 Thread Murtaza Husain
Hi, Are there any plans to release further milestones of ClojureScriptOne, its an awesome project, and a great learning tool. I see the current milestone of M003 has also not been released. Thanks, Murtaza -- You received this message because you are subscribed to the Google Groups "Clojure"

Clojurescript libraries for MVC and state management

2012-05-16 Thread Murtaza Husain
Hi, Are there any clojurescript libraries / frameworks for mvc, or state management ? I have come across clojurescript one and waltz. Thanks, Murtaza -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Idiomatic usage of partial

2012-05-16 Thread Murtaza Husain
Hi, What is the idiomatic use of partial. I understand it helps create closures, however the reader notation also allows to the same. So when should partial be use dover other forms of creating functions. Thanks, Murtaza -- You received this message because you are subscribed to the Google Gr

Unable to trigger / dispatch a browser event

2012-05-16 Thread Murtaza Husain
Hi, I am trying to trigger / dispatch click event on a button. The following code works in the browser - $ ("button").trigger ("click") However I am not able to trigger the same from my cljs code (I am using domina) - (defn enter-to-click "It captures the enter event on the given element sel

Re: Assuring avalaibility of ring web apps

2012-05-16 Thread Murtaza Husain
Tim thanks for the link, I will give it a go. Kyle appreciate the detailed explanation, yes will try to put in practice through ELB, but I am not sure if I can switch the configs like you do with nginx. On Wednesday, May 16, 2012 7:32:59 PM UTC+5:30, Kyle Burton wrote: > > > I'm not personal

Browser History in cljs

2012-05-16 Thread Murtaza Husain
Hi, I would like to implement browser history in my cljs app. Are there any libraries that already do it? I know clojurescriptone does it, however for that I will have to use its eventing system too, I am looking at something more pluggable. Thanks, Murtaza -- You received this message becau

Re: Pretty printing javascript objects in cljs

2012-05-16 Thread Murtaza Husain
Chrome will give you something > > inspectable at the JS console. > > > > > > On Wednesday, May 16, 2012, Murtaza Husain wrote: > >> > >> Hi, > >> > >> I am trying to use domina for

Pretty printing javascript objects in cljs

2012-05-16 Thread Murtaza Husain
Hi, I am trying to use domina for listening to an event - (listen! (sel "#password") :keydown (fn [ev] (log (pr-str ev))) log is a funciton which uses chrome's console.log. a) The pr-str just prints "object" instead of its properti

Assuring avalaibility of ring web apps

2012-05-16 Thread Murtaza Husain
Hi, Currently I am using noir for developing web apps. I am deploying them on an EC2 server, by running lein trampoline run in the project directory. I also have a nginx in front of it which is handling serving of static files. I have never had the apps crash, however recently on app was down o

deps.js in cljsbuild?

2012-05-14 Thread Murtaza Husain
Hi, I am using lein-cljsbuild to compile the cljs code. I see reference to a deps.js file that is added after the tag in which I have included the generated js file. The browser naturally fails to find the file as it does not exist. What is the deps.js file and how do I resolve its 404 error?

Re: clojurescript error

2012-05-14 Thread Murtaza Husain
Raju thanks for your comments. I tried building using cljsbuild and the code is now compiling without any errors. I am curious to know, when you say script/repljs, are you referring to the browser based repl that cljsbuild provides access to or a cmd based repl? How do you access the latter?

Re: tracing cljsbuild error

2012-05-14 Thread Murtaza Husain
Herwig thanks for your comments. I was able to solve the problem by doing the following. I created a new source directory and changed the src path for lein-cljsbuild to the new src dir. Then I started saving one file after another to the dir. All this while I had lein cljsbuild running as auto

tracing cljsbuild error

2012-05-13 Thread Murtaza Husain
Hi, While compiling using cljsbuild I get the error below. How do I trace it back to the source file that caused this error ? Thanks, Murtaza Compiling "resources/public/cljs/client.js" failed: Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.NullPointerException

Re: clojurescript error

2012-05-13 Thread Murtaza Husain
I am using Chris Ganger's noir-cljs. Any leads on how I could debug it? Thanks, Murtaza On Sunday, May 13, 2012 7:35:13 PM UTC+5:30, David Nolen wrote: > > How are you compiling your source? > > On Sunday, May 13, 2012, Murtaza Husain wrote: > >> Hi, >> >&

clojurescript error

2012-05-12 Thread Murtaza Husain
Hi, I have an array of maps defined as below - (def input-boxes [{:name ":person/first-name" :label-text "Full Name" :help-text "Please enter your full name as - First Middle Last"} {:name ":person/ejamaat" :label-text "Ejamaat Number" :placeholder-text "Ejamaat #"} {:

Re: Defining custom tags using hiccup ?

2012-05-12 Thread Murtaza Husain
Thats the whole idea. The ability to build abstractions. Currently I have a host of functions that I have defined for higher level components, which then return datastructures defined in terms of basic html tags. It would be a great idea if I could directly represent even custom tags as the b

Defining custom tags using hiccup ?

2012-05-12 Thread Murtaza Husain
Hi, I like the way hiccup allows you to represent html elements as datastructure. However this is limited to native elements. If you want to represent custom elements, the solution is to crate a function which will then spit out the basic html tags that hiccup compiler understands. It would be

git dependencies in leiningen

2012-05-09 Thread Murtaza Husain
Hi, Does lein2 have a way to pull in dependencies from git ? Just checking any alternatives to https://github.com/tobyhede/lein-git-depsin leiningen itself. Thanks, Murtaza -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: how to get good at clojure?

2012-05-08 Thread Murtaza Husain
In addition to the things mentioned above the following will help - Clojure Koans (https://github.com/functional-koans/clojure-koans) and Clojure labrepl are good resources too (https://github.com/relevance/labrepl) Planet Clojure is also a good collection of blogs. Lastly start reading sour

Re: Help with clojurescript code for google charts

2012-04-27 Thread Murtaza Husain
tions (chart-options) > chart (get-chart)] > (.draw chart data options))) > > (.load js/google "visualization" "1.0" (clj->js {:packages > ["corechart"]})) > > (.setOnLoadCallback js/google draw-chart) > > > On Fri, Apr 27, 2012 at 11:15 AM, Murtaza

Help with clojurescript code for google charts

2012-04-27 Thread Murtaza Husain
Hi, I am trying to use google charts from clojurescript, however cant get it working. I have included both the js code from google's site and my clojurescript conversion. Any help in figuring out the problem will be appreciated. Thanks, Murtaza JS Code - https://www.google.com/jsapi";>

Socket Library in Clojure

2012-04-27 Thread Murtaza Husain
Hi, I was looking for socket libraries in clojure. The requirement is to connect via telnet to a mainframe based system and run commands on it. Thanks, Murtaza -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clo

Re: Converting project.clj to maven's pom.xml

2012-04-20 Thread Murtaza Husain
Hi, Thanks for the answers, they are quite helpful. What I would like to do is this - 1) Use leiningen for development purposes. 2) Gnenerate a pom while pushing to git. 3) Th pom should be good enough so that it can be used by cloud evironments ( http://jelastic.com/docs/maven-cloud-hostin

Converting project.clj to maven's pom.xml

2012-04-20 Thread Murtaza Husain
Hi, Is there any way to convert project.clj to pom.xml. I was looking at jelastic which is a cloud provider for java, and they allow deploying projects from git repos which are compatible with maven 3. It will download the code and build it based on the maven config. Anyway we can leverage tha