Re: [ClojureScript] Re: [ANN] kabel 0.1.0 release

2015-12-26 Thread Christian Weilbach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26.12.2015 00:51, Jethro Kuan Sheng Yuan wrote:
> Have you seen castra before? Seems like both are trying to achieve
> the same objective.
> 

No, I haven't seen it before. Thanks for pointing it out. I probably
haven't communicated the objective of kabel clearly then, as castra is
on what I consider the opposite of the spectrum of what kabel is
supposed to be.

castra, to my current understanding, models a high-level RPC mechanism
over a REST API and tries to make the connection between server and an
explicit web-client easy by providing the necessary infrastructure and
syntactic abstractions with macros.
On the other hand I tried to break the concept of a connection down to
the minimum of a bidirectional wire (as opposed to a single core.async
channel, which does not have wire semantics, e.g. latency). Building a
wire then can be done in a platform-neutral manner with two core.async
channels. The library is focused on providing this single abstraction
and composes in a ring-like fashion out of plugging wires together.
There is no distinction between server and client, except that
browsers cannot open ports, but this is not baked in the design and
could change with WebRTC for instance. You can also for example
connect to another peer from the JVM in exactly the same way as a
browser would do, which is what I am doing in replikativ. (1)

kabel provides little convenience atm., e.g. no authentication, but
decouples different middlewares by messages as values similar to
Erlang, so all kind of convenience functionality can be implemented
with the same wire "pattern"/abstraction and can be stacked together
in a decoupled fashion.

Does this distinction make sense to you?

Christian

(1) https://github.com/replikativ/replikativ/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWftnWAAoJEKel+aujRZMkBFwIAIO1romV3n7IsIO9QkfMoxzn
8+f/jyJUYflDrk5e71izN3ZjsyhrY3McXPkeA+u12KJrJghl5ow279pkzSlkcFQx
zkKlf33XcTkN/FZHCWINJH+TkN7b7hf+OZHQQvQ6hRAUkeX1jIyX/JawhlchGV3F
KU0bsZbqVZ5V/1JjNmIdABsSfQxhic+hhdFuRsvMlfqglD5KsCXde+Y1H8v21zFK
CDytK1d0Jcn8Ge6Bf3Dqzf2fKqIPdo143pvdAmOsxBd1WE21mX8KMorKmZzjBvJi
wP9gQPZ60wUM/jZTWY0FVi6PTGIVD8ajcEX4JLxUHA/iROWLEmblJR4VeAEgJCs=
=28UU
-END PGP SIGNATURE-

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] Re: [ANN] kabel 0.1.0 release

2015-12-26 Thread Jethro Kuan Sheng Yuan
Interesting, I think I kinda grok what you're saying. I'll keep tabs on this, 
though it's unlikely that I'll have to work on this level of abstraction (:

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] Re: [ANN] kabel 0.1.0 release

2015-12-25 Thread Christian Weilbach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 25.12.2015 08:18, Zubair Quraishi wrote:
> I like the idea of this. Isn't there anything similar already in
> Cljs and Clojure though?

Do you know any?

I sadly do not, one and a half years ago when I started implementing
the communication concept in replikativ I had a close look at both
sente and chord, but they make a strong distinction between server and
client (e.g. with AJAX fallbacks) and add more convenience infrastructur
e.

I added another section to the README on how the peer itself has a
core.async pub-sub core. This probably needs a full example at some poin
t.


Christian
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWfamOAAoJEKel+aujRZMkpRMH/RvcvCDCjWY1/hc4iZkP12/j
3v7gSgv2j3mrmdcrJnI2l0k4uC+aiGjTdMdQuqaHLBYmtbvl2rVZ+THmQQeyjxzO
bScp/b7nSRhEgoW8gPzD+hdzQYlq0WWn5qELnHAis1x2T8/bPdQlLdP5iWdsQtUM
TZOamHg9Q12a0Q9BatmIjAY/BhHQbnA5+D3U5a0l3t0qPyA3VjW9ofpDBOY/Hl1N
Geqr0XpKmeRcN4NI6gErXps9YfD4o6xTBvncy2WwOFJSC2aLsS1/nTTCBijjJJ4F
+dGak/i4+jKbR1QUoXXUTl5ARBXPZSG4F1OdOZIuiHqeXgMMfCjtqPsWQqRpcUQ=
=YQuo
-END PGP SIGNATURE-

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] Re: [ANN] kabel 0.1.0 release

2015-12-25 Thread Jethro Kuan Sheng Yuan
Have you seen castra before? Seems like both are trying to achieve the same 
objective.

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] kabel 0.1.0 release

2015-12-24 Thread Zubair Quraishi
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 kabel (German
> for wire or cable), a websocket library that is used by several of my
> projects. From the REAMDE:
> 
> kabel is a minimal, modern connection library modelling a
> bidirectional wire to pass clojure values between endpoints. Peers in
> Clojure and ClojureScript are symmetric and hence allow symmetric
> cross-platform implementations. At the moment web-sockets are used and
> transit is the serialization format.
> 
> https://github.com/replikativ/kabel
> 
> I hope it is useful for others as well. Feedback is appreciated :)
> 
> Christian
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.22 (GNU/Linux)
> 
> iQEcBAEBAgAGBQJWfCVxAAoJEKel+aujRZMk5g4H/0Wp84eGotnBwQItb17NsGc+
> /Vt5HiG9nEO1FriylPMkoGgnwhdYDKs7BXhJJGPB9JIe2adJKZFQgL9Wpx0WiLC/
> borxP7LcwmY1sbFquy+AZ5+kl6PSqDyM0eolfKuL+kRlXgaFeMhfopZ3562yLf71
> FjQmn2NS+h+i0OP+obSjl+dDJFE8ndv7lJYgWXWklnDZST9ctVNVD+kyY0nXXfo3
> db5wcGvtU0MBhngzDMyhzrJtgXp4RqvcIMICesN63osFkfADzKWo2VKV/MSxPNk1
> ZsYB89OxBzWuj6fmIEBZQ+v9HDTbExiVr467W0N2DL67YcjqyAzKrDOERu1MaCc=
> =y9hg
> -END PGP SIGNATURE-

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] kabel 0.1.0 release

2015-12-24 Thread Christian Weilbach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I am happy to announce the first independent release of kabel (German
for wire or cable), a websocket library that is used by several of my
projects. From the REAMDE:

kabel is a minimal, modern connection library modelling a
bidirectional wire to pass clojure values between endpoints. Peers in
Clojure and ClojureScript are symmetric and hence allow symmetric
cross-platform implementations. At the moment web-sockets are used and
transit is the serialization format.

https://github.com/replikativ/kabel

I hope it is useful for others as well. Feedback is appreciated :)

Christian
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWfCVxAAoJEKel+aujRZMk5g4H/0Wp84eGotnBwQItb17NsGc+
/Vt5HiG9nEO1FriylPMkoGgnwhdYDKs7BXhJJGPB9JIe2adJKZFQgL9Wpx0WiLC/
borxP7LcwmY1sbFquy+AZ5+kl6PSqDyM0eolfKuL+kRlXgaFeMhfopZ3562yLf71
FjQmn2NS+h+i0OP+obSjl+dDJFE8ndv7lJYgWXWklnDZST9ctVNVD+kyY0nXXfo3
db5wcGvtU0MBhngzDMyhzrJtgXp4RqvcIMICesN63osFkfADzKWo2VKV/MSxPNk1
ZsYB89OxBzWuj6fmIEBZQ+v9HDTbExiVr467W0N2DL67YcjqyAzKrDOERu1MaCc=
=y9hg
-END PGP SIGNATURE-

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ClojureScript] [ANN] kabel 0.1.0 release

2015-12-24 Thread Mimmo Cosenza
nice!
thanks
mimmo

> On 24 Dec 2015, at 18:03, Christian Weilbach  wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> 
> I am happy to announce the first independent release of kabel (German
> for wire or cable), a websocket library that is used by several of my
> projects. From the REAMDE:
> 
> kabel is a minimal, modern connection library modelling a
> bidirectional wire to pass clojure values between endpoints. Peers in
> Clojure and ClojureScript are symmetric and hence allow symmetric
> cross-platform implementations. At the moment web-sockets are used and
> transit is the serialization format.
> 
> https://github.com/replikativ/kabel
> 
> I hope it is useful for others as well. Feedback is appreciated :)
> 
> Christian
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.22 (GNU/Linux)
> 
> iQEcBAEBAgAGBQJWfCVxAAoJEKel+aujRZMk5g4H/0Wp84eGotnBwQItb17NsGc+
> /Vt5HiG9nEO1FriylPMkoGgnwhdYDKs7BXhJJGPB9JIe2adJKZFQgL9Wpx0WiLC/
> borxP7LcwmY1sbFquy+AZ5+kl6PSqDyM0eolfKuL+kRlXgaFeMhfopZ3562yLf71
> FjQmn2NS+h+i0OP+obSjl+dDJFE8ndv7lJYgWXWklnDZST9ctVNVD+kyY0nXXfo3
> db5wcGvtU0MBhngzDMyhzrJtgXp4RqvcIMICesN63osFkfADzKWo2VKV/MSxPNk1
> ZsYB89OxBzWuj6fmIEBZQ+v9HDTbExiVr467W0N2DL67YcjqyAzKrDOERu1MaCc=
> =y9hg
> -END PGP SIGNATURE-
> 
> -- 
> 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 clojurescr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.

-- 
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 post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.