Ingiltere Yazilari I (Yanimda payam vay amca, payam vay)

Reading Time: 3 minutesNeden bu yazi? Bu yaziyi Ingiltere’ye geldigim hafta icimden geldigi gibi resmen “bodoslama” yazmistim. Samimiyetimi kaybetmemek ve ilk gittigim gunlerdeki hislerimi yansitmak icin kelime hatalari disinda degistirmedim. Italik yazilan her cumle yeni ekledigim, su anki dusuncelerimi yansitan, yeni eklenen bolumler. Ingiltere Newcastle’daki sosyal hayat ve is hayati ile ilgili izlenimlerimi zaman buldukca paylasmak istiyorum. Amacim

Read More

Atom fizigi de!..

Reading Time: 1 minute5 dakikadir yaziya nasil baslasam diye dusunuyorum. Aslinda cok uykum var. Her Pazar oldugu gibi sabah 5’te kalkip 3 saatlik tren yolculugu yaptim ama basladim bitirmem lazim. Yaziya “Butun gun aklimi kurcalayan tek sey: istifa etmek” ile basladim, devamini getiremedim. Evet, su anki durumumu en guzel aciklayan cumle budur. Ulkemizde cogu calisanin kafasindaki cumledir belki.

Read More

Scala Introduction

Reading Time: 1 minuteScala Introduction I am currently taking courses on Scala. My notes are as follows: Scala basic syntax (variables) [codesyntax lang=”scala”] val a = 2 + 5 val b: Int = 6 val s = “My string” var d = 3 [/codesyntax] Scala basic syntax (functions) [codesyntax lang=”scala”] def mult(d: Int, f: Int): Int = {

Read More

ElasticSearch Query Samples

Reading Time: 2 minutesThis post is about sample queries for full text search. Elasticsearch query samples using NEST (.NET) and Java High Level REST Client (Java) are provided in master and java branches respectively. Note that query details are documented in ISearchService.cs  and ISearchService.java interfaces. Query Structure HTTP VERB /{index}/{type}/{id} Indexing Before implementing a full text search, we

Read More

Dockerizing Spring Boot Application (Part 2)

Reading Time: 3 minutesReducing Docker Image Size My colleagues’ feedback about my previous post helped me investigate more efficient ways of writing Dockerfile. The first thing that I realized was choosing the right image base. Alpine based images are recommended for slimmer images and is much smaller than other base images in general. —Dockerfile 1— FROM java:8 VOLUME /tmp ADD target/demo-0.0.1-SNAPSHOT.jar

Read More

Dockerizing Spring Boot Application

Reading Time: 3 minutesIn my previous post, I mentioned about How to run docker container on your local machine. This post is about the dockerizing backend part of the Nutrition Tracking Application. We will follow these steps: Building Spring Boot project Writing a Dockerfile Building and running docker image Step 1: Building Spring Boot project mvn clean packagewill produce a

Read More

Docker Overview

Reading Time: 3 minutesWhat is Docker? Docker is an open platform for developing, shipping, and running applications. It is one of the popular tools to build Continuous Integration and Delivery pipelines. Each organization has its own way of building DevOps solution depending on their needs. 21 DevOps and Docker Reference Architectures pulled together the design decisions of some organizations.

Read More

Java 8 Optionals for Null Objects

Reading Time: 2 minutesIn my previous post, I mentioned about refactoring techniques including testing interface for null checks. I have recognized that there is an alternative for it while reading Java 8 in Action: Lambdas, streams, and functional-style programming. Optional Class If there is an object that might contain a null value, we can use Optional to wrap the

Read More