mumbai fresh

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
mumbai fresh

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
mumbai fresh

[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



Content-Type:application/x-www-form-urlencoded



Accept-Encoding: gzip, deflate



Connection: Close



Content-Length:112



User-Agent: BBClient



Host: 202.144.65.70







username=vaidyas_1&srcip=10.19.143.52&macaddress=00-13-d3-9a-79-5c&version=3.22&sessionid=115993373310.19.143.5

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



Content-Type:application/x-www-form-urlencoded



Accept-Encoding: gzip, deflate



Connection: Close



Content-Length:112



User-Agent: BBClient



Host: 202.144.65.70







username=vaidyas_1&srcip=10.19.143.52&macaddress=00-13-d3-9a-79-5c&version=3.22&sessionid=115993373310.19.143.5

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
mumbai fresh

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
mumbai fresh

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)):

tryword=inputlist[count]

OutputList.append(tryword)

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

try:

wnword = values[tryword]

DictSenses = wnword.getSenses()

Scount=len(DictSenses)

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

for j in range(Scount):

WCount=len(DictSenses[j].synset)

#print "Total number of Synsets:-",

WCount,"sense count = ",j

for i in range(WCount):

#try:

teststr = DictSenses[j].\

synset[i].word()._str_()

#print "test no1",teststr

#print teststr[-4]

if(teststr[-4]=='('):

teststr = teststr[:-4]

#print "test no2",teststr

elif(teststr[-6]=='('):

teststr = teststr[:-6]

#print "test no2",teststr

else:

indexval=teststr.index('(')

teststr = teststr[:-indexval]

#print teststr

if(OutputList._contains_(teststr)==0):

OutputList.append(teststr)

#print OutputList

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

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



#DictSearch(wnWord,ResultList)

except KeyError:

print tryword,"not in ",values

#print OutputList

return OutputList



#

#

#

### find similar word,words using wordnet

def searchtheddatabase(database,wlist):

resultlist=[]

# search database

cursor=database.cursor()

#cursor.execute("show tables")

#tablelist=cursor.fetchall()

#for tname in tablelist:

cursor.execute("select * from Document")

completelist=cursor.fetchall()

i=0

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

while(i
[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>
mumbai fresh

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]
unset($MCONF);
require_once("conf.php");

require_once($BACK_PATH."init.php");

require_once ($BACK_PATH."template.php");
$LANG->includeLLFile("EXT:ga_mybase/mod1/locallang.xml");
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
mumbai fresh

Software Engineering Proverbs

linking from

http://www.multicians.org/thvv/proverbs.html


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.