The traditional way to solve the ZigZag Conversion problem is to either build a 2d table or find a pattern among the index of the letters on the same row. There is also a beautiful solution which builds on top of Breadth First Search. Continue reading..
With IoT (Internet of Things) on the rise and hardware getting cheaper and cheaper, it's a great time to explore the possibilities this new technology provides.
In this tutorial, we’ll see by example how to create a CRUD application from scratch and step by step. We’ll see how to configure a MySQL database, enable the admin interface, and create the django views.
The aim of this article is to bring all the related information of configuring the PyCharm IDE with pytest Testing Tool in one place. Here, I'll not dwell deep into how testing is done in Python. But I'll discuss the proper way of configuring PyCharm IDE with pytest testing
This article raised from my own need to find an easy to use guide with all the information related to setting up a Python working environment using PyCharm, Enthought Canopy and GitHub at a single source.
This article is a continuation of the previous article on Creating a Smart Hydrophone Processing System – Hardware. It is assumed that you have already setup the Raspberry Pi to have remote desktop and SSH agents active.
Scripting is a crucial skill for any admin to learn. This post walks through the process to develop a batch file download script in Python, demonstrating how to use the interactive Python shell to troubleshoot while writing code.
If you are the type of programmer that deals with JSON objects a lot, you are probably familiar with some online programming tools to print out the JSON in a very “pretty” format. These tools not only make dealing with JSON easier and … Continue reading →
While programming languages are becoming more and more powerful and abstract, knowing about the underlying algorithms and data structures and when and how to use them is still key to writing efficient and elegant programs.
In this short tutorial, I want to show you how to set up a simple Redis instance using Docker Compose. We will connect to it and test it using Python and the redis package.
How to set up and deploy web applications using Flask and Redis on the Backend, and ReactJS on the Frontend. Using Docker Compose, it will be very easy to start, debug and deploy this application.
How to send Ajax requests in Django 2 and Python 3.7 to add CRUD operations in your application and manipulate your Django models and database without having to refresh your web pages each time
FizzBuzz is variously a drinking game, a math game, a way of learning numbers in a foreign language and more importantly (for this blog) a programming kata.
A short trick to bypass both ASLR (Address Space Layout Randomization) and DEP (Data Execution Prevention) in order to obtain a shell in a buffer-overflow vulnerable binary
With recent scientific advancements in Deep Learning, Artificial Intelligence and Neural Networks, as well as steadily evolving tools such as Tensorflow, Pytorch, and Keras, writing, testing and optimizing your own Neural Networks is now easier than ever before.
Collective Intelligence or swarm intelligence is a very interesting scientific field. As well as neural networks, this field searches for inspiration in nature. This post describes how to use the collective intelligence of ants to find the solution to Travelling Salesman Problem.
As opposed to the less powerful Arduino, the competitively priced and WiFi-enabled ESP8266 supports the Web-of-Things (WoT) since it can be programmed in JavaScript.
Part 2 of this multi-part article series compares SQL Server and PostgreSQL article, database structure, language differences, data type mappings, functions and operators and other important considerations for migration..
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.