anish's blog

Developing native Desktop Application using Javascript

Recently, I stumbled into the Open Source Development Platform called the Appcelerator Titanium. What fascinated me about it is that using that particular platform, one can make a native desktop application using the Javascipt and other scipting languages like ruby, python, and even php and many other languages.

Mobile applications including the Android and iphone, ipad apps are easy to develop using this Titanium SDK. I've tested the platform with the simple javascript and i was amazed to see the output.

Developing native Desktop Application using Javascript

Recently, I stumbled into the Open Source Development Platform called the Appcelerator Titanium. What fascinated me about it is that using that particular platform, one can make a native desktop application using the Javascipt and other scipting languages like ruby, python, and even php and many other languages.

Mobile applications including the Android and iphone, ipad apps are easy to develop using this Titanium SDK. I've tested the platform with the simple javascript and i was amazed to see the output.

MD5

The following code example computes the MD5 hash value of a string and returns the hash as a 32-character, hexadecimal-formatted string. The hash string created by this code example is compatible with any MD5 hash function (on any platform) that creates a 32-character, hexadecimal-formatted hash string.
using System;
using System.Security.Cryptography;
using System.Text;
class Example
{
// Hash an input string and return the hash as
// a 32 character hexadecimal string.
static string getMd5Hash(string input)
{
// Create a new instance of the MD5CryptoServiceProvider object.

Game Development Part:I

This would be the first part of the game development series in this tutorials, where we'd try developing a simple Cannon game. In this part I, here I have included the Cannon game code, event driven game using the tools: Microsoft Visual Studio 2010.

In part II, we'd make a Cannon Game II, with Event driven approach and using the
XNA game engine.

In the final part III of the Cannon III, we'd make a complete game with the
complete use of the Microsoft XNA game studio.

PreviewAttachmentSize
Cannon1.rar48.81 KB

Short Background on Functional Programming

In functional programming, programs are executed by evaluating expressions. Whereas imperative programming programs are composed of statements that change global state and manipulate variables when executed, functional programs are more akin to mathematical functions. They always map the same outputs to the same inputs (y maps to f(x)) without ever changing the values of the inputs/variables themselves, and they can be chained to each other via inputs and outputs (functional composition). Functional languages with this implementation are called pure functional languages.

Change your Facebook Theme using Firefox Addons

I have got two ways of changing your Facebook profile theme. One is using the Greasemonkey Add-on and the other using the Stylish add-on. Here is how you can change your theme using either of these two:

1)Using Greasemonkey Add-on:
First ensure you are using Firefox browser and then install the Greasemonkey Add-on.
Restart firefox and Visit this page with lots of Themes.(http://userstyles.org/styles/browse/facebook.com)
Click on the favorite theme you like and install the script.
After you load facebook.com you can view the change the Facebook theme.

2) Using Stylish Add-on:

Adopting Windows Presentation Foundation (WPF)

INTRODUCTION:
Last year Microsoft released Windows Presentation Foundation (WPF), a new platform for building rich user experiences on Windows. Microsoft has also announced that Windows Forms, widely utilized for traditional “forms over data” applications today, will continue to be supported for years to come. An obvious question then, is which technology to choose for new applications and when organizations developing Windows Forms applications should adopt WPF. The answers depend on a number of variables that we’ll explore below.

THE MULTIPLATFORM ADVANTAGE:

Multi cd

multicd.sh is a shell script designed to build a multiboot CD image containing many different Linux distributions and/or utilities.

The avantages to making a CD with this script are:
>> You don't need to burn multiple CDs for small distributions.
>> If you already have the ISO images, it is not necessary to download them again.
>> When a new version of one of the distributions is released, you can simply download the new version and run the script again to build a new multiboot image.

Instructions:

Double your Battery Life

Before, your only solution to have a decent battery life for your laptop was to buy an extra one. Now, there’s a lighter, more efficient, and cheaper alternative: Battery Doubler! Because it doesn’t use standard techniques (dim screen light, etc.), but finds out what is not being used and turns it off, such as, for example, the USB ports, you can achieve double the activity without sacrificing comfort. After using your battery a lot without paying attention to discharge and recharge it fully every time, its performance becomes very low.

Cloud Computing

Application Service Provider (ASP), Grid computing, utility Computing, Software as A Service (SaaS), Platform as a Service. All these words or more has been one time or another has been referred to Cloud Computing. What is Cloud Computing??? I’ve been spending a little of time in researching it as I thought it e being a little more buzzword in the market. Now I feel what not Cloud Computing is!!!