Profile cover photo
Profile photo
Gaurav Meena
710 followers -
Software Engineer, Web Designer, Developer, Poet, Day Dreamer, INTJ
Software Engineer, Web Designer, Developer, Poet, Day Dreamer, INTJ

710 followers
About
Gaurav's posts

Post has shared content
Monkey Testing Library

gremlins.js is a monkey testing library written in JavaScript, for Node.js and the browser. Use it to check the robustness of web applications by unleashing a horde of undisciplined gremlins.

While developing an HTML5 application, did you anticipate uncommon user interactions? Did you manage to detect and patch all memory leaks? If not, the application may break sooner or later. If n random actions can make an application fail, it's better to acknowledge it during testing, rather than letting users discover it.

Gremlins.js simulates random user actions: gremlins click anywhere in the window, enter random data in forms, or move the mouse over elements that don't expect it. Their goal: triggering JavaScript errors, or making the application fail. If gremlins can't break an application, congrats! The application is robust enough to be released to real users.

This practice, also known as Monkey testing, is very common in mobile application development. Now that front-end (MV*, d3.js, Backbone.js, Angular.js, etc.) and back-end (Node.js) development use persistent JavaScript applications, this technique becomes valuable for web applications.

Image / Source / Download:
https://github.com/marmelab/gremlins.js

License:
The MIT License (MIT)
http://www.opensource.org/licenses/mit-license.php
https://github.com/marmelab/gremlins.js/blob/master/LICENSE
Animated Photo

Post has attachment

Post has shared content
There's a new Aviation site in the Stack Exchange network. Pilots, mechanics & flying enthusiasts, check it out:

Post has attachment

Post has shared content
Recommended JavaScript Style Guides & Beautifiers

For developers interested in improving the code style consistency of the JavaScript they write, I'm happy to recommend the following style guides:

1. Idiomatic.js https://github.com/rwldrn/idiomatic.js/ (highly recommended, very comprehensive and includes contributions by +Rick Waldron , +Mathias Bynens and more)

2. jQuery Core Style Guide http://docs.jquery.com/JQuery_Core_Style_Guidelines (used by jQuery core, QUnit and many other projects)

3. Google JavaScript Style Guide - http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml with some further comments http://blog.founddrama.net/2010/08/annotated-google-javascript-style-guide/

4. Dojo Style Guide http://dojotoolkit.org/community/styleGuide (another very comprehensive alternative)

5. Aloha Editor JavaScript Style Guide http://aloha-editor.org/guides/style_guide.html (recommends jQuery style guide, but has some useful additions)

* I've reviewed all of the above and discarded other guides that were either entirely too brief/vague or not that useful at all (e.g the GitHub JS style guide).

Beautifiers

Whilst maintaining consistent style while writing your code is extremely important, it can also be useful to use a formatter or beautifier to enforce style rules for you.

The first tool I recommend playing with is called CodePainter (https://github.com/fawek/codepainter). This is a JavaScript beautifier that can infer coding style from a sample you provide it (so rather than giving it a complete style guide, give it a sample with the rules already enforced and it can do the rest).

I can also recommend jsbeautifier.org, which most people are already aware of. One of the nice things about it is that you can plug it into your favorite code editor (e.g SublimeText https://github.com/kriswill/sublime-text-jsbeautifier), use it in a Chrome extension or in a bunch or other ways.

Hope these are useful!

Post has shared content
Good project..usable with few lines
This is not a software as it is in the cloud (a webapp)
I then put it here in "Uncategotized" 
but it has a layer which is open-source API in javascript for newbies in programming and computer vision

#Computer_Vision  
#Community  
#Saas  

it is weird that this kind of project does not take of....
What do you (actually) think about it ?

I have post numerous (yes, but this is not spam) because the team was credited on 'nuitsblanches blogspot" and as they have incredible references (the creator works in the field of CV and Machine Learning for Google and so on ...  

I back the project because it will have a community about it and is not expensive.

Post has shared content

Post has shared content

Post has shared content
John and Darrel gave a wonderful presentation on making Chrome Apps with AngularJS this morning.  Highlights included:
* Differences when converting from a traditional Angular app
* Angular-specific considerations in Chrome Apps
* Solutions for puzzles you may encounter in Chrome Apps with respect to local storage, sockets, and security.

And they wrap it up with a great podcast example app that you'd actually want to use.

Slides with links to GitHub repos are at http://goo.gl/o4hRgG
Wait while more posts are being loaded