links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Michael Shook, member since May 27, 2004
.
Search Everyone: "data",

Top "data" experts: socrtwo, dataentryoutsorcing, outsourcingdata, bobodod, shane_john, jackiege,

Groups about "data": data on the net, Data recovery, Data Recovery Software, Linux Data Recovery RDS, Data Recovery Software, Novell Data Recovery Software,

1 - 10 of 10   Watch mshook
 

JSON ... it's the intersection of all modern programming languages. All languages have some sense of data, and structures of data. They all have simple values like number strings, and booleans. They all have some sense of a sequence of values. ... Every language has some sense of a collection of named values; it might be an object, or a record, or a struct, or a hash, or a property list, or something. All languages have these, these are universal ideas.

... But they all have the same idea about what the data looks like, and JSON has the thing that's common to everything. By being at the intersection, it turns out to be the thing that everybody can agree on, so it's really easy to pass data back and forth.

Prior data interchange formats tended to try to be the union of all the languages, and that turns out to be horrendously complex, and very difficult to deal with. JSON, by being so simple, actually became really easy to use.

by mshook 2009-08-15 22:59 via · json · popular · history · lisp · runoff · markup · very · good · video · why · language · minimal · jsont · xml · critique · html · data · tree · javascript
http://developer.yahoo.com/yui/theater/video.php?v=crockford-json - cached - mail it - history
Answer:
  1. http://code.google.com/apis/visualization/documentation/reference.html#GadgetHelper
    • Method: createQueryFromPrefs(prefs)
    • Return Value: google.visualization.Query
    • Description: Static. Create a new instance of google.visualization.Query and set its properties according to values from the gadget preferences. The type of parameter prefs is _IG_Prefs
      1. Preference _table_query_url is used to set the Query data source URL.
      2. Preference _table_query_refresh_interval is used to set the Query refresh interval (in seconds).
  2. Don't know
by mshook 2009-06-21 22:08 gadget · url · data · source · datasource · javascript · howto · question · anwer
http://mshook.appspot.com/z/d4m.htm?/mshook/21+june+2009+a - cached - mail it - history
google.visualization.Query.setResponse({
    version: '0.6',
    status: 'ok',
    sig: '202289222',
    table: {
        cols: [{
            id: 'A',
            label: 'Name',
            type: 'string',
            pattern: ''
        },
        {
            id: 'B',
            label: 'Value',
            type: 'number',
            pattern: '#0.###############'
        }],
        rows: [{
            c: [{
                v: 'One'
            },
            {
                v: 1.0,
                f: '1'
            }]
        },
        {
            c: [{
                v: 'Ten'
            },
            {
                v: 10.0,
                f: '10'
            }]
        }]
    }
});

( pretty printed by http://jsbeautifier.org/ )

by mshook 2009-06-20 00:23 javascript · pp · google · gadget · visualization · api · query · code · how · spreadsheet · data · source · datasource · json
http://spreadsheets.google.com/tq?key=rYdmpMlO1sGo3OBxv6SusWA&range=A1:B3&gid=0 - cached - mail it - history
Here's an example: http://spreadsheets.google.com/tq?key=rYdmpMlO1sGo3OBxv6SusWA&range=A1:B3&gid=0 and the spreadsheet it came from: http://spreadsheets.google.com/ccc?key=rYdmpMlO1sGo3OBxv6SusWA&hl=en

google.visualization.Query

Represents a query that is sent to a data source.

Constructor

google.visualization.Query(dataSourceUrl, opt_options)

Parameters

dataSourceUrl
[Required, String] URL to send the query to. The data source should expose this URL in some way; for example, to get the dataSourceUrl from a Google Spreadsheet, do the following:
  1. In your spreadsheet, select the range of cells.
  2. Select 'Insert' and then 'Gadget' from the menu.
  3. Open the gadget's menu by clicking on the top-right selector.
  4. Select menu option 'Get data source URL'.
by mshook 2009-06-20 00:05 google · gadget · spreadsheet · javascript · json · callback · visualization · api · howto · code · data · source · datasource
http://code.google.com/apis/visualization/documentation/reference.html - cached - mail it - history
<script type="text/javascript" src="http://willarson.com/code/sparklines/processing.js"></script>
<script type="text/javascript" src="http://willarson.com/code/sparklines/sparklines.js"></script>
<script>
var setup_sparklines = function() {
  var opts = {};
  var data = [100,500,300,200,400,500,400,400,100,200];
  new Sparkline('simple1', data).draw();
};
</script>

<p> A simple sparkline. </p>
<pre><code>var data = [100,500,300,200,400,500,400,400,100,200];
new Sparkline('simple1', data).draw();</code></pre>
<canvas width="300" height="50" id="simple1" ></canvas>
<script>
setup_sparklines();
</script>
http://willarson.com/code/sparklines/sparklines.html
by mshook 2009-06-10 11:44 experiment · processing · graph · data · visualization · 10 · june · 2009 · a · javascript · b
http://mshook.appspot.com/z/d4m.htm?/mshook/10+june+2009+b - cached - mail it - history

A simple sparkline.

var data = [100,500,300,200,400,500,400,400,100,200];
new Sparkline('simple1', data).draw();
by mshook 2009-06-10 11:18 experiment · processing · graph · data · visualization · 10 · june · 2009 · a · javascript
http://mshook.appspot.com/z/d4m.htm?/mshook/10+june+2009+a - cached - mail it - history
"Section 4: MVC and DCI - Two paradigms for readable code. The first paradigm, the Model-View-Controller is included here for completeness. The MVC paradigm separates the parts of a program that are responsible for representing the information in the system and the parts that are responsible for interaction with the user. DCI is the paradigm underlying BabyIDE1. The goal of the paradigm is to minimize any gap that might exist between the programmer’s mental model of her program and the program that is actually stored and executed in the computer. In particular, it concretizes how the system realizes system operations as networks of communicating objects"
by mshook 2009-03-22 15:26 mvc · paradigm · model · view · control · data · context · interaction · definition · oo · theory
http://folk.uio.no/trygver/2008/commonsense.pdf - cached - mail it - history
Mentioned: Silverlight, ManyEyes, Notable Hans Rosling presentation at TED, MediaStorm
by mshook 2008-05-31 11:53 itconversations · nyt · judell · data · visualization · news · ibm · atomization · narrative · interesting
http://itc.conversationsnetwork.org/shows/detail3659.html - cached - mail it - history
"About why the properties of XML and RDF are really useful and why new formats like JSON might need to learn some of the lessons that they embody" "But if one is going to be serious about creating a data modelling language, then one should avoid making mistakes that are attributable to the idea that string have universal meaning, as if the whole world spoke english, and as if english were not ambigou"
by mshook 2007-08-09 11:18 via · rdf · popular · json · critique · comparison · see · comments · data · model · xml
http://blogs.sun.com/bblfish/entry/the_limitations_of_json - cached - mail it - history
1 - 10 of 10  
Related Tags
 
- exclude ~ optional + require
Add Dates