Translate

вівторок, 23 червня 2015 р.

#Eclipse #hotkeys I use everyday




Ctrl+Shift+LList of all available hotkeys

Ctrl+Shift+ROpen Resource (file, folder or project)
Ctrl+LJump to Line Number. To hide/show line numbers, press ctrl+F10 and select 'Show Line Numbers'
Next 3 combinations are pretty obvious but I put it here 'cause in IntelliJIdea they mean something different (hate Idea for that)
Ctrl+ZUndo last action
Ctrl+YRedo last (undone) action
Ctrl+DDelete Line
Ctrl+HSearch Workspace (Java Search, Task Search, and File Search)
Ctrl+Shift+FAutoformat all code in Editor using code formatter
Ctrl+OShow code outline / structure
F3Open Declaration: Jump to Declaration of selected class, method, or parameter
Ctrl+TShow / open Quick Type Hierarchy for selected item
Ctrl+Shift+TOpen Type in Hierarchy
Ctrl+Alt+HOpen Call Hierarchy
Alt+Shift+TRefactoring menu
Alt+Shift+SSource management menu (generate get/set/equals/etc.)
Alt+Shift+RRename selected element and all references
Ctrl+OShow code outline / structure


вівторок, 12 травня 2015 р.

#JUGLviv, Building a modern B2C System in scala, meetup summary


JUG Lviv щиро дякує всім, хто прийшов на 22-гу зустріч.
Окрема подяка компанії Eleks, яка гостинно нас прийняла.







Дякуємо Yuriy Guts за доповідь !

Слайди презентації можна буде завантажити пізніше, після того, як їх подивляться сотні учасників JeeConf.



Цього разу дискусія видалась напрочуд жвавою.




Також вітаємо Andriy Rymar,
з виграним квитком на JavaDay Lviv!


#OCJP #сертифікація за 50$


До 30 травня доступна OCJP сертифікація всього за 50$

Oracle Certification Program Beta Exams

Beta exams are pre-production exams used by Oracle to evaluate new exam questions with the participation of a live audience. Beta exam questions go through a rigorous development and evaluation process before being released to the public. Data gathered during beta testing are used to select the best questions for the production exam, and to eliminate questions that are ambiguous, too easy or too difficult, or unhelpful in evaluating a participant's knowledge. Beta exams are offered at a deeply discounted price; candidates usually have 2.5 to 3.5 hours to complete the exam, and may see 120 - 220 questions.



пʼятниця, 8 травня 2015 р.

#Eclipse <-> #IntelliJ IDEA: #HotKey mapping



Корисна табличка для тих хто мігрує з однієї IDE  на іншу або використовує обидві одночасно. Ну а також для таких хто вважає що в ідеї є щось чого нема в екліпсі ;)
P.S. Якщо ви знаєте ще якісь корисні пари - пишіть
P.P.S. Ну і ті хто не хочуть запам'ятовувати пари - ідея дозволяє використовувати хоткій схему екліпса

Eclipse IntelliJ IDEA Description
F3 ctrl + b go to declaration (e.g. go to method)
F4 ctrl+h show the type hierarchy
ctrl+alt+g ctrl+alt+F7 find usages
ctrl+shift+u ctrl+f7 finds the usages in the same file
alt+shift+r shift+F6 rename
ctrl+shift+r ctrl+shift+N find file / open resource
ctrl+shift+x, j ctrl+shift+F10 run (java program)
ctrl+shift+o ctrl+alt+o organize imports
ctrl+o ctrl+F12 show current file structure / outline
ctrl+shift+m ctrl+alt+V create local variable refactoring
syso ctrl+space sout ctrj+j System.out.println(“”)
alt + up/down ctrl + shift + up/down move lines
ctrl + d ctrl + y delete current line
??? alt + h show subversion history
ctrl + h ctrl + shift + f search (find in path)
“semi” set in window-> preferences ctrl + shift + enter if I want to add the semi-colon at the end of a statement
ctrl + 1 or ctrl + shift + l ctrl + alt + v introduce local variable
alt + shift + s alt + insert generate getters / setters
ctrl + shift + f ctrl + alt + l format code
ctrl + y ctrl + shift + z redo
ctrl + shift + c ctrl + / comment out lines (my own IDEA shortcut definition for comment/uncomment on german keyboard layout on laptop: ctrl + shift + y)
ctrl + alt + h ctrl + alt + h (same!) show call hierarchy
none ? ctrl + alt + f7 to jump to one of the callers of a method
ctrl + shift + i alt + f8 evaluate expression (in debugger)
ctrl + l ctrl + g go to line


Взято звідси. Thx Ray Shanley

середа, 29 квітня 2015 р.

#JUGLviv: 22-nd meetup: #Lessons from Implementing a Modern B2C System in Scala - May 7th


Чергова зустріч JUG вже незабаром!

7-го травня, о 19-00, за адресою вул. Наукова 7г,
приміщення тренінг-центру компанії Eleks.

вхід традиційно вільний

Talk:
Lessons from Implementing a Modern B2C System in Scala

Speaker:
Yuriy Guts
Solutions Architect and R&D Engineer at ELEKS.
Being a polyglot programmer, Yuriy is keen on exploring emerging technology and discovering hidden opportunities. He is an active member of Ukrainian IT community, being a frequent blogger at ELEKS R&D Blog, contributor to Lviv .NET User Group and teacher at Lviv Code School.

Yuriy in social media:





вівторок, 28 квітня 2015 р.

#ProjectFromScratch: SpringBoot - Part2


Hence I decided to create web application then there are two good options for quick start  SpringBoot or Spark
Spark is much simpler but SpringBoot brings Spring - I would say Spring is musthave framework nowdays so that my choice is SpringBoot. 
Following GettingStarted doc I'm creating two classes in web module: config called Application.java and our hello world controller HelloController.java
Usually I create package config for configs and package controller for controllers.

Except created classes we need add required SpringBoot dependency

Add to parent pom dependency management section in following way
 
 <properties>
  <spring.boot-version>1.2.3.RELEASE</spring.boot-version>
 </properties>
 
 <dependencymanagement>
  <dependencies>
   <dependency>
    <groupid>org.springframework.boot</groupid>
    <artifactid>spring-boot-starter-web</artifactid>
    <version>${spring.boot-version}</version>
   </dependency>
  </dependencies>
 </dependencymanagement>
and add to pom.xml in web module dependency itself
 
 <dependencies>
  <dependency>
   <groupid>org.springframework.boot</groupid>
   <artifactid>spring-boot-starter-web</artifactid>
  </dependency>
 </dependencies>
Now you can check if source is compilable with command mvn clean compile and run main on Application.java When you run main, embedded tomcat will start and listen port 8080. Check it with calling url http://localhost:8080

Syntax Highlight


Syntax highlight on our blog works thx to jquery-syntaxhighlighter
It's highlighter with easiest usage I've ever seen

#ProjectFromScratch: Multi module project - Part1


I will try creating new project from scratch step-by-step and write down all steps
If you see better approach or just easier way - please leave comment and I will modify article. Also you can suggest technologies and configurations for that new project
It allows all of us  to gain interesting collective experince

So lets start

Step1: Creating multimodule project with maven
Maven is still most popular build system that's why maven, but if anybody provides code for gradle I will add it to post also
 
//create parent
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=pom-root -DarchetypeVersion=RELEASE
go inside parent folder and create child modules
 
//first module
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=RELEASE
//create one more module
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=RELEASE


I created two modules core for common things and web




середа, 8 квітня 2015 р.

#JUGLviv & #Morning@Lohika meetup



18-го квітня ми вперше проведемо нашу зустріч не в будень, а в суботу.
Це буде не звичайна подія, а спільний івент організований JUG Lviv та комюніті Morning@Lohika.

Отож зустріч відбудеться 
18-го квітня о 10-00 годині
за адресою Лемківська 15
компанія Lohika

Подія складатиметься з двох частин

1. Доповідь Сергія Моренця на тему Gradle. Write once, build everywhere  про новітню систему збирання проектів.
Сергій - наш гість з Одеси, засновник некомерційного освітнього проекту IT-Simulator, автор книжки Development of Java applications, java євангеліст та автор суто одеського тренінгу Java для рекрутерів :)

2. Доповідь Олега Скляренка на тему DSL in Action з прикладами та описом різноманітних проблем що вирішуються зі застосуванням DSL
Олег відомий у Львові java розробник з великою експертизою у багатьох прикладних сферах. В даний момент є одним з провідних девелоперів у компанії Lohika


Нагадую що вхід традиційно вільний
обов'язкова



неділя, 5 квітня 2015 р.

#JUGLviv: 21-st meetup: Summary


JUG Lviv щoиро дякує всім, хто прийшов на 21-шу зустріч.
Окрема подяка компанії Eleks, яка гостинно нас прийняла.

Дякуємо Yuriy Luchkiv, за доповідь!
Слайди презентації можна завантажити тут.

Також, нагадуємо, 18-го квітня відбудеться спільна зустріч з Morning at Lohika.
Слідкуйте за анонсами!



четвер, 26 березня 2015 р.

#JUGLviv: 21-st meetup: #Dropwizard - 2-nd of April


JUG Lviv  відкриває новий сезон!
Перша зустріч в цьому році

2-ге квітня о 19-00 за адресою вул. Наукова 7г,
 приміщення тренінг-центру компанії Елекс

вхід традиційно вільний

 Dropwizard

  light-weight Java framework for easy and fast developing RESTful web services


Are you exhausted from pulling together 100500 different Java framework to develop RESTfull web services? Let try Dropwizard :)

Make Magic with Dropwizard
Agenda:
- Overview
- Setup and Configuration
- Dropwizard Freatures: Easy YAML configuration, Metrics, Database Integration, Microservices, Authentication and more
- Similar Solutions
- Q&A

Speaker:  Yurii Luchkiv
Software Engineer at Conscensia
3.5+ year of experience
Interested in Java/Android/Scala


середа, 25 лютого 2015 р.

Помилка у алгоритмі сортування в джаві?


Ось тут з'явилась цікава стаття про помилку в стандартному алгоритмі сортування в java

Може кому цікаво дослідити тему і обговорити на зустрічі групи?

середа, 18 лютого 2015 р.

JavaOne 2014 Video


https://www.oracle.com/javaone/sessions/index.html

понеділок, 9 лютого 2015 р.

Morning@Lohika: Spring Boot in production is coming!


Dear all,
We are glad to inform you that next Morning@Lohika will be held on February 14th . As usual we invite only the best speakers and high-quality specialists so please welcome our speaker from Kyiv – Oleksiy Rezchykov, Software Engineer at Playtika. This time you have a good chance to hear about «Spring Boot in production”.
Someone may think that Spring Boot is just another rapid application development tool for pet projects and/or presentations. Oleksiy will destroy that myth as he has successful experience of implementing microservices architecture using it for the complex applications that are currently in production.
Oleksiy Rezchykov
Oleksiy Rezchykov, Software Engineer at Playtika