Sunday, November 29, 2015

System.Numerics.Vectors

System.Numerics.Vectors

System.Numerics.Vectors is a library of vector types that can take advantage of SIMD hardware-based acceleration. Hardware acceleration can result in significant performance improvements in mathematical, scientific, and graphics programming. System.Numerics.Vectors includes 2-dimensional, 3-dimensional, and 4-dimensional vectors of type Single. The generic Vector<T> structure allows you to create a vector of any primitive numeric type. (The primitive numeric types include all numeric types in the System namespace except for Decimal.) In addition, the Vector class provides a library of convenience methods that you can call when working with vectors. Also, System.Numerics.Vectors includes two matrix types: Matrix3x2, which represents a 3x2 matrix; and Matrix4x4, which represents a 4x4 matrix. In addition, System.Numerics.Vectors includes a Plane type and a Quaternion type.



Note 1: Vector<T> Structure represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. 

Note 2: System.Numerics.Vectors.WindowsRuntime provides extension methods for converting between System.Numerics.Vector2 and Windows.Foundation.Point and Size. Its commonly used type is: System.Numerics.VectorExtensions.

SIMD

SIMD

SIMD is short for Single Instruction/Multiple Data, while the term SIMD operations refers to a computing method that enables processing of multiple data with a single instruction. SIMD is a class of parallel computers in Flynn's taxonomy. It describes computers with multiple processing elements that perform the same operation on multiple data points simultaneously. Thus, such machines exploit data level parallelism, but not concurrency: there are simultaneous (parallel) computations, but only a single process (instruction) at a given moment. SIMD is particularly applicable to common tasks like adjusting the contrast in a digital image or adjusting the volume of digital audio. Most modern CPU designs include SIMD instructions in order to improve the performance of multimedia use.


Flynn's Taxonomy

Flynn's Taxonomy

Flynn's taxonomy is a classification of computer architectures as in the following::

Single instruction stream     Multiple instruction streams     Single program     Multiple programs
Single data streamSISDMISD
Multiple data streamsSIMDMIMDSPMDMPMD

Friday, November 27, 2015

CSRF Protection: When It Breaks, It Breaks Very Quietly

CSRF Protection: When It Breaks, It Breaks Very Quietly

Cross-site request forgery (CSRF) is tricking the browser with a malicious (or compromised) site B to access something on site A.  Since requests for site A would include site A's cookie whether requested by A or not, an image tag or embedded JavaScript on site B can submit some requests on site A that a logged-in user can do, like accessing private info with the appropriate POST parameters to make it happen. Rails has a mechanism that defends against CSRF: all one should to do is include a few lines of code as:

class ApplicationController < ActionController::Base
  protect_from_forgery
end

class FooController < ApplicationController
  protect_from_forgery except: :index

Rails will then basically generate cryptographically secure random number, totally transparently to the developer; it is called the CSRF token.

AJAX To Send CSRF Token Authenticity

AJAX To Send CSRF Token Authenticity

To send CSRF (XSRF) token authenticity in all AJAX requests:

$.ajaxSetup({
     headers: { 
 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content') 
 }});

Tuesday, November 24, 2015

Mad Mobile Acquires KidoZen

Mad Mobile Acquires KidoZen 
Gartner Cool Vendor 2015 for Mobile App Development

TAMPA, Fla., Nov. 23, 2015 /PRNewswire/ --Mad Mobile, Inc. announced that it has acquired the assets of KidoZen, Inc., a company recognized by Gartner as a Cool Vendor for Mobile App Development in 2015.

The KidoZen mobile platform currently powers enterprise mobile applications for Citrix, Koch Industries, JM Family Enterprises, IFF, Bell & Howell, and other leading companies.

Mad Mobile plans to integrate the KidoZen technology with its proven Mad.X platform to offer the most powerful mobile-first platform on the market featuring:

Instant mobile integration with Oracle, SAP, IBM, Microsoft SharePoint, Salesforce and 50+ other enterprise systems. More data connectors than any other platform. Unique mobile data orchestration, optimization, and atomization Mobile UI builder with starter templates Plug-in mBaaS services for mobile functions Comprehensive analytics to measure API and app performance Enterprise App Store for public and private app distribution

The KidoZen platform enhances Mad Mobile's capability to offer its customers a choice of delivery models: full-service, self-service, hybrid, cloud or on-premise. Mad Mobile builds complex, highly transactional mobile applications for top companies such as Sysco, AutoNation, Major League Baseball, Payless Shoesource, and Aeropostale.

In conjunction with the closing of the transaction, core members of the KidoZen team including a development group located in Buenos Aires, Argentina will transition to Mad Mobile, while service for KidoZen customers will be uninterrupted.

"This is a very exciting day for our company and customers. Our combined technologies will enable us, and our customers, to build enterprise applications faster and better than ever," said Bruce Bennett, Chief Executive Officer of Mad Mobile.

About Mad Mobile, Inc.: Mad Mobile powers mobile experiences for the Global 2000. Our solutions span multiple omnichannel touchpoints including smartphone, tablet, apps, and in-store experiences. Mad Mobile is recognized by Gartner and Forrester as a leader in full service mCommerce platforms. Mad Mobile has experienced rapid growth since inception with an impressive client list of global brands. Mad Mobile is a disruptive force in enterprise mobility. The company is privately held. www.madmobile.com

About KidoZen, Inc.: KidoZen was founded in December 2011 to democratize enterprise mobility by providing the fastest, most affordable and secure way to deploy enterprise mobile applications. Over its short time in the market, KidoZen received over $6 Million in venture capital funding and has been recognized by Gartner and Forrester as a leader in the Mobile Enterprise space. KidoZen launched the industry's first enterprise Mobile Backend as a Service (MBaaS) in February 2013 and set the pace of the industry by delivering a next-generation enterprise mobile app platform for end-to-end mobile application management.

SOURCE Mad Mobile, Inc.

Monday, November 23, 2015

iAd Producer

iAd Producer

iAd Producer offers a single-window interface for viewing and editing layouts and settings of iAd rich media ad projects. It gives each access to project templates with pre-built structure including banners, splash pages, and menus.
iAd Producer includes:
    * A single-window interface for viewing and editing layouts and settings
    * Project templates with pre-built structure including banners, splash pages, and menus
    * An extensive library of interactive elements
    * Sophisticated object animation tools
    * Advanced JavaScript code editing and debugging
    * Simulation for Mac and iOS devices