Jan
21
2010

How to Easily Download Large Number of Images from Flicker.com

Recently I needed some images to create a dataset for a project I am doing. While Flickr.com seemed to be the best source. All i needed to do was to put in a query and a large number of relevant images would show up. But downloading original images from Flickr.com can be bit of a mess, let alone a large number of images.

So I came up with a simple three step process to download all the images on a given page easily.

1. Save the html source of the Flickr.com page.

2. Give the source to this C++ code and get download links to all images.

3. Download all the images using FlashGet.

PS: If someone could write a Java script of this C++ code and write a wrapper to automatically get the HTML source, the above can be reduced to just one step.

Dec
26
2009

Scientists discover how the brain encodes memories at a cellular level

 

Original article appeared here.

Image credit: Sourav Banerjee

The team of scientists is the first to uncover a central process in encoding memories that occurs at the level of the synapse, where neurons connect with each other.45-scientistsdi[1]

"When we learn new things, when we store memories, there are a number of things that have to happen," said senior author Kenneth S. Kosik, co-director and Harriman Chair in Neuroscience Research, at UCSB’s Neuroscience Research Institute. Kosik is a leading researcher in the area of Alzheimer’s disease.

"One of the most important processes is that the synapses — which cement those memories into place — have to be strengthened," said Kosik. "In strengthening a synapse you build a connection, and certain synapses are encoding a memory. Those synapses have to be strengthened so that memory is in place and stays there. Strengthening synapses is a very important part of learning. What we have found appears to be one part of how that happens."

Part of strengthening a synapse involves making new proteins. Those proteins build the synapse and make it stronger. Just like with exercise, when new proteins must build up muscle mass, synapses must also make more protein when recording memories. In this research, the regulation and control of that process was uncovered.

The production of new proteins can only occur when the RNA that will make the required proteins is turned on. Until then, the RNA is "locked up" by a silencing molecule, which is a micro RNA. The RNA and micro RNA are part of a package that includes several other proteins.

"When something comes into your brain — a thought, some sort of stimulus, you see something interesting, you hear some music — synapses get activated," said Kosik. "What happens next is really interesting, but to follow the pathway our experiments moved to cultured neurons. When synapses got activated, one of the proteins wrapped around that silencing complex gets degraded."

When the signal comes in, the wrapping protein degrades or gets fragmented. Then the RNA is suddenly free to synthesize a new protein.

"One reason why this is interesting is that scientists have been perplexed for some time as to why, when synapses are strengthened, you need to have proteins degrade and also make new proteins," said Kosik. "You have the degradation of proteins going on side by side with the synthesis of new proteins. So we have now resolved this paradox. We show that protein degradation and synthesis go hand in hand. The degradation permits the synthesis to occur. That’s the elegant scientific finding that comes out of this."

The scientists were able to see some of the specific proteins that are involved in synthesis. Two of these — CaM Kinase and Lypla — are identified in the paper.

One of the approaches used by the scientists in the experiment was to take live neuron cells from rats and look at them under a high-resolution microscope. The team was able to see the synapses and the places where proteins are being made.

Provided by UC Santa Barbara

Dec
20
2009

Google goggles

Google has recently launched its latest in image search, called Google Goggles. It is an application for Android operating system that allows a user to perform searches based on images instead of text.

According to the official statement “Google Goggles works best on books & DVDs, landmarks, logos, contact info, artwork, businesses, products, barcodes, or text. Right now, it’s not so good at pictures of animals, plants, cars, furniture, or apparel”.

It does not surprise me that Google has developed this application. What is most interesting is how quickly Google has transformed ongoing research into a product. It was only a few months back that I read the Google paper on landmark identification, and here it is neatly bundled into an application.

My interest in Computer Vision and object recognition also makes me wonder as to how the folks at Google were able to make all this work at such a large scale. The paper I reference above provides clues but the transforming the said research into an application has some serious data flow problems. One answer can be inferred from the statement quoted above. The user has has to specify a category before with the search image. Meaning there is some case specific optimization involved. If this is true, the image search problem in the general case is still un solved!

Here are some links:

http://www.google.com/mobile/goggles/

http://www.google.com/googleblogs/pdfs/google_landmark_recognition.pdf

Dec
16
2009

The Nuance of Getting Tagged

All of us have heard people complaining about a flood of Facebook notifications from unwanted tags. As hard as I have tried, I failed to find a way to prevent people from tagging me without my approval; in photos, messages, notes and wall posts. It appears Facebook does not give its users the ability to set their privacy settings in this manner (perhaps intentionally).

The situation is even worse with Facebook messages. Recently, I received a message in my inbox that was sent to a number of people. Soon the conversation digressed and a debacle of senseless messages followed. While some participants enjoyed, other recipients were getting their inboxes flooded. As it happens the only way to continue a conversation over Facebook messages is to reply to all recipients. If a recipient gets tired, there is no way for them to ‘untag’ themselves from the thread. These poor people have to live with this nuance for the rest of their Facebook lives.

So, I present this question to the readers. Why is it that Facebook ties you to a message for ever that you did not choose to receive in the first place, without providing you a way to prevent people from sending you such messages?

Dec
16
2009

Google Adsense Wordpress Plugins

Original Article appeared here.

Listed below are 10 best Adsense plugins which help you work smarter with wordpress.

  • Adsense Deluxe – offers advanced options for managing the automatic insertion of Google AdSense or Yahoo Publisher Network (YPN) ads to your WordPress posts. Easily switch all AdSense ads to a new color scheme across the entire site.
  • Adsense Injection – inserts Adsense code randomly into a pre-existing blog. Takes a random paragraph (or br tag) break in your article and inserts adsense code. It does one per story on multi-post pages (home, archive, category) and let�s you pick how many to show on single post pages.
  • Adsense Inline – inserts Google adsense in blog posts.
  • Shylock Adsense WordPress plugin – allows you to insert Adsense ads on your blog without modifying the template. Set it up to show different Adsense ads for articles older then ‘n’ days. E.g. insert a 468�60 ad at the bottom of a new article for regular readers, and replace with higher paying 336�280 ad after 7 days for the search engine visitors.
  • Adsense Beautifier – makes your Adsense look beautiful by placing images beside them to increase your clicks (CTR) and subsequent Adsense earnings. (May not be compliant with Adsense TOS now)
  • AdSense Widget for WordPress Sidebar – Google AdSense widget designed for the new WordPress Sidebar Widgets plug-in.
  • AdRotator Wordpress Plugin – rotates your adsense ads with other affiliate programs like Chitika Eminimalls wherever you want. Helps to reduce ad blindness and test different ad formats and affiliate programs.
  • Adsense Earnings Wordpress Plugin – displays your adsense earning details within wordpress admin panel.
  • AdSense Manager – is a Wordpress plugin for managing AdSense ads on your blog. It generates code automatically and allows positioning with Widgets.
  • AdSense Sharing Revenue and Earnings System – allows you to view your adsense earnings and share your adsense impressions with your friends and co-authors.
  • Author Adsense Wordpress Plugin – allows blog authors to enter their Google Adsense Publisher ID and have ads displayed on their own posts generating revenue. Admin can set the ratio of author�s ads to admin ads.
  • Author Adsense MU Plugin – Webmasters of Wordpress MU sites can generate adsense revenue from hosted blogs as this script allows you to set an admin ID and the ratio of admin ad�s to blogger�s ads.
  • Google Ad Wrap – wraps posts and comments inside Section Targeting tags for better targeted ads.

Support and upgrades are provided by the respective authors of these wordpress plugins. Use at your own risk. If you know of more Adsense wordpress plugins you like, let me know in comments and I can add them to the list.

Aug
6
2009

Agha Hassan Abedi

imageToday is 14th death anniversary of Agha Hassan Abedi and a holy night on the Muslim calendar. It is a good time to remember this great person in our thought and prayer, especially for students of FAST NUCES. 

Here is a brief introduction.

Mr. Abedi founded BCCI FAST in 1980 with a donation of Rs. 100 million, to promote education in computer science. It is now the first multicampus university of Pakistan, known as National University of Computer and Emerging Sciences. It has four campuses situated in Islamabad, Peshawar, Karachi and Lahore.

GIK University was also the brainchild of Mr. Abedi. He felt that Pakistan should have another university for higher education, at Ph.D. level, for engineering and sciences and it should be comparable to universities in any developed country.

Continue reading Agha Hassan Abedi →

Aug
6
2009

Basic Laws of Technology

Here are some funny Technology laws.

Continue reading Basic Laws of Technology →

Aug
6
2009

Tool Bag Lost In Space Meets Fiery End

Tool Bag Lost In Space Meets Fiery End
By Tariq Malik
Managing Editor
posted: 03 August 2009
05:05 pm ET

 

A tool bag lost by a spacewalking astronaut last year met its fiery demise in Earth’s atmosphere Monday after months circling ever closer to the planet.

Continue reading Tool Bag Lost In Space Meets Fiery End →

Aug
6
2009

Google aims offensive at Microsoft Office

Original Article by Sharon Gaudian posted on Computerworld.

In ongoing war between the two rivals, Google takes to the streets

Continue reading Google aims offensive at Microsoft Office →

Aug
6
2009

Marriage of convenience

Source: eWeek.com

Microsoft’s Bing gained a single point of market share in July, bringing its total to 9.41 percent, according to a new report by StatCounter. The recent partnership deal between Microsoft and Yahoo has given both companies hope that they can challenge Google, which currently holds a double-digit lead in the search market. Under the terms of the partnership, Bing will power search on Yahoo sites, while Yahoo takes over worldwide sales duties for the companies’ search advertisers.

Microsoft’s share of the U.S. search market increased to 9.41 percent in July 2009, a rise of 1 percentage point, according to research firm StatCounter. At the same time, Google’s share of the U.S. market slipped during the same period to 77.54 percent, down by nearly a point, while Yahoo declined a fraction of a point, from 11.04 to 10.95.

StatCounter’s report came days after the July 29 announcement of a partnership deal between Microsoft and Yahoo: that 10-year agreement that will see Microsoft’s Bing power Yahoo’s search engine, while Yahoo assumes exclusive worldwide sales duties for the companies’ search advertisers. Microsoft will pay traffic acquisition costs (TACs) to Yahoo at an initial rate of 88 percent of search revenue generated on Yahoo’s sites.

The deal represents a recognition on both companies’ part that the only way to break Google’s lock on the search and online advertising market may be through working together. According to StatCounter’s report, a combined Microsoft and Yahoo search would have a 20.36 percent market share.