Posts

email Regular Expression

From long time, I've been looking out for a better regular expression for my web application. Every time, I adjust with some freely available expressions and complete the work. But this time, I've decided as not to compromise with what I get for free. And started writing my own expression. My email validator should justify all the following conditions.. 1) it should restrict the user name length between 4 to 50 characters length - {3,50} 2) it should allow dots, underscore, hyphen. But not as starting point - [-.\w] 3) it should allow numerical as well as alphabetic characters of both cases - [0-9a-zA-Z] 4) it should contain one dot after one @ 5) all the chars after @ should be at least 2 characters length and may be up to 20 characters consisting of alphanumeric with both cases After doing all kinds of R&D, concluded as below. Correct me if am mistaken. And extend if you have any further to add --------------------------------------------- ^(([0-9a-zA-Z]([-.\w]*[...

.NET 4.0 & VS 2010 CTP is Ready

Ofcourse, i might sound late in this announcement, but better late than never. On 31st October 2008, Microsoft has announced the CTP version of Visual Studio 2010 and Framework version 4.0. And their statement goes like this. Visual Studio 2010 and the .NET Framework 4.0 mark the next generation of developer tools from Microsoft. Designed to address the latest needs of developers, Visual Studio delivers key innovations in the following pillars: Democratizing Application Lifecycle Management Application Lifecycle Management (ALM) crosses many roles within an organization and traditionally not every one of the roles has been an equal player in the process. Visual Studio Team System 2010 continues to build the platform for functional equality and shared commitment across an organization’s ALM process. Enabling emerging trends Every year the industry develops new technologies and new trends. With Visual Studio 2010 and .NET Framework 4.0, Microsoft delivers tooling and framework support f...

Who is an Architect? - Part 1

Now-a-days am attending interviews for my next job. Most of the calls are for the Architect position. While preparing for these, realized few responsibilities and activities that were part of my previous roles. And they are the main theme of this post. As mentioned in the post title, questions that comes to every developer's mind is.. who is an Architect? who can become an Architect? what an Architect do? what are the prerequisites for an individual to become as an Architect? etc., Having mentioned all such questions, , would like to make things clear, out of my experience. Readers has every right to deny or challenge my understanding. First of all, an Architect is like soul in the human body which you can never see but always experience the existence. This definition is totally true in small sized organizations. Because an Architect plays every role that is part of any implementation with in small scale industries. Architects are expected to be technically sound and funct...

What's new in .NET v3.5 sp1

Microsoft has released .NET Framework 3.5 Service Pack 1 on 11th August 2008. Do you believe if I mention here that when compared to the .NET v3.5 with .NET v3.5 SP1, there are 16 extra namespaces added 525 new types are added 5228 Fields are added along with 22007 IL Instructions are added to v3.5 SP1 and 631 Methods are removed from v3.5 Don't get surprised.. these are not my inventions. NDepend is a tool that will help you to understand any given assembly. Patrick Smacchia, an MVP for C# has a detailed note on his blog about the version differences. I recommend every one to give a look at his post, " .NET 3.5 SP1: Changes Overview "

Maximum Transfer Rate in my life

Image
Today while am downloading the interview of Biff Gut from ARCast.Tv , i've reached the maximum download that i ever encountered in my life. Secondly, this download is from WiFi network. I've never attained such a large transfer rate even with the wire connected network. On top of this, this network doesn't belong to our company, but to the company situated at 2 stairs above our office. isn't is strange. ----------------------- If you have something to share in person on this post, pl drop me a mail at dskcheck@gmail.com with the title in the subject.

Creating Your Own Search engine

Image
Creating your own search engine is not a big issue with the availability of the current technology. Apart from that, if you want to get results thrice that of a single search engine.. here is a mechanism for you to search with Live , Google as well as Yahoo at the same time. First: Goto this link exposed by Microsoft Second: Beneath the Create Your Own, at the 3rd step, type http://mysearchoff.com/?q=TEST The reason being that, http://mysearchoff.com is the place where you can perform a search with the above (Three) search engines. The trick is this, we are going to use this facility for our IE. Final Step: Name the search as Sweet as you like and Press Install button. By pressing the Install button the JScript of the webpage will install the search component on your IE. And you can see that on the top right corner of your IE with the name that you have given at the 3rd step. Note: This works only with IE7 or IE 8. You can see that the search on my IE looks as seen below .....

Runtime in LocalLanguage

Image
Though the runtime that is released on 28th March 2008 is not related to .NET, but I see a huge breakthrough from Microsoft towards the runtime engine growth as well as the next generation runtime engines. Infact, if they could do it with MS-Access, it is not a big deal for Microsoft to introduce such similar runtime for .NET CLR as well. Hopefully, in the near future we would see the same kind of runtime for .NET as well, leveraging the .NET languages to the next level of localisation. Honestly many a kind of the following questions are cooking in my mind... help me if you have any clue for any of the following Do we really require a localised version as such? What benefit that a localised runtime will add feather to the application? Rather confirmed, am now more confused... who will help me..