www.SmarteGuru.com
  Home  |  Blogs  |  Find a Friend  |  Discussion Board  |  Resources   |  Developers Area  |  Gallery  |   Login  |  Register Now 
Language: english german spanish french italian japanese korean portuguese chinese
smart BLOG
 
Think About Your Site Before Looking For a Job.
Employers are searching the net when they go to hire you. I remember reading a news story about a woman who was in the hiring phase where you talk about money and when to start. Then the employer found her MySpace page. Her job was over before it had even started. According to Newswire Today there was a poll done for CareerBuilder.com where employers admitted to using the Internet and even social networking sites to look up potential hires. Do you really want your potential employer to find pictures of your last keg party? Or a story about how you once shoplifted a candy bar? How about pictures of you in some sexy lingerie or a risqué Halloween costume? You may think that your blog is a great place to tell about your life and all your stories but unless your site is completely anonymous your future boss may find it and read it. Then you might not get the job, and you may never even know why.
By | Last Update: Aug 30, 2006 | View Comments
 
ActiveRecord :select with :include

ActiveRecord is an important element included in Ruby on Rails, writing a SQL database driven application without actually writing any SQL is really pleasurable.

The pain for me arrived when I was working on some reporting feature that was pulling various data across a quite long chain of has_many relationships.

I experienced a quite high load in the DB at the moment of the query and after that seconds of CPU full load eaten by my ruby process.
I checked what was going on in my log/development.log and I noticed the query was extracting all the columns of every table even if I specified a :select option, this turned a query originally quite light into a heavy one.

I googled a bit and I found out that with ActiveRecord, if you specify :select and :include option you don't get anymore 100% joy but just 50%, your :select statement will be ignored.

Today I am going to put back some percent of the joy.

select_with_include gem will increase the joy level up to 80% (no, not 100% yet)

select_with_include will allow you to specify a limited :select statement like


"table1.column1, table1.column3, table2.column2"


or like


"table1.*, table2.column3, table2.column4, talbe3.*"


At the moment you can't specify functions or calculated fields. There are reason for that and I'm going to discuss these reason in the next posts. I'll try as well to explain how this gem works around the original ActiveRecord code.

For the moment you're invited to get select_with_include gem using


sudo gem install select_with_include


and test it yourself specifying


require 'select_with_include'


in your config/environment.rb file.

If you're a script/console user you can just try, while you

tail -f log/development.log

to launch the same find with :include and :select with and without requiring the gem.

If you find any issue you're really welcome to use the issue tracker
By | Last Update: Feb 06, 2008 | View Comments
 
The Sleeping Giant: Ad Factors in Conversion Rates & ROI
If you've done multivariate tests across AdWords to a single landing page in order to optimize the ad you know a little known truth about conversion rate optimization from media that not many realize. The ad creative (alone) can have an enormous factor of influence on conversion rates. I’ve also seen results from multivariate tests on display ads that included factors of the banner and factors of the landing page across a single test. What I’ve seen is the main factors of influence that effect conversion rate are from the ad. Yet, when we think about optimizing for conversion rate we almost always think about optimizing landing pages. Why? In the past few years I’ve given quite a few presentations on ad testing & optimization - here's one of them. This became really important in search with the advent of quality score in 2006. As ads become more advanced both through third-party ad serving in display and with Google’s ability to serve rich media ads and widgets on Search results pages, the factor or influence ads can and will have over ROI and conversion rates will only increase. The other factor on the horizon that may wake the sleeping giant is the rising use of PPA or CPA based pricing from search and display. Ads set expectations that your product/service must deliver on. We all know the Friday newspaper auto ads that bait and switch. Ads that “just get them to the showroom” are not good enough online. The ad is part of the user experience as much as the SERP and the landing page and deserves the same level of attention to testing and optimization. Soon it will demand it.
By | Last Update: Aug 03, 2008 | View Comments
 
7 Super Triggers to Get Readers into Action

How do you persuade your blog readers to take action? How can you generate responses that are almost automatic? With triggers. Everybody’s got them.

A trigger is any stimulus that helps us make an quick, non-thinking decision or action. A trigger activates a person’s immediate compliance to an attempt to influence.

We are pre-programmed to comply with requests when a trigger is activated. It’s simply a shortcut to avoid the pain and effort of mental activity, to help us conserve energy in case of future threat to survival. Mental activity takes up a huge amount of energy, so we avoid it whenever we can.

Research has identified seven super triggers. Once you know and understand them, you will see them everywhere. In every request you make, in every email you write, and certainly in every commercial on TV, these seven super triggers are present. Why not put them in your blog posts?

You can improve your chances of persuasion success by using more than one trigger.

Here are seven triggers to automatically influence others, as revealed in psychological research:

1. Friendship
2. Authority
3. Consistency
4. Reciprocity
5. Contrast
6. Reason why
7. Hope


The Friendship Trigger

People are more easily influenced by people they like. Liking is a prerequisite for the other triggers. Friendship generates trust, and trust activates a strong internal trigger. This is the basis of the marketing axiom that “people buy from people they know, like and trust.” The best way to activate friendship is through similarity. Find connections and common interests, and listen to the people you wish to influence.

The Authority Trigger

We respond with unthinking automatic compliance to those we believe have authority, credibility, and power. Managers and leaders might think they have authority by virtue of their position, but without the likability factor, this trigger is weakened. The authority trigger works because we assume the person in position of authority has already done the evaluation work for us.

The Consistency Trigger

Our internal guidance system compels us to be consistent with the way we see ourselves and the way we see our admired peers. We are slaves to consistency and conformity; in fact, these drives are hard wired into humans and governed by the amygdala.

The research is clear: Decisions are emotion based. When it comes time to make a decision, we call up an emotional memory that is similar to the situation at hand, and we’re guided in the same direction.

The Reciprocity Trigger

One of the strongest, most universal internal triggers is the law of giving and receiving, or quid pro quo. Reciprocity is the well-documented psychological desire to want to give back to someone who has given us a gift. It’s another automatic response hard-wired into our brains. Marketers have been using bonus gifts and free samples for years.

The Contrast Trigger

Framing a proposition so that it shows up as more desirable than an alternative is a proven automatic compliance technique. In this case the framing of the proposal is critical. Always present the most onerous approach first, then what you really want.

The Reason Why Trigger

The brain is looking for shortcuts to doing mental work. When you present a valid reason to accept a proposition, you get compliance. This has been applied successfully over a multitude of situations. We now understand why this happens because we’ve seen the neural networks in the brain’s decision-making process. The amygdala seems to accept any valid reason and doesn’t bother to send the information to the cerebral cortex. When you provide a reason, you persuade successfully.

The Hope Trigger

Hope motivates all human activity. We are easily persuaded by those who understand our hopes, our wishes, and our dreams. This is one of the strongest persuaders, underlying all others. We hope our decisions and actions will somehow improve our lives, our status, and help us become more successful and happy. Once we perceive an opportunity to satisfy our hopes, we seldom rely on rational cognitive thought or logic before we act.

The constant desire for happiness is the foundation for the omnipotent hope trigger. One of the best examples of this is seen in get-rich quick scams, gambling, and lotteries. The vitamin and cosmetic industries thrive because of the strong hopes and desires triggered by their marketing messages. Not a shred of logic or reason is employed to weigh the odds.

By | Last Update: Aug 03, 2008 | View Comments
login key Member Login
Please login to your account.
Username:
Password:
 
Forgot Password? | Signup

smart Sponsored Links

smart Latest News
Afghan deaths unsettle France - BBC News

Rice signs missile defense deal with Poland - The Associated Press

Georgia and NATO - International Herald Tribune

Pakistan coalition working to smooth rifts - AFP

Bombings in Algeria Kill 11 - New York Times


 
 
 
Home - About Us - Help - Terms and Conditions - Site Map - Link to Us - Resources - Contact Us
Google Rank Calculator | Suggest developer resource | Suggest Article
All rights reserved © 2007 SmarteGuru.com.