I don't know what you did but upgrading from cljs .89 to .198 on a fairly
largish app and it seems to run over twice as fast Welldone, whatever it
was that did it!!! :)
On Friday, August 12, 2016 at 9:50:20 PM UTC+2, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits
Hi Mike,
I didn't necessarily mean that core.async is slow in my last comment, but more
that macro evaluation can be slow. The clojurescript macro file in question is
here:
https://github.com/zubairq/BlocklyBuilder/blob/master/src/webapp/framework/client/macros.cljs
It seems to take at least
Will this fork make it back in to the main branch at some point?
On Saturday, May 14, 2016 at 5:16:10 PM UTC+2, Mike Fikes wrote:
> On Tuesday, December 15, 2015 at 8:54:21 AM UTC-5, Zubair Quraishi wrote:
> > Hi Mike,
> > I took a quick look. Really happy that you are a
this is very cool, thanks!
On Sunday, May 22, 2016 at 4:09:06 AM UTC+2, Mike Fikes wrote:
> Andare is a fork of core.async ported for use with self-hosted ClojureScript.
>
> https://github.com/mfikes/andare
>
> Available on Clojars: https://clojars.org/andare
>
> A blog post:
>
Mike also helped me get this working for appshare.co. See the code here:
https://github.com/zubairq/AppShare/blob/master/idesandboxcode/myappshare/mainapp.cljs
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you
Maybe this will help as I used macros from Clojurescript in clojurescript:
https://github.com/zubairq/AppShare/blob/master/idesandboxcode/myappshare/mainapp.cljs
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because
I want to do the same from Clojurescript. Which one did you choose in the end?
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from
I have an Om system that supports query subscriptions in a framework very much
like Meteor, although it only handles SQL query subscriptions. You can see the
code here:
https://github.com/zubairq/AppShare
--
Note that posts from new members are moderated - please be patient with your
first
I'm building an online app builder and part of the foundation will be
Clojurescript and Om, so feel free to play around with it to try out snippets
of clojurescript
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message
On Friday, January 1, 2016 at 5:24:30 PM UTC+1, Zubair Quraishi wrote:
> I'm building an online app builder and part of the foundation will be
> Clojurescript and Om, so feel free to play around with it to try out snippets
> of clojurescript
The link is http://appshare.co
--
Note t
Hi Mike,
Ok, first test, Windows Firefox, Chrome and IE11 setting:
:static-fns false
in two places, here and here works:
:compiler {:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:asset-path "js/out"
Hi Mike,
Ok, tested on Mac Safari. Set :static-fns true and now:
(js/alert (test-macro))
works, and outputs 58. thanks so much for your help!!!
Zubair
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are
hi Mike,
Thanks again for your help. You can see the result here:
appshare.co
So you can edit and save basic clojurescript Om apps in the browser.
Zubair
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are
messing-with-macros-at-the-repl.html
>
>
> > On Dec 28, 2015, at 1:16 PM, Zubair Quraishi <zuba...@gmail.com> wrote:
> >
> > I tried the clojurescript.io on Chrome as well, and see the following with
> > defmacro:
> >
> > cljs.user=> (def
Hi Mike,
I have managed to reproduce the problem now and put it up on github. So:
1) git clone https://github.com/zubairq/cljs-eval-example.git
2) cd cljs-eval-example
3) lein.sh figwheel
4) Go to 127.0.0.1:3449.
This will bring up a repl in the browser. Enter anything in Chrome or Firefox
I've noticed that the following bootstrapped Clojurescript works in Chrome and
Firefox using eval, but not on Webkit browsers such as iPhone, Safari, iPad:
(ns some-namespace)
(defmacro some-macro [& more] 5 )
(js/alert (pr-str (some-macro 1)))
It should alert 5 on the screen but in Webkit
lation stage
> where it is being defined—instead it needs to be separately brought in via
> :require-macros).
>
> See:
> https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure#macros
>
> - Mike
>
>
> > On Dec 28, 2015, at 8:54 AM, Zubair Qur
I tried it with require-macros but get the same behaviour on Mac Safari.
I tried clojurescript.io on my Mac Safari and it works but I also get the
message:
Wrong number of args (1) passed to some-namespace/some-macro at line 4
--
Note that posts from new members are moderated - please be
parately brought in via
> :require-macros).
>
> See:
> https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure#macros
>
> - Mike
>
>
> > On Dec 28, 2015, at 8:54 AM, Zubair Quraishi <zuba...@gmail.com> wrote:
> >
> > I've noticed
I like the idea of this. Isn't there anything similar already in Cljs and
Clojure though?
On Thursday, December 24, 2015 at 6:03:50 PM UTC+1, white...@polyc0l0r.net
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello,
>
> I am happy to announce the first independent release of
On Wednesday, December 23, 2015 at 9:08:17 AM UTC+1, Matthew Molloy wrote:
> Anybody tackled this? There is a js lib called http://pdfkit.org/, I could
> write a wrapper.
I have done PDF generation via Clojurescript but just called the server
generated PDF made with Clojure. I would warn that
I have made a cljs in cljs playground with Om. You can try it here:
http://appshare.co
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To
Ok, thanks for the update
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an
Ok, makes sense. Is there a roadmap or something for Clojurescript in
Clojurescript so I can get a better sense of what it will and won't support in
the future?
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because
I am trying to get core.async (go macros to work in cljs in cljs but they seem
to do nothing. I try fully qualifying them as well with
(cljs.core.async.macros/go but it makes no difference. Anyone else have
core.async working with cljs in cljs?
--
Note that posts from new members are
Hi Mike,
I am able to get around the problem by just putting the full namespace before
my om elements, like so:
(om.dom/div ... blah blah blah
: and this seems to work fine.
Thanks
Zubair
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You
I also tried to do:
(:require-macros
[cljs.core.async.macros :refer [go]]
))
:but when I compile I get:
{:error #error {:message "Could not eval cljs.core.async.macros", :data {:tag
:cljs/analysis-error}, :cause #error {:message "Invalid token: //", :data
{:type :reader-exception,
Hi Mike,
I took a quick look. Really happy that you are actively working on this too.
When do you think a stable will be released? Just a ballpark figure I mean, so
that I can plan around it?
thanks
Zubair
--
Note that posts from new members are moderated - please be patient with your
first
Ok, but how does it work right now. Are you the main contributor for core.async
for ClojureScript, or is someone at Cognitect working on it as well?
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are
I figured it out in the end, doing this:
(cljs/eval-str (cljs/empty-state) string-to-evaulate 'foo.bar
{
:eval cljs/js-eval
:load load-fn
:source-map true}
(fn [result]
When I try to require om.next in self hosted ClojureScrtipt I get this message:
:error #error {:message "Could not eval om.next", :data {:tag
:cljs/analysis-error}, :cause #error {:message "Invalid token: //", :data
{:type :reader-exception, :line 11, :column 27, :file om.next
Any ideas as
On Tuesday, December 8, 2015 at 6:01:31 PM UTC+1, Rafik NACCACHE wrote:
> Hi Guys,
>
> I think ClojureScript deserves its own macros and eval.
>
> Any plans to work on this?
>
> Cheers,
>
> Rafik
Clojurescript already has both of these in the cljs.js namespace, have you seen
this?
--
Note
I tried using :in-ns but it was just ignored. I looked at replumb but I was not
sure what to look for. I guess I was confused as when I saw David Nolen's
original post here:
http://swannodette.github.io/2015/07/29/clojurescript-17/
: He shows this example:
(ns foo.core
(:require-macros
On Friday, December 4, 2015 at 1:58:51 PM UTC+1, bpb...@gmail.com wrote:
> I haven't got an online example as it's for work, but it's quite easy to set
> up a component that evaluates code
Ok, thanks, so are you saying there are no examples yet, as I see that Reagent
has some examples already
On Tuesday, December 8, 2015 at 11:13:25 AM UTC+1, Vianney Stroebel (vibl)
wrote:
> Ok, I guess this idea is so stupid nobody even bothers saying it is. :-)
>
> Vianney
>
> On Thursday, December 3, 2015 at 3:40:56 PM UTC+1, Vianney Stroebel (vibl)
> wrote:
> > I posted an idea for a reactive
I try something like:
(cljs/eval (cljs/empty-state)
(read-string s)
{:eval cljs/js-eval
:source-map true
:context:expr
:def-emits-var true
:ns my.namespace
}
(fn [result] result)))
but my.namespace seems to cause it
I am using Om and would like to move from Figwheel to cljs in cljs for an
online clojurescript editor I am making. Are there any examples of Om in a
hosted browser environment?
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this
https://github.com/zubairq/coils
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it,
If I use HoneySQL in clojure script then does it use core.async to return the
results?
On Monday, June 15, 2015 at 2:02:44 AM UTC+2, Michael Blume wrote:
Using reader conditionals, I've put up an experimental branch of honeysql
which seems to work just fine from both Clojure and
On Tuesday, May 19, 2015 at 7:17:10 PM UTC+2, marc fawzi wrote:
Is anyone out there working on a pattern of framework for isomorphic
ClojureScript?
My sense so far is that most are happy running Clojure on back end and
ClojureScript on front end. But Matt's recent post made me think of
Thanks, Michael Klishin of Clojurewerkz just made the first interview:
https://www.youtube.com/watch?v=nPO3AIxkMoE
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
I have some videos you may find useful:
http://www.zubairquraishi.com/zubairquraishi/clojurescript--light-table.html
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
Sure, zubairquraishi.com
On Tuesday, March 3, 2015 at 6:42:00 PM UTC+1, marc fawzi wrote:
Thank you very much Zubair! Do you have a blog or active twitter? Would
love to follow.
Sent from my iPhone
On Mar 3, 2015, at 8:43 AM, Zubair Quraishi zuba...@gmail.com wrote
Thanks for the info, I will fix the documentation as soon as possible!
On Tuesday, March 3, 2015 at 7:06:13 PM UTC+1, Colin Yates wrote:
(by the way, the demo link in the coils repo is dead)
On 3 March 2015 at 16:43, Zubair Quraishi zuba...@gmail.com wrote:
There are several macros in my
There are several macros in my github project:
https://github.com/zubairq/coils
On Tuesday, March 3, 2015 at 5:13:06 PM UTC+1, marc fawzi wrote:
Hi,
I tried defmacro from a .clj file with proper namespace and I did a
:require-macros (with standard :refer) to point to it from my .cljs
You would have to use a Clojure macro to abstract this, which in turn will call
a paramaterised function
On Sunday, March 1, 2015 at 4:24:18 PM UTC+1, Sven Richter wrote:
Hi,
I have several functions that do an async request to the server. There are
constraints for this functions.
1.
:50 UTC, Zubair Quraishi wrote:
I am building an application in Om and wanted to know what happens to an Om
component when the global state containing the Om Component's part of the
UI tree is deleted and then reinserted. Is the Om component garbage
collected and then recreated
you are seeing?
On Wednesday, 28 January 2015 11:59:50 UTC, Zubair Quraishi wrote:
I am building an application in Om and wanted to know what happens to an Om
component when the global state containing the Om Component's part of the
UI tree is deleted and then reinserted. Is the Om
Done:
https://github.com/zubairq/clojurescript_videos
On Sunday, January 25, 2015 at 12:40:05 AM UTC+1, Kaiyin Zhong wrote:
On Thursday, January 22, 2015 at 10:14:19 AM UTC+1, Zubair Quraishi wrote:
Hi,
Would anyone like to make a video interview about Light Table /
Clojurescript
George wrote:
Just a quick sanity check... did you include the org bit. That's new.
On 24 Jan 2015 17:21, Zubair Quraishi zub...@gmail.com wrote:
I tried that but it still didn't work:
Could not find artifact om:om:jar:0.8.1 in sonatype-oss-public
(https://clojars.org/org.om/om
/piggieback 0.1.3]
On Sat, Jan 24, 2015 at 7:40 PM, Zubair Quraishi zub...@gmail.com wrote:
MMM, I took a look at your project.clj, I see there are no repos defined. I
tried removing them from my project.clj but I still get:
Could not find artifact om:om:jar:0.8.1 in central
(http
, 2015 at 7:13 PM, Zubair Quraishi zub...@gmail.com wrote:
My repositories in project.clj looks like this:
:repositories {sonatype-oss-public
https://oss.sonatype.org/content/groups/public/;
aa
https://clojars.org/org.om/om
Oliver George oli...@condense.com.au wrote:
Happens to the best of us.
On Sat, Jan 24, 2015 at 7:54 PM, Zubair Quraishi zub...@gmail.com wrote:
Yes, it was staring me in the face. Thanks, that worked, I can be such a dumb
ass sometimes! :)
On Saturday, January 24, 2015 at 9:43:54 AM
on what i can see in the om
repo so keep your eyes open but this will work today for 0.8.1
On 24 Jan 2015 17:05, Zubair Quraishi zub...@gmail.com wrote:
When I try to include Om 0.8.1 I get the following error:
Could not find artifact om:om:jar:0.8.1 in central
(http://repo1.maven.org
When I try to include Om 0.8.1 I get the following error:
Could not find artifact om:om:jar:0.8.1 in central
(http://repo1.maven.org/maven2/)
Could not find artifact om:om:jar:0.8.1 in clojars (https://clojars.org/repo/)
Could not find artifact om:om:jar:0.8.1 in sonatype-oss-public
Hi,
Would anyone like to make a video interview about Light Table / Clojurescript
with me? I have already made some videos (just screencasts really) about
Clojurescript and LightTable, but it has been a while since I made the last
one. Would anyone like to make a video with me about their
You have it pretty much right, this is my project clj for Coils:
https://github.com/zubairq/coils/blob/master/project.clj
:profiles {
:dev
{
:source-paths [src ../srcdev]
:cljsbuild
{
:builds
[
Sorry, seems like I misunderstood. You have several projects in one file, not
several profiles, is that correct?
On Tuesday, September 9, 2014 12:21:05 PM UTC+2, Jonathon McKitrick wrote:
I have about 6 pages with their own cljs code, and I'd also like to have dev,
pre-prod, and prod
On Sunday, September 7, 2014 6:20:55 AM UTC+2, Chris Jones wrote:
On Saturday, September 6, 2014 11:40:04 AM UTC-7, Zubair Quraishi wrote:
I am updating the top most item, so it has no parent in that way.Ok, so if
use IWillMount how can I tell whether it is in render state
So does this mean that Google is experimenting with Clojurescript then?
On Wednesday, August 20, 2014 1:31:13 PM UTC+1, Karsten Schmidt wrote:
Hi fellow Clojurians,
it's my absolute pleasure to finally announce the open source release
of an art project I've been working on full-time
On Thursday, August 21, 2014 2:16:01 PM UTC+1, upgrad...@gmail.com wrote:
Hi all, I'm sure I could figure this out, but I'm feeling lazy: Is it
possible to update a clojurescript atom from javascript? If so, what's the
syntax?
Thanks,
Dave
yes, you can. create a function in
On Wednesday, August 20, 2014 2:02:09 AM UTC+1, Leon Talbot wrote:
Le mardi 19 août 2014 08:52:58 UTC-4, Zubair Quraishi a écrit :
No, if you use Om you will either have to render from the server, otherwise
it willbe terrible for SEO, as AJAX updates are not very useful for SEO
since
On Thursday, August 21, 2014 4:17:24 AM UTC+1, Leon Talbot wrote:
Le mercredi 20 août 2014 12:07:55 UTC-4, Robert Stuttaford a écrit :
On Tuesday, August 19, 2014 4:04:48 AM UTC+2, Leon Talbot wrote:
Thank you for your reply.
Google has started executing JavaScript now.
No, if you use Om you will either have to render from the server, otherwise it
willbe terrible for SEO, as AJAX updates are not very useful for SEO since
google does not index them in the same way as static sites.
--
Note that posts from new members are moderated - please be patient with your
use github pages
no 25 on --- http://lexical.foobar.systems/
It could be that the router is rejecting the domain name.
On Tue, Aug 12, 2014 at 3:22 PM, Zubair Quraishi zuba...@gmail.com wrote:
I couldn't get the :
http://lexical.foobar.systems/rdp.html
.
My favourite part is actually the tons and tons of tracing.
On Fri, Aug 8, 2014 at 7:25 PM, Zubair Quraishi zuba...@gmail.com wrote:
It uses macros, core.async go blocks and observers over shared atoms to get
the debug information
Yes, that's a very interesting place to put
free to dig into the
code and see if you like
On Friday, August 8, 2014 10:12:14 AM UTC+2, Harsha wrote:
On Thursday, August 7, 2014 11:06:12 PM UTC+5:30, Zubair Quraishi wrote:
I add a new feature so that the current Om component being debugged in the
render phase now shows in the debugger
Glad to help. Let us know how you get on!
On Friday, July 25, 2014 9:38:49 PM UTC+2, Anton Astashov wrote:
Okay, so seems like the answer is - watch the changes in atom, send these
changes to the server, on the server store them unmerged, as a set of
separate patches, and when opening a
and there in a big global one. Do you do something like
that in your framework? If yes, where should I look at?
Thanks!
On Wednesday, July 23, 2014 9:28:44 PM UTC-7, Zubair Quraishi wrote:
Hi Anton,
In the Coils framework it does actually share structures (atoms) from the
client to the server
Hi Anton,
In the Coils framework it does actually share structures (atoms) from the
client to the server, which can then be replayed back to the client again. An
example is at:
http://connecttous.co/
:where you can play around with the sample application, and then you can go to:
On Wednesday, July 16, 2014 1:50:06 AM UTC+2, Ahmad Hammad wrote:
This is pretty cool Zubair. Good job.
I think the client-side debugger would be useful as a standalone library for
those who don't want the full framework. How hard would it be to package that
separately? I'd be happy to
On Wednesday, July 16, 2014 1:50:06 AM UTC+2, Ahmad Hammad wrote:
This is pretty cool Zubair. Good job.
I think the client-side debugger would be useful as a standalone library for
those who don't want the full framework. How hard would it be to package that
separately? I'd be happy to
http://connecttous.co/connecttous/connecttous.html?livedebug=true
Play around with the app and then press Debug at the top. Then either drag the
slide to view the events and code, or click on a gui component to see the Om
component code
--
Note that posts from new members are moderated -
On Monday, July 14, 2014 8:46:03 PM UTC+2, Sean Grove wrote:
Very nice! Very fast as well, fun to scroll through.
On Mon, Jul 14, 2014 at 11:44 AM, Zubair Quraishi zub...@gmail.com wrote:
http://connecttous.co/connecttous/connecttous.html?livedebug=true
Play around
I posted a playback example earlier using the Coils framework which uses
David's Nolen's Om framework. Now you can also step through time, and see the
source too:
http://connecttous.co/connecttous/connecttous.html?livedebug=true
:Play with the app then press the debug button at the top
--
Sounds like you may want a reactive programming model like Hoplon instead if
you want to do this:
http://hoplon.io/
On Thursday, April 10, 2014 11:02:26 AM UTC+2, Dimitris Stefanidis wrote:
I was thinking about the same too and was trying to find a way to apply this
in om since this problem
regarding the comment I made about Hoplon, it seems that if you want to listen
to different parts of the tree then in effect you are saying that when one part
of the tree changes that you would like to project that part of the tree onto
another part of the tree, which is something hoplon does.
77 matches
Mail list logo