I was struggling with the wireless on my dell vostro 1520 (64bit, ubuntu 9.10) till I came across the post by frost at http://www.aeonity.com/frost/getting-dell-wifi-work-ubuntu-910-karmic-koala
thx to him, I have my bcm wireless working on my laptop
sudo apt-get install b43-fwcutter
reboot
[this is required as my system had bcm4312]
system->hardware drivers -> broadcom sta wireless driver -> activate
reboot
gopi
Friday, April 9, 2010
Wednesday, April 7, 2010
java hung on futex_wait
It has been really painful. I was using netbeans for php coding and after sometime, java started hanging at futex_wait
The following solution from http://www.ctroller.com/contentRoller/view/25877/solution_futexwait_hangs_java_on_linux_ubuntu_in_vmware_or_virtual_box.html seems to have solved it
execute the following on a shell prompt (as root/sudo)
rm /dev/random
mknod -m 644 /dev/random c 1 9
This might be bcoz, /dev/random (c , 1, 8) might block if it runs out of values. (c,1,9) is linked to urandom. we are just changing the /dev/random also to point to the same char driver
Update:
I thought this fix worked, but the problem has come back again. So, kind of stuck.. still no fix
The following solution from http://www.ctroller.com/contentRoller/view/25877/solution_futexwait_hangs_java_on_linux_ubuntu_in_vmware_or_virtual_box.html seems to have solved it
execute the following on a shell prompt (as root/sudo)
rm /dev/random
mknod -m 644 /dev/random c 1 9
This might be bcoz, /dev/random (c , 1, 8) might block if it runs out of values. (c,1,9) is linked to urandom. we are just changing the /dev/random also to point to the same char driver
Update:
I thought this fix worked, but the problem has come back again. So, kind of stuck.. still no fix
Sunday, April 4, 2010
Enterprise SMS Gupshup : Issues in understanding the packages

I wanted to support sending SMS from my web site and registered with enterprise smsgupshup.
The only page I get after login is the the one prompting me to buy the SMS credits instead of explaining what the product does, differences between the various packs etc.
On the top of it, they call "Messaging Revenue" which is very confusing. As I understand it, it should be called "Price/Cost" :-)
Now, I am unable to understand why one would go for an "ace small" pack compared to a "promo small" pack if for the same price, one is able to send more messages.
Also, they are so shady that they dont show anything else you actually make a purchase. I couldnt find any place where the difference between ace/promo/power packs is given.
Overall, I dont understand how they can do such a shabby job on this.
Update: (after finding the details from some ebay sites, yet to find what is "power pack"
Update: Just spoke to gupshup call center (very friendly), got the details of all the packs which are updated below.
Pack Name | DND Policy | Delivery Commitment | Recredit Warranty | Recredit Policy | Message Limits | Support on Delivery Report |
Promo Pack | On: Mandatory | Same day 7am to 11pm | Yes. If not sent | Daily - Automatic | None | No |
Ace Pack | Default ON: Can be off against customer request in writing | Within 4 hrs | Yes. If later than 6 hrs | Daily - Automatic | 1 lac per day | Yes |
Power Pack | Default DND is OFF | 5 mins | yes, if not sent within 5 mins I guess | 1500 message per minute (else SLA doesnt seem to hold good) | yes | |
Alert pack | DND is off by default | 1 minute | yes | 1500 message per minute (else SLA doesnt seem to hold good) | yes |
Tuesday, December 22, 2009
Social Graph: Is it fully exploited
With the exponential growth of facebook, twitter and to some extent linkedin , there is a tremendous interest in the social graph, social networking and related areas.
We see that these web properties are centered around four pillars
1. Relation between users (social graph)
There is a lot of communication which is open (in groups or to everyone on the internet) and very easy to access.
3. Presenting the data to the user with a simple user experience
With many users and lot of communication happening in the network, it is very easy to get overwhelmed with data and number of users. The sites have good algorithms to give relevant updates to the users, suggest the users what they might be interested in etc. In addition, these are delivered over a very simple UX which just works makes it very user friendly.
4. Sharing of data between relations
This is still evolving and we are seeing signs of it with atleast the graph sharing (such as facebook connect) and private deals between major sites to mine the data
In this post, we focus on the relations between users that are being extracted in today's social networking sites and explore possibility of other potential relations and overlay of relations which hold promise.
Amartya Sen, economist and humanitarian, writes in his book "Identity and violence"
We see that the following relations are actively pursued by many companies
In my next post, I will try to cover some relations and discuss qualitatively, their potential value. One of the ways of getting the list of relations is to see the number of community/forum sites that are around on the web. Each of them is a pointer to a relation between people. The shortcoming of the forum sites seems to be that they are not integrated into the users' other social graphs. Thus, it becomes difficult to implement the third pillar that I have mentioned above (Algorithmic updates and insights)
I found the chonological figure in this link interesting and a discussion on the ownership and federation of identity and social graph in this link
We see that these web properties are centered around four pillars
1. Relation between users (social graph)
- Personal friends in case of facebook and myspace
- professional relationship in case of linkedin
- interests in case of twitter
There is a lot of communication which is open (in groups or to everyone on the internet) and very easy to access.
- wall, comments on facebook (two way communication)
- resume like info on linkedin (one way)
- short thoughts and happenings around on twitter (one way, but ability to forward with retweet)
3. Presenting the data to the user with a simple user experience
With many users and lot of communication happening in the network, it is very easy to get overwhelmed with data and number of users. The sites have good algorithms to give relevant updates to the users, suggest the users what they might be interested in etc. In addition, these are delivered over a very simple UX which just works makes it very user friendly.
4. Sharing of data between relations
This is still evolving and we are seeing signs of it with atleast the graph sharing (such as facebook connect) and private deals between major sites to mine the data
In this post, we focus on the relations between users that are being extracted in today's social networking sites and explore possibility of other potential relations and overlay of relations which hold promise.
Amartya Sen, economist and humanitarian, writes in his book "Identity and violence"
- "I can be at the same time an Asian, an Indian citizen, a U.S. resident, a British academic, a Bengali with Bangladeshi ancestry, a graduate of two colleges in two different countries, an atheist with a Hindu background, a non-Brahmin, an economist, a researcher and teacher in philosophy, a Sanskritist, a married man, a feminist, a defender of gay rights, ..."
We see that the following relations are actively pursued by many companies
- Personal friends and acquaintances : facebook, myspace, hi5, ibibo
- Professional friends and colleagues : linkedin, naymz, peerpower
- following interests and news: twitter, smsgupshup
- Geography based (such as living in the same location)
- Parents of a given school
- Users of a particular iphone app
- People who watched the movie "avtaar"
- Customers of Sony DVD handycams
- Music lovers of a certain genre
- Startup founders who are looking for funding
- etc
- In facebook primary relationship is personal friends, secondary is groups/fan pages
- In linkedin, primary relationsihp is colleagues. Secondary are people's interests, people of same company, people in same geography etc
- In games, primary relationship is players, secondary is personal friends
- In purchases, primary relationship is people who purchased the same/similar product, seondary is like minded friends (maybe of similar income group)
- One might be interested in people who are my colleagues as well those whose children are in the same school. This will help me to request some feedback on school from like minded people (assuming my colleagues are like minded :-)). Here, one would need an overlay of colleagues + school parents
- Say, we want to get feedback on a camera, apart from searching forums, we would like to ask the people who have bought the camera and who are friends. Thus one would need an overlay of "people who bought camera from same dealer" with "friends"
- To get feedback on a hotel, in addition to the web forums, if we just know somebody from our friends who has recently visited the hotel, we can get information to which we attach more weightage (compared to anonymous reviewers)
In my next post, I will try to cover some relations and discuss qualitatively, their potential value. One of the ways of getting the list of relations is to see the number of community/forum sites that are around on the web. Each of them is a pointer to a relation between people. The shortcoming of the forum sites seems to be that they are not integrated into the users' other social graphs. Thus, it becomes difficult to implement the third pillar that I have mentioned above (Algorithmic updates and insights)
I found the chonological figure in this link interesting and a discussion on the ownership and federation of identity and social graph in this link
Monday, December 7, 2009
Preparing dell vostro 1520 for dual boot
I got my new Dell vostro 1520 laptop preloaded with windows 7. I wanted to install linux (kubuntu 9.0.4) alongwith LAMP and it was a pretty smooth ride.
Installing kubuntu 9.0.4
-------------------------
Just follow the instructions in
http://www.thpc.info/dual/win7/dualboot_win7+ubuntu_bcd_on_win7.html
Everything worked as it said but looks like windows7 boot loader got overwritten by grub. On a restart of the machine, grub comes up and it shows all the options including kubuntu&windows7. So, nothing is lost and everything is working fine
Extending partition
--------------------
Then I had realized that I had set the partition size of the linux ext3 fs to a very small size. I had a lot of free space just next to this partition (/dev/sda5). Did the following to extend the partition
-- Booted using the livecd, choose the install option, "edited" the partition to include the free size (remember to check ext3 as FS and UNCHECK FORMAT option). It worked great and now I have larger partition for linux.
Then booted the OS using livecd and checked that the ext3fs also got extended. Also, all the data was in tact
Other software
---------------
Installed firefox (ofcourse.. who wants to use knoqueror)
Installing flash plugin. Had some issues on this due to dependency, had to purge some packages and reinstall (dont remember the link)
install LAMP: This was pretty straightforward and worked in one shot
Sound Issue
------------
After a reboot, the sound stopped working. After lots of wasted google searches and reading blogs, it turned out to be a very stupid issue
open kmixer, set the PCM also to high.
Installing MS like fonts
------------------------
I somehow like the Microsoft fonts.
http://ubuntuforums.org/showthread.php?t=208396
sudo apt-get install msttcorefonts
sudo tar xvjpf fontconfig.tbz -C /etc/fonts/
Keyboard/mouse not working
--------------------------
I am facing a strange issue, wherein, once in a wihle after reboot, kubuntu's keyboard and mouse dont work. Current workaround seems to be to restart it few times and it works after that.
Thursday, August 27, 2009
Adding a newline in gvim
I used to do :s/pattern/CTRL-V-M/g
[CTRL-V-M == press control key, then hit v then m]
This doesnt work sometimes. instead there is a much cleaner way
:s/pattern/\r/g
Interesting that simple things we miss lot of times
[CTRL-V-M == press control key, then hit v then m]
This doesnt work sometimes. instead there is a much cleaner way
:s/pattern/\r/g
Interesting that simple things we miss lot of times
Subscribe to:
Posts (Atom)