[ClojureScript] Re: Examples of Om with Clojurescript in Clojurescript

2015-12-08 Thread Zubair Quraishi
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

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: Idea for a reactive and faster alternative to Datascript

2015-12-08 Thread Zubair Quraishi
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 and faster alternative to Datascript:
> > 
> > https://github.com/tonsky/datascript/issues/132
> > 
> > It seems too good to be true on paper so I probably have overlooked things.
> > 
> > Comments are welcome!
> > 
> > Vianney

A shame that noone replied. I have not used Datomic so can not comment on it

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: Idea for a reactive and faster alternative to Datascript

2015-12-08 Thread Vianney Stroebel (vibl)
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 and faster alternative to Datascript:
> 
> https://github.com/tonsky/datascript/issues/132
> 
> It seems too good to be true on paper so I probably have overlooked things.
> 
> Comments are welcome!
> 
> Vianney

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] In Clojurescript Compiler how to change the namespace?

2015-12-08 Thread Zubair Quraishi
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 to not work with no errors

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] google closure modules and the :main compiler option

2015-12-08 Thread Thomas Heller
On Tuesday, December 8, 2015 at 12:25:24 AM UTC+1, ewen wrote:
> Would you also consider a patch to make the :main option to accept a 
> collection of namespaces? 

shadow-build is fine with that, expects it in fact. Not really sure why cljs 
allows multiple :entries per :module but :main only allows one. In shadow-build 
everything is built with regards to modules, eg. the typical build with one 
output-file is just a build with one module. How many you add after that is up 
to you. So all options that apply to modules always apply, there is no seperate 
path for modules/non-modules.

Makes things far easier to reason about IMHO.

YMMV,
/thomas

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: Idea for a reactive and faster alternative to Datascript

2015-12-08 Thread Vianney Stroebel (vibl)
Thanks Colin and Fergal!

My question would be: has anyone tried something similar?

Namely:
- On the one hand, map-based indexes queryable with Datalog and/or Pull 
queries? (I'm currently looking into the Om Next approach of normalizing any 
data structure and making it queryable with Pull queries).

- On the other hand, live queries / auto-updated materialized views with 
Datalog, Pull queries, Specter or Instar? (Using one of the latter two + a 
lense/reactive library like Javelin might do the trick.)

As I wrote in the proposal, I'm not experienced enough in Clojure to hack 
together a proof of concept (with Datalog and Pull queries) yet. I should be in 
a few weeks/months though. Please keep me in the loop if you're considering 
working on it.

Vianney


On Tuesday, December 8, 2015 at 3:03:54 PM UTC+1, Colin Yates wrote:
> I don’t think that logic holds.
> 
> Maybe more specific questions would elicit more response? 
> 
> I don’t have any ‘dog in the game’ here, and maybe it really is a stupid idea 
> (I doubt it! though but haven’t formed an opinion yet!) but the lack of 
> responses doesn’t imply that, merely the cost of people’s attention is quite 
> expensive.
> 
> Fight that discouragement :-).
> 
> > On 8 Dec 2015, at 10:13, 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 and faster alternative to Datascript:
> >> 
> >> https://github.com/tonsky/datascript/issues/132
> >> 
> >> It seems too good to be true on paper so I probably have overlooked things.
> >> 
> >> Comments are welcome!
> >> 
> >> Vianney

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: Idea for a reactive and faster alternative to Datascript

2015-12-08 Thread Colin Yates
I don’t think that logic holds.

Maybe more specific questions would elicit more response? 

I don’t have any ‘dog in the game’ here, and maybe it really is a stupid idea 
(I doubt it! though but haven’t formed an opinion yet!) but the lack of 
responses doesn’t imply that, merely the cost of people’s attention is quite 
expensive.

Fight that discouragement :-).

> On 8 Dec 2015, at 10:13, 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 and faster alternative to Datascript:
>> 
>> https://github.com/tonsky/datascript/issues/132
>> 
>> It seems too good to be true on paper so I probably have overlooked things.
>> 
>> Comments are welcome!
>> 
>> Vianney
> 
> -- 
> 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 
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: Idea for a reactive and faster alternative to Datascript

2015-12-08 Thread Fergal Byrne
Vianney, as one of the github commenters said, fork the repo and try it
out. I'd be happy to see Datascript improved. Please don't interpret
silence as any kind of judgement of your idea.

On Tue, Dec 8, 2015 at 1:21 PM, Vianney Stroebel (vibl)  wrote:

> Ah, never mind.
>
> It's understandable that people don't have the time to test every idea out
> there and don't want to express an opinion until they have done so.
>
> I was so sure that my idea had a big flaw I hadn't seen that I thought it
> would be pointed out by an experienced developer.
>
> Vianney
>
>
> On Tuesday, December 8, 2015 at 2:16:33 PM UTC+1, Zubair Quraishi wrote:
> > 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 and faster alternative to Datascript:
> > > >
> > > > https://github.com/tonsky/datascript/issues/132
> > > >
> > > > It seems too good to be true on paper so I probably have overlooked
> things.
> > > >
> > > > Comments are welcome!
> > > >
> > > > Vianney
> >
> > A shame that noone replied. I have not used Datomic so can not comment
> on it
>
> --
> 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
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>



-- 

Fergal Byrne, Brenter IT @fergbyrne

http://inbits.com - Better Living through Thoughtful Technology
http://ie.linkedin.com/in/fergbyrne/ - https://github.com/fergalbyrne

Founder of Clortex: HTM in Clojure -
https://github.com/nupic-community/clortex
Co-creator @OccupyStartups Time-Bombed Open License http://occupystartups.me

Author, Real Machine Intelligence with Clortex and NuPIC
Read for free or buy the book at https://leanpub.com/realsmartmachines

e:fergalbyrnedub...@gmail.com t:+353 83 4214179
Join the quest for Machine Intelligence at http://numenta.org
Formerly of Adnet edi...@adnet.ie http://www.adnet.ie

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] macros in pure clojurescript

2015-12-08 Thread Rafik NACCACHE
Hi Guys,

I think ClojureScript deserves its own macros and eval.

Any plans to work on this?

Cheers,

Rafik

-- 
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 email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.