Java concurrency in practice book review

cover

It was quiet easy to review this book, because i try to re-read it every year and it had became a necessity for me. Some parts of it are not easy to comprehend but at the end of the day this book can teach you what no other book could.

This time i’ve created a repository that contains most of the examples. In my experience writing code helps me much more than reading code.

My score 5/5

Author's profile picture Michael Koltsov on books, groovy, and java

Compehensive Spock tutorial

Spock is spinning around

This guide is the most succinct albeit fully fledged tutorial i’ve seen!

It’s a long read but worth every minute you’ve spent.

Author's profile picture Michael Koltsov on groovy

Hackathon is calling

wild party

I’m going to participate in the 5th hackathon during this year. There gonna be some Redis, Docker, Arduino, WebRTC, Scala, Groovy, Node.JS, AngularJS, Android & Intel Gallileo.

Oh boy, it’s gonna be hot!

HAVE A GOOD WEEKEND!

Author's profile picture Michael Koltsov on life

D-pulse – Contemporary

Author's profile picture Michael Koltsov on music and stuff

Internet connectivity in Izhevsk

Internet in Izhevsk is staggering

Author's profile picture Michael Koltsov on life

Countries that i plan to visit next year: Moldova, Romania, Bulgaria, Serbia, Hungary, Slovakia, Czech Republic, Poland, Belarus

I don’t need a visa to see Belarus&Moldova and i possess Romanian visa, but i still need Schengen visa to visit most of the countries from my list.

If anyone’s interested to see some places in the Eastern Europe feel free to send me a message.

Author's profile picture Michael Koltsov on life and stuff

Plaid brings me back to my childhood

Plaid was one of the most prominent bands during my childhood and it’s still is.

Author's profile picture Michael Koltsov on music

Getting started with auth 2.0 book review

book cover

My major was information security, but since I’ve graduated a lot of things have changed in a field of security. New crypto algorithms have emerged, some of perimeter security patterns have changed. I try to brush up me IS skills from time to time, because I still find security as the most exciting(but not so valued by the managers) thing in IT for me.

This book is not an exception. I’ve been using an open source library which abstracts usage of OAUTH 2.0 and I was curios about the specs that this library is based on.

This book is the perfect destination if you’ve come for specs. It covers oauth’12 draft verbosely. Though there are some code snippets written in PHP in Python (which was OK in 2012, but it’s not in 2014 when JS is the most widespread language), they are so brief and out of scope of today’s implementation that I’ll suggest not use them at all.

Albeit the author is a Google employee the book covers some other (mostly Facebook’s) implementations also.

My score is 3/5.

 

Use this book as a reference, don’t spend much time trying to understand everything from it.

 

Author's profile picture Michael Koltsov on books and security

Why Spring Boot uses tomcat but not jetty?

I had an annoying bug while migrating some code from Spring Boot to a legacy Spring application.

Every time i’ve been changing some front end code my Grunt build failed because it couldn’t change the corresponding file(i use a highly sophisticated pipeline to compile assets). At first i was thinking that my VCS was the cause of a problem, but that was not the case. Then i find that build fails after the app server runs.

After a couple of wasted hours some serious googling has helped me to find that jetty was in charge!

The jetty:run command locks the files that you web server is serving to the clients. In case of legacy apps(jsp\jsf) it’s not a problem because static resources got generated on the server. If you’re writing a single-page app(Angular, React all the things) you should be aware of this annoying problem.

The problem can be fixed, but from now on i prefer tomcat in my SBT/MAVEN/GRADLE projects!

p.s. Spring Boot & Grails use Tomcat since the beginning

Author's profile picture Michael Koltsov on stuff

Windows gets a package manager, finally!

Some serious magic have been happening at Microsoft.  Windows 10 promises to add a package manager into the previously opensource-hostile OS.

One could install Opera like we do it on our Linux boxes for years. They’ve added apt-get & aptitude!

May be someday i would have an ability to do something like on my mac… officially.

Author's profile picture Michael Koltsov on stuff

Are You Smart Enough to Work at Google book review

cover

First I should say that this book is not a step by step manual for acquiring a job at Google. It’s more an updated version of the author’s previous book “How to move mount Fuji”. This book is full of mind-blowing puzzles and quizzes that the top notch tech companies use to ask during their interviews. At the same time it’s not an encyclopedia, it gives you an exciting insight of the interview process at Google. The author had spent a lot of time interviewing recruiters/interviewers/interviewees to get to a point where he can explain why the interviews have become what they are.

The book is really interesting from scientific point of view, you can get there answers to many rhetoric questions that were asked centuries ago. My favorite question was asked by Newton :”Where a man can swim faster: through water or syrup?”. It had taken few hundred years to get an answer for this question. This book is full of amazing puzzles like this that would definitely help you to develop your analytical thinking.

The only flaw of this book is a fact that it’s not very practical, you would forget most  what you’d read in a couple of days =)

My score 4/5

Author's profile picture Michael Koltsov on books and interview

My impressions of the Web Expert Day conference@Kazan

I’ve been at Kazan for quite a few times, but never as a conference speaker. I was surprised by the technologies these guys use. I’ve been thinking that Kazan is not so well developed in terms of tech(and startups) amplification as Moscow and Saint Petersburg. I was completely wrong. Most of the attendees were working at a startup or were building their own tech startup. Most often used technologies were Ruby on Rails and Coffeescript. There were only one guy who had confessed that he uses .NET. I was the only person there who had been programming on Lisp. IT community in Kazan is very young definitely =)

Author's profile picture Michael Koltsov on stuff

WeMakeWeb – Series B meetup@Luxoft postmortem

I love meetups! I like to meet new people and learn new things. Last but not least it’s a great opportunity to make new friends.

Last Tuesday we had a third meetup at Luxoft Moscow. This time we’ve talked about web apps full-spectrum testing and how to synchronize the data between a server and a client using the MEAN stack. Andrey Kasatkin did a great talk on how to minimize the data flow using compulsory caching. We’ve talked about AngularJS, Node.JS, Java, TDD, Selenium, PhantomJS, Scala, highload, patterns of building robust web apps.

It was really interesting to discuss some things that i’d never thought of, like comparison of concurrency patterns in Java and PHP.  Igor Sysoev who came to our meetup was as solid as rock =)

I believe there’ll be more meetups soon…

more info is on our meetup page

 

 

 

 

Author's profile picture Michael Koltsov on stuff

Building Rest API with Spring free ebook review

This 40+ pages manuscript shouldn’t be considered as a book, but it’s author insists to call it so.

 There’s a certain lack of materials covering building a robust Rest API with Spring. Most of the manuals I’ve seen operate with JAX-RS, which Spring MVC doesn’t conform to.

There’s also a great talk by the creator of Apache Shiro which I would recommend to anyone striving to do a scalable web service regardless of particular language/technology you use.

I’ve been doing web services for a long time using different technologies (node, Clojure to name a few). I always try to do it as efficient as I can. This time I had an issue while integrating security layer into Spring MVC.

To make a long story short, this book is a waste of time:

It’s huge, some parts of it are repeating. I have no idea why the author has intended to do so much copy-paste

Some postulates are not true. Though Spring security 3.2 had a java config this book says that it hadn’t.

It doesn’t cover features of Spring 4 at all. The author has forgotten to update his book. Albeit he aggressively promotes it.

For a free ebook it’s not awful, but i would definitely recommend you to find some other book.

Author's profile picture Michael Koltsov on books and java

internet connectivity in Kazan

Wooow! Kazan has a great internet connectivity.

Author's profile picture Michael Koltsov on life