Wednesday, March 21, 2012

KGB Archiver open source file archiver and data compression software

"KGB Archiver is a file archiver and data compression open source utility as well as compression tool with unbelievable high compression rate. Version 2 beta 2 is available for Microsoft Windows and a command line version of KGB Archiver 1.0 is available for Unix-like operating systems. KGB Archiver is one of the few applications that works with the PAQ algorithm for making its KGB files. One of the advantages of KGB Archiver is also AES-256 encryption which is used to encrypt the archives"


System requirements

  • 256 MB RAM
  • 1.5 GHz processor
  • [edit]Features

Supports native .kgb files and .zip files

  • AES-256 encryption
  • It is able to create self-extracting archives
  • Unicode is supported in both the user interface and filesystems
  • Multilanguage support (including Arabic, German, Greek, Japanese, Polish, Portuguese, Serbian, Spanish, and Ukrainian)
  • An Explorer shell extension is available for the windows versions.
How to install and use KBC Archiver


Tuesday, March 20, 2012

What is RSS feed and how does it work

Find the solution of following queries

What is RSS feed?
How RSS feed work?
How to create RSS feed?
RSS feed benefits, features, advantage and implementation

"RSS stand for 'Rich Site Summary' is a family of web feed formats for delivering regularly changing web content like blog entries, news headlines, audio, and video in a standardized format. Many news-related sites, blogs and other online publishers syndicate their content as an RSS Feed to whoever wants it. An RSS document includes full or summarized text, plus metadata such as publishing dates and authorship"

RSS feed need benefit advantageIn other words we can say, RSS is an improved version of bookmarking a site, where the reader does not need to do things manually as they are expected to do, while maintaining bookmarks, which usually gets messy when you are required to keep a track of a lot of websites in one go. RSS feeds rather get updated about every minute change in the website through a feed-reader which allows one to read updates from a particular site that you have been subscribed to.


RSS Feed Benefits
  • Easier to maintain a track of your favorite websites and get regular updates from them without the need to manually check each one, on a regular basis.
  • Website owners can easily get to let their subscribers know of any change to the website, once they submit regular feeds to RSS feeds.
  • Rather than searching all over the place, you can get all your favorite information in one place.
  • It’s literally impossible to miss out on important information, once you are subscribed to RSS feeds.
  • It saves a lot of your time and you get the most handy information right on your PC as quickly as a webmaster updates the website.
  • Email need not be shared for you to get updates, so your inbox is free of unnecessary spam and there are no security issues. 

How To Setup RSS Feed

Now that we have an idea, what a RSS Feed is, let us come to the next part and learn how the RSS Feed actually works.

The way a RSS feed or RSS channel works is based on a very simple technology. RSS feeds are XML files which are coded and safely stored on a server. Once these Feeds are created, they are linked to your website where when the users subscribe they get details brought across to them on a regular basis with the help of RSS Aggregators. RSS Aggregators or RSS readers, explained simply are computer programs that collect all the information or feeds in one place and organize them for the subscriber’s easy reading.

Example: Suppose there is a feed called Paint shop pro tutorials, once you are subscribed to it, you will get all the stuff related to this from different websites, in one place which helps in saving a lot of time, searching for the details on the net, visiting each website individually. Thus RSS feeds are useful to every web surfer to a large extent besides having great features for website owners too at the same time.tat


RSS Implementation

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
        <title>RSS Title</title>
        <description>This is an example of an RSS feed</description>
        <link>http://www.codeimagine.com/2012/03/increase-website-traffic-visitors-seo.html</link>
        <lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate>
        <pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
        <ttl>1800</ttl>
 
        <item>
                <title>Example entry</title>
                <description>Here is some text containing an interesting description.</description>
                <link>http://www.wikipedia.org/</link>
                <guid>unique string per item</guid>
                <pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
        </item>
 
</channel>
</rss>

Saturday, March 17, 2012

What is difference between ref and out parameter in c# .net

 We know that in c# language the out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.

Key difference:

"ref keyword required that variable must be initialized before passed to function while Out keyword variable initialization is not required. But before returning to called function from calling is require to assign the value before returning else give compile time error

                                                                                                                                                                          "

The ref and out keyword treat different in run time but same at compile time so we can’t overload method if one method have out argument and one have ref argument


The out Parameter

The out parameter can be used to return the values in the same variable passed as a parameter of the method. Any changes made to the parameter will be reflected in the variable.
Only Method can do Read and Write operation on the passed variable while the caller can only read it.
    public class mathClass
    {
        public static int TestOut(out int iVal1, out int iVal2)
        {
            iVal1 = 10;
            iVal2 = 20;
            return 0;
        }
        public static void Main()
        {
            int i, j; // variable need not be initialized
            Console.WriteLine(TestOut(out i, out j));
            Console.WriteLine(i);
            Console.WriteLine(j);
        }
    }



The ref parameter

The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.

You can even use ref for more than one method parameters. 
Caller and the method can do Read & Write operation on the passed variable.
namespace TestRefP
    {
        using System;
        public class myClass
        {
            public static void RefTest(ref int iVal1)
            {
                iVal1 += 2;
            }
            public static void Main()
            {
                int i; // variable need to be initialized
                i = 3;
                RefTest(ref i);
                Console.WriteLine(i);
            }
        }
    }

Thursday, March 15, 2012

Top most image/picture editing, storage and sharing websites


"Today I want to discuss about some hidden and unique features, storage capacity, daily image uploading limit and past history of some best photo sharing websites those are available for us for sharing, editing and storing images/photos on the web.These helps us for saving disk space in our computer"

There are lots of online picture gallery sharing websites present in the market like Google Plus, Facebook and many more, which will keep your uploaded images in organized way with shareable modes.


Flickr
Flickr:Photo sharing websiteFlickr is an image hosting and video hosting website, web services suite, and online community with excellent user interface was created by Ludicorp in 2004 and acquired by Yahoo! in 2005.  In June 2011 that Flickr had a total of 51 million registered members and 80 million unique visitors. This is one of the most popular online photo sharing tool form Yahoo which is available in both online and offline version.
Flickr limits you to 100 MB of uploads each calendar month. That can be frustrating if you want to upload your entire back catalog, but it allows steady portfolio growth. However, only the 200 most recent images will be displayed on your Flickr page.


Photobucket
Photobucket is an online image hosting, video hosting, slideshow creation and photo sharing website. It was founded in 2003 by Alex Welch and Darren Crystal and received funding from Trinity Ventures. It is acquired by Fox Interactive Media in 2007. Photobucket is a popular photo sharing site for online community forums. It offers free 1GB of storage and up to 25GB of monthly bandwith. You’ve also get up to 10 custom URLS for your photo albums.
photobucket image sharing website


Picasa
Picasa is an online image organizer and image viewer for organizing and editing digital photos, plus an integrated photo-sharing website, originally created by a company named Lifescape (which at that time may have resided at Idea lab) in 2002 and owned by Google since 2004. Picasa is a blend of the name of Spanish painter Pablo Picasso, the phrase mi casa for "my house", and "pic" for pictures.One of the most attractive feature of this online image-sharing website is you can choose whether to share the photos with others or not by setting up your privacy level, besides sharing using links and editing online. Picasa Web Album is a robust photo sharing and uploading site.  Picasa Web Albums offers free 1GB of storage, a robuts photo search engine, photo tagging, and a companion desktop photo organization tool.

SmugMug
SmugMug was launched in November 2002 by Chris MacAskill. This online picture sharing website allows you to change colors, layout, fonts and graphics with the options to purchase some professional and personalized gifts like photo books, albums, frame outs, printed objects and many more. This comes in three different levels, free subscribers, and premium subscribers who can opt in for one of the two available options, which gives them the cutting edge also uploading your photos into social media websites directly.
smugmug:Photo sharing website


KodakGallery
Kodak Gallery offers online photo sharing, Kodak prints and photo gifts from consumer digital photos. Its features allow you to view pictures on your mobile phone. The service was originally called Ofoto and was acquired by Kodak in 2001 and renamed Kodak Easy Share Gallery in 2005. It is currently referred to simply as KodakGallery. They have over 60 million users and billions of images as of 2008. Some of the highlighted features of this website are the ability to create photo products like calendar, prints, frames, cards, photo books and much more. Besides, the presence of a unique photo-editing tool will help you to make this much easier to upload, organize and share your photos.


23 Photo Sharing
23 is the visual sharing company. Their products are helping individuals, groups, businesses and institutions to act visually in more than 200 countries across the globe on a daily basis. They provides centralized online photo-sharing website, which works by giving you the capacity to organize, share and place order for hard copies of the chosen photos. Besides, some of the other important and useful tools that this website shares are bulk uploading, ability to email photos in batches and use customized album colors, all of which allows you to manage your photo collections efficiently, and what is more interesting about this online image sharing website is that you will be able to comment on the photos.


Shutterfly
Unlimited storage, easy drag and drop organizing, and editing tools make Shutterfly a good choice. However, the actual photo sharing is frustrating. The community section allows you to browse slideshows, but not individual photos. You can only comment on the entire slideshow.

Even though there is no limit to the photo size that you can upload, it will be reduced and you will not be able to access the original file size.

Limitation: Shutterfly has no features for creating links to a picture from another website.


Zooomr
Zooomr is a very robust and feature-rich photo sharing site, but it lacks the appeal and charisma of Flickr to users. And last time I checked, Zooomr has removed the storage limit for free accounts, so you can upload as much photos as you want.

Wednesday, March 14, 2012

C Sharp Interview Questions

Dot Net Interview Questions

Question. Lets start with .NET, What is .NET framework?
Answer. Its a platform to run .NET application, where .net applications can use .net resources.
Question. What is DLL?
Answer. Dynamic link libraries, kind of exe file.
Question. What is manifest?
Answer. Contains Details about assembly. like reference, versions, resources and type.
Question. What types of assemblies are there and what is difference?
Answer. Private and public
private is private to application and kept in local application folder
public assemblies are shared among the applications and kept in GAC.
Question. Suppose there is two versions of a assembly, how your application will decide which version to use?
Answer. In web.config under binding give old version and new version
Q. Any other way to do versioning in GAC?
Answer. Find it out.
Q. What is strong type and loose type ?
Answer. its a language property. The language who provide variable data type declaration called loose type like vb and JavaScript provide var type variable declaration while C# not. so C# is strong type language. 
 

Ques: What is Intermediate Language(IL)/MSIL/CIL in .NET
Sol: IL = Intermediate Language
MSIL = Microsoft intermediate Language
CIL = Common Intermediate Language
IL, MSIL and CIL are the same thing. When we compile .NET project it not directly converted to binary code i converted to Intermediate language. And when we run the project IL is converted into binary code at run time. every language of .NET programming is converted into IL. Only some part of IL which is required at run time is converted into binary code. DLL and EXE of .NET are also in IL form.
C# Interview Questions
 
Question. What is difference between arraylist and array?
Answer. Array can store single data type and inserting will cost more, while in array list you can store multiple datatypes and inserting and removing element is easy.
 
Question. What are delegates?
Answer. it is function to pointer.
 
Question. What are events?
Answer. events are used with delegate to fire a method on any event occurrence?
 
Question. What is use of delegate?
Answer. Delegates are used to call a function.
 
Question. What is difference between list and arraylist.
Answer. list is interface while arraylist is implementation.
 
Question. What is dataset?
Answer. can contains tables and their relations.
 
Question. What is datareader?
Answer. Read one row at a time , forward only.
 
Question. What is abstraction?
Answer. Representing complex word in simplified manner.
Question. What is Objects?
Answer. by using Objects we can represent real word easily.
Question. what are the features of objects oriented programming?
encapsulation
overloading
overriding
abstraction
association
generalization
inheritance
data hiding
 
Question. What is Strongly typed dataset?
Answer. Strongly typed dataset is simple dataset containing the property to have datatype associated with columns and can access column values by using the column names.

CSS Gradient Generator Like Photoshop

A background with color gradients looks more appealing than just a plain single color background at times. Gradient backgrounds for websites are usually created with Photoshop’s gradient tools. But gradients can also be used on website via CSS codes.

"HTML5 introduced many exciting features for Web developers. One of the features is the ability to specify gradients using pure CSS3, without having to create any images and use them as repeating backgrounds for gradient effects"
CSS Gradient Generator Like Photoshop

 
Ultimate CSS Gradiant Generator is an online tool that provides the facility to generate Photoshop-like Web 2.0 CSS Gradients on the fly.

The orientation of the gradient can be set as horizontal or vertical. You can specify the size for the gradient block as well. When you’re done, simply copy the CSS code. 

The resulting CSS gradients are cross browser – they will work in modern browsers and will also fall back to a simpler gradient in Internet Explorer.

Tuesday, March 13, 2012

Disk defragmentation in Windows XP, Vista and Win 7 OS

"Over time and with regular use, files and folders on a computer's hard drive break down or become fragmented. When computer files are fragmented, they are typically disorganized and in the wrong place. This can cause the system to run slowly and to experience processing problems. For the solution of this problem we can apply defragmentation process to improve retrieval time and the computer's overall performance"

Defragmentation 
A process that reduces the amount of fragmentation by physically organizing the contents of the mass storage device used to store files into the smallest number of contiguous regions (fragments) for the maintenance of file system. Defragmenting the computer gathers and organizes the files, which usually improves retrieval time and the computer's overall performance.

Disk Defragmenter
Disk Defragmenter is a tool for disk defragmentation that rearranges the data on your hard disk and re-unites fragmented files so your computer can run more efficiently

How to Defrag in Windows XP

Hard disk defragment with windows XP
From the ‘Start’ menu, select ‘All Programs’, ‘Accessories’, ‘System Tools’ and then click ‘Disk Defragmenter’.
    
In the window that opens, you should see the following image. Click on the ‘Defragment’ button. Alternately, you can click the ‘Analyze’ button. It will scan the disk and give you an idea of how much space you would gain if you defrag.
    
A notification will pop up when the process is finished.


How to Defrag in Vista

Vista is slightly different. It doesn’t have much of an interface. Also, you can schedule the defragger to run. This wasn’t available in Windows XP.

    Like, XP, you can find the defragger in System Tools. From the start menu, click ‘All Programs’, ‘Accessories’, ‘System Tools’ and then click ‘Disk Defragmenter’.
Hard disk defragment with windows VistaThe following window will pop up. Click the ‘Defragment Now’ button.
    Sit back and wait!

You can also schedule the defrag to take place at a future time by using the scheduling options.  Make sure the ‘Run on a Schedule’ check box is selected. Then click on the ‘Modify Schedule’ button and select the schedule that suits you. Select the disk to defrag and  click ‘Ok’.

How to Defrag in Windows 7
Hard disk defragment with windows operating system    
The easiest way to access the Disk Defragmenter is to click on the start button. In the search field, type ‘Disk Defragmenter’.
The following should pop up in your menu system.
    Click on the ‘Disk Defragmenter’ option.

The following window will pop up. Notice the interface is completely different. In the middle of the screen, you can see a list of drives available to defrag.  Select the disk you wish to defrag. This will typically be your ‘C’ disk.
Click the ‘Defragment Disk’ button.  If at any time you need to stop the process, you can click the ‘Stop Operation’ disk in the window without damaging your PC.

Alternately, you can schedule the defrag like you can in Vista.  With the defragger open, click ‘Configure Schedule’.  Make sure the ‘Run on a Schedule’ option is checked, select your schedule and disk and click ok.
Hard disk defragment process with windows 7

Tuesday, March 6, 2012

Interview Question Answers on SQL Azure and Cloud Computing

Ques: What is SQL Azure?
Sol: SQL Azure is a cloud based relational database as a Service offered by Microsoft. Conceptually it is SQL server in the cloud.

Ques: What is cloud computing?
sql azure and cloud computing question answersSol:Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.

Ques: What is the current limitation of the size of SQL Azure DB?
Sol: Maximum size of a SQL Azure database is 50 GB.

Ques: How is SQL Azure different than SQL server?
Sol:SQL Azure is a cloud based service and so it has own set of pros and cons when compared to SQL server. SQL Azure service benefits includes on demand provisioning, high availability, reduced management overhead and scalability. But SQL Azure abstracts some details from the subscriber which can be good or bad which depends on the context of the need.
 
Ques: How many replicas are maintained for each SQL Azure database?
Sol:For each database, three replicas are maintained for each database that one provisions. One of them is primary replica. All read/write happen on primary replica and other replicas are kept in sync with primary replica. If for some reason, primary goes down, other replica is promoted to primary. All this happens under the hood.

Ques: Which tools are available to manage SQL Azure databases and servers?
Sol: We can manage SQL Azure database using SQL server management server 2008 R2. Also, we can manage SQL Azure databases and servers through a Silverlight app integrated in Azure management portal.

Ques: Tell me something about security and SQL Azure.
Sol: SQL Azure service allows blocking a request based on its IP address through SQL Azure firewall. It uses SQL server Authentication mechanism to authenticate connections. Also connections to SQL Azure are SSL-encrypted by default.

Ques: What were the latest updates to SQL Azure service?
Sol: Latest SQL Azure updates include multiple servers per subscription, SQL Azure co administrator support, creating Firewall rules for servers with IP detect.

Ques: What is SQL Azure Firewall?
Sol: SQL Azure firewall is a security mechanism that blocks requests based on its IP address.
 
Ques: What is the difference between web edition and business edition?
Sol: SQL Azure Web edition database Max Size is 5 GB whereas the business edition supports Max Size up to 50 GB. The size of a web edition database can be increased (/decreased) in the increments (/decrements) of 1 GB whereas the size of a business edition can be increased in the increments of 10 GB.

Ques: How do we synchronize On Premise SQL server with SQL Azure?
Sol: We could use a No code solution called DATA SYNC (currently in community technology preview) to synchronize on-premise SQL server with SQL Azure. We can also develop custom solutions using SYNC framework.

Ques: How can we migrate from SQL server to SQL Azure?
Sol: For Data Migration, we can use BCP or SSIS. And for schema Migration we can use Generate Script Wizard. Also, we could use a Tool called SQL Azure migration wizard available on codeplex.

Ques: How do we Backup SQL Azure Data?
Sol: SQL Azure keeps three replicas of a database to tackle hardware level issues. To tackle user level errors, we can use COPY command that allows us to create a replica of a SQL Azure database. We can also backup SQL Azure data to local SQL server using BCP, SSIS, etc. but as of now, point in time recovery is not supported.
 
Ques: How do you handle datasets larger than 50 GB?
Sol: As of now, we have to build custom solution at application level that can handle scale out of underlying SQL Azure databases. But Microsoft has announced, SQL Azure Federations that will assist scaling out of SQL Azure databases. And scale out means that we are splitting the data into smaller subsets spread across multiple databases.

Ques: What happens when the SQL Azure database reaches Max Size?
Sol: Read operations continue to work but create/insert/update operations are throttled. You can drop/delete/truncate data.

Ques: How many databases can we create in a single server?
Sol: 150 databases (including master database) can be created in a single SQL Azure server.

Ques: How many servers can we create in a single subscription?
Sol: As of now, we can create six servers under a single subscription.

Ques: How do you improve the performance of a SQL Azure Database?
Sol: We can tune a SQL Azure database using information available from execution plan and statistics of a query. We could use SQL Azure’s Dynamic Management views to monitor and manage SQL Azure database.
Also, SQL Azure performance is affected by network latency and bandwidth. Considering this, code near application topology gives the best performance.

Ques: What is code near application topology?
Sol: Code near application topology means that the SQL Azure database and the windows azure hosted service consuming the data are hosted in the same Azure datacenter.
[FYI: in the code far application topology, the app connects to SQL Azure from outside the Microsoft data center]

Monday, March 5, 2012

How to boost your website traffic/visitors

"There are many creative ways to increase traffic to your website and keeping website visitors  engaged by attractive and cool graphics and so many other features by which every visitor got impressed and ready to think to visit again and again"
how to increase website traffic visitor

These tips are:
  • You should link to RSS feeds of relevance. If you continuously update your RSS feeds, it’s going to come across as new content to your readers. If you can’t find a suitable RSS feed for your website, create your own. Motivate people to also subscribe to your RSS feed.
  • Text readability should make your pages easy to read, break up blocks of text and create short paragraphs
  • For easy navigation, you should create a toolbar with links that are easy to navigate and position the toolbar in an area that makes sense
  • The foremost step is tracking your visitors. Use Google Analytics or whatever tracking tool you prefer to track the number of visitors and the gap between new and returning visitors. Set goal values (for example, 1 new sign up against every 100 new visitors) and set a target for, say, the next quarter. Once you get raw statistics of visitors, you are ready to move on and experiment with your website to achieve your targets.
  • The next step is starting conversations. Make is super easy for visitors to leave their feedback or comments. Whether you have a blog or a website, you should allow visitors to get involved by participating in a conversation or initiating a new thread. Remove barriers. Website visitors should not be required to create an account to leave comment. Allow them to use their twitter, facebook or Google account to get authenticated and participate in conversations.
  • Allow your website visitors to use their existing profiles like Google or facebook to join or sign up. If you must register them with you, avoid long registration forms. Ask only for the information that you would really need.
  • Allow your website visitors to stay up-to-date with your products, offerings or activities. Allow them to subscribe via RSS or follow you on facebook, twitters and other social networks. Also use Google Friend Connect, a very useful but a bit unappreciated tool.
  • Maintain a consistent and compelling twitter stream or Facebook updates on your facebook fan page to keep your fans, customers and prospects in the loop.
  • Offer useful content – not just informative articles or breaking news but practical and useful content that your website visitors would love to download or use online. It could be a freebie, online service, royalty free images, printable cards or anything that relates to your business.
  • Reward your customers or users with a royalty program or other offerings that compel them to use your products/services and recommend them to others.
  • Use crowd sourcing techniques to engage your website visitors and existing customers to help you decide new offerings or even the redesign of your logo or website. It makes them a part of the team and the sense of a connection with the brand.
  • Make your website or blog easy to navigate, good on eyes and tasteful to read.

Sunday, March 4, 2012

Answer for Why Should We Hire You Question

“Why should we hire you?” Basically, this interview question is one of the important and mostly asked questions during an interview during HR round.

Some common answer for freshers:

"Because I sincerely believe that I'm the best person for the job. I realize that there are many other college students who have the ability to do this job. I also have that ability. But I also bring an additional quality that makes me the very best person for the job--my attitude for excellence. Not just giving lip service to excellence, but putting every part of myself into achieving it. I have consistently reached for becoming the very best I can become by doing the following . . . "

"I am sure there would be many people equally qualified and technically strong, as I am. But I don't think this is the only thing, necesary to succeed in the software. I can lend an additional value, equally important, in the form of Commitment to the job, in hand. without the above quality, according to me, all the prerequisite qualifications and technicalities are worthless."

Whether your interviewer asks you this question explicitly or not, this is the most important question of your interview because he must answer this question favorably in is own mind before you will be hired.  So help him out!  Walk through each of the position’s requirements as you understand them, and follow each with a reason why you meet that requirement so well.

Some points to remember while replying for this question:
  • One of the best ways to answer this question is to make a short list of all your advantages and create a paragraph that would point out the positive aspects that you would bring to the new job position.
  • One of the points that you can raise is the similarity of the job profile you are aiming for at the company to the job profile you enjoyed in your previous job.
  • You can also draw the interviewer’s attention to your key skills and strengths, namely – quick learning, excellent communication skills, etc.
  • In addition, your professional ambitions should be made clear – the motivation and dedication that you have for the profession and the opening position.
  • Make sure that your answers do not come out to be too much about yourself or that they come across as conceited.

 
Powered by Code Imagine