Today I came across an interesting app, Alive app from Times Of India. A very nice concept to engage smartphone users to interactive content. But this app is from TimesMobile, not Times Internet Limited. Whatever, lets go and try it out. I quickly opened web-browser on my Android 4.1 tablet and jumped to aliveapp.in. Install. [...]
Do you ever need to split a camel case or pascal case string to a set of words? This can be achieved simply by regular expressions in Java as well as C#. The following code is for Java: String camelCase = “StructuralDesignPattern”; StringBuffer label = new StringBuffer(camelCase + 10); java.util.regex.Pattern p = java.util.regex.Pattern.compile(“[A-Z][a-z]+”); java.util.regex.Matcher m [...]
[ This post is about software's disability to meet users' expectations. I know you have developed lots of software/applications over your career! Have you ever evaluated them on disability index? No, then read on. "You" = refers to our typical "software engineer" ] Ever heard someone saying “this software sucks”… I love such moments. It [...]
In Java, unreachable code is treated as compilation error. What do you think? Isn’t making it warning would have made developers’ life simpler? Of course you can write – if( true ) return; What if you could simply write return. This helps in testing a function quickly. As a good programming practice we always remove [...]
Jena is a semantic web framework implemented in Java. It allows you to store/query/inference RDF/RDSF/OWL triples. In Jena a set of triples (in RDF) are called Model or stored within Model object. By default Jena creates in-memory models, but this is not suitable if you have pretty large set of triples to process. Here comes [...]
Heard of ‘update-alternatives’ on Linux? It’s a smart utility to find various versions of one software and set default. For example, you may have GNU Java as well as Sun Java. (frankly saying, I hate GNU Java, aka gcj) sudo update-alternatives –config java [ Where can I see all installed JVM? On Ubuntu, Java Virtual [...]
Lucene is a open-source high performance full-text search engine and has libraries for almost all well known languages (Java, C#, PHP, Python, C). This post is about describing StopWords for a full-text search engine (Lucene). ( Lucene can also be used to index database table rows. The advantage for having Lucene search instead of (database [...]
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 [...]
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 [...]
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 [...]