<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stefano's Linotype &#187; Announcement</title>
	<atom:link href="http://www.betaversion.org/~stefano/linotype/news/category/announcement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betaversion.org/~stefano/linotype</link>
	<description>Typesetting some of Stefano Mazzocchi's random thoughts</description>
	<lastBuildDate>Fri, 18 Jun 2010 00:32:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introducing Acre and the revamped Freebase Applications Platform</title>
		<link>http://www.betaversion.org/~stefano/linotype/news/297/</link>
		<comments>http://www.betaversion.org/~stefano/linotype/news/297/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 23:13:12 +0000</pubDate>
		<dc:creator>stefano</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.betaversion.org/~stefano/linotype/?p=297</guid>
		<description><![CDATA[I joined Metaweb in September 2008 with the title of &#8216;Application Catalyst&#8217; which is sort of a pun-intended role of somebody that should help making it easier for others to write applications that depend on data and services provided by Freebase. Since then, I&#8217;ve been working full time with David and the rest of the [...]]]></description>
			<content:encoded><![CDATA[<p>I joined <a href="http://www.metaweb.com/">Metaweb</a> in September 2008 with the title of &#8216;Application Catalyst&#8217; which is sort of a pun-intended role of somebody that should help making it easier for others to write applications that depend on data and services provided by <a href="http://www.freebase.com">Freebase</a>. Since then, I&#8217;ve been working full time with <a href="http://davidhuynh.net/">David</a> and the rest of the &#8216;platform&#8217; team to enrich, polish, solidify, document and streamline the application platform offerings of Freebase.</p>
<p>People that know what Freebase is think of http://www.freebase.com/, but they probably don&#8217;t know that we get a <strong>lot</strong> more traffic thru our web service APIs that expose the querying interfaces (both for reading and writing). Freebase.com (or &#8216;the client&#8217; as we call it) is only one of the many applications that use Freebase data for their own uses.</p>
<p>Notable other Freebase data consumers are Microsoft&#8217;s new search engine <a href="http://bing.com/">Bing</a> and <a href="http://online.wsj.com/article/SB10001424052970203547904574277963143585126.html">The Wall Street Journal</a>, to cite a few.</p>
<p>But we wanted to make it really easy for people that are interested in particular data domains not only to store, cleanup and share the costs of maintaining their data, but to create highly tailored web applications that can present the data precisely the way users want and offer mashup and writing services that make such data useful.</p>
<p>We offer a wide variety of ways for people to use Freebase from inside their applications:</p>
<ol style="text-align: left;">
<li>a set of <a href="http://freebaseapps.com/docs/web_services">RESTful web services</a></li>
<li>a set of <a href="http://freebaseapps.com/docs/client_libraries">libraries for many programming languages</a> that you can use to simplify the job of calling those web services</li>
<li>a <a href="http://freebaseapps.com/docs/acre">web application hosting service called <strong>Acre</strong></a> that allows you to write and run your web applications directly on Metaweb&#8217;s server infrastructure</li>
</ol>
<p><a href="http://freebaseapps.com/docs"><img class="alignnone" title="Freebase Platform" src="http://datadocs.freebaseapps.com/freebase_platform" alt="" width="662" height="510" /></a></p>
<p>My work has been mostly on writing Acre itself and writing Acre apps to show off its functionality or to implement useful tools with it, so I want to focus on that part of the platform.</p>
<p>Those of you who know me from my <a href="http://cocoon.apache.org/">Cocoon</a> past know that I&#8217;ve been very interested on the use of Javascript on the server side since at least 2003. Cocoon pioneered the use of <a href="http://cocoon.apache.org/2.1/userdocs/flow/index.html">web app control flow and native continuations in server side javascript</a>, but its XML-heavy skeleton made it hard for people to perceive its value in so much complexity.</p>
<p>Which is why I later wrote <a href="http://simile.mit.edu/wiki/Butterfly">Butterfly</a>, a slimmed down version of Cocoon&#8217;s flowscript engine that is currently used in production in one of <a href="http://citeline.mit.edu/">MIT&#8217;s online projects</a> but never reached wide adoption (also because I never really pushed hard on spreading the word about it).</p>
<p>When I interviewed at Metaweb and <a href="http://nixweb.com/">Nick</a> (of <a href="http://en.wikipedia.org/wiki/LiveConnect">LiveConnect</a> fame) showed me Acre (which he had started) and it was a pleasant surprise for me to see so much alignment and overlap there was between Butterfly and Acre, even if Acre was considerably more ambitious: while Butterfly was a regular application server running trusted code, Acre was an entire hosting environment, designed to run unsafe user-contributed code on Metaweb&#8217;s machines and handling thousands of virtual hosts and web applications at the same time.</p>
<p>Both were written in <a href="http://en.wikipedia.org/wiki/Java_%28programming_language%29">Java</a> and used <a href="http://www.mozilla.org/rhino/">Rhino</a> as the execution engine, but Acre was designed from the ground up to offer the ability to host potentially malicious code and isolate its execution securely, both in terms of what actions could be performed and what could not, but also how much server resources each request could consume before being considered abusive and be autonomously terminated.</p>
<p>User code in Acre runs thru three layers of sandboxing: Rhino first presents the user code with a carefully restricted API set that severely limits what the user script can do (just like the browser does with web pages), Rhino then compiles the script into Java bytecode which is then interpreted and <a href="http://en.wikipedia.org/wiki/Just-in-time_compilation">JIT-compiled</a> by the Java virtual machine, which is then executed under an unpriviledged user by the OS.</p>
<p>Two things the JVM didn&#8217;t offer and we had to introduce ourselves: time and memory quota for the execution of a thread.</p>
<p>Acre is run on a cluster of specially patched JVMs that provide it with special resource-limited threads that can be set to &#8216;expire&#8217; if the code they are executing either runs for too long or consumes too much memory (either directly or thru a native call). This is done to prevent malicious users from attempting <a href="http://en.wikipedia.org/wiki/Denial-of-service_attack">DoS</a> attacks to the Acre cluster by running code that either never ends or that keeps consuming the system memory without releasing it.</p>
<p>I&#8217;m very proud of the work that my team and I did on Acre, especially because of all the very cool applications that were written on it, from <a href="http://typewriter.freebaseapps.com/">data games</a> to <a href="http://fmdb.freebaseapps.com/">domain-specific visualizations</a>, from <a href="http://tippify.com/">social network add-ons</a> to <a href="http://acre-development.freebaseapps.com/">utility applications</a>, from <a href="http://schemas.freebaseapps.com/">exploration tools</a> to <a href="http://sizzle.freebaseapps.com/">powerful libraries integrations</a>, and the wonderful experience of writing a software that becomes part of your daily toolkit.</p>
<p>I&#8217;m particularly proud of Acre&#8217;s native support for <a href="http://oauth.net/">OAuth </a>which <a href="http://www.linkedin.com/pub/alexander-botero-lowry/4/865/11b">Alex</a> and I designed and then I (painfully) implemented. Getting OAuth support to one single line of code was not easy, but we did it and it&#8217;s so simple to use that OAuth is the default conduit that Acre uses to talk to Freebase, making all Acre apps de-facto citizens of the web of distributed services.</p>
<p>I&#8217;m also very happy about not only the engine design and the server infrastructure that can allow us to scale horizontally with ease, but also of the entire surface with the user, from the browser-based development environment (the <a href="http://acre.freebase.com/">Acre App Editor</a>) to the <a href="http://freebaseapps.com/docs/">extensive documentation hub</a>, from the <a href="http://freebaseapps.com/">introductory screencast</a> to the <a href="http://freebaseapps.com/apps/">application gallery</a> that showcases what everybody is doing in the ~900 applications that Acre already hosts.</p>
<p>So, without further ramblings, point your browser to <a href="http://freebaseapps.com/">http://freebaseapps.com/</a> if you want to know more and start from there: my suggestion is to watch the screencast that will introduce you acre and show you how to build an app with it.</p>
<p>Feel free to email me at &#8216;<em>stefano at metaweb.com</em>&#8216; in case you need help or you have suggestions or criticism: while very exciting, we know this is only the beginning and we&#8217;re thrilled to know about ways to make this even better and more useful.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betaversion.org/~stefano/linotype/news/297/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meet me in SF at Freebase HackDay?</title>
		<link>http://www.betaversion.org/~stefano/linotype/news/291/</link>
		<comments>http://www.betaversion.org/~stefano/linotype/news/291/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 20:45:50 +0000</pubDate>
		<dc:creator>stefano</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.betaversion.org/~stefano/linotype/?p=291</guid>
		<description><![CDATA[Did you ever wonder about what I saw in Freebase that made me join Metaweb but you still can&#8217;t see?
Or you think Freebase is cool and all, but you have no idea how you could make use of it or why you should care in practice?
Or simply you&#8217;re curious about what I&#8217;ve been working on [...]]]></description>
			<content:encoded><![CDATA[<p>Did you ever wonder about what I saw in Freebase that made me join Metaweb but you still can&#8217;t see?</p>
<p>Or you think Freebase is cool and all, but you have no idea how you could make use of it or why you should care in practice?</p>
<p>Or simply you&#8217;re curious about what I&#8217;ve been working on for the last 9 months that involves something so tricky that a standard java virtual machine wasn&#8217;t enough and we had to patch it and run our own modified version in production? (yeah, I know how crazy that sounds.. believe me, I know)</p>
<p>So, if you&#8217;re reading this and find yourself close to downtown San Francisco Saturday July 11 2009, consider showing up at the free <a href="http://blog.freebase.com/2009/06/26/two-weeks-til-freebase-hack-day-sign-up-now/">Freebase HackDay</a> event that we are organizing to show and promote all the developers&#8217;-related activities we&#8217;ve been working on to make <a href="http://www.freebase.com/">Freebase</a> a useful and interesting platform to integrate with your web applications.</p>
<p>This day is also very important for me because we&#8217;ll be releasing Acre 1.0, our server-side javascript-powered hosted web application platform, that my team and I been working on since I joined Metaweb.</p>
<p>The event is free and Metaweb will be offering food, drinks and plenty of whiteboards and wireless connectivity, but if you plan on coming, please <a href="http://blog.freebase.com/2009/06/26/two-weeks-til-freebase-hack-day-sign-up-now/">RSVP</a>.</p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betaversion.org/~stefano/linotype/news/291/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The New Shiny Freebase: Now with Bases!</title>
		<link>http://www.betaversion.org/~stefano/linotype/news/200/</link>
		<comments>http://www.betaversion.org/~stefano/linotype/news/200/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 03:33:21 +0000</pubDate>
		<dc:creator>stefano</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.betaversion.org/~stefano/linotype/?p=200</guid>
		<description><![CDATA[Version 4.0 of Freebase (or &#8220;the client&#8221; as it is called in Metaweb-lingo) just got deployed. Big congrats to the many involved!
I think this is a very important milestone: not only the new site sports a completely redesigned (and fresher, if you ask me) style and a special logo, most importantly, it outlines Metaweb&#8217;s renovated [...]]]></description>
			<content:encoded><![CDATA[<p>Version 4.0 of <a href="http://www.freebase.com/">Freebase</a> (or &#8220;the client&#8221; as it is called in Metaweb-lingo) just got <a href="http://blog.freebase.com/2008/10/30/a400-release-notes/">deployed</a>. Big congrats to the many involved!</p>
<p>I think this is a very important milestone: not only the new site sports a completely redesigned (and fresher, if you ask me) style and a special logo, most importantly, it outlines Metaweb&#8217;s renovated focus to go after communities of data enthusiasts, rather than trying to entice anybody in being a data contributor.</p>
<p>There are several good reasons for this change of direction:</p>
<ol>
<li><strong>reducing data agoraphobia</strong> &#8211; it might start by feeling mighty powerful to be able to access and edit anything in a database that contains 5 million different topics, but it turns into scary pretty fast. How do you know you&#8217;re not doing something bad? That you&#8217;re not damaging somebody else&#8217;s application that depends on this topic having this type set even if it&#8217;s totally empty and feels out of place? The best description I heard of this feeling is the &#8217;stadium effect&#8217;: editing Freebase sometimes feels like walking in a stadium full of people to do your thing. Unfortunately, not exactly ideal to entice volunteer contributions.</li>
<li><strong>one size does not fit all</strong> &#8211; one of the results of solutions that want to be general enough to apply to a vast variety of problems is that they tend to look so flexible they tend to feel boring and built out of compromises. Freebase is only one way of interacting with the underlying data that Metaweb hosts (which is why it&#8217;s called &#8216;the client&#8217;), but it&#8217;s clearly the most visible and for that reason the most important. But one size cannot fit all comfortably, and bases are the first step (of more to come and currently in progress) toward giving the communities of data enthusiasts the tools to personalize the way the data they care about is presented, viewed, edited, controlled and ultimately used.</li>
<li><strong>increasing relational density</strong> &#8211; both for data and for the social network of the contributors that care about it, the value is not necessarily in the quantity of nodes in the graph, but how well connected these nodes are to one another. I strongly believe that relational density is a much more meaningful indicator of <a href="http://www.betaversion.org/~stefano/linotype/news/95/">data quality</a> (and value!) than others, like quantity, completeness or coherence. It used to be an heretic position in the data community, but times are changing and it&#8217;s all very intriguing for me since I&#8217;ve been researching in this space (how to mine and emerge insights and information from highly dense relational networks) for many years. To me, bases represent an important tool to increase relational density both for the data and for the social network of contributors.</li>
</ol>
<p>Very exciting times.</p>
<p>But stay tuned because other announcements are in the pipe and coming real soon!</p>
<p>Also, if you happen to be in San Francisco next Saturday (Nov 09, 2008), come to the <a href="http://blog.freebase.com/2008/10/29/open-government-at-freebase-hack-day/">Freebase HackDay</a>, it&#8217;s free and you&#8217;ll get to see a lot of shiny new data toys.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betaversion.org/~stefano/linotype/news/200/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
