Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ShareJS Roadmap
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 42 of 42 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Collin Miller  
View profile  
 More options Jun 15 2012, 7:49 pm
From: Collin Miller <collintmil...@gmail.com>
Date: Fri, 15 Jun 2012 18:49:58 -0500
Local: Fri, Jun 15 2012 7:49 pm
Subject: Re: ShareJS Roadmap

Yeah, I think if you're going to complain at least suggest a substantial
change, like an Erlang server implementation.

"C-" for effort.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sandro Pasquali  
View profile  
 More options Jun 19 2012, 6:55 am
From: Sandro Pasquali <spasqu...@gmail.com>
Date: Tue, 19 Jun 2012 03:55:37 -0700 (PDT)
Local: Tues, Jun 19 2012 6:55 am
Subject: Re: ShareJS Roadmap

Could you expand on that?  For now I'll respond using a level of analysis
equal to yours: I think you've missed the point of my post.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sandro Pasquali  
View profile  
 More options Jun 19 2012, 7:48 am
From: Sandro Pasquali <spasqu...@gmail.com>
Date: Tue, 19 Jun 2012 04:48:40 -0700 (PDT)
Local: Tues, Jun 19 2012 7:48 am
Subject: Re: ShareJS Roadmap

Sigh.  

Let me give you a concrete example. This should help you understand the
very simple point I made. I'm assuming you're actually interested in being
helpful.

Our team is growing. We build diverse products in a very large space which
demands precision and realtime performance. As such, NodeJS has entered
into our conversation, and via that pathway, so has ShareJS.

It is an exciting time for realtime, collaborative applications. With
Joseph, I want this new niche to become a big niche and maybe even a huge
new initiative that will bring even more excitement (and fun, and profit)
to the technology sector
(https://plus.google.com/116904230181415286707/posts/MUVpmkAFSd1)

But collaboration isn't just a buzzword: applied correctly, it can greatly
improve the user experience, team dynamics, strategy, and other business
needs for those of us who are building the software products of the future.

In order to explore these ideas our team constructed a collaborative
editing environment using ShareJS, which we now use internally, and when
ready, will release as a full-fledged (and open) product.

We do not have anyone on our team who writes Coffeescript. Not because we
think it is stupid, or a trend, or we like to complain about the meanies
who innovate. We love those meanies! It is also not because we don't
"understand" CS, or aren't competent or hip enough to grasp indentation.
Just three of many reasons:

1. We don't have anyone who writes CS. So we can't usefully contribute to
CS projects. You (might) be able to grasp, given what we are currently
working on (and which libraries we are using), why that fact is relevant to
this conversation.
2. We are a profit-driven company that does not spend resources uselessly.
A convincing business case has yet to be made to me demonstrating the
benefit of taking my team off of servicing our customers (fixing bugs,
feature care, new products) and learning another way to write code in JS
(amazingly, they are really quite good at writing it the old fashioned way).
3. There is clear and unmistakable preponderance of JS coders vs. CS
coders. This would put costly strain on our recruiting efforts, which may
even put us in the terrible position of not being able to control peer
quality at the source (careful selection of team members) due to a
desperate need for hands.  I do not want to hire anyone for the wrong
reasons, (and neither do you).

Consider truth: a small fraction of a developer's time is spent writing new
code.

Consider why: mature languages offer the lovely benefit of a vast,
existing, codebase which probably already solves that problem. Every time I
hear a CS person argue for DRY it kills me a little inside.

Consider analysis: What is *advantage* of the compile step? What is the
*advantage* of losing existing IDE tools (mainly their debugging features)?
What is the *advantage* of having a CS coder on your staff (it isn't speed
-- that is a red herring. See previous.)? How would you argue for budgeting
the additional training and recruiting costs to your CEO?  What is the
*advantage* of bifurcating your development process (given all that JS code
that powers your existing systems)?

Consider the point: When I want to encourage contributions to my OS JS
project (which this is), why would I make it difficult for JS coders to
contribute? This is a great place to think about what I've written in the
context of *the point of this entire thread* : why is it that this project
has so little activity?  Or better: how can we make it more active? Because
it should be. Because it is brilliant and timely and effervescent.

I'm suggesting not only a substantial change, but an essential change.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Miller  
View profile  
 More options Jun 20 2012, 4:14 am
From: Collin Miller <collintmil...@gmail.com>
Date: Wed, 20 Jun 2012 03:14:21 -0500
Local: Wed, Jun 20 2012 4:14 am
Subject: Re: ShareJS Roadmap

It's pretty terrible to lord your "precious paid-time contributions" over a
free/open source project on the basis of the language used to implement it.

If the authors willing to put in the time are happy with CS, it's going to
be in CS. That's the nature of the beast.

If you want pure-JS, put your money where your damn mouth is and show us
the code.

On Tue, Jun 19, 2012 at 6:48 AM, Sandro Pasquali <spasqu...@gmail.com>wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Miller  
View profile  
 More options Jun 20 2012, 4:51 am
From: Collin Miller <collintmil...@gmail.com>
Date: Wed, 20 Jun 2012 03:51:15 -0500
Local: Wed, Jun 20 2012 4:51 am
Subject: Re: ShareJS Roadmap

If we can't find anybody willing to re-write the whole thing in JS I had
this idea.

fork it and run:

coffee -co lib/ src/

Now you've got a *very clean* pure-js implementation you can work on
without blowing up your cost structure.
And debugging works great.

I will personally rewrite your patches in coffeescript to get them into
ShareJS proper. For free.

I'm 100% serious and extend this offer to anybody else who wants to
contribute but can't be bothered to deal with a little coffee script.

On Wed, Jun 20, 2012 at 3:14 AM, Collin Miller <collintmil...@gmail.com>wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Silva  
View profile  
 More options Jun 20 2012, 5:08 am
From: Nelson Silva <nelson.si...@gmail.com>
Date: Wed, 20 Jun 2012 02:08:50 -0700 (PDT)
Local: Wed, Jun 20 2012 5:08 am
Subject: Re: ShareJS Roadmap

This is getting a bit offtopic so we should probably move this discussion
to a new post.

Still, I don't see any advantage of JS over CS. The trend is polyglot
programming, just use the right tool for the job and JS is becoming the VM
for the web so this is like saying "you should have written it in assembly,
all that C/C++/... stuff is just adding more complexity to the code base".
The motto of CS is CS is just JS so there's nothing stopping you from
extending ShareJS with pure JS and if you want to contribute back to the
project just publish your work somewhere and someone will gladly port it
over to CS (even if it's just a mater of using http://js2coffee.org/)

A port to GWT or Dart is a lot more interesting (specially the latter).
Static typing or type checking along with proper tooling support would make
it worth while and in the end both of these compile down to JS.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kai Chang  
View profile  
 More options Jun 20 2012, 2:56 pm
From: Kai Chang <kai.s.ch...@gmail.com>
Date: Wed, 20 Jun 2012 11:56:38 -0700
Local: Wed, Jun 20 2012 2:56 pm
Subject: Re: ShareJS Roadmap

I'm glad Joseph took the essential component of Wave and created a simple
way for js programmers to get started with realtime OT. It's  a great
project that I was able to deploy on a server to teach a friend some
programming.

The project is well-designed, well-documented, with many examples. How much
better can it get?

I think the roadmap should be whatever Joseph feels inspired to do, he
should do that. Apache Wave has tried all sorts of roadmaps and planning,
and still the Wiki and examples don't hold a candle to ShareJS (despite
being a much older, larger project).

On Wed, Jun 20, 2012 at 2:08 AM, Nelson Silva <nelson.si...@gmail.com>wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominic Tarr  
View profile  
 More options Jun 22 2012, 7:12 am
From: Dominic Tarr <dominic.t...@gmail.com>
Date: Fri, 22 Jun 2012 23:12:53 +1200
Local: Fri, Jun 22 2012 7:12 am
Subject: Re: ShareJS Roadmap
I'm a javascripter, and certainly not a coffee scripter, but I can see
that coffee script is really
nothing but javascript with 'a queer makeover' but most of the
semantics are still the same
on the inside. a competent javascripter could pretty easily hit the
ground running with coffee script.

it would probably be easier to just learn it than to try and get
ShareJs to change.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Claudio Cicali  
View profile  
 More options Jul 29 2012, 9:17 am
From: Claudio Cicali <claudio.cic...@gmail.com>
Date: Sun, 29 Jul 2012 06:17:07 -0700 (PDT)
Local: Sun, Jul 29 2012 9:17 am
Subject: Re: ShareJS Roadmap

Totally agree.

I really hope that this CF hype will die asap.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Silva  
View profile  
 More options Jul 29 2012, 9:03 pm
From: Nelson Silva <nelson.si...@gmail.com>
Date: Sun, 29 Jul 2012 18:03:08 -0700 (PDT)
Local: Sun, Jul 29 2012 9:03 pm
Subject: Re: ShareJS Roadmap

CF?
I still struggle to understand why people are reluctant to embrace polyglot programming... is it because you invest in lots of meaningless Java / .net  certifications? Are you afraid to end up with unmantainable code? Do you still believe in code reuse? I can understand the complexity of a big codebase written in a dynamic language but ShareJS is simple, concise and well tested so CS fits it like a glove. I did a quick port of the text OT stuff to Dart in a couple of days and will try to get the JSON stuff as well so if you have a team available you can probably port it to whatever language you need in no time.
You have OT code from etherpad, apache wave, collide, etc... all freely available as well so just pick whatever you want and get it working. I have ShareJS working on rhinojs on vert.x so i can dev modules in any language... just stop with the CS vs JS debate... i would pick CS any day over JS just because it looks and feels better to me but hell, some people even like php so it's really a mater of opinion.
Joseph did a great job with ShareJS i think it is better because of CS. If you'd rather use JS look at Etherpad Lite, they even have attributes. If you're into GWT you have Apache Wave and collide.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Claudio Cicali  
View profile  
 More options Jul 30 2012, 4:33 am
From: Claudio Cicali <claudio.cic...@gmail.com>
Date: Mon, 30 Jul 2012 01:33:39 -0700 (PDT)
Local: Mon, Jul 30 2012 4:33 am
Subject: Re: ShareJS Roadmap

The problem is that for me, now, CS is not a language worth learning. I'll
never use (at least in a foresable future) CF as the language for ANY of my
project; I'm perfectly at ease with JS, and I don't need any "dumb down"
layers. I need to eventually find good JS programmers to help me out, not
CF. So I'd need to learn it JUST to use someone else's project, even if the
project is in... JS! I know that this applies with any other languages
(using SOLR? Learn Java...), but at least learning a bit of Java makes
sense.

We're going to have to learn a lot more JS in the next couple of years
(EC6, anyone?), writing compatibility layers, addressing browser issues...
do we really need to get our life even more complicated with a level of
(fake) abstraction, with a new syntax, written by same random guy? I don't
think so.

Sorry for the rant.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Naveen Michaud-Agrawal  
View profile  
 More options Jul 30 2012, 1:02 pm
From: Naveen Michaud-Agrawal <naveen.michaudagra...@gmail.com>
Date: Mon, 30 Jul 2012 10:02:23 -0700 (PDT)
Local: Mon, Jul 30 2012 1:02 pm
Subject: Re: ShareJS Roadmap

Unfortunately for you, the web is moving toward polyglot programming with
javascript as the 'runtime' (similar to the JVM as the runtime for Clojure,
Scala and the like). Now that browsers are starting to support Source Maps,
you'll start seeing much more experimentation in client-side browser
languages, not less. Expect to see many more interesting projects that use
languages that haven't even been invented yet.

If you really have an allergy to CS, you can do as Colin mentioned above
and compile ShareJS into JS and use that directly. You'll find the code
generated by CS to be really clean and readable (I was able to port the OT
model to python directly from the CS, and add a tcp connection that could
be used from non-web clients, and this is without much experience in either
JS or CS).

Naveen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Silva  
View profile  
 More options Jul 30 2012, 7:38 pm
From: Nelson Silva <nelson.si...@gmail.com>
Date: Tue, 31 Jul 2012 00:38:50 +0100
Local: Mon, Jul 30 2012 7:38 pm
Subject: Re: ShareJS Roadmap

Come on, CS takes like a couple of minutes to understand. Everyone who uses
it is/should be at ease with JS, it is but a subset to make it more
manageable. JS is very "forgiving" and i really believe you have to be a
ninja to grasp all its quirks.. prototipal inheritance, vars that get
promoted to outer scopes, dozens of different ways to get stuff done,
inconsistent behaviour between browsers, weird type conversions, etc,
etc... if we're stuck with it i really hope we get more of GWT, CS, Dart,
whatever...
Also, there's no need to learn CS to use ShareJS! You can extend it with
pure JS, you can wrap it in jsni and use it in gwt, you can wrap it in an
isolate and use it with Dart, you can run it with v8 and use it with c, c++
whatever, you can run it with rhino and get it on the jvm...
Don't learn JS or Java... learn programming! OO, functional, logical, try a
bit of Scala or haskell for true powerfull type systems, learn C to
understand pointers, try some asm just for fun, learn lisp or smalltalk to
understand where we come from and that the greatest languages have been
here for decades, play with prolog for something different, learn python,
ruby, see how rails and django brought some sense to jee just by keeping it
simple! Try Go, try lua, try Dart... and perhaps in the end you'll feel
like many... so many great languages and we got stuck with JS for the next
couple of years ! Even actionscript its ecma cousin is better...
No dia 30 de Jul de 2012 18:02, "Naveen Michaud-Agrawal" <
naveen.michaudagra...@gmail.com> escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Gentle  
View profile  
 More options Jul 31 2012, 12:33 am
From: Joseph Gentle <jose...@gmail.com>
Date: Tue, 31 Jul 2012 14:33:51 +1000
Local: Tues, Jul 31 2012 12:33 am
Subject: Re: ShareJS Roadmap
If you already know javascript, it takes about 2 hours to learn
coffeescript. Coffeescript introduces (almost) no semantic changes to
javascript. It takes longer to read & understand Javascript: The Good
Parts than it does to learn coffeescript. Its much easier to teach a
good javascript developer coffeescript than it is to teach a fresh
javascript & coffeescript programmer how to write good JS/CS.

But that isn't really why we're arguing here. Zed Shaw says it better
than I can:

"""
Imagine I break software development clients into two camps:
Collaborators and Customers.  Now imagine I then break projects into
two categories of Implementation and Invention.

Collaborators will participate daily and know what's going on because
they are there and will usually pay variable price because of a higher
tolerance of risk. Customers just want something packaged, want it now,
and will only pay a fixed price and if it isn't perfect they'll bitch.

Implementations are things you've done a billion times or that you can
manufacture with a consistent process and have low risk and low
variability. Inventions are done different every time, require creative
thinking, adaptation to randomness and chaos, and generally are riskier
and variable.

In an ideal world, you pair Collaborators with Inventions, and
Customers with Implementations.  The other combinations end in
disasters and you really only find them in the corporate world where
the force of tons of cash can make those bad mixes work anyway.  In the
open source world where Darwin rules, the good projects gravitate
toward Collaborators+Inventions or Customers+Implementations, with the
former more common than the latter.

The reason some people might get upset at you is that you are saying
(or what they hear) is, "I'm a Customer dammit and I want my
Implementation planned with no risk now."  That's ungrateful and
irritating and insults their hard work.
"""
(From http://lua-users.org/lists/lua-l/2007-12/msg00470.html )

ShareJS needs to balance the needs of these two camps. There's a lot
of creative design in ShareJS. But also, it needs to be stable so you
can actually use in your products. If its too planned, contributors
get bored and leave (like me!). But if its too unstable, the project
isn't actually useful.

I feel this struggle constantly in the code. The use of coffeescript
is a concession to creativity and learning - coffeescript is a fun
language to program in, and it makes me feel like a monster stomping
through tokyo. But I also want ShareJS to be stable and not break
between versions. Hence ShareJS has a bajillion lines of unit tests
and CI and whatnot. Unit tests mean ShareJS should never break. But
they're seriously annoying when I want to change the APIs (even
internal ones) because I have >2x as much code to change.

So yes, using coffeescript is a conceit to make the project more fun
to work on. If your developers don't like learning, fork the project,
compile out the coffeescript to javascript then clean it up. The
golden rule of coffeescript is that it maps 1-1 to javascript anyway,
so the JS is surprisingly readable (eg:
https://github.com/josephg/ShareJS/blob/master/webclient/textarea.js
). Its a bit of work maintaining your own fork, but if you've got a
staff I'm sure you can manage it. As a byproduct, you'll learn ShareJS
works internally, which will make hacking on it way easier. I ported a
physics engine (Chipmunk) to javascript at the start of the year and I
understand it _sooo_ much better now than I would have from just
reading the docs or something.

-J

On Mon, Jul 30, 2012 at 6:33 PM, Claudio Cicali


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Claudio Cicali  
View profile  
 More options Jul 31 2012, 3:36 am
From: Claudio Cicali <claudio.cic...@gmail.com>
Date: Tue, 31 Jul 2012 00:36:28 -0700 (PDT)
Local: Tues, Jul 31 2012 3:36 am
Subject: Re: ShareJS Roadmap

Very interesting points indeed, Joseph (and Nelson, of course).

I think I'm gonna lose this angry feel about CS (I keep writing it "CF",
don't know why!).

:)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spasquali  
View profile  
 More options Aug 1 2012, 8:37 pm
From: spasquali <spasqu...@embarkcorp.com>
Date: Wed, 1 Aug 2012 17:37:39 -0700 (PDT)
Local: Wed, Aug 1 2012 8:37 pm
Subject: Re: ShareJS Roadmap

Not sure what is being implied re: Zed. I hope it isn't that "CS developers
are inventors" and "JS developers are implementors".

As always, I am thankful for this project (even in its current form) and am
actively using it.

This conversation is about how to get more collaborators. My minor point,
distilled, is simple: regardless of how easy it is to learn CS, that is
still a cost to be borne by someone, at least in time, possibly in
interest, possibly in actual monetary cost to a company, which would not be
borne if the project was written in JS. All costs are brakes on innovation.
There are simply many more developers for ShareJS to attract without that
cost. CS automatically, dramatically, lowers the project's chances of
attracting contributions. I don't see how this particular analysis can be
argued against on its own (and not for other reasons).

Demonstrating the point: https://github.com/josephg/ShareJS/pull/112

That being said, *of course* I am not making demands, implying that Gentle
is some kind of jerk for wasting my time with this stinking CS.  *Of
course* the project existing, at all, in CS or in FooBarScript or something
else is more important than it not existing.  *Of course* it is so good
that some (but not as many as the fanboys may think...) will learn CS
*solely* to use it. If it needs to be in CS for the core team to stay
interested, of course that is the winning strategy.

Porting to JS is an excellent idea, especially for the pedagogical
implications.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Silva  
View profile  
 More options Aug 2 2012, 6:22 am
From: Nelson Silva <nelson.si...@gmail.com>
Date: Thu, 2 Aug 2012 11:22:24 +0100
Local: Thurs, Aug 2 2012 6:22 am
Subject: Re: ShareJS Roadmap

I guess what's missing in your analysis is the fun factor. When you invest
your free time on an open source project you need it to be fun. Learning a
new language increases the fun factor and the simplicity of CS and its
overall look and feel really adds to that. I understand Joseph and i
believe he won't be working much more on ShareJS. When you start growing
your project and community you have to start worrying about stability,
performance, etc... you have to please users and make a commitment and
that's no longer fun! It's like Zed put it... there are
innovators/entrepeneurs who love playing with new ideas but after a while
they get bored and start looking for new toys... it is up to implementers
to take care of the boring stuff and turn the prototype into a product.
If you feel that a JS port is the way to go do it! That's a very simple
task and like you said there are lots of JS developers (although i'd rather
have one Joseph than a dozen others :p).
I've been feeding this discussion cause i'm on holidays but i think that if
all the time we've "lost" here was put to good use you'd already have you
JS "port" up and running.
I'm working on a Dart port and will get back to it asap. It's a great
learning experience which i recommend to anyone interested in ShareJS.
No dia 02/08/2012 01:37, "spasquali" <spasqu...@embarkcorp.com> escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »