Can't stop the system component

2017-06-06 Thread D.Bushenko
Hi all, I've tried following the guide to the component and have two functions: start-all and stop-all. The start-all works as expected, but stop-all fails completely. Can anyone have a look at the code attached and help me figure out what is it wrong there? Dmitry -- You received this messa

Re: Can't stop the system component

2017-06-06 Thread D.Bushenko
ble to just use component/start; you shouldn’t need > to use component/start-system explicitly. > > On Tuesday, June 6, 2017 at 10:42:22 AM UTC-4, D.Bushenko wrote: >> >> Hi all, >> >> I've tried following the guide to the component and have two functions: >

Re: Light Table - a new IDE concept

2012-04-13 Thread D.Bushenko
This is really interesting. Is there a sourcecode for the light table ? I couldn't find it... пятница, 13 апреля 2012 г., 21:34:54 UTC+3 пользователь looselytyped написал: > > This is an awesome implementation of Brett Victors "Inventing On > Principle" [http://vimeo.com/36579366] using Clojure

Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
Hi all, I'm trying to run clojurescript repl connected to browser and have failed in all my attempts. I'm running the "clojurescript/samples/repl" project provided with the clojurescript distribution. I'm following the README.md step by step and doing the following: dim@tarantoga:~/clojure/clo

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
No, it doesn't. That's why I'm here looking for help. -- 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 pos

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
This is the README.md shipped with the clojurescript/samples/repl project. I also tried the steps from the comments to the clojurescript/samples/repl/src/repl/test.cljs -- the same result. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
Raju, That's correct, I'm talking about the project https://github.com/clojure/clojurescript/tree/master/samples/repl . Dmitry вторник, 22 мая 2012 г., 16:51:16 UTC+3 пользователь Raju Bitter написал: > > Pierre-Henry, > > I think you are referring to the ClojureScript One tutorial? > http://

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
The browser is opened and the test page is loaded (after the repl is started). This is the most weird bcs it should work. At least if I navigate to localhost:9000 it works pretty well. вторник, 22 мая 2012 г., 16:55:06 UTC+3 пользователь Raju Bitter написал: > > Dimitry, > > are you trying to e

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
Raju, This is great that you have found the problem! But is there a way I can connect a REPL to my web-page? What should I do for that? Do I need to load the page through the request to the web-server? Dmitry вторник, 22 мая 2012 г., 17:26:37 UTC+3 пользователь Raju Bitter написал: > > Ok, you

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
Hey guys, Something is going totally wrong in the project samples/repl. This is OK that navigating to localhost:9000 wakes up the repl. But there is a file index.html which loads the compiled src/repl/test.cljs. As the test.cljs file contains the code (repl/connect "http://localhost:9000/repl"

Re: Can't start clojurescript browser-connected repl

2012-05-22 Thread D.Bushenko
David, I have just tried hosting index.html, main.js and out/ under tomcat7/webapps/my/ directory, executed the cljs repl, navigated to localhost:8080/my/index.html, and it worked! Thanks, that was very helpful! Dmitry P.S. I think, the note about hosting index.html on some kind of webserver

ClojureScript: comparing dates

2012-08-16 Thread D.Bushenko
Hi, I'm trying to compare dates with ClojureScript like this: (ns common (:require [goog.date.Date])) . . . (goog.date.Date/compare (js/Date.) (js/Date.)) But it fails with the following error: "Error evaluating:" (goog.date.Date/compare (js/Date.) (js/Date.)) :as "goog.date.Date.compare((ne