<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Depth-First: Tag webservice</title>
    <link>http://depth-first.com/articles/tag/webservice</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Walking the Web of Chemical Informatics</description>
    <item>
      <title>User-Created Compound Monographs on Chempedia.net: Open Sourcing the Collation and Indexing of Chemical Information</title>
      <description>&lt;p&gt;&lt;a href="http://chempedia.com"&gt;&lt;img src="http://chempedia.net/images/global/logo.png" align="right"&gt;&lt;/img&gt;&lt;/a&gt;Printed encyclopedias of chemical information like the &lt;a href="http://www.merckbooks.com/mindex/"&gt;Merck Index&lt;/a&gt; suffer from the problem of becoming obsolete on publication. When new compounds are discovered, or when the information about a compound changes, those changes can take many months or years to appear in print form due to the high cost of publication. It doesn't have to be that way. This article introduces a new feature to the free online chemical encyclopedia &lt;a href="http://chempedia.com"&gt;Chempedia&lt;/a&gt; that lets working scientists update is contents via &lt;a href="http://wikipedia.org"&gt;Wikipedia&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;About Chempedia.net&lt;/h4&gt;

&lt;p&gt;A &lt;a href="http://depth-first.com/articles/2008/04/04/chempedia-net-mashing-up-pubchem-and-wikipedia"&gt;recent article&lt;/a&gt; introduced &lt;a href="http://chempedia.com"&gt;Chempdia&lt;/a&gt;, the free online chemical encyclopedia. This service is built on two of the largest &lt;a href="http://depth-first.com/articles/2007/01/24/thirty-two-free-chemistry-databases"&gt;free and open repositories of chemical information&lt;/a&gt; in existence: &lt;a href="http://wikipedia.org"&gt;Wikipedia&lt;/a&gt; and &lt;a href="http://pubchem.ncbi.nlm.nih.gov/"&gt;PubChem&lt;/a&gt;. PubChem supplies low-level chemical information such as connection tables, and Wikipedia supplies free-text descriptions of the properties and uses of certain molecules.&lt;/p&gt;

&lt;h4&gt;Which Molecules?&lt;/h4&gt;

&lt;p&gt;Currently, Chempedia.net only includes &lt;a href="http://depth-first.com/articles/2008/04/02/wikipedia-for-cheminformatics-a-simple-web-api-for-finding-cas-numbers-in-compound-monographs"&gt;compound monographs&lt;/a&gt; for about 1,000 of its over 300,000 molecules. These monographs were located by a manual process in which the titles for all Wikipedia articles were downloaded in alphabetized form; this process clustered titles that represented IUPAC nomenclature due to its use of leading numbers and symbols. IUPAC nomenclature titles were extracted, and then a script was written to extract the chemical information from these titles and combine it with that from PubChem.&lt;/p&gt;

&lt;p&gt;This method, although useful for getting a service running, is clearly flawed. The biggest problem is in how to discover new compound monographs.&lt;/p&gt;

&lt;h4&gt;Why Not Put Users in Control?&lt;/h4&gt;

&lt;p&gt;Chempedia users themselves are in the best position to know when an existing Wikipedia compound monograph should appear in Chempedia but doesn't, when an existing monograph needs to be updated, or when a new monograph is written and needs to be linked.&lt;/p&gt;

&lt;p&gt;How can the process be &lt;a href="http://depth-first.com/articles/2006/08/19/history-of-abstracting-at-chemical-abstracts-service"&gt;automated&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;As a partial answer to this question, users &lt;a href="http://chempedia.net/articles/new"&gt;now have the ability to notify Chempedia of any changes to a Wikipedia compound monograph&lt;/a&gt;, and to have those changes immediately reflected in the next viewing of a Chempedia compound monograph.&lt;/p&gt;

&lt;h4&gt;An Example&lt;/h4&gt;

&lt;p&gt;As an example, let's take &lt;a href="http://en.wikipedia.org/wiki/anandamide"&gt;anandamide&lt;/a&gt;, a compound I've had some experience with during my time as a medicinal chemist. Although the &lt;a href="http://chempedia.net/compounds/6030"&gt;Chempedia entry for ananandamide&lt;/a&gt; exists, there is (or as of today - was) no link to the Wikipedia compound monograph. Let's create one.&lt;/p&gt;

&lt;p&gt;At the top of &lt;a href="http://chempedia.com/"&gt;Chempedia's main menu&lt;/a&gt;, you'll see a link titled '&lt;a href="http://chempedia.net/articles/new"&gt;Update&lt;/a&gt;'. Choosing this link leads to a form that will ask for two pieces of information: (1) the title of the Wikipedia article to which you want Chempedia to link - in this case '&lt;a href="http://en.wikipedia.org/wiki/anandamide"&gt;anandamide&lt;/a&gt;'; and (2) &lt;a href="http://depth-first.com/articles/2007/09/18/six-reasons-i-like-recaptcha-or-how-to-build-a-web-service-worth-talking-about"&gt;reCaptcha&lt;/a&gt; text to keep robots from making mischief.&lt;/p&gt;

&lt;p&gt;Submitting this information is all that's needed to create a new or updated link from Chempedia to Wikipedia. Chempedia handles the rest.&lt;/p&gt;

&lt;h4&gt;Conclusions&lt;/h4&gt;

&lt;p&gt;Wikipedia is a vast source of free, high-quality, semi-structured chemical information just waiting to have good chemically-aware interfaces applied to it. Chempedia.net is an attempt to do just that, but it's a bit more as well. Although it may appear that Chempedia is the major beneficiary in this relationship, Wikipedia also benefits. When chemists have a tool that allows them to query and visualize Wikipedia using their native language (the chemical structure) they're in a better position to both use and contribute to Wikipedia itself - something I've started to do.&lt;/p&gt;

&lt;p&gt;This positive feedback effect is the real value of exposing Web services. The question is: who in cheminformatics is willing and able to take the risk to discover this simple principle and its benefits?&lt;/p&gt;</description>
      <pubDate>Thu, 17 Apr 2008 17:50:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:9db0f83e-ebaf-49cc-af9d-03d44250c05d</guid>
      <author>Rich Apodaca</author>
      <link>http://depth-first.com/articles/2008/04/17/user-created-compound-monographs-on-chempedia-net-open-sourcing-the-collation-and-indexing-of-chemical-information</link>
      <category>Tools</category>
      <category>chempedia</category>
      <category>wikipedia</category>
      <category>webservice</category>
      <category>mashup</category>
      <category>compoundmonograph</category>
      <category>merckindex</category>
    </item>
    <item>
      <title>Six Reasons I Like reCAPTCHA, or How to Build a Web Service Worth Talking About</title>
      <description>&lt;p&gt;&lt;a href="http://recaptcha.net"&gt;&lt;img src="http://depth-first.com/demo/20070918/recaptcha.gif" align="right" border="0"&gt;&lt;/img&gt;&lt;/a&gt;Having spent a great deal of time with &lt;a href="http://recaptcha.net/"&gt;reCAPTCHA&lt;/a&gt; over the last few weeks, I've come to appreciate both the clever idea and spot-on execution. Aside from being an excellent product, reCAPTCHA also offers clues to building Web services that people will not just use, but also tell their friends about. Here, in no particular order, are six things about reCAPTCHA that I hope all of my future Web services achieve:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It solves a nasty, boring, and widespread problem elegantly.&lt;/strong&gt; The nastier and more boring a problem is, the more likely that a solution that actually works will be praised by all who use it. Boring and difficult problems create a &lt;a href="http://www.paulgraham.com/bronze.html"&gt;natural scarcity&lt;/a&gt; of good solutions and people willing to work on them. Seek these kinds of problems out; they are a high-probability path to success.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It never goes down.&lt;/strong&gt; Having used reCAPTCHA pretty much continuously over the last three weeks on my current project as well as on &lt;a href="http://depth-first.com"&gt;this blog&lt;/a&gt;, it's never been unavailable. As much as anything on the Web can be trusted to be there tomorrow, reCAPTCHA seems like a safe bet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The business model is obvious.&lt;/strong&gt; reCAPTCHA "pays" for itself by helping to digitize old books. This is a valuable service in itself that could be monetized in some very interesting ways. Because reCAPTCHA does something valuable beyond just fighting spam, it's very likely that I can rely on the service being around for a long time.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It solves problems from two different groups of users at the same time.&lt;/strong&gt; Consider the giants of the Web: Yahoo, Google, YouTube, Facebook, eBay. What every one of them has in common is that along the way they have discovered how to solve problems from two different groups of users simultaneously. The same is true for reCAPTCHA. Come to think of it, every &lt;em&gt;unsuccessful&lt;/em&gt; Web venture I can think of &lt;em&gt;failed&lt;/em&gt; to solve two problems simultaneously (most didn't even really solve one). This shouldn't be surprising, but for some reason it is. Could this dual-problem thing be the golden rule of Web development?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Ruby Library Rocks.&lt;/strong&gt; Although short on examples, the &lt;a href="http://www.loonsoft.com/recaptcha/"&gt;Ruby Library for reCAPTCHA&lt;/a&gt; does what it needs to do and gets out of my way. Of course, the actual language is unimportant. What matters is that solid libraries in popular programming languages exist. The number of people willing to experiment with a new Web service is low to begin with - forcing them to develop their library beforehand is pointless.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;No Limit on Usage.&lt;/strong&gt; This is where a lot of Web services simply don't get it. I won't name names, but they know who they are. reCAPTCHA allows essentially unlimited use of their service - it's just part of the design. reCAPTCHA does make the reasonable request to "be contacted beforehand if you expect your site to constantly need more than 100,000 reCAPTCHAs solved per day." No access limit means developers can build scalable Web applications based on reCAPTCHA with confidence.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the end, building a successful Web service that people will gladly tell their friends isn't complicated. It's just a matter of building value and trust.&lt;/p&gt;

&lt;p&gt;One more thing. I'm currently using reCAPTCHA on this site in the comments section. There are probably still some browser-specific kinks to work out. If you're so inclined, I would be grateful for a short comment describing your experience, along with your browser and OS.&lt;/p&gt;</description>
      <pubDate>Tue, 18 Sep 2007 08:33:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:2a53b23d-0e8a-45fd-8b75-8fb7ff9b00c3</guid>
      <author>Rich Apodaca</author>
      <link>http://depth-first.com/articles/2007/09/18/six-reasons-i-like-recaptcha-or-how-to-build-a-web-service-worth-talking-about</link>
      <category>Meta</category>
      <category>recaptcha</category>
      <category>webservice</category>
      <category>webapi</category>
      <category>value</category>
      <category>trust</category>
    </item>
  </channel>
</rss>
