The Act Of Doing…

Hey guys, what’s up? I know its been so long since my last blog, almost a year… Yeah, it sounds kind of crazy but I took so long to come up with a good idea for writing a blog and finally realized something, that’s the topic of today’s blog.  We all know there is a pandemic(Covid-19) going on during this time and no matter where you are you might be affected by some degree of it. Talking about myself, my exams got postponed and I am back in my hometown with plenty of unplanned time.

25-09-2018 16.37.57

This is the time that made me realize some left out things like my blogging, my old friends, my vision, etc. I think this happens with all of us. As the routine goes by some things get lost behind in our shadows. Sometimes you really have something cool in your mind and you just save it in a hope that a better time would come to do it. But that idea or thing remains on the shelf of your mind and eventually, it gets covered by a mess,  a mess of all other things you wish to do and it never happens. This is the time to get those due things done from your mind. That thing could be anything like having a warm chat with your family showing some appreciation for the things they have done for you, calling or just sending a text message to people you care and people which care for you, dancing with your brother or just doing the artwork you had in your mind from several months. Things could be as small as that but you gotta do it that’s the act of doing.

Sometimes we just postpone some things for lack of better timing or perfectionism but you better do those now instead of waiting and later regretting, this is the act of doing. Rather than sitting in that creative rut feeling silly and waiting for things to get better, go for the act of doing which will pour out some sprinkles of excitement. I think we all will emerge through this with a new appreciation for life, dreams, friends and family where there is nothing holding us back…

With that said, that’s it for today’s blog. Stay safe, stay quarantined during this time as I probably want you to read my next blogs and I will see you awesome guys in the next blog! ✌😊

Why Hackers mostly use python?

Today we are gonna find the answer to why Hackers mostly use Python programming language. When you start learning the core of hacking, Python is great. With a giant standard library and a packaging system that puts prebuilt tools and frameworks at your fingertips, it is often very easy to hack something into existence.

download

1. Python is an Object-Oriented programming

Object-oriented programming approach is the most popular approach for software development. It uses classes and objects to create models based on the real world environment. Object-oriented Programming makes it easy to maintain and modify existing code as new objects are created inheriting characteristics from existing ones. This cuts down the development time considerably and makes adjusting the program much simpler.

2. Python has a Simple Structure

Python programs take much less time to develop. Its programs are typically 3-5 times shorter than equivalent Java programs. This difference can be attributed to Python’s built-in high-level data types and its dynamic typing. For example, a Python programmer wastes no time declaring the types of arguments or variables. It supports a programming style that uses simple functions and variables without engaging in class definitions. Python programs follow simple English-like structure.

Python programmer can finish in two months what two C++ programmers can’t complete in a year.

For example:

# sample python code to show output: print("Hello World.")
# sample java code to show same output:  public class HelloWorld { public static void main(String[] args) { System.out.println(“Hello, World”); } }

 

3. It has Rich Library support

Python programming has many pre-built libraries that provide some powerful functionality. Python is a High-Level Language with 1,000 modules and much more are available in various other repositories.

4. Python for Web applications

Python is at home on the web, unlike a low-level language like C. Frameworks like Django, Pyramid, and Flask gives the ability to create real web applications that have the same power as the sites we use every day.

5. Supportive community

As you step into the programming world, you’ll soon understand how vital support is, as the developer community is all about giving and receiving help. The larger a community, the more likely you’d get help and the more people will be building useful tools to ease the process of development. Python is having:

  • 5th Largest StackOverflow Community
  • 3rd Largest Meetup Community
  • 4th Most-Used Language at GitHub

So, the final conclusion is, all in all, if you are a person with the ambitions of being a hacker one day, start learning Python. That’s it for today feel free to hit comments and I will see you guys on the next blog!

 

What’s the Django?

In earlier blogs, we talked about web-frameworks. At present do you know which is the most trending web-framework?  It’s Django, my buddies. So, today we will go through Django.

download (1)

Why Django?

With Django, you can take Web applications from concept to launch in a matter of hours. Django takes care of much of the hassle of Web development so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. It is ridiculously fast and you can build your own website within some hours. It comes with some useful built-in function and features which makes Django so powerful. But, need to know programming. You can read my some previous blogs to get idea about best resources to learn programming.

What is Django?

Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. Built by experienced developers, Django takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It is free and open source, has a thriving and active community, great documentation, and many options for free and paid-for support.

Django helps you write software that is:

Complete
Django follows the “Batteries included” philosophy and provides almost everything developers might want to do “out of the box”. Because everything you need is part of the one “product”, it all works seamlessly together, follows consistent design principles, and has extensive and up-to-date documentation.
Versatile
Django can be (and has been) used to build almost any type of website — from content management systems and wikis, through to social networks and news sites. It can work with any client-side framework, and can deliver content in almost any format (including HTML, RSS feeds, JSON, XML, etc). The site you are currently reading is based on Django!

Internally, while it provides choices for almost any functionality you might want (e.g. several popular databases, templating engines, etc.), it can also be extended to use other components if needed.

Secure
Django helps developers avoid many common security mistakes by providing a framework that has been engineered to “do the right things” to protect the website automatically. For example, Django provides a secure way to manage user accounts and passwords, avoiding common mistakes like putting session information in cookies where it is vulnerable (instead cookies just contain a key, and the actual data is stored in the database) or directly storing passwords rather than a password hash.

A password hash is a fixed-length value created by sending the password through a cryptographic hash function. Django can check if an entered password is correct by running it through the hash function and comparing the output to the stored hash value. However due to the “one-way” nature of the function, even if a stored hash value is compromised it is hard for an attacker to work out the original password.

Django enables protection against many vulnerabilities by default, including SQL injection, cross-site scripting, cross-site request forgery and clickjacking (see Website security for more details of such attacks).

Scalable
Django uses a component-based “shared-nothing” architecture (each part of the architecture is independent of the others, and can hence be replaced or changed if needed). Having a clear separation between the different parts means that it can scale for increased traffic by adding hardware at any level: caching servers, database servers, or application servers. Some of the busiest sites have successfully scaled Django to meet their demands (e.g. Instagram and Disqus, to name just two).
Maintainable
Django code is written using design principles and patterns that encourage the creation of maintainable and reusable code. In particular, it makes use of the Don’t Repeat Yourself (DRY) principle so there is no unnecessary duplication, reducing the amount of code. Django also promotes the grouping of related functionality into reusable “applications” and, at a lower level, groups related code into modules (along the lines of the Model View Controller (MVC) pattern).
Portable
Django is written in Python, which runs on many platforms. That means that you are not tied to any particular server platform, and can run your applications on many flavors of Linux, Windows, and Mac OS X. Furthermore, Django is well-supported by many web hosting providers, who often provide specific infrastructure and documentation for hosting Django sites.

If you have any suggestions please write them in comments and I will see you guys in the next blog!