<?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>Doga Berntas &#187; Uncategorized</title>
	<atom:link href="http://doganberktas.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://doganberktas.com</link>
	<description>is actually from a small planet somewhere in the vicinity of Betelgeuse</description>
	<lastBuildDate>Sat, 21 Apr 2012 21:48:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>iOS and Custom Fonts</title>
		<link>http://doganberktas.com/2012/01/26/ios-and-custom-fonts/</link>
		<comments>http://doganberktas.com/2012/01/26/ios-and-custom-fonts/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 22:52:51 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[custom fonts]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[HelveticaNeue]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=793</guid>
		<description><![CDATA[Recently, I was working on a game with Cocos2d and keep getting this weird iOS version problem. On iOS 5, all my labels were shown as expected but on iOS 4 labels somehow kept disappearing. First I thought this is because of the retina display and point/pixels stuff. However, it was because of the fonts I was [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Crazy quilt collage, is this Cubism (Hockney anyone?) or is this a Fauvist mess?" href="http://flickr.com/photos/23642817@N00/2478897091"><br />
</a></p>
<p>Recently, I was working on a game with Cocos2d and keep getting this weird iOS version problem. On iOS 5, all my labels were shown as expected but on iOS 4 labels somehow kept disappearing. First I thought this is because of the retina display and point/pixels stuff. However, it was because of the fonts I was using. HelveticaNeue-CondensedBold and HelveticaNeue-CondensedBlack are available on iOS 5, but not on iOS 4 (<a href="http://iosfonts.com/" target="_blank">http://iosfonts.com/</a>).</p>
<p><a title="Crazy quilt collage, is this Cubism (Hockney anyone?) or is this a Fauvist mess?" href="http://flickr.com/photos/23642817@N00/2478897091"><img class="aligncenter" src="http://farm4.static.flickr.com/3086/2478897091_02ac5a97fb.jpg" alt="" width="309" height="500" /></a></p>
<p>I googled to see how easy to add custom fonts and it turned out, it is super easy.</p>
<p>These are the links I found helpful:</p>
<ul>
<li>Adding custom fonts by Dave Allanson (<a href="http://www.daveallanson.com/index.php?option=com_content&amp;view=article&amp;id=56:adding-custom-fonts-ios-4&amp;catid=38:blog&amp;Itemid=56" target="_blank">link</a>)</li>
<li>Using Custom Fonts by M. Arsalan Anwar (<a href="http://arsalananwar.blogspot.com/2010/10/using-custom-fonts-on-iphoneipad.html" target="_blank">link</a>)</li>
</ul>
<div><strong>Steps to Add Custom Font:</strong></div>
<div>1. Add font files to project</div>
<div>2. Open your Info.plist file</div>
<div>3. Create the key &#8220;UIAppFonts&#8221;  as Array (it will be shown as &#8220;Fonts provided by application&#8221;  if you are not on Ras Key/Value state, right click and you will see what I mean)</div>
<div>4. Add the fonts to the array</div>
<div><a href="http://doganberktas.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-25-at-2.43.30-PM.png"><img class="alignnone size-medium wp-image-796" title="Screen Shot 2012-01-25 at 2.43.30 PM" src="http://doganberktas.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-25-at-2.43.30-PM-300x34.png" alt="" width="300" height="34" /></a></div>
<div>5. In your code, you can use these fonts as if you are using the regular ones (without the file extension).</div>
<div><strong>Drawing Problems:</strong></div>
<div>If you get the fonts from Adobe, we will get a drawing problem like mentioned <a href="http://stackoverflow.com/questions/5414730/custom-installed-font-not-displayed-correctly-in-uilabel">here</a>. You need to follow the steps <a href="http://stackoverflow.com/questions/7535498/uibutton-custom-font-vertical-alignment/8314197#8314197">here</a>, change the font file&#8217;s ascender property. Don&#8217;t worry it is not that scary as it seems <img src='http://doganberktas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Don&#8217;t forget to install Apple Font Tool Suite from <a href="http://developer.apple.com/fonts/">here</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2012/01/26/ios-and-custom-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving UIImage as a PNG with an Alpha Channel (with transparency) on iOS</title>
		<link>http://doganberktas.com/2010/11/22/saving-uiimage-as-a-png-with-an-alpha-channel-with-transparency-on-ios/</link>
		<comments>http://doganberktas.com/2010/11/22/saving-uiimage-as-a-png-with-an-alpha-channel-with-transparency-on-ios/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 00:28:19 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[alpha channel]]></category>
		<category><![CDATA[documents folder]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Snippet]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[uiimage]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=738</guid>
		<description><![CDATA[Say you let your user draw thing and let them go wild with their imaginations, as they probably create awesome drawings, you should probably want to save these images to somewhere. After this short happy talk, here is the code snippet that saves your UIImage to the Documents folder with its alpha channel, if there [...]]]></description>
			<content:encoded><![CDATA[<p>Say you let your user draw thing and let them go wild with their imaginations, as they probably create awesome drawings, you should probably want to save these images to somewhere.</p>
<p style="text-align: center;"><a title="Three Cats by the window..." href="http://flickr.com/photos/73567305@N00/1780521687"><img class="aligncenter" src="http://farm3.static.flickr.com/2248/1780521687_8efe47e43b.jpg" alt="" /></a></p>
<p>After this short happy talk, here is the code snippet that saves your UIImage to the Documents folder with its alpha channel, if there is one. The other method is for reading that image back to an UIImage instance.</p>
<pre>-(void)saveImageToDocs:(NSString *)fileName
{
	NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
	NSString *documentsDirectory = [paths objectAtIndex:0];
	NSString *filePath2 = [NSString stringWithFormat:@"%@/%@.png", documentsDirectory, fileName];

	// If you use this method, the transparency will be lost
	//NSData* imageData = UIImageJPEGRepresentation(drawImage.image, 1.0);
	//NSData* imageData = UIImagePNGRepresentation(drawImage.image);
	//[imageData writeToFile:filePath2 atomically:NO];

	// So use this one
	[UIImagePNGRepresentation(myUIImage) writeToFile:filePath2 atomically:YES];
}

-(void)loadImageFromDocs:(NSString *)fileName
{
	NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
	NSString *documentsDirectory = [paths objectAtIndex:0];
	NSString *filePath2 = [NSString stringWithFormat:@"%@/%@.png", documentsDirectory, fileName];
	if([[NSFileManager defaultManager] fileExistsAtPath:filePath2])
	{
		NSLog(@"image file exists");
		myUIImage = [UIImage imageWithContentsOfFile: filePath2];
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/11/22/saving-uiimage-as-a-png-with-an-alpha-channel-with-transparency-on-ios/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using AWS S3 Service with RoR Paperclip</title>
		<link>http://doganberktas.com/2010/07/15/using-aws-s3-service-with-ror-paperclip/</link>
		<comments>http://doganberktas.com/2010/07/15/using-aws-s3-service-with-ror-paperclip/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 20:21:18 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon s3]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=421</guid>
		<description><![CDATA[Continuing from the last post, you might want to use AWS S3 for hosting the uploaded files. Actually the steps are pretty easy as described in the following links: Setup Paperclip plugin with Amazon S3 to upload videos in rails Paperclip and Amazon S3 ps. If you are having an error like this ArgumentError: wrong [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing from the last <a href="http://doganberktas.com/2010/07/13/paperclip-and-imagemagick-and-a-weird-problem-in-ror/">post</a>, you might want to use AWS S3 for hosting the uploaded files. Actually the steps are pretty easy as described in the following links:</p>
<ul>
<li><a href="http://scottmotte.com/archives/181.html">Setup Paperclip plugin with Amazon S3 to upload videos in rails</a></li>
<li><a href="http://www.claytonlz.com/index.php/2008/06/paperclip-and-amazon-s3/">Paperclip and Amazon S3</a></li>
</ul>
<p>ps. If you are having an error like this</p>
<div style="background: grey; color: white;">
<pre><code>ArgumentError: wrong number of arguments (5 for 4)
</code></pre>
</div>
<p>this is probably because you have both the aws-s3 gem and right_aws, just change the environment.rb<br />
as in the following link</p>
<p>http://stackoverflow.com/questions/1550708/rails-paperclip-conflict-between-aws-s3-gem-and-right-aws-gem-how-to-solve</p>
<p>ps2. If you are planning to deploy to heroku add the gem to .gems file, or you will get an error like this <strong>&#8220;App failed to start&#8221; &#8212; your application is missing the following gems:&#8230;</strong>&#8221;<br />
<img src="http://doganberktas.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-9.47.31-PM.png" alt="" width="456" height="249" /></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/07/15/using-aws-s3-service-with-ror-paperclip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grails 1.2.2 and Using ImageTools Plugin with a Slight Modification</title>
		<link>http://doganberktas.com/2010/06/29/grails-1-2-2-and-using-imagetools-plugin-with-a-slight-modification/</link>
		<comments>http://doganberktas.com/2010/06/29/grails-1-2-2-and-using-imagetools-plugin-with-a-slight-modification/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 23:38:02 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[remotespots]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[grails plugin]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[imagetools]]></category>
		<category><![CDATA[online usability testing]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=360</guid>
		<description><![CDATA[The Grails command create-controller and create-domain-class creates the files directly under the grails-app/domain and grails-app/controller, but the version(1.2.) I am using now has a different behaviour. Instead of grails-app/domain it creates grails-app/domain/{my-app-name}/ and grails-app/controller/{my-app-name}/ So I changed all the groovy file locations into a new folder(package) with my application name ( by the way all [...]]]></description>
			<content:encoded><![CDATA[<p>The Grails command create-controller and create-domain-class creates the files directly under the grails-app/domain and grails-app/controller, but the version(1.2.) I am using now has a different behaviour. Instead of grails-app/domain it creates grails-app/domain/{my-app-name}/ and grails-app/controller/{my-app-name}/</p>
<p>So I changed all the groovy file locations into a new folder(package) with my application name ( by the way all these are about my latest online usability testing tool <a href="http://remotespots.com">Remotespots.com</a> project). But something weird is happened with the ImageTools plugin. Since I move the controller files, ImageTool class is no longer visible to the controller that uses imagetool. Also, there is no way to import ImageTool since it is in default package, to solve this, go to .grails folder in your home folder and locate your projects folder and change the package of ImageTool.groovy as the following screenshot shows.<br />
<img src="http://doganberktas.com/wp-content/uploads/2010/06/Screen-shot-2010-06-29-at-2.25.53-AM.png" alt="" width="500" height="296" /></p>
<p><img src="http://doganberktas.com/wp-content/uploads/2010/06/Screen-shot-2010-06-29-at-2.25.30-AM.png" alt="" width="500" height="331" /></p>
<p>further information <a href="http://grails.1312388.n4.nabble.com/ImageTool-plugin-td1354704.html">link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/06/29/grails-1-2-2-and-using-imagetools-plugin-with-a-slight-modification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Dergisi</title>
		<link>http://doganberktas.com/2010/06/22/java-dergisi/</link>
		<comments>http://doganberktas.com/2010/06/22/java-dergisi/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 01:49:52 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[turkce]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java dergisi]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=337</guid>
		<description><![CDATA[Java Dergisinin ilk sayisini bir [KurumsalJava] grubundan duydum. Oldukca guzel bir girisim. &#8212; ozellikle, diger bilgisayar dergilerinin genellikle ayni icerigi tasimasi ve dergi olarak tuketilecek bir icerik sunmamasida dusunursek, bu dergi yazilim agirlikli olmasi ile beni oldukca heyecanlandird&#8211; Burda aklimdaki bir soruyuda hemen eklemem gerekiyor, basili dergiler daha ne kadar devam edecek cok merak ediyorum? [...]]]></description>
			<content:encoded><![CDATA[<p>Java Dergisinin ilk sayisini bir [KurumsalJava] grubundan duydum. Oldukca guzel bir girisim. &#8212; ozellikle, diger bilgisayar dergilerinin genellikle ayni icerigi tasimasi ve dergi olarak tuketilecek bir icerik sunmamasida dusunursek, bu dergi yazilim agirlikli olmasi ile beni oldukca heyecanlandird&#8211; Burda aklimdaki bir soruyuda hemen eklemem gerekiyor, basili dergiler daha ne kadar devam edecek cok merak ediyorum?</p>
<p><img src="http://doganberktas.com/wp-content/uploads/2010/06/kapak1.jpg" alt="" width="308" height="436" /></p>
<p>Java Dergisi dagitim olarak cok iyi bir is basarmis, neredeyse her yerde gormek mumkun. Derginin fiyati biraz yuksek(9.90) ozellikle Java ile ilgilenmesi olasi ogrenciler icin fiyat biraz hedef kitleyi dusurebilir. Derginin basim kalitesini dusurerek, dergi fiyatinda biraz oynama yapilabilir diye tahmin ediyorum, cunku kullanilan kagit cok cok sacma bir bicimde kaliteli. Guzel ornekler icin, bkn Matematik Dunyasi, Wired, NTV Bilim.</p>
<p>Yazilar korktugum gibi giris seviyesi tutoriallardan olusmuyor, gerci burada bir denge yakalamak cok zor, onlarca dali olan java dunyasinin hangi alanina girseniz bir uzmanlik alani cikiyor. Ornegin Java ME ve Androiddin arka arkaya yazilar ile islenmesi cok hostu. Biri gitmek uzere olan, biri yerlesmeye baslamis siki teknoloji.</p>
<p>Teknik yazilarin disinda, birazda genel havayi soluyan yazilarin eklenmesi derginin okuma keyfini arttirabilir, ornegin bu sayida James Gosling&#8217;in SUN&#8217;dan ayrilmasi ya da Oracle&#8217;in SUN&#8217;i satin almasi satir aralarinda gecistirilmis.</p>
<p>Son olarak, derginin Java dergisi olmasi illaki Java programlamasi ile ilgili olmasini gerektirmez. JVM ustunde calisan diger dillerden de bahsedilmesi (jruby, jython, scala, groovy) ve bunlari kullanan frameworklerin tanitilmasi da bence onemli bir katki olur.</p>
<p>Umarim dergi yeterli satis rakamlarini saglar ve surekliligi saglayabilir.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/06/22/java-dergisi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google I/O 2010  &#8212; Notes &amp; Stuff &#8212;  A Geek Thing</title>
		<link>http://doganberktas.com/2010/05/21/google-io-2010-notes-stuff-a-geek-thing/</link>
		<comments>http://doganberktas.com/2010/05/21/google-io-2010-notes-stuff-a-geek-thing/#comments</comments>
		<pubDate>Fri, 21 May 2010 12:16:33 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[google io 2010]]></category>
		<category><![CDATA[googleio]]></category>
		<category><![CDATA[San Francisco]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=307</guid>
		<description><![CDATA[I am one of the lucky developers (one of the 5000) that can attend Google I/O 2010. I watched many videos from youtube, so I was very prepared for the sessions, but the overall experience was something well beyond my expectations. Below you can find the things I wrote during the three day marathon. Most [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I am one of the lucky developers (one of the 5000) that can attend Google I/O 2010. I watched many videos from youtube, so I was very prepared for the sessions, but the overall experience was something well beyond my expectations. Below you can find the things I wrote during the three day marathon. Most of the items the things I will check out until the next Google I/O.</p>
<p style="text-align: left;">And finally, my resolution for the next year is to have a couple of Android apps on the market (maybe a game who knows).</p>
<p style="text-align: center;"><span style="font-size: x-large;"><strong>Keywords</strong></span> &#8212; that I took note during the sessions<a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-19-17.29.201.jpg"><img class="size-full wp-image-320 aligncenter" style="margin-top: 10px; margin-bottom: 10px;" title="2010-05-19 17.29.20" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-19-17.29.201.jpg" alt="" width="500" height="667" /></a></p>
<ul>
<li>Google Web  Elements &#8212; http://www.google.com/webelements/</li>
</ul>
<div>
<ul>
<li>Google Code Playgorund &#8212;  http://code.google.com/apis/ajax/playground/#hello,_earth</li>
</ul>
</div>
<ul>
<li>Data  Liberation Front &#8212; http://www.dataliberation.org/<a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-18-20.00.29.jpg"><img class="aligncenter size-full wp-image-318" title="2010-05-18 20.00.29" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-18-20.00.29.jpg" alt="" width="500" height="667" /></a></li>
</ul>
<ul>
<li>Google  Ajax APIs &#8212; http://code.google.com/apis/ajax/</li>
</ul>
<ul>
<li>KML  Tutorial &#8212; http://code.google.com/apis/kml/documentation/kml_tut.html</li>
</ul>
<ul>
<li>Google  Maps js API V3 &#8212;  http://code.google.com/apis/maps/documentation/javascript/</li>
</ul>
<ul>
<li>Spring  Roo &#8211;  Framework from VMWare that can easily be integrated with a GWT  frontend &#8212; http://www.springsource.org/roo</li>
</ul>
<ul>
<li>Google  Chrome Web App Store &#8212;  http://blog.chromium.org/2010/05/chrome-web-store.html</li>
</ul>
<ul>
<li>WebM  is an open media file format designed for the web.  &#8212;  http://www.webmproject.org/about/<a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-20-17.29.141.jpg"><img class="aligncenter size-full wp-image-324" title="2010-05-20 17.29.14" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-20-17.29.141.jpg" alt="" width="500" height="375" /></a></li>
</ul>
<ul>
<li>http://www.openclipart.org</li>
</ul>
<ul>
<li>Lots  of things start or finish with enterprise enterprise enterprise  (boooring&#8230;..)</li>
</ul>
<ul>
<li>Draconian Future (from Keynote Day 2 &#8212;  referring Apple and Steve Jobs I guess <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8212;  http://en.wikipedia.org/wiki/Draconian</li>
</ul>
<ul>
<li>Go ANDROID &#8212;  Froyo 2.2 &#8212; 18 months &#8212; 180.000 developers &#8212; 50.000 applications on  Market<a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-19-17.59.261.jpg"><img class="aligncenter size-full wp-image-321" title="2010-05-19 17.59.26" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-19-17.59.261.jpg" alt="" width="500" height="667" /></a></li>
</ul>
<ul>
<li>V8 Javascript Engine &#8212;  http://code.google.com/p/v8/</li>
</ul>
<ul>
<li>Sunspider javascript  benchmark &#8212; http://www2.webkit.org/perf/sunspider-0.9/sunspider.html</li>
</ul>
<ul>
<li>qik  &#8212; video sharing site &#8212; well, I have heard qik before, but when you  use it, with live streaming and instant sharing stuff, it really is  amazing</li>
</ul>
<ul>
<li>Dalvik VM &#8212;  http://en.wikipedia.org/wiki/Dalvik_%28software%29</li>
</ul>
<ul>
<li>VP8  &#8212; video codec &#8212; http://en.wikipedia.org/wiki/VP8</li>
</ul>
<ul>
<li>What  is Android? &#8212;  http://developer.android.com/guide/basics/what-is-android.html</li>
</ul>
<ul>
<li>What  is OpenGL ES ? &#8212; http://www.khronos.org/opengles/</li>
</ul>
<p>&#8211;<br />
<span style="font-size: large;"><strong>Sessions</strong></span> I attend</p>
<p>The following three are  from the Bootcamp which is one day before the io. I was fast enough to  register for the event, that I can enter. This was like a warm up for  the actual thing.(Bootcamp Schedule &#8212;  https://sites.google.com/site/iobootcamp/schedule)</p>
<ul>
<li>Introduction  to Google App Engine</li>
</ul>
<ul>
<li>Mapping in 3D: Tips and tricks  for Google Earth API and KML</li>
</ul>
<ul>
<li>The Big Picture and  How to Get Started</li>
</ul>
<p>&#8211;</p>
<p>And these are  from the session in io:</p>
<ul>
<li>Ignite Google I/O  (http://code.google.com/events/io/2010/sessions/ignite-google-io.html)  &#8212; the ones I like the most are,</li>
</ul>
<ul>
<li>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Matt_Harding">Matt Harding</a> (<a href="http://www.wherethehellismatt.com/">Where The Hell Is Matt?</a></li>
<li><a href="http://www.flickr.com/nwrower">Bradley Vickers</a> &#8211; How to Row  across the North Atlantic, Ration Food and Not Have Your Teammates Eat  You</li>
</ul>
</li>
</ul>
<ul>
<li>Casting a wide net: how to target all  Android devices  (http://code.google.com/events/io/2010/sessions/casting-wide-net-android-devices.html)  &#8212; way to technical for me, I am not an Android developer (yet). Also  next room, there was another session of Paul Graham, it was full <img src='http://doganberktas.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  next  time pg</li>
</ul>
<ul>
<li>Architecting GWT applications for  production at Google  (http://code.google.com/events/io/2010/sessions/architecting-production-gwt.html)  &#8212; Presentation smells like enterprise which I am far from interested.  Also, I am not sure about all these code generation stuff for DTOs  (Spring Roo), also Vmware&amp;spring is not my favorite source of  inspiration (although I play with Grails lately)</li>
</ul>
<ul>
<li>HTML5  status update  (http://code.google.com/events/io/2010/sessions/html5-status-chrome.html)  &#8212; Last session of the i/o 2010. Two product managers of Chrome made a  good summary of HTML 5 features and their perspective on the spec.</li>
</ul>
<p><strong><span style="font-size: x-large;">Keynotes</span></strong> that I can not attend since I was sleeping  at that time <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>Day 1 &#8212;  http://www.youtube.com/watch?v=a46hJYtsP-8&amp;feature=player_embedded#!</li>
</ul>
<ul>
<li>Day  2 &#8212; they haven&#8217;t put a full version yet&#8230;</li>
</ul>
<p><span style="font-family: comic sans ms; font-size: large;">Day One After Party</span><br />
This was a  real nerdvana. a 8 leg giant spider that you can literally drive, pac  man, food (like a lot), beer (free as in a lot free), huge screens with  geeky videos, a toy like thing that you can control it with your mind  and try to fly a ball by focusing sth sexy!, robots that play football,  Tesla (sexy electric car), beer, remote control robot that try to  demolish balloon with its tail, red wine&#8230; <a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-19-19.05.551.jpg"><img class="aligncenter size-full wp-image-322" title="2010-05-19 19.05.55" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-19-19.05.551.jpg" alt="" width="500" height="667" /></a></p>
<h4><strong>Toys, Food, Drinks, T-shirts<br />
</strong></h4>
<p>Nexus One, HTC EVO, t-shirts, lots of Pepsi, Starbucks Coffee</p>
<p><a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-18-18.25.13.jpg"><img class="aligncenter size-full wp-image-323" title="2010-05-18 18.25.13" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-18-18.25.13.jpg" alt="" width="500" height="667" /></a></p>
<p><a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-18-18.25.13.jpg"></a><a href="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-20-17.43.172.jpg"><img class="aligncenter size-full wp-image-325" title="2010-05-20 17.43.17" src="http://doganberktas.com/wp-content/uploads/2010/05/2010-05-20-17.43.172.jpg" alt="" width="500" height="667" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/05/21/google-io-2010-notes-stuff-a-geek-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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[english]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Uncategorized]]></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 [...]]]></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. <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>4</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 [...]]]></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>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 [...]]]></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>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>2</slash:comments>
		</item>
	</channel>
</rss>

