<?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>iThoughts &#187; Programming</title>
	<atom:link href="http://www.ithoughts.de/tag/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ithoughts.de</link>
	<description>Upgrade your Brain</description>
	<lastBuildDate>Thu, 12 Jan 2012 16:51:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Objective C Pitfalls for Java and C#&#160;Programmers</title>
		<link>http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers</link>
		<comments>http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers#comments</comments>
		<pubDate>Thu, 17 Feb 2011 06:27:23 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tipps]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Objective C]]></category>
		<category><![CDATA[Xcode]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=473</guid>
		<description><![CDATA[Pitfalls when coming from Java and C# to Objective-C]]></description>
			<content:encoded><![CDATA[<p><a title="Objective C, Xcode, Mac" href="http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts"><em>These were my first experiences with Objective-C, Xcode and the Mac</em></a></p>
<p><a title="Can you read this, Luke Skywalker?" href="http://www.flickr.com/photos/49462908@N00/4109940538/" target="_blank"><div style="overflow:hidden;display:table;line-height:0;text-align:center;width:240px;margin: 5px 10px;" class="alignright"><img class=" shadow_curl" style="border: 0pt none; ;; padding:0 !important; margin:0 !important; max-width:100% !important;" src="http://farm3.static.flickr.com/2614/4109940538_55c7d965d1_m.jpg" border="0" alt="Can you read this, Luke Skywalker?" width="240" height="160" /><br/><img alt="" src="http://www.ithoughts.de/wp-content/plugins/shadows/shadow_curl.png" class="shadow_img" style="margin:0 !important;height:10px;width:100%;" /></div></a>If you came from Java or C#, your most prominent errors or pitfalls with Objective C might be:</p>
<ul>
<li> Pointers and the asterisk: <a title="Asterisk in Objective C" href="http://stackoverflow.com/questions/1105815/placement-of-the-asterisk-in-objective-c">http://stackoverflow.com/questions/1105815/placement-of-the-asterisk-in-objective-c</a></li>
<li>The type &#8220;id&#8221; is always a pointer, so no asterisk there</li>
<li>Strange effects happen when you &#8220;#inport&#8221; .h files with cyclical references. I didn&#8217;t find a better solution than having id instead of the Type I wanted to use in one of my classes</li>
<li>There are no null pointer exceptions. This means you&#8217;ll all the time miss the initialization of some object or some reference and won&#8217;t recognize it. Since recognizing this, I love null pointers exceptions. But this is language design in Objective C. So if you definitely need to be sure, throw an exception if you want to be sure and / or add some unit tests.</li>
<li>When the application crashes, you won&#8217;t get meaningful answers from the console often times. To get some more information you&#8217;ll need to set a breakpoint in the last thrown exception statement. You can find out more <a title="Break on Exception" href="http://blog.emmerinc.be/index.php/2009/03/19/break-on-exception-in-xcode/">here</a>.</li>
<li>When you want to use a simple integer like 5 and get the warning / error &#8220;makes Pointer from integer without a cast&#8221;, you need to use [NSNumber numberFromInt:5]</li>
<li>Always correct header file first, implemetation file second and always correct from top to bottom, as the compiler does this too. When the compiler sees an error in the header file for example, it might make up 50 more errors somewhere below. This is literally top-down debugging.</li>
<li>Don&#8217;t try to mess with XML too much yourself. Use <a title="TBXML" href="http://www.tbxml.co.uk/TBXML/TBXML_Free.html">this nice, free and fast XML framework</a> instead.</li>
<li>There are great resources for iOS development out there, for example the full open source <a title="Canabalt iOS Version" href="https://github.com/ericjohnson/canabalt-ios">Canabalt game</a> or <a title="Tapkulibrary" href="https://github.com/devinross/tapkulibrary">framework-like libraries</a> that could make some things easier, if you see it before you&#8217;ve implemented all such things yourself.</li>
<li>To find such resources, I&#8217;d <a title="ManiacDev" href="http://maniacdev.com/">read this blog</a> and follow it&#8217;s <a title="ManiacDev on Twitter" href="https://twitter.com/#!/maniacdev">writer on Twitter</a>.</li>
<li>Oh yeah, and Google and Stackoverflow should fix the rest.</li>
</ul>
<p style="text-align: right;"><small><a title="Attribution-NonCommercial-ShareAlike License" href="http://creativecommons.org/licenses/by-nc-sa/2.0/" target="_blank"><img src="../wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="middle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="Stéfan" href="http://www.flickr.com/photos/49462908@N00/4109940538/" target="_blank">Stéfan</a></small></p>
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts' title='First time MacOSX, Xcode, Objective C &#8211; Random thoughts'>First time MacOSX, Xcode, Objective C &#8211; Random thoughts</a></li>
<li><a href='http://www.ithoughts.de/the-big-anti-apple-rant' title='The Big Anti-Apple Rant'>The Big Anti-Apple Rant</a></li>
<li><a href='http://www.ithoughts.de/accepting-new-stuff-before-learning-it' title='Accepting New Stuff Before Learning It'>Accepting New Stuff Before Learning It</a></li>
<li><a href='http://www.ithoughts.de/filtering-information-new-idea-for-twittercom' title='Filtering Information &amp; New Idea for Twitter.com'>Filtering Information &#038; New Idea for Twitter.com</a></li>
<li><a href='http://www.ithoughts.de/iphone-home-button-doesnt-work' title='iPhone Home Button Doesn&#8217;t Work?'>iPhone Home Button Doesn&#8217;t Work?</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Fobjective-c-pitfalls-for-java-and-c-programmers"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Fobjective-c-pitfalls-for-java-and-c-programmers&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=473" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=473&amp;md5=d9f54f5917a8dd1a062ae6cd082c30d9" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=473&amp;md5=d9f54f5917a8dd1a062ae6cd082c30d9" type="text/html" />"
	</item>
		<item>
		<title>Maven + Eclipse Maven Plugin Issue&#160;NoRepositoryConnectorException</title>
		<link>http://www.ithoughts.de/maven-eclipse-maven-plugin-issue-norepositoryconnectorexception</link>
		<comments>http://www.ithoughts.de/maven-eclipse-maven-plugin-issue-norepositoryconnectorexception#comments</comments>
		<pubDate>Fri, 21 Jan 2011 14:31:20 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Maven]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=555</guid>
		<description><![CDATA[Maven Eclipse Plugin org.sonatype.aether.transfer.NoRepositoryConnectorException: No connector available to access repository java.net gave me a big headache, now I got it.]]></description>
			<content:encoded><![CDATA[<p>Should you use Eclipse and Maven and the Maven plugin for Eclipse, you maybe came around this exception. An update of the Eclipse plugin brought me this problem.</p>
<p>Just to tell you the quick fix of this problem: goto &#8220;Windows &#8211;&gt; Preferences &#8211;&gt; Maven &#8211;&gt; Installations&#8221;, and if you see there&#8217;s an Embedded Snapshot used after the last update of the plugin, click &#8220;Add&#8230;&#8221; and browse to the path of your local maven2 installation that you used before.<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/visual-studio-designer-crashes' title='Visual Studio Designer Crashes'>Visual Studio Designer Crashes</a></li>
<li><a href='http://www.ithoughts.de/hitflip-auto-unpause-greasemonkey-skript' title='Hitflip &#8211; Auto-Unpause Greasemonkey Skript'>Hitflip &#8211; Auto-Unpause Greasemonkey Skript</a></li>
<li><a href='http://www.ithoughts.de/we-need-a-delete-old-documentation-day' title='We need a &#8220;Delete old Documentation Day&#8221;'>We need a &#8220;Delete old Documentation Day&#8221;</a></li>
<li><a href='http://www.ithoughts.de/do-not-use-the-wordpress-iphone-apps' title='Do not use the WordPress iPhone Apps'>Do not use the WordPress iPhone Apps</a></li>
<li><a href='http://www.ithoughts.de/eclipse-out-of-memory-error-and-gc-overhead-limit-exceeded' title='Eclipse &#8220;Out of Memory Error&#8221; and &#8220;GC overhead limit exceeded&#8221;'>Eclipse &#8220;Out of Memory Error&#8221; and &#8220;GC overhead limit exceeded&#8221;</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Fmaven-eclipse-maven-plugin-issue-norepositoryconnectorexception"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Fmaven-eclipse-maven-plugin-issue-norepositoryconnectorexception&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=555" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=555&amp;md5=fdd9f4427b46b9128e022b6f5d05801b" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/maven-eclipse-maven-plugin-issue-norepositoryconnectorexception/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=555&amp;md5=fdd9f4427b46b9128e022b6f5d05801b" type="text/html" />"
	</item>
		<item>
		<title>First time MacOSX, Xcode, Objective C &#8211; Random&#160;thoughts</title>
		<link>http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts</link>
		<comments>http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts#comments</comments>
		<pubDate>Wed, 17 Nov 2010 20:28:37 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective C]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Xcode]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=471</guid>
		<description><![CDATA[Just random thoughts about OSX, Xcode, Objective C and the switching from Windows, Eclipse/Java, Visual Studio/C#]]></description>
			<content:encoded><![CDATA[<p><em>Really completely random thoughts here &#8211; just don&#8217;t read them. Its just on my mind, and it needs to be written out somewhere.</em></p>
<p><a title="Gojira!" href="http://www.flickr.com/photos/60648084@N00/3967812185/" target="_blank"><div style="overflow:hidden;display:table;line-height:0;text-align:center;width:180px;margin: 5px;" class="alignright"><img class=" shadow_curl" style="border: 0pt none; ;; padding:0 !important; margin:0 !important; max-width:100% !important;" src="http://farm3.static.flickr.com/2435/3967812185_502e8bfa67_m.jpg" border="0" alt="Gojira!" width="180" height="240" /><br/><img alt="" src="http://www.ithoughts.de/wp-content/plugins/shadows/shadow_curl.png" class="shadow_img" style="margin:0 !important;height:10px;width:100%;" /></div></a>Since 10 days I&#8217;m now working on a MacMini with OSX. This is my first time encounter with OSX, and have have been a Windows user all my life. On the Mac Mini, I use a windows keyboard &#8211; which has the wrong letters printed on it for OSX. This is unbelievable bad, if you try to program on that thing. The keybindings on OSX are also strange, but argueably better than the usual windows bindings. I just miss my POS1 and End of Line keys &#8211; but using CTRL Left or CTRL right seems even more &#8220;natural&#8221;. Having a control key that doesn&#8217;t pop up a menu when accidentally pressed without another key in the Apple-key instead of the windows key is also a big bonus. The mouse speed really sucks &#8211; I needed to install an external tool to fix that.</p>
<p>I&#8217;m using Xcode with Objective C now on that machine and my main comparisons are Eclipse + Java and Visual Studio + C#. Xcode is a lot less comfortable, as it doesn&#8217;t autoinclude much stuff for you &#8211; well I guess there are some secret hotkeys that I didn&#8217;t find so far, but visual indication of actions does not exist. The autocompletion is nicer, but I didn&#8217;t find a way so far to autocomplete if I want to send a message to an object and forgot the [ before the objects reference. Any hints, someone? I always jump back, make the [ and jump to the end where I now get the methods all lined up. The language syntax looks weird, but it also has its upsides. Differing the methods syntactically from properties just sucks anyways.</p>
<p>The &#8220;interface designer&#8221; is pretty pointless compared to Visual Studio &#8211; okay, maybe its because there&#8217;s not too much space in that iPhone display, but aside from clicking together the underlying main GUI and then make the rest in code there&#8217;s not much use to it, as I see it so far &#8230; well thins all may change, as I really only tried it 10 days now, and that we no full 8 hours every day.</p>
<p>Then I somehow don&#8217;t see all the helper classes that I seem to be writing on the go. Are there helper classes in the Foundation framework somewhere? Or a place where the most useful are compiled in a tutorial? Memory management is a lot less pain than I thought. In fact, learning the third &#8220;higher&#8221; language seems to be pretty easy, and the reference counting isn&#8217;t too hard to grasp. My main problems are all the little things. But we&#8217;ll get that soon. In fact I can see myself using Mac OS soon, I quickly find myself falling in love with this systems basic principles more and more each day. Signing off for today &#8211; if somebody has any great hints for me, please let me know :-)</p>
<p><small><a title="Attribution-NonCommercial-ShareAlike License" href="http://creativecommons.org/licenses/by-nc-sa/2.0/" target="_blank"><img src="../wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="Don Solo" href="http://www.flickr.com/photos/60648084@N00/3967812185/" target="_blank">Don Solo</a></small><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers' title='Objective C Pitfalls for Java and C# Programmers'>Objective C Pitfalls for Java and C# Programmers</a></li>
<li><a href='http://www.ithoughts.de/the-big-anti-apple-rant' title='The Big Anti-Apple Rant'>The Big Anti-Apple Rant</a></li>
<li><a href='http://www.ithoughts.de/marketshare-and-winning-and-religion' title='Marketshare and Winning and Religion'>Marketshare and Winning and Religion</a></li>
<li><a href='http://www.ithoughts.de/filtering-information-new-idea-for-twittercom' title='Filtering Information &amp; New Idea for Twitter.com'>Filtering Information &#038; New Idea for Twitter.com</a></li>
<li><a href='http://www.ithoughts.de/todo-for-mac-review' title='ToDo for Mac &#8211; Review'>ToDo for Mac &#8211; Review</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Ffirst-time-macosx-xcode-objective-c-random-thoughts"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Ffirst-time-macosx-xcode-objective-c-random-thoughts&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=471" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=471&amp;md5=7f0bb5f14cf81219dc1cb0d2ce63b9c4" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=471&amp;md5=7f0bb5f14cf81219dc1cb0d2ce63b9c4" type="text/html" />"
	</item>
		<item>
		<title>Visual Studio Designer&#160;Crashes</title>
		<link>http://www.ithoughts.de/visual-studio-designer-crashes</link>
		<comments>http://www.ithoughts.de/visual-studio-designer-crashes#comments</comments>
		<pubDate>Wed, 20 Oct 2010 16:12:54 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Privat]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=462</guid>
		<description><![CDATA[Just a little note to myself and maybe some other guys out there with the same problem. When the Visual Studio 2008 / 2010 designer shows you the forms and controls, it executes certain code to show them to you. When it crashes, you should look on which form it crashed and then inspect this [...]]]></description>
			<content:encoded><![CDATA[<p>Just a little note to myself and maybe some other guys out there with the same problem.<a title="Flaming truck" href="http://www.flickr.com/photos/35237096015@N01/513813/" target="_blank"><div style="overflow:hidden;display:table;line-height:0;text-align:center;width:240px;margin: 10px;" class="alignright"><img class=" shadow_curl" style="border: 0pt none; ;; padding:0 !important; margin:0 !important; max-width:100% !important;" src="http://farm1.static.flickr.com/1/513813_2f3334188c_m.jpg" border="0" alt="Flaming truck" width="240" height="160" /><br/><img alt="" src="http://www.ithoughts.de/wp-content/plugins/shadows/shadow_curl.png" class="shadow_img" style="margin:0 !important;height:10px;width:100%;" /></div></a></p>
<p>When the Visual Studio 2008 / 2010 designer shows you the forms and controls, it executes certain code to show them to you. When it crashes, you should look on which form it crashed and then inspect this form very closely, including all their fields.</p>
<p>The error can be in the <strong>constructor of the form</strong>, in the <strong>constructor of the custom controls</strong> you&#8217;re using and <strong>in the OnPaint() events</strong> of either forms and controls. Make sure you&#8217;re either encapsulating all these with try-catch-blocks so you can at least track down the problem and not have Visual Studio crash on you each time you try.</p>
<p>(If you know other sources of VS designer crashes, please post a comment)<br />
<small><a title="Attribution-NonCommercial License" href="http://creativecommons.org/licenses/by-nc/2.0/" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="selva" href="http://www.flickr.com/photos/35237096015@N01/513813/" target="_blank">selva</a></small><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/maven-eclipse-maven-plugin-issue-norepositoryconnectorexception' title='Maven + Eclipse Maven Plugin Issue NoRepositoryConnectorException'>Maven + Eclipse Maven Plugin Issue NoRepositoryConnectorException</a></li>
<li><a href='http://www.ithoughts.de/hitflip-auto-unpause-greasemonkey-skript' title='Hitflip &#8211; Auto-Unpause Greasemonkey Skript'>Hitflip &#8211; Auto-Unpause Greasemonkey Skript</a></li>
<li><a href='http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers' title='Objective C Pitfalls for Java and C# Programmers'>Objective C Pitfalls for Java and C# Programmers</a></li>
<li><a href='http://www.ithoughts.de/do-not-use-the-wordpress-iphone-apps' title='Do not use the WordPress iPhone Apps'>Do not use the WordPress iPhone Apps</a></li>
<li><a href='http://www.ithoughts.de/google-mail-bug-with-internet-explorer-please-fix-this-google' title='Google Mail Bug with Internet Explorer &#8211; Please fix this Google'>Google Mail Bug with Internet Explorer &#8211; Please fix this Google</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Fvisual-studio-designer-crashes"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Fvisual-studio-designer-crashes&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=462" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=462&amp;md5=d1ef69688f1d62ec8f710f1615b25b1f" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/visual-studio-designer-crashes/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=462&amp;md5=d1ef69688f1d62ec8f710f1615b25b1f" type="text/html" />"
	</item>
		<item>
		<title>Struts2 Präsentation für&#160;Programmierer</title>
		<link>http://www.ithoughts.de/struts2-prasentation-fur-programmierer</link>
		<comments>http://www.ithoughts.de/struts2-prasentation-fur-programmierer#comments</comments>
		<pubDate>Sat, 02 Oct 2010 12:08:17 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Projekte]]></category>
		<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[German]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Struts2]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=447</guid>
		<description><![CDATA[Grade wollte ich mir bei Scribd dieses längere und scheinbar sehr interessante TechnoPhilosophische Paper zum Thema Risiken von künstlicher Intelligenz runterladen, als ein Popup auftachte, dass ich dafür was hochladen solle. Aber was? Bei Ascora / Abelssoft machen wir jeden Monat eine interne Veranstaltung um uns etwas weiterzubilden und schöne neue Technologien kennenzulernen. Diesen Monat [...]]]></description>
			<content:encoded><![CDATA[<p>Grade wollte ich mir bei Scribd <a title="Artificial-Intelligence-as-a-Positive-and-Negative-Factor-in-Global-Risk" href="http://www.scribd.com/doc/6828923/Artificial-Intelligence-as-a-Positive-and-Negative-Factor-in-Global-Risk">dieses längere und scheinbar sehr interessante TechnoPhilosophische Paper zum Thema Risiken von künstlicher Intelligenz runterladen</a>, als ein Popup auftachte, dass ich dafür was hochladen solle. Aber was?</p>
<p>Bei <a title="Ascora GmbH" href="http://www.ascora.de/">Ascora</a> / <a title="Abelssoft" href="http://www.abelssoft.de">Abelssoft</a> machen wir jeden Monat eine interne Veranstaltung um uns etwas weiterzubilden und schöne neue Technologien kennenzulernen. Diesen Monat war ich dran und habe was zum Thema Struts2 erzählt, DEM aufstrebenden Java Webframework.</p>
<p>Also, für den Fall dass sich jemand einleiten lassen möchte (oder dass ich diesen Vortrag nochmal woanders halten möchte, wo es eine Internetanbindung gibt), hier die Präsentationsfolien. Aber Vorsicht, ohne Erklärungen machen zuminstest die Codebeispiele wenig Sinn.</p>
<p><a style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;" title="View Struts2-Einleitung-für-Programmierer on Scribd" href="http://www.scribd.com/doc/38585212/Struts2-Einleitung-fur-Programmierer">Struts2-Einleitung-für-Programmierer</a> <object id="doc_862371722687223" style="outline: none;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="doc_862371722687223" /><param name="data" value="http://d1.scribdassets.com/ScribdViewer.swf" /><param name="wmode" value="opaque" /><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="FlashVars" value="document_id=38585212&amp;access_key=key-lv8bx5qvvcvplwo8urp&amp;page=1&amp;viewMode=slideshow" /><param name="src" value="http://d1.scribdassets.com/ScribdViewer.swf" /><param name="allowfullscreen" value="true" /><param name="flashvars" value="document_id=38585212&amp;access_key=key-lv8bx5qvvcvplwo8urp&amp;page=1&amp;viewMode=slideshow" /><embed id="doc_862371722687223" style="outline: none;" type="application/x-shockwave-flash" width="100%" height="600" src="http://d1.scribdassets.com/ScribdViewer.swf" flashvars="document_id=38585212&amp;access_key=key-lv8bx5qvvcvplwo8urp&amp;page=1&amp;viewMode=slideshow" allowscriptaccess="always" allowfullscreen="true" bgcolor="#ffffff" wmode="opaque" data="http://d1.scribdassets.com/ScribdViewer.swf" name="doc_862371722687223"></embed></object><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/hitflip-auto-unpause-greasemonkey-skript' title='Hitflip &#8211; Auto-Unpause Greasemonkey Skript'>Hitflip &#8211; Auto-Unpause Greasemonkey Skript</a></li>
<li><a href='http://www.ithoughts.de/utopire-coding-a-browsergame-with-java' title='Utopire &#8211; Coding a Browsergame with Java'>Utopire &#8211; Coding a Browsergame with Java</a></li>
<li><a href='http://www.ithoughts.de/ithoughts-in-englisch' title='iThoughts in Englisch?'>iThoughts in Englisch?</a></li>
<li><a href='http://www.ithoughts.de/twitter-clients' title='Twitter-Clients'>Twitter-Clients</a></li>
<li><a href='http://www.ithoughts.de/was-bringen-rss-feeds-firefox-feed-reader' title='Was bringen RSS Feeds? Firefox-Feed-Reader!'>Was bringen RSS Feeds? Firefox-Feed-Reader!</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Fstruts2-prasentation-fur-programmierer"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Fstruts2-prasentation-fur-programmierer&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=447" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=447&amp;md5=6dd18d01b708d3d88f23769da9b34bcf" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/struts2-prasentation-fur-programmierer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=447&amp;md5=6dd18d01b708d3d88f23769da9b34bcf" type="text/html" />"
	</item>
		<item>
		<title>ServiceMix 4.2 &#8211; Debugging and more&#160;Gotchas</title>
		<link>http://www.ithoughts.de/servicemix-4-2-debugging-and-more-gotchas</link>
		<comments>http://www.ithoughts.de/servicemix-4-2-debugging-and-more-gotchas#comments</comments>
		<pubDate>Wed, 22 Sep 2010 16:18:47 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Privat]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ServiceMix]]></category>
		<category><![CDATA[WebServices]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=432</guid>
		<description><![CDATA[This is the sequel to Getting started with ServiceMix 4.2 and WebServices (with Maven and Eclipse on Windows). Remeber: I&#8217;m using Eclipse 3.5.2 on Windows 7 here. If you want to debug OSGi-bundled code on ServiceMix 4.2, you&#8217;ll need to set the environment variable KARAF_DEBUG = true (in System &#8211;&#62; Advanced &#8211;&#62; Environment Variables, click [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is the sequel to <a href="http://www.ithoughts.de/getting-started-with-servicemix-4-2-and-webservices-with-maven-and-eclipse-on-windows">Getting started with ServiceMix 4.2 and WebServices (with Maven and Eclipse on Windows)</a>. Remeber: <a title="Tomcat and Eclipse on Windows 7 64bit" href="http://www.ithoughts.de/setting-up-eclipse-for-web-development-with-tomcat-on-windows-7-64bit">I&#8217;m using Eclipse 3.5.2 on Windows 7 here</a>.</em></p>
<p>If you want to debug OSGi-bundled code on ServiceMix 4.2, you&#8217;ll need to  set the environment variable KARAF_DEBUG = true (in <em>System </em>&#8211;&gt;  <em>Advanced </em>&#8211;&gt; <em>Environment Variables</em>, click the &#8220;add&#8221;-button in the  lower list). Then make sure you the console you&#8217;re working  on (using the &#8220;shutdown&#8221; command), kill the command window, start a new one (that now knows the  environment variable is set) and re-run servicemix. In the console, a message should appear that now a remote debugging port was opened. If not, reread this paragraph (or restart your system).</p>
<p>Then go to the project you&#8217;re working on in Eclipse, right click on the project, &#8220;Debug As&#8230;&#8221; &#8211;&gt; &#8220;Debug Configurations&#8221; go to &#8220;Remote Java Application&#8221;, enter the projects name and the host and port ServiceMix runs on (&#8220;localhost&#8221; here and the default port 5005). Then click Debug. You should now be able to set Breakpoints and Debug everything nicely. To have debug statements on my Eclipse Console I chose to use a Log4j default debugger. This one logs out to the console as default, which is the connected debug-console when debugging.</p>
<ul>
<li>When re-deploying a bundle containing a WebService that was registered (and worked) before, the connection to the CXF-services break after the update command on the karaf console. The result of a request to the WebService is either a plaintext &#8220;No service was found.&#8221; or a XML SOAP Fault with the message &#8220;No such operation:  (HTTP GET PATH_INFO: /MyServicesName)&#8221;. I didn&#8217;t find a proper solution for this one yet, but restarting the CXF Service Engine bundle before restarting my own bundle (using osgi:restart [idOfCxfServiceEngineBundle]) containing the WebService works fine. (If someone finds a better solution, please drop a comment)</li>
</ul>
<p>I&#8217;ll update when I find even more ServiceMix gotchas.<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/getting-started-with-servicemix-4-2-and-webservices-with-maven-and-eclipse-on-windows' title='Getting started with ServiceMix 4.2 and WebServices (with Maven and Eclipse on Windows)'>Getting started with ServiceMix 4.2 and WebServices (with Maven and Eclipse on Windows)</a></li>
<li><a href='http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers' title='Objective C Pitfalls for Java and C# Programmers'>Objective C Pitfalls for Java and C# Programmers</a></li>
<li><a href='http://www.ithoughts.de/we-need-a-delete-old-documentation-day' title='We need a &#8220;Delete old Documentation Day&#8221;'>We need a &#8220;Delete old Documentation Day&#8221;</a></li>
<li><a href='http://www.ithoughts.de/maven-eclipse-maven-plugin-issue-norepositoryconnectorexception' title='Maven + Eclipse Maven Plugin Issue NoRepositoryConnectorException'>Maven + Eclipse Maven Plugin Issue NoRepositoryConnectorException</a></li>
<li><a href='http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts' title='First time MacOSX, Xcode, Objective C &#8211; Random thoughts'>First time MacOSX, Xcode, Objective C &#8211; Random thoughts</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Fservicemix-4-2-debugging-and-more-gotchas"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Fservicemix-4-2-debugging-and-more-gotchas&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=432" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=432&amp;md5=7f2450cb7c88a3ff5c0c11abc2d85133" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/servicemix-4-2-debugging-and-more-gotchas/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=432&amp;md5=7f2450cb7c88a3ff5c0c11abc2d85133" type="text/html" />"
	</item>
		<item>
		<title>Setting up Eclipse for Web Development with Tomcat on Windows 7&#160;(64bit)</title>
		<link>http://www.ithoughts.de/setting-up-eclipse-for-web-development-with-tomcat-on-windows-7-64bit</link>
		<comments>http://www.ithoughts.de/setting-up-eclipse-for-web-development-with-tomcat-on-windows-7-64bit#comments</comments>
		<pubDate>Wed, 21 Jul 2010 04:53:21 +0000</pubDate>
		<dc:creator>Akku</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">http://www.ithoughts.de/?p=373</guid>
		<description><![CDATA[Installing Eclipse for Web Development with Tomcat on Windows 7 (64bit)]]></description>
			<content:encoded><![CDATA[<p>This has been a major headache for me. This is what you have to do:</p>
<ul>
<li>Uninstall any JDK or JRE you might have via Windows (or the uninstaller in the appropriate installation directory)</li>
<li>Download the 64bit JDK version 20 (important! version 21 is buggy!). Its on <a title="Java Downloads" href="http://java.sun.com/javase/downloads/index.jsp">this page</a>. Search for &#8220;JDK 6 Update 20 with Java EE&#8221;, choose 64bit version (skip registration) and download and install it. (just ignore the other stuff you&#8217;re installing with it)</li>
<li>get Tomcat 6.0.28 (the 64bit version, or the itanium 64bit version if you have an intel processor)</li>
<li>get the Galileo (important! Helios is buggy with Tomcat!) 64bit version (important!) of Eclipse. This is no official download: Its the &#8220;Windows (x86_64)&#8221; version on<a title="Eclipse Galileo Downloads" href="http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php"> this page</a>.</li>
<li>as for 64bit there&#8217;s only the basic version of Eclipse Galileo available, install the Web Developer Tools via Help &gt; Install New Software</li>
<li>create a Server with the Tomcat runtime you just downloaded</li>
<li>(for some reason my autocompletion didn&#8217;t work, needed to activate it in Window &gt; Perferences &gt; Java &gt; Editor &gt; Content Assist &gt; Advances &gt; check Java Proposals)</li>
</ul>
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.ithoughts.de/objective-c-pitfalls-for-java-and-c-programmers' title='Objective C Pitfalls for Java and C# Programmers'>Objective C Pitfalls for Java and C# Programmers</a></li>
<li><a href='http://www.ithoughts.de/struts2-prasentation-fur-programmierer' title='Struts2 Präsentation für Programmierer'>Struts2 Präsentation für Programmierer</a></li>
<li><a href='http://www.ithoughts.de/we-need-a-delete-old-documentation-day' title='We need a &#8220;Delete old Documentation Day&#8221;'>We need a &#8220;Delete old Documentation Day&#8221;</a></li>
<li><a href='http://www.ithoughts.de/maven-eclipse-maven-plugin-issue-norepositoryconnectorexception' title='Maven + Eclipse Maven Plugin Issue NoRepositoryConnectorException'>Maven + Eclipse Maven Plugin Issue NoRepositoryConnectorException</a></li>
<li><a href='http://www.ithoughts.de/first-time-macosx-xcode-objective-c-random-thoughts' title='First time MacOSX, Xcode, Objective C &#8211; Random thoughts'>First time MacOSX, Xcode, Objective C &#8211; Random thoughts</a></li>
</ul>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ithoughts.de%2Fsetting-up-eclipse-for-web-development-with-tomcat-on-windows-7-64bit"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ithoughts.de%2Fsetting-up-eclipse-for-web-development-with-tomcat-on-windows-7-64bit&amp;source=ithoughts_de&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
 <img src="http://www.ithoughts.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=373" width="1" height="1" style="display: none;" /> <p><a href="http://www.ithoughts.de/?flattrss_redirect&amp;id=373&amp;md5=0ac1bafdb6e26a7197767f2690ed3134" title="Flattr" target="_blank"><img src="http://www.ithoughts.de/wp-content/plugins/flattrss/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ithoughts.de/setting-up-eclipse-for-web-development-with-tomcat-on-windows-7-64bit/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="http://www.ithoughts.de/?flattrss_redirect&amp;id=373&amp;md5=0ac1bafdb6e26a7197767f2690ed3134" type="text/html" />"
	</item>
	</channel>
</rss>

