programming Archives | Online Productivity Solutions Pvt. Ltd. Tue, 18 Oct 2022 11:00:51 +0000 en-US hourly 1 Anatomy of an IT Professional https://opspl.com/infographic/anatomy-of-an-it-professional/ https://opspl.com/infographic/anatomy-of-an-it-professional/#respond Fri, 01 Nov 2019 10:46:55 +0000 https://opspl.com/?p=10519 Computers are involved in our day to day life. For that, an IT Professional plays a pivotal role in managing and handling various software components. An IT Professional deals with core IT management, support, consultation, and resourcing. The IT Professional Code of Ethics focuses on providing high-quality applications. We are responsible for analyzing, specifying, designing,...

The post Anatomy of an IT Professional appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Computers are involved in our day to day life. For that, an IT Professional plays a pivotal role in managing and handling various software components. An IT Professional deals with core IT management, support, consultation, and resourcing. The IT Professional Code of Ethics focuses on providing high-quality applications. We are responsible for analyzing, specifying, designing, developing, testing, and maintaining applications that will be beneficial and effective for the company or client. Most IT companies look for creative, skilled and talented IT Professionals, who can tackle a problem no matter what technology is involved. Having experience, problem-solving skills can help us widen our career possibilities and in return get a good salary and job benefits.

In our Infographic below we have depicted the anatomy of an IT Professional.

Our qualified team of IT Professionals is always ready to create something unique for you. Learn more about the services we offer.

The post Anatomy of an IT Professional appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/infographic/anatomy-of-an-it-professional/feed/ 0
Creating an E-Commerce site using WordPress https://opspl.com/blog/creating-an-e-commerce-site-using-wordpress/ https://opspl.com/blog/creating-an-e-commerce-site-using-wordpress/#respond Fri, 11 Oct 2019 09:13:34 +0000 https://opspl.com/?p=10487 WordPress is a Content Management System originally developed for bloggers to post blogs. It is Open-Source, which means it is freely available to build your own blog posts sites. As years passed, it was upgraded to develop e-commerce websites and to support e-commerce plugins. There are several themes which are suitable for e-commerce sites. Also,...

The post Creating an E-Commerce site using WordPress appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
WordPress is a Content Management System originally developed for bloggers to post blogs. It is Open-Source, which means it is freely available to build your own blog posts sites. As years passed, it was upgraded to develop e-commerce websites and to support e-commerce plugins. There are several themes which are suitable for e-commerce sites. Also, it has a large number of plugins for the e-commerce platform that makes development tasks easier.

Here are some easy steps I recommend you can follow to develop a basic e-commerce site.

Firstly, figure out for which type of the products the website needs to be developed. Select the theme which suits your design requirements. Or else, you can create a custom theme as per your requirements. The next step is to search for a plugin which will help you to set up your online store. One of the most popular plugins WordPress uses to build a full fledged e-commerce website is ‘WooCommerce’.

WooCommerce

WooCommerce is one of the ways in which you can build a WordPress website into a full-fledged e-commerce store. It is free and the most popular open-source plugin of WordPress which helps in setting up an online store with ease. It also takes less time to build.

When you install and activate WooCommerce for the first time, it will take you to a setup wizard which shows sections like

  • Store Setup: to add store base location, address, currency to use and product type.
  • Payment: to allow payment methods for the customers
  • Shipping: to fix the shipping rates.
  • Extras: provides extra services from WooCommerce for your store like Storefront theme, Automated taxes.
  • Activate: provides to connect your store with Jetpack to enable extra features.
  • Ready: last section to finish store setup. Also displays option to create or import products from existing store.

Store setup

 Creating an E-Commerce site using WordPress-store setup

This first section asks for where the store is exactly located, with a list of country names along with their state names. You have to specify the currency which you want to use and type of products you want to sell on your store. The product type can be either physical products, digital products or both product types.

Payment section

Creating an e-commerce site using WordPress

The payment section is the second section. It will display the payment methods available at your store location. This may vary based on what location you have mentioned at the previous section. If you select store base location as India, then you will have PayPal and PayPal Standard mode of online payments.

It also offers offline payment methods such as Cheque Payment, Bank Transfer and Cash on Delivery. Once you enable the appropriate payment method for your store, click ‘Continue’ to proceed to the Shipping section.

Shipping section

Creating an e-commerce site using WordPress

In the Shipping section, it provides a special option for the store base location of US or Canada. If your store is in one of those countries, you will have the option to select live shipping rates based on the type of the product.

If your store base location is other then US or Australia, you can set the Flat Rate or Free Shipping option from the drop down.

Also you must choose the weight and dimension for how you want to measure the product. Once you are done with setting up shipping details, click ‘Continue’ button to proceed to the Extras section.

Extras section

Creating an e-commerce site using WordPress

The Extras section has a Storefront theme option, which if enabled it will install Storefront theme of WooCommerce service. This allows you to add plenty of extensions and child themes to make your store look awesome. There is one more option called Automated tax rates which gets displayed depending on the store base location. This WooCommerce service fixes the tax rate of the product automatically. After enabling WooCommerce extra services, click ‘Continue’ button. That will redirect you to the Activate section.

Activate section

Creating an e-commerce site using WordPress

In Activate section, you get the feature to connect your store to Jetpack to enable all the WooCommerce services and functionality which comes with the Jetpack. If you don’t want to connect with Jetpack, you can skip this section by clicking ‘Skip this step’ link.

Your store is ready

Creating an e-commerce site using WordPress

Now your store is ready to go live! Don’t forget to add your email to get support from WooCommerce. You can also create products right from here or if you have an existing store, you can import the products through Product CSV files.

Finally if you don’t want to create your product at this stage, you can return back to your dashboard by clicking the below ‘Return to your dashboard’ link.

Add Products options

Creating an e-commerce site using WordPress

Now you will see the WooCommerce Add Products options in admin panel of your dashboard. If you have connected to Jetpack, additional Jetpack option will be displayed.

In WooCommerce option you can access the WooCommerce features such as Orders, Coupons, Reports, Settings and Extensions.

Product option is where you can add new products and manage all products. it also provides a feature to add product categories and tags for products.

 

Parvez Shaikh

The post Creating an E-Commerce site using WordPress appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/creating-an-e-commerce-site-using-wordpress/feed/ 0
Kotlin – The next step for android https://opspl.com/blog/kotlin-the-next-step-for-android/ https://opspl.com/blog/kotlin-the-next-step-for-android/#respond Fri, 04 Oct 2019 09:10:14 +0000 https://opspl.com/?p=10468 Developers at Google have been creating support to be able to ease the transition with cross compatibility of Java and Kotlin being used together.

The post Kotlin – The next step for android appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Android…, No, I’m not talking about an AI Robot, but that mobile OS that has different candy versions. It was founded by 4 people, and like all great things, it usually comes with a difficult beginning. It’s intention at the time of inception in 2003 with just about $10,000 wasn’t at all for mobile phones or TVs but rather for digital cameras. But that didn’t work out too well and that’s when they switched over to mobile devices.

Google saw the potential that android had to offer and bought it in 2005 for a whopping $50 million. Android is based on a modified Linux kernel. So why am I telling you this? Because to know where you are heading, you should know what has led you to it.

To build a functional app that can run on Android, the primary language used is Java. What’s Java you say? Well, in short, its a very powerful class-based, object-oriented programming language … another topic for another day. Java, had been the reigning language used to develop applications for Android until 2017. And like all the great ones, they have a prodigy, namely Kotlin which was born out of the aspiration of heightened productivity at Google. For the past 2 years, those geeky developers at Google, much like you and me, have been creating support to be able to ease the transition with cross compatibility of Java and Kotlin being used together. And now Kotlin is all grown up and has taken over the mantle to be able to develop applications for Android.

So what’s the prodigy got that makes it better to use than an already existing powerful programming language? Well here are some of them:

• Brevity

In simple words, it would actually mean using simple words, It would be concise. A piece of code that would take Java about 20 lines of code could be accomplished in half with Kotlin.

• Interoperability

Kotlin’s core purpose is Interoperability. Using everything that is already known, the developers aim was to create modules that would work flawlessly with existing Java code. A Kotlin compiler allows it’s own code along with Java code to work in unison.

• Inbuilt Null Safety

If you’ve developed an android app using Java, you could have probably frequently encountered a lot of Null Pointer Exceptions. Android relies on a Null value to represent an absence of a non-null value. But null, if not handled, can usually be the start to many problems that cause your app to crash. Kotlin solves this problem by inherently incorporating null safety. This in turn, saves the developer a lot of coding time that can be used elsewhere.

• No RAW types

RAW types used to be used for backward compatibility, but again, the problem would be that it would sometimes throw a CastClassException Error that would occur only during runtime and not compile time. Generics are now being used to overcome this limitation.

• No Checked Exceptions

Checked Exceptions are basically exceptions when the compiler forces the caller of a function to catch or re-throw an exception. In simple terms, they are empty catch blocks sometimes. So Kotlin has removed them entirely which in turn provides verbosity and improves type-safety.

The above mentioned points are some of many benefits of using Kotlin, So should you switch over to it right now? If you are already well versed with Java, then the transition should be relatively easy. There are mixed opinions in the developer community where Java will gradually not be used any more and will be replaced by Kotlin altogether.

In my opinion, I’d say, go for the switch, because I can see two key benefits that would majorly help me as a developer especially on large projects. The first being, reduced project timelines. If you’ve paid attention to anything I’ve written, you’d have deduced that fewer lines of code would need to be written which would help you solve more problems with lesser time. The second being, fewer app crashes, which is also linked to the first point because, reduced development time would also mean more time with support for maintenance. With simplified code and enhanced readability, it would be easier to debug and find bugs if any.

There are roughly about 3 Million developers already on board with using Kotlin for developing apps for Android. And it doesn’t look like Kotlin will be disappearing anytime soon. If you are interested in finding out more about Kotlin, visit the Android website.

 

Ian Coutinho

The post Kotlin – The next step for android appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/kotlin-the-next-step-for-android/feed/ 0
My first Python experience https://opspl.com/blog/my-first-python-experience/ https://opspl.com/blog/my-first-python-experience/#respond Fri, 14 Jun 2019 12:21:52 +0000 https://opspl.com/?p=8211 When I was informed about my joining date for my first job, I was excited and nervous at the same time. Once I joined and days passed by, I became more acquainted and comfortable with the working environment. My first challenge was a new project assigned to me that required the use of Python Programming...

The post My first Python experience appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
When I was informed about my joining date for my first job, I was excited and nervous at the same time. Once I joined and days passed by, I became more acquainted and comfortable with the working environment. My first challenge was a new project assigned to me that required the use of Python Programming Language. Python was a completely new language to me and this was a challenging task, but in every challenge lies a greater opportunity. And so, my adventure towards Python programming language started.

Python works on the various packages (a bundle of software to be installed) using PIP command.
• Firstly install Python from their official website like any other software and make it ready to be run in the command line.
• Run the command line through the administrator and now you are good to go.
• Navigate to the python folder through the command line and find your python version using the command: python –version.
• Also make sure you have pip available using the command pip –version.
• Ensure that pip, setup tools and wheel are up to date.
• Well now you’re good to go. Create a directory where you want to create a project.
• Create a virtual environment inside the directory using the command: virtualenv venv.
• “Virtual Environments” allow Python packages to be installed in an isolated location for a particular application, rather than being installed globally.
• Now you can install the packages using the pip command.

Here are a few tips that would help beginners like me to get started:

1. Make sure that you install Python packages of version 3.0+ as mentioned in this link. The documentation states that virtual environment is optional but I would recommend it, the reason for this being Python “Virtual Environments” allow Python packages to be installed in an isolated location for a particular application, rather than being installed globally. So this won’t affect your other system packages.

2. This link, which was suggested to me by my project lead, is one of the best resources to learn core python.

3. You’ll find multiple examples on core python at the following link. The examples gave me a lot of new ideas and helped me to understand the language and develop my own code.

According to IEEE Spectrum’s fifth annual interactive ranking, Python is the top programming language. In an independent third party survey, it has been found that Python is currently the most popular language for data scientists worldwide.
Python code has a very natural style to code, which makes it easy to read and understand.
Python offers automatic memory management and several standard libraries. The best part is that it provides developers to enable lesser coding.
Personally I would suggest the use of ‘PyCharm (Commercial Version)’ IDE for writing code in Python.
Python language is used for Artificial Intelligence, Web scraping, Data analytics, Blockchain, Gaming etc.

With developers realizing to add python to their resume for better opportunities and growth in global careers, it can be concluded that Python is an ocean of opportunities to programmers. Till now my learning experience in Python has been amazing and very productive. It has enhanced my knowledge and skills. The team I worked with was very supportive and were regularly updating each other, which in turn benefited me with regards to knowledge sharing. I am looking forward for more of such learning opportunities in future.

To all my fellow programmers, Happy Coding!

Here’s a fascinating Python fact: The Dutch programmer Van Rossum was inspired by a BBC Comedy Series “Monty Pythons Flying Circus” in naming his invention as Python!

Jarett Rodrigues

The post My first Python experience appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/my-first-python-experience/feed/ 0
Mistakes a Programmer Can Avoid in a Tech Company https://opspl.com/blog/mistakes-a-programmer-can-avoid-in-a-tech-company/ https://opspl.com/blog/mistakes-a-programmer-can-avoid-in-a-tech-company/#respond Fri, 09 Nov 2018 04:50:23 +0000 https://opspl.com/?p=7754 Most of the people reading this blog will mostly be programmers or developers or someone who shows interest towards IT. Those of you who have worked on an IT related project, or even students for this matter, will understand that the life cycle of a project has to be done in stages, and a lot...

The post Mistakes a Programmer Can Avoid in a Tech Company appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Most of the people reading this blog will mostly be programmers or developers or someone who shows interest towards IT. Those of you who have worked on an IT related project, or even students for this matter, will understand that the life cycle of a project has to be done in stages, and a lot can go wrong during this life cycle.

So if a software life cycle is done in stages, then nothing can go side ways, right? WRONG, there are chances that something can go side ways! And one of the major contributing factors to this is simple, deadlines. With clients having their needs and demands, we need to meet the deadline in order to keep them happy (Unless you do things at your own pace, which in my opinion usually takes more time and is a waste). Happy clients equal more projects or opportunities. But what we fail to ignore is the consequences of doing things rapidly and ignoring the simple things that can cause an unpleasant user experience. For example, during API Testing, if the response is a 200 that is returned, we assume that it is working and sometimes tend to overlook the actual output returned (I’m sure some of you’ll have experienced this ‘cause I did when I started programming).

So let’s get down to putting a few mistakes a programmer can avoid while working in a tech company.

Firstly, Caching. Those of you who have developed websites, will understand this point more clearly. What is Caching? For those who aren’t familiar, in simple English, it stores information somewhere on your computer for future use. So why is caching important for websites, and APIs? It basically helps the server to reduce the load on itself and allows for more users to access the same service without it’s performance getting affected. “So if I have a cached copy stored on my system, I’m good to go?” Well, not really, this cache needs to be updated after set intervals. An expired cached copy can cause a user problems at high traffic time and probably not even return a proper response to the user. It is the developer’s job to not overlook this aspect and ensure that the user isn’t negatively affected by it. After all, if a website is poorly created and can’t display things that the user expects, why would anyone even visit the site?

Secondly, Lack of communication. I noticed this issue when I started working, but thankfully, this isn’t an issue for me any more. Communication is very important when it comes to working in a team. In an IT team, we create new software and programs where everyone’s contribution can lead it to be a successful one. But what happens when there is no proper communication between team members? Each member does the work the way they want to do it and when it comes down to merging all of it together, BOOM, Failed software. All this trouble for the simple fact that the members were not communicating properly. To be honest, when I started working on my first project, it was a handover from a senior, as the senior had resigned for whatever reason, it felt like the project was just dumped on me, and the handover wasn’t even properly done. Nonetheless, even though the other seniors were busy in their own projects, they lent a helping hand whenever they could. But for the rest of it, I was on my own, until we had newer members joining the team, and one of them on the project I was handling. Life got a lot easier working as a team and we started to show results at a much better progressive rate. So remember, communication is one of the keys to opening a door to a successful step ahead to something better, and of course, building a terrific software.

Thirdly, Compatibility. While some software are targeted for a specific version, sooner or later, perhaps never, some modifications or updates need to be made to the existing software. This not only applies to software developed, but also to software that are under development. Let’s take this example for instance. If a member of your team were to develop a piece of code that is not compatible with your code due to a version mismatch or outdated/deprecated method, then both of you’ll need to sit down and discuss which is the best approach to move forward and ultimately, one of you’ll will have to rework the code, which is a waste of time. So remember to communicate with your team member(s) and be sure that you’ll are looking towards the same thing.

Lastly, Localization. While some clients have a fixed audience, we need to consider that the client can change their mind and want to reach a wider audience, and this includes people from different countries with different dialects. There are so many dialects in this world, is it necessary to incorporate all of these languages for localization? No, ideally, the best approach would be to use common languages such as English, Hindi, Portuguese and French. Unless specified otherwise by the client.

To summarize, by the quote of G.I. Joe, Knowing is half the battle. And what this means is, the sooner you recognize these mistakes or any other mistake which you feel that can be avoided, the better it is for everyone on the team. It saves time and effort, and you don’t have to break your head as to why the system isn’t working the way it should. These were a few common mistakes a programmer can avoid when working in a tech company. Hope all if not, some of these points have enlightened you to work better and take you to greater heights with your team.

 

Ian Coutinho

The post Mistakes a Programmer Can Avoid in a Tech Company appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/mistakes-a-programmer-can-avoid-in-a-tech-company/feed/ 0
Mistakes I Made in GIT https://opspl.com/blog/mistakes-made-git/ https://opspl.com/blog/mistakes-made-git/#respond Fri, 21 Sep 2018 12:22:42 +0000 https://opspl.com/?p=7429 I can still remember that day as if it was yesterday. It was one of the worst days of my entire development career. The D-day, deadline of my module, and we were still fixing the bugs. At the same time, the client was sending n number of emails asking for the updates. I had no...

The post Mistakes I Made in GIT appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
I can still remember that day as if it was yesterday. It was one of the worst days of my entire development career. The D-day, deadline of my module, and we were still fixing the bugs. At the same time, the client was sending n number of emails asking for the updates. I had no answer to his emails as my mind was fully engrossed in figuring out the problems and solving them. It was a really stressful situation. The project was on GIT, the most essential tool for all the developers, as it keeps our code history in check and helps us in understanding every bit of our code change. Instead of making things easier for me, it became a nightmare because of one mistake.

I admit not being an expert in GIT, but I do know some of its basic usage which I use every day like git pull, git push, git merge, git rebase. In GIT, we work with branches. The important branch is the master branch which also is the production branch, the one should never ever be touched. You can say one of the least updated branches, that too when everything has been tested and works as expected on the development branch.

The next branch is the development branch. You do not code here, but mostly do pull, push and check if everything is proper and it can be uploaded to the live site. You can say the development branch is like a blueprint. When you are working in teams, the development branch becomes very important. It allows you to check your changes and changes made by others before merging the code with the master branch. So from the development branch, we branch out and create our new working branch where we write our code and test if everything works fine.

Coming back to my mistake… after we had pushed our changes to the development branch everything was working perfectly fine. Then we merged that branch with the master branch. Then Huh?!? The module stopped working on the live site. I did not know what was going on and what to do since everything was working on the development branch. There was no way to track the issue.

As I had to upload the changes to the live site, I directly jumped to the master branch, breaking the important rule of NOT touching the master branch. Then somehow by doing some hotfixes, I managed to get the live site working. At that moment, getting the live site working was THE most important thing. Now to get my development branch at par with the master, I merged the development branch with the master branch. Just as I did this, everything started to go haywire on the development site. Having inadequate knowledge about GIT, I had completely stopped using the development branch and worked directly on the master branch. BIG MISTAKE!! To add to my misery, both branches went off in different directions.

In the end, I had to sit with one of our directors, who excels at working with GIT, and fix the mess that I had caused. With this experience, the one most important thing I learned is, never ever merge development branch with the master branch. Only backward master with the development. Whoever reads this, keep that in mind and don’t repeat my mistake.

Sabina Colaco

The post Mistakes I Made in GIT appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/mistakes-made-git/feed/ 0
What Does it Mean to be a Good Programmer? https://opspl.com/blog/be-a-good-programmer/ https://opspl.com/blog/be-a-good-programmer/#respond Fri, 31 Aug 2018 11:30:33 +0000 https://opspl.com/?p=7319 By the term programmer, a lot of things come to our mind, like smart, intelligent and the most important of all, logical. But, these are not the only skills needed to be a good programmer. Below are the basic skills needed to be a good programmer : Willingness to learn A good programmer should be...

The post What Does it Mean to be a Good Programmer? appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
By the term programmer, a lot of things come to our mind, like smart, intelligent and the most important of all, logical. But, these are not the only skills needed to be a good programmer.

Below are the basic skills needed to be a good programmer :

  • Willingness to learn
    A good programmer should be ready to learn anything thrown at them. They shouldn’t limit themselves to just one technology, but should have some basic knowledge about other technologies. Because the technology is always advancing, the skills of a programmer should also be continuously updated
  • Impressive technical skills
    This is the most obvious of all, a person working on one language should not only know how to do it but, also know how it actually works. If you know the functioning of the language, then you can solve any problem that you encounter later on.
  • Debugging skills
    Creating a code from start is completely different from investigating someone’s completed code. Getting to understand such code and researching the possible issues that may or may not come in the future is a very important skill to have.
  • Problem-solving skills
    A programmer should always find different ways to solve a problem. Avoid saying “It cannot be done” since this kind of attitude stops you from moving forward and getting innovative ideas.
  • Passion for the work
    You should love what you do. If you love coding, then there is nothing that you can’t do. Coding is fun when you enjoy it. The challenges, the unexpected errors, and deadlines – all this means nothing if you love your work. You can overcome any challenges or obstacles to get to the end.
  • People skills
    It’s very important to work with your co-workers since the development of the project is done by a team. The ability to work well with others is a must since it helps you to convey your ideas properly. At the same time, you should listen to the ideas of the others. Good co-ordination helps to get the work done faster and efficiently.

 

Stevan Fernandes

The post What Does it Mean to be a Good Programmer? appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/be-a-good-programmer/feed/ 0
Earn Money through Bug Bounty https://opspl.com/blog/earn-money-through-bug-bounty/ https://opspl.com/blog/earn-money-through-bug-bounty/#respond Fri, 10 Aug 2018 11:37:50 +0000 https://opspl.com/?p=7265 It is said that hacking is an art, and the hacker is an artist. If you are that hacker looking for fame and some cash, then bug bounty is the correct choice for you. In this blog, I will give you some more information on bug bounty. To start with, let us understand the term...

The post Earn Money through Bug Bounty appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
It is said that hacking is an art, and the hacker is an artist. If you are that hacker looking for fame and some cash, then bug bounty is the correct choice for you. In this blog, I will give you some more information on bug bounty.

To start with, let us understand the term ‘bug bounty’. A Bug bounty program is nothing but a deal offered by companies to find vulnerabilities in their software, websites, or other web applications. It is also called as Vulnerability Rewards Program (VRP). The individuals who report bugs get recognition and compensation, especially if the bugs reported are more likely to exploit the vulnerabilities of their software. The individuals who report such bugs are known as bug bounty hunters and the process of finding such bugs is called bug bounty hunting.

The advantages for companies that run a Bug Bounty Program are very clear: their main aim is to get all the flaws/vulnerabilities (like CSRF, XSS, Subdomain etc) get discovered and resolved before the application is released to the public. This improves their services and helps to carry out security updates to their application/platform, hence ensuring that their data is safe.

For the bug hunters, it’s the money and hall of fame for their work. This is a very good opportunity for developers or white-hat hackers to make some money, as they are the ones who have the required computer knowledge and they can make or break the site.

If you plan to become a bug bounty hunter, you’ll need to know some basic coding and computer skills. Fortunately, there are many resources to help you get started, and coding is pretty easy to teach yourself. Also, you can use some tools available online to break things or write up a vulnerability report to the company which has issued the bounty, then get paid. Some hackers make lots of money in a year just hunting bugs. It is just a matter of skill and luck.

To keep yourself updated about this, join the bug bounty community (https://hackerone.com/leaderboard/all-time).

You can also join the Bug Bounty World on slack and keep reading their blogs, tools, testing ideas etc. (https://bugbountyworld.com/)

Learn scripting languages, which will help in automation, like JS, PYTHON, RUBY etc. This will for sure improve your skills.

Companies will often have a link or a page somewhere on their website offering bug bounties.  Typically, the payment amount depends on how much the bug will impact the users and the difficulty in the hacking. They have their rewards set for the types of bugs. The most critical bug gets the highest amount and then after that, it’s just the priority of the bugs. The final decision is made by the company and their security researchers. The bug report document must have sufficient information for the organization offering the bounty to be able to understand and reproduce the vulnerability.

A large number of organizations, including giants like Mozilla, Facebook, Yahoo!, Google etc. have implemented bug bounty programs.

Here are some links where you can always try to get some fame and money 🙂

https://bughunter.withgoogle.com/

https://www.facebook.com/whitehat

https://www.tripwire.com/state-of-security/security-data-protection/cyber-security/10-essential-bug-bounty-programs-2017/

https://www.guru99.com/bug-bounty-programs.html

Happy Hunting!!

Sabina Colaco

The post Earn Money through Bug Bounty appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/earn-money-through-bug-bounty/feed/ 0
.Net Applications with ORMs https://opspl.com/blog/net-applications-with-orms/ https://opspl.com/blog/net-applications-with-orms/#respond Fri, 06 Jul 2018 11:16:05 +0000 https://opspl.com/?p=7094 Now-a-days all web applications make use of a good ORM framework. During the early days of coding, we used simple ADO.NET by using classes such as SqlCommand, SqlDataReader, SqlDataAdapter, and DataSet. As days went by, ORMs took the lead and programmers preferred to use them instead of plain old ADO.NET. With ASP.NET, the ORMs that...

The post .Net Applications with ORMs appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Now-a-days all web applications make use of a good ORM framework. During the early days of coding, we used simple ADO.NET by using classes such as SqlCommand, SqlDataReader, SqlDataAdapter, and DataSet. As days went by, ORMs took the lead and programmers preferred to use them instead of plain old ADO.NET.

With ASP.NET, the ORMs that are commonly used are:

– ADO.NET Entity Framework
– LINQ to SQL
– NHibernate

There are also a few others like Dapper and Massive and the Enterprise Library Data Access Application Block.

When it comes to making a choice between Entity Framework and NHibernate, majority of the developers prefer Entity Framework, because it is a Microsoft product and it comes bundled in the IDE. Being a .Net developer, I too would agree with the majority of the team that Entity Framework would be my first choice. But the first ORM that I used was NHibernate.

The first project that I worked on had the map files written using NFluent NHibernate. I admit, it was difficult to create the classes, especially for associations (many-to-one, one-to-many and many-to-many). But it was fun to learn. Once we came across an issue where the application would stop working, due to overflow exception. It took us days to figure out the issue. Luckily we had a tool ‘NHibernate Profiler’, it pointed out a mistake in one of the classes, where the association was wrongly written. And that bug came to light after about 1000 records were inserted.  Earlier as the data was less and it had no primary key/foreign key conflicts, it ran smoothly. But later as the data increased, problems started causing deadlock with associations.

The second project that I worked on, also used NHibernate. But it used the hbm files in xml and not the NFluent one. So it was much easier. And the best part was that – that client had purchased the tool ‘CodeSmith Generator’. All we had to give as input was the DB and it generated the manager files, the hbm files, on the fly. This saved us a lot of time and effort to create the mapping files. But of course, it had the cost associated with it.

Well, if we compare NHibernate with Entity Framework, the latter is much simpler. It was introduced in Microsoft .NET 3.5 Service Pack 1. The edmx file is generated for us. All this comes within the .NET Framework. So it is free and compatible and the learning curve is not steep at all. Entity Framework works well with MSSql. For other databases, connectors are required. Using NHibernate, we can fire multiple queries at one time, which is not the same in Entity Framework. But NHibernate takes a longer time to initialize compared to Entity Framework. That is the only drawback, other than the learning curve.

Both are good in their own way and better than traditional ADO.NET as they do reduce the lines of code to a great extent.

 

Severina D’Souza

The post .Net Applications with ORMs appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/net-applications-with-orms/feed/ 0
Crawling And Scraping With Python https://opspl.com/blog/crawling-scraping-python/ https://opspl.com/blog/crawling-scraping-python/#respond Fri, 29 Jun 2018 12:01:21 +0000 https://opspl.com/?p=7071 Whenever you have something important that intrigues you, Google is the first place you will go to. And voila, it will show you everything related to what you are searching. Have you ever wondered how Google provides all the search results matching what you are searching for? This algorithm is fully dependent on the concept...

The post Crawling And Scraping With Python appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
Whenever you have something important that intrigues you, Google is the first place you will go to. And voila, it will show you everything related to what you are searching.

Have you ever wondered how Google provides all the search results matching what you are searching for?
This algorithm is fully dependent on the concept of Crawling and Scraping the web and you will be able to develop your very own crawler and scraper.

What do you mean by Crawling the web?
Crawling is fetching of information from web pages that match the search query provided by the user of the search engine. The collection of web pages is handled by special software bots called crawlers or spiders.

And what about Scraping?
Using the list of webpages that the spider collected, we extract large amounts of data from these pages and store them in a local file or database.

Now let’s get started with developing your very first crawler and scraper.

Requirements:

– Python 3.x (link: https://www.python.org/downloads/) and that’s it, no other software except for a working internet connection.The reason why I am using Python is, this language is easy to learn; even people with no knowledge of programming can dive right into this language. Well this is from my perspective and I have not been paid to advertise on it. For me personally, I love to code in Python, with it’s vast amount of libraries which can even help with machine learning apart from many other things.

Once you have Python properly installed, all you need is a few libraries and you are good to go. (Make sure that ‘python’ and ‘pip’ is added to you system path variables)

To install these libraries, you will have to and type in at the command prompt:
– pip install mechanicalsoup

This will install all the required libraries needed to build your crawler and scraper.
Now at the command prompt, type in python and hit enter.
This opens the python interpreter, which looks something like this:

 

Python Interpreter

 

Next, to import the library required for this project, type in

import mechanicalsoup

Note: The libraries are case sensitive so make sure you type it exactly as above.

Let’s create a browser object, we will call this our spider (as it will crawl the web and fetch the webpages):

browser = mechanicalsoup.StatefulBrowser()

Now, we open a webpage. In this guide we will be using the search engine http://duckduckgo.com, as it is simpler to understand how the pages are crawled and scraped.

browser.open(“http://duckduckgo.com”)

 

Python Browser

 

The return value of the method open() is an object of type requests.Response. The output is a HTTP response status, 200, which means “OK”, and the object also contains the contents of the downloaded page which resides within the browser object.
To see the content that exists in the browser object, type in this snippet:
browser.get_current_page()

For the next step, we have to know the attribute that exist for the form tag in the search engine. In our case, we are using the ‘id’ attribute which has the value “#search_form_homepage”. This can be known by using the browser’s Developer tools as shown below:

 

Developer Tools

 

To select this form, type in:

browser.select_form(‘#search_form_homepage’)

To print the summary of the currently selected form, type in:

browser.get_current_form().print_summary()

 

Summary Of Selected Form

 

As you can see, there are 3 input tags. From these tags, we will fill the text field which has id “#search_form_input_homepage” with a search query and then submit the selected form.

 

Add Form

 

On submitting, you will get status code 200 which states that the request was successful.

Now we need to populate or so to say ‘scrape’ the page for the search results. For now, we only display the results with the title and the link to that search result

Here is the code snippet to display the same:

for link in browser.get_current_page().select(‘a.result__a’):

print(link.text, ‘\n\t’, link.attrs[‘href’])

 

Search Results

 

And here comes to an end my guide to creating your own crawler and scraper. You can experiment and explore the documentation of mechanicalsoup (https://mechanicalsoup.readthedocs.io) and beautifulsoup (https://www.crummy.com/software/BeautifulSoup/bs4/doc/) to go even more in-depth into crawling and scraping the web.

 

Shyan De Abreu

The post Crawling And Scraping With Python appeared first on Online Productivity Solutions Pvt. Ltd..

]]>
https://opspl.com/blog/crawling-scraping-python/feed/ 0