Interesting about JSON license...

90 views
Skip to first unread message

Massimo Di Pierro

unread,
Jan 30, 2013, 12:52:04 AM1/30/13
to web...@googlegroups.com

Bruno Rocha

unread,
Jan 30, 2013, 2:32:38 AM1/30/13
to web...@googlegroups.com
“The Software shall be used for Good, not Evil.”

I like it! we should adopt it in web2py. The problem is to difference what is "good" from what is "Evil" so I think this license has no meaning.

Angelo Compagnucci

unread,
Jan 30, 2013, 5:31:15 AM1/30/13
to web...@googlegroups.com
Please see in Debian the software Douglas Crockford has polluted with that clause!


Very sad ...


2013/1/30 Bruno Rocha <rocha...@gmail.com>
“The Software shall be used for Good, not Evil.”

I like it! we should adopt it in web2py. The problem is to difference what is "good" from what is "Evil" so I think this license has no meaning.

--
 
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Profile: http://it.linkedin.com/in/compagnucciangelo

Philip Kilner

unread,
Jan 30, 2013, 12:45:04 PM1/30/13
to web...@googlegroups.com, Angelo Compagnucci
Hi Angelo,

On 30/01/13 10:31, Angelo Compagnucci wrote:
> Please see in Debian the software Douglas Crockford has polluted with
> that clause!
>
> http://codesearch.debian.net/search?q=The+Software+shall+be+used+for+Good%2C+not+Evil
>
> Very sad ...
>

I agree, but this: -

http://dev.hasenj.org/post/3272592502

...made me laugh!

:-)


--

Regards,

PhilK


'a bell is a cup...until it is struck'

Alan Etkin

unread,
Jan 30, 2013, 2:15:42 PM1/30/13
to web...@googlegroups.com
What happens with the use of the JSON format by web2py?
Are there any legal issues with implementing JSON (or third party tools?)

(other that using it for evil, of course)

Massimo Di Pierro

unread,
Jan 30, 2013, 3:18:52 PM1/30/13
to web...@googlegroups.com
I do not think this is a serious issue. 
This (http://timelessrepo.com/json-isnt-a-javascript-subset) is a more serious issue which we should fix.

Alan Etkin

unread,
Jan 30, 2013, 4:05:15 PM1/30/13
to web...@googlegroups.com
Oops. It's the first time I see this.

So what to do about that? Is web2py going to do in-the-middle replacement?. Doesn't simplejson handles this?

Also, according to other articles, json should be always encloesed by array or object literal. The python json libraries are not that restrictive.

Massimo Di Pierro

unread,
Jan 30, 2013, 8:04:37 PM1/30/13
to web...@googlegroups.com
I do not think any of the existing libraries handle it. One option is fixed in simplejson and submit a patch to the authors. Another option is to fix in gluon.serializers. A third option is to fix in the jsonp view (as the article suggests).

Alan Etkin

unread,
Jan 31, 2013, 6:09:26 AM1/31/13
to web...@googlegroups.com
I do not think any of the existing libraries handle it. One option is fixed in simplejson and submit a patch to the authors. Another option is to fix in gluon.serializers. A third option is to fix in the jsonp view (as the article suggests).

The best option would be to have this fixed by simplejson/json, however, I don't think they will accept it, because this is not a specific json encode/decode issue, unless they want to add the feature to catch the bad javascript. I think web2py should handle this instead.

Wouldn't be better to prevent users from using those characters in json input? (not a rhetorical question)

Alan Etkin

unread,
Jan 31, 2013, 6:39:40 AM1/31/13
to web...@googlegroups.com
The best option would be to have this fixed by simplejson/json, ...
 
Reply all
Reply to author
Forward
0 new messages