Naming is hard

Members
  • Content Count

    519
  • Joined

  • Last visited

Everything posted by Naming is hard

  1. "Hi. The person who sent you this link is a friend who likes you a lot but who wants you to respect their email address, their privacy, and their time. Chances are, this person asked you to visit this page because you did one of these things: * Forwarded a funny story, a virus warning, or a photo that you enjoyed * Sent email to lots of people using the “To:” line (instead of the “BCC:” line), thereby exposing your friend's email address to strangers * CC’d your friend unnecessarily on something you had sent primarily to someone else " http://thanksno.com/ Friends abusing your email? send em this link
  2. Yeah, best line in that movie...or any other
  3. it took me awhile to, i final did it, i forget what i did, but i just followed what the site said untill it worked
  4. Great list of Open Source Software, Open source windows
  5. How much drunk dialing do you do >_>
  6. I have to admit, i like calling and saying Hello thing is the Organization for the organized
  7. Scratch that, lol Anyways prank calling isn't nice >_>
  8. Box.net is a great site for backing up, ^^ its free for 1GB of storage $5 a month for 5GB or $10 15GB. Box.net Great site, i love it. Got my scripts and firefox bookmarks there, 1GB is plenty for most people.
  9. Hmmm, alright ill try again. Yeah, worked this time, thanks ^^
  10. hmmm, iv checked like 1923809 times but yeah ill post it, one sec Edit: Client: # simple illustration client/server pair; client program sends a string # to server, which echoes it back to the client (in multiple copies), # and the latter prints to the screen # this is the client import socket import sys # create a socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # connect to server host = sys.argv[1] # server address port = int(sys.argv[2]) # server port s.connect((host, port)) s.send(sys.argv[3]) # send test string # read echo i = 0 while(1): data = s.recv(1000000) # read up to 1000000 bytes i += 1 if (i < 5): print data if not data: # if end of data, leave loop break print 'received', len(data), 'bytes' # close the connection s.close() Server: # simple illustration client/server pair; client program sends a string # to server, which echoes it back to the client (in multiple copies), # and the latter prints to the screen # this is the server import socket import sys # create a socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # associate the socket with a port host = '' # can leave this blank on the server side port = int(sys.argv[1]) s.bind((host, port)) # accept "call" from client s.listen(1) conn, addr = s.accept() print 'client is at', addr # read string from client (assumed here to be so short that one call to # recv() is enough), and make multiple copies (to show the need for the # "while" loop on the client side) data = conn.recv(1000000) data = 10000 * data # wait for the go-ahead signal from the keyboard (shows that recv() at # the client will block until server sends) z = raw_input() # now send conn.send(data) # close the connection conn.close()
  11. hmmm, im having problems getting this to work, the server tms.py gets up and running fine but with i try and send something with the client tmc.py i get this error """ \ s.connect((host, port)) File "(string)", line 1, in connect socket.gaierror: (11001, 'getaddrinfo failed') """
  12. I was using drpython on my windows box. I think I just cut and pasted directly from this tutorial. never heard of Drpython, have you tried http://pythonide.stani.be/ ?
  13. http://www.google.com/ Skype is a proprietary peer-to-peer Internet telephony (VoIP) network, founded by Niklas Zennström and Janus Friis, Skype normaly lets you talk Computer To Computer, Skype OUT lets you call land lines or cell phones, http://en.wikipedia.org/wiki/Skype http://www.skype.com/ and if you dont know what VoiP is http://en.wikipedia.org/wiki/Voice_over_IP
  14. Hey everyone just wanted to share the good news, Skype Out is 100% free for the rest of the year.
  15. Lol, i have a bad habit of rushing my post and then editing, 72times ^^ theres more info there.
  16. Try Twisted, its a Module for Network protocols for Python ^^ i think thats what you'd want right? Heres a book about Twisted, its alittle dated but its the only one, http://www.amazon.com/gp/product/059610032...5Fencoding=UTF8
  17. Great, like always ^^
  18. Yeah, Ender's game is first.
  19. I plan on buying Ender's Shadow and Speaker for the dead, Hope there even half as good
  20. Has anyone else read Ender's Game? its about the greatest series EVER, And a quick google search about 5mins ago, showed that in 2008 there making a movie =o