Old News: NetBeans Tips

Have you ever wondered that there are no “tips of the day” for NetBeans available? Maybe these two sides could satisfy your needs:

  • NetBeans Hacks (Part1) Here the following was new to me: Out-Smart Search & Replace
  • NetBeans Hacks (Part2) Here I suggest you to read Activate Anti-Aliasing Font Rendering in the Editor, Define Shortcuts for Ant Targets and Depend on Other Projects.

But both are for older versions of NetBeans. So are there any plans for newer tips? Yes, there are! Ruth says sun even plans to publish a book (at JavaOne) about this topic.

NetBeans of the year 2010

I am really happy with NetBeans 6.0, but through my usage of other IDEs I noticed that there could be even more features in NetBeans. Namely:

  1. Spell-checking while editing. I know that there is an existing module. But the module isn’t in the final release! (And nbextras is down.)
  2. Serial Version Generator. Even here is an existing modul. But as always I would prefer that a working version will be shipped with the IDE.
  3. A simple binding of an ant-task to a menu entry (to define keyboard shortcuts). E.g. Provide a ‘Create new menu from ant-task’- wizard.
  4. Formatting of several files. E.g. via right clicking on a package->Tools->Formatting.
  5. Searching through keyboard shortcuts should be possible.
  6. One should be able to select specific moduls for the update process. And the process should be done in background.

I know that there is an issue tracker for NetBeans. And here is a quite extensive list. But I want to discuss wether these features are important and if you have suggestions for further improvements. Please do not only mention things that other IDE’s can do.

Instead we should think about a NetBeans of the year 2010 like other people did here and here. (Keep your eyes on the date in both posts!)

Software Patents in Europe – WebShop Example

Yesterday ( 25.04.2008 ) was the day of the intellectual property.

But does software fall into this category?

In my opinion you cannot grant patents to ideas – only e.g. to devices. I think you cannot grant a patent like ‘enter the code for the sales discount’. You can only put a copyright on the code (e.g. which queries the database), but copyright means that others cannot (easily) make a duplicate – it doesn’t mean that others cannot ‘use’ this idea (plagiates are forbidden of course). If the granted patents on software can be executed in europe, then many open source programmer – like me – gets a lot of trouble!

Today I discovered a good (english or german) example at ffii.de to demonstrate which patents could be violated if you develop a simple webshop. It was really impressive for me that these patents are actually granted.

To look for the mentioned patent numbers you can use espacenet.com.

Java’s Success on the International Timetabling Competition 2007/08

It is really amazing! Thomas Müller is the definitive winner of the International Timetabling Competition 2007/08. Although the group from Japan (Atsuta et al.) was nearly as successful.

Congratulations!

It is really nice to see that Mr. Müller and Atsuta et al. had success in all three kinds of problems. The great thing about Thomas Müller’s effort is that his solver is open source (LGPL) and its written in Java! Here you can download it.

The goal of the competition was to solve different timetabling problems with an optimization routine. If you don’t know what timetabling is please look here for a definition of School timetabling at wikipedia. For more information on a special type of optimization look here for tabu search.

I know that it was really hard to achieve these good solutions, because I took part without success in track 2 (with my own little project).

Ruby 4 Java Programmers and Extreme Test Driven Development

Ruby 4 Java Programmers

I thought Ruby is just another language like Java to express things in a different syntax, but now I know that I was wrong. Look into these old, but really nice slides I discovered yesterday:

http://onestepback.org/articles/10things

Let me know some other good articles about ruby!

Now I understand the ‘ruby hype’ a little bit better. Thank you Jim Weirich!

Extreme Test Driven Development

Did you write unit tests? Do you actually write unit tests?

Do you like TDD? If not then look here!

But what about these lines that are untested? Do you know them? Do you actually need them? Maybe you don’t need them, then you should have a look at this tool! It will remove all the untested code!

To discuss the political incorrect name of the project please feel free to post your opinion here.

Do you want to create decoupled unit tests? Then have a look at this tool, which uses the SecurityManager to ensure this!

You want to know if your unit tests are subtle enough? Try out jester! “It modifies your source code, runs the tests and reports if the tests pass despite the changes to the code. This can indicate missing tests or redundant code.” taken from the sourceforge mainpage of jester.