You are currently browsing the archives for the development category.

System Tray in Java

Several days ago I talked with my friend about a problem with using system tray in java. He develops a desktop application and needs a crossplatform (Microsoft Windows, Mac OS X and Linux) solution for system tray. Of course, you could say: “What the problem? Just use java 6″. Yep, you are right but we [...]

CodeColorer 0.6.0

Today Dmytro Shteflyuk has released new version of CodeColorer — a fantastic wordpress plugin for syntax highlighting. Now you can configure and customize a specific code block in your post. For example,
attributes “line_numbers” and “no_links” are set to “true”:
package info.kpumuk.info;
 
interface Test {
  void showTestName(String arg);
  int execute() throws Exception;
}
with default settings:
package info.kpumuk.info;

interface Test [...]

Maven2 and Cobertura

Сегодня нашел для себя большую странность в отчете Cobertura через Maven2. Результаты плачевные какие-то:

About books

Все долго собирался рассказать о книжках, которые прочитал в последнее время. Хотел, но время не смог найти. Сложно сказать, куда оно уходит. На этой недели в прочтении различных блогов попали во внимания два сайта.

Refactoring to Strategy. My example. Part 2

So… It’s time to finish refactoring the example. In part 1 I have prepared a class for extracting strategies. Let’s look at our code:

Refactoring to Strategy. My example. Part 1

I am writing about refactoring again. I found a class that has a code which is not so clean as I want. I researched it and understood that I could make it better. It’s a good chance to demonstrate how to refactor code using pattern Strategy. Let’s go.
We have following code:

One daily note

Today I have conversation with my co-worker. The subject was outsourcing. If you would analyze the Ukrainian market, you would find two big IT-companies, which are proposing many positions now. They are hiring developers from Kyiv and other cities of the Ukraine. Also, I have information about third company, which will open offshore departments [...]

Ghost Developer

Several months ago I have read interesting article “Dead souls from overseas”. Yakov Fain has written his article about “big” developer’s team for customer, but it contains only several people. I want to describe you other situation, which could happen in your life.
So, you are developer in offshore company. You learn a lot of new [...]

Thinking in refactoring

Today I have read the article “10 Commandments for Java Developers“. I was confused when I read the third commandment. Author said that the code was more readable in second sample then in first one.