miercuri, 12 septembrie 2012

Damn Cool Pics

Damn Cool Pics


“Inspired Beauty” A Guide To Celebrity Makeup [Infographic]

Posted: 12 Sep 2012 12:48 PM PDT

Celebrities spend a lot of money for that red carpet look. We are here to tell you that you can get the same great looks for a fraction of the price! With BH Cosmetics makeup products you get long lasting and high-pigmented makeup at a price you can't resist.

Don't just take our word for it. Check out the infographic above and see the #'s for yourself! Plus we have included some tips & tricks that help celebrities keep their skin clean and healthy, year round.

Click on Image to Enlarge.
inspired beauty infographic, Bhcosmetics.com
Presented By Bh Cosmetics


President Obama Discusses the Attack in Benghazi, Libya

The White House Your Daily Snapshot for
Wed., September 12, 2012
 
President Obama Discusses the Attack in Benghazi, Libya

Yesterday, four Americans lost their lives after an attack on the U.S. diplomatic post in Benghazi, Libya. Ambassador Chris Stevens and Foreign Service Officer Sean Smith were among those killed.

This morning, President Obama condemned that attack, which he called "outrageous and shocking" in a statement from the Rose Garden.

"We're working with the government of Libya to secure our diplomats," he said. "I've also directed my Administration to increase our security at diplomatic posts around the world. And make no mistake, we will work with the Libyan government to bring to justice the killers who attacked our people."

Read more about the President's remarks and Ambassador Stevens' service in Libya.



In Case You Missed It

Here are some of the top stories from the White House blog:
 
Annual Census Data on Income, Poverty, and Health Insurance for 2011
The Annual Census data report shows that we have made progress digging our way out of the worst economic crisis since the Great Depression, but families are still struggling. Congress must act on the policies President Obama has put forward to strengthen the middle class and those trying to get into it

The Health Care Law is Saving Americans Money
According to a new report, consumers saved more $2 billion in the past year, thanks to new rules that protect people from insurance industry abuses

Marking the Eleventh Anniversary of 9/11
President Obama, First Lady Michelle Obama, and Vice President Biden observe the anniversary of the September 11 attacks.
 
Today's Schedule

All times are Eastern Daylight Time (EDT).

10:35 AM: The President delivers a statement WhiteHouse.gov/live

10:50 AM: The President visits the State Department

2:05 PM: The President departs the White House en route Joint Base Andrews

2:20 PM: The President departs Joint Base Andrews en route Las Vegas, Nevada

6:50 PM: The President arrives Las Vegas, Nevada

9:10 PM: The President delivers remarks at a campaign event

10:25 PM: The President departs Las Vegas, Nevada en route Aurora, Colorado

11:55 PM: The President arrives Aurora, Colorado


WhiteHouse.gov/live Indicates that the event will be live-streamed on WhiteHouse.gov/Live

Get Updates


Stay Connected


This email was sent to e0nstar1.blog@gmail.com
Manage Subscriptions for e0nstar1.blog@gmail.com
Sign Up for Updates from the White House

Unsubscribe | Privacy Policy

Please do not reply to this email. Contact the White House

The White House • 1600 Pennsylvania Ave NW • Washington, DC 20500 • 202-456-1111
 

How To: Advanced rel="canonical" HTTP Headers

How To: Advanced rel="canonical" HTTP Headers


How To: Advanced rel="canonical" HTTP Headers

Posted: 11 Sep 2012 02:03 PM PDT

Posted by Kevin Graves

On February 12th, 2009, Google began to support the link rel="canonical" tag, which was later adopted by Bing and Yahoo, for specifying a preferred version of a URL. It wasnt until June 17th of 2011 that Google announced the support for rel=canonical in the form of an HTTP Header, giving webmasters yet another avenue to provide a preferred URL for non-text/html content-types such as PDF files, that were otherwise unable to have a specified URL using the link tag. In retrospect, this was relatively important news for SEOs, helping to minimize potential duplicate content issues, especially in wake of content penalties waged against site owners in recent years. This nontraditional method to this day is underutilized, and I believe that, now more than ever, SEOs should start leveraging and considering the power of this method for non-text/html content-types.

There are a lot of reasons that the link HTTP header has not had a ton of traction in the SEO industry:

  • SEOs are heavily focused on traditional URL consolidation for text/html content-types
  • Canonical HTTP headers are more difficult to implement dynamically than the link HTML tag.
  • Implementation may require additional access where privileges may be limited.
  • Implementation may require additional server modules to be enabled or installed.
  • Implementation can easily create server errors, if not handled correctly.

For the most part, these non-text/html content-types, specifically PDF files, add content and value to sites. They can be crawled, indexed, contain links which when shared across the web act as natural link building, and pass PageRank. Link HTTP Headers should be added to these content-types when applicable.

I recently was digging into the Apache documentation and surfing different articles for information about a more advanced implementation. I was surprised to see that there were not many advanced methods or tutorials on how to dynamically add in the HTTP header, and so I am bringing this to the community.

HTTP Headers Using PHP (Text/HTML Types):

The rel="canonical" HTTP Header can easily be added to a text/html content type that supports PHP using the header() function. Using the proper syntax shown in Google's documentation coupled with PHP will allow us to accomplish this.

 HTTP Header Response using PHP

Adding this header() function before any HTML is output will append a link rel="canonical" HTTP header to the headers before they get sent.

This minics the rel="canonical" link tag. The only difference is sending the preferred canonical URI using an HTTP header versus a <link> tag. Traditionally the <link> tag has been by far the most popular choice of implementation. This function, however, will be used in the advanced section of this article.

HTTP Headers Using .htaccess (non-Text/HTML Types):

The HTTP Header can modified relatively easily using .htaccess for all content-types, such as PDF files. This solution works great for sites that have a relatively small amount of files which you need the header added to. In this example I'm showcasing an application/pdf content-type.

Apache Files Directive

This snippet of code when implemented will add a HTTP Header to the PDF file pointing to an HTML page with the URL of /page.html.

The filename argument should include a filename, or a wild-card string, where ? matches any single character, and * matches any sequences of characters.

Regular expressions can also be used, with the addition of the ~ character.

Advanced Dynamic HTTP Header Implementation (non-Text/HTML Types):

The dynamic implementation of the HTTP Header for application/pdf content-types i'm about to show you is more advanced and does require knowledge with .htaccess and PHP, although I will provide the examples.

The first step is to create php file to control the output of the PDF. This can most easily be done by rewriting a URL.

PDF URL Rewrite

This RewriteRule, when added to an .htaccess file, simply allows us to control the PDF file from a php file named "pdf.php". Anytime a user or search engine tries to access a URL that contains the file extension ".pdf", the pdf.php file will be referenced for instructions on how to display the file. This gives us the ability to perform conditional logic to add a canonical HTTP header.

Adding a link  in PHP

This snippet of code when added to pdf.php, will check if the URL of the PDF file exists. If it does, we can then perform logic to add in the canonical HTTP header, otherwise, we want to return the file as a 404.

As you can see, the conditional logic has been commented and does not currently function although this is where I leave you in good hands to create your own logic based on your needs.

For example, you may have a csv or txt file you would like to read from. Those files could contain a list of pdf files and corresponding URLs that you would want to have the HTTP header added to. You may also have table(s) or column(s) of useful information in a database that you need to reference to find the corresponding URL to point to the preferred URL. There are many possibilities.

It is also important to note the other two additional headers added for the content-type and content-length. These are necessary for proper output. If we do not set the content-type to application/pdf, the file will be treated as a text/html file.

Check Your Headers

How do you know if the HTTP Headers have been sent? Verify them using a tool. The Web Developer Toolbar for Firefox is a great tool not for just implementing HTTP Headers. Another tool that can be used is Live HTTP Headers. You can also use a third party web-based tool for development sites that are generally not hosted locally.

Example of HTTP Headers Sent

Caution

I highly recommend testing any dynamic HTTP Headers using .htaccess on a development or local site before pushing changes live. There are potential errors that can occur, and it also gives us the chance to QA the implementation as well.

What I Used

  • PHP
  • Apache
  • mod_rewrite enabled
  • mod_headers enabled

Note: These script examples are very minimalistic on purpose to showcase the fundamental code necessary to perform the method. There are many different ways to add the canonical tag in the form of an HTTP Header. This simply showcases examples for users running the most widely used server and framework. Windows running IIS does not use .htaccess files unless third party extensions are enabled. They also are different with regards to case sensitivity using file_exists( ) with PHP.


Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don't have time to hunt down but want to read!

Seth's Blog : Two questions behind every disagreement

Two questions behind every disagreement

Are we on the same team? and

What's the right path forward?

Most of time, all we talk about is the path, without having the far more important but much more difficult conversation about agendas, goals and tone.

Is this a matter of respect? Power? Do you come out ahead if I fail? Has someone undercut you? Do we both want the same thing to happen here?

The reason politics in my country is diverging so much from useful governance has nothing to do with useful conversations and insight into what the right path is. It's because defeat and power and humiliation and money have replaced "doing what works for all of us" as the driving force in politics.

If you feel disrespected, the person you disagree with is not going to be a useful partner in figuring out what the right path going forward might be. If one party (employee/customer/investor) only wins when the other party loses, what's the point of talking about anything but that?

Deal with the agenda items and the dignity problems first before you try to work out the right strategic choices.



More Recent Articles

[You're getting this note because you subscribed to Seth Godin's blog.]

Don't want to get this email anymore? Click the link below to unsubscribe.




Your requested content delivery powered by FeedBlitz, LLC, 9 Thoreau Way, Sudbury, MA 01776, USA. +1.978.776.9498

 

marți, 11 septembrie 2012

Mish's Global Economic Trend Analysis

Mish's Global Economic Trend Analysis


Canadian Exports Collapse, Expect Plunge in GDP; China Factor; US Recession Factor

Posted: 11 Sep 2012 07:51 PM PDT

All major Canadian exports including energy, autos, agriculture, forest products and machinery-and-equipment collapsed in the latest report. Canadian analysts are shocked by the news.

I sure am not.

For my reason, look at happenings in China, a huge recession in Europe, and even a recession in the US that surprisingly few have even figured out yet.

The Globe and Mail reports Sharp trade slowdown set to wallop GDP
The high dollar and the global slowdown are crushing Canada's trade-dependent economy.

The latest evidence: The country posted the largest trade deficit in July since Statistics Canada began keeping records in 1971.

It wasn't just the scale of the gap – $2.3-billion – that jolted analysts. It's how the economy got there.

Virtually all major exports fell sharply, including energy, autos, agriculture, forest products and machinery-and-equipment. The overall drop was 3.4 per cent, paced by an even larger 5 per cent decline in exports to the U.S. – Canada's largest customer.

At $2.3-billion, the trade deficit narrowly eclipsed the old mark, set in September 2010.

Scotiabank's Mr. Holt said the high dollar is most damaging to U.S.-bound exports, which accounted for 72 per cent of all exports in July.
Currency Issue?

Sorry guys, this is not just a currency issue. This is a global recession, starting in Europe, continuing in Asia and as of June hitting the US. Few even see the US recession yet, but it is here, and Canada will be on the leading edge of it all.

China Factor

This is not unexpected in this corner, albeit I have for so long predicted the end of the Canadian housing bubble that no one is listening to anything else I have said about Canada.

Those who want to catch up on what is happening in China and how it is guaranteed to affect Canada may consider the following posts.


All three of those pieces originate from Michael Pettis at China Financial Markets. What he suggests about China and Australia, I have long-since stated applied to Canada as well.

Those posts are just the start of Canada's problems. Europe is in a massive recession that few saw coming. I commented on that silliness on January 9, 2012 in Dimwit Comment of the Day: Christine Lagarde, IMF Director says "Europe May Avoid a Recession This Year"

Global Recession

Heck, even the vaunted German export machine is falling apart. See Germany in Recession: Private Sector Sees Fastest Falls in Output and New Business Since June 2009; New Export Orders Collapse

In the above post I commented ...
Global Recession Revisited

On July 6, 2012, I wrote Plunging New Orders Suggest Global Recession Has Arrived

Clearly I am not changing that prognosis although I do wish to reiterate the definition of "global recession as per my post Case for US and Global Recession Right Here, Right Now; Recognizing the Limits of Madness; Permabears?
US Recession Factor

On June 21, 2012, I gave 12 Reasons US Recession Has Arrived (Or Will Shortly)

On September 7, I stated a specific belief the US entered recession in June.

For my reasons, please review Household Survey: Number of Employed Declines by 119,000 as Those Not in Labor Force Rises by Spectacular 581,000; Yes, Virginia, It's a Recession

The three people I am aware of sticking with a recession call right now are John Hussman, Lakshman Achuthan at the ECRI, and me.

Indeed, John Hussman announced yesterday in Late-Stage, High-Risk "I continue to believe that the U.S. joined an unfolding global recession, most probably in June of this year."

In Hussman's post he states a belief backdated downward revisions are coming up. I concur with his analysis.

The collapse in the household survey is an indicator as is the collapse in Canadian exports to the US.

Canada Housing Bubble

100% without a doubt, Canada is in the midst of an immense housing bubble. The Canadian bubble outlasted bubbles in China and Australia. Because it did, I get taunts from Canadian readers all the time.

I received one just yesterday. It went something like this "So Mish, where's your Canada Housing Collapse?"

The answer, as always is "I don't know". That said, bubbles pop by definition. Moreover, the longer the bubble lasts, the bigger the implosion.

Australia is in the midst of a big property bubble collapse, a big retail collapse, and a big export mining collapse all at the same time.

Canada will follow suit at some point and given taunts out of the blue, now is as good a time as any.

Addendum:

Note to All Facebook Users: If you have not yet voted for your favorite charity (it costs nothing to vote), please do so. Chase is giving away $5 million to charity, and I have a cause that I support.

Please click on this this link: Facebook Users, I Have a Favor to Ask, then follow the instructions.

Mike "Mish" Shedlock
http://globaleconomicanalysis.blogspot.com
Click Here To Scroll Thru My Recent Post List


Petroleum And Gasoline Usage Charts for June, July, August; Unemployment vs. Gasoline Usage Analysis

Posted: 11 Sep 2012 09:57 AM PDT

Another summer is gone. How much gasoline was used vs. the same months in prior years? These charts from Tim Wallace have the answer.

Total Petroleum Usage



click on chart for sharper image

Gasoline Usage



click on chart for sharper image

General Comments

  • Gasoline usage is the same as it was in 2001 or 2002, depending on the month.
  • Petroleum usage is the same as it was in 1997 or 1998, depending on the month.
  • Gallons per mile did not suddenly improve in 2007. Thus declining gasoline usage cannot be attributed to improved gas mileage, cash for clunkers, etc.
  • There was a rebound in June and July of 2010 consistent with the economic recovery. For August alone there was rebound in 2010 and 2011.
  • Based on gasoline usage, the economy has stalled or there is some other force in play, not related to improved gas mileage.

Jobs, Demographics, Attitudes

  • Those who are unemployed do not drive many miles.
  • People back in school or hiding out in school hoping to get a job later do not drive many miles.
  • Those who want a job and need a job but instead retired to have money coming in from Social Security do not drive many miles.
  • Those on disability do not drive many miles.
  • The commercial real estate boom which lasted another year or two after housing died came crashing to earth in 2007. Construction and stocking of the final commercial real estate build-out took a lot of gasoline and diesel. That fact explains the last push higher in June and July of 2007.
  • Attitudes of millennials towards cars and transportation vs. their boomer parents have come into play.
  • Because of the economy, people are taking vacations closer to home, driving fewer miles to do so.

Gasoline usage mirrors the weak recovery in jobs. Forget about the falling unemployment rate because the rest of the Household Survey tells the real story.

Quick Notes About the Unemployment Rate

  1. US Unemployment Rate -.2 to 8.1%
  2. This month the number of people employed fell by 119,000.
  3. In the last two months, the number of people employed fell by 314,000!
  4. In the last year, the civilian population rose by 3,695,000. Yet the labor force only rose by 971,000.
  5. This month the Civilian Labor Force fell by 368,000.
  6. Last month, those "not" in the labor force increased by 348,000 to 88,340,000, another record high.
  7. This month we set another record high with a whopping 581,000 dropping out of the labor force. If you are not in the labor force, you are not counted as unemployed. 
  8. In the last year, those "not" in the labor force rose by 2,723,000 
  9. Over the course of the last year, the number of people employed rose by 2,347,000. 
  10. Participation Rate fell .02 to 63.5%;
  11. There are 8,031,000 workers who are working part-time but want full-time work, a decrease of 215,00. This one the only bright spot in the report.
  12. Long-Term unemployment (27 weeks and over) was 5.033 million a decline of 152,000 (likely an artifact of the decline in the labor force).
  13. Were it not for people dropping out of the labor force, the unemployment rate would be well over 11%.

Over the past several years people have dropped out of the labor force at an astounding, almost unbelievable rate, holding the unemployment rate artificially low. Some of this was due to major revisions last month on account of the 2010 census finally factored in. However, most of it is simply economic weakness.

Unemployment vs. Gasoline Usage Analysis

In terms of gasoline usage, nearly all of the above points apply, especially two through nine, eleven, and twelve.

This recovery is far weaker than the decline in unemployment suggests. Gasoline usage is consistent with that thesis.

Addendum:

Note to All Facebook Users: If you have not yet voted for your favorite charity (it costs nothing to vote), please do so. Chase is giving away $5 million to charity, and I have a cause that I support.

Please click on this this link: Facebook Users, I Have a Favor to Ask, then follow the instructions.

Mike "Mish" Shedlock
http://globaleconomicanalysis.blogspot.com
Click Here To Scroll Thru My Recent Post List


Damn Cool Pics

Damn Cool Pics


Cute Dancing Kittens Chorus [Video]

Posted: 11 Sep 2012 04:58 PM PDT



Because nothing's cuter than five adorable kittens, except for five adorable kittens doing synchronized choreography.


South African Couple Keep Cheetah as a Pet

Posted: 11 Sep 2012 03:10 PM PDT

The pet cheetah Jolie lives at the house of Magda and Japie Pienaar in Bloemfontein, South Africa. The family bought the animal at the auction four years ago. Jolie enjoys snacks from the fridge, plays with local cats and dogs, and her best friend is a German Shepherd called Franky.












































Via: dailymail


50 Worst Jobs Ever

Posted: 11 Sep 2012 12:18 PM PDT

Take a look at some of the very worst jobs that a person could do to earn a living.

We want to know what the absolute worst job is. Vote!





































































































Fan Wraps Ford Truck In Star Wars Graphics

Posted: 11 Sep 2012 11:19 AM PDT

A Wal-Mart Assistant manager from Iowa turned his Ford Raptor truck into a huge rolling Sith transport meant to praise the Galactic Empire with every bit of its vinyl wrapping. It has Darth Vader, Stormtroopers, a nice Imperial symbol, Han Solo in Carbonite, a Facebook group, and red undercarriage lighting that makes it look extra evil.






















































































Via: Facebook


The Anatomy Of A CEO [Infographic]

Posted: 11 Sep 2012 08:37 AM PDT

What makes a CEO tick? Are they born, are they made, or is it a mixture of both? Below we explore what traits chief executives have in common, what experience they share, and how their failures often lead to their success.


Via: CEO