Implementing Swipe To Delete in React Native
Dear friends, this post is about a fundamental functionality you can see in nearly every app – swipe to delete. Searching on the internet gives you dozens of links describing how to do it, referencing some existing NPM packages. Still, many of them are too heavy, requiring many dependencies for such a simple thing, overcomplicated, […]
Docker Push Error With Private Registry – Retrying In N Seconds
Hello everyone, today I’d like to share some other gotcha about a private docker registry solution hidden behind nginx reverse proxy. This information may be helpful to you if you have direct access to the server and administer private docker registry yourself. Issue After system updates once working system suddenly has stopped functioning properly on any attempt of doing docker push. […]
Record Data Type And Collections In C# 9.0
Hello everyone, this time, I came up with a small topic related to using Record data types in C# 9.0 together with collections.What we realized, C# 9.0 gives us a data structure perfectly suitable for Immutable Objects.Immutable Objects are not new; they exist in Java, C#, Python, TypeScript, React.JS, and many other languages and frameworks.Why […]
Repository Pattern in DDD – Joining Tables Query
In this post I want to share some thoughts about Domain-Driven Design (DDD) and retrieving the data aggregated from multiple tables or documents while using a Repository pattern in your project. Sometimes the data structure needed does not fit any of the entities your Repository can return. How to deal with this and what possible solutions apply is the focus […]
Cannot read property ‘range’ of undefined – Angular Tests Fail in Docker
Hi there, today I’d like to share with you a little caveat that might result to the Angular Tests being successful on your local development machine but failing while on build server in Docker Container. The text you might see does not give much sense about what might be causing an issue. Check it yourself: […]
Running Angular Unit Tests in Docker Container
Hi there, today we’re going to check out how to let our Angular Tests run in a docker container. Interested in the final solution? It’s here. The default configuration of Angular requires a Chrome browser to be installed on your machine. The browser is launched every time you execute tests locally. That might not work for […]