background preloader

Programming

Facebook Twitter

Free Code Metrics for Visual Studio Professional. Introduction Recently my superior requested to report some code metrics from my team.

Free Code Metrics for Visual Studio Professional

Unfortunately, Visual Studio professional was used by me and team members. This version does not provide ready to use tools for collecting these statistics. TFS server was not used either. Note: The explanation for metrics are taken from Wikipedia and extension developer's blog. Background and Solution I have reviewed a number of extensions for Visual Studio Professional, and have stopped on the following combination: Tool to collect characteristics: Visual Studio Code Metrics PowerTool 10.0, by Microsoft Corporation This is the command line tool, that analyzes code in your solution code and provides 5 important quantitative characteristics for Project Manager / Team leader.

Maintainability Index This metric originally is calculated as follows: Maintainability Index = 171 - 5.2 * ln(Halstead Volume) - 0.23 * (Cyclomatic Complexity) - 16.2 * ln(Lines of Code) Cyclomatic Complexity Depth of Inheritance. Apriori Algorithm. Download Source Code Introduction In data mining, Apriori is a classic algorithm for learning association rules.

Apriori Algorithm

Apriori is designed to operate on databases containing transactions (for example, collections of items bought by customers, or details of a website frequentation). Other algorithms are designed for finding association rules in data having no transactions (Winepi and Minepi), or having no timestamps (DNA sequencing). Overview The whole point of the algorithm (and data mining, in general) is to extract useful information from large amounts of data.

Support: The percentage of task-relevant data transactions for which the pattern is true. Support (Keyboard -> Mouse) = Confidence: The measure of certainty or trustworthiness associated with each discovered pattern. All The Cheat Sheets That A Web Developer Needs. 30 free programming eBooks - citizen428.blog() Since this post got quite popular I decided to incorporate some of the excellent suggestions posted in the comments, so this list now has more than 50 books in it.

30 free programming eBooks - citizen428.blog()

BTW: I’m not very strict on the definition of “ebook”, some of them are really just HTML versions of books. [UPDATED: 2012-01-18] Learning a new programming language always is fun and there are many great books legally available for free online. Here’s a selection of 30 of them: Lisp/Scheme:Common Lisp: A Gentle Introduction to Symbolic ComputationHow to Design ProgramsInterpreting Lisp (PDF, suggested by Gary Knott)Let Over LambdaOn LispPractical Common LispProgramming in Emacs LispProgramming Languages.

Ruby:The Bastards Book of Ruby (suggested by Dan Nguyen)Clever Algorithms (suggested by Tales Arvelos)Data Structures and Algorithms with Object-Oriented Design Patterns in RubyLearn Ruby the Hard WayLearn to ProgramMacRuby: The Definitive GuideMr. Interpreted Languages: PHP, Perl, Python, Ruby (Sheet One) - Hyperpolyglot. A side-by-side reference sheet sheet one: version | grammar and execution | variables and expressions | arithmetic and logic | strings | regexes | dates and time | arrays | dictionaries | functions | execution control | exceptions | threads sheet two: streams | asynchronous events | files | file formats | directories | processes and environment | option parsing | libraries and namespaces | objects | inheritance and polymorphism | reflection | net and web | gui | databases | unit tests | logging | debugging sheet two: streams | asynchronous events | files | directories | processes and environment | option parsing | libraries and namespaces | objects | inheritance and polymorphism | reflection | net and web | gui | databases | unit tests | logging | debugging version used The versions used for testing code in the reference sheet. show version How to get the version. php: The function phpversion() will return the version number as a string.

Interpreted Languages: PHP, Perl, Python, Ruby (Sheet One) - Hyperpolyglot

6 Books Every Programmer Should Own. I’ve seen many lists about the best programming books and I am sure there are a lot of books that are specific to a programming knowledge or technology – that I have not included in my list.

6 Books Every Programmer Should Own

The books I have chosen are those that are meant to inspire, increase productivity and improve your programming design skills. Note: This list has no particular order. Code Complete 2 Steve McConnell The main focus of this book to help you improve your programming design skills. The Pragmatic Programmer: From Journeyman to Master Andrew Hunt and David Thomas This book focuses on the best practices of programming (i.e. what you should and should not do). How to Design Programs: An Introduction to Computing and Programming. Sort any vector easy and clean with one line of code. Editing. Editing refers to the changing of a page by a Wikimedia user.

Editing

Unless certain restrictions are in effect, such as protection, all pages are editable, by everyone. This is a brief overview of that process. For more information see the links below. Most frequent Wiki markup explained Restrictions Some pages cannot be edited by everyone. If a page is semiprotected, it can be edited by everyone except IPs and accounts that have not yet been confirmed.If a page is fully protected, only other admins can make edits to the page.A page can also be protected so that it cannot be moved.In some cases, an admin might see fit to protect a page from being created.For very rare pages, such as the Main Page, "cascading" protection is applied, wherein every page that is transcluded onto a page is protected too.

There are various reasons why a page might be protected. Further readings Editing help. A trip through the Graphics Pipeline 2011: Index « The ryg blog. Drive SDK. Advanced Bash-Scripting Guide. Codecademy Labs. YouTube Playlists for Learning Programming. YouTube has been very good platform for learning any thing.

YouTube Playlists for Learning Programming

Earlier you have seen 400+ courses on YouTube and 130+ NPTEL courses. There are few more courses especially about computer programming. These are contributed by various individuals. These videos are of short time around 10 to 12 min each, created keeping basic learners in the mind. These videos covers from basics like installing IDE to writing complex programs covering every topic. thenewboston: thenewboston is a great youtube channel, has more than 2o playlists covering topics Python, C, Java, iPhone development and web programming like HTML, CSS, PHP.

Xoax.net Xoax has more than 200 videos but mainly focuses on C++. PHPacademy As the name suggests, it focuses mainly on PHP and some on MySql. There are more videos on small projects like writing your own search engine for your database, pagination, creating a rating system etc… Documentation search engine. Twitter open-sources its MySQL tweaks. How To Set Up SSH Encrypted MySQL Replication. 70 Things Every Computer Geek Should Know. The term ‘geek’, once used to label a circus freak, has morphed in meaning over the years. What was once an unusual profession transferred into a word indicating social awkwardness. As time has gone on, the word has yet again morphed to indicate a new type of individual: someone who is obsessive over one (or more) particular subjects, whether it be science, photography, electronics, computers, media, or any other field.

A geek is one who isn’t satisfied knowing only the surface facts, but instead has a visceral desire to learn everything possible about a particular subject. A techie geek is usually one who knows a little about everything, and is thus the person family and friends turn to whenever they have a question. If you’re that type of person and are looking for a few extra skills to pick up, or if you’re a newbie aiming to get a handhold on the honor that is geekhood, read on to find out what skills you need to know. How to become a real computer Geek?

How I Explained REST to My Wife. Example using bison and flex with cygwin on Windows. What Great .NET Developers Ought To Know (More .NET Interview Questions) Learn Python The Hard Way, 2nd Edition — Learn Python The Hard Way, 2nd Edition. C programming.com - Learn C and C++ Programming. Agile Testing Challenges - Broken Builds.