<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10534078</id><updated>2011-12-13T18:18:32.879+02:00</updated><category term='intellij idea'/><category term='games'/><category term='osgi'/><category term='eclipse'/><category term='ubuntu'/><category term='open source'/><category term='java'/><category term='interactive fiction'/><title type='text'>Villane</title><subtitle type='html'>thoughts on software developement</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://villane.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10534078.post-604975266012631024</id><published>2008-04-14T22:56:00.002+03:00</published><updated>2008-04-14T22:58:53.520+03:00</updated><title type='text'>Blog Moved to Wordpress</title><content type='html'>I moved my blog to Wordpress some time ago already, but I discovered that I sometimes accidentally posted a link to this old one so I'm adding a link to my new blog here: &lt;a href="http://villane.wordpress.com"&gt;villane.wordpress.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-604975266012631024?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/604975266012631024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=604975266012631024' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/604975266012631024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/604975266012631024'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2008/04/blog-moved-to-wordpress.html' title='Blog Moved to Wordpress'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-2218580016261459728</id><published>2007-07-21T18:14:00.000+03:00</published><updated>2007-07-21T19:02:53.931+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='intellij idea'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse's code style options are a bit messy</title><content type='html'>At work we have had an agreed upon coding style for a couple of years, but it hasn't been enforced so not everybody have followed it. When the style was established, everyone was using&lt;a href="http://www.jetbrains.com/idea/"&gt; IntelliJ IDEA&lt;/a&gt; so the style was based on IDEA settings. Now it's a split between IDEA and Eclipse, so recently I was trying to create matching style settings in IDEA, Eclipse and &lt;a href="http://checkstyle.sourceforge.net/"&gt;CheckStyle&lt;/a&gt; -- the first two for automatic formatting and the latter for checking.&lt;br /&gt;&lt;br /&gt;Both IDEA and Eclipse have some problems. For example Eclipse puts more whitespace in JavaDocs and I could not configure the JavaDoc formattings to be compatible so I just turned it off in IDEA. Eclipse tends to not respect the &lt;span style="font-style: italic;"&gt;maximum line width&lt;/span&gt; setting for code very well -- occasionally a few characters will go beyond the limit. IDEA has the same problem for JavaDocs. Eclipse also has some problems with optimizing imports (note to self: should report /comment on bugs about those, maybe even contribute patches) that make it incompatible with IDEA.&lt;br /&gt;&lt;br /&gt;But the biggest problem is that Eclipse doesn't have a very good user story for configuring all of this. The code formatter options (Java -&gt; Code Style -&gt; Formatter) are the oldest and they are pretty good -- easy to manage profiles and everything can be exported/imported. The same can be said about code clean up (Java -&gt; Code Style -&gt; Clean Up), but I would argue that these two separate concepts should be merged.&lt;br /&gt;There is also a problem of redundancy: Java -&gt; Editor -&gt; Save Actions use the existing Formatter and Organize Imports settings, but they do not use the Code Clean Up settings, instead here you have to configure those again, in a non-shareable way.&lt;br /&gt;However, Code Templates, Organize Imports and the general settings are worse -- they don't support different profiles, and Organize Imports does not export/import all settings (such as the number of static imports needed for .*). All of this makes it quite hard to share these settings between a team.&lt;br /&gt;&lt;br /&gt;I think a good solution would be to replace the profiles and import/export in the different pages (formatter, clean up) with more general Code Style profiles and import/export that would cover every setting under Java -&gt; Code Style. Then again, maybe more granular profiles are better for some reason that I fail to see, but I'm sure they could be retained somehow while solving the problem I just described.&lt;br /&gt;&lt;br /&gt;And another idea: as Eclipse is becoming an IDE for more and more languages, and many of these language tools could possibly offer code formatters, compiler options etc., why not think of a generic code style settings UI that would be extensible by plug-ins for specific languages.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-2218580016261459728?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/2218580016261459728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=2218580016261459728' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/2218580016261459728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/2218580016261459728'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2007/07/eclipses-code-style-options-are-bit.html' title='Eclipse&apos;s code style options are a bit messy'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-2592149775700978379</id><published>2007-07-06T00:56:00.000+03:00</published><updated>2007-07-06T01:14:51.237+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Rhythm in open source</title><content type='html'>&lt;a href="http://www.markshuttleworth.com/"&gt;Mark Shuttleworth&lt;/a&gt; (what an awesome last name, BTW) thinks that KDE, Gnome and OpenOffice.org &lt;a href="http://www.computerworld.com.au/index.php/id;945594977;fp;4;fpid;1968336438"&gt;would benefit from a common release schedule&lt;/a&gt;, preferably six months like &lt;span&gt;&lt;span&gt;Ubuntu&lt;/span&gt;&lt;/span&gt;. I'm wondering if Eclipse's annual release trains also influenced his opinion and whether these kind of coordinated/rhythmic releases have been done elsewhere in the open source world or are Eclipse and Ubuntu the only ones? I think it would be great for the open source community if the rhythm spread and releases became more predictable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-2592149775700978379?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/2592149775700978379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=2592149775700978379' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/2592149775700978379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/2592149775700978379'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2007/07/rhythm-in-open-source.html' title='Rhythm in open source'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-3805120671576068247</id><published>2007-07-04T11:06:00.002+03:00</published><updated>2007-07-04T11:06:43.815+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse 4.0 should be about usability and integration</title><content type='html'>Eclipse 4.0 Io is probably 2 years off now (or 3, if Io will in fact be 3.5?) , considering the very precise yearly release cycle that just brought us &lt;a href="http://www.eclipse.org/europa/"&gt;Europa&lt;/a&gt; and will bring Ganymede next year. And if there are going to be some more fundamental changes in 4.0 than the releases since 3.0 have had, I think it's time to start talking about this now. Really big changes can't happen during one release cycle.&lt;br /&gt;&lt;br /&gt;So that it's understandable where I'm coming from: I've been following the Eclipse community for the past two and a half years, as an occasional hacker, but mostly a user and a somewhat objective observer. Or at least that's what I like to think -- I'm actually a pretty big fan of Eclipse so there definitely is some bias. I heard there was some &lt;a href="http://www.eclipsecon.org/2007/index.php?page=sub/&amp;id=4266"&gt;discussion&lt;/a&gt; on Eclipse 4.0 already during EclipseCon 2007. Sadly, I couldn't attend EclipseCon myself. Note: I'm also linking to some old related discussions in this post -- I think some of them are still valid.&lt;br /&gt;&lt;br /&gt;Even though Eclipse is growing very fast, I think there is still a lot of untapped potential in the &lt;a href="http://www.eclipse.org/projects/"&gt;projects&lt;/a&gt; hosted by The Eclipse Foundation. That potential lies in the &lt;span style="font-weight: bold;"&gt;integration&lt;/span&gt; of the various tools so that they can be composed into wholes that are greater than the sum of their parts -- creating &lt;span style="font-weight: bold;"&gt;synergy&lt;/span&gt;. To some extent this is already happening, but  at the moment there are still a lot of areas where it feels like the tools &lt;span style="font-style: italic;"&gt;should&lt;/span&gt; work better together, but they don't. There are endless possibilities for small improvements that span projects, but actually filling that potential may be somewhat hard to do.&lt;br /&gt;&lt;br /&gt;The Callisto and Europa release trains have definitely been a big step in the right direction, but they have not set integration as a top priority and it would probably be too much to expect much greater strides towards this from Ganymede. But as a user, I'd like to see this become a priority for Eclipse 4.0 (or soon after). If Eclipse just keeps extending wider and wider into new, though definitely cool areas (which it must do, of course), while not paying much attention to keeping the expanding core cohesive, I fear it may eventually start losing focus.&lt;br /&gt;&lt;br /&gt;In the past there has been some &lt;a href="http://xlml.com/aehso/2006/05/10/exemplary-tools-and-extensible-frameworks-the-ying-and-yang-of-eclipseorg/"&gt;talk&lt;/a&gt; &lt;a href="http://www.coconut-palm-software.com/the_visual_editor/?p=81"&gt;about&lt;/a&gt; "&lt;a href="http://xlml.com/aehso/2006/05/10/exemplary-tools-and-extensible-frameworks-the-ying-and-yang-of-eclipseorg/"&gt;extensible frameworks and exemplary tools&lt;/a&gt;" and that the focus of Eclipse is sometimes a bit more on providing a platform rather than a great end-user tool. This focus may vary from project to project. But parts of Eclipse &lt;span style="font-weight: bold;"&gt;do make&lt;/span&gt; a &lt;a href="http://blogs.zdnet.com/Burnette/?p=83"&gt;great end-user tool&lt;/a&gt; (perhaps most notably JDT and PDE, but there are others too), and other parts less so. Of course this undoubtedly has to do with the maturity and age of the projects as it takes time to become an awesome tool.&lt;br /&gt;&lt;br /&gt;But perhaps there should be more effort made in the area of &lt;a href="http://dev.eclipse.org/newslists/news.eclipse.foundation/msg01118.html"&gt;usability&lt;/a&gt; and making a set of "core" projects better integrated and of a more &lt;a href="http://wiki.eclipse.org/UI_Best_Practices_v3.x"&gt;uniform quality&lt;/a&gt;, whatever exactly the "core" would compose of -- probably platform + the more popular language tools + PDE + Mylyn + ECF + data + modeling + reporting + testing and some other projects as well. More focus should be put on the areas where these "core" projects touch. This would in turn probably put a lot of pressure on the platform itself, which may need to become even more flexible, even though it already is probably the most flexible and in my opinion &lt;span style="font-style: italic;"&gt;the best application platform in the known universe&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Some examples of what I mean, but these may be somewhat superficial and don't really go deep into details:&lt;br /&gt;* &lt;a href="http://wiki.eclipse.org/index.php/Mylyn_Integrator_Reference#Context_API"&gt;Mylyn bridges&lt;/a&gt; for more projects -- perhaps even all of the release train projects&lt;br /&gt;* Taking advantage of potential &lt;a href="http://www.eclipse.org/ecf/NewAndNoteworthy.html"&gt;communication/collaboration features&lt;/a&gt; offered by ECF and other projects (Corona comes to mind)&lt;br /&gt;* More &lt;a href="http://www.eclipse.org/birt/phoenix/project/notable2.2.php"&gt;BIRT reports&lt;/a&gt; in other projects&lt;br /&gt;* Make the static analysis from TPTP more prominent. IDEA has had this for years. How many users know that they can get static analysis and a profiler for Java by installing TPTP?&lt;br /&gt;* Make Eclipse a competitive database design &amp;amp; administration tool&lt;br /&gt;* Make Eclipse a competitive UML modeling tool&lt;br /&gt;* ETC.&lt;br /&gt;&lt;br /&gt;I hope not all of this will be left for vendors to do in their Eclipse based products -- that could make Eclipse itself lag behind.&lt;br /&gt;&lt;br /&gt;Oh, and by the way, great work everyone who made Europa happen! You all deserve a vacation now, but don't go resting on your laurels! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-3805120671576068247?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/3805120671576068247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=3805120671576068247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/3805120671576068247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/3805120671576068247'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2007/04/eclipse-40-should-be-about-usability.html' title='Eclipse 4.0 should be about usability and integration'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-1723387201563689258</id><published>2007-06-22T15:07:00.000+03:00</published><updated>2007-06-22T15:53:35.102+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='games'/><category scheme='http://www.blogger.com/atom/ns#' term='interactive fiction'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='osgi'/><title type='text'>Equinox &amp; ECF serving interactive fiction</title><content type='html'>After a couple of years of being lazy and procrastinating, I finally got Ziggy to the point where we now have it &lt;a href="http://forums.idlethumbs.net/forumdisplay.php?f=28"&gt;running live&lt;/a&gt; [Beta] :) at Idle Thumbs (thanks Spaff, Jake and others from Idle Thumbs for your help with this) . Ziggy is a server side application based on &lt;a href="http://www.eclipse.org/equinox"&gt;Equinox&lt;/a&gt; and &lt;a href="http://www.eclipse.org/ecf"&gt;ECF&lt;/a&gt;, it enables people to play &lt;a href="http://en.wikipedia.org/wiki/Interactive_fiction"&gt;interactive fiction&lt;/a&gt; games on web forums, acting as a bridge between the forum and an &lt;a href="http://zinc-if.sourceforge.net"&gt;IF virtual machine&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;At first it was just plain Java, a very simple app hacked together in only a few days, but has suffered many a rewrite since then and is now fully &lt;a href="http://www.osgi.org/"&gt;OSGi&lt;/a&gt;fied. I separated it into four main components: server, Interactive Fiction API &amp; implementation, Bulletin Board API &amp;amp; implementation, management client -- all of these are now packaged as OSGi bundles and the client is an RCP application. The &lt;a href="http://bbapi.tigris.org"&gt;Bulletin Board API&lt;/a&gt; is open source and is also incubating at ECF (still needs some work before becoming part of a release). The Interactive Fiction API may also become open source at some point, and there are other interesting uses for it. For example another plug-in I developed allows playing these games inside an Eclipse console, which I hope to make available soon.&lt;br /&gt;&lt;br /&gt;Thanks to taking advantage of ECF's communications container abstractions, Ziggy's potential is not actually limited to bulletin boards -- it was easy to add just a bit of code to make it work over instant messaging and IRC, but this aspect of it is not public yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-1723387201563689258?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/1723387201563689258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=1723387201563689258' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/1723387201563689258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/1723387201563689258'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2007/06/equinox-ecf-serving-interactive-fiction.html' title='Equinox &amp; ECF serving interactive fiction'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-8775593853370074581</id><published>2007-06-18T03:50:00.000+03:00</published><updated>2007-06-18T04:54:36.975+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Padclipse Text Editor</title><content type='html'>&lt;a href="http://padclipse.sourceforge.net/"&gt;Padclipse&lt;/a&gt; is a new very light weight distribution of Eclipse that only contains the Text Editor and a few other plugins. The first pre-alpha release based on Eclipse 3.3RC4 just came out, but is not well tested, so &lt;span style="font-style: italic;"&gt;caveat emptor&lt;/span&gt;! You can download it for &lt;a href="http://sourceforge.net/project/platformdownload.php?group_id=197595"&gt;Windows, Mac or Linux&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The first release of the "Lite" edition contains RCP, Text Editor, Compare and Search and not much else from the Eclipse SDK. Also included for convenience are &lt;a href="http://colorer.sourceforge.net/"&gt;EclipseColorer&lt;/a&gt; editor with syntax highlighting for many programming languages and &lt;a href="http://developer.capeclear.com/?q=cvsrepo"&gt;HTTP File System&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The download is only 20MB and I've seen start up times from 2 to 5 seconds.&lt;br /&gt;&lt;br /&gt;Future editions might include "Team" (CVS, SVN, Mylyn, ...), "Full" (Team + WST XML) and perhaps "Micro" (taking out everything that can possibly be taken out while leaving the text editor).&lt;br /&gt;&lt;br /&gt;Padclipse also brings some new functionality that makes Eclipse easier to use as a simple editor:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Files (URI-s) can be opened via command line parameters, and consequent launches will open editors in a single instance of Padclipse (per user).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Files will be automatically linked to the workspace to make local history and other features be available to all files. This will be improved in future versions.&lt;/li&gt;&lt;li&gt;Future versions will improve OS integration and general usability.&lt;/li&gt;&lt;/ul&gt;Also, note that since I am no artist, the current splash screen is really ugly and the icon is taken from a PDE template. Padclipse needs a splash screen, an image for the about page, and an icon. So I'd like to kick off another logo contest, which will be tracked in &lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1738826&amp;amp;group_id=197595&amp;amp;atid=962098"&gt;this bug&lt;/a&gt; at SourceForge.net. Unfortunately, since SourceForge doesn't seem to allow everyone to attach files to bugs, files can be sent to villane at gmail dot com.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-8775593853370074581?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/8775593853370074581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=8775593853370074581' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/8775593853370074581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/8775593853370074581'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2007/06/padclipse-text-editor.html' title='Padclipse Text Editor'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-2195171603605487497</id><published>2007-05-22T20:26:00.000+03:00</published><updated>2007-05-22T21:29:24.791+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Open Software</title><content type='html'>The terms Free Software and Open Source Software are cumbersome to use, especially when speaking with laity.&lt;br /&gt;&lt;br /&gt;Free Software seems to often need an extra qualifier "free as in freedom" (as opposed to "free as in beer"). Without that qualifier, it can have a negative connotation, as people confuse it with Freeware, which is (was?) often thought of as something gratis, but of lesser function or quality than commercial offerings.&lt;br /&gt;&lt;br /&gt;Open Source Software has the word "source" in the middle that needs extra explanation for many people. It would be much simpler to explain Open Software, without all the source (or sores, as Hani Suleiman would say). With the emergence of &lt;a href="http://en.wikipedia.org/wiki/RepRap_Project"&gt;Open Source Hardware&lt;/a&gt;, where source can have a somewhat different meaning, I think Open Hardware would also be a better fit.&lt;br /&gt;&lt;br /&gt;Simply open is good. And it can more easily include other qualities we've come to associate with, but what the words "&lt;a href="http://eclipse-projects.blogspot.com/2007/04/what-is-open-source.html"&gt;open source&lt;/a&gt;" don't actually cover: &lt;a href="http://feather.planetapache.org/?p=48"&gt;open development&lt;/a&gt;, open processes, &lt;a href="http://eclipse-projects.blogspot.com/2007/04/open-source-must-allow-others-to.html"&gt;open attitude&lt;/a&gt;. It can include both Free Software and Open Source Software, and hopefully better associations with "open software" would form in people's heads, like: it's transparent, you can take it apart, modify it, distribute it and be part of it.&lt;br /&gt;&lt;br /&gt;So, if you agree with me, lets start using the term open software from now on. :)&lt;br /&gt;&lt;br /&gt;PS. Lets not even speak of alternatives like &lt;a href="http://en.wikipedia.org/wiki/FLOSS"&gt;Free/Libre/Open-Source Software&lt;/a&gt; (but don't forget to FLOSS!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-2195171603605487497?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/2195171603605487497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=2195171603605487497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/2195171603605487497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/2195171603605487497'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2007/05/open-software.html' title='Open Software'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-116422725226580773</id><published>2006-11-22T22:16:00.000+02:00</published><updated>2007-03-21T22:55:08.601+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='osgi'/><title type='text'>Using OpenGL in SWT with Java 5</title><content type='html'>Following my last idea about an &lt;a href="http://villane.blogspot.com/2006/10/idea-osgi-based-game-engine.html"&gt;OSGi based game engine&lt;/a&gt;, I thought I'd start experimenting with various game engine stuff. So far, I've managed to get a bundle that has OpenGL binding working quite nicely. I used &lt;a href="http://www.lwjgl.org/"&gt;LWJGL&lt;/a&gt;, and created two bundles for it:&lt;br /&gt;1) org.lwjgl -- the Java classes and source code is in this bundle.&lt;br /&gt;2) org.lwjgl.win32 -- platform specific fragment for the above bundle, which has the Windows DLL-s and OSGi knows how to load them because I specified the Bundle-NativeCode header for them in the manifest.&lt;br /&gt;&lt;br /&gt;I used the &lt;a href="http://www.eclipse.org/swt/opengl/"&gt;SWT OpenGL support&lt;/a&gt; to test this and after experimenting with some snippets&lt;a href="http://www.eclipse.org/swt/opengl/"&gt;&lt;/a&gt;, and copying some code from the famous &lt;a href="http://nehe.gamedev.net/lesson.asp?index=01"&gt;NeHe OpenGL tutorials&lt;/a&gt;, I thought that since I was using Java 5, I could do the following:&lt;br /&gt;&lt;br /&gt;import static org.lwjgl.opengl.GL11.*;&lt;br /&gt;&lt;br /&gt;to import the static methods and lo and behold -- now I can paste the &lt;span style="font-weight: bold;"&gt;C code&lt;/span&gt; from NeHe tutorials into &lt;span style="font-weight: bold;"&gt;Java files&lt;/span&gt; without making any changes! :)&lt;br /&gt;&lt;br /&gt;Now I'm getting the urge to start learning OpenGL again. I've already done some of the NeHe tutorials in C++, but I never really liked to write code in C or C++ that much.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-116422725226580773?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/116422725226580773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=116422725226580773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/116422725226580773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/116422725226580773'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2006/11/using-opengl-in-swt-with-java-5.html' title='Using OpenGL in SWT with Java 5'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-116017559325227222</id><published>2006-10-07T01:05:00.000+03:00</published><updated>2007-03-21T22:54:39.225+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='osgi'/><title type='text'>Idea: OSGi based game engine</title><content type='html'>There has been a little talk in the Eclipse related blogs about Eclipse's relationship with games. Which currently seems to be minimal. Here's an interesting idea for a new Eclipse Technology project: an &lt;span style="font-weight: bold;"&gt;OSGi-based game engine&lt;/span&gt;. It could be named EDGE for Eclipse Dynamic Game Engine. Another (sub-)project would add developement tools.&lt;br /&gt;&lt;br /&gt;A project like this should define API/interfaces for sub-systems that are required by most game engines and create exemplary open source based implementations. There are some fine open source engines out there (there are others, but these are the ones I know about):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.ogre3d.org/"&gt;OGRE&lt;/a&gt; graphics engine. Someone else develops a &lt;a href="http://www.ogre4j.org/"&gt;Java wrapper&lt;/a&gt; for it&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ode.org/"&gt;ODE&lt;/a&gt; physics engine. There seems to be a plethora physics engines out there lately, but I'm not sure how many are open source. I remember that ODE is one of them. It has a &lt;a href="http://odejava.org/"&gt;Java wrapper&lt;/a&gt; too&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.openal.org/"&gt;OpenAL&lt;/a&gt; 3D audio library. I think there are Java wrappers for this too, but you'll have to find the links yourself.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Maybe there are even pure Java solutions out there that are better to use in Java? I looked into game engines before I became a Java fan, so I'm not very aware how good the Java ones are.&lt;br /&gt;&lt;br /&gt;Other things needed:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;entity/actor system&lt;/li&gt;&lt;li&gt;a scripting language&lt;/li&gt;&lt;li&gt;the glue to hold it all together&lt;/li&gt;&lt;li&gt;2D graphics engine (start simple)?&lt;br /&gt;&lt;/li&gt;&lt;li&gt;extensions for specific genres&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;There are efforts like this out there, like &lt;a href="http://www.yake.org/"&gt;Yake&lt;/a&gt; (although I'm not very familiar with them), but we all know there is no other component platform like OSGi (+ Equinox) :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-116017559325227222?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/116017559325227222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=116017559325227222' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/116017559325227222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/116017559325227222'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2006/10/idea-osgi-based-game-engine.html' title='Idea: OSGi based game engine'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-113500789206525848</id><published>2005-12-19T17:50:00.000+02:00</published><updated>2005-12-19T18:01:22.980+02:00</updated><title type='text'>Switching to Linux</title><content type='html'>Zerobot developement is slowing down for a few days while I'm switching my main desktop environment from Windows to Linux. &lt;a href="http://www.ubuntulinux.org/"&gt;Ubuntu&lt;/a&gt; is great IMHO, no matter what Linus Torvalds says about Gnome. I even got the ATI driver working on my AMD64 PC finally (that's mostly what kept me on windows so far). The switch isn't that hard if you've used to multi-platform applications anyway (Firefox, Thunderbird, Eclipse, OpenOffice). Importing all my thunderbird settings and emails meant copying a directory from a windows drive to the linux file system. For eclipse, I din't use the packages provided by Ubuntu, but downloaded the Sun Java VM and Eclipse from the official sites. The GJC version was incredibly slower and ate lots of more memory.&lt;br /&gt;&lt;br /&gt;So I already have three linux systems: coyote running on a Pentium 200 with no hard disk, booted from a floppy, shares the ADSL connection to my local network. Ubuntu 5.10 32-bit running on my old computer. And my new computer is dual boot -- WinXP and Ubuntu 5.10 64-bit. I think it will stay that way for I will still need Windows for playing games.&lt;br /&gt;&lt;br /&gt;There's one thing I'd like to do before going full throttle with Zerobot developement: set up a server that not only shares the internet connection, but also acts as Apache, MySQL, file &amp;amp; print server + Bugzilla + CVS / SVN + phpBB2. Otherwise I have to keep synchronizing multiple desktop systems to provide up-to-date versions these services. I have a 450MHz Celeron that I could use for this, but I think I'll probably need to get a new hard drive for it. I'm planning on installing OpenSuSE 10.0 on it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-113500789206525848?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/113500789206525848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=113500789206525848' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/113500789206525848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/113500789206525848'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/12/switching-to-linux.html' title='Switching to Linux'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-112543702777466969</id><published>2005-08-31T00:00:00.000+03:00</published><updated>2007-03-21T22:55:40.504+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Mavenising</title><content type='html'>I just realised again how great &lt;a href="http://maven.apache.org/"&gt;Maven&lt;/a&gt; is. I wanted to get back to working on JSimpleton, the bot that allows forum users to play old text adventure games cooperatively. I haven't touched the project for months and since I last did have gotten a new computer and didn't have any of the numerous &lt;a href="http://jakarta.apache.org/"&gt;Jakarta&lt;/a&gt; and other open source libraries any more, and have switched Eclipse versions from 3.0.1 to 3.1. Thankfully I had used Maven as my build tool and Eclipse as my IDE. After importing the old project directories into Eclipse, installing and configuring Maven and the Eclipse &lt;a href="http://mevenide.codehaus.org/"&gt;Mevenide&lt;/a&gt; (M&lt;span style="font-weight: bold;"&gt;a&lt;/span&gt;ven IDE -- why M&lt;span style="font-weight: bold;"&gt;e&lt;/span&gt;venide?) plugin from the update site, I only had to run the &lt;abbr title="Project Object Model"&gt;POM&lt;/abbr&gt; synchronization and build the project with Maven once to have all my classpath dependencies in the IDE resolved and the project built properly. Ok, so there were more issues than that, but they were my fault entirely.&lt;br /&gt;&lt;br /&gt;Sometimes I don't think Maven is that great though -- I've wasted many an hour trying to make it build complex J2EE projects exactly how I want. Maybe I'm just not used to it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-112543702777466969?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/112543702777466969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=112543702777466969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/112543702777466969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/112543702777466969'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/08/mavenising.html' title='Mavenising'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-111551130081813917</id><published>2005-05-20T00:01:00.000+03:00</published><updated>2007-03-21T22:55:36.083+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Faces, Eclipsed</title><content type='html'>After developing a &lt;a href="http://java.sun.com/j2ee/javaserverfaces/"&gt;JSF&lt;/a&gt; application for a few weeks, I have now been in contact with some negative aspects of &lt;a href="http://myfaces.apache.org/"&gt;MyFaces&lt;/a&gt; (and/or the JSF spec) as well. I knew that would happen, but some of it really surprised me. For example, there is no easy way to temporarily turn off form validation and not break the entire lifecycle without rewriting many parts of the JSF implementation. In the end I had to implement custom validation methods for forms, that get executed only when needed. Thankfully our project doesn't require lots of form validation.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;During the last couple of weeks, I've started using &lt;a href="http://eclipse.org/webtools/index.html"&gt;Eclipse Web Tools&lt;/a&gt; in a small project. It's currently very buggy, but it seems on the path to total awesomeness and I think the time is not far when almost everyone and their neighbours dog will be using Eclipse or a derived product for Java web application developement. There's simply no point in using a commercial IDE, when a free one can do all the same things, if not more. I use &lt;a href="http://www.jetbrains.com/idea/"&gt;IDEA&lt;/a&gt; at work, and while it looks and feels better, it seems like Eclipse is catching up fast with features, and its Refactoring functionality is arguably already better than IDEA's.&lt;br /&gt;I also learned about some cool Eclipse productivity features that I hadn't noticed so far, thanks to the &lt;a href="http://planeteclipse.org/planet/"&gt;Planet Eclipse&lt;/a&gt; site. Should read the help more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-111551130081813917?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/111551130081813917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=111551130081813917' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111551130081813917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111551130081813917'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/05/faces-eclipsed.html' title='Faces, Eclipsed'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-111653522371249252</id><published>2005-05-19T23:37:00.000+03:00</published><updated>2005-05-19T23:40:23.716+03:00</updated><title type='text'>Waxy</title><content type='html'>I've become addicted to &lt;a href="http://www.waxy.org/links/"&gt;waxy.org/links&lt;/a&gt;. It's a daily updated mini-blog containing lots of great links with one-line comments.&lt;br /&gt;&lt;br /&gt;Go get your daily dose.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-111653522371249252?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/111653522371249252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=111653522371249252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111653522371249252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111653522371249252'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/05/waxy.html' title='Waxy'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-111454484575250540</id><published>2005-04-26T22:23:00.000+03:00</published><updated>2007-03-21T22:56:05.967+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>My Java Faces</title><content type='html'>At work we use a lot of Java libraries from &lt;a href="http://www.apache.org/"&gt;The Apache Software Foundation&lt;/a&gt;. Last week we took a look at &lt;a href="http://myfaces.apache.org/"&gt;MyFaces&lt;/a&gt;, which is an implementation of the &lt;a href="http://java.sun.com/j2ee/javaserverfaces"&gt;Java Server Faces&lt;/a&gt; specification with some added components that make life easier. While the inner workings of it are still not entirely clear to me, the current impression is that it's like Swing over HTTP. We've started using it in a new project, and it allows us to do some things very quickly, which is good because we're on a tight schedule.&lt;br /&gt;&lt;br /&gt;I really like the MyFaces extensions to JSF -- with their help, some complex user interfaces components can be built very easily. I was able to wrap our own generic Data Transfer Object in a very simple &lt;a href="http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/javax/faces/model/DataModel.html"&gt;DataModel&lt;/a&gt; subclass and use it in a MyFaces component that can render sortable tables easily. That required another custom class to implement the sorting, which delegated it to a Data Access Object, and the actual sorting was done in SQL.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-111454484575250540?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/111454484575250540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=111454484575250540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111454484575250540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111454484575250540'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/04/my-java-faces.html' title='My Java Faces'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-111135157660615839</id><published>2005-04-17T22:15:00.000+03:00</published><updated>2005-04-17T22:21:44.483+03:00</updated><title type='text'>Bots and pipe dreams</title><content type='html'>I actually suspected this blog would turn out to be something that I will rarely update. Perhaps I should let people know about it, which might very well motivate me to continue. Anyway, on with the post that has been gathering dust as a draft, for weeks I think.&lt;br /&gt;&lt;br /&gt;When the Playstation 2 I borrowed broke down, I had to find something else to do with my free hours. That something should have been learning to use the &lt;a href="http://www.valve-erc.com/srcsdk/"&gt;Source SDK&lt;/a&gt; but alas, I have spent very little time with that.&lt;br /&gt;&lt;br /&gt;I don't remember what exactly gave me the idea, but I started writing the foundations of a &lt;a href="http://java.sun.com/"&gt;Java&lt;/a&gt; program that could communicate with various web sites and other internet resources, such as &lt;span style="font-style: italic;"&gt;forums,&lt;span style="font-style: italic;"&gt; search sites, e-mail, dictionaries, blogs&lt;span style="font-style: italic;"&gt; etc.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; I had, or perhaps still have, vague ideas of creating an AI bot that could pass as a human internet user and be useful to real people in some way. My current plans have scaled down a bit...&lt;br /&gt;&lt;br /&gt;I started with a &lt;a href="http://www.vbulletin.com/"&gt;vBulletin&lt;/a&gt; forum interface, but then got stuck. I had no idea what exact functions the bot would have. As a quick distraction, I wrote a very simple console application for browsing vBulletin forums. I tried it out on a couple of forum sites, but it only seemed interesting for a little while.&lt;br /&gt;&lt;br /&gt;Then I revealed my coder's block at &lt;a href="http://www.idlethumbs.net/"&gt;Idle Thumbs&lt;/a&gt; and asked for suggestions on what the bot should do. &lt;a href="http://www.idlethumbs.net/about/staff.php?id=6"&gt;Jake Rodkin&lt;/a&gt; came up with the idea of people playing &lt;a href="http://www.ifarchive.org/"&gt;interactive fiction&lt;/a&gt; (otherwise known as text adventure games) cooperatively on the forums. I liked the idea and soon had a somewhat functioning &lt;a href="http://www.csd.uwo.ca/Infocom/zork1.html"&gt;&lt;span style="font-style: italic;"&gt;Zork I&lt;/span&gt;&lt;/a&gt; running on the Idle Thumbs forums. The "bot" communicated with a DOS version of Zork, which I found quite lacking both in performance and security. Being a layman when it comes to IF, I only found out that there were lots of interpreters for the Infocom games after a short discussion with Jake about how he would like to put the bot to use. I found some open source Java Z-Machines, like Zax, Zplet and &lt;a href="http://zinc-if.sourceforge.net/"&gt;Zinc&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Zinc seemed the most recent (possibly even alive) and flexible, and I decided to go with that. After hours of reading the Zinc source code, I finally realized that I was looking in all the wrong places -- an unused import threw me off, until I decided to let &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt; organize the imports. I was then able to extract just the Z virtual machine and modify it's wrapper to suit my own needs. After some more hours of &lt;a href="http://java.sun.com/j2se/1.4.2/docs/api/java/io/package-summary.html"&gt;input/output&lt;/a&gt; hassles, I finally saw my error in thinking and got it working well enough for what I needed, if not the most efficiently. I have still a lot to learn about multithreaded programming.&lt;br /&gt;&lt;br /&gt;Since then, I think the bot has evolved quite well, and is more and more starting to resemble something that could be called a bot instead of a set of small, disposable applications. It now supports &lt;a href="http://www.tads.org/"&gt;TADS 2&lt;/a&gt; games as well as the Z-code games, handles exceptions better and can be run as a &lt;a href="http://wrapper.tanukisoftware.org/"&gt;service/daemon&lt;/a&gt; on many platforms (tested on Windows XP and Mandrake Linux). At the moment I'm busy with getting the code as stable as I can, and release the initial version to the Idle Thumbs staff, who will put it to use on their forums.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-111135157660615839?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/111135157660615839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=111135157660615839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111135157660615839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/111135157660615839'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/04/bots-and-pipe-dreams.html' title='Bots and pipe dreams'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-110811940090472406</id><published>2005-02-11T12:34:00.000+02:00</published><updated>2005-02-11T20:02:20.620+02:00</updated><title type='text'>On sit-coms</title><content type='html'>In his blog entry ("The Secret of Success", 10.02.2005) about American sit-coms, &lt;a href="http://www.fullyramblomatic.com/"&gt;Yahtzee&lt;/a&gt; says the reason they suck is breaking a set of rules that British ones follow precisely. I might agree with half of what he said, but the other half is bullshit. I suspect it's due to him having a very particular taste and being quite British.&lt;br /&gt;&lt;br /&gt;Firstly, Friends != Horrible Shit. Sure, it has kind of turned into a soap opera, but almost every fucking episode IS funny. Compliance with an arbitrary set of rules does not define the funniness of something. Something is simply funny or not, although that can be quite subjective. The quality of the humour in Friends is way above that of the standard American sit-com. To see that, there's no need to analyse it's success or break it down into a set of rules -- it should be obvious to anyone who has watched even a few episodes.&lt;br /&gt;&lt;br /&gt;Secondly, Seinfeld is way above Not Too Shabby. You can simply tell that from the various contexts it is often referenced in. The jokes are often quite unique, compared to other sit-coms. Or even if they aren't, they sure fooled me. For example, google for &lt;a href="http://www.google.com/search?hl=en&amp;lr=&amp;amp;q=Costanza+principle&amp;amp;btnG=Search"&gt;"Costanza principle"&lt;/a&gt; and download the powerpoint file "Strangling Legacy Code", then search for "Costanza" in the file again. It shows how a joke from one the episodes can apply to solving a real-life software engineering problem.&lt;br /&gt;&lt;br /&gt;The others that Yahtzee mentioned I pretty much agree with. But my point is that there are more kinds of comedy than the British variety, and it can be equally good. Usually I prefer British humour as well, though.&lt;br /&gt;&lt;br /&gt;The one thing about sit-coms (American or not) that bothers me is the laugh track. What the fuck is that good for? I don't need to be told if something is funny or not, I can figure it out by myself. The only sensible reason for the laugh track I can think of would follow this logic. They say laughter is both healthy and contaiguous, therefore more laughter should mean a healthier population (which would be good, if the Earth wasn't overpopulated).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-110811940090472406?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/110811940090472406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=110811940090472406' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/110811940090472406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/110811940090472406'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/02/on-sit-coms.html' title='On sit-coms'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10534078.post-110747221833741452</id><published>2005-02-03T14:25:00.000+02:00</published><updated>2005-02-04T01:10:18.336+02:00</updated><title type='text'>Welcome and goodnight</title><content type='html'>Welcome! For some reason I don't completely comprehend, I decided to open a blog. The blogging business has been fairly unfamiliar to me; I don't even know how it's customary to begin them, I'll just keep it short and say whatever pops into my head. My main reason for starting this is that I want to have a place where I can vent or write down my thoughts about something I'm obsessing about that would be too long for a &lt;a href="http://forums.idlethumbs.net/"&gt;forum&lt;/a&gt; post. The topics I'm going to cover here will probably mostly relate to software developement, video games and &lt;a href="http://www.vonnegut.com/"&gt;ETC&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Goodnight for now,&lt;br /&gt;Villane&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10534078-110747221833741452?l=villane.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://villane.blogspot.com/feeds/110747221833741452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10534078&amp;postID=110747221833741452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/110747221833741452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10534078/posts/default/110747221833741452'/><link rel='alternate' type='text/html' href='http://villane.blogspot.com/2005/02/welcome-and-goodnight.html' title='Welcome and goodnight'/><author><name>Villane</name><uri>http://www.blogger.com/profile/10112463712062206087</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
