09 January 2018

Chicken or Egg

These days it is practically hard do not use a Spring. I suspect the explosive blooming of JVM languages nowadays may be just a desperate attempt to escape this beast, gradually acquiring the Java world. And despite I'm not especially thrilled about it, my last three contracts were around so, I might admit this. Last its reincarnation on the market, the Spring Boot, looks solid on glance. The dependency hell of its previous incarnation was polished by Maven's BOM. I barely can see areas it doesn't cover, it looks like a pretty mature framework that seems self-sufficient and, no doubts, it is a pretty handy tool for practically any Web related PoC. Swiss knife in middleware, give or take. Design microservices from scratch or moving an old monolith towards to, most likely brings the Spring Cloud into consideration. Plenty workforce resources on a market are familiar with it thus gives it advantage over alternatives. Plus it requires only declarative configuration with minimal or even none of code: so, less code, less bugs.

11 October 2016

What is in their heads?

Just came across this:

Mr Hollande went on to say that "the Council of Europe’s values have underpinned France's efforts on the diplomatic front". Referring to the quest for a diplomatic solution in Ukraine under the Minsk agreement, he said "we must work hard to establish the political and security conditions needed to enable elections in eastern Ukraine to be held as quickly as possible".

I think that main problem of Europe and "the Council of Europe" in particular, is not a lack of rules or laws. It is lack of something else... something that give ability to learn?.. People may be divided on 3 categories:

  • those who can learn on other mistakes and
  • those who learnt on own ones.

How they imagine elections on territory occupied by russian terrorists? Dropping out any speculations, just facts:

  • there was MH17,
  • bombing in Syria...

And they still believe in dialog with "russia"?

26 October 2015

Big-Oh: Constant vs Logarithmic

- Do you know what is quickest ever method to lookup string?

- Mmmm. Apparently hash table.

- Nope. Dude, its well known that binary search is quicker!

- ?!

Kind of similar to that was a conversation with one guy. (Cheers, Noel!) No doubt, to put it mildly, it sounds crazy: method with logarithmic asymptotic complexity outperform constant one. But it is only on first look. The devil is hiding in details, as always...

09 September 2014

Part 1a. "Какая гадость... Какая гадость эта ваша заливная рыба"

These days, there are more tools to play with benchmarks. No doubts, its really hard to do especially if they are micro. Let's cheers up an JMH. Really pretty good and easy to use framework for a writing the micro benchmarks for a JVM. To play with, I decided to come back to my old investigation about the Spring proxying, I did some time ago. But now, the list of targets are extended and tests are more representative.

16 October 2013

Dance around /tmp

Using WindowZ as development environment may be uncomfortably due lack of pretty handy command line tools, easy accessible in normal *nix environment. To achieve certain degree of freedom people usually install CygWin that mimics a friendly environment there. Yes, it brings you everything you may need to feel more less confident with old known shell. But it may put some unexpected obstacles on your way that hard to anticipate.

In desperate attempt to look on internals of web application I had misfortune to maintain, I have connected by Mission Control only after opening remote management port. I did what I have to, but was intrigued why it was so hard to see the the Tomcat JVM running locally, despite other ones were in the list.