Showing posts with label How-To. Show all posts
Showing posts with label How-To. Show all posts

C or HTML - What should i choose? A guide for beginners.

         You are newbie in programming field and interesting to start learning but confuse with language like C and html. A lots of newbie confused that how to start with programming or which language I should select either C or html? In this post, i will try to clear all your confusion about c and html.

         First thing I want to tell you that don't mix both things (C & html). They are separate : How ? You need to understand that if you are willing to learn programming then you should choose C And If you are willing learn to learn rendering language then, its HTML. Still confusing? No problem! You need to understand the difference between programming language and rendering language. Programming language allow you to do mathematical and logical operations.

For example, you provide two numbers to C language (programming language) 4 , 3 with positive (+) operator then, C will perform a mathematical operation and it will return 7. The statement should be like this 4+3 and the answer will be 7. It simply add both numbers and return the result but if you try to perform same operation with HTML then the result will 4+3. What? 4+3? This is exactly the same what we provide! Yes, it is same that's why we called it rendering language. It simply render the content you provide. It didn't apply mathematical operation. while in programming language you are able to perform mathematical and Logical operator (we are not going deep in logical operator like "AND", "OR").

How to solve "npm not recognized as internal or external command"

You have downloaded and installed npm and then, typed npm command but getting the error
"npm not recognized as internal or external command"
OR You want to know how to download and use npm? Then, you are at the right place! This short post will teach you the simple steps in order to successfully install and run npm. So, here are the steps.
First, download and install npm from here [chose Windows Installer(.msi)]. If you have tried npm command after installation, you will get this error "npm not recognized as internal or external command". In order to solve this problem, follow below steps:
  1. Go to MyComputer Properties.
  2. Click Advanced System Settings from the Left bar of Window.
  3. Now you have System Properties window. Click Advanced
  4. Then, Click Environment Variable... button
  5. Now you have Environment variable window: From User Variable, Select Path
  6. Click Edit
  7. Now in Variable Value, add the path of where you have installed npm. Like I have installed it in C drive (C:\Program Files\nodejs\). If you have installed in other drives then please act accordingly.
  8. OK all open dialogue
  9. Now the final step, Restart your computer.
  10. Congrats you have done, now you can use npm commands

Unity Tips and Tricks (Editor, Performance, Build Tips and Tricks) Part IV

In our previous post we shared different coding tips and tricks related to Unity game engine. In this post, we gather different tips and tricks related to Unity Editor, Performance and Unity Build.

Unity Editor Tips and Tricks















Performance/Optimzation Tips and Tricks




Unity Build Tips

See Also:

Unity Tips and Tricks (Unity Coding Tips and Tricks) Part III

 In our previous article we presented different unity tips and tricks related to Unity scene organization, managmgent and inspector etc. In this article we have gather differnt coding tips and tricks form twitter.

Unity3d Coding Tips and Tricks






Unity Tips and Tricks (Scene Tips and Tricks) Part II

In our previous article, we gather and present kinds of tips and tricks from twitter but from now, we have a plan to present Unity tips and trick base on categorization (like scene, coding, editor , build etc). Therefore, in this article we are sharing with you some of the tips and tricks related to unity scene management and inspector etc. (we have repeated some of the tips from our previous post).

Scene Tips and Tricks



See Also:  Unity Tips and Tricks Part I

Unity3d Training and Certification in Pakistan

 Unity3d, the amazing cross platform game-engine developed by Unity Technologies, helping thousands of users to develop games, simulations, architecture, gamification, VR, Mobile and Console applications. In April 2016, Unity announced it own certification program with this objective and background:

In talking with members in the Unity community, one of the common, recurring themes we have encountered is a need for a way to reliably assess an individual’s Unity knowledge and skills against a benchmark of proficiency.

In an effort to respond to all of these needs, we developed the Unity Certification Program, and at GDC 2016 we were thrilled to announce that the first level, Unity Certified Developer, is now available!


In order to make accessible its certifications in different countries,  Unity Technologies has partner with different training institutes. You can find its partner list here. Initially there was no affiliated partner exists in Pakistan but yesterday, i received an email from unity and I am pleased to share with you that, CETA has become the first and only Unity authorized institute in Pakistan.

"We are proud to announce our first Authorized Training Center in Pakistan: Center for Enterprise and Technology Advancement (CETA). You can now learn and get certified all at the same place!"

Now congrats for all Unity fans in Pakistan, CETA is giving Game Development Training in collaboration with Unity for the first time in Pakistan. Remember, its certification valid only for 2 years but  it is expected that it will teach you a lot as its course-ware seems comprehensive.


Advice for Junior Programmer

            Neither I am an expert programmer nor I have too much experience but I love to code and want to improve my skills. One of the way to achieve my this objective is, sharing my knowledge and experience with others. Therefore, here are some of the rules which I have adopted and it can be helpful for Junior or new Programmers. Honestly writing, I am still struggling to act on my own rules :). In my opinion! these rules are difficult but it will finally help you to become a good programmer:

  1. Don’t copy-paste code ever, even you know the Syntax/Logic. Write Yourself Always.
  2. Develop or Contribute to Open Source Projects.
  3. Join Programming Forums Stack overflow, Codeproject, etc. Spend some time there to solve problems.
  4. Start Building Robust Portfolio (preferably research-based)
  5. Write a Blog, share your hard-work and experience (You even can make money online through it)
  6. Prefer Good Mentor over Big Company. A good mentor will develop your skills.
  7. At first, don’t ask everything from a senior, try yourself first.
  8. Don’t allow seniors to write code for you, get instruction but write yourself.
  9. Code for other developers. I mean code in a way that other programmer can understand it easily.
  10. Use comments always. You will forget your own code next month. 
  11. Always welcome new technologies. Don't hesitate to work on new techs.
  12. Aim every day, love your work.
  13. If you don’t like the working environment or find a good opportunity then, Quit. Don’t waste your time.

Is Programming for everyone?

From my personal experience of teaching and as a programmer and lead (for particular time period), I found that programming is not for everyone. but this is usual and common, as

  • Not everyone can be a Doctor
  • Not everyone can be a Mathematician (this is 100% true for myself :)
  • Not everyone can be an Architect
  • Not everyone can be a Lawyer
  • Not everyone can be a Leader etc., etc.,

        Therefore, no exception for programming field. It is a skill that require motivation, hardworking, dedication along with Good Mentor/Teacher and will. There are significant programmer who are self-taught and there are also significant programmer who don;t know how to program despite good teaching and mentoring. Some people learn programming syntax easily but become fail to provide/think solution of a particular problem. Some people even fail to learn syntax and afraid with the syntax.

Immediately Start Earning with Programming

Most of the novice are willing to learn and earn quickly through programming. So I decided to provide them step by step solution. Novice in the programming field is want to know that which programming language will allow them to earn immediately.?



My simple answer to them, start with HTML and CSS. HTML/CSS is easy to start with but remember, it is not a programming language but actually a rendering language. HTML allows you to structure web pages and it will render your desired content on the web page while CSS use to design your web page (It is actually a makeup for your HTML).