Proposal for WordPress Summer of Code

Requirements: Create a suite of plug-ins for event planning, tie it into WordPress MU/BuddyPress/bbPress, and create a community organizing platform for open source release. Using WordCamp.org as the test case, the resulting site would include functionality for registration, calendaring, additional roles/permissions, extended profiles, directories (vendors, participants, etc), discussion and messaging, coordination around things like carpooling and planning meetings, event media, etc. Source WordPress GSoC2009. This proposal generalizes it further. Project Proposal Social networks are a medium of easier communication, bounding and bringing people together. Any effort made to achieve this is highly appreciated by the community (of users). Event management…

Read more

Fun with Yahoo Media Player!

A quick way to insert music in your site: Create hyper-links for few MP3 files Insert following script code to your page <script type=”text/javascript” src=”http://mediaplayer.yahoo.com/js”></script> You are done! Yahoo! Media Player will be loaded and it will make all media links clickable 🙂 Here are few of my favorite tracks. Use the play button to listen. Thanks to RadioReloaded.com. Tere Naina, Chandi Chowk To China (2009) Jaane Kyun Log Pyar Karte Hein, Dil Chahta Hai (2001) Akela hoon Mein, Raeth Gum Sum Ho Kyun, Aksar Ye Jo Mohabbat Hai, Dil Vil Pyar Vyar (2002) Mumma, Dasvidaniya (2008) Tujh Mein Rab…

Read more

Concept Maps for sharing knowledge

A concept map is a graph to organize (domain) knowledge. It’s a way of representing concepts (entity/act/idea/process) and relationship between them. It is developed to facilitate learning and knowledge sharing among humans. Here is a simple concept map describing myself. The concept maps are quite similar to RDF Graphs, where we can explain entities and relate them with predicates only. With concept maps we can related any concept/idea with either predicate, act or relationship (RDF becoming more stricter). Wish you a very Happy New Year! – ankit

Read more

Visual Studio – Database Project Not Loading

Have you ever created a Database project and after some time you are not able to load it in the Visual Studio? Probably you might be getting following error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) The database project requires an active database connection to load at design time. Probably it uses that to compile/verify scripts. The problem here…

Read more

Eating Exceptions… eeehhhh!

Following are few points you need to take care when you decide to eat an exception. These are very much specific to C# language. a. Limit the code block. Attempt to wrap one or two statements within try. b. If an exception is eaten, log details to some logging mechanism. In short never write empty catch catch(Exception) {}. c. Never eat exception that indicates some bad behavior of code execution like – ArgumentNullException, NullReferenceException, ArgumentNullException, InvalidCastException, InvalidOperationException, AccessViolationException, etc; d. There is a big difference between throw and throw exeception statements. This is in terms of resetting stack trace which…

Read more

Let’s Digg into Google Maps

The Web would not be so simpler and interactive without Ajax. This technology makes Web applications pleasant, interactive, quick responsive and light weight. Take any of the online map applications, no matter whether it is Yahoo Maps, Google Maps or Windows Live Local, and you will find awesome precession, cutting edge technology (beyond DHTML, XML and JavaScript) well managed data. Being software developer, these always attract me and I want to understand the scene behind those best software architectures/implementations. Over the last few days I was studying (hacking) Google maps and wanted to see how it works? Here are my…

Read more

Windows CardSpace: FAQ for ASP.NET Developers

Few frequently asked question for ASP.NET developers: The Identity Selector dialog box is displayed only for SSL protected pages. Therefore you are required to deploy your application on a Web server and install a SSL Certificate. Windows CardSpace does not work with Self Signed Certificates and will die horribly. These certificates do not have CRL field. It contains a URL that CardSpace will check for the revocation list. For ASP.NET developers there is Toolbox control written by Christian Arnold. Add this to your Toolbox and you won’t need to write a single line of code. Watch demo. When you use…

Read more

TFS – Free Text search in History Objects

It’s a best practice to add comment when you do check-in to the source control. A text comment is associated with the change you made to the item. Some of the times you need to find a particular comment, but the View History tool available with Visual Studio/TFS is limited that you can’t make a search in the history results. Say you want to find all check-ins by a particular user 🙁 Here comes the purpose of this small add-in. It provides search within history comments and find a particular change-set instead of traversing the whole list. The plug-in goes…

Read more

Think & Implement at Light Speed!

If you got an ‘idea’ that can drive business, implement it right away before someone snatches it from you and publishes the implementation, especially over the Internet. That’s what happened with me. I had a thought of building ‘code-history’, history of each line of source code file. Typically when you look at the source control, you see file history. Actually it’s not directly associated with source code file; it’s first coupled to the change (change-set) you made and then linked to the file. So, the idea was to build Code History by combining two typical file operations: 1) File History…

Read more

Preview: LINQ

Hmmm… a new tool in my hands … and following equation makes me crazy about it! C# 2.0 + ADO.NET = LINQ = C# 3.0 In simple words Language Integrated Query (LINQ) exposes the power of SQL queries within C# syntax. This technology along with its tools allows you to connect to SQL database, extract metadata, build typed datasets/classes (using C# Generics) and make you use them along with C# syntax using just two lines of code. And not necessarily SQL databases, it can execute on any collection type. int[] numbers = { 5, 4, 1, 3, 9, 8, 6,…

Read more