<?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>dogan kaya berktas</title>
	<atom:link href="http://doganberktas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://doganberktas.com</link>
	<description>a blog by a totally boring human being</description>
	<lastBuildDate>Mon, 25 Jan 2010 23:34:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using Twitter oauth on GAE/J</title>
		<link>http://doganberktas.com/2010/01/26/using-twitter-oauth-on-gaej/</link>
		<comments>http://doganberktas.com/2010/01/26/using-twitter-oauth-on-gaej/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 23:22:03 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[appengine-web.xml]]></category>
		<category><![CDATA[gae/j]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[Google Inc.]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java platform]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitter Inc]]></category>
		<category><![CDATA[twitter oauth]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=212</guid>
		<description><![CDATA[Twitter supports oauth and there are many libraries for it, for  Java(twitter4J)(oauth-signpost),  most of the time you see examples of a desktop version, so it can take time to implement it on a web application (it did take time for my case).
Step 1. Get a Twitter account and create a Twitter application from http://twitter.com/apps (don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Twitter supports <a href="http://apiwiki.twitter.com/OAuth-FAQ">oauth </a>and there are many libraries for it, for  Java(<a href="http://twitter4j.org/en/index.html#introduction">twitter4J</a>)(<a href="http://code.google.com/p/oauth-signpost/">oauth-signpost</a>),  most of the time you see examples of a desktop version, so it can take time to implement it on a web application (it did take time for my case).</p>
<p>Step 1. Get a Twitter account and create a Twitter application from http://twitter.com/apps (don&#8217;t forget to check in browser and enter a  valid callback url. Callback URL can not be localhost <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <a href="http://doganberktas.com/wp-content/uploads/2010/01/2.jpg"><img class="size-full wp-image-218 alignnone" title="2" src="http://doganberktas.com/wp-content/uploads/2010/01/2.jpg" alt="" width="523" height="536" /></a></p>
<p>Step 2.  Download <a href="http://twitter4j.org/en/index.html#download">twitter4J</a> add the library (in my case twitter4j-core-2.1.1-SNAPSHOT.jar) to project and update classpath</p>
<p>Step 3. Create a <a href="http://code.google.com/eclipse/docs/getting_started.html#creating">web application</a> (I assume you have the <a href="http://code.google.com/eclipse/">Google plugin for Eclipse </a>)</p>
<p><a href="http://doganberktas.com/wp-content/uploads/2010/01/1.jpg"><img class="size-full wp-image-219 alignnone" title="1" src="http://doganberktas.com/wp-content/uploads/2010/01/1.jpg" alt="" width="455" height="559" /></a></p>
<p>Step 4. Add the following servlets and update your web.xml. First servlet will handle login part. It will create a RequestToken which will create the magical aggrements between the consumer(your application) and provider(twitter). First servlet save the  token and secret token since we will need them later.</p>
<pre>String token = requestToken.getToken();
String tokenSecret = requestToken.getTokenSecret();
</pre>
<ul>
<li><a href="http://code.google.com/p/dogansartifacts/source/browse/trunk/GoogleAppEngineJava/TwiitterClient/src/a/b/c/server/HomeServlet.java">Home servlet</a></li>
<li><a href="http://code.google.com/p/dogansartifacts/source/browse/trunk/GoogleAppEngineJava/TwiitterClient/src/a/b/c/server/LoginServlet.java">Login Servlet</a></li>
</ul>
<p>Step 5. You forget to update web.xml didn&#8217;t you, update the web.xml</p>
<p>Step 6.  Enable <a href="http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions">session</a> by adding</p>
<pre>    &lt;sessions-enabled&gt;true&lt;/sessions-enabled&gt;
</pre>
<p>to appengine-web.xml.</p>
<p>You can see my version from <a href="http://90.latest.denemekaya.appspot.com/login">http://90.latest.denemekaya.appspot.com/login</a></p>
<p>ps. don&#8217;t forget to set the callback in Twittter to the url of the servlet for callback.</p>
<p>Links:</p>
<ul>
<li>http://www.pakzilla.com/2009/10/03/tutorial-java-based-twitter-app-on-google-app-engine/</li>
<li>Explain the same procedure with Grails &#8212; http://blogs.bytecode.com.au/glen/2009/12/08/log-into-your-grails-app-using-your-twitter-credentials.html</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/26/using-twitter-oauth-on-gaej/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smashing Magazine&#8217;den 10 Kullanilabilirlik Ipucu</title>
		<link>http://doganberktas.com/2010/01/24/smashing-magazineden-10-kullanilabilirlik-ipucu/</link>
		<comments>http://doganberktas.com/2010/01/24/smashing-magazineden-10-kullanilabilirlik-ipucu/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 04:00:14 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[kullanilabilirlik]]></category>
		<category><![CDATA[smashing magazine]]></category>
		<category><![CDATA[turkce]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=206</guid>
		<description><![CDATA[Smashing Magazine karsilastigim cok guzel bir yazinin, Turkce ozeti sayilabilecek bir post. Elbette cok cok kisaltilmis bir ozetidir. Yazinin orijinal hali burada.
1. Form yaratirken iki kolonlu tasarim yerine, dikey tasarim kullanin, cunku kullanicilar formu yukaridan asagiya tarayarak doldururlar. Bir diger noktada form&#8217;daki aciklama yazilari koyu renk (bold) olmamali.

2. Kullanicilar yuzlere odaklanir. Eger yuz bize degilde, [...]]]></description>
			<content:encoded><![CDATA[<p>Smashing Magazine karsilastigim cok guzel bir yazinin, Turkce ozeti sayilabilecek bir post. Elbette cok cok kisaltilmis bir ozetidir. Yazinin orijinal hali <a href="http://www.smashingmagazine.com/2009/09/24/10-useful-usability-findings-and-guidelines/">burada</a>.</p>
<p>1. Form yaratirken iki kolonlu tasarim yerine, dikey tasarim kullanin, cunku kullanicilar formu yukaridan asagiya tarayarak doldururlar. Bir diger noktada form&#8217;daki aciklama yazilari koyu renk (bold) olmamali.</p>
<p><img class="alignnone" title="form" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/tumblr.png" alt="" width="480" height="414" /></p>
<p>2. Kullanicilar yuzlere odaklanir. Eger yuz bize degilde, ekranda baska bir yere bakiyorsa, yuzden sonra kullanicilarin bakacagi diger nokta, bakis dogrultusudur.</p>
<p><img class="alignnone" title="face 1" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/eyes1.jpg" alt="" width="480" height="342" /></p>
<p><img class="alignnone" title="face 2" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/eyes2.jpg" alt="" width="480" height="344" /></p>
<p>3. Tasarimin kalitesi, guvenirliliginizi arttirir. Okurlar kitabin kapagindan kesinlikle etkilenirler, bu web icinde gecerli. Eger  tasarimdaki yerlesim, tutarlilik, tipografi, renk, still uyumluluk gosteriyorsa, bu ziaretciler uzerinde olumlu etki yapacaktir.</p>
<p><img class="alignnone" title="kalite" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/fever.jpg" alt="" width="480" height="361" /></p>
<p>4. Kullanicilar scroll kullanmazlar. Kullanicilarin %77 scroll arayuzunu kullanimiyor, bu yunden sayfanin yuklendiginde gorunen kismi cok onemli.</p>
<p><img class="alignnone" title="scroll" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/basecamp.jpg" alt="" width="480" height="339" /></p>
<p>5. Linkler icin gecerli renk MAVi.</p>
<p>6.  Arama kutulari icin ideal genislik, 26 karakter.</p>
<p><img class="alignnone" title="search" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/google.png" alt="" width="480" height="62" /></p>
<p>7. Beyaz alanlar algiyi arttirir.</p>
<p><img class="alignnone" title="beyz" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/netsetter.jpg" alt="" width="480" height="400" /></p>
<p>8. Sadece 5 kisiyle yapacaginiz kullanilabilirlik testi, sitenizdeki kullanilabilirlik sorunlarinin %85&#8242;ini cozecektir.</p>
<p><img class="alignnone" title="test" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/usertests.png" alt="" width="480" height="287" /></p>
<p>9. Urunleriniz icin bilgi acisindan aciklayici sayfalar hazirlayin, sadece kisa bir sure bakacak olan ziyaretciler icin bile daha gecerlidir.</p>
<p><img class="alignnone" title="poduct" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/ipod.jpg" alt="" width="480" height="320" /></p>
<p>10. Kulanicilarin cogu reklamlara (ya da reklama benzeyen ogelere) karsi kor gibidir.</p>
<p><img class="alignnone" title="ad" src="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/09/flashden.jpg" alt="" width="480" height="411" /></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/24/smashing-magazineden-10-kullanilabilirlik-ipucu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Memcache with Google App Engine (GAE/J)</title>
		<link>http://doganberktas.com/2010/01/18/using-memcache-with-google-app-engine-gaej-a-simple-beginning-fragman-iphone-application/</link>
		<comments>http://doganberktas.com/2010/01/18/using-memcache-with-google-app-engine-gaej-a-simple-beginning-fragman-iphone-application/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 21:39:23 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[gae]]></category>
		<category><![CDATA[gae/j]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[ifragman]]></category>
		<category><![CDATA[iphone application]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java Servlet]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Memcached]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=196</guid>
		<description><![CDATA[A simple beginning &#8212; Fragman iPhone Application
Memcache provides convenience to store a frequent query in memory, so that you don&#8217;t have to make the same execution over and over again. For the iPhone application I build (Fragman), I build a GAE/J backend for managing movie names, IMDB URLs, thumb images, video files, etc. It interacts [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A simple beginning &#8212; Fragman iPhone Application</strong></p>
<p>Memcache provides convenience to store a frequent query in memory, so that you don&#8217;t have to make the same execution over and over again. For the <a href="http://ifragman.com"><span style="color: #800000;">iPhone application I build (Fragman</span></a><span style="color: #800000;">)</span>, I build a GAE/J backend for managing movie names, IMDB URLs, thumb images, video files, etc. It interacts with the Obj-c code via calls encoded in JSON.</p>
<p>Since the categories are updated so frequently (new trailer, top 250 , soap opera trailers), every time the user starts the application from her iPhone, the corresponding categories Id(key) lists are  created which includes all the aspects mentioned above,</p>
<p>what I see, after people start to use the application that, most of the time, the application got stuck with the time constraint of GAE and  this causes inconvenience, so I decided to hold the category lists&#8217;s JSON in memory. Following is the code ,</p>
<p>this is the servlet for creating the JSON which is called after say upcoming movie list is changed. This servlet updates the memcached list</p>
<pre>        List keyList = new ArrayList();
	static Cache cache;
	static
	{
		try
		{
			CacheFactory cacheFactory =</pre>
<pre>CacheManager.getInstance().getCacheFactory();
			cache = cacheFactory.createCache(</pre>
<pre>Collections.emptyMap());
		}
		catch (CacheException e)
		{
			// ...
		}
		//.....
                public void doGet(HttpServletRequest request,</pre>
<pre>HttpServletResponse response) throws ServletException, IOException</pre>
<pre>	        {
                       //................
                       if(cache.containsKey(mode))
		       {
			     cache.remove(mode);
		       }
		       cache.put(mode, keyList);
	        }</pre>
<pre>                //........</pre>
<pre>          }</pre>
<p>And this is the servlet that fetch the Fragman beans from the datastore with the given keys (key list is got from the memecached list)</p>
<pre>          keyList = (List)cache.get(mode);</pre>
<pre>By doing this, I reduce the time that the servlet that creates the JSON takes.</pre>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/18/using-memcache-with-google-app-engine-gaej-a-simple-beginning-fragman-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fragman iPhone Application</title>
		<link>http://doganberktas.com/2010/01/18/fragman-iphone-application/</link>
		<comments>http://doganberktas.com/2010/01/18/fragman-iphone-application/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 15:54:29 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[cinema]]></category>
		<category><![CDATA[fragman]]></category>
		<category><![CDATA[iphone application]]></category>
		<category><![CDATA[sinema]]></category>
		<category><![CDATA[teaser]]></category>
		<category><![CDATA[trailer]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=177</guid>
		<description><![CDATA[Film fragmalarini ve trailerlarini iceren yeni iPhone uygulamasi Fragman app store&#8217;da yerini aldi.  Vizyon, gelecek, dizi ve Top 250 (imdb top 250) kategorilerini iceriyor, su an icin oldukca guncel   devamini da getirmeyi dusunuyoruz, yardim etmek isteyenler olursa cok seviniriz. Uygulamanin web sayfasi http://ifragman.com.



]]></description>
			<content:encoded><![CDATA[<p>Film fragmalarini ve trailerlarini iceren yeni iPhone uygulamasi Fragman app store&#8217;da yerini aldi.  Vizyon, gelecek, dizi ve Top 250 (imdb top 250) kategorilerini iceriyor, su an icin oldukca guncel <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  devamini da getirmeyi dusunuyoruz, yardim etmek isteyenler olursa cok seviniriz. Uygulamanin web sayfasi <a href="http://ifragman.com">http://ifragman.com</a>.</p>
<p><a href="http://dogan.appspot.com/33"><img  style="border: 0pt none;" src="http://doganberktas.com/wp-content/uploads/2010/01/App_Store1.jpg" alt="app store" /></a><br />
</p>
<p><a href="http://doganberktas.com/wp-content/uploads/2010/01/photo-4.jpg"><img class="size-full wp-image-178" title="photo 4" src="http://doganberktas.com/wp-content/uploads/2010/01/photo-4.jpg" alt="" width="320" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/18/fragman-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yeni Tohumlar &#8212; etohum 2010</title>
		<link>http://doganberktas.com/2010/01/13/yeni-tohumlar-etohum-2010/</link>
		<comments>http://doganberktas.com/2010/01/13/yeni-tohumlar-etohum-2010/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 00:22:08 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[angel investors]]></category>
		<category><![CDATA[e-tohum]]></category>
		<category><![CDATA[entrepreneur]]></category>
		<category><![CDATA[etohum]]></category>
		<category><![CDATA[girisimci/yatirimci bulusmasi]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=164</guid>
		<description><![CDATA[2009 bizim (ben ve yekmer) için çok heyecanli bir yil oldu. Bunda etohum&#8217;un ve Burak hoca&#8216;nin payi çok büyük.
Bu sene etohum 20 Ocak&#8217;ta yeni tohumlari duyuracak, inaniyorumki etohum bu sene daha da etkili ve basarili olacak. bu sene geçen seneki gibi girisimcilere 4 günlük bir kurs verilecek. 2009 yilinda bogaz manzarasi esliginde yapilan kurs, bu sene akdeniz [...]]]></description>
			<content:encoded><![CDATA[<p>2009 bizim (ben ve <a href="http://yekmer.blogspot.com/">yekmer</a>) için çok heyecanli bir yil oldu. Bunda etohum&#8217;un ve <a href="http://burakbuyukdemir.com/">Burak hoca</a>&#8216;nin payi çok büyük.</p>
<p>Bu sene etohum 20 Ocak&#8217;ta yeni tohumlari duyuracak, inaniyorumki etohum bu sene daha da etkili ve basarili olacak. bu sene geçen seneki gibi girisimcilere 4 günlük bir kurs verilecek. 2009 yilinda bogaz manzarasi esliginde yapilan kurs, bu sene akdeniz sahilllerine tasinmis <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  bir de <a href="http://www.etohum.com/eaic">incubator </a>acilldi, bu sene etohumcular için harika geçecek sanirim. ilgili etohum <a href="http://www.etohum.com/2010%e2%80%99da-en-iyi-yatirim-araci-internet-sirketleri-olacak">linki</a>&#8216;de budur.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/01/13/yeni-tohumlar-etohum-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Simple Chart for a GWT Application on GAE/J</title>
		<link>http://doganberktas.com/2009/12/19/a-simple-chart-for-a-gwt-application-on-gaej/</link>
		<comments>http://doganberktas.com/2009/12/19/a-simple-chart-for-a-gwt-application-on-gaej/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 02:41:17 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[gchart]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[Google Inc.]]></category>
		<category><![CDATA[Google Web Toolkit]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[gwt 2.0]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Web development software]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=147</guid>
		<description><![CDATA[I am trying charting solutions for a GWT project and gchart seems a nice one. After some digging I create a sample project which is hosted on Google App Engine (GAE) demo. Source code is at Google project
The chart will show the remaining number of months in the current year.

First download the jar from the [...]]]></description>
			<content:encoded><![CDATA[<p>I am trying charting solutions for a GWT project and gchart seems a nice one. After some digging I create a sample project which is hosted on Google App Engine (GAE) <a href="http://ghart-samples.appspot.com/">demo</a>. Source code is at <a href="https://dogansartifacts.googlecode.com/svn/trunk/GoogleAppEngineJava/GChart-samples">Google project</a></p>
<p>The chart will show the remaining number of months in the current year.</p>
<ul>
<li>First download the jar from the project home page http://code.google.com/p/gchart/</li>
<li>Put it under war/WEB-INF/lib and add the gchart.jar to your classpath</li>
<li>Create a  Web Application project called it GChart-samples (I assume you have Google Eclipse Plugin and follow the basic steps from <a href="http://code.google.com/eclipse/docs/getting_started.html">here</a>)</li>
<li>This step is for make-up, find GChart_samples.html under war/WEB-INF and clear the part between &lt;body&gt; tags.</li>
<li>Open GChart_samples.gwt.xml and add the following line
<pre>&lt;inherits name='com.googlecode.gchart.GChart'/&gt;</pre>
</li>
<li>Create a class in client folder called FirstChart and change it as the following
<pre>package com.dogan.kaya.client;

import com.googlecode.gchart.client.GChart;

public class FirstChart extends GChart
{
	public FirstChart()
	{
		setChartSize(350, 350);

		addCurve();

		int[] data = { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 };
		for (int i = 0; i &lt; data.length; i++)
		{
			getCurve().addPoint(i + 1, data[i]);
		}
		//curve customization
		getCurve().getSymbol().setHeight(10);
		getCurve().getSymbol().setWidth(10);
		getCurve().getSymbol().setBorderColor("black");
		getCurve().getSymbol().setBorderWidth(3);
		getCurve().getSymbol().setSymbolType(SymbolType.LINE);
		getCurve().getSymbol().setFillThickness(2);
		getCurve().getSymbol().setFillSpacing(0);
		//chart customization
		getXAxis().setAxisMin(1);
		getXAxis().setAxisMax(12);
		getXAxis().setTickCount(12);
		getXAxis().setHasGridlines(false);
		getXAxis().setTickLocation(TickLocation.CENTERED);
		getXAxis().setTickLabelFontSize(10);
		getYAxis().setAxisMin(0);
		getYAxis().setAxisMax(12);
		//to get inteter values on y axis, be careful
		//about the number of intervals it can be tricky
		getYAxis().setTickCount(13);
		getYAxis().setTicksPerLabel(2);
		getYAxis().setHasGridlines(false);
		getYAxis().setTickLabelFontSize(10);
		//
		update();
	}
}</pre>
</li>
<li>Open GChart_samples class and change it like the following
<pre>package com.dogan.kaya.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

public class GChart_samples implements EntryPoint
{
	public void onModuleLoad()
	{
		RootPanel.get().add(new FirstChart());
	}
}</pre>
</li>
<li>My output is sth like that</li>
</ul>
<p><a href="../wp-content/uploads/2009/12/chart1.jpg"></a><a href="http://doganberktas.com/wp-content/uploads/2009/12/chart11.jpg"><img class="alignnone size-full wp-image-154" title="chart1" src="http://doganberktas.com/wp-content/uploads/2009/12/chart11.jpg" alt="" width="361" height="199" /></a></p>
<p>ps:</p>
<p>some nice links about gchart are as follows:</p>
<ol>
<li style="text-align: justify;">gchart <a href="http://code.google.com/p/gchart/">homepage</a></li>
<li style="text-align: justify;">A simple tutorial at http://whatwouldnickdo.com/wordpress/264/simple-charts-in-gwt-with-gchart/</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2009/12/19/a-simple-chart-for-a-gwt-application-on-gaej/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to basics &#8212; A simple beginning to Grails</title>
		<link>http://doganberktas.com/2009/12/11/back-to-basics-a-simple-beginning-to-grails/</link>
		<comments>http://doganberktas.com/2009/12/11/back-to-basics-a-simple-beginning-to-grails/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 03:50:15 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache Struts]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[grails tutorial]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java enterprise platform]]></category>
		<category><![CDATA[Java platform]]></category>
		<category><![CDATA[relaible product]]></category>
		<category><![CDATA[Rife]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Spring Framework]]></category>
		<category><![CDATA[Web application frameworks]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=138</guid>
		<description><![CDATA[I guess I can finally finish my search for a good server side companion (at least for now).  A couple years ago RIFE was my only choice but unfortunately, it didn&#8217;t work out well as I expected (RIFE is an open source project but partly because of developers like me  who uses the framework but [...]]]></description>
			<content:encoded><![CDATA[<p>I guess I can finally finish my search for a good server side companion (at least for now).  A couple years ago <a href="http://rifers.org/">RIFE </a>was my only choice but unfortunately, it didn&#8217;t work out well as I expected (RIFE is an open source project but partly because of developers like me  who uses the framework but doesn&#8217;t pay his gratitude by adding sth to it, RIFE for the time being a dead project (at least for me!))</p>
<p style="text-align: center;"><a title="English Speaker" href="http://flickr.com/photos/23515014@N04/2948892935"><img class="alignnone" src="http://farm4.static.flickr.com/3254/2948892935_67a1da4122.jpg" alt="" width="454" height="500" /></a></p>
<p>Anyway, for some time I consider turn back to good old J2EE, then wander on the land of some other Java enterprise frameworks (Spring MVC, Wicket, Struts 2, Hibernate etc ) then Google App engine Java with its in progress full stack framework like environment. Then I decide that all the ones mentioned above has steep learning curves and without feeling complely comfortable with them, It is imposible to develop sth quickly.</p>
<p>Then the obvious direction was rails. First give a try to Django, then read some about  RoR but both of them somehow scare me out. I need to learn a new language (which Django tutorial specificly warns about looking a good python tutorial before devlde into Django), on the other hand, Grails (my love!) just start the sentence with &#8220;don&#8217;t worry about the groovy, you can learn it along the way&#8221;.</p>
<p>Obviously, Grails is relatively new compared to two other alternative and it has (or used to have) to many bugs for a relaible product.</p>
<p>But trust me, it is easy to just start and kick the first alfa version of sth out is a joy.</p>
<p>&#8211;</p>
<p>Ok this post is suppose to be a yet another introduction to Grails tutorial, so&#8230;</p>
<p><strong>Steps to Get Started</strong></p>
<p>1.  install Grails (there is nothing I can add here &#8212; <a href="http://www.grails.org/Installation">http://www.grails.org/Installation</a>)</p>
<p>2. open command line and create a project with grails create-app Yeap</p>
<p>3. Go to the created directory cd Yeap</p>
<p>4. Type grails run-app</p>
<p>That&#8217;s it!</p>
<p>I&#8217;m currently using <a href="http://grails.org/plugin/shiro">Apache Shiro</a> plugin (previously JSecurity), <a href="http://code.google.com/p/derjanandhisblog/wiki/GWTGrailsTutorial">Gwt plugin</a>, Postgresql, Eclipse for the development, More posts related to these will be here soon (I hope)</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2009/12/11/back-to-basics-a-simple-beginning-to-grails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rama II</title>
		<link>http://doganberktas.com/2009/12/09/rama-ii/</link>
		<comments>http://doganberktas.com/2009/12/09/rama-ii/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 15:47:43 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[book]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[sci-fi]]></category>
		<category><![CDATA[Arthur C. Clarke]]></category>
		<category><![CDATA[Gentry Lee]]></category>
		<category><![CDATA[Rama]]></category>
		<category><![CDATA[Rama II]]></category>
		<category><![CDATA[science fiction]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=123</guid>
		<description><![CDATA[I&#8217;ve recently finished the novel Rama II (goodreads)(wikiepedia)by Arthur C. Clarke (ACC) and Getry Lee. Two authors form a perfect combination. Below are some of the passages I underline. There are in fact some very good passages.
Mankind was not unique, maybe not even special. It was just a question of time before prevailing homo centric notion of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.goodreads.com/book/show/891046.Rama_II?utm_medium=api&amp;utm_source=blog_book"><img class="alignleft" style="margin-left: 10px; margin-right: 10px;" src="http://photo.goodreads.com/books/1179227094m/891046.jpg" alt="Rama II" width="85" height="140" /></a>I&#8217;ve recently finished the novel Rama II (<a href="http://www.goodreads.com/book/show/891046.Rama_II">goodreads</a>)(<a href="http://en.wikipedia.org/wiki/Rama_II_(novel)">wikiepedia</a>)by Arthur C. Clarke (<a href="http://en.wikipedia.org/wiki/Arthur_C._Clarke">ACC</a>) and <a href="http://en.wikipedia.org/wiki/Gentry_Lee">Getry Lee</a>. Two authors form a perfect combination. Below are some of the passages I underline. There are in fact some very good passages.</p>
<blockquote><p>Mankind was not unique, maybe not even special. It was just a question of time before prevailing homo centric notion of universe was to be irrevocably shattered by clearer awareness of the Others.(pg23)</p>
<p>&#8230;</p></blockquote>
<blockquote><p>The memories of the terrible traumas of their youth during the Chaos haunted the adult generation and made them extremely rigid in their application of parental discipline. To them life was not a joyride at am amusement park. It was a deadly serious affair&#8230;(pg33)</p>
<p>&#8230;</p></blockquote>
<blockquote><p>Our conversation reminds me of that old Hindu proverb about the blind men who felt the elephant, They all described it differently, for of them touched only a small part of the animal. None of them was correct.(pg 216)</p>
<p>&#8230;</p></blockquote>
<blockquote><p>there came from inside her a different voice, an assertive, optimistic voice that refuse to let her give up. It told her that any time of being alive was precious and wonderful, that simply being conscious at all, ever, was an overwhelming miracle of nature.(pg292)</p>
<p>&#8230;</p></blockquote>
<p>Father of Nicole des Jardin to the audience on a ceremony for his successful scientific career:</p>
<blockquote><p>For when your life is over, if you can say &#8220;I have learned&#8221; and &#8220;I have loved&#8221;, you will also be able to say &#8220;I have been happy(pg297)&#8221;</p>
<p>&#8230;</p></blockquote>
<blockquote><p>All bureausicracies are the same. They drain the life out of the truly creative people and develop  mindless paper-pushers as their critical mass(pg339)</p>
<p>&#8230;</p></blockquote>
<blockquote><p>There may be or not may be a god;I may or may not believe in him. The only way I can lose is if there is a go and I do not believe him. Therefore I shall believe in him to minimize my risk(pg479)</p></blockquote>
<p>It was a real excitement to image myself (just for a minute ) in Rama and try to look around and at the same the check my back to see whether there is a biot trying to rip me apart!</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2009/12/09/rama-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paul Graham at Startup School 08</title>
		<link>http://doganberktas.com/2009/12/08/paul-graham-at-startup-school-08/</link>
		<comments>http://doganberktas.com/2009/12/08/paul-graham-at-startup-school-08/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 20:33:37 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[don't be evil]]></category>
		<category><![CDATA[paul graham]]></category>
		<category><![CDATA[start-up]]></category>
		<category><![CDATA[ycombinator]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=114</guid>
		<description><![CDATA[Recently I started to reread and re watch all the pg resources (including the ones I haven&#8217;t encountered before). 
This is a nice video from the Start-up school of 2008 which has suggestions for start-ups and suggestions about being good (not evil) towards people.

Share and annotate your videos with Omnisio!

]]></description>
			<content:encoded><![CDATA[<p>Recently I started to reread and re watch all the <a href="http://www.paulgraham.com/">pg</a> resources (including the ones I haven&#8217;t encountered before). </p>
<p>This is a nice video from the Start-up school of 2008 which has suggestions for start-ups and suggestions about being good (not evil) towards people.</p>
<p><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjAyNDA3MDk*ODQmcHQ9MTI2MDI5MzMzODIwMyZwPTE5MzUwMSZkPSZnPTEmbz1hZTlkZDI1YjZkYjc*YzM2OTIzZGIxZjM4YWU4MTI*MyZvZj*w.gif" /><object width='520' height='276'><param name='movie' value='http://omnisio.com/bin/Embed.swf?embedID=drRaTa46qr3RQtadbiFy2w&#038;autoPlay=0' /><param name='bgcolor' value='#FFFFFF' /><param name='quality' value='high' /><param name='allowscriptaccess' value='always' /><param name='allowfullscreen' value='true' /><embed type='application/x-shockwave-flash' name='omnisio_video_drRaTa46qr3RQtadbiFy2w' src='http://omnisio.com/bin/Embed.swf?embedID=drRaTa46qr3RQtadbiFy2w&#038;autoPlay=0' bgcolor='#FFFFFF' quality='high' allowfullscreen='true' allowscriptaccess='always' width='520' height='276' ><noembed>
<div><a href='http://www.omnisio.com'>Share and annotate your videos</a> with Omnisio!</div>
<p></noembed></embed></object><br /><a border=0 href="http://www.gigyamailbutton.com/wildfire/gigyamailbutton.ashx?url=aHR*cDovL3dpbGRmaXJlLmdpZ3lhLmNvbS93aWxkZmlyZS93ZnBvcC5hc3B4P21vZHVsZT1lbWFpbCZ1cmw9aHR*cCUzYSUyZiUyZm9tbmlzaW8uY29tJTJmdiUyZjBSZlhyU2JkamhHJTJmcGF1bC1ncmFoYW*tYXQtc3RhcnR1cC1zY2hvb2wtMDg=" target="_blank"><img src="http://cdn.gigya.com/wildfire/i/includeShareButton.gif" border="0" width="60" height="20" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2009/12/08/paul-graham-at-startup-school-08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cydia and XCode Local App Testing</title>
		<link>http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/</link>
		<comments>http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 13:44:48 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[Dpkg]]></category>
		<category><![CDATA[IPhone OS]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[ldid]]></category>
		<category><![CDATA[local application]]></category>
		<category><![CDATA[Multi-touch]]></category>
		<category><![CDATA[test application]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=78</guid>
		<description><![CDATA[1. Go to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/SDKSettings.plist and change CODE_SIGNING_REQUIRED to NO and save it. (if it complains about file permission right click the file and select Get Info and after unlocking the file, change the permission to read&#38;write)


2. In XCode open the info page and change Code Signing Identy to Don&#8217;t Code Sign.

3. In the terminal, set [...]]]></description>
			<content:encoded><![CDATA[<p>1. Go to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/SDKSettings.plist and change CODE_SIGNING_REQUIRED to NO and save it. (if it complains about file permission right click the file and select Get Info and after unlocking the file, change the permission to read&amp;write)</p>
<p><img src="file:///Users/dkberktas/Desktop/Picture%2011.png" alt="" /><a rel="attachment wp-att-79" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-11/"><img class="alignnone size-full wp-image-79" style="border: 0pt none;" title="Plist File" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-11.png" alt="Plist File" width="498" height="310" /></a></p>
<p><a rel="attachment wp-att-80" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-12/"><img class="alignnone size-full wp-image-80" style="border: 0pt none;" title="Picture 12" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-12.png" alt="Picture 12" width="499" height="461" /></a></p>
<p>2. In XCode open the info page and change Code Signing Identy to Don&#8217;t Code Sign.</p>
<p><a rel="attachment wp-att-81" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-13/"><img class="alignnone size-full wp-image-81" style="border: 0pt none;" title="Picture 13" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-13.png" alt="Picture 13" width="497" height="364" /></a><br />
3. In the terminal, set the environment variable  CODESIGN_ALLOCATE  as follows: (or you will get an error like this util/ldid.cpp(567): _assert(0:arch != NULL))<br />
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate<br />
<a rel="attachment wp-att-82" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-14/"><img class="alignnone size-full wp-image-82" style="border: 0pt none;" title="Picture 14" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-14.png" alt="Picture 14" width="513" height="419" /></a><br />
4. Open Fugu and connect to your iphone (you can download FUGU from <a href="http://tc.versiontracker.com/product/redir/lid/173454/Fugu-1.2.0-Universal-English.dmg" target="_blank">here</a>)(you can find the IP address your iphone from Settings-&gt;Wi-fi-&gt;ConnectedWirelessName) (Username should be <strong>root</strong> and password should be <strong>alpine</strong> OR <strong>dottie</strong>) (open your iphone and don&#8217;t let it pass to stand-by mode during these phases)</p>
<p><a rel="attachment wp-att-83" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-15/"><img class="alignnone size-full wp-image-83" style="border: 0pt none;" title="Picture 15" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-15.png" alt="Picture 15" width="509" height="415" /></a><a rel="attachment wp-att-84" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-16/"><img class="alignnone size-full wp-image-84" style="border: 0px solid black;" title="Picture 16" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-16.png" alt="Picture 16" width="510" height="416" /></a><br />
5. Go to root directory and from here go to Applications directory</p>
<p><a rel="attachment wp-att-85" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-17/"><img class="alignnone size-full wp-image-85" style="border: 0pt none;" title="Picture 17" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-17.png" alt="Picture 17" width="513" height="418" /></a><a rel="attachment wp-att-86" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-18/"><img class="alignnone size-full wp-image-86" style="border: 0pt none;" title="Picture 18" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-18.png" alt="Picture 18" width="511" height="417" /></a><a rel="attachment wp-att-87" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-19/"><img class="alignnone size-full wp-image-87" style="border: 0pt none;" title="Picture 19" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-19.png" alt="Picture 19" width="514" height="420" /></a><br />
6. In XCode, build your application, from Products folder, select Reveal in Finder</p>
<p>7. Upload the .app file to the Applications folder in your iPhone</p>
<p>8. Open a Terminal and connect to your iphone with ssh like (be  careful that iphone is not in stand-by mode)</p>
<p>root@192.168.1.5 and enter your password</p>
<p><a rel="attachment wp-att-88" href="http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/picture-20/"><img class="alignnone size-full wp-image-88" style="border: 0pt none;" title="Picture 20" src="http://doganberktas.com/wp-content/uploads/2009/10/Picture-20.png" alt="Picture 20" width="557" height="425" /></a></p>
<p>9. First change the binary file permission of your application</p>
<p>chmod 755 /Applications/Appname.app/Appname</p>
<p>10. Then sign the app file with ldid</p>
<p>ldid -S /Applications/Appname.app/Appname</p>
<p>11. Restart the iphone, you are good to go</p>
<p>Note:<br />
1. If ldid command can not be found, type apt-get install ldid OR aptitude install ldid<br />
2. If apt-get can not be found install aptitude from Cydia</p>
<p>3.There are very useful pages on the net, so just google xcode and cydia, here is one of them http://thebigboss.org/hosting-repository/submit-your-app/compile-for-cydia-submission/</p>
<p>4. If you get an error like util/ldid.cpp(567): _assert(0:arch != NULL), there can be two possible reason for this, you either forget to export CODESIGN_ALLOCATE. The other possibility is that you build the application for the simulator. To fix this,  from XCOde change it to Device &#8211; 3.0  or sth similar <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . You should see it on the combo box top left top corner of XCode.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2009/10/19/cydia-and-xcode-local-app-testing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
