Python is a great programming language, as well as the most popular one according some statistics(e.g TIOBE Index). Its popularity has been only accelerating in recent years with the rise of AI/machine learning as Python has the richest set of APIs/Libraries in this space. As someone familiar/worked with a few different programming languages, I loved Python! It probably was the … [Read more...] about 5 Python Weird Behaviours you should know about
Modern software development relies heavily on concurrency since it enables apps to handle numerous amount of tasks all at once. For controlling concurrency in Java, ForkJoinPool and ThreadPoolExecutor are two highly effective technologies. In this tutorial, we will look into the specifics of each, consider the differences between ForkJoinPool and ThreadPoolExecutor, and provide … [Read more...] about Mastering Java Concurrency: ForkJoinPool vs ThreadPoolExecutor
Using reusable objects/resources as a pool in Java is very common. In fact, the Java language itself comes with built-in thread-pool support. In this article, we will demonstrate how we can create a custom resource pool in Java.
What is a Resource pool?
A resource pool is a collection of reusable resources that can be shared among multiple clients or consumers in a … [Read more...] about Creating Custom Resource pool in Java
As Golang is not the first language programmers usually learn, I assume you already have good knowledge in at least one other programming language and now expanding your knowledge to Golang. If you are just trying to find the error handling mechanism on the official API docs by looking for the try/catch mechanism, you probably got tired of finding that and may be thinking … [Read more...] about Understanding Golang Error Handling
When I participated in Google Summer Of Code last summer, I worked for Ganglia, which is a very popular open-source distributed monitoring system. I have worked on its Nvidia GPU module, which is written in Python language. This is my first official contribution to a widely used open-source software.
While working here, I came to realize that, there aren't that much … [Read more...] about Getting Started With NVML Python API
var JetpackInstantSearchOptions=JSON.parse(decodeURIComponent("%7B%22overlayOptions%22%3A%7B%22colorTheme%22%3A%22light%22%2C%22enableInfScroll%22%3Atrue%2C%22enableFilteringOpensOverlay%22%3Atrue%2C%22enablePostDate%22%3Atrue%2C%22enableSort%22%3Atrue%2C%22highlightColor%22%3A%22%23FFC%22%2C%22overlayTrigger%22%3A%22submit%22%2C%22resultFormat%22%3A%22expanded%22%2C%22showPoweredBy%22%3Atrue%2C%22defaultSort%22%3A%22relevance%22%2C%22excludedPostTypes%22%3A%5B%5D%7D%2C%22homeUrl%22%3A%22https%3A%5C%2F%5C%2Fcodesamplez.com%22%2C%22locale%22%3A%22en-US%22%2C%22postsPerPage%22%3A5%2C%22siteId%22%3A18994550%2C%22postTypes%22%3A%7B%22post%22%3A%7B%22singular_name%22%3A%22Post%22%2C%22name%22%3A%22Posts%22%7D%2C%22page%22%3A%7B%22singular_name%22%3A%22Page%22%2C%22name%22%3A%22Pages%22%7D%2C%22attachment%22%3A%7B%22singular_name%22%3A%22Media%22%2C%22name%22%3A%22Media%22%7D%7D%2C%22webpackPublicPath%22%3A%22https%3A%5C%2F%5C%2Fcodesamplez.com%5C%2Fwp-content%5C%2Fplugins%5C%2Fjetpack%5C%2Fjetpack_vendor%5C%2Fautomattic%5C%2Fjetpack-search%5C%2Fbuild%5C%2Finstant-search%5C%2F%22%2C%22isPhotonEnabled%22%3Afalse%2C%22isFreePlan%22%3Atrue%2C%22apiRoot%22%3A%22https%3A%5C%2F%5C%2Fcodesamplez.com%5C%2Fwp-json%5C%2F%22%2C%22apiNonce%22%3A%22155bc22a78%22%2C%22isPrivateSite%22%3Afalse%2C%22isWpcom%22%3Afalse%2C%22hasOverlayWidgets%22%3Afalse%2C%22widgets%22%3A%5B%5D%2C%22widgetsOutsideOverlay%22%3A%5B%5D%2C%22hasNonSearchWidgets%22%3Afalse%2C%22preventTrackingCookiesReset%22%3Afalse%7D"));