Facial recognition in Apple and Android

Now the Apple in moving one more step forward in iOS devices. Now we no need to remember password/pin protection of lock screen. Apple is planning to give better feature for iOS (iPhone, iPad and iPod) users. The new feature is protecting your phone  with users face recognition. to log-in just bring iOS device Camera close to your face. it will capture your face and start scanning/checking process if all ok then it’ll shows your home screen. This is easy, quick and plan-less way of protection to your phone, bit interesting….!

Facial recognition in Apple iOS and Android Ice Cream Sandwich

Facial recognition in Apple iOS and Android Ice Cream Sandwich

There are few Rumors about Ice Cream Sandwich (latest version of Android), it is also comes with this facial recognition feature.

Microsoft Visual Studio 2010 Service Pack 1 now available

Microsoft Visual Studio 2010 Service Pack 1 out with list of new features and improvements. Now you can download the SP1 for Microsoft website.

Download VS 2010 SP1 from here http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5&displaylang=en

VS 2010 SP1 Published Date : 3rd March 2011

Tips on installing Visual Studio 2010 SP1 http://weblogs.asp.net/jgalloway/archive/2011/03/09/tips-on-installing-visual-studio-2010-sp1.aspx

Microsoft Visual Sutdio SP 1

Here I just listed few, You can get more details http://support.microsoft.com/kb/983509

HTML5 and CSS3 support

Preliminary support is added for HTML5 to the HTML editor so that you can obtain IntelliSense and validation for HTML elements and attributes. A complete version that brings a fuller HTML5 experience will be provided in a future version of Visual Studio. Details here http://blogs.msdn.com/b/webdevtools/archive/2011/01/27/html5-amp-css3-in-visual-studio-2010-sp1.aspx

HTML Designer

Style sheets that are external to a web application are not applied in Visual Studio .NET 2010 IDE design view.

HTML Designer cannot be used as expected to design web pages.

WCF RIA Services V1 SP1 included

XAML Editor/Designer

1) Go To value definition

2) Style IntelliSense

3) Data source selector

4) Advanced grid commands

5) New Thickness Editor

6) Sample data support

7) Increased stability

ASP.NET

The BACKSPACE key and the ARROW keys do not work.

Devenv.exe crashes, and an Access Violation error occurs, during *.js auto-formatting.

Problems in the “Format Document” command in the JScript Code Editor.

The JScript object member is not listed in IntelliSense when the object member contains a $ character.

JScript Editor

Extra space is added under the code when the Keep tabs option is selected.

Indentation is incorrect for empty object literals.

The JScript function formatting option Parens does not function as “worded parentheses.”

C#

An Access Violation occurs when you debug a C# structure that has about 500 fields.

Designers may not correctly qualify types in code that is emitted.

Visual Studio 2010 crashes when it writes code at design time.

The MVC3 Razor release candidate may cause an invalid code block indention when the release candidate autoformats a document .

F#

Visual Studio 2010 SP1 fixes issues with stability of the compiler and code correctness for generated code.

T4

Visual Studio 2010 SP1 contains the following improvements:

Customize or extend T4 templates by using template inheritance

SQL

Data-Tier Application Project: Data-Tier Application Framework Version 1.1

Visual Studio 2010 SP1 contains the following improvements:

DAC upgrades are supported on SQL Azure and on SQL Server.

DAC upgrades are now in-place instead of side-by-side.

Code Analysis

Managed Code Analysis (FxCop) now installs on x64 TeamBuild servers.

C++

Performance and stability improvements

More efficient memory management

Other IDE improvements to prevent user interface (UI) freezes and crashes

Performance improvement for the F12 (Goto Definition) function key on large projects.

get more details http://support.microsoft.com/kb/983509

SP1 download link is here http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5&displaylang=en

Source : microsoft.com via scottgu tiwtter

Microsoft and Microsoft logo’s are trademarks of Microsoft Corporation.

Enjoy while coding..!

Thanks,

Naga Harish.

Things to remember while code for file uploads in web app

This is just for beginners!, If we write code for file upload in web app we must follow few things, for example file size, type of file and best to restrict file types. Please check in detail with below points.
File size:-
We must check with file size. Otherwise some users may full you hard disk by uploading big size files. So, it is best to restrict the size of file.
Better understand with one example:- If in you web site your given option for upload profile image. So, user can upload (JPG,PNG, GIF ..) file for his profile image. He can upload big size image which are more than 3MB and more. For small profile image he upload 3 MB file..!, of course we can reduce the size in our code by reducing file size to (100×100 or 70×60 or….).

Deny executable file type(no .exe) :-
It is best to deny executable file upload. Because Exe file may have virus, that may affect your server or your client system! So, it is best to dent those file uploads.

Find file mime type* :-
One important thing we need to remember is it is best to know mimetype, because in our site we have given option to upload any type of file (aspx, ashx, php, jsp …). And we have given direct access to download folder. They hacker may attack your server. Let me tell with example..
I created one simple website to upload files and download those files. So, user uploaded file (Test.txt) will be stored in folder called “Downloads”. Then if the user want to download that file he just browse the path for example http://localhost/simplewebsite/downloads/test.txt. It will display the text content. If the use uploaded ASPX file in ASP.NET web site or PHP file in PHP web site. Then browse that file, it will executes the inside code (http://localhost/simplewebsite/downloads/hack-delete-file.php). Inside code the user wrote some code to delete the files of sites? . So, it is best to find mimetype and if those are text files then add .txt at the end.

Best restrict file types :- Restrict the file type if you don’t want to allow the use to upload more type of files. For example if the use want to upload file to is profile image then allow only image type files. Don’t allow them to upload other type of files (other than jpg, gif, bmp, png and …).

Validate in Client side :-
Validate in client side to get rich internet experience. Checking file types and showing alert message to user!

Verify in server side* :- Very important to verify in server side, checking file type again in server side and file size.. Because some type JavaScript my ignored(escaped) in client side validation.
Remember those thing if your creating simple website. Mostly all CMS systems (Kentico CMS, WordPress and ..) are look those things by default.
I hope this is helpful for beginners!

Enjoy while coding..!

Thanks,
Naga Harish.

Follow

Get every new post delivered to your Inbox.

Join 109 other followers