Age of consent, age of majority, voting age, drinking age, age of criminal responsibly, age of candidacy, age of admission to see a restricted movie, stone age, age of the dinosaurs; there’s so ma… more →
theterrestrialpointwrote 7 months ago: External objects, persons, or situations will never make us happy. Wealth, beauty, power, fame, and … more →
wrote 8 months ago: I had compilation issues with gfortran when I ran easy_install-2.7 scipy Fixed it by using gfortran … more →
wrote 9 months ago: Here is a neatly written article: http://iraniweb.com/blog/?p=110 In summary, we can explore 3 resou … more →
wrote 9 months ago: Suppose x = ['abc', 'def', '!@' '@33','']; To remove nonwords (‘!@’) and empty words: wo … more →
wrote 9 months ago: Use beautiful soup! Love the documentation! http://www.crummy.com/software/BeautifulSoup/bs4/doc/ Ho … more →
wrote 9 months ago: code snippet: import codecs; fid = codecs.open('filename','w','utf-8'); fid.write('mystuff'); fid.cl … more →
wrote 9 months ago: Just started using web.py with wsgi. It turns out that when you name a file with the extension .py, … more →
wrote 9 months ago: Put this into a file (eg. pickrandom.sh): #!/bin/bash sed -n $((RANDOM%$(wc -l < ${1})+1))p ${1} … more →
wrote 9 months ago: It all started with my search for the Matlab’s parfor equivalent in python. Here are some link … more →
wrote 9 months ago: One could use partial() in functools. Documentation here: http://docs.python.org/library/functools.h … more →
wrote 9 months ago: An interesting project: http://alfven.org/wp/hdf5-for-python/ … more →
wrote 9 months ago: “I CAN DO THIS” says I. ‘This’ includes living a healthy lifestyle as a means of helping myself feel … more →
wrote 10 months ago: If there is an overlap of axes, titles, etc. In a plot with several subplots, we can use plt.tight_l … more →
wrote 10 months ago: Reference: http://stackoverflow.com/questions/2299454/how-do-quickly-search-through-a-csv-file-in-py … more →
wrote 10 months ago: Suppose you have the following: ID1. Apples ID2. Oranges TypeA ID3. Oranges TypeB And you desire the … more →
wrote 10 months ago: Reset xorg.conf settings: sudo aticonfig –initial Set multi-desktop settings with sudo amdcccl … more →
wrote 11 months ago: Kicking off with hadoop/mapreduce, couchdb/mapreduce Some useful links: For mac: http://wiki.apache. … more →
wrote 1 year ago: On my Mac, I had to make the following changes to httpd.conf to get the admin static files in place. … more →
wrote 1 year ago: Here’s the python code to generate the results for problems 2-10 on python challenge.com. It w … more →