Posts filed under ‘programming’

write specifications and implement in parallel

I stumbled today about a discussion on HTML 5 with a mozilla developer.

Implementations and specifications have to do a delicate dance together. You
don’t want implementations to happen before the specification is finished,
because people start depending on the details of implementations and that
constrains the specification. However, you also don’t want the specification
to be finished before there are implementations and author experience with
those implementations, because you need the feedback. There is unavoidable
tension here, but we just have to muddle on through … I think we’re doing

I can agree completely. Waterfall model was yesterday.
You need the feedback from developers!

What Mozilla does OK should all other software development projects consider.


Thursday, 17 June 2010 at 16:57 UTC Leave a comment

using xpidl under 64-bit Snow Leopard

i’ve been using xulrunner sdk for years to develop #Firefox add-ons with #netbeans with the #foxbeans plugin.

Since the migration to 64-bit Snow Leopard xpidl failed with the same bug as described on

But i could not followed the solution described there, because in my environment it failed with a typical 32-bit / 64-bit architecture compilation issue:

dyld: Library not loaded: /opt/local/lib/libIDL-2.0.dylib
Referenced from: /usr/local/xulrunner-sdk/bin/xpidl
Reason: no suitable image found. Did find:
/opt/local/lib/libIDL-2.0.dylib: mach-o, but wrong architecture
Result: 133

After a short Google search i found the solution Patko described on his blog.

It did not work for me from scratch. I run in a architecture dependency error again:

bash-3.2# port -f install libiconv +universal—> Computing dependencies for libiconv
—> Configuring libiconv
—> Configuring libiconv for architecture x86_64
Error: Target org.macports.configure returned: configure failure: shell command ” cd “/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1-x86_64″ && ./configure –prefix=/opt/local –disable-dependency-tracking –enable-static –docdir=/opt/local/share/doc/libiconv –without-libiconv-prefix –without-libintl-prefix –disable-nls –enable-extra-encodings –disable-dependency-tracking ” returned error 1
Command output: checking for random.h… dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
Referenced from: /opt/local/bin/grep
Reason: no suitable image found. Did find:
/usr/local/lib/libintl.8.dylib: no matching architecture in universal wrapper

Here is my simple modification to this solution to install libidl for both architectures (32bit und 64bit):

port uninstall gawk
port uninstall grep
port uninstall autoconf213

port install libtool +universal
(that also installs libiconv, gettext, grep)

port install gawk +universal

port upgrade –enforce-variants ncurses +universal
port upgrade –enforce-variants expat +universal
port install gettext +universal

port install libiconv +universal
port install glib2 +universal
port install libidl +universal

Running foxbeans build using xpidl is now successful.

Copying 1 file to /Volumes/…
BUILD SUCCESSFUL (total time: 0 seconds)

Saturday, 6 March 2010 at 01:25 UTC 1 comment

Scrum becomes a worldwide trend – jump to agile

Scrum is used worldwide. You make software projects in US, Europa, Asia, South-America ?
Forget the old-fashioned Word, Excel and MS Project driven software projects with lost deadlines and regular missing transparency.

Let’s join the agile methodologies!!!

Nice presentation from Brazil:

Update: Found the way to embed slideshare doc, click on wordpress button below the presentation on slideshare and copy the […] “link”.

Saturday, 31 January 2009 at 01:41 UTC 2 comments

intellij 8.0 memory settings

Just installed the new version 8.0 of Intellij Idea.


With default memory settings i got permanent OutOfMemory with nothing else as created a default webapp with one jsp (using Sun JDK 1.6.0_10).

Exception occurred during event dispatching:
java.lang.OutOfMemoryError: PermGen space

So, i modified the memory settings a little bit more aggressive than recommended on IntelliJ Blog:

edit idea-9013/bin/idea.vmoptions (no -server, no -Xms to let the VM decide min settings)

It runs now quite well.

Saturday, 8 November 2008 at 18:06 UTC 2 comments

Netbeans 6.5 RC2 released

This week the Netbeans team published the RC2 of Netbeans 6.5.

It is a quite stable release and much better than the first beta version.
I’ve been using it with minor reservations for some days.

It is helpful for Java and Maven, PHP and Firefox extension development with the Foxbeans plugin.
They solved the subversion User Interface much better than Eclipse.

Good work!

Friday, 31 October 2008 at 11:47 UTC Leave a comment

netbeans 6.5 installer issue

on my second Ubuntu Hardy (64-bit) i got an issue with installing netbeans 6.5beta:

~/Desktop$ ./
bash: ./ /bin/sh: bad interpreter: Text file busy

googled a litte bit and found a tip from morris 007:

my file permission were corret, yet, but starting installer with sh solved above error message:

~/Desktop$ sh
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...

Interesting is also, that there seems to be differences between the MacOS and Linux distribution of Netbeans 6.5beta.
On MacOS i didn’t got the “select pack” screen during installation procedure:

netbeans installer select packs

netbeans installer select packs

Tuesday, 19 August 2008 at 10:50 UTC Leave a comment

Updated: Netbeans 6.5 beta now available

Today it is official: The beta release of Netbeans 6.5 is available.

Download here.

After some internal confusing last days at Amit Sahas’ blog at Sun Lukas Haslik (NetBeans Platform & Core QA team lead) replied, that this “internal” link was not created for public users.

Rohan Ranade replied as every other software development team should care:

@Amit: I agree completely with Lukas. It’s common sense. NetBeans is a product, not just another open source part time project. There are dedicated teams which manage the lifecycle of NetBeans. Such journalistic activism has happened earlier too (earlier too a Sun India guy had done it). It does not do any good to NetBeans image when people download and use untested beta versions. Worse, it creates a headache for QA and Dev when spurious bug reports come in. That’s a definite loss IMO. And remember, you are a SUN employee. What you say on the blog will be taken as official. It’s a double edged sword.

I can agree with him, it is very important for any product to assure a clear and transparent communication strategy to customers. In our world of information overflow it is more important than ever.

Today Netbeans published the official beta link, looking forward to test it developing Java and indeed (for some internal applications) PHP code.

NetBeans IDE 6.5 Beta Highlights:

o Code Completion
o Quick Fixes and Semantic Checks
o FTP Support
o Debugging with Xdebug
o Support for popular Web Services
o Debugging support for Firefox and IE
o HTTP client monitoring
o Bundled popular JavaScript libraries
o Groovy/Grails support
o Compile/Deploy on Save
o Eclipse project import and synchronization
o Built-in Hibernate support
o JSF CRUD Generator now Ajax-enabled
o Editor Improvements
o Improved code completion and error highlighting
o Remote Development
o Support for Ruby Tests
o Improved support for Rake build tool
GlassFish v3 “Prelude”
o Small footprint, fast startup and deployment
o Support for scripting, including jRuby

Testing Netbeans 6.5 beta!

Thursday, 14 August 2008 at 16:15 UTC Leave a comment

Older Posts