background preloader

Rosetta Code

Rosetta Code

Related:  Logiciels, Libraries...SoftwareProgrammingprogrammingprogramming

Introduction to UML2 Profiles Copyright 2004, 2008 International Business Machines Corp. Summary This article describes how to work with profiles using the UML2 plug-ins for Eclipse. In particular, it gives an overview of how to create and apply profiles (and their contents) both programmatically and by using the sample UML editor Kenn Hussey, IBM (Updated: for Eclipse 3.4; James Bruck) Prerequisites CWE - 2011 CWE/SANS Top 25 Most Dangerous Software Errors Summary Discussion Salt might not be good for your diet, but it can be good for your password security. Instead of storing passwords in plain text, a common practice is to apply a one-way hash, which effectively randomizes the output and can make it more difficult if (or when?) 25 Websites that Challenge and Sharpen Your Programming Skills with Puzzles If you have ever used a mentor or an instructor to learn your programming language, I bet, you would still remember the days when you were asked to solve some of the problem sets that look similar to ones that are below - Print sum of first 100 numbersPrint first 50 Fibonacci numbersCheck if a number is a prime I believe the whole point of these exercises is to help you improve your programming, problem solving and logical thinking skills. Also, when you’re familiarizing yourself with a new programming language, solving puzzles in that language can help speed up the learning process. I tried avoiding the website that target a specific programming language.

mocl: Lisp for iPhone/iOS, Android, and other mobile platforms mocl is built around the idea that your application logic should live in Lisp, and your user interface code should be fully native to the platform — Obj-C or Java in the case of iOS and Android. This is not unlike the web, where your server logic is in one language (hopefully Lisp), and the client logic is in HTML/JavaScript. For example: We set up (using Apple's Xcode) an Objective-C event handler called onDoneTap that triggers when the 'Done' button is tapped. - (IBAction)onDoneTap:(id)sender { [[self view] endEditing:YES]; update_contact([_txtName text], [_txtMobile text], [_txtEmail text]); save_contacts(); ...

MIM-104 Patriot The MIM-104 Patriot is a surface-to-air missile (SAM) system, the primary of its kind used by the United States Army and several allied nations. It is manufactured by the U.S. defense contractor Raytheon and derives its name from the radar component of the weapon system. The AN/MPQ-53 at the heart of the system is known as the "Phased Array Tracking Radar to Intercept On Target" or the bacronym PATRIOT. The Google Search Engine" Does Whatever a Spider Can and Hitting the Links A search engine spider does the search engine's grunt work: It scans Web pages and creates indexes of keywords. Once a spider has visited, scanned and categorized a page, it follows links from that page to other sites. The spider will continue to crawl from one site to the next, which means the search engine's index becomes more comprehensive and robust.

Protovis Protovis composes custom views of data with simple marks such as bars and dots. Unlike low-level graphics libraries that quickly become tedious for visualization, Protovis defines marks through dynamic properties that encode data, allowing inheritance, scales and layouts to simplify construction. Protovis is free and open-source, provided under the BSD License. It uses JavaScript and SVG for web-native visualizations; no plugin required (though you will need a modern web browser)!

State of the Computer Book Market, part 4: The Languages In this fourth post (see posts one, two and three) on the State of the Computer Book Market, we will look at programming languages and drill in a little on each language area. Overall, the market for programming languages was up slightly at 1.15% in 2011 when compared with 2010. There were 6,435,247 units sold in 2011 versus 6,361,178 units sold in 2010, which is an increase of 74,069 additional units. Java was the biggest language again and experienced healthy growth of 13.46% or 33,930 more units in 2011 than 2010, while PHP occupied the opposite end with the biggest decrease at -26,994 fewer units year-over-year or a -22.50% rate of change. Before we begin to drill in on the languages, we thought it would be best to explain our “language dimension.”

machine learning in Python "We use scikit-learn to support leading-edge basic research [...]" "I think it's the most well-designed ML package I've seen so far." "scikit-learn's ease-of-use, performance and overall variety of algorithms implemented has proved invaluable [...]." "For these tasks, we relied on the excellent scikit-learn package for Python." "The great benefit of scikit-learn is its fast learning curve [...]" Why Lisp The most amazing thing is what Lisp ended up being out of pure serendipity. John Mc Carthy was going after a universal function that would compete or replace a Turing Machine. But when S.R. Russell noticed that eval could serve as an interpreter for LISP, and promptly coded it -- against John Mc Carthy's advice and wishes, we ended up with a very special programming language, where code is always data, and data can be code, where a simple interpreter and a handful of primitives define a powerful language: (define (eval exp env) (cond ((self-evaluating? exp) exp) ((variable?

Related:  ProgrammingProgrammingSoftware and coding