Blog: On the way to better software

Scala collections: Filtering each n-th element - Part 2

If you read my previous post you know that I'm trying to find the best implementation for filtering each n-th element from a collection. Since then I found two more possible implementations: Loop - R...

Wyświetlenia 988

OK 0

NOK 0

Scala collections: Filtering each n-th element

Recently I had to process huge log files. I found it to be a great opportunity to check my Scala language skills. One of the problems I had to figure out was filtering every n-th element from iterable...

Wyświetlenia 478

OK 0

NOK 0

Tech Tip: How to use fast scala compiler (fsc) from IntelliJ IDEA

Using fsc from IDEA is supposed to be trivial task. IDEA provides dedicated fsc "Run Configuration" out-of-the-box. Unfortunately in reality things are getting more complicated. Scala build in IDEA is...

Wyświetlenia 609

OK 0

NOK 0

"Analysis Patterns 2 - Work in Progress"

I was about to buy Analysis Patterns book by Martin Fowler but recently I found on his web page that he's working on version two of this book, thus I've decided to wait a bit. He's also kindly publish...

Wyświetlenia 392

OK 0

NOK 0

Why I won't use Qi4j (yet)

Several months ago I've published short series about Qi4j basics. I was impressed not only by the long list of interesting features, but also by the overall concept of the application architecture tha...

Wyświetlenia 425

OK 0

NOK 0

Google collections

Google collections is very interesting, modern library which supplements standard library java.util.collections. It focuses on code simplicity and safety (immutability). And it brings some flavours of...

Wyświetlenia 377

OK 0

NOK 0

Qi4j - First mixin

This is my third post about Qi4j basics. In this post I'll show you how to implement behavior and wire it together with the code I already wrote for the previous post.As you probably remember Qi4j man...

Wyświetlenia 389

OK 0

NOK 0

Qi4j - First application

In the previous post I've shown how to set up Qi4j project with maven. In this post I'll show how to create application which will slowly evolve into basic rational number calculator in the future. I ...

Wyświetlenia 401

OK 0

NOK 0

Qi4j - Project setup with Maven and Eclipse

Qi4j is an implementation of composite oriented programming paradigm written in pure Java. As I'm just taking my first steps with Qi4j I've decided to write down some notes about that. In this post I'...

Wyświetlenia 411

OK 0

NOK 0

Collection Literals in Java 7

Today I read the final list of the Project Coins - the accepted list of Java language enhancement proposals for Java 7. The goal of one of them is to introduce collection literals for List, Set and Ma...

Wyświetlenia 434

OK 0

NOK 0

Some useful eclipse plugins

I found the following eclipse plugins being very useful.1. AnyEdit - "AnyEdit plugin adds several new tools to the context menu of text- based Eclipse editors, to output consoles, to Eclipse main menu...

Wyświetlenia 397

OK 0

NOK 0

Dependency Injection bad practices

"If all you have is a hammer, everything looks like a nail" - Abraham MaslowTo make it clear - I don't claim that DI is evil. I think it's really useful tool. Just a tool like a hammer. Unfortunately ...

Wyświetlenia 436

OK 0

NOK 0

"From Concurrent to Parallel" by Brian Goetz

Brian Goetz is talking about the fork-join framework and parallel array types coming in Java SE 7. For me it looks absolutely great. See the presentation...

Wyświetlenia 411

OK 0

NOK 0

Spring JDBC - don't forget to call compile()

If you're using Spring JDBC StoredProcedure and if your application produces errors like that below from time to time. ERROR [...] CallableStatementCallback; uncategorized SQLException for SQL [{? = c...

Wyświetlenia 443

OK 0

NOK 0

Subversion 1.6 for Ubuntu Jaunty

Subversion 1.6 is now available in the launchpad repository.deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty maindeb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/...

Wyświetlenia 443

OK 0

NOK 0

MAT - Eclipse Memory Analyzer

Eclipse Galileo is just around the corner and brings MAT - heap memory analyzing tool on board.Let's give it a try. Here is very nice introduction....

Wyświetlenia 421

OK 0

NOK 0

The "species" of Software Architects

During a discussion with one of my colleagues I was asked to write down the definition of Software Architect I use. I recognized this as a good opportunity to refine the meaning of this term for me as...

Wyświetlenia 391

OK 0

NOK 0

Improve development with milestones

The team which I'm member of works in a month long iterations. We often have to develop quite large user stories. To improve our development process we introduced the idea of milestones.How to define ...

Wyświetlenia 391

OK 0

NOK 0

Null Object - the third player

In my previous post I wrote about my considerations about the exceptions and null values. I suggested one more possibility - an "error-indicating object", which basically means to return a special, re...

Wyświetlenia 411

OK 0

NOK 0

Throwing an exception vs returning null

Recently I came across the following problem: How should the callee report a rejection/failure to the caller?I'm writing about the Java components such as business logic services, repositories, etc. O...

Wyświetlenia 406

OK 0

NOK 0

Polskie blogi o JAVIE

                                                                                                                                       

dailylog

Wpisów: 34

Ostatni (2014-10-06):
PageLogic

    

jdn.pl

Wpisów: 163

Ostatni (2015-01-09):
Chamberconf