Wednesday, March 30, 2016

Which is the most difficult programming language to learn and why?

Sunday, March 20, 2016

why does Microsoft Gives only 1Gb ram in 16k smart phones?



This is not to say that Windows Phone is better than Android or iOS just because it takes up less space. That would be like saying burger is better than pizza because it takes less space :P Current mobile OSes are fundamentally different. 

More of a trivia to put "optimization talks" to rest. Widows phone happens to run the most number of runtimes and graphics libraries. WP has 4 runtime and 2 Graphics stacks. Android has 2 runtimes and 1 graphics stack. iOS has 1 runtime and 2 graphics stacks.
WP has supported Silverlight and Native apps since WP7 days. It had XNA too as a game platform. WP8 added support for DirectX to make porting games easier. WP10 will add Universal runtime too while XNA was deprecated in Windows phone 8.1. It still manages to maintain backwards compatibility and performance across the board. Android hosts a Java Runtime Environment and a Native runtime. Of course you can add other frameworks at will - thanks to the customizability of Android, but they will never work well. Mobile chips just aren't powerful enough. iOS has just 1 Native runtime and that too is sooo frequently modified that you can forget about backwards compatibility. 
WP supports OpenGL and DirectX graphics libraries. DirectX support was added in WP8. Its the library behind high end Console and PC games. These two libraries are fundamentally different and this calls for a radically different Driver Model which the WP pulls off surprisingly well. Android runs OpenGL but can also run whatever the hell you want though not recommended. iOS currently supports OpenGL and Metal (both kind of similar). Metal is based on Vulkan (which is the successor to OpenGL and loosely based on AMD Vulkan) - a low overhead graphics library Developed by Khronos/AMD. This will not be the case for long as OpenGL will soon be phased out and iOS will move entirely to Metal which was introduced with iOS8.


Tuesday, March 15, 2016

What are the best websites to learn programming?

Hi , you can check this website
this website has more than 1200 course and more than 36000 videos
it contain almost all tutorial from the internet also it's free completely
if you want also you can see the all catagory of the site
this website is like the biggest resource for me in all language that i know
i hope that will help you a lot my friend :)

Monday, March 14, 2016

Change your Windows 7 Boring Logon Screen


  1. Download any wallpaper of same resolution as your screen's(should be jpg only).
  2. Make sure if the size of that wallpaper does not exceeds 250kb, if it exceeds250kb then compress it online Compress Image - Compressnow.
  3. Rename the file name as "backgroundDefault.jpg"
  4. Copy file in C:\Windows\System32\oobe\info\Backgrounds\
  5. If there is no folder named Backgrounds in info then create one.
  6. Hit Windows+R for run command.
  7. Type regedit and Hit Enter
  8. After Registry Editor's window opens up, hit Ctrl+F and find this keyword"oembackground"
  9. You will see this screen


Once you'll get this screen Double click on OEMBackground


  1. Press OK and you are done.
Enjoy new Logon Screen and spread this.

Sunday, March 13, 2016

Python script to Notify GTU exam results when uploaded.

Actually I recently made this type of script to check for my 3 Semester result. I used urllib2 and requests module to scrap through the result website.  This script does very simple thing it finds for the keyword of Result of Semester 3 if it founds nothing it goes into sleep for next 15 minutes and if it gets it sends notification to my Desktop ( I use ubuntu so notification won't work in windows ).
Here is the code.
  1. #This is a script checks for Result of 3 sem every 15 Min
  2. #Author Harit Dholakia
  3. #Just for Fun
  4. import urllib2
  5. import re
  6. import os
  7. import time
  8.  
  9. while 1:
  10.  
  11. html_content = urllib2.urlopen('http://www.gtu.ac.in/results.asp').read()
  12.  
  13. matches = re.findall('MCA SEM 3', html_content);
  14.  
  15.  
  16. if len(matches) == 0:
  17. os.system("notify-send 'Yeah' 'Result is not declared yet'")
  18. time.sleep(900)
  19.  
  20. else:
  21. os.system("notify-send 'Oops' 'Result Declared'")
  22. quit()
Here the output.
I kept this script running for two days and I was the First one the get the news of Result.
I luckily scored good marks. :) :)

Friday, March 11, 2016

What are the best free learning sites?


1. EdX
EdX is your one-stop shop for all things university. From a UC Berkley class on essay writing, to a Harvard course on Einstein, they’ve got it all.
With a helpful search bar that lets you explore by school, subject or topic, it’ll only be a matter of seconds before you find something that will catch your eye.
Free online education, as you’ll continue to see, isn’t limited to nonacademic institutions, or places you’ve never heard of. EdX features courses from MIT, Dartmouth, Cornell, and more that would make your head spin.
Enrolled in a course from Columbia University? Not the worst way to start your next meeting.
2. ALISON
ALISON has partnered with top publishers, among the likes of Macmillan and Google, to bring you courses tailored to areas where you may need some beefing up.
Ready to explore more about supply chain management? How about polishing those HR practices? Why not nursing? Somebody’s always hurting himself in the office.
Like the perfect content curator, ALISON takes top, reputable materials and makes them super accessible. Watch those excuses about time fly right out the window.
3. MIT OpenCourseware
For a more concentrated selection of coursework from a university as well known as college itself, check out what MIT’s serving up with MIT Opencourseware.
They offer everything from courses on animal behavior to statistics and probability — both of which may come in handy at that conference you’ve got in Las Vegas next month.
Neilson Barnard/Getty ImagesCoursera co-founder Daphne Koller.
4. Coursera
Much like EdX and ALISON, Coursera combines more than 100 courses from elite institutions.
Taking from countries all over the world, this massive library of courses has more to offer than you could ever fit in, but that shouldn’t stop you from diving head first.
With courses from Stanford, Duke, and the University of Edinburgh waiting on the homepage, there’s no reason not to join the more than 11,000,000 users today.
5. Microsoft Virtual Academy
For a step away from the purely academic, take some notes from the guys who pioneered personal computing as we know it. Microsoft Virtual Academy offers courses in IT, Cloud Computing, and all of the stuff on the Internet that you have no explanation for.
You can ever register for live events, like a tutorial on 2D game programming in HTML5! There are courses for students at every level, so you can get going without the fear of getting mocked.
6. CodeAcademy
In another move towards all things computers, check out CodeAcademy. Still trying to figure out what CSS is? Not quite confident in JavaScript? Sick of having to call your web dev guy over every 15 minutes? CodeAcademy is here to help.
This smart site is designed to help you interactively learn code, no matter what level you’re at. So start with the basics of HTML if you need to, and work your way up to a whole new level of confidence online.
7. Moz
Beyond being one of the most prominent authorities on SEO out there, Moz has anexceptional bank of resources to learn anything and everything about search engine and content marketing — for any player in the game.
With expert guides to Link Building, Social Media, and SEO, Moz is sure to be a priceless resource for refreshing your skills, and bringing the uninitiated on in a snap.
8. HubSpot Academy
Not to be outdone, up-and-comer HubSpot has been a leader in producing courses and eBooks on everything “content marketing.”
What’s great about HubSpot is that they’ve taken it one step further: certifications. If you’re really looking to boost your credentials, and stand out amongst the sea of hungry employees and job-seekers, this is a great start. It’s simple, it’s free, and you’ll really learn.
9. iTunesU
While not everything on iTunesU is free, there’s plenty of content to be had without spending a penny. It’s for those of us who really don’t have a free minute beyond our commutes: Courses can be loaded on your phone, into your computer, or synced into your car for easy on the go listening to podcasts and lectures.
The tools you need to start your workday off on the right foot, right to your phone.
10. Duolingo
Finally, in a category all its own, is Duolingo. It’s a revolutionary, and extremely intuitive, language-learning tool that lets you truly go at your own pace. By integrating sound, text translation, visuals, and speaking into simple phrase, you’re slowly helping to translate un-translated pages of the Internet while you learn.
It’s free, and it’s beneficial to those who aren’t yet fluent in English. And if you’ve already got a foundation for your second (or third) language, there’s an aptitude test to help get you started from a place where you can immediately being improving.

Tuesday, March 8, 2016

What Are Some Interesting PHP Facts

I would like to share some interesting facts about PHP which anyone related to this language should know. These facts can also be very imporatant for the beginners as it will give them a basic overall understanding of this useful language and also for experienced developers who are unaware about it.
Please share, like or comment this post if you like it.

  1. PHP originally stood for Personal Home Page.
  2. PHP was originally designed to replace a set of Perl scripts to maintain his Personal Home Pages (also known as PHP).
  3. PHP which is now officially known as ‘Hypertext Preprocessor’ was released in the year 1995.
  4. Initially written as a set of Common Gateway Interface (CGI) in ‘C’ (1994).
  5. PHP was originally created by Rasmus Lerdorf in 1995. He wrote the original Common Gateway Interface (CGI) binaries.
  6. Zeev Suraski and Andi Gutmans, two developers at the Technion IIT, rewrote the parser in 1997 and formed the base of PHP 3.
  7. PHP 3 was official launched in June 1998.
  8. Suraski and Gutmans rewrote the PHP 3’s core, producing the Zend Engine in 1999. They also founded Zend Technologies in Ramat Gan, Israel.
  9. On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released.
  10. On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II. PHP5 introduced full featured object-oriented programming support. It was there inPHP 3 and PHP 4 but only the basic features.
  11. PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) due to restrictions on the use of the termPHP.
  12. PHP was originally designed to create dynamic and more interactive web pages. It is the most widely-used, open-source and general-purpose scripting language.
  13. It is possible to use PHP in almost every operating system. PHP can be used in all major operating systems including Linux, Microsoft Windows, Mac OS X, and RISC OS.
  14. It is the most widely-used, open-source and general-purpose scripting language.PHP was originally designed to create dynamic and more interactive web pages.
  15. It is a server-side scripting language often written in a HTML context.
  16. PHP code in a script can query databases, create images, read and write files and talk to remote servers.
  17. The output from PHP code is combined with HTML in script and the result is sent to the user.
  18. PHP uses procedural programming or object oriented programming and also a mixture of them.
  19. The latest version of PHP at the time of posting is PHP 5.4.11. Recently announced by the PHP team is the the release of PHP 5.5.0alpha4 which is under testing. This release fixes some bugs from alpha3 and add some new features.
  20. Some of the biggest online brands, such as Facebook, ProProfs, Digg, Friendster, Flickr, Technorati, and Yahoo! are powered by PHP.

Read More: Some Interesting PHP facts

What are the best blogs for a PHP developer?

Official Manual
Authors
Popular Sites
Others

Xiaomi Launches 32-inch and 43-inch Mi TV 4A in India, Price Starting At ₹13,999

After launching the Mi TV 4 in India, Xiaomi has launched two new affordable smart TVs in India. The company has introduced a 43-inch ...