Improve your dev skills!
Get tutorials, guides, and dev jobs in your inbox.
Git: Stashing Uncommitted Changes
If you've been working with Git long enough, you've probably had times where you made changes to your codebase, but needed to switch branches or work with the latest working version of your code. However, you don't want to lose the changes you've made already, but they're not yet ready...
Guide to Elasticdump - Moving and Saving Elasticsearch Indices
Elasticsearch initially began as a custom search engine. These days, it has gone above and beyond that singular role as it's part of log aggregation stacks, security monitoring, and even as a datastore for performing exploratory analysis. Indices in Elasticsearch is where the data is stored, and there are often...
Measuring Java Code Execution Time with Spring's StopWatch
Measuring code execution time is a vital step in trying to write efficient applications. Temporal awareness of your code on a machine that might be serving a great deal of users lets you plan further, accounting for the execution time. In multi-threaded systems, it's also useful to measure the execution...
Python's itertools – count(), cycle() and chain()
Python has a lot of built-in tools that allow us to iterate and transform data. A great example is the itertools module, which offers several convenient iteration functions. Each of these iterator-building functions (they generate iterators) can be used on their own, or combined. The module was inspired by functional...
Beginner's Introduction to Jenkins - CI/CD
The advent of fast-paced development with many methodologies like Scrum, Agile and Kanban brought along some key issues: developers working in small increments spent a lot of time waiting for the new version to build, reach the testers and eventually get deployed. The development process would be much faster if...
Template Method Design Pattern in Python
The software engineering process often reveals to us many redundant elements inside the structure and code of our software. Knowing this, some of the primary responsibilities of a developer are to write easily understandable and maintanable code - not just solutions. However, projects often get more complex with time, making...
Searching and Replacing Words in Python with FlashText
In this tutorial, we'll explain how to replace words in text sequences, with Python using the FlashText module, which provides one of the most efficient ways of replacing a large set of words in a textual document. How Does the FlashText Algorithm Work? The FlashText module is based on its...