HTTP Status Codes Explained

HTTP Status Codes Explained

In plain English, Hypertext Transfer Protocol (HTTP) response status codes is the status of the clients request to the server. This status responses are categorized in five different classes. The first digit of the status code specifies one of five standard classes of responses i.e. 1xx Informational responses, 2xx Success, 3xx Redirection, 4xx Client Errors and 5xx Server Errors. We might have been familiar with some of these most frequently seen status code. The official registry…

Read full Article Read More

List of Most Common HTTP Status Code

List of Most Common HTTP Status Code

The Hypertext Transfer Protocol (HTTP) is a stateless application level protocol for distributed, collaborative, hypertext information systems. Every request to the server is completely new and not related to the previous one. Status codes are used to represent the status response of the client request (HTTP request) to the server. These status codes are part of  of the HTTP/1.1 standard (RFC 7231). The first digit of the status code specifies one of five standard classes of…

Read full Article Read More

Syntax Error or Access Violation: 1071 Specified Key Was Too Long

Syntax Error or Access Violation: 1071 Specified Key Was Too Long

This error is created by the default character set used by Laravel in database. Anyone using MySQL version older than the 5.7.7 release or MariaDB older than the 10.2.2 release need to manually configure default string length generated by migrations in order for MySQL to create indexes for them.  This issue is clearly addressed in Laravel documentation. SOLUTION 1 You need to add Schema::defaultStringLength in the boot function in your AppServiceProvider. use Illuminate\Support\Facades\Schema; /** *…

Read full Article Read More

Base Table or View Already Exists Laravel

Base Table or View Already Exists Laravel

If you are familiar with Laravel environment this might be the most common issue while migrating to database. This is caused by some kind of error during migration or incomplete migration before. As a result, incomplete tables are created in the database. And, if you try to migrate next time migration error (below or similar) will be thrown. I have encounter with similar kind of issue after I have fixed Syntax error or access violation:…

Read full Article Read More

Have You Tried Tootle Ride?

Have You Tried Tootle Ride?

Is there anyone who hasn’t heard the name UBER? The answer would be “No” among those using smartphones and updated to latest technologies. And, if I ask another question: Have you heard the name tootle; then the answer would be “No” for 2 out of 10 less. What exactly is Tootle? Using Tootle you can share a ride on two wheelers inside Kathmandu Valley. In other words, you set your pickup & drop location along…

Read full Article Read More

More intelligent than ever “Siri on iOS 11”

More intelligent than ever “Siri on iOS 11”

There are a lot of exciting improvements in iOS 11 in WWDC 2017 among which ‘Siri’ is the best. With these updates now apple stood in front line among its competitor Google, Microsoft, Amazon in virtual assistant. Siri now produces more natural voice, support third party integration in apps, translate languages and both talk and type with better UI than before. Here are some of its best new updates that could change the way we…

Read full Article Read More

Cute 7 inch Apple’s new HomePod Speaker

Cute 7 inch Apple’s new HomePod Speaker

Apple unveiled its intelligent personal assistant (siri) enabled speaker called HomePod in WWDC 2017. The 7 inch smart speaker is equipped with apples own A8 chip which is used in older version of iPhone, six microphone array & seven beam-forming tweeters that provide pure high frequency acoustics. The upward-facing woofer, paired with the custom A8 chip, enables bass management through real-time software modeling that ensures the speaker delivers the deepest and cleanest bass possible, with…

Read full Article Read More

Can’t Install “gparted” From Terminal

Can’t Install “gparted” From Terminal

Sometimes, its not a piece of cake to install application in Linux although its is already in its default ppa. I have been using linux for 4 years and I recommend this is the best tool for managing partition. Here is how you normally install gparted in ubuntu 14.04 LTS (my version of OS and also works on other debian distributions). sudo apt-get update sudo apt-get install gparted Sometimes you have to add the exact version…

Read full Article Read More

6 Things To Do Before Pushing In Git Like Professional

6 Things To Do Before Pushing In Git Like Professional

If you have done any work in git than you must be familiarize with the word “git push”. If you are beginner in version control or git then you might get confused what should be done to push your changes. Here are few rules that professional follow before pushing anything in version control like github, bitbucket. The basic six rule you must keep in mind before pushing. Step 1: git branch It’s good habit to…

Read full Article Read More