Only Software matters

Experiences in software development

Archive for November, 2013

Java Day Riga 2013 – What a great day to remember!

Posted by Patroklos Papapetrou on November 28, 2013

What a superb day to remember!!
First time in Latvia, Riga, first time talking in a movie room.

When my talk was accepted by Dmitry (thank you very much once again) I couldn’t imagine of how great time I’d have during my stay in Riga. Everything was just perfect: the conference organization, the venue, the topics, the speakers and of course the participants! I wish I could duplicate myself to listen live more talks 😦 . I’m working on this 🙂

I decided to follow the Java 8 – Immutability – Scala track and I’m delighted that I had the chance to listen to all these speakers. It all started with the keynote speech by Simon Ritter and his excellent discussion about Functional Programming Constructs and Smpler Concurrency in Java SE 8. He made me want to use Java SE 8 right now and wondering if Lambda expressions is the end of the traditional for blocks and abstract classes! I can’t wait until March for the official release. In the meanwhile I can live with what Tero Perviainen reminded us about Immutable Java, by sharing his experience in real-life projects. Next, and after we enjoyed some great snacks, it was the right time to move to the Scala world, still in the JVM 🙂 Mirco Dotta, an experienced Typesafe Scala engineer, taught us how to effectively (not only for the compiler but the developer as well) write our Scala programs.

Then I had to take a break, because It was my turn to hold a session about code quality technical debt and SonarQube so I missed the talk by Jan Valenta about Java FX Deployment. I was really suprised of how many people actually use or are willing to use SonarQube 🙂

2013-11-28 17.42.11

The last talk I attended was JDK 8 Stream Style by this crazy Russian Oracle guy Sergey Kuksenko. His talk made me believe that the JDK8 Stream Class will be the new buzz-word class 🙂 . Buy bye lists, iterators etc.

I’m leaving Riga with the best of memories and maybe I’ll be back some day to attend another great Java Day event 🙂

Until that day, Jūs atkal redzēt my Latvian friends. ( I hope I got it right ) 🙂

Posted in software | Tagged: , , , , , , | Leave a Comment »

Up to half off all eBooks! Green Tuesday is back at Manning

Posted by Patroklos Papapetrou on November 26, 2013

Black Friday, the day after Thanksgiving, is the busiest shopping day in the US. Manning’s earth-friendly alternative is Green Tuesday. Today, and through the end of November, save up to 50%on all eBooks, including MEAPs. Stay at home, avoid the crowds and traffic jams, and still get some great deals. Now that’s a reason to give thanks!

40% off all eBook purchases under $50–Use code gt114013
50% off all eBook purchases over $50–Use code gt115013

Just enter the correct code in the Promotional Code box when you check out at Expires December 1. Only at

Countdown to 2014!

On December 1, we’re kicking off Countdown to 2014, our annual month-long party full of free gifts, great daily discounts, and other holiday festivities. Sign up now, and you’ll get:

  • A different special discount every day good for that day only
  • A chance to win one of 2 free eBooks daily
  • A chance to win the grand prize, an iPad Air

It all starts December 1. If you already get the Deal of the Day email alert, you’re automatically registered for the Countdown to 2014. If not, it’s a breeze to register.

eBook bestsellers


  1. Node.js in Action
  2. Single Page Web Applications
  3. C# in Depth, Third Edition
  4. Play for Scala
  5. Making Sense of NoSQL
  6. Secrets of the JavaScript Ninja
  7. The Art of Unit Testing, Second Edition
  8. Making Java Groovy
  9. SonarQube in Action
  10. Specification by Example 

MEAP Bestsellers


  1. Java 8 Lambdas in Action
  2. AngularJS in Action
  3. Big Data
  4. Programming for Musicians and Digital Artists 
  5. jQuery UI in Action 
  6. CORS in Action
  7. MongoDB in Action, Second Edition
  8. The Joy of Clojure, Second Edition 
  9. Akka in Action
  10. Functional Programming in Scala 

Posted in software | Tagged: , , , | 1 Comment »

Make jenkins Windows service use your preferred JRE

Posted by Patroklos Papapetrou on November 21, 2013

Recently I was working on installing and configuring a new instance of Jenkins. For some reason, which is out of this post’s context, I wanted to make Jenkins run with a specific version of the Java environment. Forutenately it was something really easy. This post is mainly a reminder to me, next time I’d like to do the same 🙂

Jenkins by default uses the jre which located under the jre sub-directory of your jenkins installation home ( %JENKINS_HOME ).

To change this find the file named jenkins.xml in which is located in your %JENKINS_HOME directory. 

Edit it and look for the following section


Now change the content of the executable property to point to your favorite JRE. You can describe it as an absolute or relative path or you can even use, environment variables.

Save the file and restart Jenkins.

That’s it!



Posted in software | 2 Comments »

A little publicity thanks to SonarQube

Posted by Patroklos Papapetrou on November 14, 2013

A couple of years ago when I was signing a contract with Manning Publications to write SonarQube in Action, I couldn’t predict what would be the “side effects” of this decision. Now several months later and having the book published I can tell you, that this gave me a little publicity and to be honest, more than I was actually expecting. 

So here’s a list of events I participated and are related to the writing of SonarQube in action, code quality, metrics and technical debt.

Hopefully this list will eventually get larger 🙂


Posted in software | Tagged: , , , | Leave a Comment »

Oredev by Jayway : The art of making great conferences

Posted by Patroklos Papapetrou on November 11, 2013

Last week I had the chance to be at Malmo, Sweden to participate at Oredev Conference both as a speakar and an attendee. For those that haven’t heard it before Oredev is one of the largest (maybe the largest one) conferences in Sweden and in Europe. It’s organized by JayWay every November at the beautiful city of Malmo. This year, as far as I know, more than 1000 people attended the talks and workshop sessions.In this blog post I sum-up my experiences and my feelings about all the things I lived during the conference. 

Oredev as a speaker

I don’t have much experience from conferences as a speaker but one thing it’s for sure. These guys know very well how to organize large succesful conferences and treat you like a star 🙂 It’s absolutely true that everyday I was feeling that I was really special. It all started at the hotel, where a warm welcome letter and a box of traditional swedish candies were waiting for me at the reception desk. The first two days were dedicated to workshops and the attendees were not as many as the rest of the days. So that was a great occasion to have a couple of speaker events. Unfortunately I managed to go only to the speakers dinner at Malmo’s city hall. Great food, great wine, great people!! Before that, we visited JayWay’s offices for a pre-dinner party where I was thrilled to meet in person one of the authors of EJB3 in action, Reza Rahman . Then we walked to the centre of Malmo to the city hall, a beautiful building with large rooms decorated with paintings from Malmo’s history, where the Mayor welcomed us with champagne.Imagend 

During the main event ( dinner) I had the chance to sit at the same table with some of the greatest speakers of the event ( Jessica KerrRandall Munroe , Peter van Hardenberg etc.) and learn more about them and their expertise. Too bad that it was only for a few hours 😦 . 


Earlier at the same day, Ann Campbell and I, we successfully delivered a SonarQube workshop. I was really happy to see people improving their knowledge about SonarQube and Continuous Inspection. Image

On Wednesday, the first day of presentation and talk sessions, I discussed about SonarQube and Code quality. This was my first public speech in such big audience and I have to admit that I was obviously nervous before and during the session. At least noone left during my presentaion 😉


Oredev as an attendee

The truth is that it’s difficult to organize events that cover the most trendy and cool topics but Oredev was a total success on that. I wish I could duplicate myself to be at the same time in more than one rooms, but video recordings are already online so I guess I can live with it 🙂 . Great food during all conferences days, plenty of drinks, coffee and other little things that made the time between talks pass really quickly.


I loved the “Does Pair Programming have to suck” presentation from Angela Harms, the MobProgramming by Roy “Woody” Zuill and of course the evening key note by Randall Munroe . So many new ideas, so many new things to learn and share in just three days, but this is how conferences should be 🙂 

The beautiful journey that started 6 months ago when I received an invitation email from Oredev programm committee ended on Friday but I know that only one thing can make me forget it : OREDEV 2014!!! 🙂

Posted in software | Leave a Comment »

%d bloggers like this: