English Article · Software

“Entourage” anti-pattern and “Stairway” pattern

The Entourage anti-pattern brings no needed dependency. In this example if we build project with Controllers in isolation, the bin folder going to have the NHibirnate assembly as implicit dependency. With the current implementation the services, domain, NHibernate, etc. classes must be public, hence developer able to create any of them manually with constructor usage and this is unwilling situation.

The Entourage anti-pattern

The Stairway pattern is fix the entourage anti-pattern. The interface and implementation should be separated from each other in different assemblies. Hence, with this approach we easily can replace implementations.

The Stairway pattern
English Article · Software

Good Code (in short)

Good code is following 3 main concepts:

  • Readability – code is generally clean, others understand your code.
  • Scalability – can the code perform good with small amount of elements compared to big amount of elements? Can the code be easily scaled horizontally? In general it covers different areas, from algorithm prospective where developer should care about Big O notation to high level architectural things.
  • Evolutionary architecture – code must be easy changeable/evolving over new requirements.
Continue reading “Good Code (in short)”
English Article · Software

Personalization

Personalization provides the right content to the right audience.

What does it mean? – For example, you are a customer of http://www.myGrocceryShop.com and usually, you buy vegetables and fruits online. Maybe you are not aware, but the grocery shop already know your behavior. Next time in the main page of the website you will see a bunch of fresh vegetables instead of meat or potato chips. You will see more targeted offers personalized for you.

Continue reading “Personalization”
2018 Travel · English Article · Malaysia · Russian Article

Поход к потерпевшему крушение самолёта в джунглях Малайзии

KL645R

ENGLISH description:

World War 2 B-24 Liberator bomber crash, in August, 1945. The B-24 was a four-engine heavy bomber built mainly for the US Air Force, but also widely used by the British Royal Air Force, and it was one of these planes (KL654/R) that crashed on the then remote slopes of Gunung Telapak Buruk. All 8 crew on board were killed. It is understood that the plane was on a mission to deliver supplies to anti-Japanese guerillas at that time.
The wreckage lies at an altitude of around 1000m ASL, and was only discovered in 1961 by members of the Orang Asli (aborigines) who stumbled upon the plane and promptly alerted the local police, although it would be many years later before the remains of the victims would be properly identified.
The parts of the plane are strewn over a fairly large area, and what visible remains of the plane that can be seen are a part of the fuselage near the tail, and a portion of one of the wings. Apparently, the crash was catastrophic and violent; it appears that parts of the plane caught fire and burned (melted aluminum can be seen). Despite that, some parts of the plane still look very well preserved despite 70 years of tropical climate having elapsed.

RUSSIAN description:

В августе 1945 года произошло крушение бомбардировщика B-24 Второй мировой войны. В-24 был тяжелый бомбардировщик с четырьмя двигателями, построенный главным образом для ВВС США, но также широко используемый британскими ВВС, и это был один из этих самолетов (KL654 / R), которые врезались на отдаленные склоны Гунунга Телапака Бурука (район в Малайзии). Все 8 членов экипажа погибли. Самолет находился в командировке для доставки материалов для антияпонских партизан в то время.
Обломки лежат на высоте около 1000 метров над уровнем моря и были открыты только в 1961 году членами племени Оранг Асли (аборигенов), которые наткнулись на самолет и оперативно предупредили местную полицию.
Остатки самолёта усеяны на довольно большой площади, которую можно увидеть. Катастрофа была катастрофической и жестокой; кажется, что части самолета загорелись и сожжены (можно увидеть расплавленный алюминий). Несмотря на это, некоторые части самолета по-прежнему выглядят очень хорошо сохранившимися, при том, что прошло 70 лет тропического климата. Continue reading “Поход к потерпевшему крушение самолёта в джунглях Малайзии”

English Article · Extreme Actions · Ukraine

The first day on a bike

Сегодня впервые самостоятельно попробовал поездить на мотоцикле, не привычно использовать рычажки, да и вообще для меня было открытие что тормоза находятся не только на ручках, как на велосипеде. В общем по порядку:

  • Правая ручка на руле – отвечает за передний тормоз.
  • Рычаг, под правой ногой – задний тормоз.
  • Левый рычаг на руле – сцепление.
  • Рычаг, под левой ногой самый интересный: чтобы переключить на первую скорость, его нужно поочередно нажимать вниз, повышать скорости – поднимать вверх, нейтралка находится на втором положении снизу, то есть выглядит это так: 1 N 2 3 4 5 6.

Понравилось, теперь надо доводить координацию переключений до автоматизма.

English Article · Study

To becoming of security vulnerabilities specialist

Today I have met with some guy on Internet, who is really professional in security vulnerabilities. I found out that he has lots of Security Certifications in this area. I just asked him which is really needed and valuable for entry level. He recommended 2 directions, it’s:

  • CIW Web Security series;
  • Certified Ethical Hacker;5616

CIW Web Security series

It has 3 levels (from beginner to really experienced role):

  • CIW Web Security Associate;
  • CIW Web Security Specialist;
  • CIW Web Security Professional;

But if you want to take Specialist or Professional exam, firstly you have to pass other certificates. The more detailed information you can find in the following document from CIW website where you can check detailed requirements.

English Article · General

Hello world!

This is my very first post. I going to write some tech articles, especially in web-technologies and .NET area. But for sure there possible to see other topics, for example about security vulnerabilities or even English language. Yep, I’m not an English native speaker, and probably will do some grammar mistakes in my posts, but only the way to learn/understand something — do more practice.

fnf7pugiravyhic-large

Happy blogging!  – parting words from a blog engine.