Log in

No account? Create an account
viyyer's Journal
[Most Recent Entries] [Calendar View] [Friends]

Below are the 20 most recent journal entries recorded in viyyer's LiveJournal:

[ << Previous 20 ]
Tuesday, May 19th, 2009
10:37 am
Ubuntu moving from Hardy to jaunty issues on my laptop
I decided to make my life more exciting. I decided to move from Hardy to Jaunty. Ubuntu Hardy is really rock solid. My decision to move to Jaunty was just an impulse. intially. it seemed all good. I tried out the live CD and everything seemed to be fine. Naturally I did not try skype on live CD but the audio recorder seemed to detect my microphone and recorded alright.
Took the dive , Installer is really streamlined . I think this is one of the most simplified installers on OS worlds.  All worked fine. interesting thing is I don't need to separately compile my Free Software wireless drivers. 
Now reboot looked alright.  Calling my friend on skype, and something was wrong, I could hear him but he could not . I checked on the gnome sound recorder, and it recorded my voice fine. but skype did not like my sound settings at all.
A little google brought me to these couple of links



The second link --> informed me about the caveats of using skype.
caveat 1: skype doesn't like to use pulseaudio, so you should still
choose the "alsaboost" device for its SoundIn configuration, but you can
use "pulse" for its SoundOut and Ringing. This seems to be a deficiency
in skype, and the side-effect is that while skype is in a call, you
won't be able to use the mic in a different application like gnome's
Hopefully Skype improves the support of linux sound devices especially with pulseaudio allowing a greater interopeability with all sound applications in linux.
Tuesday, February 24th, 2009
8:27 pm
Update after a long time.
I am here in Fairfield, Iowa .  It is quite an amazing place. Its a place with the more restaurants per capita than San Francisco . In a quite a tight schedule, practising TM + advanced techniques in the Golden Dome . The day I am now working in the IT dept here.  Two things are really interesting here. Food and Evenings .

Monday, November 3rd, 2008
2:40 pm
Couple of unforgettable months
I had move to this place with no idea what i had to deal with. though with some experience of wilderness. I am really happy with the developments. I did find Broadband connection thanks to friends here . I was also filling in for a friend to continue a coaching institute. Teaching is an experience worth having. Being A TM teacher, I could really see TM being very useful in making children learn faster and also become more rounded.
I am here in Gadasarai . here are a few pictures. That's me.

Yeah, I do feel bad having lost a few friends in Mumbai. My intention was to spread the work I do , Both Technology and TM, far and wide .
I am hoping to reach NCR at the earliest. and try and make best use of my admission into MUM and join it by next January.

Current Mood: pensive
Monday, October 27th, 2008
4:15 am
Happy Diwali to all from Gadasarai .
Saturday, August 16th, 2008
5:18 am
ping.fm testing from im.
Wednesday, August 13th, 2008
10:41 am
yellow... status updates all of them from a single post.. does this work ?
I would love ping.fm
Saturday, August 9th, 2008
11:46 am
Just getting kinda started in Mumbai. Just kinda settling.

My experience of Mumbai this time is that. When it rains in Mumbai it really really pours. and pours and pours. and once in a while does get back to drizzling. and that's when you venture out.

I have not really seen broad daylight for sometime now.
Tuesday, July 8th, 2008
9:48 am
Posted using LJ Talk...
Monday, January 22nd, 2007
10:56 pm
Real Localization(Lost in Context)
I have been thinking about Localization since long time. The problem with localization is fact that we are trying to fit some other language on top of something which was written for some other language and a completely different context. I have been thinking for quite sometime. who does someone who will use computer for the first time need to learn english or the english context.

why should the first dialog on the menu be called file or फ़ाईल ?

why should we look at desktop and call it डेस्कटाप?

if at all this is to suffice the people who will anyways learn computers in hinglish why use hinglish ?

Are we not lost in context to try using american computers in india or in somewhere which don't speak english only using the same language. I am not saying that we fight this for pride or patriotism or the sense of heritage. I think there is a great deal of sense in doing this as we are loosing a great talent pool. Esp with reducing prices as the key.  programming in indian languages could really be the key. I think hindawi in it's polished states will be very useful. I think many languages might evolve to that extent. I envision education system and the whole hierarchy is badly broken. I think this seems a great thing to try.

Why do people use computers? There is *work* the endless tyranny of *productivity* and financial tools. And ofcourse there is the timepass , music, videos and of course.  The formers are a bit localized and it's still work under progress. The latters are very very important. Computers wouldn't have come this far had it not been for the chess engines running on it.
just off the track remembered how the voting machine was converted into a chess board by the CCC group to prove that electronic voting is dangerous.
Coming back to the point, I really believe that game need to be localized not just the sounds and the strings but the whole freaking context. India needs it's own gaming industry. If not atleast small players providing ability to play many of the traditional games. I understand sudoku is fun. There is vast majority of games which are waiting to be ported to the computer.

Current Mood: curious
Sunday, January 14th, 2007
11:05 am
Translation of error messages in to hindi
after night out translating gnomebaker (serious time sink).

thanks to oldmonk for shabdkosh.

here are some error messages translated in hindi ( slightly obscure ;-) )

(Read error: 104 (Connection reset by peer))
पढ्ने मे गलति: १०४ (दोस्त ने नाता तोड दिया)
(Read error: 110 (Connection timed out))
पढ्ने मे गलति: ११० (रिश्ते क अवसर दूर)

Current Mood: geeky
Tuesday, January 2nd, 2007
4:24 pm

HHGG online

Current Mood: excited
Saturday, November 25th, 2006
3:13 am
TreeSync Gotchas
here is a small document for simplifying the installing and setting up syncing across with typo3 instances treesync and treesync_base

post/read comments
Friday, October 13th, 2006
8:30 am
Got my serendipity syntax highlighter working. This is really cool.
here is the link
some generic python code
thanks to Garvin Hicking.
Loading from web.archive.org
Thursday, October 12th, 2006
8:15 pm
Is proprietary Camp winning
Is the proprietary camp winning

One thing this discussion tries it's best to dissuade itself is from the fact that. The fact that interest, hobby and enthusiasm which actually creates anything and everything is the more important that just getting work done or getting food for the next course or even the great gizmo (which is of course very important ;-) ) .

There is a flurry of defensive "you need to do this to make money. One does need to survive." rhetoric seems interests me. which pretty much says. Gawd, I do want to do what you are saying. I am chained. I am forced to do so .

Man, that doesn't sound good :-). Repression is worse than most punishments I have heard of(even the one where one is tied by his thumb with something tingling your toes ) .

I am not Saying Freedom is something you need to starve and earn. But, it's right there upto you whereever you are with a laptop and a internet connection.

Proprietary from wikipedia

The word proprietary comes from the French propriétaire, from the Latin proprietarius. Compare with the Latin proprietas (property), and proprius (ownership).

Free Software from wikipedia

Free software is a matter of liberty, not price. To understand the concept, you should think of 'free' as in 'free speech', not as in 'free beer'

With the definition of the word proprietary given here from it's etmyology , Property word seems to have been very badly mis-interpreted as much as the word free has been misinterpreted. Latter, I believe due to a free becoming a great consumer marketing buzzword. and the former possibly for the guilt people create in others to stop them from taking over property owned by one.

In a world with different interpretation of both free software and proprietary words, I believe the likelihood of the having more proprietary free software possible( not that they don't exist now)

post/read comments
Monday, October 9th, 2006
6:04 am
soccer, exercise and meetups.(how did I forget carroms)
Srijan's always been this place you see. (try somewhere in the lines of zaphod's psychologist. ) When it comes to executing the biggest projects and Developing anddelivering great interfaces and systems.

But when you look at the other side a bunch of people who sit in front of computer. so you really think they score goals( hey I mean no the hypothetical ones .. this is real soccer goals)

last three weeks we have been playing soccer every sunday morning. ( I would prefer not to say early :-) )

Soccer was decided after Raj said cricket is too lazy to bring lazy people together. soccer makes more sense.

Ah well cool.. Addy arranged the opposition team. I have been the sceptic but optimistic . weekone..

Great response..Ball was ready. so was the ground the small one behind Maharaja Agrasen College and the team arranged by Addy. The srijan team assembled comprised of Rahul, Raj, Saurabh and Vivek(AKA viyyer).

The initial games were fun. There was great dynamics. Raj and Rahul jelling well. Most of opposition still scared of Rahul entering the forward line. we won the first one .. almost won the second one.. but lost at the end with Raj incurring injuries on his toe.

It was ceremoniously concluded with eating Dosas, vadas and idlies at the sunday shop opposite to Guruvayur temple.

Week two.

Ritesh was really keen for this Sunday. Ritesh comes in from the other end of the city. and MAry said yes too.. unfortunately many other were to be missing with a long weekend around.

and Addy had a stronger team ready now.

and we decided to play on the length of the field. That was tiresome.

The team comprised of Rahul (the dangerous frontline), ritesh ( moving fast and strong),mary( conserving energy), Ravi( a bit late but mostly at defence).

scoreline waspost/read comments
Wednesday, October 4th, 2006
4:41 am
[AUTOSAVED] Sify Authentication protocol changes.
Sify has changed it's authentication protocol

and.. none of the opensource clients work as of no...

I am trying to decode the magic using ethereal...

logging in seems two steps...

first is to send identification info of the box...

POST /bbandclient_v30/logout.php HTTP/1.0

Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, /

Accept-Language: en-us


Accept-Encoding: gzip, deflate

Connection: Close


User-Agent: BBClient



HTTP/1.1 200 OK

Date: Wed, 04 Oct 2006 04:33:45 GMT

Server: Apache

X-Powered-By: PHP/4.4.0

Set-Cookie: PHPSESSID=372f6521410c4480697ef4a1a99feba5; path=/

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Connection: closePOST /bbandclient_v30/logout.php HTTP/1.0

Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, /

Accept-Language: en-us


Accept-Encoding: gzip, deflate

Connection: Close


User-Agent: BBClient



HTTP/1.1 200 OK

Date: Wed, 04 Oct 2006 04:33:45 GMT

Server: Apache

X-Powered-By: PHP/4.4.0

Set-Cookie: PHPSESSID=372f6521410c4480697ef4a1a99feba5; path=/

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Connection: close

Content-Type: text/html

130150Logout successful

Content-Type: text/html

130150Logout successfulpost/read comments
Friday, September 15th, 2006
1:13 pm
gobby a damn cool collaborative tool
Screenshot of gobby

Have been looking at gobby trying to install it. it never worked . finally figured that the libgmp3c2 was out of date and that was the cause of the problems.

thanks ritesh and chetan for testing it.

need more features of IDE (compiling testing tools.) which would be pretty useful .

ur a gobby plugins into current editor would make a lot of sense..

post/read comments
Thursday, September 14th, 2006
1:12 pm
Some pywordnet sample python code
Some pywordnet sample python code

###get word,words

from wordnet import

from wntools import

import sys

import string

import MySQLdb

default = "default"

def lookupdict(inputlist):#takes an input of all the words in a list

OutputList = []

for count in range(len(inputlist)):



for values in [N,V,ADV,ADJ]:


wnword = values[tryword]

DictSenses = wnword.getSenses()


#print "Total number of Senses:-",Scount

for j in range(Scount):


#print "Total number of Synsets:-",

WCount,"sense count = ",j

for i in range(WCount):


teststr = DictSenses[j].\


#print "test no1",teststr

#print teststr[-4]


teststr = teststr[:-4]

#print "test no2",teststr


teststr = teststr[:-6]

#print "test no2",teststr



teststr = teststr[:-indexval]

#print teststr



#print OutputList

#print DictSenses[j].synset[i].\

#print DictSenses[j].synset[i].word()._str_(),"word count = ",i


except KeyError:

print tryword,"not in ",values

#print OutputList

return OutputList




### find similar word,words using wordnet

def searchtheddatabase(database,wlist):


# search database


#cursor.execute("show tables")


#for tname in tablelist:

cursor.execute("select * from Document")



#for(i in range(len(completelist)))):

[Error: Irreparable invalid markup ('<len(completelist)):<br>') in entry. Owner must fix manually. Raw contents below.]

Some pywordnet sample python code <br />
<br />
<br />
<blockquote>###get word,words<br />
from wordnet import <strong><br />
from wntools import </strong><br />
import sys<br />
import string<br />
import MySQLdb<br />
<br />
default = "default"<br />
def lookupdict(inputlist):#takes an input of all the words in a list<br />
OutputList = []<br />
for count in range(len(inputlist)):<br />
tryword=inputlist[count]<br />
OutputList.append(tryword)<br />
for values in [N,V,ADV,ADJ]:<br />
try:<br />
wnword = values[tryword] <br />
DictSenses = wnword.getSenses()<br />
Scount=len(DictSenses)<br />
#print "Total number of Senses:-",Scount<br />
for j in range(Scount):<br />
WCount=len(DictSenses[j].synset)<br />
#print "Total number of Synsets:-",<br />
WCount,"sense count = ",j<br />
for i in range(WCount):<br />
#try:<br />
teststr = DictSenses[j].\<br />
synset[i].word().<u>_str_</u>()<br />
#print "test no1",teststr <br />
#print teststr[-4]<br />
if(teststr[-4]=='('):<br />
teststr = teststr[:-4]<br />
#print "test no2",teststr<br />
elif(teststr[-6]=='('):<br />
teststr = teststr[:-6]<br />
#print "test no2",teststr<br />
else:<br />
indexval=teststr.index('(')<br />
teststr = teststr[:-indexval]<br />
#print teststr<br />
if(OutputList.<u>_contains_</u>(teststr)==0):<br />
OutputList.append(teststr)<br />
#print OutputList<br />
#print DictSenses[j].synset[i].\<br />
#print DictSenses[j].synset[i].word().<u>_str_</u>(),"word count = ",i<br />
<br />
#DictSearch(wnWord,ResultList)<br />
except KeyError:<br />
print tryword,"not in ",values<br />
#print OutputList <br />
return OutputList<br />
<br />
#<br />
#<br />
#<br />
### find similar word,words using wordnet<br />
def searchtheddatabase(database,wlist):<br />
resultlist=[]<br />
# search database<br />
cursor=database.cursor()<br />
#cursor.execute("show tables")<br />
#tablelist=cursor.fetchall()<br />
#for tname in tablelist:<br />
cursor.execute("select * from Document")<br />
completelist=cursor.fetchall()<br />
i=0<br />
#for(i in range(len(completelist)))):<br />
while(i<len(completelist)):<br />
j=0<br />
#for(j in range(len(completelist[i]))):<br />
while(j<len(completelist[i])): <br />
if(type(completelist[i][j])==type("")):<br />
entrylist=completelist[i][j].lower()<br />
k=0<br />
#for(k in range(len(wlist)):<br />
while(k<len(wlist)):<br />
if(entrylist.<u>_contains_</u>(wlist[k])):<br />
if(resultlist.<u>_contains_</u>(completelist[i])==0):<br />
resultlist.append(completelist[i])<br />
else:<br />
pass<br />
k=k+1<br />
j=j+1<br />
i=i+1<br />
#print resultlist<br />
return resultlist<br />
<br />
def subtractlist(list2 , list1):<br />
list3 = list(list2)<br />
#for(i in range(len(list1))):<br />
i=0<br />
while(i<len(list1)): <br />
if list3.<u>_contains_</u>(list1[i]):<br />
list3.remove(list1[i])<br />
i=i+1<br />
return list3<br />
<br />
if <u>_name_</u>=="<u>_main_</u>":<br />
trywordlist = [] ### rightnow.. only one word <img src="http://blogs.srijan.in/viyyer/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
if len(sys.argv) > 1:<br />
trywordlist.append(sys.argv[1])<br />
else:<br />
# try:<br />
trywordlist.append(raw_input("Enter word for wordnet \<br />
to find similar words for:-").lower())<br />
# except InputError:<br />
trywordlist.append(default)<br />
wordnetlist=lookupdict(trywordlist)<br />
print wordnetlist<br />
mydb = MySQLdb.connect(host="projects.sarai.kit", user="viyyer",\<br />
passwd = "viyyer",db="archive")<br />
<br />
###search any given table and return tuples that are interesting. <img src="http://blogs.srijan.in/viyyer/templates/default/img/emoticons/laugh.png" alt=":-D" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
onelist=searchtheddatabase(mydb,trywordlist)<br />
print len(onelist),"is the size of the list of base words"<br />
twolist=searchtheddatabase(mydb,wordnetlist)<br />
print len(twolist),"is the size of the list of wordnet extracted words"<br />
sublist = subtractlist(twolist,onelist)<br />
print sublist<br />
</blockquote><a style="text-align: right" href="http://blogs.srijan.in/viyyer/index.php?/archives/57-Some-pywordnet-sample-python-code.html#comments">post/read comments</a>
Tuesday, September 12th, 2006
7:06 pm
typo3 ATK issues.
Using typo3 with ATK in backend module requires

one to import ATK in this form

One will need typo3 ATK extensions.

// DEFAULT initialization of a module [BEGIN]


require_once ($BACK_PATH."template.php");
require_once (PATH_t3lib."class.t3lib_scbase.php");

$config_atkroot = t3lib_extMgm::extPath('t3atk') . 'engine/';
require_once($config_atkroot . "atk/include/initial.inc");

still trying to figure how to include ATK into the backend .

post/read comments
Friday, June 30th, 2006
3:23 pm
Software Engineering Proverbs
linking from


Deming's 14 points

1. Create constancy of purpose.
2. Adopt the new philosophy.
3. Cease dependence on mass inspection to achieve quality.
4. Minimize total cost, not initial price of supplies.
5. Improve constantly the system of production and service.
6. Institute training on the job.
7. Institute leadership.
8. Drive out fear.
9. Break down barriers between departments.
10. Eliminate slogans, exhortations, and numerical targets.
11. Eliminate work standards (quotas) and management by objective.
12. Remove barriers that rob workers, engineers, and managers of their right to pride of workmanship.
13. Institute a vigorous program of education and self-improvement.
14. Put everyone in the company to work to accomplish the transformation.
[ << Previous 20 ]
About LiveJournal.com