In google trends, when you search for a word/phrase, it will show you the trend of this word based on all google searches. And it will show you a list of regions ranked by the number of searches for this word in that region.
For example, Money:
Regions
1. United Kingdom
2. India
3. United States
4. Australia
5. Canada
6. Ireland
7. Poland
8. Sweden
9. Netherlands
10. Germany
Cities
1. Manchester, United Kingdom
2. Brentford, United Kingdom
3. Birmingham, United Kingdom
4. Thames Ditton, United Kingdom
5. London, United Kingdom
6. Miami, FL, USA
7. Delhi, India
8. Atlanta, GA, USA
9. Houston, TX, USA
10. Phoenix, AZ, USA
You can play around with it to find more interesting results, use some interesting words...
Monday, July 6, 2009
Lipstick effect
From Wikipedia, the free encyclopedia
The lipstick effect is the theory that when facing an economic crisis consumers will be more willing to buy less costly luxury goods[1]. Instead of buying expensive fur coats, women will buy expensive lipstick[2].
In the time after the 9/11 attacks on the USA lipstick sales doubled.
The underlying assumption is that consumers will buy luxury goods even if there is a crisis. When consumer trust in the economy is dwindling, consumers will buy goods that have less impact on their available funds. Obviously men will not be buying lipstick, but could be tempted by expensive beer or smaller, less costly gadgets.
***
Lipstick in another way: When economic's bad, ppl go to watch movies...
The lipstick effect is the theory that when facing an economic crisis consumers will be more willing to buy less costly luxury goods[1]. Instead of buying expensive fur coats, women will buy expensive lipstick[2].
In the time after the 9/11 attacks on the USA lipstick sales doubled.
The underlying assumption is that consumers will buy luxury goods even if there is a crisis. When consumer trust in the economy is dwindling, consumers will buy goods that have less impact on their available funds. Obviously men will not be buying lipstick, but could be tempted by expensive beer or smaller, less costly gadgets.
***
Lipstick in another way: When economic's bad, ppl go to watch movies...
Windows Azure local file storage
When you want to modify a blob in windows azure storage, you may need to download it, modify it, then upload it, it may cost a lot of bandwidth and time. Windows azure platform provides "infinite" storage space and computation ability, we can use it to perform the job.
In ServiceDefinition.csdef, add
< LocalStorage name="edmondLocal" sizeInMB="4"/ >
Then, in your webrole program, use
//Setup local file storage
ILocalResource resource = RoleManager.GetLocalResource("edmondLocal");
string path = Path.Combine(resource.RootPath, "tmp.txt");
//Get Azure Blob
using (FileStream read = File.Open(path, FileMode.OpenOrCreate))
{
BlobContents contents = new BlobContents(read);
//BlobProperties blob = this._container.GetBlob(blobName, contents, true);
BlobProperties blob = this._container.GetBlob("file_AzureTest.txt", contents, true);
read.Close();
}
Job is done! Now you have the file in your windows azure local file storage.
When this internship ends in Aug I'll back to school. I'll be graduating this December, I'm looking for a job... Is there any possibility someone reads my post, see what I can do, and offer me a job?...
In ServiceDefinition.csdef, add
< LocalStorage name="edmondLocal" sizeInMB="4"/ >
Then, in your webrole program, use
//Setup local file storage
ILocalResource resource = RoleManager.GetLocalResource("edmondLocal");
string path = Path.Combine(resource.RootPath, "tmp.txt");
//Get Azure Blob
using (FileStream read = File.Open(path, FileMode.OpenOrCreate))
{
BlobContents contents = new BlobContents(read);
//BlobProperties blob = this._container.GetBlob(blobName, contents, true);
BlobProperties blob = this._container.GetBlob("file_AzureTest.txt", contents, true);
read.Close();
}
Job is done! Now you have the file in your windows azure local file storage.
When this internship ends in Aug I'll back to school. I'll be graduating this December, I'm looking for a job... Is there any possibility someone reads my post, see what I can do, and offer me a job?...
Saturday, July 4, 2009
Independence Day
Been watching "25th". Edward Norton's movies are always so fucking good. American History X, Fight Club, then this 25th.
Tomorrow, Seattle Center IMAX Transformer 2, then fireworks in Seattle downtown.
Gonna be a cool day. God bless me.
Tomorrow, Seattle Center IMAX Transformer 2, then fireworks in Seattle downtown.
Gonna be a cool day. God bless me.
Friday, July 3, 2009
Free Movies in the summer, Bellevue, WA
1.Cross road mall cinema every Tue, Wed 10:00AM free movie, till the end of Aug.
2.Free summer outdoor movies in the park:
Bellevue downtown park--movie begins at dusk(bet.8:30-9:00pm)
July 7 Hotel for dogs(PG)
July 14 Bride Wars(PG)
July 21 Second Hand Lions(PG)
July 28 The Express(PG)
August4 Monsters vs. Aliens(PG)
Eastgate park ball field--movie begins at dusk(bet.8:0-8:30pm)
August11 Kung Fu Panda(PG)
August18 Ghostbusters (PG)
August25 Back to the Future(PG)
http://wwww.bellevuewa.gov/sbcc_movies.htm
http://intelius.com/summermovies
Happy Independence day. God bless us.
2.Free summer outdoor movies in the park:
Bellevue downtown park--movie begins at dusk(bet.8:30-9:00pm)
July 7 Hotel for dogs(PG)
July 14 Bride Wars(PG)
July 21 Second Hand Lions(PG)
July 28 The Express(PG)
August4 Monsters vs. Aliens(PG)
Eastgate park ball field--movie begins at dusk(bet.8:0-8:30pm)
August11 Kung Fu Panda(PG)
August18 Ghostbusters (PG)
August25 Back to the Future(PG)
http://wwww.bellevuewa.gov/sbcc_movies.htm
http://intelius.com/summermovies
Happy Independence day. God bless us.
Thursday, July 2, 2009
Independence day, Store specific files in a folder to Windows Azure Storage
3 day holiday.
Last week I developed a console application using C#, this application can upload a single file to Windows Azure storage.
Now I've expanded this application to enable the user to specify a folder, and a file type(e.g .txt), this program will recursively upload all the files in the folder that is the specified type to Windows Azure storage.
Last week I developed a console application using C#, this application can upload a single file to Windows Azure storage.
Now I've expanded this application to enable the user to specify a folder, and a file type(e.g .txt), this program will recursively upload all the files in the folder that is the specified type to Windows Azure storage.
How to configure the account info for the Windows Azure Storage in Visual Studio
During Windows Azure Cloud Service development, you will have to configure the "Account Name" and "Shared Key" for blob storage. What the heck are they, where to find them, these are typical questions someone may ask. When I started working on Azure, it took me a while to figure out this too. Now I'm going to share this with all the Azure rookies.
The "account name" is the name you set for your blob storage url. For example, I set my url to http://intel.blob.core.windows.net , so my account name would be intel.
The "shared key" can be found at https://lx.azure.microsoft.com , sign in with the account you created the projects with, click on the storage account tab, under "Cloud Storage", you will see "Primary Access Key" and "Secondary Access Key", these are your shared keys. You can copy and paste "Primary Shared Key" as your "shared key".
The "account name" is the name you set for your blob storage url. For example, I set my url to http://intel.blob.core.windows.net , so my account name would be intel.
The "shared key" can be found at https://lx.azure.microsoft.com , sign in with the account you created the projects with, click on the storage account tab, under "Cloud Storage", you will see "Primary Access Key" and "Secondary Access Key", these are your shared keys. You can copy and paste "Primary Shared Key" as your "shared key".
Subscribe to:
Posts (Atom)