shuffle things around a bit

This commit is contained in:
Kenneth Reitz
2012-02-21 01:15:00 -05:00
parent 166c5a97fe
commit add958b068
23976 changed files with 0 additions and 0 deletions
@@ -0,0 +1 @@
[{"user_id": 26905, "stars": [], "topic_id": 35700, "date_created": 1305666393.8128381, "message": "Hello everybody, I put a project in hithub now, to help organize a project in javascript. Hope you enjoy;)", "group_id": 160, "id": 1088275}, {"user_id": 26905, "stars": [], "topic_id": 35700, "date_created": 1305666402.9828961, "message": "https://github.com/leoberdu/JsProject", "group_id": 160, "id": 1088278}, {"user_id": 167, "stars": [], "topic_id": 35700, "date_created": 1305686898.148953, "message": "your README is not comprehensive.", "group_id": 160, "id": 1091893}]
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 8327, "stars": [{"date_created": 1297629266.3513701, "user_id": 3946}, {"date_created": 1297662234.946178, "user_id": 960}], "topic_id": 4915, "date_created": 1297614980.086339, "message": "https://gist.github.com/824729 Suggestions & additions welcome!", "group_id": 160, "id": 91789}]
@@ -0,0 +1 @@
[{"user_id": 3210, "stars": [{"date_created": 1298584361.1951909, "user_id": 12973}, {"date_created": 1299729834.3809249, "user_id": 7862}], "topic_id": 8507, "date_created": 1298504000.729233, "message": "Is it possible or does it make sense to initialize backbone models from the DOM?", "group_id": 160, "id": 193275}, {"user_id": 1101, "stars": [], "topic_id": 8507, "date_created": 1298504374.0098009, "message": "+++ to this question.\nPerhaps you are loading the page with data in DOM. User sees the content right away. But the content isn't yet \u201cenhanced\u201d with interaction. Then you serialize the content to JSON and add interaction, synchronization etc. to it with backbone.", "group_id": 160, "id": 193345}, {"user_id": 1101, "stars": [], "topic_id": 8507, "date_created": 1298504463.6939139, "message": "I am still thinking about actual implementation and if it makes much sense really. But \u201cprogressive enhancement\u201d behind this and the availability of the content for javascript-off clients sounds like a good enough reason for a bit more (or maybe not so little bit) complexity to me.", "group_id": 160, "id": 193355}, {"user_id": 3210, "stars": [{"date_created": 1300844901.6084499, "user_id": 942}], "topic_id": 8507, "date_created": 1298504542.3855181, "message": "And my backbone specific question: http://stackoverflow.com/questions/5098719/does-it-make-sense-to-initialize-models-from-the-dom-in-backbone-js.", "group_id": 160, "id": 193370}, {"user_id": 3210, "stars": [{"date_created": 1300844899.588141, "user_id": 942}], "topic_id": 8507, "date_created": 1298504519.225431, "message": "Yeah that's where I am stuck. I am finding this question on stacko somewhat helpful: http://stackoverflow.com/questions/3926838/best-way-to-manage-and-initialize-js-objects-that-represent-dom-elements.", "group_id": 160, "id": 193365}, {"user_id": 6648, "stars": [], "topic_id": 8507, "date_created": 1298507864.4788511, "message": "I know it's a *little* bit redundant but you can also just dump the relevant json into the dom when you're rendering it: http://documentcloud.github.com/backbone/#FAQ-bootstrap", "group_id": 160, "id": 194175}, {"user_id": 3210, "stars": [], "topic_id": 8507, "date_created": 1298508432.67049, "message": "@poswald I kind of like that solution.", "group_id": 160, "id": 194321}, {"user_id": 3795, "stars": [{"date_created": 1299729842.871932, "user_id": 7862}], "topic_id": 8507, "date_created": 1299715850.85604, "message": "We just dump a `raw to_json` of our models into global vars when rendering the page from Rails, then initiate/populate the collection on page load.", "group_id": 160, "id": 309494}]
@@ -0,0 +1 @@
[{"user_id": 1101, "stars": [], "topic_id": 44988, "date_created": 1315412442.3993831, "message": "Ouch, parser messed some whitespace :( Sorry.", "group_id": 160, "id": 2068718}, {"user_id": 1101, "stars": [], "topic_id": 44988, "date_created": 1315412345.7009261, "message": "There is an app I need to develop which runs as a popup in windows web wrapper. The whole required structure of data <-> interactivity calls for the use of Backbone. However, there is no RESTful API or anything webby for that matter. There is a certain `window.external` object, that has a method to retrieve data (as string, needs custom parsing) and a method to push the data (again, as custom ugly string).\n\nSo, let's say that to retrieve the data that can then be parsed to become set of models I will call: `var models = window.external.pull()` and in order to save models, I'd call `window.external.push( models.customToString() );`", "group_id": 160, "id": 2068708}, {"user_id": 1101, "stars": [], "topic_id": 44988, "date_created": 1315412446.3819089, "message": "My question is how would I rewrite the Backbone.sync in order to let Model and Collection to still use the Backbone API?", "group_id": 160, "id": 2068719}, {"user_id": 23244, "stars": [], "topic_id": 44988, "date_created": 1315454798.247309, "message": "I'd make special Model and Collection subclasses and check for those in Backbone.sync to select code path.", "group_id": 160, "id": 2073364}, {"user_id": 23244, "stars": [], "topic_id": 44988, "date_created": 1315454930.2494061, "message": "The actual syncing should be pretty straightforward. Construct the ugly string and do the save/fetch and then call the success or error functions accordingly", "group_id": 160, "id": 2073370}, {"user_id": 41744, "stars": [], "topic_id": 44988, "date_created": 1317509297.2043729, "message": "Here's another approach I'm considering for a similar need I have: make base \"classes\" of Model and Collection and override their sync to delegate to some facade(s), those facades can then decide how to adapt the CRUD invocations to the service tier per model type and/or model type + collection type; I havent anything working to show yet, though; 'hth", "group_id": 160, "id": 2257050}]
@@ -0,0 +1 @@
[{"user_id": 1123, "stars": [], "topic_id": 9166, "date_created": 1298675214.214294, "message": "Especially WRT their respective compilation steps.", "group_id": 160, "id": 211983}, {"user_id": 1123, "stars": [], "topic_id": 9166, "date_created": 1298675184.2509911, "message": "Anyone know of any difficulties combining Sproutcore and Coffeescript?", "group_id": 160, "id": 211981}, {"user_id": 16058, "stars": [], "topic_id": 9166, "date_created": 1298724105.968292, "message": "Just set up your editor to compile CoffeeScript on save. coffee-mode for Emacs can do this. Or, better, fork Abbot (their build tool: https://github.com/sproutcore/abbot) and add CoffeeScript support.", "group_id": 160, "id": 213918}, {"user_id": 22019, "stars": [], "topic_id": 9166, "date_created": 1305922331.2540679, "message": "Working great for me. I wrote up a couple tips for getting started: erikbryn.com/post/5671454066/using-coffeescript-with-sproutcore", "group_id": 160, "id": 1129840}, {"user_id": 4935, "stars": [{"date_created": 1306737795.2893591, "user_id": 16058}], "topic_id": 9166, "date_created": 1306007179.9449739, "message": "CoffeeCore?", "group_id": 160, "id": 1136196}, {"user_id": 9457, "stars": [], "topic_id": 9166, "date_created": 1311837112.5228741, "message": "That blog post \"using coffeescript with sproutcore\" lead to a dead end for me. I believe the sproutcore-coffeescript gem does not work correctly with the newer dev version of SproutCore.", "group_id": 160, "id": 1737288}, {"user_id": 9457, "stars": [], "topic_id": 9166, "date_created": 1311837287.452765, "message": "I found a very easy way to get the CoffeeScript working with SproutCore. First install CoffeeScript then run `coffee -wcb **/*.coffee` in your app directory. That command will watch for changes to *.coffee files and automatically compile them to js when they are modified. The only problem is that it does not recognize new *.coffee files and I have to manually restart the coffee watcher process.", "group_id": 160, "id": 1737296}]
@@ -0,0 +1 @@
[{"user_id": 3946, "stars": [], "topic_id": 4493, "date_created": 1297495526.7957079, "message": "https://github.com/sshirokov/Convorse -- Started it only recently, and it barely functions, but it can make all the GET requests except for the /live stream, and still doesn't know how to process parameters to POST", "group_id": 160, "id": 86372}, {"user_id": 3946, "stars": [], "topic_id": 4493, "date_created": 1297495547.671279, "message": "Figured I'd post it here, for not amazingly good reason.", "group_id": 160, "id": 86373}, {"user_id": 3946, "stars": [], "topic_id": 4493, "date_created": 1297495613.6746459, "message": "It's a largely uncommented hairball at the moment, and I've only tested it in node v0.4.0 built from the github master, so there's also that.", "group_id": 160, "id": 86376}]
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 15579, "stars": [], "topic_id": 17679, "date_created": 1302126278.4346681, "message": "ah, found this: http://caniuse.com/cors", "group_id": 160, "id": 565637}, {"user_id": 15579, "stars": [], "topic_id": 17679, "date_created": 1302125956.4750719, "message": "Anyone know how modern browsers deal with Cross-Origin-Requests (http://www.w3.org/TR/access-control/)? E.g. can I use them for an API if i only care about Chrome, Safari, mobile Safari, and possibly Firefox?", "group_id": 160, "id": 565605}, {"user_id": 1363, "stars": [], "topic_id": 17679, "date_created": 1302146403.8754511, "message": "Opera, what's up with that?", "group_id": 160, "id": 570075}, {"user_id": 26068, "stars": [{"date_created": 1304565604.267525, "user_id": 20173}], "topic_id": 17679, "date_created": 1302198642.8293359, "message": "We do a lot of cross domain communication at work and my co-worker Alex Sexton has provided a lot of info on what is and isn't possible for cross domain communication. Here is a link to a video as well as his slides which are really useful. http://alexsexton.com/?p=154", "group_id": 160, "id": 578026}, {"user_id": 26068, "stars": [], "topic_id": 17679, "date_created": 1302198805.7587309, "message": "I also recommend you check out this library http://easyxdm.net/. It makes doing cross domain stuff a lot easier.", "group_id": 160, "id": 578067}, {"user_id": 20536, "stars": [], "topic_id": 17679, "date_created": 1302270842.3470399, "message": "Most APIs this days have a way to deliver your content in json, from there you can add jsonp support and make cross origin request quite easy.", "group_id": 160, "id": 590016}, {"user_id": 7376, "stars": [], "topic_id": 17679, "date_created": 1302280620.621788, "message": "@Siedrix The only sucky thing about JSONP is you can't use HTTP caching on it because the callback var changes with every request. Other than that, it's the bees knees.", "group_id": 160, "id": 592462}, {"user_id": 22794, "stars": [], "topic_id": 17679, "date_created": 1302281298.9716239, "message": "In jQuery you can specify your own callback function name.", "group_id": 160, "id": 592589}, {"user_id": 20536, "stars": [], "topic_id": 17679, "date_created": 1302331251.0401411, "message": "@ericmoritz you could do localstorage instead of caching, its faster...", "group_id": 160, "id": 600219}, {"user_id": 6604, "stars": [], "topic_id": 17679, "date_created": 1302331423.2630441, "message": "@Siedrix I've been doing a bunch of work with localStorage caching and jQuery ajax preFilters recently. https://github.com/quickleft/ql_cache", "group_id": 160, "id": 600246}, {"user_id": 20536, "stars": [], "topic_id": 17679, "date_created": 1302418288.108757, "message": "@wookiehangover in your experience, hows the browser support for localstorage?", "group_id": 160, "id": 608261}, {"user_id": 6604, "stars": [], "topic_id": 17679, "date_created": 1302453018.756124, "message": "@wookiehangover everything newer than IE7 has it. If you absolutely have to have parity in older browsers, https://github.com/StevenBlack/store.js is a good solution (but IMO its kind of a hack)", "group_id": 160, "id": 610545}, {"user_id": 1855, "stars": [], "topic_id": 17679, "date_created": 1302516305.2672429, "message": "@wookiehangover or rather completely a hack, and that's the point ;P", "group_id": 160, "id": 622732}, {"user_id": 7376, "stars": [], "topic_id": 17679, "date_created": 1302542347.4475441, "message": "@Siedrix That's true, but with public APIs you can't trust that clients will do that. The only answer falls to memcached with JSONP because HTTP caching is useless with JSONP. I'm sure some Varnish VCL magic could accomplish JSONP in Varnish.", "group_id": 160, "id": 626586}]
@@ -0,0 +1 @@
[{"user_id": 33289, "stars": [{"date_created": 1305695649.2375269, "user_id": 2341}], "topic_id": 35705, "date_created": 1305669588.855094, "message": "I feel I've exhausted my Google search powers. I'm looking for a definitive list of JS easings functions (js ports from Robert Penner). Similar to what is found here:\nhttps://github.com/ded/emile/blob/master/src/easings.js\nand here\nhttp://sandbox.kendsnyder.com/easing/js/transitions.js\nand preferably *NOT* functions that are not based on 5 argument signatures like the jQuery easings: \nhttp://commadot.com/jquery/easing.php\nBut rather single \"position\" based", "group_id": 160, "id": 1088817}, {"user_id": 33289, "stars": [], "topic_id": 35705, "date_created": 1305671008.3270271, "message": "and of course, your core file: https://github.com/madrobby/scripty2/blob/master/src/effects/transitions/penner.js\ngood stuff. thanks", "group_id": 160, "id": 1089163}, {"user_id": 32795, "stars": [], "topic_id": 35705, "date_created": 1305670215.6929679, "message": "http://scripty2.com/doc/scripty2%20fx/s2/fx/transitions.html comes with interactive demos and the functions all just take one argument", "group_id": 160, "id": 1088981}, {"user_id": 33289, "stars": [], "topic_id": 35705, "date_created": 1305670934.2936299, "message": "cool. actually, this file here is really hepful: https://github.com/madrobby/scripty2/blob/master/src/effects/transitions/transitions.js", "group_id": 160, "id": 1089142}, {"user_id": 32795, "stars": [], "topic_id": 35705, "date_created": 1305671598.633055, "message": "If you want emulate webkit's hw accel, try https://github.com/madrobby/scripty2/blob/master/src/effects/transitions/cubic-bezier.js", "group_id": 160, "id": 1089311}]
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 26068, "stars": [], "topic_id": 39828, "date_created": 1308532831.2282779, "message": "My company is going to do a rewrite and we are trying to determine the right front end framework for our app. What are the pros and cons between these three!", "group_id": 160, "id": 1434656}, {"user_id": 23244, "stars": [], "topic_id": 39828, "date_created": 1308584658.5123889, "message": "Depending on application complexity, you might want to take a look at backbone.js + jquery. Its not as complete a solution as the mentioned frameworks, but very flexible.", "group_id": 160, "id": 1439569}, {"user_id": 12901, "stars": [], "topic_id": 39828, "date_created": 1308656775.0736179, "message": "ExtJS 4 is very widget-complete, so customizing the widgets is your core problem. Sometimes, that will mean having to do breaking-the-upgrades changes that override sections of code marked \"private\". ExtJS 4 is better in this case than ExtJS 3. If your application can be said to \"look like Outlook\", then this may be for you.", "group_id": 160, "id": 1447364}, {"user_id": 22218, "stars": [], "topic_id": 39828, "date_created": 1308662459.1706581, "message": "I hate to get emotional but Ext has left a bad taste in my mouth for years. Ext2 overrode many functions defined by Prototype on basic elements such as functions. We had paid support with them; when we had issues upgrading prototype to 1.6 their answer was to \"...not use flaky libraries like Prototype...\". Now I don't necessarily have love for prototype but it is rather well established and shouldn't be written off wholesale like that by the engineers at Sencha. I guess my main beef with Ext is that there is a reason they offer paid support (perhaps their attitude has changed in more recent products)", "group_id": 160, "id": 1448180}, {"user_id": 12901, "stars": [], "topic_id": 39828, "date_created": 1308781075.8273611, "message": "@jacksontomlinson ExtJS has gotten better over the years, better practices. I am not using Ext at the moment, but I hope they don't lose the widget focus. A neat, extensible datagrid is hard to find.", "group_id": 160, "id": 1460792}, {"user_id": 38254, "stars": [], "topic_id": 39828, "date_created": 1310964285.3962381, "message": "Anyone recommend using Selenium for testing ExtJS ui?", "group_id": 160, "id": 1660577}, {"user_id": 26068, "stars": [], "topic_id": 39828, "date_created": 1311000650.170855, "message": "I've never done that, but doesn't ExtJS4 have a new visual testing suite? Is it not out yet?", "group_id": 160, "id": 1663095}, {"user_id": 41115, "stars": [], "topic_id": 39828, "date_created": 1316277273.8622849, "message": "isn't this widget libraries versus full stack app framework", "group_id": 160, "id": 2150487}, {"user_id": 14552, "stars": [], "topic_id": 39828, "date_created": 1320255838.283124, "message": "YUI3 would serve you best as an app framework if you want that, the others are better as script libraries if you don't want to actually do much dev work yourself", "group_id": 160, "id": 2492771}]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 12933, "stars": [{"date_created": 1303977952.1775489, "user_id": 167}], "topic_id": 21672, "date_created": 1303927101.3938839, "message": "http://alloy.liferay.com/\nhttp://mochaui.org/\nhttp://qooxdoo.org/\nhttp://dojotoolkit.org/\nhttp://dhtmlx.com/index.shtml\nhttp://rialto.improve-technologies.com/wiki/", "group_id": 160, "id": 829248}, {"user_id": 12933, "stars": [], "topic_id": 21672, "date_created": 1303927030.700911, "message": "for now I am looking for js gui toolkit that let me create commercial apps without paying a lot of money. I googled around and found some that meet my criteria e.g. dojotoolkit but I'd like to know if there are more around the corner.", "group_id": 160, "id": 829225}, {"user_id": 1516, "stars": [], "topic_id": 21672, "date_created": 1304271297.2468121, "message": "Uki: http://ukijs.org/ (demo here: http://ukijs.org/mail/index.html)", "group_id": 160, "id": 876837}]
@@ -0,0 +1 @@
[{"user_id": 33033, "stars": [], "topic_id": 35772, "date_created": 1305721382.0325179, "message": "I've read a lot about different ways of building javascripts, with tools like smoosh, uglifyjs but how are you working with them in a development environment? Are you actively rebuilding the javascripts every time you change them (like you can do with SASS through the cli watch) or are you altering what javascripts files are loaded as part of the build process - eg. changing the script-tags and such?", "group_id": 160, "id": 1096375}, {"user_id": 3556, "stars": [], "topic_id": 35772, "date_created": 1305738537.394516, "message": "Actually, I'll merge everything for test to do a stress test. And then send it to production after a stress test. But It goes: dev > test > merge/build/compress for a stress test > prod.", "group_id": 160, "id": 1100355}, {"user_id": 7376, "stars": [], "topic_id": 35772, "date_created": 1305735517.712105, "message": "I'm not sure if it's ideal but what I do is build a development version of the script and a production version which is minimized. For instance, here's my Makefile: http://pastebin.com/njsn80MA", "group_id": 160, "id": 1099831}, {"user_id": 3556, "stars": [], "topic_id": 35772, "date_created": 1305738397.3487389, "message": "When I'm developing and for most of the testing I'm not doing any sort of minifying, compressing, building, etc. I'm not a Rails guy so I don't use SASS. I do use Less for smaller site which the client can parse. If I've got various JS/CSS files I'll merge them into one JS file and one CSS file. But that's only going from test to production.", "group_id": 160, "id": 1100326}]
@@ -0,0 +1 @@
[{"user_id": 33855, "stars": [], "topic_id": 36741, "date_created": 1306331918.8219161, "message": "I am a Jquery programmer primarily when using Javascript but recently been coding in the canvas a lot and heard Lime js is a good framework to use! It is built on the Google Closure framework for javascript and looks like it has a lot of functionality but when I searched around I couldn't find many articles or anything so just wondering if anyone thinks it's worth using?", "group_id": 160, "id": 1178297}, {"user_id": 7080, "stars": [], "topic_id": 36741, "date_created": 1306341468.818295, "message": "closure is nice, but it is very different from jquery. it's more object oriented and probably a little tougher to learn", "group_id": 160, "id": 1180529}, {"user_id": 7080, "stars": [], "topic_id": 36741, "date_created": 1306341592.560966, "message": "It's more enterpris-y and probably not as quick to develop on for most people.", "group_id": 160, "id": 1180561}, {"user_id": 218, "stars": [], "topic_id": 36741, "date_created": 1306424635.2067599, "message": "ie: gmail is written in closure.", "group_id": 160, "id": 1193220}, {"user_id": 218, "stars": [], "topic_id": 36741, "date_created": 1306424622.6246319, "message": "closure is meant for large web applications, not at all the use case for jquery.", "group_id": 160, "id": 1193217}]
@@ -0,0 +1 @@
[{"user_id": 2887, "stars": [], "topic_id": 37340, "date_created": 1306720984.204927, "message": "enjoy :)", "group_id": 160, "id": 1223015}, {"user_id": 2887, "stars": [], "topic_id": 37340, "date_created": 1306720975.1598649, "message": "The global tag generation might be slow though, as doctorjs is kinda sluggish (javascript's a tought language to parse)", "group_id": 160, "id": 1223013}, {"user_id": 2887, "stars": [{"date_created": 1308342237.031543, "user_id": 36009}], "topic_id": 37340, "date_created": 1306720887.4098301, "message": "I posted this thing a while back. Thought guys here might like to know read: https://convore.com/vim/turning-vim-into-a-javascript-ide-function-listing-and-syntax-checking/", "group_id": 160, "id": 1222980}, {"user_id": 2887, "stars": [{"date_created": 1308342239.2376261, "user_id": 36009}], "topic_id": 37340, "date_created": 1306720952.0648379, "message": "This might also be useful, for adding jump-to-definition capabilities for Vim & JavaScript. Follow these instructions: https://convore.com/vim/how-to-jump-to-definition-for-whole-project/ & just replace the `ctags` execution line with `jsctags` (DoctorJS)", "group_id": 160, "id": 1223004}, {"user_id": 3795, "stars": [], "topic_id": 37340, "date_created": 1306976713.4036851, "message": "Excellent. I've been back and forth between Vim and Textmate. Going to try some of this soon", "group_id": 160, "id": 1261042}]
@@ -0,0 +1 @@
[{"user_id": 13919, "stars": [], "topic_id": 21408, "date_created": 1303829546.425456, "message": "I'm thinking of integrating ender into my build system but was curious what experience people have had with it so far.", "group_id": 160, "id": 815235}, {"user_id": 3795, "stars": [{"date_created": 1304444564.4734471, "user_id": 2887}], "topic_id": 21408, "date_created": 1303835462.65956, "message": "I'd like to use jQuery's AJAX module with Underscore's array utilities, and ditch the DOM manipulation, selector engine, and other cruft I don't need.", "group_id": 160, "id": 816239}, {"user_id": 13919, "stars": [], "topic_id": 21408, "date_created": 1303835676.884228, "message": "I also like that they're trying to re-use npm packages.", "group_id": 160, "id": 816284}, {"user_id": 3795, "stars": [], "topic_id": 21408, "date_created": 1303835305.5325279, "message": "Ender as an idea is fantastic. Modularized js is certainly the best approach. (Though, there is a huge debate raging across the web.) Most of Dustin's modules are great, too; but I think we need more Ender module authors.", "group_id": 160, "id": 816206}, {"user_id": 3795, "stars": [{"date_created": 1304444569.7341721, "user_id": 2887}], "topic_id": 21408, "date_created": 1303835349.1762199, "message": "I'd even go one step further and say that we need to break up the old libraries into modules for systems like Ender.", "group_id": 160, "id": 816213}, {"user_id": 13919, "stars": [], "topic_id": 21408, "date_created": 1303835653.0129249, "message": "Agreed. I see this as a great way to take the parts I like from a library like jQuery and elminate what I'm not using. Especially for deploying mobile apps.", "group_id": 160, "id": 816280}, {"user_id": 16058, "stars": [{"date_created": 1304351303.2567899, "user_id": 13919}], "topic_id": 21408, "date_created": 1304320618.2415221, "message": "@tbeseda, reqwest is a lot like jquery.ajax, if not better", "group_id": 160, "id": 881051}, {"user_id": 33289, "stars": [], "topic_id": 21408, "date_created": 1305417878.7787371, "message": "Hi Guys -- this is Dustin. I couldn't echo more what tbeseda is saying. We need more Ender module authors. But such is life of any early day new framework. It's been near 6 weeks since launch so it's tough to expect the amount of jQuery plugins there are after 5 years of the jQuery launch. Nevertheless, @fat and myself have tried to keep a \"near\" back-compat API to jQuery so that plugin developers won't have to do much heavy lifting if they have the desire to migrate their plugins as Ender modules.", "group_id": 160, "id": 1056372}, {"user_id": 7251, "stars": [], "topic_id": 21408, "date_created": 1305682616.0073359, "message": "@ded is there a set of guidelines or best practices published anywhere for creating ender modules or is the best bet to try to follow along with libraries like bonzo and qwery and use those as examples?", "group_id": 160, "id": 1091253}, {"user_id": 33289, "stars": [], "topic_id": 21408, "date_created": 1305689333.3787749, "message": "@neilberget we're still feeling out some of the early implementations. so far so good. i'll be creating a screencast soon enough to help give developers a kick-start. nevertheless, bonzo, bean, qwery, all good places to start.", "group_id": 160, "id": 1092203}, {"user_id": 15162, "stars": [], "topic_id": 21408, "date_created": 1305702388.492645, "message": "cool - I'm giving this a try now", "group_id": 160, "id": 1093795}, {"user_id": 15162, "stars": [], "topic_id": 21408, "date_created": 1305702843.804471, "message": "is there a wiki listing modules known to be compatible with Ender? sort of like the node.js modules page?", "group_id": 160, "id": 1093950}, {"user_id": 15162, "stars": [], "topic_id": 21408, "date_created": 1305702446.8327949, "message": "welcome to you're \"doom!\" - feel like I'm missing a pun here or something...?", "group_id": 160, "id": 1093817}, {"user_id": 13919, "stars": [], "topic_id": 21408, "date_created": 1305728693.2730019, "message": "@odwyerrob you can install ender and then use \"ender search XXX\", were XXX is the module you're looking for.", "group_id": 160, "id": 1097625}, {"user_id": 33289, "stars": [], "topic_id": 21408, "date_created": 1305746753.503804, "message": "Here is a few of the \"known\" modules (obviously there are others that developers have built that we don't know about)\nhttp://enderjs.com/topic/8-canonical-list-of-ender-modules/\n\nand fwiw, we've done our best to try and support any module in NPM (altho most aren't designed for client-side scripting)", "group_id": 160, "id": 1102028}, {"user_id": 33289, "stars": [], "topic_id": 21408, "date_created": 1305746643.4393001, "message": "http://blog.urbanbohemian.com/2009/04/08/5201/", "group_id": 160, "id": 1101983}]
+1
View File
@@ -0,0 +1 @@
[{"user_id": 3868, "stars": [], "topic_id": 4023, "date_created": 1297381683.246278, "message": "I believe you meant to say: https://convore.com/#!javascript/hashbang/", "group_id": 160, "id": 76207}, {"user_id": 3, "stars": [], "topic_id": 4023, "date_created": 1297381447.7551341, "message": "that is all.", "group_id": 160, "id": 76158}, {"user_id": 3868, "stars": [{"date_created": 1297420338.352783, "user_id": 6812}], "topic_id": 4023, "date_created": 1297382135.612011, "message": "I'm surprised twitter went with it... next railsconf, you and I should find patrick and steal his lunch money", "group_id": 160, "id": 76260}, {"user_id": 3, "stars": [], "topic_id": 4023, "date_created": 1297381962.9619241, "message": "/play rimshot", "group_id": 160, "id": 76233}]
@@ -0,0 +1 @@
[{"user_id": 25024, "stars": [], "topic_id": 20224, "date_created": 1303165144.1528299, "message": "Working on a Rails app, I'm sending up prerendered markup and then enhancing it with JS. I'm using Backbone, so I'm usually embedding an identifier like data-model_id in the relevant element and tying it to a Backbone model, then wrapping the functionality in a view. Sometimes I wonder whether I'd be better off just jamming the information in the markup and generating the model from it.", "group_id": 160, "id": 732429}, {"user_id": 25851, "stars": [], "topic_id": 20224, "date_created": 1303168136.120203, "message": "I just read about Spine.js today, an MVC framework similar to Backbone. They have an interesting take on handling encoding and binding directly to DOM elements.", "group_id": 160, "id": 732946}, {"user_id": 3795, "stars": [], "topic_id": 20224, "date_created": 1303502290.6616681, "message": "@n_time I don't pre-render markup in Rails, I bootstrap a JSON object in and let backbone do its thing. Just need to emphasize speed in rendering templates.", "group_id": 160, "id": 784417}, {"user_id": 30768, "stars": [], "topic_id": 20224, "date_created": 1303517444.822557, "message": "moo", "group_id": 160, "id": 786237}, {"user_id": 11179, "stars": [], "topic_id": 20224, "date_created": 1303560876.230922, "message": "With large sets of data I avoid letting the server process HTML as much as possible, especially when dealing with XHR requests. I like to retrieve sets of JSON data and process a pre-defined HTML template section. I wrote a quick template processor for the YUI framework that has proven to be extremely fast at rendering large amounts of data. You can view my longer explanation here http://lostsyntax.net/posts/5", "group_id": 160, "id": 788635}]
@@ -0,0 +1 @@
[{"user_id": 5065, "stars": [], "topic_id": 5999, "date_created": 1297773833.0685289, "message": "window.parent.location.href = window.parent.location.href;", "group_id": 160, "id": 110807}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297774270.7235129, "message": "Will take a look", "group_id": 160, "id": 110842}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297773584.1180699, "message": "How can I close the box and refresh the site to toggle that you're logged in? This isn't 100% javascript but I suspect that it's involved in the solution.", "group_id": 160, "id": 110790}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297773478.711669, "message": "I have a page that uses http://www.p51labs.com/lightwindow/ - where I have a link on default.aspx that opens a lightwindow box with an iframe aimed at login.aspx. Login.aspx uses SAML as single sign-on and redirects the use to a third-party domain where they login and are then redirected back to my Default.aspx.", "group_id": 160, "id": 110778}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297773548.172291, "message": "But the box is still opened and is at Default.aspx. That is, you end up at Default.aspx, with a lightwindow box that has Default.aspx loaded inside an iframe.", "group_id": 160, "id": 110785}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297774252.757797, "message": "@dyouren Thanks!", "group_id": 160, "id": 110841}, {"user_id": 5065, "stars": [], "topic_id": 5999, "date_created": 1297773843.1058919, "message": "use this to reload the parent window, once they are logged in.", "group_id": 160, "id": 110808}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297785791.6802599, "message": "Okay, I got most of it working!", "group_id": 160, "id": 112417}, {"user_id": 5388, "stars": [], "topic_id": 5999, "date_created": 1297785807.3180161, "message": "Now I'm trying close the lightwindow from inside its own iFrame.", "group_id": 160, "id": 112422}, {"user_id": 5295, "stars": [], "topic_id": 5999, "date_created": 1298266675.657697, "message": "if you have a working close function in the parent window:\n\nwindow.parent.closethewindow();", "group_id": 160, "id": 156785}]
@@ -0,0 +1 @@
[{"user_id": 13919, "stars": [], "topic_id": 11592, "date_created": 1299627956.206912, "message": "I've looked at how nodejs and jQuery and they both look to be using their own custom solutions. Just curious what your favourite JavaScript API docs is and what tools are used to make them?", "group_id": 160, "id": 300534}, {"user_id": 15929, "stars": [], "topic_id": 11592, "date_created": 1299632571.881211, "message": "http://code.google.com/p/jsdoc-toolkit/", "group_id": 160, "id": 300846}, {"user_id": 1101, "stars": [{"date_created": 1300727777.5208189, "user_id": 16810}, {"date_created": 1306351374.7902861, "user_id": 1003}], "topic_id": 11592, "date_created": 1299650267.0555911, "message": "I personally love http://jashkenas.github.com/docco/", "group_id": 160, "id": 302249}, {"user_id": 1709, "stars": [], "topic_id": 11592, "date_created": 1299679402.923456, "message": "awesome - I was wondering how backbone.js did their annotated source code: http://documentcloud.github.com/backbone/docs/backbone.html", "group_id": 160, "id": 304527}, {"user_id": 15929, "stars": [], "topic_id": 11592, "date_created": 1299689322.1473091, "message": "i'm still a huge fan of labor of love like CodeIgniter's", "group_id": 160, "id": 306698}, {"user_id": 3795, "stars": [], "topic_id": 11592, "date_created": 1299714874.5694621, "message": "+1 for docco, we even wrote a Ruby port", "group_id": 160, "id": 309416}, {"user_id": 13919, "stars": [], "topic_id": 11592, "date_created": 1299774021.305259, "message": "Thanks for all the adivce. Docco looks like just what I was looking for. Thx!", "group_id": 160, "id": 314626}, {"user_id": 7381, "stars": [], "topic_id": 11592, "date_created": 1299887910.344378, "message": "dox seems to be like a docco which understands JavaDoc-style annotations: https://github.com/visionmedia/dox", "group_id": 160, "id": 328946}, {"user_id": 7381, "stars": [], "topic_id": 11592, "date_created": 1299888049.3678341, "message": "Google have a rather thorough guidelines for writing Closure-flavoured JSDoc style documentation, alas they don't seem to have released a documentation tool which makes use of it (assuming they have one): http://code.google.com/closure/compiler/docs/js-for-compiler.html", "group_id": 160, "id": 328956}, {"user_id": 7381, "stars": [], "topic_id": 11592, "date_created": 1299887827.7899089, "message": "Issues with the above: JSDoc gets lost in certain types of JavaScript (building up objects which will act as APIs in Function scopes is one), docco only documents end-line comments out of the box and its style of docs aren't always suited for someone who just wants to use your stuff. Personally, I've ended up hand-cranking with Sphinx and its JavaScript domain.", "group_id": 160, "id": 328937}, {"user_id": 3, "stars": [], "topic_id": 11592, "date_created": 1300235835.8543701, "message": "@cyu do you have an example or link explaining sphinx + js?", "group_id": 160, "id": 361435}, {"user_id": 3, "stars": [], "topic_id": 11592, "date_created": 1300235855.4379139, "message": "I just found out sphinx can be used with languages other than python and am intrigued", "group_id": 160, "id": 361440}, {"user_id": 21387, "stars": [], "topic_id": 11592, "date_created": 1300282386.0686779, "message": "@defunkt i personally didn't like much sphinx for documenting javascript. its functionality works perfectly for python, but looks a bit overwhelming for js. i wrote http://mandoojs.com/docs with sphinx, and i'm about to work in a simpler solution based on http://bonsaiden.github.com/JavaScript-Garden/ -- which I REALLY loved.", "group_id": 160, "id": 365561}, {"user_id": 21387, "stars": [], "topic_id": 11592, "date_created": 1300282417.8013771, "message": "BTW, anyone wanna go with me on this? :) will be working at nights. (GMT)", "group_id": 160, "id": 365568}, {"user_id": 1709, "stars": [], "topic_id": 11592, "date_created": 1300287009.9409649, "message": "@defunkt - didn't hear Sphinx from me", "group_id": 160, "id": 366502}]
@@ -0,0 +1 @@
[{"user_id": 8591, "stars": [], "topic_id": 40265, "date_created": 1308864122.592983, "message": "I know that all browsers can cache javascript libs. But modern js engines compile javascript. Do they share those compiled versions between different tabs? Is there any sense to invent some kind of \"*.dll for the web\" technology, that will allow browsers to compile it once and run when they need it?", "group_id": 160, "id": 1471315}, {"user_id": 8591, "stars": [], "topic_id": 40265, "date_created": 1308864366.9873769, "message": "I mean a lot of sites use jQuery for example. Do browsers only cache javascript code, or they save something more?", "group_id": 160, "id": 1471364}, {"user_id": 4149, "stars": [], "topic_id": 40265, "date_created": 1308867157.948935, "message": "http://code.google.com/p/v8/ read and watch that will explain everything", "group_id": 160, "id": 1471896}]
@@ -0,0 +1 @@
[{"user_id": 36182, "stars": [], "topic_id": 39317, "date_created": 1308056858.816467, "message": "data = {name: \"pop}", "group_id": 160, "id": 1390728}, {"user_id": 36182, "stars": [], "topic_id": 39317, "date_created": 1308056921.79287, "message": "tog.Div('#content').h1('hello, ', data.name).html() will give you :", "group_id": 160, "id": 1390750}, {"user_id": 36182, "stars": [], "topic_id": 39317, "date_created": 1308056941.364244, "message": "<div id='content'><h1>hello, pop</h1></div>", "group_id": 160, "id": 1390754}]
@@ -0,0 +1 @@
[{"user_id": 41461, "stars": [], "topic_id": 42516, "date_created": 1316890624.968847, "message": "t", "group_id": 160, "id": 2204798}]
@@ -0,0 +1 @@
[{"user_id": 969, "stars": [], "topic_id": 5680, "date_created": 1297713473.3147359, "message": "I'd like to get a random point and see what the color is under that point in the browser window. Anyone have any ideas?", "group_id": 160, "id": 104075}, {"user_id": 969, "stars": [], "topic_id": 5680, "date_created": 1297713489.849664, "message": "ex. getColorPoint(100, 150)", "group_id": 160, "id": 104078}, {"user_id": 12535, "stars": [], "topic_id": 5680, "date_created": 1298013599.7246699, "message": "Might take a look at the color picker firefox plugin", "group_id": 160, "id": 140269}, {"user_id": 969, "stars": [], "topic_id": 5680, "date_created": 1298050560.8563409, "message": "I took a look at both that and a couple in chrome, they're both using private extension only API's as far as I can tell.", "group_id": 160, "id": 144710}, {"user_id": 1516, "stars": [], "topic_id": 5680, "date_created": 1298055326.1154189, "message": "I'm pretty sure it's not possible\u2026", "group_id": 160, "id": 145330}, {"user_id": 540, "stars": [], "topic_id": 5680, "date_created": 1298056754.047461, "message": "You can do it in a <canvas> tag, not sure it's possible otherwise.", "group_id": 160, "id": 145598}, {"user_id": 969, "stars": [], "topic_id": 5680, "date_created": 1298066158.8141389, "message": "bummer, that's been my experience so far. I guess I'll just do it in PIL during the build stage (since I'm just interested in images)", "group_id": 160, "id": 146754}]
@@ -0,0 +1 @@
[{"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305134381.0803089, "message": "So what's your build system of choice? With large web apps it's nice to be able to break up files into logical modules. What do you use to turn that into one big file?", "group_id": 160, "id": 1010610}, {"user_id": 28862, "stars": [], "topic_id": 34785, "date_created": 1305154343.780549, "message": "closure compiler, recently", "group_id": 160, "id": 1015802}, {"user_id": 22218, "stars": [], "topic_id": 34785, "date_created": 1305183598.646102, "message": "What platform are you running? granule - Java JS/CSS optimization solution (tag and ant,servlet ... is a pretty good solution for Java", "group_id": 160, "id": 1021181}, {"user_id": 28328, "stars": [], "topic_id": 34785, "date_created": 1305185812.1592319, "message": "ant + google closure or yuicompressor.", "group_id": 160, "id": 1021533}, {"user_id": 16058, "stars": [{"date_created": 1305244550.682982, "user_id": 13919}, {"date_created": 1305423253.1841199, "user_id": 28862}], "topic_id": 34785, "date_created": 1305223636.8657401, "message": "Big one file == fail. I use async loaders such as head.js", "group_id": 160, "id": 1027071}, {"user_id": 7376, "stars": [{"date_created": 1305626068.4132481, "user_id": 16058}], "topic_id": 34785, "date_created": 1305259350.1247611, "message": "@ericmoritz Currently it's been reduced to three scripts, the core engine, the widget's data and the theme being applied to that data. The widget data and the theme are loaded asynchronously but the core engine is only 30k but it's made up of 11 distinct \"modules\".", "group_id": 160, "id": 1034666}, {"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305259057.6668611, "message": "@myfreeweb I don't have that luxury, this is the framework for a widget system my company provides, it needs to be delivered in as few round trips as possible.", "group_id": 160, "id": 1034590}, {"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305259420.1838429, "message": "At the moment I'm using a Makefile that cat's the files and then runs it through closure", "group_id": 160, "id": 1034684}, {"user_id": 1516, "stars": [], "topic_id": 34785, "date_created": 1305274284.38451, "message": "closure compiler + Rakefile", "group_id": 160, "id": 1038100}, {"user_id": 15507, "stars": [{"date_created": 1305292583.3053529, "user_id": 1243}, {"date_created": 1305299592.1558499, "user_id": 13919}], "topic_id": 34785, "date_created": 1305276899.3254471, "message": "I'm using RequireJS + Uglify (http://requirejs.org/docs/optimization.html)", "group_id": 160, "id": 1038633}, {"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305295900.0460291, "message": "@Shiki I though RequireJS was a async loader but it looks like a build system as well. I'll check that out thanks.", "group_id": 160, "id": 1041763}, {"user_id": 1709, "stars": [], "topic_id": 34785, "date_created": 1305400327.8923409, "message": "@ericmoritz sounds like sprockets might be a good fit: http://getsprockets.org/", "group_id": 160, "id": 1054185}, {"user_id": 33289, "stars": [{"date_created": 1305626072.9277439, "user_id": 16058}], "topic_id": 34785, "date_created": 1305420196.8375399, "message": "check out Smoosh! It does file size analysis (min, full, and gzip), packaging, versioning, and uses Uglify under the hood including JSHint for the linting option. Plus it has a CSS option using a compressor I wrote called Sqwish. Check it out at https://github.com/fat/smoosh", "group_id": 160, "id": 1056638}, {"user_id": 12817, "stars": [], "topic_id": 34785, "date_created": 1305527758.8054559, "message": "I'm doing the same as @ericmoritz, except after I compress all of my code, I throw precompressed 3rd-party libraries (jQuery et al) into the same file so it's all one big file. Combine that with far-future expires headers, and you're set.", "group_id": 160, "id": 1068140}, {"user_id": 12817, "stars": [], "topic_id": 34785, "date_created": 1305527946.7616439, "message": "IMHO a slow initial page load degrades the experience of a web app much less than slow subsequent loads, although having said that I'm considering loading jQuery UI asynchronously since it's not often used and it's big.", "group_id": 160, "id": 1068147}]
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 4674, "stars": [], "topic_id": 11555, "date_created": 1299615760.563149, "message": "We're looking to hire/contract a seasoned front-end/JavaScript developer at Lincoln Loop. Experience with backbone/underscore is a big plus. Drop us a line if you're interested, info@lincolnloop.com", "group_id": 160, "id": 299159}, {"user_id": 4674, "stars": [], "topic_id": 11555, "date_created": 1299621661.6927681, "message": "...forgot to mention, this is a remote job. Location doesn't matter.", "group_id": 160, "id": 299976}, {"user_id": 21387, "stars": [], "topic_id": 11555, "date_created": 1300074281.3622069, "message": "hello; i'm a backend python and frontend js developer (github.com/emyller); could you please tell me more about this?", "group_id": 160, "id": 344798}, {"user_id": 4674, "stars": [], "topic_id": 11555, "date_created": 1300206555.939832, "message": "@eMyller send me an email at info@lincolnloop.com and I can give you all the gory details :)", "group_id": 160, "id": 358083}]
@@ -0,0 +1 @@
[{"user_id": 13657, "stars": [], "topic_id": 12573, "date_created": 1299935670.2660339, "message": "Kick off with this very interesting one: Want to Understand JavaScript\u2019s Quirks? Spend Time in the JavaScript Garden: http://mashable.com/2011/03/11/javascript-garden/ and http://bonsaiden.github.com/JavaScript-Garden/", "group_id": 160, "id": 331569}, {"user_id": 20536, "stars": [], "topic_id": 12573, "date_created": 1300064856.4593599, "message": "They have all links here http://www.reddit.com/r/javascript/comments/fqht8/references_for_javascript_mastery/", "group_id": 160, "id": 344462}, {"user_id": 20536, "stars": [], "topic_id": 12573, "date_created": 1300064069.337297, "message": "A couple of weeks ago, in reddit they started this thread, good links and conversation. http://www.reddit.com/r/javascript/comments/fpp7m/recommendations_for_mastering_javascript/", "group_id": 160, "id": 344436}, {"user_id": 13657, "stars": [], "topic_id": 12573, "date_created": 1300316958.581409, "message": "Just stumbled across this podcast: http://yayquery.com/ Listening to Episode 19 and it has all of these links: http://2011.texasjavascript.com/\nhttp://speakerrate.com/events/350\nhttp://www.quirksmode.org/css/contents.html\nhttp://perfectionkills.com/jscript-and-dom-changes-in-ie9-preview-3/\nhttp://validity.thatscaptaintoyou.com/\nhttp://twitter.com/#!/CoryDorning/status/17198453016\nhttps://developer.mozilla.org/en/JavaScript/Reference/Reserved_Words\nhttp://zetafleet.com/", "group_id": 160, "id": 369958}, {"user_id": 13657, "stars": [], "topic_id": 12573, "date_created": 1300318429.188663, "message": "Also from Episode 19 of above mentioned podcast. Plugin of the week\njQuery.Validity\nhttp://validity.thatscaptaintoyou.com", "group_id": 160, "id": 370040}, {"user_id": 4865, "stars": [], "topic_id": 12573, "date_created": 1300333441.1474421, "message": "\"jQuery.validity\" looks great, thanks!", "group_id": 160, "id": 371363}]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 14243, "stars": [], "topic_id": 15883, "date_created": 1301351467.6070681, "message": "$('#acheckbox').valid8() doesnt work", "group_id": 160, "id": 462746}, {"user_id": 8224, "stars": [], "topic_id": 15883, "date_created": 1301355274.416502, "message": "my good deed has been done for the day, take it easy", "group_id": 160, "id": 463194}, {"user_id": 8224, "stars": [], "topic_id": 15883, "date_created": 1301354451.6396019, "message": " $(\"#checkbox\").valid8(function() {\n $(\"#checkbox\").attr(\"checked\");});\n", "group_id": 160, "id": 463089}, {"user_id": 8224, "stars": [], "topic_id": 15883, "date_created": 1301354765.2323329, "message": "hmmm yes it seems to work for me either way, let me know if that above code fixes it or not.", "group_id": 160, "id": 463126}, {"user_id": 8224, "stars": [], "topic_id": 15883, "date_created": 1301354549.443989, "message": "although, valid8() should work if i am reading the source correctly...", "group_id": 160, "id": 463101}, {"user_id": 14243, "stars": [], "topic_id": 15883, "date_created": 1301355191.165792, "message": "but the code I'm using is not standard, it may be something else", "group_id": 160, "id": 463183}, {"user_id": 14243, "stars": [], "topic_id": 15883, "date_created": 1301355193.10114, "message": "thanks!", "group_id": 160, "id": 463184}, {"user_id": 14243, "stars": [], "topic_id": 15883, "date_created": 1301355177.7222929, "message": "weird..", "group_id": 160, "id": 463180}, {"user_id": 14243, "stars": [], "topic_id": 15883, "date_created": 1301355633.018703, "message": "@nerdyworms sorry! I'm a bad day today :P", "group_id": 160, "id": 463224}, {"user_id": 20844, "stars": [], "topic_id": 15883, "date_created": 1301416249.1646669, "message": "var cb = $(\"#checkbox\");\ncb.valid8(function() { cb.attr(\"checked\") });", "group_id": 160, "id": 470615}, {"user_id": 20844, "stars": [], "topic_id": 15883, "date_created": 1301416264.187438, "message": "closures >>> dom", "group_id": 160, "id": 470618}]
@@ -0,0 +1 @@
[{"user_id": 167, "stars": [], "topic_id": 35397, "date_created": 1305486294.8833311, "message": "This is an excellent catch", "group_id": 160, "id": 1062078}, {"user_id": 1516, "stars": [], "topic_id": 35397, "date_created": 1305485802.503598, "message": "alright, I'm trying to raise awareness of some Unicode issues with JSON and JSONP. I'd recommend you to read and understand, because it's kinda a weird \"bug\" to debug", "group_id": 160, "id": 1062011}, {"user_id": 1516, "stars": [], "topic_id": 35397, "date_created": 1305485808.0392499, "message": "http://timelessrepo.com/json-isnt-a-javascript-subset", "group_id": 160, "id": 1062012}, {"user_id": 1516, "stars": [], "topic_id": 35397, "date_created": 1305487825.5561111, "message": "catch-2028 \u2014 more than 92 times better than catch-22!", "group_id": 160, "id": 1062302}, {"user_id": 33289, "stars": [], "topic_id": 35397, "date_created": 1305493373.0399051, "message": "my biggest beef with the in-browser JSON parser is that it fails on just regular JavaScript literals. like ({foo: 'bar'}) -- if you can do it in JavaScript, then it should be able to be parsed and I think it's near ridiculous that everything has to conform to double quoted keys and values.", "group_id": 160, "id": 1063424}, {"user_id": 1516, "stars": [], "topic_id": 35397, "date_created": 1305493589.1313729, "message": "@ded well, you'll have to decide where the difference between JSON and JS is. you don't want to implement a full JS parser everywhere you want to use JSON. forcing double quoted keys makes it much easier in other languages", "group_id": 160, "id": 1063446}, {"user_id": 222, "stars": [], "topic_id": 35397, "date_created": 1305512795.824405, "message": "By default simplejson escapes all output such that the result is ASCII, but I just put a workaround for this in the current master for those using ensure_ascii=False. Will probably do a release in a few days... not that I expect people actually have this problem, but it's easy enough to fix so might as well.", "group_id": 160, "id": 1065555}, {"user_id": 26874, "stars": [], "topic_id": 35397, "date_created": 1306485058.7086029, "message": "hi ! We've done our hackason,haha ! this is our show !! http://apps.facebook.com/otonnect/", "group_id": 160, "id": 1202514}, {"user_id": 32812, "stars": [], "topic_id": 35397, "date_created": 1306855531.3304739, "message": "I wouldn't even consider this a \"bug\". if people don't want to give you proper json then it doesn't need to be read. 'debugging' can be made easier by having better error messages in our parsers. you're going out of your way to fix a problem before it exists.", "group_id": 160, "id": 1238254}, {"user_id": 28862, "stars": [], "topic_id": 35397, "date_created": 1306860165.2946899, "message": "Right. Unless of course the people sending malformed JSON are clients. Which happens. All. The. Time.", "group_id": 160, "id": 1238806}, {"user_id": 1516, "stars": [], "topic_id": 35397, "date_created": 1306867468.8330491, "message": "@context it's not a about people giving you invalid JSON. it's about people giving you *valid* JSON, but not valid JavaScript (so you can't use it in JSONP)", "group_id": 160, "id": 1239994}]
@@ -0,0 +1 @@
[{"user_id": 1101, "stars": [], "topic_id": 14765, "date_created": 1300903181.0428741, "message": "So yeah :-) Will the DOM be ready when script execution happens if I do ($LAB.script('my-library.js').wait(function(){ // interacting with DOM }); ?", "group_id": 160, "id": 419234}, {"user_id": 2151, "stars": [], "topic_id": 14765, "date_created": 1300905318.1393731, "message": "FYI: this question was asked, and now answered by me, over on Stack Overflow: http://stackoverflow.com/questions/5409672/does-labjs-postpone-the-execution-of-the-loaded-scripts-til-the-dom-is-ready/5409818#5409818", "group_id": 160, "id": 419549}, {"user_id": 1101, "stars": [], "topic_id": 14765, "date_created": 1300957257.057014, "message": "yup, thanks for a great answer", "group_id": 160, "id": 425077}]
@@ -0,0 +1 @@
[{"user_id": 1101, "stars": [], "topic_id": 2168, "date_created": 1297280046.367471, "message": "In the app I'm working on, templating is done with Mustache. It's being used on both server and client sides. There are certain parts of functionality (like adding new instances) that require the templates to be available. Currently I'm loading all the templates with XHR and fire an event that notifies the application that it can run. Perhaps there are better ways?", "group_id": 160, "id": 53279}, {"user_id": 2581, "stars": [], "topic_id": 2168, "date_created": 1297287300.1001911, "message": "Sounds OK to me. You might want to batch all your templates into a single (JSON) file. You could also pack this into your JS file source if you want to minimize server rounds trips.", "group_id": 160, "id": 57263}, {"user_id": 1123, "stars": [], "topic_id": 2168, "date_created": 1297290929.910917, "message": "Have you tried sticking your templates into the <head> of the page as <script type='text/html' id='unique1'> and then loading them that way?", "group_id": 160, "id": 59266}, {"user_id": 1101, "stars": [], "topic_id": 2168, "date_created": 1297291143.5637851, "message": "I though about that, but since I am not server side dev, I'd need to ask my colleagues how hard it would be for them to actually fetch templates files and output them into the head as strings. (we are using Scala). Must be not that complicated I guess.", "group_id": 160, "id": 59329}, {"user_id": 1101, "stars": [], "topic_id": 2168, "date_created": 1297291397.825628, "message": "or even: \"io.File(\"file.txt\").slurp\"", "group_id": 160, "id": 59403}, {"user_id": 1123, "stars": [], "topic_id": 2168, "date_created": 1297290938.538069, "message": "Maybe on initial render or something?", "group_id": 160, "id": 59272}, {"user_id": 1101, "stars": [], "topic_id": 2168, "date_created": 1297291280.988308, "message": "k, simple SO search gives me this: io.Source.fromFile(\"file.txt\").mkString which seems to be quite allright :-)", "group_id": 160, "id": 59355}, {"user_id": 540, "stars": [], "topic_id": 2168, "date_created": 1297356891.0821569, "message": "There's also ICanHaz.js which is entirely for dealing with mustache templates in the browser: http://icanhazjs.com/", "group_id": 160, "id": 71340}, {"user_id": 540, "stars": [], "topic_id": 2168, "date_created": 1297357015.0908229, "message": "By the way, I wrote it. However, be ware that in it's current version you have to use jQuery or Zepto with ICanHaz. Anyway, just trying to help.", "group_id": 160, "id": 71360}, {"user_id": 1101, "stars": [], "topic_id": 2168, "date_created": 1297365359.3209181, "message": "You rock :-)", "group_id": 160, "id": 72957}]
+1
View File
@@ -0,0 +1 @@
[{"user_id": 3, "stars": [], "topic_id": 4597, "date_created": 1297544055.833734, "message": "unless you want even more awesome", "group_id": 160, "id": 87518}, {"user_id": 3, "stars": [{"date_created": 1297605109.923485, "user_id": 8255}], "topic_id": 4597, "date_created": 1297544027.2650781, "message": "just found a bunch of super awesome js libraries: http://marijnhaverbeke.nl/", "group_id": 160, "id": 87513}, {"user_id": 3, "stars": [], "topic_id": 4597, "date_created": 1297544047.9942949, "message": "well, and lisp", "group_id": 160, "id": 87515}, {"user_id": 3, "stars": [], "topic_id": 4597, "date_created": 1297544049.6661, "message": "but ignore that", "group_id": 160, "id": 87517}, {"user_id": 3, "stars": [], "topic_id": 4597, "date_created": 1297544070.2465799, "message": "codemirror2 looks really slick", "group_id": 160, "id": 87521}, {"user_id": 1597, "stars": [{"date_created": 1297605846.9134679, "user_id": 8384}, {"date_created": 1297986347.0540011, "user_id": 7378}], "topic_id": 4597, "date_created": 1297562639.9515679, "message": "yeah, Marijn's very talented. His Eloquent JavaScript book is nifty.", "group_id": 160, "id": 87991}, {"user_id": 1, "stars": [], "topic_id": 4597, "date_created": 1297567141.529099, "message": "+1 Eloquent Javascript is basically how I learned the language.", "group_id": 160, "id": 88143}, {"user_id": 4935, "stars": [], "topic_id": 4597, "date_created": 1297572377.4209981, "message": "codemirror is slick indeed. I'd like it even better if it was configurable across all sites.", "group_id": 160, "id": 88233}, {"user_id": 4935, "stars": [], "topic_id": 4597, "date_created": 1297572419.228822, "message": "syntactic indentation trips me up. the defaults are rarely what I use.", "group_id": 160, "id": 88234}, {"user_id": 2042, "stars": [], "topic_id": 4597, "date_created": 1297604781.7314291, "message": "he is also the creator of the JS1k winning entry Legend of the Bouncing Beholder: http://js1k.com/2010-first/demo/635", "group_id": 160, "id": 90843}, {"user_id": 2042, "stars": [], "topic_id": 4597, "date_created": 1297604792.396915, "message": "and +1 on elojs", "group_id": 160, "id": 90844}, {"user_id": 14747, "stars": [], "topic_id": 4597, "date_created": 1298398062.1339891, "message": "re: syntactic indentation in CodeMirror -- that can be turned off", "group_id": 160, "id": 180915}, {"user_id": 4935, "stars": [], "topic_id": 4597, "date_created": 1298407855.678669, "message": "I didn't mean to imply otherwise. It can be turned off on a site-by-site basis, but the default is for it to be on.", "group_id": 160, "id": 182525}]
@@ -0,0 +1 @@
[{"user_id": 21387, "stars": [], "topic_id": 21190, "date_created": 1303706067.995141, "message": "hello; I'm writing a constructor creator and am trying to make it support mixins. Do you know any existent code that has multi-inheritance support?", "group_id": 160, "id": 799137}, {"user_id": 21387, "stars": [], "topic_id": 21190, "date_created": 1303706112.7258511, "message": "Also, I'm wondering how could I play with native constructors like Error.", "group_id": 160, "id": 799152}, {"user_id": 30768, "stars": [], "topic_id": 21190, "date_created": 1303755382.1434801, "message": "Closure Library and Dojo have this.", "group_id": 160, "id": 805708}, {"user_id": 21387, "stars": [], "topic_id": 21190, "date_created": 1303756874.787513, "message": "didn't check Closure Library and Dojo's approaches, though. thanks for referencing.", "group_id": 160, "id": 805955}, {"user_id": 21387, "stars": [], "topic_id": 21190, "date_created": 1303756841.947191, "message": "@apphacker I've written something last night: http://dpaste.com/hold/535535/ -- pretty well covered: http://wstaw.org/m/2011/04/25/plasma-desktoplT1672.jpg", "group_id": 160, "id": 805950}, {"user_id": 30768, "stars": [], "topic_id": 21190, "date_created": 1303757008.5136831, "message": "looks interesting. Personally I'm pretty happy with prototypal inheritance so I rarely use the stuff unless it's part of how you use the library as is the case in backbone.js", "group_id": 160, "id": 805963}, {"user_id": 28328, "stars": [], "topic_id": 21190, "date_created": 1304319871.851126, "message": "I am using YUI3 OOP, its great. http://developer.yahoo.com/yui/3/api/YUI~oop.html", "group_id": 160, "id": 880979}, {"user_id": 33289, "stars": [{"date_created": 1305463328.257797, "user_id": 15507}], "topic_id": 21190, "date_created": 1305420348.5446, "message": "As a standalone, Klass does multi-inheritance, supports methods, statics, and mixins (via implements) https://github.com/ded/klass", "group_id": 160, "id": 1056665}, {"user_id": 21387, "stars": [], "topic_id": 21190, "date_created": 1305428205.359421, "message": "thanks for the references, people. :)", "group_id": 160, "id": 1057390}]
+1
View File
@@ -0,0 +1 @@
[{"user_id": 4865, "stars": [{"date_created": 1300193153.8123641, "user_id": 2341}, {"date_created": 1300204691.1569171, "user_id": 13919}, {"date_created": 1300318701.9685991, "user_id": 3795}], "topic_id": 13138, "date_created": 1300167026.6596329, "message": "Awesome JavaScript library \u2014 http://nowjs.com/", "group_id": 160, "id": 353583}, {"user_id": 4865, "stars": [], "topic_id": 13138, "date_created": 1300167069.271014, "message": "I'm really impressed how to easy I can make real-time application. Just amazing.", "group_id": 160, "id": 353585}, {"user_id": 15929, "stars": [], "topic_id": 13138, "date_created": 1300175454.629822, "message": "/me like. thanks for sharing...", "group_id": 160, "id": 353877}, {"user_id": 21387, "stars": [], "topic_id": 13138, "date_created": 1300200907.650177, "message": "does it have a \"protocol\" thing for passing data around? isn't it unsafe to allow sharing of data between client and server like this?", "group_id": 160, "id": 356883}, {"user_id": 14317, "stars": [], "topic_id": 13138, "date_created": 1300208396.1334591, "message": "I gather that the data should not be able to escape the now namespace, and if you create functions in now, they will be only run in the end that created them, so it doesn't seem unsafe by itself to me.", "group_id": 160, "id": 358589}, {"user_id": 14317, "stars": [], "topic_id": 13138, "date_created": 1300208456.973537, "message": "Though I'm sure there are lots of ways to shoot yourself in foot if you're careless.", "group_id": 160, "id": 358595}]
@@ -0,0 +1 @@
[{"user_id": 15072, "stars": [{"date_created": 1300383974.8932371, "user_id": 22486}], "topic_id": 9233, "date_created": 1298727692.3773329, "message": "I think that the interface is really cool. I believe they use wordpress as a cms, but does anyone know the details on how they built the front end? are the articles all loaded at the same time?", "group_id": 160, "id": 214175}]
@@ -0,0 +1 @@
[{"user_id": 8282, "stars": [{"date_created": 1306629040.7764461, "user_id": 1855}], "topic_id": 37203, "date_created": 1306613243.3655601, "message": "http://ongamestart.com", "group_id": 160, "id": 1213816}, {"user_id": 8282, "stars": [], "topic_id": 37203, "date_created": 1306613271.3663549, "message": "anyone here attending conf?", "group_id": 160, "id": 1213817}, {"user_id": 34055, "stars": [], "topic_id": 37203, "date_created": 1306624281.8617001, "message": "I am at least curious about it and already pregegistered", "group_id": 160, "id": 1215023}, {"user_id": 34055, "stars": [], "topic_id": 37203, "date_created": 1306704261.0039229, "message": "Just bought the ticket btw :-)", "group_id": 160, "id": 1220592}, {"user_id": 6056, "stars": [{"date_created": 1307327532.262594, "user_id": 34055}], "topic_id": 37203, "date_created": 1306830561.378211, "message": "Gamedev is currently rather my hobby than day to day job interest. But already got a ticket and expect the conference to be awesome.", "group_id": 160, "id": 1235830}]
@@ -0,0 +1 @@
[{"user_id": 34653, "stars": [], "topic_id": 37432, "date_created": 1306831593.63884, "message": "i look forward to it!", "group_id": 160, "id": 1235958}]
@@ -0,0 +1 @@
[{"user_id": 1548, "stars": [], "topic_id": 8083, "date_created": 1298393821.4443531, "message": "Anybody see any problems with this function? http://pastebin.com/c657LBLp", "group_id": 160, "id": 180290}, {"user_id": 8327, "stars": [], "topic_id": 8083, "date_created": 1298398061.62517, "message": "For the most part, seems to work ok for me; few optimisations: times == count could probably be >= and += 1 can be shortened to ++ http://pastebin.com/RxRxWPar", "group_id": 160, "id": 180914}, {"user_id": 1548, "stars": [], "topic_id": 8083, "date_created": 1298406281.318337, "message": "Thanks for the input. Agree with the ++ bit. However your modified version with <= will clear the interval timer on the first go. I think you probably meant >=. I used == because count should never be set by anything else and makes checking for > unnecessary.\n\nThis is one of those bits of code that after I've written I look at and can't help but thinking: \"surely that can't be it?! I must have missed something...\"", "group_id": 160, "id": 182360}, {"user_id": 8327, "stars": [], "topic_id": 8083, "date_created": 1298408585.806267, "message": "You're quite right, daftness on my part, I read it a few times and still manged to trip over the difference between count and times, from a readability standpoint perhaps limit might be better", "group_id": 160, "id": 182625}, {"user_id": 8327, "stars": [], "topic_id": 8083, "date_created": 1298408635.5962801, "message": "It irks me also when stuff seems trivial to the point you can't help wondering if you've overlooked something; but in this case it seems to do exactly what it says on the can", "group_id": 160, "id": 182628}, {"user_id": 1548, "stars": [], "topic_id": 8083, "date_created": 1298473430.477186, "message": "Thanks again. You're right, limit would be better. Sometimes I just hit a blank wall with my variable naming... :-p", "group_id": 160, "id": 187919}, {"user_id": 1151, "stars": [], "topic_id": 8083, "date_created": 1298516863.0988989, "message": "Might not be a huge deal but I was always under the impression that setTimeout is preferable to setInterval http://stackoverflow.com/questions/729921/settimeout-or-setinterval/731625#731625", "group_id": 160, "id": 194986}, {"user_id": 8327, "stars": [], "topic_id": 8083, "date_created": 1298572587.4040749, "message": "Guess it depends if you want the next fire to be a set time from the previous start, or previous end", "group_id": 160, "id": 200110}]
@@ -0,0 +1 @@
[{"user_id": 3224, "stars": [], "topic_id": 46843, "date_created": 1319080870.5984361, "message": "its in http://pimpmyjs.com please rate it, I released it yesterday", "group_id": 160, "id": 2389691}, {"user_id": 3224, "stars": [], "topic_id": 46843, "date_created": 1319234597.882514, "message": "no one? this app is free without any ads, give a chance, please", "group_id": 160, "id": 2403266}]
@@ -0,0 +1 @@
[{"user_id": 21209, "stars": [], "topic_id": 16517, "date_created": 1301587984.6161599, "message": "is there any other javascript libraries like requireJS? http://requirejs.org", "group_id": 160, "id": 493258}, {"user_id": 1151, "stars": [{"date_created": 1301589488.1483359, "user_id": 21209}, {"date_created": 1301590335.6391139, "user_id": 15929}, {"date_created": 1302008155.451076, "user_id": 3751}], "topic_id": 16517, "date_created": 1301588830.26386, "message": "Does this help: https://spreadsheets.google.com/ccc?key=0Aqln2akPWiMIdERkY3J2OXdOUVJDTkNSQ2ZsV3hoWVE#gid=2", "group_id": 160, "id": 493331}, {"user_id": 7376, "stars": [], "topic_id": 16517, "date_created": 1301589293.01368, "message": "Do any of them load scripts in a a sourceless iframe to protect the host page's global scope?", "group_id": 160, "id": 493371}, {"user_id": 21209, "stars": [], "topic_id": 16517, "date_created": 1301589495.4233611, "message": "@frio80 good, thanks :D", "group_id": 160, "id": 493401}, {"user_id": 7862, "stars": [], "topic_id": 16517, "date_created": 1301626972.6588161, "message": "browserify -- which is really good if you want to share code between node.js and the client -- https://github.com/substack/node-browserify", "group_id": 160, "id": 498869}, {"user_id": 7862, "stars": [], "topic_id": 16517, "date_created": 1301626930.662343, "message": "yepnope.js http://yepnopejs.com/", "group_id": 160, "id": 498864}, {"user_id": 7862, "stars": [], "topic_id": 16517, "date_created": 1301627047.5323229, "message": "I definitely recommend it if you use node.", "group_id": 160, "id": 498877}, {"user_id": 7862, "stars": [], "topic_id": 16517, "date_created": 1301627027.965169, "message": "browserify is quite new but is regularly updated by its maintainer", "group_id": 160, "id": 498873}, {"user_id": 16058, "stars": [], "topic_id": 16517, "date_created": 1301654695.558321, "message": "head.js rocks", "group_id": 160, "id": 500551}, {"user_id": 5074, "stars": [], "topic_id": 16517, "date_created": 1301674786.2089851, "message": "I'm having massive fun with yepnope. +1 from me.", "group_id": 160, "id": 503060}, {"user_id": 1548, "stars": [{"date_created": 1301686138.2821219, "user_id": 18417}], "topic_id": 16517, "date_created": 1301675149.580092, "message": "@ericmoritz I don't think any of them do. Besides, it's shouldn't be left to the loader to protect against pollution of the global scope. Most libraries will protect themselves, and it's left to you to protect your own.", "group_id": 160, "id": 503118}, {"user_id": 8282, "stars": [], "topic_id": 16517, "date_created": 1301681734.49505, "message": "I built a similar one; http://jsbuild.kodfabrik.com", "group_id": 160, "id": 504050}, {"user_id": 18417, "stars": [{"date_created": 1301706739.0686231, "user_id": 14578}], "topic_id": 16517, "date_created": 1301686172.122175, "message": "@pjburgess namespacing is our friend :)", "group_id": 160, "id": 504889}]
@@ -0,0 +1 @@
[{"user_id": 33600, "stars": [], "topic_id": 38602, "date_created": 1307530111.5341721, "message": "Which is better? Including a js file by creating the script tag dynamically or using xhr and eval?", "group_id": 160, "id": 1335650}, {"user_id": 1548, "stars": [], "topic_id": 38602, "date_created": 1307622968.9576449, "message": "I'd say script tag, since that's what it's designed for. I remember reading once that XHR + eval was a bad idea. But I am biased, as I've always thought eval to be evil.", "group_id": 160, "id": 1349253}, {"user_id": 22218, "stars": [], "topic_id": 38602, "date_created": 1307685483.4445751, "message": "eval is slow, firing up a completely new sandboxed js environment each time its used. More important to a developer though, how the heck do you debug an eval'd script? You won't get a useful line number.\n....also, since eval executes any containing code you open yourself up to code being injected onto your page.", "group_id": 160, "id": 1357671}, {"user_id": 915, "stars": [], "topic_id": 38602, "date_created": 1307688151.8037319, "message": "Well, script will execute any code as well. But still it is faster and easier to debug.", "group_id": 160, "id": 1357794}, {"user_id": 1516, "stars": [{"date_created": 1307983862.6837959, "user_id": 34055}], "topic_id": 38602, "date_created": 1307803144.7726581, "message": "<script>-tags were created for loading code. 'nuff said.", "group_id": 160, "id": 1370061}]
@@ -0,0 +1 @@
[{"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1300191922.1339829, "message": "I want to arrange a few divs with different height and width, so that it uses all accessible space. I know I saw such a script a week or two ago, but I can't find that.", "group_id": 160, "id": 355106}, {"user_id": 12179, "stars": [{"date_created": 1300194900.523993, "user_id": 14357}], "topic_id": 13160, "date_created": 1300194575.7858961, "message": "A friend of mine pointed me to masonry: http://desandro.com/demo/masonry/docs/", "group_id": 160, "id": 355548}, {"user_id": 1548, "stars": [], "topic_id": 13160, "date_created": 1300193955.066468, "message": "When you say accessible space, do you mean these divs of differing widths and heights should adjust themselves to \"fill\" the space evenly?", "group_id": 160, "id": 355461}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1300194186.3476009, "message": "Say we have 3 divs, equal width and one has a height of 10, and the others of 4, the height-10-one should be placed on the left and the other ones right to it, leaving a height of 2 left on bottom. Now when new boxes are added they should snap into the left gaps.", "group_id": 160, "id": 355497}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1300194585.3660569, "message": "This seems to do what I want.", "group_id": 160, "id": 355549}, {"user_id": 1548, "stars": [], "topic_id": 13160, "date_created": 1300200818.1003571, "message": "Oh, I see. Well then yes, Masonry probably does what you want. Never really like that kind of layout myself as when Masonry does leave larger gaps they look even more out of place than with regular floating and clearing.", "group_id": 160, "id": 356850}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1300204101.7304239, "message": "It's for a new project called note.s, I made a short video to show my first mockup: http://vimeo.com/21066141", "group_id": 160, "id": 357600}, {"user_id": 1548, "stars": [], "topic_id": 13160, "date_created": 1300285705.8247859, "message": "That's pretty cool. Could find that useful myself ;-)", "group_id": 160, "id": 366288}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1300292973.7309899, "message": "Hm...then I have to work on it. Default layout, undo, adding new notes and deleting them works. I just need to re-organize the code and implement the dropbox-backed backend thingy :)", "group_id": 160, "id": 367385}, {"user_id": 1548, "stars": [], "topic_id": 13160, "date_created": 1300375396.7783711, "message": "Perhaps also you could \"borrow\" the magic growing textbox technique from Convore for when you enter the body of the note. ;-)", "group_id": 160, "id": 374918}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1300388529.6267059, "message": "Hm, should be easily possible. I will open a new topic as soon as I get an early version released.", "group_id": 160, "id": 376680}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1302549500.5302091, "message": "thanks, @friedwishes! That's exactly what I had in mind. :)", "group_id": 160, "id": 628293}, {"user_id": 6148, "stars": [{"date_created": 1302605237.845397, "user_id": 1855}], "topic_id": 13160, "date_created": 1302549068.5602691, "message": "salivate on Isotope: http://isotope.metafizzy.co/index.html", "group_id": 160, "id": 628180}, {"user_id": 16186, "stars": [{"date_created": 1302814831.1947801, "user_id": 13919}], "topic_id": 13160, "date_created": 1302586581.720417, "message": "Isotope is the updated, newer, better, smarter, version of Masonry. http://isotope.metafizzy.co/", "group_id": 160, "id": 638307}, {"user_id": 6148, "stars": [], "topic_id": 13160, "date_created": 1302651316.7355311, "message": "@joeybaker yes it is. i just wanted to make sure Isotope was mentioned as it really rocks.", "group_id": 160, "id": 652826}, {"user_id": 12179, "stars": [], "topic_id": 13160, "date_created": 1302695848.8932569, "message": "so I replaced masonry with isotope and pushed my code to github: https://github.com/badboy/note.s", "group_id": 160, "id": 663500}]
@@ -0,0 +1 @@
[{"user_id": 1, "stars": [{"date_created": 1302134732.3300741, "user_id": 3795}, {"date_created": 1302196867.419028, "user_id": 5794}, {"date_created": 1302293808.304399, "user_id": 26065}, {"date_created": 1302343826.0907919, "user_id": 16058}, {"date_created": 1302800405.20432, "user_id": 1516}], "topic_id": 17699, "date_created": 1302134592.8746221, "message": "https://gist.github.com/906766", "group_id": 160, "id": 566540}, {"user_id": 1, "stars": [], "topic_id": 17699, "date_created": 1302134609.843354, "message": "Pretty much awesome :)", "group_id": 160, "id": 566545}, {"user_id": 1363, "stars": [], "topic_id": 17699, "date_created": 1302146255.133651, "message": "Man this is exactly what I wanted", "group_id": 160, "id": 570011}, {"user_id": 20848, "stars": [{"date_created": 1304444740.957911, "user_id": 2887}], "topic_id": 17699, "date_created": 1302184565.465703, "message": "What? You're still writing coffee/javascript?? I do all my browser scripting in node.js and it's SO awesome. @figital wrote this clean, minimal client side node interpreter : http://figital.com/j/k", "group_id": 160, "id": 575186}]
@@ -0,0 +1 @@
[{"user_id": 275, "stars": [], "topic_id": 21172, "date_created": 1303698846.313652, "message": "Having some trouble getting this to fire as expected", "group_id": 160, "id": 798199}, {"user_id": 275, "stars": [], "topic_id": 21172, "date_created": 1303698829.700228, "message": "https://gist.github.com/940081", "group_id": 160, "id": 798197}, {"user_id": 1151, "stars": [], "topic_id": 21172, "date_created": 1303700722.5246069, "message": "For one, you have the arguments ordered incorrectly. setTimeout(func, delay)", "group_id": 160, "id": 798425}, {"user_id": 275, "stars": [], "topic_id": 21172, "date_created": 1303755836.973274, "message": "*facepalm*", "group_id": 160, "id": 805776}, {"user_id": 12179, "stars": [], "topic_id": 21172, "date_created": 1303756829.87833, "message": "Hm, just curious, but why are you using \"setInterval\" in the first place if you directly clear it after the request? setTimeout seems more like what you need.", "group_id": 160, "id": 805948}, {"user_id": 275, "stars": [], "topic_id": 21172, "date_created": 1303764807.8119831, "message": "funny enough, when i went back to fix the setInterval code, I decided to do just that: used setTimeout, and if the request needs to go again, setTimeout again.", "group_id": 160, "id": 807244}]
@@ -0,0 +1 @@
[{"user_id": 24951, "stars": [], "topic_id": 44853, "date_created": 1315099419.6493709, "message": "Link http://oim.ae/nL9Yie", "group_id": 160, "id": 2040516}]
@@ -0,0 +1 @@
[{"user_id": 3580, "stars": [], "topic_id": 16831, "date_created": 1301706519.950958, "message": "so I wanna concat in the \"cat|dog|mouse\" part... any suggestions?", "group_id": 160, "id": 507069}, {"user_id": 3580, "stars": [], "topic_id": 16831, "date_created": 1301706502.5145459, "message": "my regex is like s.replace(/\\b(cat|dog|mouse)\\b/gi, \"whatevs\")", "group_id": 160, "id": 507065}, {"user_id": 3580, "stars": [], "topic_id": 16831, "date_created": 1301706468.0955231, "message": "I wanna construct a regex with some literal strings in it that I need to be dynamic...", "group_id": 160, "id": 507060}, {"user_id": 1151, "stars": [{"date_created": 1301709503.7941451, "user_id": 3580}], "topic_id": 16831, "date_created": 1301709332.42362, "message": "Something like var cat = \"cat\", dog = \"dog\"; RegExp(\"\\\\b\" + cat + \"|\" + dog + \"\\\\b\").test(\" dog \") will work.", "group_id": 160, "id": 507196}, {"user_id": 3580, "stars": [], "topic_id": 16831, "date_created": 1301709501.2031331, "message": "thanks.. yeah, the RegExp constructor is where I landed.. worked out!", "group_id": 160, "id": 507212}, {"user_id": 8327, "stars": [], "topic_id": 16831, "date_created": 1301788427.402431, "message": "var\ns = 'test string',\nlist = ['cat', 'dog', 'mouse'],\npattern = RegExp('\\\\b(' + list.join('|') + ')\\\\b', 'gi'),\ns2 = s.replace(pattern, 'whatevs');", "group_id": 160, "id": 510964}, {"user_id": 6627, "stars": [{"date_created": 1302032599.5892861, "user_id": 8327}], "topic_id": 16831, "date_created": 1301987252.055052, "message": "Surprised to see you don't need a \"new\" in there. But playing around with it, I don't see any obvious differences between what you get with \"new RegExp(...)\" and \"RegExp(...)\".", "group_id": 160, "id": 537205}, {"user_id": 8327, "stars": [], "topic_id": 16831, "date_created": 1302032887.5614991, "message": "@util You're quite right, there should be a new in there to prevent context leakage, it does still work, it's just not advisable. Nice catch.", "group_id": 160, "id": 545492}]
+1
View File
@@ -0,0 +1 @@
[{"user_id": 4935, "stars": [], "topic_id": 8212, "date_created": 1298424861.3729489, "message": "https://github.com/substack", "group_id": 160, "id": 185410}, {"user_id": 4935, "stars": [], "topic_id": 8212, "date_created": 1298424889.252769, "message": "pulling a @defunkt :p", "group_id": 160, "id": 185413}, {"user_id": 3868, "stars": [], "topic_id": 8212, "date_created": 1298431697.377383, "message": "I'm using a forked/hacked version of their node-rfb library. It's *awesome*. I have a node server that sets up a tunnel to our virtual servers and connects over vnc while providing a websocket to the browser to update the display. VERY usable!", "group_id": 160, "id": 185638}, {"user_id": 4935, "stars": [], "topic_id": 8212, "date_created": 1298432750.0961649, "message": "wow, I hadn't seen that!", "group_id": 160, "id": 185658}]
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
[{"user_id": 942, "stars": [{"date_created": 1299515759.9420791, "user_id": 11369}], "topic_id": 9913, "date_created": 1299032571.9823141, "message": "Trying Backbone.js for a variety of app styles. Thinking of an application that sends user-submitted data to an API, results are returned and stored in a set of Collections, but they are never stored server-side nor are they modified (they can't be, in this case), so the idea of Backbone.Model is almost useless .. Should one be using Backbone.js in a scenario like this? Are the other features beneficial enough if you're not using Backbone.Model?", "group_id": 160, "id": 242583}, {"user_id": 17210, "stars": [], "topic_id": 9913, "date_created": 1299034263.59513, "message": "I'd say depends on what you are doing with the data. Sounds like you would mostly be utilizing the underscore methods on collections. So backbone.js would give you all the glue between the collection and view.", "group_id": 160, "id": 242752}, {"user_id": 3210, "stars": [], "topic_id": 9913, "date_created": 1299101678.3868201, "message": "I think it's worth it for the view organization/convention alone.", "group_id": 160, "id": 253396}, {"user_id": 18757, "stars": [], "topic_id": 9913, "date_created": 1299258002.6494131, "message": "I think Backbone.js is useful of you are developing a web app that has a feature to save data online and offline. Creating google chome web app will be the best example of using Backbone.js.", "group_id": 160, "id": 271225}, {"user_id": 6648, "stars": [], "topic_id": 9913, "date_created": 1299500132.3838971, "message": "If you aren't using a client-side model to store the data then you are basically using the DOM as your model. In this way you can think of something like backbone as extracting the model from the view related code.", "group_id": 160, "id": 287116}, {"user_id": 6648, "stars": [], "topic_id": 9913, "date_created": 1299500023.4406159, "message": "If the data you are getting from the server and/or user are always viewed and interacted with in one and only one way then it may be easier to store the data in the DOM. For example, if you find yourself watching many different buttons and events to then update data in many places it may be easier to have a dedicated model.", "group_id": 160, "id": 287111}, {"user_id": 15929, "stars": [], "topic_id": 9913, "date_created": 1299506071.185884, "message": "wow, super interesting, thanks for sharing this...", "group_id": 160, "id": 287596}, {"user_id": 15929, "stars": [], "topic_id": 9913, "date_created": 1299506326.1477079, "message": "and how well does backbone sync handle offline updates / deletes?", "group_id": 160, "id": 287617}, {"user_id": 15929, "stars": [], "topic_id": 9913, "date_created": 1299506263.063931, "message": "after a quick search around, seems like there's a way to marry backbone and node, although most tutorial makes the connection through socket.io... how does it handle authentication then?", "group_id": 160, "id": 287610}, {"user_id": 8708, "stars": [], "topic_id": 9913, "date_created": 1299585980.8436029, "message": "There is no direct support for offline/sync. One possible way is to overwrite Backbone.sync to support caching.", "group_id": 160, "id": 295643}, {"user_id": 3795, "stars": [], "topic_id": 9913, "date_created": 1299715127.244252, "message": "I have to agree with using Backbone even just for the conventions and structure. If you're not used to organizing your code in a similar way, Backbone is a great place to start.", "group_id": 160, "id": 309439}, {"user_id": 4935, "stars": [], "topic_id": 9913, "date_created": 1299715908.689997, "message": "yeah, it's a pretty sweet way to organize your code. It hasn't caught on like jQuery plugins, though, so someone who's trying to write a popular piece of reusable jQuery code might be wise to go with a jQuery plugin", "group_id": 160, "id": 309501}]
@@ -0,0 +1 @@
[{"user_id": 31715, "stars": [], "topic_id": 32541, "date_created": 1306772772.479039, "message": "http://i.imgur.com/iYHkt.jpg Current topic headline and content box mismatch. Waited for update that never came.", "group_id": 160, "id": 1228789}, {"user_id": 31715, "stars": [], "topic_id": 32541, "date_created": 1306772923.953923, "message": "@equinox Re: Discover crash. No, but there does seem to be something with discover. Will try to get better steps to reproduce.", "group_id": 160, "id": 1228813}]
@@ -0,0 +1 @@
[{"user_id": 3751, "stars": [{"date_created": 1303775179.0578499, "user_id": 31031}], "topic_id": 11964, "date_created": 1299759162.862165, "message": "same as how you learn other languages: use it to write code to solve real problems", "group_id": 160, "id": 312788}, {"user_id": 19826, "stars": [], "topic_id": 11964, "date_created": 1299766941.671175, "message": "re-invent the wheel a little, write a small jquery clone to understand the language. Or a testing framework. Thats how I learn nodejs and javascript https://github.com/garrensmith/Jody", "group_id": 160, "id": 313479}, {"user_id": 20229, "stars": [], "topic_id": 11964, "date_created": 1299839190.1985819, "message": "Really modern and cool written with fantastic visual layout.", "group_id": 160, "id": 321107}, {"user_id": 20229, "stars": [], "topic_id": 11964, "date_created": 1299839212.1972649, "message": "ISBN-13: 978-0-321-57260-8", "group_id": 160, "id": 321108}, {"user_id": 20229, "stars": [], "topic_id": 11964, "date_created": 1299839174.6757269, "message": "I highly recommend the book: Scriptin' with Javascript and AJAX by Charles Wyke-Smith", "group_id": 160, "id": 321106}, {"user_id": 13919, "stars": [], "topic_id": 11964, "date_created": 1299878795.8011129, "message": "@voodootikigod hadn't seen Eloquent JavaScript (http://eloquentjavascript.net/) before. Thx!", "group_id": 160, "id": 327310}, {"user_id": 13919, "stars": [{"date_created": 1300041352.3884439, "user_id": 2887}, {"date_created": 1303775135.5118799, "user_id": 31031}], "topic_id": 11964, "date_created": 1299878292.0015121, "message": "Over the last few months I've been reviewing JavaScript books for a client (love my job!) I've read JavaScript Patterns (http://oreilly.com/catalog/9780596806767), Object-Oriented JavaScript (https://www.packtpub.com/object-oriented-javascript-applications-libraries/book), High Performance JavaScript (http://oreilly.com/catalog/9780596802806), JavaScript the Good Parts (http://oreilly.com/catalog/9780596517748), and jQuery in Action 2nd Edition (http://www.manning.com/bibeault2/). Of these I would recommend OO JavaScript as your first book, and JavaScript Patterns for some best practices. Beyond that High Performance was very rewarding but assumes you have a comprehensive understanding of JS and working with the DOM. Good-luck!", "group_id": 160, "id": 327173}, {"user_id": 2042, "stars": [{"date_created": 1299878797.8686891, "user_id": 13919}, {"date_created": 1299904604.107198, "user_id": 12775}, {"date_created": 1300026911.6553071, "user_id": 10423}], "topic_id": 11964, "date_created": 1299878351.8453059, "message": "Eloquent JavaSCript", "group_id": 160, "id": 327188}, {"user_id": 1775, "stars": [], "topic_id": 11964, "date_created": 1299914769.1798871, "message": "Eloquent Javascript, also check out the YUI Theatre videos by Douglas Crockford (http://goo.gl/YFOm - and others, of course). Then, I recommend \"Javascript: The Good Parts\", as well.", "group_id": 160, "id": 330718}, {"user_id": 8282, "stars": [], "topic_id": 11964, "date_created": 1299977181.1787169, "message": "guess eloquentjavascript and the fresh one, javascript garden is the best way to start", "group_id": 160, "id": 337916}, {"user_id": 8327, "stars": [], "topic_id": 11964, "date_created": 1299979552.156657, "message": "I'd skip JS garden until you have a rudimentary working knowledge of JS itself or, at the very least, prototypical langauges. It focuses very much on the intricacies of the language, but requires you to have a pretty decent knowledge of the basics", "group_id": 160, "id": 338127}, {"user_id": 16058, "stars": [{"date_created": 1303775173.368634, "user_id": 31031}], "topic_id": 11964, "date_created": 1300008376.554384, "message": "After learning the basics, read Javascript Performance Rocks: http://javascriptrocks.com/performance/", "group_id": 160, "id": 339747}, {"user_id": 25019, "stars": [{"date_created": 1301131793.403096, "user_id": 16058}], "topic_id": 11964, "date_created": 1301020875.441304, "message": "The trouble with Eloquent JavaScript is that the author's real-life code is not very eloquent.", "group_id": 160, "id": 434288}]
@@ -0,0 +1 @@
[{"user_id": 27233, "stars": [{"date_created": 1303495334.328059, "user_id": 8765}, {"date_created": 1303775005.3866091, "user_id": 31031}], "topic_id": 16213, "date_created": 1301745948.9334509, "message": "Well, surely dailyjs.com, jsmag.com and ajaxian.com. A look at thechangelog.com is also a good idea and for my experience, you have a good chance to catch some useful information by following some people in the JavaScript or jQuery community, via twitter.", "group_id": 160, "id": 508471}, {"user_id": 8327, "stars": [{"date_created": 1302068395.1237371, "user_id": 16810}, {"date_created": 1304600984.390558, "user_id": 6520}], "topic_id": 16213, "date_created": 1301787394.004549, "message": "I quite like http://www.aminutewithbrendan.com/ for hearing about possible upcoming features and process behind the language specs", "group_id": 160, "id": 510898}, {"user_id": 16058, "stars": [{"date_created": 1302585803.46281, "user_id": 3210}], "topic_id": 16213, "date_created": 1301789326.8441091, "message": "My github dashboard :-) also The Chagelog, Twitter, Javascript Weekly", "group_id": 160, "id": 511050}, {"user_id": 15929, "stars": [{"date_created": 1303495337.004524, "user_id": 8765}], "topic_id": 16213, "date_created": 1301808329.346437, "message": "http://badassjs.com/", "group_id": 160, "id": 512177}, {"user_id": 3795, "stars": [{"date_created": 1302019303.1102321, "user_id": 22451}, {"date_created": 1302264346.751061, "user_id": 7912}], "topic_id": 16213, "date_created": 1302019068.6469481, "message": "I also like dailyjs.com", "group_id": 160, "id": 542566}, {"user_id": 13919, "stars": [{"date_created": 1304444856.2695689, "user_id": 2887}], "topic_id": 16213, "date_created": 1302632041.9400699, "message": "+1 for the Javascript Weekly", "group_id": 160, "id": 647114}, {"user_id": 4240, "stars": [], "topic_id": 16213, "date_created": 1302634092.4787221, "message": "I really like http://addyosmani.com/ and http://www.jsmag.com/", "group_id": 160, "id": 647529}, {"user_id": 28328, "stars": [], "topic_id": 16213, "date_created": 1302634270.443666, "message": "http://ajaxian.com", "group_id": 160, "id": 647553}, {"user_id": 2887, "stars": [], "topic_id": 16213, "date_created": 1304445073.1949639, "message": "http://net.tutsplus.com/articles/web-roundups/30-developers-you-must-subscribe-to-as-a-javascript-junkie/", "group_id": 160, "id": 900845}, {"user_id": 20173, "stars": [], "topic_id": 16213, "date_created": 1304564527.619077, "message": "functionsource.com is a new favourite of mine.", "group_id": 160, "id": 923270}, {"user_id": 31125, "stars": [{"date_created": 1304625738.460129, "user_id": 13919}], "topic_id": 16213, "date_created": 1304586654.514483, "message": "www.functionsource.com is great :) thx for the link", "group_id": 160, "id": 926729}]