Lahiru Sampath·Aug 2, 2025The Strange Case of PostgreSQL Advisory LocksPostgreSQL is packed with concurrency control features to ensure data consistency and prevent conflicts during concurrent access.
Lahiru Sampath·Sep 23, 2023Scala ConstructorsConstructors are used to create objects. If you are coming from Java, then constructors might have been a straightforward concept for you…
Lahiru Sampath·Nov 23, 2022Scala Traits — part ITraits are similar to Java interfaces, and they are compiled into Java interfaces. But they are not exactly the same.
Lahiru Sampath·Nov 18, 2022Why, how and where DNS records are cached ??Why domain name records are cached?
Lahiru Sampath·Oct 28, 2022How Spring instantiate JpaRepository interfaces.I have been working with Spring framework for quite some time. While using their JPA dependency, the level of abstraction provided by these…
Lahiru Sampath·Oct 22, 2022Paypal integration for Spring-Boot backendPaypal is a very common Payment Service Provider used in enterprise applications. Here we are trying to integrate the Paypal payment…
InAnalytics VidhyabyLahiru Sampath·Dec 12, 2019Spike Time Dependent PlasticityWhat is Spike Time Dependent Plasticity ?
Lahiru Sampath·Nov 17, 2019Implementation of Retinal Receptive Fields using Difference of Gaussian kernelReceptive field is a region of a cell which can stimulate the cell under external factors. In visual system, receptive fields can be…