Translate

неділя, 29 вересня 2013 р.

DevDay 2013 Report


I've recently visited DevDay 2013 at Krakow, Poland.

DevDay is a one-day long event, organized by ABB.
There were 12 speakers and around 300 participants.

Talks

Back to basics: the mess we've made of our fundamental data types
Jon Skeet

Jon focused on the things we all use everyday, perhaps, not  paying to much attntion to the details. Numbers, strings, dates.
For example, in java,
double d = 0.3d is actually 0.299999999

Also, Jon pointed to interesting facts about dates. For example:
  • CST is the name for 3 different timezones
  • There are dates which exist in one country only - February 30, 1712
And finally "The Turkey Test". If you want to test your application internationalization - just try to run it in Turkey.
It was a great key note from a great speaker, who is known for C# in depth and also, as the most popular user at StackOverflow.

Implementing continious delivery
Patrick Kua

Talk from ThoughtWorks generalising specialist, about what continious delivery really is and how does it help to move the business forward.
So, as Patrick suggests, we should :

  • Release often
  • Make no breaking changes - this becomes easier if you release frequently, because each release becomes a minor change.
  • Make Ops and Dev teams work together




Moving the web to the client
Hadi Hariri
Hadi Hariri, JetBrains evangelsit, had a talk about front-end frameworks in genral and specifically about Angular JS.

He also reminded about the power of HTTP protocol, whch is often undertaken by the developers. The suggestion is to use HTTP not only as a transport protocol, but an application protocol, which it really is.


Full text search with Apache Lucene
Itamar Syn-Hershko

The author of Raven DB in action explained the fundamentals of full text search and how Lucene helps to solve the problem.

He also recommended the ElasticSearch, which is build on top of Lucene and has clustering support out of the box. Apart from ability to scale to many servers, there's also a REST API, which, looks to be easy to learn and use.
The Architecture of StackOverflow
Marco Cecconi
Software engineer from StackExchange, Marco Cecconi gave an overview of the infrastructure and architecture, which lies behind one of the most popluar web-sites in the world - StackOverflow.

Here are some facts:
  • There are only 23 servers handling all the load - it is ~10 times less then sites with similar traffic usually have.
  • Everything is cahced - database servers have ~300GB of RAM memory.
  • At StackOverflow, they scale-up. When everyone is saying that applications should run on cheap comodity hardware, SO runs on big servers, without any cloud platforms.
  • All the server are located in the US.
It was funny to see Marco on the next day, wearing T-shirt, with the following phrase written on it:
"I don't usually test my code, but when I do - I do it in production". 


The software journeyman's guide to being homeless and jobless
Rob Ashton

The closing talk from Rob Ashton was all about fun and motivation. An expiring story of a man, who left a boring job and decided to work for free, for companies who needed help.







Gadgets

Each participant recieved a nice package with high-quality T-shirt, pen and notebook.








Fun

After the closing talk, the place turned into a party-hall, with beer and shampain.
But, at 10 pm we've moved to a pub, for an after-party, which ended at ~5 am in the morning.




Conlusion


DevDay 2013 was perfect.
Well organized, with interesting talks, nice venue and a lot of fun. And it was all free!




пʼятниця, 27 вересня 2013 р.

Java + sailing =


Команда Ларри Эллисона Oracle Team USA выиграла «Кубок Америки»




продвинута програмна начинка яхти (джаба-бейзд) вже згадувалася в нашому блозі


Кофейня Java Update в GTA V


Пасхальні яйця в GTA V: http://habrahabr.ru/post/195484/



четвер, 19 вересня 2013 р.

Spring.io


Spring відкрив/створив новий сайт http://spring.io/ для полегшення і пришвидшення навчання всього спектру технологій.

Дуже раджу відвідати!

вівторок, 10 вересня 2013 р.

Camel 2.12.0 release


Camel 2.12.0 release

Посилання на сторінка з release notes: http://camel.apache.org/camel-2120-release.html

Доречі зявились нові приклади:
http://camel.apache.org/examples.html
http://camel.apache.org/tutorials.html


понеділок, 2 вересня 2013 р.

середа, 28 серпня 2013 р.

How to use Events in Spring 3.x



There are many concepts and techniques for creating loosely coupled applications,Event is one of them. Events can eliminate many of dependencies in your code. Some times without events, SRP* is very hard to implement. Observable interface in java can help us to implement events (through Observer Pattern).
But wait, the goal of this post is a fast tutorial about Spring Event. Spring has some nice facilities for creating Event Driven Applications. You can raise a specific event in a bean and listen to it in the other bean.


понеділок, 26 серпня 2013 р.

понеділок, 19 серпня 2013 р.

Безкоштовний вебінар “Практикум TDD”


Хто ще не знає, завтра відбудеться вебінар “Практикум TDD” Дізнатись більше та зареєєструватись ви можете за посиланням.



четвер, 8 серпня 2013 р.

The Adventurous Developer’s Guide to JVM Languages


The Adventurous Developer’s Guide to JVM Languages from zeroturnaround (creators of JRebel) 


Дуже рекомендую до читання http://zeroturnaround.com/rebellabs/the-adventurous-developers-guide-to-jvm-languages/, розглядають плюшки 8ми мов, доступних в ЖВМ.


вівторок, 6 серпня 2013 р.

Engineering conference survey


Нещодавно пройшла конференція JDay 2013. Для того, щоб краще організувати схожу подію наступного року нам потрібна Ваша допомога. 


Зробіть свій внесок, заповніть опитування!



четвер, 1 серпня 2013 р.

Java Magazine July/August 2013



Що корисного/цікавого в цьому номері? Можна прочитати більш політичну, ніж технічну статтю про долю джави у Twitter'і. Цікава стаття зі консультантом по перформансу, як все змінюється "в облаках", і т.п.. Для тих, хто вирішив освоїти МапРедюс - ріаллайф приклад з кодом. Ну і ще про лямбди, VM code cache, JavaFX, etc

І як бонус: цікава стаття про яхтову команду Оракл, та як технологія джава дозволила виграти їм змагання 2010. Як виявилося, на якті встановлено купу датчиків та сервер, що обробляє 30,000 значень від датчків у секунду і згідно них видає рекомендації щодо керування яхтою  




понеділок, 29 липня 2013 р.

Run your Unit Tests in Parallel


It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today's blog post, we will look at how you can make your traditional Junit Tests to run in parallel using annotations provided by Easytest. EasyTest is a Testing Framework build on top of JUnit to provide you ease of writing and maintaining your tests. It is focused on writing Data Driven Tests for your application.


Lets start by assuming a Class ItemService  that has a method 2 methods :
1) getItems that takes 2 arguments Double itemId and String itemType. The API class is described below.
2)    updateItem that takes an Item instance and updates it in the Database.

public class ItemService {

   public List getItems (Double itemId , String itemType);

   public void updateItem (Item item);

}

We will leave out the implementation for the sake of keeping the example simple.

Lets see the step by step approach of writing Parallel Unit Tests.