<?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/"
	>

<channel>
	<title>Jochen Toppe's Blog</title>
	<atom:link href="http://jtoee.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jtoee.com</link>
	<description>Putting the &#62;O&#60; in technology</description>
	<pubDate>Tue, 04 Nov 2008 15:53:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Leveraging Model Driven Development</title>
		<link>http://jtoee.com/2008/10/leveraging-model-driven-development/</link>
		<comments>http://jtoee.com/2008/10/leveraging-model-driven-development/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 20:44:11 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[General Nerd Stuff]]></category>

		<category><![CDATA[Grails]]></category>

		<category><![CDATA[J2EE]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=289</guid>
		<description><![CDATA[Achieving efficiency in the software development process is one of the key motivators every team should strive for. Efficiency can be measured in a variety of ways. The most obvious measurements are cost, project timeline, and the feature set that can be implemented given the first two. In a sense, it boils down to the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_306" class="wp-caption alignright" style="width: 222px"><a href="http://jtoee.com/wp-content/uploads/2008/10/triangle1.jpg"><img class="size-full wp-image-306" title="Project Triangle" src="http://jtoee.com/wp-content/uploads/2008/10/triangle1.jpg" alt="Project Triangle" width="212" height="101" /></a><p class="wp-caption-text">Project Triangle</p></div>
<p>Achieving efficiency in the software development process is one of the key motivators every team should strive for. Efficiency can be measured in a variety of ways. The most obvious measurements are cost, project timeline, and the feature set that can be implemented given the first two. In a sense, it boils down to the old project triangle (remember: pick any two of the criteria).</p>
<p>In essence, there is a trade-off between quality, timeline, and cost. For example, reducing the timeline at equal costs reduces quality just as implementing at a faster pace reduces quality. Yet I argue that the triangle approach is not necessarily valid anymore. Traditional development processes have clearly shown that just enhancing the timeline on a project to put special care into the design does not actually lead to higher quality software – quite the contrary.</p>
<p>Yet more dimensions are at play. The number of defects (“bugs”) found in a particular software directly translate into cost and time, especially when found late in development cycle, creating a dependency between testing quality, time, and cost. Inefficient software design increases the cost of introducing new functionality as requirements change and a lack of refactoring capabilities sooner or later lead to the need for a full re-development. The problems are amplified when the software spans multiple independent subsystems, which is often the case in modern web architectures which span across content management systems, web services, search engines, commerce engines, custom web applications, etc.</p>
<p>Agile development methodologies have tackled many of these problems in great detail through test-driven development (TDD) and time-boxed iterative release cycles. This article discusses a number of tactics you can deploy in addition to what you find in your agile toolkit: To speed up development and tackle complex problems with smaller teams in less time leveraging the key ideas of Model-Driven-Development (MDD).<br />
<span id="more-289"></span></p>
<h3>Leaning on MDD</h3>
<p>Model-Driven-Development (MDD) is a rather interesting software development paradigm which puts the modeling aspect of software engineering at the center of the development process.</p>
<div id="attachment_313" class="wp-caption alignright" style="width: 264px"><a href="http://jtoee.com/wp-content/uploads/2008/10/mddoverview2.jpg"><img class="size-full wp-image-313" title="MDD Overview" src="http://jtoee.com/wp-content/uploads/2008/10/mddoverview2.jpg" alt="MDD Overview" width="254" height="190" /></a><p class="wp-caption-text">MDD Overview</p></div>
<p>The most popular notion of MDD is the <a href="http://www.omg.org/mda/" target="_blank">Model-Driven-Architecture standard</a> by the Object Management Group (<a href="http://www.omg.org/" target="_blank">OMG</a>). MDA is based on a variety of modeling artifacts. At top is a platform-independent model (PIM) which only captures the business requirements using appropriate domain-specific language. This model is then translated into any number of platform-specific models (PSM) using a platform definition model (PDM) for each platform. In essence, this is equivalent to modeling your software in a very high-level (business specific way) and then using a translator such as a code generator (the PDM) to convert the model into code (the platform specific model). Given the same business model, the software can automatically be built using C#, Java, and PHP given the correct translation routines.</p>
<p>MDA in theory has a number of advantages to traditional coding:</p>
<ul>
<li>It obviously appeals to the business owner who can finally re-use the conceptual business model across technology trends, i.e. re-implementing the solution using new technologies does not require a complete overhaul but is simply a matter of switching technologies. Numerous companies specialize in MDA and even rapid-prototyping tools exist which integrate agile development methodologies with MDA. Instead of developing software in iterations, the model is developed iteratively and can then be generated into executable code.</li>
<li>When using code generation frameworks, such as the open source tool AndroMDA, one can quickly build applications using existing code generators. A simple UML domain diagram can immediately be translated into Spring MVC controllers, domain objects, Hibernate mappings, and much more.</li>
<li>When the software spans multiple sub-systems, MDA nicely enforces the correct translation of the model across different technologies used in each one of these systems. While I prefer writing generic code to duplicating code via code generation, this isn’t always feasible (e.g. for XML configuration files or TeamSite CMS data capture templates). In MDD changes to the model can instantly be translated into multiple code artifacts using different technologies by the push of a button.</li>
</ul>
<p>Yet I also see a number of serious issues with the OMG&#8217;s vision:</p>
<ul>
<li>As an &#8220;agilist&#8221; at heart I strongly oppose the idea of spending excessive time modeling software in great detail such as highly granular UML diagrams. Software is meant to be code, not a myriad of UML diagrams which are modeled without an in-depth understanding of the features and limitations of the underlying frameworks. I value the use of UML as a pictorial language, especially when illustrating concepts either on a white board or in documentation. But not when used in a strong forward-engineering paradigm.</li>
<li>MDA reduces the application of a particular technology or framework to a simply technicality, i.e. the creation of a platform definition model. Yet building applications efficiently heavily relies on the capabilities and limitation of the underlying frameworks.</li>
<li>Code generation is equivalent to duplicating a code template using the model as an input. However, I generally prefer writing generic, re-usable code to unnecessary duplication. The benefits of generic code are obvious, not only is the application smaller, but debugging and maintaining the code is by far easier. Generated code would force you to debug the same piece of logic in many places of the application and fixing it requires changing the code generator templates and ultimately re-generating the entire application.</li>
<li>Building a platform dependent model, i.e. the code generator, for an entire application can be a huge undertaking. On the upside, many vendors and open source technologies, such as AndroMDA, ship with a variety of pre-built cartridges. However, by using existing code-generators one reduces implementation flexibility as well as maintainability of the application. Debugging and fixing issues in these pre-built code generators can be tedious and easily be overwritten by the next release of the generator. Further, generic code generators tend to be quite complex due to the fact that they have to be very generic.</li>
<li>When building web applications, I usually like to encourage my teams to push the boundaries and leverage the latest technologies available. Using existing code generation frameworks obviously won’t leverage the bleeding edge of technology, forcing you to write your own.</li>
</ul>
<h3>Leveraging the Key Tenets of MDD</h3>
<p>While I argue that in its pure form, that being the notion of building an entire application using this paradigm, MDD is not my first choice, I would also argue that it has an obvious allure to it. Writing generic code is not always an option as all modern frameworks require configuration, plumbing code, mapping directives, etc. This is exactly where the code generation aspect comes to fruition. Given a central domain model, many artifacts surrounding a domain object can be automatically generated.</p>
<p>A major objection I am confronted with often is whether this approach lacks flexibility as the code is generated according to the same pattern every time. My argument is that this is actually an advantage for the majority of every application. Of course the code generation framework needs to be able to handle special situations where the generic functionality needs to be extended.</p>
<p>Let’s consider this by an example. A software team is integrating an XML-based content management system with a web application. The CMS team is responsible for defining the content input forms in the CMS which are used by the end user to create the XML. The application team writes a parsing layer which parses the XML into domain objects and a web application on top of it. After the teams agree on a content model, i.e. the structure of the XML files, both teams can start implementing all necessary coding artifacts.</p>
<div id="attachment_309" class="wp-caption aligncenter" style="width: 269px"><a href="http://jtoee.com/wp-content/uploads/2008/10/cms_web_app1.jpg"><img class="size-full wp-image-309" title="Sample Application" src="http://jtoee.com/wp-content/uploads/2008/10/cms_web_app1.jpg" alt="Sample Application" width="259" height="108" /></a><p class="wp-caption-text">Sample Application</p></div>
<p>However, since all artifacts are developed manually, when integrating the pieces, the teams will encounter a number of bugs which are a result of the two separate systems relying on the same underlying domain model. Further, different bugs are most likely to be found each one of the content forms and the associated parsing layer because different developers make different mistakes.</p>
<p>Consistency may be another issue. Especially when multiple developers are working on the individual functionality, each usually adds their own spin to the code. Some of date fields in the CMS forms may have calendar buttons next to date fields, some may not. Some developers might use camel case, another one may not.</p>
<p>Of course both of these issues can be addressed by establishing sound coding conventions as well as doing impeccable up-front design of all the sub-systems. But reality shows this is rarely the case. Especially when reacting to changes during the development cycle, such as the web application noticing that they need additional fields in the CMS, the original design efforts are often neglected.</p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 335px"><a href="http://jtoee.com/wp-content/uploads/2008/10/cms_web_app_22.jpg"><img class="size-full wp-image-311" title="MDD with Code Generator" src="http://jtoee.com/wp-content/uploads/2008/10/cms_web_app_22.jpg" alt="MDD with Code Generator" width="325" height="261" /></a><p class="wp-caption-text">MDD with Code Generator</p></div>
<p>Consider the alternative which is more aligned with the MDD paradigm. The teams agree on a domain model and then build a vertical slice, i.e. a functional prototype of the system through all defined layers. Then, using this prototype, the teams build a code generator which takes the domain model as an input and automatically generates the CMS forms and application-level parsing layer for the resulting XML files. The domain model is then fed into the code generator and the application is automatically generated. The code generator automatically enforces consistency. If any bugs where to be encountered which are a result of the coupling of the two systems, the code generator would have to be changed and the application re-generated.</p>
<p>In addition to the maintenance and consistency advantages, the teams also saved time. In the traditional approach, each time had to manually build the application logic for each entity in the domain model in each of the participating subsystems. In the MDD scenario, the teams built a vertical slice prototype and then translated that into a code generator – which automatically generated the application.<br />
<div class="aligncenter">
<script type="text/javascript"><!--
google_ad_client = "pub-0430201414241100";
/* 468x60, created 11/4/08 */
google_ad_slot = "4392528623";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></p>
<h3>Alternatives</h3>
<p>Especially when building web applications a strong alternative to MDD is the use of Rails-like frameworks, such as Ruby on Rails, Grails, Monorail, and many others. The underlying core ideas are aligned with what I consider the key advantages of MDD:</p>
<ul>
<li><strong>Don’t repeat yourself (DRY)</strong>: Instead of repeating yourself, write code once and then have the framework take care of creating the plumbing code. This is typically done under the hood by the framework.</li>
<li><strong>Conventions over Configuration (CoC)</strong>: Rather than having every aspect of the application be built differently, establish sound conventions and use these throughout the software to ensure consistency and eliminate unnecessary (and unmaintainable) bloated configuration files.</li>
</ul>
<p>In essence, these frameworks try to solve the same underlying problem. Yet Rails frameworks focus on building web applications within the same technology stack. For simple (web) projects which are easily contained into one logical application, not spreading across multiple software systems, any Rails framework is an excellent way of building an application quickly and iteratively. Once an architecture spans multiple technologies, frameworks, or requires custom coding using proprietary products (such as a CMS), MDD proves to be the big brother of Rails-like frameworks.</p>
<h3>Conclusion</h3>
<p>I have used both the Rails and the MDD approach throughout my career. I have introduced the light-weight MDD approach in a number of recent projects at <a href="http://www.razorfish.com" target="_blank">Razorfish</a>, which led to us building a jumpstart kit that in its first iteration lets us quickly bootstrap projects with <a href="http://www.interwoven.com" target="_blank">Interwoven TeamSite</a> and <a href="http://www.microsoft.com/NET/" target="_blank">.NET</a> as an application platform. This has not only saved us a lot of time, but also a lot of headaches and long nights of debugging code. We are able to quickly react to changes during the development cycle. Changes to the domain model can be made within the matter of the short time it takes to open a UML editor and re-run the code generator.</p>
<p>I consequently see MDD as a vital part of agile enterprise development and a complementing technology which picks up where a Rails framework hits its limits.</p>
<h3>Links</h3>
<ul>
<li><a href="http://www.omg.org/mda/" target="_blank">Object Management Group&#8217;s MDA Page</a></li>
<li><a href="http://en.wikipedia.org/wiki/Model-driven_architecture" target="_blank">Wikipedia on Model-Driven-Architecture</a></li>
<li><a href="http://www.andromda.org" target="_blank">AndroMDA code generator tool<br />
</a></li>
<li><a href="http://www.eclipse.org/modeling/emf/" target="_blank">Eclipse Modeling Framework (EMF)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/leveraging-model-driven-development/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Creating Browser Screenshots on the Server Side</title>
		<link>http://jtoee.com/2008/10/creating-browser-screenshots-on-the-server-side/</link>
		<comments>http://jtoee.com/2008/10/creating-browser-screenshots-on-the-server-side/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 15:02:14 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=257</guid>
		<description><![CDATA[In the light of the plethora of gloomy headlines in the past few weeks I have started taking screenshots of some of the major web sites online, maybe just to have an archive of how the world ended one day :-)
I started thinking there&#8217;s got to be a way to automate this. Indeed, there are [...]]]></description>
			<content:encoded><![CDATA[<p>In the light of the plethora of gloomy headlines in the past few weeks I have started taking screenshots of some of the major web sites online, maybe just to have an archive of how the world ended one day :-)</p>
<p>I started thinking there&#8217;s got to be a way to automate this. Indeed, there are a number of downloadable utilities out there to create JPEG images of web sites, but I really wanted to build this myself. After some initial online research I decided to give it a spin in C#. I came across the <code>System.Windows.Forms.WebBrowser</code> class which, as it turns out, can do all these magic things for me directly on the server-side without requiring a desktop application.</p>
<p>The caveat is that the <code>WebBrowser</code> does need to execute in a standalone STA thread. As a side-note, the code is a total memory-hog the way it is written now, mostly due to IE.<br />
<span id="more-257"></span></p>
<p>Check out the full code right here:</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<pre class="csharpcode"><span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.ComponentModel;
<span class="kwrd">using</span> System.Drawing;
<span class="kwrd">using</span> System.Drawing.Imaging;
<span class="kwrd">using</span> System.Threading;
<span class="kwrd">using</span> System.Windows.Forms;

<span class="kwrd">namespace</span> JToEE
{
    <span class="kwrd">public</span> <span class="kwrd">class</span> Shoot
    {
        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Set URL for the screenshot</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">public</span> <span class="kwrd">string</span> Url { get; set; }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Output filename</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">public</span> <span class="kwrd">string</span> Filename { get; set; }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Width of the browser window</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">int</span>? Width { set; get; }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Initial height of the browser (get re-sized </span>
        <span class="rem">/// automatically if the page is longer)</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">const</span> <span class="kwrd">int</span> DefaultHeight = 768;

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Default width of the browser if not specified. This</span>
        <span class="rem">/// class doesn't re-size the width.</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">const</span> <span class="kwrd">int</span> DefaultWidth = 1024;

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// </span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="rem">/// &lt;param name="url"&gt;&lt;/param&gt;</span>
        <span class="rem">/// &lt;param name="filename"&gt;&lt;/param&gt;</span>
        <span class="kwrd">public</span> Shoot(<span class="kwrd">string</span> url, <span class="kwrd">string</span> filename) : <span class="kwrd">this</span>()
        {
            Url = url;
            Filename = filename;
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// </span>
        <span class="rem">/// &lt;/summary&gt;        </span>
        <span class="kwrd">public</span> Shoot()
        {
            Width = 1024;
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Main entry method which created the screenshot</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">public</span> <span class="kwrd">void</span> CreateScreenshot()

        {
            ThreadStart ts = Run;
            Thread t = <span class="kwrd">new</span> Thread(ts);
            t.SetApartmentState(ApartmentState.STA);
            t.Start();
            t.Join();
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Does the work in the thread</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">void</span> Run()
        {
            <span class="kwrd">using</span>(Bitmap bitmap = CreateBitmap())
            {
                ImageCodecInfo jgpEncoder = GetEncoder(ImageFormat.Jpeg);
                var myEncoder = System.Drawing.Imaging.Encoder.Quality;
                var myEncoderParameters = <span class="kwrd">new</span> EncoderParameters(1);
                <span class="rem">// encode jpeg at 75%</span>
                var myEncoderParameter = <span class="kwrd">new</span> EncoderParameter(myEncoder, 75L);
                myEncoderParameters.Param[0] = myEncoderParameter;
                <span class="rem">// save to file</span>
                bitmap.Save(Filename, jgpEncoder, myEncoderParameters);
            }
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Get a hold of a jpeg encoder</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="rem">/// &lt;param name="format"&gt;&lt;/param&gt;</span>
        <span class="rem">/// &lt;returns&gt;&lt;/returns&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">static</span> ImageCodecInfo GetEncoder(ImageFormat format)
        {
            ImageCodecInfo[] codecs = ImageCodecInfo.GetImageDecoders();
            <span class="kwrd">foreach</span> (ImageCodecInfo codec <span class="kwrd">in</span> codecs)
            {
                <span class="kwrd">if</span> (codec.FormatID == format.Guid)
                {
                    <span class="kwrd">return</span> codec;
                }
            }
            <span class="kwrd">return</span> <span class="kwrd">null</span>;
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Create a bitmap of the browser window. The bitmap's height is</span>
        <span class="rem">/// automatically adapted to the length of the page while the width</span>
        <span class="rem">/// is kept at the specified value.</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="rem">/// &lt;returns&gt;&lt;/returns&gt;</span>
        <span class="kwrd">private</span> Bitmap CreateBitmap()
        {
            <span class="kwrd">using</span> (var browser = <span class="kwrd">new</span> WebBrowser())
            {
                browser.ScrollBarsEnabled = <span class="kwrd">false</span>;
                <span class="rem">// set the initial height and width</span>
                browser.Size = <span class="kwrd">new</span> Size(Width ?? 1024, DefaultHeight);
                browser.ScriptErrorsSuppressed = <span class="kwrd">true</span>;
                <span class="rem">// supress creation of new windows</span>
                browser.NewWindow += OnNewWindow;
                <span class="rem">// navigate the browser to the URL</span>
                browser.Navigate(Url);
                <span class="rem">// wait for it to load</span>
                WaitForBrowserReady(browser);
                <span class="rem">// re-size the browser windows to the full height of the web page</span>
                var finalHeight = browser.Document == <span class="kwrd">null</span> ? DefaultHeight :
                                      browser.Document.Body.ScrollRectangle.Height;
                <span class="rem">// width of the bitmap</span>
                var width = Width ?? DefaultWidth;
                <span class="rem">// re-size the browser</span>
                browser.Size = <span class="kwrd">new</span> Size(width, finalHeight);
                WaitForBrowserReady(browser);
                <span class="rem">// create a bitmap                </span>
                Console.WriteLine(<span class="kwrd">string</span>.Format(<span class="str">"Creating bitmap of size {0}x{1}"</span>, width, finalHeight));
                var bitmap = <span class="kwrd">new</span> Bitmap(width, finalHeight);
                var rect = <span class="kwrd">new</span> Rectangle(0, 0, width, finalHeight);
                browser.DrawToBitmap(bitmap, rect);
                <span class="kwrd">return</span> bitmap;
            }
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// Waits for the browser to be ready loading the page</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="rem">/// &lt;param name="browser"&gt;&lt;/param&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">static</span> <span class="kwrd">void</span> WaitForBrowserReady(WebBrowser browser)
        {
            Console.WriteLine(<span class="str">"Waiting for browser.."</span>);
            <span class="kwrd">while</span> (browser.ReadyState != WebBrowserReadyState.Complete)
            {
                Application.DoEvents();
            }
            Console.WriteLine(<span class="str">"Waiting ready"</span>);
        }

        <span class="rem">/// &lt;summary&gt;</span>
        <span class="rem">/// New window delegate -- basically a popup blocker.</span>
        <span class="rem">/// &lt;/summary&gt;</span>
        <span class="rem">/// &lt;param name="sender"&gt;&lt;/param&gt;</span>
        <span class="rem">/// &lt;param name="e"&gt;&lt;/param&gt;</span>
        <span class="kwrd">private</span> <span class="kwrd">static</span> <span class="kwrd">void</span> OnNewWindow(<span class="kwrd">object</span> sender, CancelEventArgs e)
        {
            e.Cancel = <span class="kwrd">true</span>;
        }
    }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/creating-browser-screenshots-on-the-server-side/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Buying a House in NY</title>
		<link>http://jtoee.com/2008/10/buying-a-house-in-ny/</link>
		<comments>http://jtoee.com/2008/10/buying-a-house-in-ny/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 00:34:50 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=251</guid>
		<description><![CDATA[We&#8217;ve been trying to buy an appartment or a house in the area for a few months now, and after a few failed attempts (rejected offers, failed inspections, etc), it looks like we finally found something &#8212; an entire house up in White Plains, NY. Aside from having to adapt to suburban life, my commute [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jtoee.com/wp-content/uploads/2008/10/1144897_2.jpg"><img class="alignright size-thumbnail wp-image-253" title="1144897_2" src="http://jtoee.com/wp-content/uploads/2008/10/1144897_2.jpg" alt="" width="150" height="112" /></a>We&#8217;ve been trying to buy an appartment or a house in the area for a few months now, and after a few failed attempts (rejected offers, failed inspections, etc), it looks like we finally found something &#8212; an entire house up in White Plains, NY. Aside from having to adapt to suburban life, my commute will actually be the same as it is now from Jersey City. Anyhow, that&#8217;s all not that interesting to you, I&#8217;m sure, so let me get to the point.</p>
<p>We&#8217;ve decided on a beautiful 1923 colonial-style house, and as any old house it needs a little bit of work. The most interesting part is the heating system. The house has nice old steam radiators which are powered by one of the scariest pieces of equipment I have seen in a basement to day. An old ca. 1930s furnace which seems to be and old coal furnace which was then converted to oil. The icing on the cake (yeah, really, the white stuff on the furnace) is lovely asbestos. At first, I was a wee bit freaked out about it, but I quickly learned that this is pretty normal in these old homes. Obviously the removal of the monster and the asbestos will be the first thing before we move in, but I wanted to share some pictures of this antique.<br />
<span id="more-251"></span></p>
<p style="text-align: center;"><img class="aligncenter" title="Oil Furnance" src="http://farm4.static.flickr.com/3278/2959534280_67f52674f7.jpg?v=0" alt="" width="375" height="500" /></p>
<p>Also notice the quite beautiful old yellow-brownish gauge on the monster. I almost wish it had more switches, levers, and knobs on it. I actually got a good laugh out of the &#8220;SUPER FUEL CORP&#8221; sticker.</p>
<p style="text-align: center;"><img class="aligncenter" title="Gauge" src="http://farm4.static.flickr.com/3161/2958692125_882ac89e91.jpg?v=0" alt="" width="315" height="236" /></p>
<p>As a (non-fundamental) environmentalist I must really wonder what emissions this thing creates (aside from the atrocious efficiency). It&#8217;s got to be the equivalent of thousands of cars per year.</p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/buying-a-house-in-ny/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Youtube starts offering premium content</title>
		<link>http://jtoee.com/2008/10/youtube-starts-offering-premium-content/</link>
		<comments>http://jtoee.com/2008/10/youtube-starts-offering-premium-content/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 20:16:18 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=244</guid>
		<description><![CDATA[According to Ars Technica, youtube has introduced full-length video content also. All this video is supported by advertisement.
Youtube hasn&#8217;t been successfully turning the site into money yet, maybe this is a sad attempt at that. Frankly, I think it completely waters down their brand (if they really have one, that is). Who really associates premium [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jtoee.com/wp-content/uploads/2008/10/mcgyver.png"><img class="size-medium wp-image-245 alignright" title="mcgyver" src="http://jtoee.com/wp-content/uploads/2008/10/mcgyver.png" alt="" width="300" height="212" /></a><a href="http://arstechnica.com/news.ars/post/20081013-youtube-fumbles-remote-with-full-length-tv-shows.html" target="_blank">According to Ars Technica</a>, youtube has introduced full-length video content also. All this video is supported by advertisement.</p>
<p>Youtube hasn&#8217;t been successfully turning the site into money yet, maybe this is a sad attempt at that. Frankly, I think it completely waters down their brand (if they really have one, that is). Who really associates premium content with the site that has an endless supply of kitten videos?</p>
<p>Then again, McGyver is hardly &#8220;premium&#8221; content. I wish they&#8217;d also add Airwolf and Knight Rider. You can already watch <a href="http://www.hulu.com/the-fall-guy" target="_blank">The Fall Guy on Hulu.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/youtube-starts-offering-premium-content/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hulu, You Trendsetter</title>
		<link>http://jtoee.com/2008/10/hulu-you-trendsetter/</link>
		<comments>http://jtoee.com/2008/10/hulu-you-trendsetter/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 16:08:21 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=240</guid>
		<description><![CDATA[
Now that we&#8217;re all rescued (*cough*), let&#8217;s focus back on things more fun than the recession. I posted earlier about the &#8220;video bubble&#8221;, notably Hulu being a trendsetter which sparked a lot of interest and other companies pursuing similar ventures. And, might I add that my company did the user experience and initial technology design [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-241" title="120px-televisionsvg" src="http://jtoee.com/wp-content/uploads/2008/10/120px-televisionsvg.png" alt="" width="120" height="120" /><br />
Now that we&#8217;re all rescued (*cough*), let&#8217;s focus back on things more fun than the recession. I posted <a href="http://jtoee.com/2008/07/sex-drugs-and-strawberries-and-a-new-bubble/">earlier</a> about the &#8220;video bubble&#8221;, notably Hulu being a trendsetter which sparked a lot of interest and other companies pursuing similar ventures. And, might I add that <a href="http://www.avenuea-razorfish.com" target="_blank">my company</a> did the user experience and initial technology design work for Hulu ;)</p>
<h3><strong>The road to&#8230; digital</strong></h3>
<p>I think in the long run we&#8217;ll see a lot of changes in the industry. Sites such as <a href="http://www.hulu.com" target="_blank">Hulu</a>, <a href="http://www.thewb.com" target="_self">TheWB.com</a>, and others to follow will sooner or later revolutionize the way we watch TV. Cable operators are still trying to ignore this by doing things such as instantiating <a href="http://www.dslreports.com/shownews/Comcast-Considering-250MB-Cap-Overage-Fees-94185" target="_blank">download limits</a>. Yet it&#8217;s just a matter of time before we all have the Internet built directly into our TV and/or set top boxes and can watch our favorite House episode any time we&#8217;d like directly from the Internet and on the TV. This will most likely cannibalize traditional TV offerings, yet this trend offers huge potential even for the cable operators if they were to embrace it &#8212; and they&#8217;re slowly realizing it, otherwise Comcast would have never launched <a href="http://www.fancast.com" target="_blank">Fancast</a>. Maybe that&#8217;s the real reason for the download limits &#8212; to skew competition and boot the cable provider&#8217;s own video sites?</p>
<p>There are still a lot of hurdles to be overcome. For example, Hulu is struggling with the cost of bandwidth resulting from the massive video streaming which seems in no proportion to the incoming advertising revenue. Also expect ad revenues to decline in the near term &#8212; we&#8217;re in a recession after all.</p>
<p>Today a co-worker forwarded an interesting <a href="http://adage.com/mediaworks/article?article_id=131662" target="_blank">article on AdvertisingAge</a> about Viacom and HBO jumping on the bandwagon also. Then again, I already knew that, but I&#8217;d have to kill you if I told you why :-)</p>
<h3><strong>The Law&amp;Order Effect</strong></h3>
<p>While I love the ability to watch a lot of things directly online, there&#8217;s one big thing about my TV that I miss online. TV is passive entertainment, you turn it on and that&#8217;s all you have to do. No effort involved, unless you feel like channel surfing. In the online world the myriad of options make discovering something to watch work &#8212; the editorial responsibilities are shifted from the channel to the end user. Sometimes, I really just want to watch Law&amp;Order or be surprised by the evil-gargoyle-eats-soldiers movie of the day (SciFi channel, of course).</p>
<p>Maybe that&#8217;s an idea for another online video startup? Venture Capital, someone, please?</p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/hulu-you-trendsetter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Ranting</title>
		<link>http://jtoee.com/2008/10/more-ranting/</link>
		<comments>http://jtoee.com/2008/10/more-ranting/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 18:44:37 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=236</guid>
		<description><![CDATA[I guess I kind of shifted the focus of the recent posts from anything technology related to the financial mess we&#8217;re in right now. But it&#8217;s pretty fascinating to me how this house of cards could have been built and how it&#8217;s now collapsing rather quickly.
CDOs explained
CDOs, or collateralized-debt-obligations, are one of the big the [...]]]></description>
			<content:encoded><![CDATA[<p>I guess I kind of shifted the focus of the recent posts from anything technology related to the financial mess we&#8217;re in right now. But it&#8217;s pretty fascinating to me how this house of cards could have been built and how it&#8217;s now collapsing rather quickly.</p>
<p><strong>CDOs explained</strong></p>
<p>CDOs, or collateralized-debt-obligations, are one of the big the financial weapons of mass destruction causing the mess:</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="302" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1876936&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="302" src="http://vimeo.com/moogaloop.swf?clip_id=1876936&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://vimeo.com/1876936?pg=embed&amp;sec=1876936">Crisis explainer: Uncorking CDOs</a> from <a href="http://vimeo.com/user384668?pg=embed&amp;sec=1876936">Marketplace</a> on <a href="http://vimeo.com?pg=embed&amp;sec=1876936">Vimeo</a>.</p>
<p><strong>Where will it all go?</strong></p>
<p>I wonder if in the long run the US will realize that the American model has simply failed and revert to a more moderate European capitalism. One that includes government oversight and social responsibility as a core pillar of the economy - rather than putting the focus on profit alone. Europe might not have quite the perfect mix either, but are years ahead in that regard. Unfortunately even the Europeans bought into Wall Street&#8217;s craziness and have the price to pay for it now. Globalization is one of the big reasons why many countries will have to work together to solve this underlying problem &#8212; the wrongdoings of one can just affect others too much. Think about it, the country of Iceland is basically bankrupt because of this. Unfortunately the Bush administration doesn&#8217;t exactly have a good track record of working with other nations (remember &#8220;either you&#8217;re with us or against us&#8221;?). Yet in many ways our system of countries and government seems too outdated to effectively combat the world of international finance.</p>
<p>On a side note, the national debt clock right around the corner from my office on 6th Ave in Manhattan ran out of digits today. There are many reasons for this, especially over the past 8 years. The focus of any adjustments that are made in the future to the financial system and economy as a whole have to focus on sustainability.</p>
<p>An interesting topic in the current election is the focus on universal health care. The US health care system is run by profit-oriented companies and their special interest organizations and really just hitting the fan. Many people aren&#8217;t cared for and many that are can&#8217;t afford to pay their bills. Having lived in Europe for most of my life I must say I prefer the European approach to things. The quality of live is just simply better and no-one has to worry about medical bills putting you out in the street. And I never got the impression I was cared for less over there &#8212; quite the contrary, American doctors annoy the crap out of me, all they ever want to do is make more money on tests and drugs without any real reason for it. I miss paying my 10 € a quarter even when going to a specialist. And not getting hit with about 10 bills after my $25 copay every time I go to the doctor (secretly my message here should be: eat more vegetables).</p>
<p>Let&#8217;s hope people learn out of this one. I&#8217;m really an optimist at heart :)</p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/more-ranting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gloom</title>
		<link>http://jtoee.com/2008/10/gloom/</link>
		<comments>http://jtoee.com/2008/10/gloom/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 18:18:27 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=230</guid>
		<description><![CDATA[My predictions just became gloomier. I fully expect the Dow to go down as far as 6000-8000 points before it recovers. Interest rates will go down in the short term, I think the Fed might very well lower them at the end of this month. However, this will come back to haunt us by driving [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_229" class="wp-caption alignright" style="width: 241px"><a href="http://www.facebook.com/home.php#/profile.php?id=500014279&amp;ref=nf"><img class="size-medium wp-image-229" title="n500014279_779114_2294" src="http://jtoee.com/wp-content/uploads/2008/10/n500014279_779114_2294.jpg" alt="" width="231" height="300" /></a><p class="wp-caption-text">Mock Economist Cover (thanks Jason)</p></div>
<p>My predictions just became gloomier. I fully expect the Dow to go down as far as 6000-8000 points before it recovers. Interest rates will go down in the short term, I think the Fed might very well lower them at the end of this month. However, this will come back to haunt us by driving up inflation, which will in the longer term increase interest rates. I think we&#8217;ll see over 10% or more within the next few years, just like in the 80s.</p>
<p>I don&#8217;t think we&#8217;ll all be out of jobs or going into another major depression. Just a deep recession. Non-essential budgets will get reduced (think advertising, like the industry I&#8217;m in right now - oy).</p>
<p>Oh, and can they just keep Bernanke from speaking out publicly? Everytime that guy makes an announcement the Dow drops 300.</p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/10/gloom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wtf?</title>
		<link>http://jtoee.com/2008/09/wtf/</link>
		<comments>http://jtoee.com/2008/09/wtf/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 13:32:52 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=220</guid>
		<description><![CDATA[
There&#8217;s nothing like getting to work early to be greeted with the total meltdown of the financial system. Lehman is bankrupt, Bank of America buys Merril, etc. What in the world is going on. Really?
Bank of America is still doing alright, that&#8217;s comforting. But it seems to me that the entire country has been in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jtoee.com/wp-content/uploads/2008/09/monday-09-15-2008.jpg"><img class="size-medium wp-image-221 alignright" title="Banking Meltdown" src="http://jtoee.com/wp-content/uploads/2008/09/monday-09-15-2008.jpg" alt="" width="300" height="285" /></a></p>
<p>There&#8217;s nothing like getting to work early to be greeted with the total meltdown of the financial system. Lehman is bankrupt, Bank of America buys Merril, etc. What in the world is going on. Really?</p>
<p>Bank of America is still doing alright, that&#8217;s comforting. But it seems to me that the entire country has been in a drindling downward spiral for about a year now with no end in sight. Housing down, people defaulting on loans, not paying credit card debt, banks failing, rising inflation and unemployment. This is making the crisis of the 70s and 80s look like a joke in comparison.</p>
<p>I have no words beside: WTF?</p>
<p>Small update: While my initial bet yesterday morning was that the DOW was going to drop 1000+ points, it really &#8220;just&#8221; went down 504. But I read today that there is still potential for a total meltdown.</p>
<p>Honestly, what the f!@#$ where they thinking when they came up with the crap like CDOs?? &#8220;The average price of housing in the us will never drop&#8221; &#8212; sounds to me a lot like &#8220;We&#8217;ll never need more than 640k of memory&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/09/wtf/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sun Releases xVM Server under Open Source License</title>
		<link>http://jtoee.com/2008/09/217/</link>
		<comments>http://jtoee.com/2008/09/217/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 01:35:49 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=217</guid>
		<description><![CDATA[It looks like VMWare ESX server is no longer the only freely available bare metal hypervisor (i.e. one that doesn&#8217;t require a full-blown OS but runs directly on the hardware). I tried to play with ESX but was kind of put off by the particular enterprise hardware it required, there is no way to run [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like VMWare ESX server is no longer the only freely available bare metal hypervisor (i.e. one that doesn&#8217;t require a full-blown OS but runs directly on the hardware). I tried to play with ESX but was kind of put off by the particular enterprise hardware it required, there is no way to run it on commodity hardware. Sun now released they xVM hypervisor under the GPLv3. Currently you can only download the source code, but I am looking forward to a binary release. I am hoping it&#8217;ll run on one of my servers at home :)</p>
<blockquote><p>&#8220;Sun xVM Server is an outgrowth of the Xen project — which raises the question of why a company would go with Sun&#8217;s version rather than the Xen one. Apart from its support for SPARC and Solaris (as well as other chips and operating systems), Sun is also building a services and sales organization around a commercial version of xVM server&#8230; If you want to kick the tires or cut your costs, you can hop over to xVMServer.org, download the source (GPL 3) and join the community. But Sun is betting that, as deployments move from an initial testing phase to active usage, large organizations will be willing to pay for guaranteed support (starting at $500 per year per physical server).&#8221;</p></blockquote>
<p>Check it out on<a href="http://xvmserver.org/index.html" target="_blank"> xvmserver.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/09/217/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Death of FireFox</title>
		<link>http://jtoee.com/2008/09/the-death-of-firefox/</link>
		<comments>http://jtoee.com/2008/09/the-death-of-firefox/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 15:56:30 +0000</pubDate>
		<dc:creator>jochen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jtoee.com/?p=213</guid>
		<description><![CDATA[Crap. First FireFox crashed, then, when restarting, it told me it needed to install updates.

After hitting the ok button, it tries the update again, fails. Ad infinitum.
WTF??
Do I have to use Chrome now afterall? ;)
]]></description>
			<content:encoded><![CDATA[<p>Crap. First FireFox crashed, then, when restarting, it told me it needed to install updates.</p>
<p><a href="http://jtoee.com/wp-content/uploads/2008/09/failed.jpg"><img class="aligncenter size-full wp-image-214" title="failed" src="http://jtoee.com/wp-content/uploads/2008/09/failed.jpg" alt="" width="500" height="107" /></a></p>
<p>After hitting the ok button, it tries the update again, fails. Ad infinitum.</p>
<p style="text-align: center;"><strong>WTF??</strong></p>
<p style="text-align: left;">Do I have to use Chrome now afterall? ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://jtoee.com/2008/09/the-death-of-firefox/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
