When Test Driven Development Goes Wrong

When you feel TDD is difficult when you first started TDD, that might sign that there are improvements to make in the design. There are 5 common anti-patterns. The Liar Passes all tests with no useful assertions, which could be caused by chasing test coverage. => Write the test first, which fails with a purpose.… Continue reading When Test Driven Development Goes Wrong

How to mine the coin in a one page

Make a wallet. https://www.myetherwallet.com/ Join the mining pool. https://ethermine.org/ Install the mining program from the mining pool above. Setting the PC using Afterburner, etc. regarding overclock or power supply, etc.Setting example. Low Core clock Hight Memory clock Low power limit Check the console values: example target value is for RTX 3070Ti Average speed in Hash… Continue reading How to mine the coin in a one page

Functional Programming in one page

A mathematical function returns the same result every time. The functional world has 2 characteristics. The function has no side effects. Take input and produce output. -> called pure function. All data structure is immutable. -> There is no mutable state. A functional programming language provides a bridge between pure functional work and the messy… Continue reading Functional Programming in one page

Beyond Microservices in a one page

Problems Clients know too much: Auth, Encryption, etc. Hard to change a microservice -> Don’t know who’s using it. Hard to add a new microservice -> No one may use it. Being political. Responsibility for the failure in a microservice. What happened when a microservice fails. REST is slow Solutions – Useful Architectures API Gateway… Continue reading Beyond Microservices in a one page

Agile is Dead by Dave Thomas in a page

Dave Thomas, the co-author of pragmatic programmer, said he doesn’t usually test unless it’s a complex algorithm. What it means that everyone has a different approach and should not force their way. Agile became an industry.  It became unnecessarily complex. The solution suggested is the below. Agility – What to do Find out where you… Continue reading Agile is Dead by Dave Thomas in a page