Let’s say we have a simple smart contract MemoryToken, it can be even a stub which has only 1 field name.
pragma solidity ^0.5.0;
contract MemoryToken {
string public name = "Memory token";
}
Festina Lente
Let’s say we have a simple smart contract MemoryToken, it can be even a stub which has only 1 field name.
pragma solidity ^0.5.0;
contract MemoryToken {
string public name = "Memory token";
}
This post is to show how similar every technology to each other. If you experienced with NUnit, XUnit, Jasmine, Protractor, etc., you can easily figure out how to write unit-tests for blockchain smart-contracts using the Truffle tool which under the hood is NodeJS.
Continue reading “Unit-tests for blockchain smart contracts with Truffle”The Netlify service allows you not only to deploy Jamstack apps, but also do split testing, meaning that can show to users different variations of the same page. The approach they provide is quite interesting and different from common software practices. I would say it’s even more related to configuration.
Let’s say we have simple JAMstack website. To use the split-testing approach we should have the source code in Bitbucket, Github or Gitlab. Make sure your latest changes is in the master branch.
Then login to the Netlify account, go to the Team overview tab and click the New site from Git.

Then do 3 simple steps which take less than a minute and you should have connected repository to the Netlify.
Continue reading “Netlify Split Testing”
For the last few days I’ve noticed weird behavior in Sitecore instances which are related to Solr, for example:
For all of this things I haven’t pay much attention to start troubleshooting, because I’m working in another area which not related to indexes, the behaviour is quite new for me and just simple reboot has helped.

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 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.

Code implementation which potentially decrease code coverage in your code or makes it hard to test:
Approaches which help to test your code better:
Good code is following 3 main concepts:
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”
This article describes the general idea and parts of Kubernetes as a technology.
Kubernetes is open-source automation platform for managing containerised workloads and services, designed for automating, deploying, scaling, operating the app containers.
Continue reading “Kubernetes – Basics”