background preloader


Facebook Twitter

How to Setup Google DFP (DoubleClick for Publishers) for Selling Ads on your Site - A Tutorial. DoubleClick for Publishers (DFP) will help you sell direct ads on your website more effectively.

How to Setup Google DFP (DoubleClick for Publishers) for Selling Ads on your Site - A Tutorial

This step-by-step guide will help you quickly get started with DFP. Consider the following scenarios: You use an advertising network like Google AdSense for serving ads on your website but would also like to accept ad campaigns from brands, digital agencies and other direct advertisers. You have partnered with multiple CPM based ad networks – say AdSense, BuySellAds, TribalFusion, etc. – but would only like to run ads from the network that pays you the most money (or maximum CPM) You would like to display ads based on certain criteria. For instance, visitors from U.S. are shown one set of ads while visitors who are in India and use Windows are targeted with a different set of ads. Google DFP, or DoubleClick for Publishers, is a perfect solution in either of the above scenarios. Say you have a blog where you cover a variety of topics including technology, sports and entertainment. Graph algorithms: Pregel style using Phoebus and Erlang. Phoebus is an implementation of Pregel which I wrote primarily because I found the original paper really interesting and because I couldn't find any open source implementation of Pregel for me to experiment with Parallel/Distributed Graph algorithms.

Graph algorithms: Pregel style using Phoebus and Erlang

The Pregel model provides an efficient and elegant means to Scalably process Large graphs in a distributed manner. One particularly interesting application of Graph algorithms is Path Finding. Let us consider a simple Path finding Problem:Foobar is a massive archipelago with many thousands of islands. The inhabitants of Foobar move from island to island in named boats. Each Island allows only a certain set of boats to anchor on its shore. Of course, there are already many battle tested algorithms to discover shortest paths but they are all meant to be run on a single node. Step 1 : Modeling the Graph.. The input provided to us is a list of islands along with the boats each island has access to.

Now for the code: The aggregate function: French stopwords. Tutorial, Introduction to XML and XML with Xerces for Java (updated for jdk 1.5 and xerces 2.7.1) If you are looking for sample programs to parse a XML file using DOM/SAX parser or looking for a program to generate a XML file please proceed directly to programs.

Tutorial, Introduction to XML and XML with Xerces for Java (updated for jdk 1.5 and xerces 2.7.1)

This small tutorial introduces you to the basic concepts of XML and using Xerces parser for Java to generate and parse XML. The intended audience are XML beginners with knowledge of Java. Last updated: 03 Oct 2005.Modified programs runs in JDK 1.3, JDK 1.4 and JDK 1.5. Xerces parser is used with JDK 1.4 and 1.3. This is a gentle introduction to XML and using XML with Java. Extensible Markup Language XML is text based markup language. In HTML For example <b>Seagull<b><i>3674<i><i> 34 </i>could mean anything In XML we represent it as. <Personnel> <Employee> <Name>Seagull</Name> < ID> 3674 </ID> <Age>34</Age> </Employee></Personnel> And this clearly expresses Seagull is an employee name his ID is 3674 and his age is 34. HTML has limited set of Tags But XML can be extended (i.e we can create our own tags ) Here are a few advantages. <? Regular Expression Library.