| Keith and The Girl is a free comedy talk show and podcast Check out the recent shows 
Click here to get Keith and The Girl free on iTunes. Click here to get the podcast RSS feed. Click here to watch all the videos on our YouTube channel. | |
|  05-01-2009, 01:29 PM | #211 (permalink) | 
| Senior Member Join Date: Jun 2007 Location: San Francisco Bay Area 
					Posts: 110
				 | 
				
				New Litterbox!
			 
			
			A new episode of The Litterbox is out. Learn about Jennifer's plans to make the homeless mine quartz, and what makes Greg cry. The Litterbox | 
| (Offline) |   | 
|  05-01-2009, 07:17 PM | #212 (permalink) | 
| Senior Member Join Date: Feb 2007 Location: Pillaging your neighborhood 
					Posts: 1,439
				 | 
			
			OH The LITTERBOX ROCKS!!!  If you haven't listened to them... give it 5 minutes.  Seriously.  The episode he mentions above is great!  Makes me want to totally get drunk with his co-host Jennifer and watch her have sloppy drunk sex with her next conquest! DEWWWWW ITTTTT! We were on a roll this week at The DaH Theory... episode 43 posted today just in time for Mr. DaH's birthday weekend! thedahtheory.com | 
| (Offline) |   | 
|  05-02-2009, 07:42 PM | #214 (permalink) | 
| Senior Member Join Date: Mar 2007 Location: Reston, VA also can be found in my cubical, because really thats where i live 
					Posts: 403
				 | 
			
			Interview with a Holistic Nutritionist on the latest Ironman Bobby Podcast Ironman Bobby - Main Page | 
| (Offline) |   | 
| Keith and The Girl is a free comedy talk show and podcast Check out the recent shows 
Click here to get Keith and The Girl free on iTunes. Click here to get the podcast RSS feed. Click here to watch all the videos on our YouTube channel. | |
|  05-02-2009, 07:46 PM | #215 (permalink) | 
| Senior Member Join Date: Sep 2006 Location: carrickfergus, northern ireland 
					Posts: 309
				 | 
			
			That holistic stuff is retarded.
		 | 
| (Offline) |   | 
|  05-02-2009, 07:48 PM | #216 (permalink) | 
| Senior Member Join Date: Mar 2007 Location: Reston, VA also can be found in my cubical, because really thats where i live 
					Posts: 403
				 | 
			
			well placed argument,all of your points are well flushed out and articulate. i have no where to go you have everything covered. glad we had this eloquint raparte together.
		 | 
| (Offline) |   | 
|  05-02-2009, 08:29 PM | #218 (permalink) | 
| Senior Member Join Date: Mar 2008 Location: Detroitish 
					Posts: 1,025
				 | 
			
			This is just a quick prototype that I will make better when I have time. If you download your libsyn logs and stick them in a folder with this python script it'll turn them into a csv you can open with excel and do sorting a check stuff out. If you're familiar with excel and simple stuff like autofilters it can be useful. Code: #-------------------------------------------------------------------------------------------------------------------
#    Name: log_proc.py
#    Author: Doug Russell
#    Last Modified: 05-01-2009
#    Description: Text Processor
#-------------------------------------------------------------------------------------------------------------------
from __future__ import print_function
from time import strftime                 # Adds time module method strftime
t = strftime("%Y-%m-%d")                  # Date stamp
import os                                 # Adds OS module support
ix = os.name                              # OS name 'posix', 'nt'
displist = os.listdir(os.getcwd())        # Takes list of files in current directories
displist.append(-1)                       # Appends -1 for while loops
k=0                                       # Loop to remove non .ref files
while displist[k] != -1:                  # Reads through each entry of displist until it returns -1
	if displist[k].find('xml') == -1:     # If current displist entry does not contain 'REF'
		displist.pop(k)                   # Remove current entry
	else:                                 # If it does
		k=k+1                             # Increment to next entry
IP = []
FL = []
SZ = []
TM = []
UA = []
index=0                      # Start loop to process each file
while displist[index] != -1: # Reads through each entry of displist[] until it returns -1
	# Open file, read into list of strings, append -1 for while loops
	L = [l.rstrip() for l in open( os.path.join(os.getcwd(), displist[index]))] # Kung Fu
	#print "Opened: " + displist[index]
	L.append(-1)
	k=0
	while L[k] != -1:                               # Read in display alias
		if L[k].find('<hit>') != -1:
			IP.append(L[k+1])
			FL.append(L[k+2])
			SZ.append(L[k+3])
			TM.append(L[k+5])
			UA.append(L[k+8])
		k=k+1
	index += 1
IP.append(-1)
composite = []
k = 0
while IP[k] != -1:
	if UA[k].find('Twiceler') == -1:
		if UA[k].find('metadatalabs') == -1:
			if UA[k].find('Slurp') == -1:
				if UA[k].find('Googlebot') == -1:
					if UA[k].find('Baiduspider') == -1:
						if UA[k].find('kalooga') == -1:
							composite.append([IP[k], FL[k], SZ[k], UA[k]])
	k += 1
#comp = []
#comp.extend(composite)
#comp.sort()
checked = []
for e in composite:
	if e not in checked:
		checked.append(e)
print('\t\t\t IP \t\t\t\t Filename \t\t\t Filesize \t\t\t Time \t\t\t\t User Agent')
for hit in checked:
	print('\t\t{0}\t\t{1}\t\t{2}'.format(hit[0][:-1], hit[1][:-1], hit[2][:-1]))
composite.append(-1)
print(composite)
big = [['',',','',',','',',','']]
k=0
print(len(composite))
while composite[k] != -1:
	big[k][0] = composite[k][0]
	big.append(['',',','',',','',',',''])
	k=k+1
k=0
while composite[k] != -1:
	big[k][2] = composite[k][1]
	big[k][4] = composite[k][2]
	big[k][6] = composite[k][3]
	k=k+1
lessbig = []
for hit in big:
	lessbig.append(hit[0] + hit[1] + hit[2] + hit[3] + hit[4] + hit[5] + hit[6] + '\n')
print(lessbig[len(lessbig)-1])
f = open( os.getcwd() + '/output-' + t + '.csv', 'w') # Open output comma seperated value file in write mode, with date stamp
f.writelines(lessbig)  # Outputs string stored in current instance of big[] to file
f.write('\n')      # Outputs EOL to file
f.close()          # Close output.csvLast edited by hayroob; 05-02-2009 at 08:38 PM. | 
| (Offline) |   | 
|  05-03-2009, 05:56 AM | #219 (permalink) | |
| Senior Member Join Date: Sep 2006 Location: carrickfergus, northern ireland 
					Posts: 309
				 | Quote: 
 I know people will say "whats the harm in trying alternative treatments?" but there are are alot of people who spend alot or money on useless pills and having people stick needles in them, many will do so instead of seeing an actual doctor. Were as I don't know if "holistic nutritionist" means for sure your guest is into alternative medicine I would assume because of the nature of holistic beliefs I would hear alot of mentions to new age thinking. I will make an attempt to listen to it and shall report what my skeptical radar picks up. EDIT- will have to do it later, the Internet where I am is too slow, saws it will take like an hour. Last edited by greggcarson; 05-03-2009 at 06:00 AM. | |
| (Offline) |   | 
|  05-03-2009, 08:33 PM | #220 (permalink) | |
| Senior Member Join Date: Mar 2007 Location: Reston, VA also can be found in my cubical, because really thats where i live 
					Posts: 403
				 | Quote: 
 so rather then just focusing on what you put in your face and just cutting calories it approaches your entire life, and tries to help all of it. | |
| (Offline) |   | 
|  | 
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| 
 |  |