Guldasta (A bouquet of flowers)

… because life is about varied experiences

  • Subscribe

  • Blog Stats

    • 37,935 hits
  • Disclaimer

    All which I express here are my independent views/opinions and are not necessarily influenced by any organization I work/correspond with.

Archive for the ‘IT’ Category

Technology revisited

Samba server installation ..

Posted by imdad on February 26, 2009

i have a normal linux installation (fedora 5). I was stuck trying to start the samba server after installing it (version: 3.3, installed from a tar ball).

Then after quite a research, this script worked:

export LD_LIBRARY_PATH=/usr/local/samba/lib
killall -9 nmbd
killall -9 smbd
/usr/local/samba/sbin/nmbd -D -s /etc/samba/smb.conf
/usr/local/samba/sbin/smbd -D -s /etc/samba/smb.conf

file and save the above lines as

change its mode to executable

% chmod +x

execute it with root privileges

% ./startsmb

thats it … then you’ll not get errors like:

/usr/local/samba/sbin/smbd: error while loading shared libraries: cannot open shared object file: No such file or directory


Posted in f1, IT | Leave a Comment »

PGEE 09, IIIT Hyderabad question paper

Posted by imdad on February 15, 2009

following are some questions that appeared in this paper:

(there were just 6 ques of 25 marks each, with sub questions for every ques .. but here i am just typing down whatever i can remember)

1) find no. of integers between [100,999] that are (a) divisble by 7, (b) divisible by 3 but not by 4

2) if S = {i | 0<i<=50}, |S| = 10, A and B are subsets of S, |A|=|B|=5, sum of all integers in A is equal to that of all integers in B, then prove that there exist atleast one such pair A and B.

3) A sequence of integers was given and we had to show step by step construction of a binary search tree from that sequence. Corresponding in, pre and post order was asked and also the new structure of the tree after deleting a node.

4) if A and B are two sorted arrays (ascending) of integers. write algos to find (a) the closest pair in AUB. (b) the median in AUB.

5) write a C function to take a string and edit it so that all the vowels in it are removed.

6) a C prog was given and its output was asked.

7) design a binary counter to count from 1 to 8 using JK flip-flops, along with the tables, k-maps.

8) point out the adverse effects on TCP due to bit errors over a wireless connection. Design a parity check code for two bit error.

Posted in f1, IT | Tagged: , | Leave a Comment »

Poor web security @ IIIT, hyderabad

Posted by imdad on February 4, 2009

IIIT, hyderabad online admission webportal put up a v poor security show by enabling to list the index of all available admit cards and letting anyone download any admit card.

Though the portal puts up a php login terminal which gives u link to your admit card on entering yer application and id num, it actually also gives u the link to every other admit card.

lol .. iiit, hyd didnt expect this level of permeability from u, may be i’ll have to change things when i get there.

Posted in f1, IT | Tagged: , | 2 Comments »

Ecological Economy

Posted by imdad on January 6, 2009

I watched this documentary yesterday (Money As Debt):

It was very enlightning. I was surprised to learn a lot many new things about how banks and (eventually) economy actually function.

In this video was mentioned: Local Exchange Trading Systems (LETS). (which i sought out for in wikipedia)

This wiki turned out to be, what can i say, quite interesting and resourceful. It showed me route to so many other articles which were very similar to the ideas i had talked about in my earlier blog, Banking through Social Network Cohesion. Some articles worth mentioning here:

This indeed is an example where wikipedia and internet in general have been of such good help. And i believe that this aspect makes it possible that internet could play a very prominent role in changing the economic patterns for the better.

Posted in economy, IT | Tagged: , , , , | Leave a Comment »

An introductory on banking through social network cohesion

Posted by imdad on January 5, 2009

This follows my earlier blog where i had a question for you, as to what you think about Islamic banking.

The idea is regarding a web portal which envelops the desired features backed by suitable organization and human resource. My initial effort pondering over the possibilities of an alternative banking system yielded the results, talked about in the following abstract:

Banking Through Social Network Cohesion (BSNC).

A person subscribes to BSNC for 1+ of the following reasons:

  1. An online bank account that deals not in usury

  2. To generate revenue (or market ideas) for a new or an extended business.

  3. To look for and invest in profitable businesses.

In details:

  1. Online bank account that deals not in usury.

    • This is a social banking system with 100% reserve ratio.

    • It functions democratically, that is for and by people.

    • Lending is synonymous to risk sharing.

    • Hard money system or barter system is in place instead of fiat money.

  2. To generate revenue (or market ideas) for a new or an extended business.

    • BSNC is a concept through the realisation of the fact that a social web portal provides a platform for discussion of an idea which could reach out to a large number of people.

    • Further more the collection of these people is not random, but it is consistent with the actual network of contacts and weak ties that is centered around a person (who might be the proprietor of an idea) in her real life.

    • This feature of a social web portal could be utilized in business promotion and venture capitalism.

    • A person who subscribes for this reason should give in the details(consisting of standard queries) of her new/extended business idea, which is shared in a standard format.

    • These details pertain to figures such as :

      • Type of service/product

      • Initial investment

      • Production per month etc

    • And statements such as :

      • Goal

      • Cultivation record etc

    • Venture of a person gains recognition proportional to number of her own contacts(immediate and not surreal) testifying to it and/or having a share in it.

    • A revenue generation call is meant to attract investors ot invest an amount towards a financially credible improvement to the business of the person.

    • Such a call has a ripple effect on the network surrounding the person in that, that the call generates more interest and regard among her closer contacts and this interest recedes through contacts of contacts, and contacts of ‘contacts of contacts’ and so on.

    • If a person invests in her venture an amount (equivalent to the weight of gold or a service acceptable to both the parties as in barter system), he is made a partner in her business activity and is entitled to receive the gains (or share losses) and take part in shareholder hearings.

    • This is a self evolving system where trust ability of a person increases with number of contacts, trustees, investments, returns, past record etc.

    • Social network fuels the growth of such a venture promotion system because of the social structure that is built around every proprietor of a venture, which creates a market for everyone.

  3. To look for and invest in profitable business ideas.

    • A person might receive info on revenue generation calls through her contacts, who will refer her to a venture and also testify to its trust ability.

    • She might further analyse the new/extended venture, and invest wisely.

    • Enough data is provided for tracking the business progress.

PS: I’ll soon PDF this and provide a link to a scribd page … thanks

Update: Hey that was quite quick .. here is the scribd link:

Posted in f1, IT | Tagged: , | 2 Comments »

Islamic banking system

Posted by imdad on December 21, 2008

im doing some research into the Islamic banking system.
I may eventually come up with a software to serve the system. Buts that in its initial stages (Requirement analysis to be precise).

Hey, a question here:
Do you think banks which have a democratic system for organisation, instead of being owned for profit, would be the key to a successful economic-tomorrow?

Posted in f1, IT | Tagged: , | 2 Comments »

#2013 – Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111

Posted by imdad on November 2, 2008

For this error on mysql phpmyadmin

i did this:

  • edited </etc/mysql/my.conf>
  • commented the line corresponding to ‘bind-address’ (that is, hash it)
  • edited ‘’ in phpmyadmin folder
  • added/edited a line $cfg[‘Servers’][$i][‘host’] = ‘localhost’;
  • restart mysql – ‘sudo /etc/init.d/mysql restart’

Posted in IT | Tagged: | 15 Comments »

‘knew’ to me …

Posted by imdad on September 13, 2008

(infact not very ‘knew’ to me) .. i had been experiencing this for quite a while now .. remembered to blog it just now:

i have a notebook (Acer laptop) .. which runs xp .. the lazy-me just closes the lid, and the laptop hibernates.

Chrome window does not respond (actually the tabs crash on reloading the page) after resuming from the hibernation .. !!!

Firefox and IE work well …

I have reported a bug 😉

Posted in IT | Tagged: , | Leave a Comment »

Prototype.js lessons

Posted by imdad on September 13, 2008

I repeated the same mistake .. so i chose to warn you.

Wrong Code:

coolFunction1 = function(){
  var data;
  new Ajax.Request('some_weird_url_json.php',{
    OnSuccess: funtion(transport){
      data = transport.responseJSON;
  display(data); // attempting to use the 'data' variable

What we wud expect is that the whatever value we have got back through the ajax request will be immediately available, WRONG, callback OnSuccess is only triggered ‘on-success’, so any attempt to use the latest ‘data’ should be inside this callback.

Correct Code:

coolFunction1 = function(){
  var data;
  new Ajax.Request('some_weird_url_json.php',{
    OnSuccess: funtion(transport){
      data = transport.responseJSON;
      display(data); // phew .. tht was the problem

Posted in IT | Tagged: | 2 Comments »

‘knew’ to me …

Posted by imdad on September 13, 2008

Just found out that the built in chrome plugin to render pdf files is a bit buggy … =>

Posted in IT | Tagged: | 1 Comment »