MongoDB is an open-source document database, and the leading NoSQL database. Using the Azure Management Portal, we can create a virtual machine running CentOS Linux from the image library, than we can install and configure a database MongoDB data on the virtual machine.
We will learn the following:
Select and install 3 CentOS Linux virtual machine from the library using the management portal making two vms as the replica vms.
Connect to the virtual machines using SSH or PuTTY;
Social responsibility is no longer a phenomena that is preserved for times when a company is making huge profits or only when government regulations come to play. Its not just today that the corporates have understood their role in bringing about desirable changes in the society. The concept of companies being socially responsible has been surfacing for quite some time and Quovantis now being at a place where it can have a positive impact on the society, recently ventured into this realm.
If you think I am talking about the formula for making a successful film, then this is not your post. However, if you are looking for those elusive answers to bring some predictability to avoid boiler-plate bugs, then read on.
Boiler plate bugs? What’s that you say! You must have heard of routine code which developers need to write – the necessary evil – for all the configurations, the setup and bindings. Basically repeatable, no-brainer, energy-draining-code that most developers run from and shun from doing (hence the popularity of framework driven development).
As a User Experience Designer, I always try to figure out how to be creative? What is creativity? Is it science or something else? From my perspective, creativity is not just a talent, degree or an art limited to artists. It’s a kind of a skill to solve any kind of problem with design. It’s also not a science.
It’s a tool to solve problems in different styles. So what do you need to solve this problem? In my opinion, it needs only your passion and a little bit inspiration, that’s it. Since it’s a skill that helps to solve a problem, that means that you don’t have to be a creative genius or a designer to solve those problems.
Colors are most important factor of a website or product. This will ensure that there is maximum readability and clearity of text and branding of your website. Use the right color to get the attention audience to select the elements.
Avoid mixing of more colors on your website. Using 2-3 colors on a website is easier to remember than a website that uses many colors. It doesn’t mean that you should always limit yourself to one color, try to use two or four colors for best user experience and for branding as well. Like, if you see the facebook website, they have used a single color blue, which is easy to remember.
These days, everyone wants to see information or content with as little ‘clicks’ as possible. So, we should design websites in a way so that users can scroll down to see the content without having to click too often.
The use of pagination has many limitations -
It takes more time to download content
It introduces navigation because user moves from one page to another.
The biggest disadvantage is that user is not be able to see the previous content without clicking back. So they don’t have a single snapshot of their content.
Related to this is that the user is actually penalized in terms of data download as going back to a page they had already viewed is a new request.
By loading more content on the same page, we are able to solve the above problems and give great user experience with minimum clicks.
This post is about a less known alternative of loops in SQL, the TALLY TABLE.
Loops : At some point in our work we use them because they are a basic programming structure. But in SQL queries loops and cursors are not always the best option, these could slow our process. In scenarios where there is few data everything runs smoothly, but when have to deal with high volumes of data these can seriously affect the performance.
The TALLY TABLE are tables that have a single column. In this column numbers are entered in an orderly manner from 0 or 1, to a number that is useful to us. Example: If you work with a routine need to go all the count of a column values and the max value of the column is 500 than you should fill 1 to 500, which is the maximum number of values in that column.
I hope you remember the big campaign of Tourism Australia’s ‘Best Job in The World’, it went viral. I am sure each of us wanted to participate but there was a selection process. It would have been ‘best’ if we could choose the job rather than job choosing us, alas!
On that thought, I would like to share a moment about a new growth outsourced product design and engineering services company, who just had their 4th birthday – Quovantis Technologies: the company I call home these days and the job that I chose.
It is said that change is the only constant. Every organization has to go through certain pre-defined life-cycle stages – Starting a new venture, growing the venture into a sustainable business, and preparing for decline and eventual revitalization. Where this process has scope for immense thrill – in nurturing something that didn’t even exist into a flourishing enterprise, only some entrepreneurs are able to deal with the conjoined challenges that come with this thrill. The ability of an organization – its leadership, its talent base, and its stakeholders – to deal with the peculiarity of these challenges is what decides the probability of success or failure.
This post will help you to Compare Results of Performance Testing across multiple trials. Its useful when we want to verify if the performance of a new version of our software has upgraded or degraded as compared to the previous version. To verify this we need a way or a tool to compare/analyze performance results between two releases.
To solve the above problem we can use JMeter with Blazemeter Plugin which would help us generate performance graphs across different software versions.
To get started we would need to first register on http://blazemeter.com/ with a username and password. Don’t worry, it is free for 10 trial runs every month. To run the comparison we would need to download the blazemeter plugin from here. You can learn more about this plugin here.
It is always good to write LESS code the shorter the better, nobody wants their code equivalent to an epic. Writing less code means you are writing less bugs.
Most of the common problems are already solved it is good practice to use Libraries. Libraries are constantly improved and they are tested my millions of people.
Lambda expressions were introduced in C # 3 (. NET 3.5). These expressions are now used everywhere in the code, to make LINQ queries to filter on lists for delegates and events.
Lambda expression can be confusing if you are new to it , but once you understand what lambda expression is , which is simply and anonymous function which we can use in our advantage to create our very compact and elegant code .
What motivates us to work? Money, to an extent, yes. Some people might say (and this has already been stated in zillion researches done over the years on ‘what motivates people at work’) that money is the most important motivator for people to get up in the morning every day, come to work, spend eight to nine hours doing what they are good at, and doing this over and over again for the rest of their life. Possibility, but does not stand true for all.
Ever faced a situation in ASP.NET MVC where you need to dynamically create multiple instances of derived class objects ( where collection of base class is used as a property in another class), and save the main class in just a single click ?? (This could do wonders for you and save lot of time !!).
One solution could be that each time you make an ajax call and save each instance individually !! Could work !! But you need to have the instance already in hand !! (Time consuming).
Better solution could be that you create instances of the derived classes using JQuery templates and get the derived class type while templating and post the whole form in just a single click !! No ajax call required !!
Developing in Rails can be a piece of cake for a lot of young developers as not only it is easy in comparison to the other languages but also very flexible. To make the most of this flexibility, its good to learn the best practices early on. Dipping into the wisdom from www.railscasts.com, www.rails-bestpractices.com and www.codeschool.com and after experimenting with these myself, I’ve put together a short list of some of the good practices to make your code legen– wait for it–dary!!.Legendary!
Caching with Instance Variable
Lets take a common scenario of Company, Projects and Project creators. The models would look like
class Project < ActiveRecord::Base
belongs_to :creator, :class_name => “User”
class User < ActiveRecord::Base
class Company < ActiveRecord::Base
To find the company of the project creator you would need to write a method in the company. This can be done in two ways: