Archive for the ‘Software Development’ Category

jQuery Essentials

January 10th, 2010 by koolb | No Comments | Filed in AJAX, Open Source, Programming, Software Development, Web Development

I was checking around web for some javascripts and found this great slideshow about jQuery essentials. Just have a look,it will provide you essentials to start using jQuery
jQuery Essentials

Don’t forget to check this blog post too. It also has some examples to beginners.

Tags: , ,

KPI viewer Vista gadget development on Windows 2008 64Bit

November 18th, 2008 by koolb | No Comments | Filed in .NET, Business Intelligence, Programming, Sharepoint, Software Development, Vista, Windows

I wanted to display some KPIs as a vista gadget. I had to use the PC which I already setup SQL SERVER, MOSS and PPS on a Windows 2008 Server. I googled to find a way to setup Vista sidebar on Windows 2008 and found a great post from reggies blog with simple instructions. Sidebar worked like a charm on Windows 2008 after following the instructions on the reggies blog.
I also found a sample Vista gadget code from hanselman.com. Download and copy the code to gadget directory and add the gadget to the side bar. The method he has followed is to get the RSS feed from Sharepoint KPI List and setup the feed URL through the options dialog. After setting up the RSS feed the options dialog, it displayed the message “connecting” but nothing happened. I went through the Javascript code and couldn’t find any problem. Next, I setup the same gadget on a Vista Box and it worked without a problem.
I identified the problem is in the Windows 2008 and looked for a way to debug the code. Vista Gadgets cannot be debugged in a normal way and I found some good information from Keith Elder’s blog and howtogeek.com on setting up the debugging. When I debug, the problem was in the line where the XMLHttp.open ” g_XMLHttp.open(‘GET’, g_WsUrl + “&kalle=1234″, true);” and it was throwing an exception saying “Microsoft JavaScript runtime error: Permission denied”. But everything was fine on IE and there cannot be a problem with JavaScript engine. so I looked google for a solution. Couldn’t find the exact solution but some one has resolve the issue by coping vista gadget files to a FAT partition and coping them back to NTFS partition. I understood that the issue is not in the JavaScript but with file permissions. When I right click on the files and I got the following dialog.

Windows File Properties - UnBlock Button

I saw something different as there is a Unblock button. I pressed the Unlock button for the all the files related to Vista gadget and retried again. This time it work with out a problem. This is the first time I have come across the “Unblock” button scenario. I found some information on the “Unblock” functionality after some searching. If you get “Microsoft JavaScript run time error: Permission denied” again, don’t forget to check file permissions first, specially on Windows 2008 and Visa.

Fathers of Software Engineering

April 30th, 2008 by koolb | No Comments | Filed in Cross Platform, Open Source, Programming, Software, Software Development, Web, Web Development, Windows

Fathers of different flagship software inventions of all time.

  • Father of Javascript
  • Father of Java
  • Father of C
  • Father of PERL
  • Father of C++
  • Inventor of SQL & Creator of RDBMS
  • Father of PHP
  • Author of Structs, JSF, Tomcat
  • Inventor of Data Flow Diagram
  • Father of Python
  • Father of MySQL

Fathers of Software Engineering

(Click to see a large image)
Thank you Anjana for forwarding this image to me.

Is it really required to show the User Name and Password in ASP.NET Error Page?

February 3rd, 2008 by koolb | No Comments | Filed in .NET, ASP.NET, Internet, Programming, Software Development, Web Development

I got the following ASP.NET error when I was browsing a local web site. The error is due to ASP.NET cannot authenticate using the User Name and password in the impersonate tag. Ther real issue is not the windows authentication problem. Because the reason for the error could be the domain server is down or the administrator has used an incorrect user name and password in the web.config.

But is it sill good to show the User Name and Password in the error message? You can argue that the developer has switched on CUSTOM ERROR MESSAGES and he has forgotten to switch it off at the time of deployment. But still is it really required to show the whole user name and password in the error? If the necessary ports are not secured, someone can easily login to the server and mess up the server very easily. (In this case only the port 80 and 21 is open and this user won’t have permission for FTP.)

mydaylk-aspnet-error-2.PNG

Popularity of programming languages

August 13th, 2007 by koolb | No Comments | Filed in Programming, Software Development

According to the following blog post Java still is the most popular programming language. Its hard to believe that C# only has 3.9% popularity among other languages.

For some time now, Tiber has published on a monthly basis its so-called Programming Community index, measuring the popularity of programming languages. It uses search engines such as Google, MSN and Yahoo to calculate the ratings based on the number of available skilled professionals, courses and third party vendors.

The methodology is not without flaws, but the general results are widely acceptable.

The dominance of the C family of programming languages and Java is apparent, and this has not changed at all.

Java is first with 21.8%, but if C (15.7%) and C++ (10.1%) are combined, they would overtake Java.

C is notable, because many other languages including Java are actually derived from it, and other languages including Ruby, Luna, Python, etc are implemented in C.

If a young aspiring programmer wants to seriously do programming, I would recommend C.
However if the person wants to develop business applications, then Java or .Net would be the choice.

VB (VB, VBA, Vibe.Net) has 10.6% about the same share as C++. Then comes PHP (9.7%) and Perl (5.3%), followed by C# (3.9%).

The three P’s PHP, Perl and Python (2.7%) have not changed much over the years.

Read the full post @ 10outof10.blogspot.com and don’t forget to check the Programming Community index

Write once – Run in any OS……

May 29th, 2007 by koolb | No Comments | Filed in Cross Platform, Open Source, Software Development

Seems likes a dream. But California-based startup plans to release an application that will allow Windows, Mac, and Linux users run Linux binaries without any modifications. Check out this intro video.

You can find out more @ http://www.openlina.com/

Technorati tags: , , , , , ,

Open Source Licensing – explained using a simple matrix

March 22nd, 2007 by koolb | No Comments | Filed in Open Source, Software Development

Sometime its very hard to understand open source license terms. What you can really do with it and what you cannot do with the os software. I found this Matrix of licenses which clearly explain what you can do what you cannot do.