Writing unit tests for migrations in django
Writing tests for migration can be a bit tricky because all of your migrations are generally run before any of your test. In case you want to test your code for a particular migration, you …
Read moreWriting tests for migration can be a bit tricky because all of your migrations are generally run before any of your test. In case you want to test your code for a particular migration, you …
Read moreLet's consider an example where you're returning some info about a Person
object from a function in the form of a tuple.
def info():
...
return name, address, age
Now, in this scenario the receiving …
Read morePhoto by Jessica Lam on Unsplash
In this article I'll share 10 awesome shortcuts for VS Code. These shortcuts are provided by VS Code itself, so you don't have to install any extension for that. …
Read more
SLAM is short for Simultaneous Localization and Mapping. It is a process which is mostly used for determining the position of a robot with respect to its environment. Its quite …
Very often I find myself searching for information about a command or searching the various options available from a command. Well, guess what, most of the information that we need is inside our own Linux …
Read moreGithub announced a new office in India today. GitHub is a global company that provides hosting for software development version control using Git. It was acquired by Microsoft in 2018 for $7.5 billion. Nat Friedman, …
Read moreGithub is home to over 100 million projects and is used by over 40 million developers. It hosts the source code of the project that is shaping the technology world like Linux kernel, Python, TensorFlow, …
Read moreMemes are the talk of the town these days. Most programming memes tend to bring a smile on the face. They try to convey sarcasm and some dark comedy.
From this month, we have decided …
Read moreBeing a developer is hard. You have to sit in front of a machine with a crooked back for close to 8 hours. You also have to go through the process of planning, analysis, design, …
Read more"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler
Read more"Code is like humor. When you have to explain it, it’s bad." - …
Programming languages are evolving at an unprecedented rate. Every year we observe some of it going less popular or obsolete and some of them gaining tremendous popularity. As a beginner or even experienced developer, you …
Read moreData privacy is directly related to the collection, storage, and usage of data. With the ever-growing use of technology in our daily lives, we are all giving away and using data from various sources for …
Read moreNowadays children learn to use a smartphone even before they start counting. They not only use it to play games but also use different kinds of applications. They can easily change wallpapers, ringtones or even …
Read more