Re: [E-devel] JSON

2016-07-09 Thread David Seikel
On Sat, 9 Jul 2016 20:59:14 -0400 Michael Blumenkrantz
 wrote:

> On Sat, 09 Jul 2016 22:29:20 +
> Andrew Williams  wrote:
> 
> > Hi all,
> > 
> > So it's a web world and APIs are cool right - and it's all json or
> > XML. I can't find anywhere (outside of the is bindings) where we
> > use json...
> > 
> > Assuming I need to read such an API are there any preferences or
> > advice for how (library, string parsing) it should be done in an
> > efl app to best fit with how we do things?
> > 
> > Thanks :)
> > Andrew
> 
> 
> Azy has some support for this. Example:
> 
> https://git.enlightenment.org/devs/discomfitor/maelstrom.git/tree/src/tests/azy/identi.ca

Azy is something I've got on my TODO list to try out, along with
Esskyuehl.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] JSON

2016-07-09 Thread David Seikel
On Sun, 10 Jul 2016 10:34:20 +1000 David Seikel 
wrote:

> On Sat, 09 Jul 2016 22:29:20 + Andrew Williams
>  wrote:
> 
> > So it's a web world and APIs are cool right - and it's all json or
> > XML. I can't find anywhere (outside of the is bindings) where we use
> > json...
> > 
> > Assuming I need to read such an API are there any preferences or
> > advice for how (library, string parsing) it should be done in an efl
> > app to best fit with how we do things?
> 
> In my big 3D virtual world application, I intend on supporting XML,
> JSON, and all those other legacy bloated things by inventing some sort
> of lean binary protocol, and having the others be wrappers around
> that.  There's a number of ways I could do that, but it's early days,
> so no start on it yet.
> 
> I intend to try a few things, and test their performance.  One of the
> contenders is to use EET as the low level binary format.  Another is
> to just use ordinary compression.
> 
> While as you say, all the cool kids are using bloated, text based,
> "human readable", file and network protocols, coz it makes it easy for
> developers to read and write it.  99.999% of the time it's computers
> that have to spend extra resources dealing with these hard for
> computers to read bloated protocols, humans never get a look in, all
> they do is take up more space and slow things down.  So in my new
> virtual world, those few developers that actually think they need to
> use bloated protocols to make things easier for them, can supply all
> the extra CPU, RAM, and network resources they want to waste, and the
> rest of us can enjoy proper lean binary protocols.  The dumb
> developers can run their own bloated legacy wrappers on their own
> hardware when they actually need it, keep that crap out of our faces
> the rest of the time.
> 
> As for dealing with web based JSON for now, I have a Lua script around
> here somewhere that used some library or other, I'd be using that, if
> I could find it again.  I'll have another look later today.

http://fperrad.github.io/lua-Spore/

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] JSON

2016-07-09 Thread Michael Blumenkrantz
On Sat, 09 Jul 2016 22:29:20 +
Andrew Williams  wrote:

> Hi all,
> 
> So it's a web world and APIs are cool right - and it's all json or XML.
> I can't find anywhere (outside of the is bindings) where we use json...
> 
> Assuming I need to read such an API are there any preferences or advice for
> how (library, string parsing) it should be done in an efl app to best fit
> with how we do things?
> 
> Thanks :)
> Andrew


Azy has some support for this. Example:

https://git.enlightenment.org/devs/discomfitor/maelstrom.git/tree/src/tests/azy/identi.ca

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] JSON

2016-07-09 Thread David Seikel
On Sat, 09 Jul 2016 22:29:20 + Andrew Williams
 wrote:

> So it's a web world and APIs are cool right - and it's all json or
> XML. I can't find anywhere (outside of the is bindings) where we use
> json...
> 
> Assuming I need to read such an API are there any preferences or
> advice for how (library, string parsing) it should be done in an efl
> app to best fit with how we do things?

In my big 3D virtual world application, I intend on supporting XML,
JSON, and all those other legacy bloated things by inventing some sort
of lean binary protocol, and having the others be wrappers around
that.  There's a number of ways I could do that, but it's early days,
so no start on it yet.

I intend to try a few things, and test their performance.  One of the
contenders is to use EET as the low level binary format.  Another is
to just use ordinary compression.

While as you say, all the cool kids are using bloated, text based,
"human readable", file and network protocols, coz it makes it easy for
developers to read and write it.  99.999% of the time it's computers
that have to spend extra resources dealing with these hard for
computers to read bloated protocols, humans never get a look in, all
they do is take up more space and slow things down.  So in my new
virtual world, those few developers that actually think they need to
use bloated protocols to make things easier for them, can supply all
the extra CPU, RAM, and network resources they want to waste, and the
rest of us can enjoy proper lean binary protocols.  The dumb developers
can run their own bloated legacy wrappers on their own hardware when
they actually need it, keep that crap out of our faces the rest of the
time.

As for dealing with web based JSON for now, I have a Lua script around
here somewhere that used some library or other, I'd be using that, if I
could find it again.  I'll have another look later today.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] JSON

2016-07-09 Thread Andrew Williams
Hi all,

So it's a web world and APIs are cool right - and it's all json or XML.
I can't find anywhere (outside of the is bindings) where we use json...

Assuming I need to read such an API are there any preferences or advice for
how (library, string parsing) it should be done in an efl app to best fit
with how we do things?

Thanks :)
Andrew
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Kakaw

2016-07-09 Thread Al Poole
Testing, one, two, three...

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel