eclipse plugin for python
=====================================
Installing eclipse plugin for python:
=====================================
eclipse version: eclipse-jee-galileo-win32
update manager url: http://pydev.org/updates
Help -> Install New Software
Add ...
Name: pydev
Location: http://pydev.org/updates
Work With: pydev
Check
PyDev
PyDev for Eclipse
install plugin
restart eclipse
Window -> Preference -> PyDev -> Interpreter - Python -> New..
Add python.exe (of python26 installed on my desktop)
Click OK (it will do some validations)
Open PyDev prespective
Configuring auto-refresh
--------------------------------------------------------------------
Eclipse by default (at least on 3.1) does not refresh
things automatically, so, if you make changes outside of the workspace, you will
not see the changes until you refresh it (F5 on the navigator). However, you can
change the default setting and ask Eclipse to refresh automatically.
To set auto-refresh, go to window > preferences > general > workspace
and check the refresh automatically check-box.
NOTE: not doing so may have some specially strange results with .pyc files not
being deleted, as pydev will only acknowledge that the .pyc file exists on a refresh.
where is “share this” button on filckr
from flickr home page
http://www.flickr.com/photos//
Organize -> Your Sets
double click one of your set
are you looking for “Share This” button well you wont find it here !!
Click on “Open set page” then you’ll see “Share This” button
===========
Netflix Prize Winner- Recommendation System
http://www.netflixprize.com/assets/GrandPrize2009_BPC_PragmaticTheory.pdf
http://www.netflixprize.com/assets/ProgressPrize2008_BigChaos.pdf
http://www-cse.ucsd.edu/users/elkan/KddNetflixWorkshop.pdf
http://www.netflixprize.com/assets/GrandPrize2009_BPC_BellKor.pdf
http://www.netflixprize.com/assets/GrandPrize2009_BPC_BigChaos.pdf
http://www.netflixprize.com/assets/GrandPrize2009_BPC_PragmaticTheory.pdf
Websphere class loaders
- Bootstrap
- jre/lib
- jre/lib/ext
- CLASSPATH environment variable
- Extension
- ws.ext.dirs system property to determine the path that is used to load classes.
- Application module classloaders
- shared libraries
- Web module classloaders
- WEB-INF/classes
- WEB-INF/lib
Distributed Systems & Transaction Processing books
Reliable Distributed Systems: Technologies, Web Services, and Applications (Hardcover)
# Hardcover: 668 pages
# Publisher: Springer; 1 edition (March 25, 2005)
# Language: English
# ISBN-10: 0387215093
# ISBN-13: 978-0387215099
# Product Dimensions: 9.3 x 7.2 x 1.5 inches
Transaction Processing: Concepts and Techniques (The Morgan Kaufmann Series in Data Management Systems) (Hardcover)
# Hardcover: 1070 pages
# Publisher: Morgan Kaufmann; 1st edition (September 15, 1992)
# Language: English
# ISBN-10: 1558601902
# ISBN-13: 978-1558601901
# Product Dimensions: 9.4 x 7.6 x 2 inches
Distributed Algorithms (The Morgan Kaufmann Series in Data Management Systems) (Hardcover)
# Hardcover: 904 pages
# Publisher: Morgan Kaufmann; 1st edition (March 15, 1996)
# Language: English
# ISBN-10: 1558603484
# ISBN-13: 978-1558603486
# Product Dimensions: 9.3 x 7.6 x 1.7 inches
standard output and error to same file
question:
I want both standard output and standard error of my command cmd to go to the same file log.txt
answer:
cmd >log.txt 2>&1
http post using curl
curl -i -k https://my.host.com/a/b/c -d @c:/temp/1.xml
wordnet 2.1 lexnames missing
download PyWordNet
>>> from wordnet import *
Traceback (most recent call last):
File "<pyshell #8>", line 1, in <module>
from wordnet import *
File "C:\tools\python\2.6.2\lib\site-packages\wordnet.py", line 767, in </module><module>
setupLexnames()
File "C:\tools\python\2.6.2\lib\site-packages\wordnet.py", line 763, in setupLexnames
for l in open(WNSEARCHDIR+'/lexnames').readlines():
IOError: [Errno 2] No such file or directory: 'C:\\tools\\wordnet\\2.1\\dict/lexnames'
download WordNet-2.0.tar.gz
C:\tools\python>gzip -d WordNet-2.0.tar.gz C:\tools\python>mkdir x C:\tools\python>cd x C:\tools\python\x>mv ..\WordNet-2.0.tar . C:\tools\python\x>tar xf WordNet-2.0.tar C:\tools\python\x\WordNet-2.0\dict>cp lexnames C:\tools\wordnet\2.1\dict
now it works
>>> from wordnet import * >>> N['dog'] dog(n.) >>> V['dog'] dog(v.) >>> ADJ['clear'] clear(adj.) >>> ADV['clearly'] clearly(adv.)
Why lexnames is missing from wordnet 2.1 ?