My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com

Pages










Wednesday, September 27, 2017

Best IDE for PHP: Edit, code, Autocorrect, run & debug

Let me begin this time with a theoretical answer- Nothing is good or bad. What suits you best is best for you!

Amused! Now, let Anwar come to the real analysis and advice.

I have seen people settling with Aptana now a days. It's reasonably fast, but chokes on large files when syntax highlighting is on. Setting up PHP debugging is hard. But three good things about Aptana: easy plugin installations, very fast and intuitive Subversion plugins, lighting fast file search.

I tried Eclipse PDT and Zend for Eclipse, but they have nightmare interface when it comes to PHP code. Installing plugins is a living horror of version mismatches and cryptic error messages.

I also use Komodo. Komodo has a very intuitive interface, but is ridiculously slow, chokes on medium sized files with syntax highlighting. File search is intuitive, but rather slow. Subversion integration is not that great - slow and buggy. But trust me on this, if you are using 16 GB RAM laptop or computer, Komodo will beat up on any rivals.


There is again another good player in this field. Enters PhpDesigner!!
The main pro of this one is that it's NOT Java based. This keeps the whole thing quick. I am listing its features that i collected from an internet post (Why to type again if its listed. Thanks to that man!)

Intelligent Syntax Highlighter - automatic switch between PHP, HTML, CSS, and JavaScript depending on your position! Lets see the languages supported!

PHP (both version 4 and 5 are supported)
SQL (MySQL, MSSQL 2000, MSSQL 7, Ingres, Interbase 6, Oracle, Sybase)
HTML/XHTML
CSS (both version 1 and 2.1 are supported)
JavaScript
VBScript
Java
C#
Perl
Python
Ruby
Smarty


Support for both PHP 4 and PHP 5

Code Explorer for PHP (includes, classes, extended classes, interfaces, properties, functions, constants and variables)
Code Completion (IntelliSense) for PHP - code assist as you type
Code Tip (code hint) for PHP - code assist as you type
Work with any PHP frameworks (access classes, functions, variables, etc. on the fly)
PHP object oriented programming (OOP) including nested objects
Support for PHP heredoc
Enclose strings with single- or double quotes, linefeed, carriage return or tabs
PHP server variables
PHP statement templates (if, else, then, while…)
Powerful PHP Code Beautifier with many configurations and profile support
phpDocumentor wizard
Add phpDocumentor documentation to functions and classes with one click!
phpDocumentor tags
Comment or uncomment with one click!
Jump to any declaration with filtering by classes, interfaces, functions, variables or constants
Debug (PHP):


Debug with Xdebug

Breakpoints
Step by step debugging
Step into
Step over
Run to cursor
Run until return
Call stack
Watches
Context variables
Evaluate
Profiling
Multiple sessions
Evaluation tip
Catch errors



Please note that the above features are decision making attributes. I analysed all other IDEs as well, over these parameters and able to reach some conclusion. Atleast for me i know who the bride would be. Ah! Bridegroom for all those female readers ;)

Coming  to my final verdict. I find its the Komodo that wins!
It has the best debugging facilities of any PHP IDE I have tried, is a very mature product and has more useful features than you can shake a stick at. Of note, it has a fantastic HTTP inspector, Javascript debugger and Regular Expression Toolkit. You can get it so that it steps through your PHP, then you see your Javascript running, and then see your HTTP traffic going out over the wire!

It also comes in free (Komodo Edit) and open (OpenKomodo versions). And, remember, Komodo is best suited for many other languages as well like Python.

Cheers!
* Please note: I am having messed up times because of two sweet angels at ma home. The frequency of posts have decreased, but i promise to come up with more researched book that i promised. And guess what, the poetry book that i was working upon is almost complete now. My wife is so enthusiastic for it :)

Friday, June 30, 2017

Link Aadhaar and PAN card : Income Tax India New Rule demystified at W3LC.com

Now that it is official that you need to link your Aadhar and PAN card details, the obvious question is how to do it. This post will explain that. But before that i will like to explain some points.


The Honourable Supreme Court in its landmark judgement has upheld Section 139AA of the Income Tax Act as constitutionally valid which required quoting of the Aadhaar number in applying for PAN as well as for filing of income tax returns. The Income Tax India official website shows this message clearly as on 14/06/2017. CBDT has extended the due date of furnishing Statement of Financial Transactions for AY 2017-18 from 31st May 2017 to 30th June 2017. https://incometaxindiaefiling.gov.in/




Method 1: Online Portal To link your Aadhaar with PAN:

* Go to the income tax e-filing website https://incometaxindiaefiling.gov.in/
* Click on the tab ‘Link Aadhaar’ on the left-hand side of the website. (See above screenshot)
* This will automatically lead you to https://incometaxindiaefiling.gov.in/e-Filing/Services/LinkAadhaarHome.html
* Fill your PAN and Aadhaar number
* Then enter your name exactly as mentioned in Aadhaar and then submit it.
* Enter captcha and click on 'Link Aadhaar'.
* After verification of details from the Unique Identification Authority of India (UIDAI), the linking will be confirmed.
* You will also get email at your registered email Id.
* In case, your linking was already done earlier, it will tell you that its already linked.


Method 2: SMS Method to Link you Aadhar and PAN card

For this you have to keep ready following information:
1. Your registered phone number with Adhar card
2. Your Aadhaar Number
3. Your PAN number

You need to send an SMS in a required format to given number by the government of India.

SMS format to link Aadhaar with PAN:
Send SMS to 567678 or 56161 from your registered mobile number in following format:
UIDPAN<12 aadhaar="" digit=""><10 digit="" pan="">

Example:
UIDPAN 123456789000 ABCDE1234M


Article on Hindustan Times
Guide on Business Standard Website
https://cleartax.in/s/how-to-link-aadhaar-to-pan
BankBazaar Notes




Saturday, May 20, 2017

AMU Engineering cut off explained : Demystifying questions like Can I get admission in the Aligarh Muslim University BTech with a score of 72?

This article will explain you every bits of AMU Engineering cutoff and waiting lists.

To start with, a simple answer to what is the cutoff for the engineering entrance examination - Fluctuating!

Many of the young students often ask questions like: Can I get admission in the AMU BTech with a score of 72? My reply to all of them would be - You are just on margin and nothing can be predicted surely at this score!

Having said that, I congratulate them on the efforts they put in. They surely are among good students who have the mettle to get admitted to this prestigious university. To anyone with this high score, you now have 3 options:

1. Wait and watch for the results to come. I wish you all the best and once selected respond here with the good message.
2. Hold tight! You might also get included in Waiting lists. There might be 3 waiting lists in themselves. You can get admission if people drop off and do not take admissions.
3. Start focusing on more exams and preparations should never loose focus waiting on the results on one exams. Exams are a part of life, and not the life itself!



It should be understood that the cutoff shall be based on some of the influential factors which affect the same to a great extent. Various aspects are taken into consideration while announcing the AMUEEE 2017 Cutoff Marks. It varies highly with the difficulty level of question paper and other factors. Generally,  for moderate level of difficulty , it is around 70-75 for external students and around 60-65 for internal students.



The total number of seats are around 365 and number of seats in different trades are as follows:
Chemical Engineering - 30
Civil Engineering - 60
Computer engineering - 50
Electrical Engineering - 60
Electronics Engineering - 50
Mechanical engineering - 90
Petrochemical Engineering - 20
BArch - 20


The cutoff depends on how many well prepared candidates appeared for the exam that year, question paper and if you are internal or external. Some important factors that you can include in guessing the cutoff present year are listed as following:

  • Total Number of students
  • Availability of seats
  • Toughness level of examination
  • Lowest and average marks in the entrance examination
  • Marking scheme
  • Performance of the candidates
  • Previous year cutoff trends


As per the official notifications:

AMU determines the minimum scores obtained by the candidates to be considered for admission to various engineering courses at the university. AMUEEE 2017 cutoff involves various important aspects. The vital aspects are given below.
For admission to various undergraduate engineering courses at AMU, the candidates have to either score the minimum required cutoff marks or above that.
AMU conducts AMUEEE 2017 and is the competent authority that decides AMUEEE 2017 cutoff marks.
AMUEEE cutoff 2017 is determined by various factors like candidates’ performance level, seat capacity of the respective courses, total number of test takers, and difficulty level of the paper and reservation policy.
Aspirants, who fail to secure the minimum marks required for admission to AMU through AMUEEE 2017, will not be considered eligible for admissions to B. Tech courses at the university.
On the basis of AMUEEE 2017 cutoff, AMU prepares AMUEEE 2017 merit list for the examinees.
As per their ranks in AMUEEE 2017 merit list, seats are allocated to candidates.



My three advises here:

  1. Concentrate on your preparations and give your best shot. Don't prepare with a preset target score as it can deceive you into making a wrong decision at your test date. Think 95% plus!
  2. Even if you don't get your favorite branch, you have a chance to change your branch in the beginning of your second year, provided you study well. I did that. You need to have very high scores in your first year results.
  3. In case you get a waiting list, do not be disheartened. There is a good chance that it will get clear as many would cancel their admissions. 


I wish all the students a very best of luck in all the engineering entrance exams. You all are a gem and a treasure for the nation.

Jai Hind & Jai Ho!


Sunday, May 14, 2017

Using Github ReadMe opened programatically : How to open and read the ReadMe.md file dynamically


It is noteworthy to understand that HTML does work in the ReadMe.md file. With this clear understanding, I guess many of such questions would be automatically answered like - how to make bold font in ReadMe file, or how to insert image etc. Also note that it depends a lot on what application/ text editor you are using and also lot on the OS. 


Recently I had trouble in inserting blank line character in the Readme.md file of Github. I personally preferred < br /> tag there, and i have a full post describing the same: http://www.w3lc.com/2017/05/new-line-in-readme-file-github-fixing.html.


I have demonstrated the change in a git commit in the Github repository explained in the post. See: https://github.com/Anwar-Faiz/Simple-Java-Unicode/commit/85bd54531067ff4055c5e8801aba5324221d5ae3



This understanding was much needed to handle the question and also to find many other uses of why you would probably need to do it!



Further, to answer the question straight, you need two steps: 

1. Find the Url for the ReadMe.md file in Raw version. For example see one: https://raw.githubusercontent.com/Anwar-Faiz/forkrap/master/README.md 

How to open Raw view of ReadMe.md file: ( See screenshot )



2. Now if you want to use server side the using file_gets_content etc of php you can load the url. Or, if you want to use jquery, you can use the Load().



** Do, also notice that if you do View Source of the Raw URL page, you just see, plain text. So, you don't need to do much text parsing stuffs as well :) This is a good news.

** Next you can use unescape functions or tools like codebeautify to unescape the characters that can alter with the look and feel of your HTML like ' <   " etc etc.



Using Github ReadMe opened programatically : How to open and read the ReadMe.md file dynamically: https://www.w3lc.com/2017/05/using-github-readme-opened.html

To create sophisticated formatting for your prose and code on GitHub with simple syntax, you can refer the basic writing and formatting syntax at: https://help.github.com/articles/basic-writing-and-formatting-syntax/


Have a great Day dear :)

@Anwar Jamal Faiz


Saturday, May 13, 2017

New line in ReadMe file Github: Fixing the blank new line break issue in ReadMe.Md files in Github

This post is aimed to fix a very simple issue - Fixing the blank new line break issue in ReadMe.Md files in Github. You can find the ReadMe.Md file which had this problem and how it was fixed in my Github repository: https://github.com/Anwar-Faiz/Simple-Java-Unicode


When editing an issue and clicking Preview the following lines in Read me file:
a
b
c
i.e. it shows every letter on a new line.

However, it seems sometimes that after pushing similar markdown source structure in README.md joins all the letters on one line.

Issue: This usually happens because of different Operating systems and text editors used.


Solution:
Interpreting newlines as
used to be a feature of Github. But recent documentations do not list this as a feature. So, you have to do it manually. But its easy!

Method 1: Introduce a __ character at end of each line. _ acts as a blank space
i.e transform:
a
b
c
as following in the ReadMe.md file:
a__
b__
c
(where ).

Method 2: Explicitly add
tags.
Eg:
a
b
c


I personally prefer method 2 for a number of reasons. For example you can see following commit of mine just to fix the same issue:
https://github.com/Anwar-Faiz/Simple-Java-Unicode/commit/85bd54531067ff4055c5e8801aba5324221d5ae3


Using Github ReadMe opened programatically : How to open and read the ReadMe.md file dynamically: https://www.w3lc.com/2017/05/using-github-readme-opened.html

New line in ReadMe file Github: Fixing the blank new line break issue in ReadMe.Md files in Github
https://www.w3lc.com/2017/05/new-line-in-readme-file-github-fixing.html

To create sophisticated formatting for your prose and code on GitHub with simple syntax, you can refer the basic writing and formatting syntax at: https://help.github.com/articles/basic-writing-and-formatting-syntax/

Cheers ;)
Anwar Faiz