Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
66% Quality Score
Upvotes Received
19
Posts with Upvotes
12
Upvoting Members
17
Downvotes Received
11
Posts with Downvotes
7
Downvoting Members
9
1 Commented Post
~158.37K People Reached
PC Specs
Genuine windows 7 and intel core i7 XPS 3 inch by 12 inch AMD GPU
Member Avatar for Dani

As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, I discovered that DaniWeb, in addition to most other programming forums out there, all lost their google traffic to [StackOverflow](http://www.stackoverflow.com). …

Member Avatar for j.khurram
11
5K
Member Avatar for samaru

Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a …

Member Avatar for Dani
1
52K
Member Avatar for christina>you

[B]The rules are simple:[/B] [B]Use [U]one[/U] word to start a story and then continue it.[/B] I will start: Once

Member Avatar for advent_geek
0
3K
Member Avatar for chilly_peppers

In this game you need to give wierd reasons to ban who's on top. i will start: **I Ban you for looking at me!**

Member Avatar for XP78USER
2
1K
Member Avatar for vegaseat

With just about everybody snooping around your emails today with the excuse of hunting the bad guys, coding to keep some resemblance of privacy is getting important. I will start out with some simple encryption examples to get this started. You are invited to give us your thoughts and codes. …

Member Avatar for Lardmeister
3
1K
Member Avatar for abelLazm

I found this game on another forum and found it really very interesting lets start it here :) hope everyone will enjoy it Make a wish, and let the next poster give you some bizarre result based upon your wish. Example: I wish I had a million dollars. Reply: "You …

Member Avatar for James_40
8
9K
Member Avatar for awesomelemonade

here is how it goes, I played it on tnbforum.com ask a stupid question, get a stupid answer for example, why do dinosaurs lay eggs cause they are permanent why don't you lay eggs ...and so on I'll start why is the sky blue?

Member Avatar for Slavi
1
2K
Member Avatar for <M/>

What is your favorite thing/person/animal/etc.? Basically, all you do is say what is your favorite based off of the previous persons subject. For example, **Favorite Forum** Response: **Daniweb**. And after you give your response, put in another question saying what is their favorite whatever. Okay, hopefully you guys get it... …

Member Avatar for Bensirpent07
3
1K
Member Avatar for jephthah
Member Avatar for james.lu.75491856

other sites have html errors. daniweb only didn't close there <daniweb> tag* *</m> didn't start his <m> tag

Member Avatar for ddanbe
2
168
Member Avatar for iAssistant

How is your weather in your country? I am living in the Philippines and the weather here today is stormy and according to news, we are overloaded of typhoons in this month. One typhoon is over and there is 2 more waiting on the line. Oh boy!

Member Avatar for Stuugie
0
4K
Member Avatar for james.lu.75491856

How would I use [web.py](http://www.webpy.org) to execute ASP/PHP server files? Or can web.py not do that and can someone provide me a python script that can execute ASP/PHP server files? Should I try posting this in the PHP forum, Web Design, html, and css fourm, or the Web development forum …

Member Avatar for cereal
0
366
Member Avatar for james.lu.75491856

Web.py outputs 0.0.0.0:8080. On windows, localhost and 0.0.0.0 work. But on mavericks, localhost doesn't work! 0.0.0.0 works, though. Can someone explain what 0.0.0.0 is? Why does web.py say you can enter a ip and port in command line and it will run there? (You can't run on someone else's ip,can …

0
188
Member Avatar for james.lu.75491856

import web,re,traceback urls=( "/","displaythreads" "/viewthread","displaythreads", "/viewthread/(.*)","displaythread", "/viewthread/(.*)/Vote/(Up|Down)","vote", "/newthread/(.*)","newthread", "/newthread","newthread" ) entries={}###{entryname:{property:value}} entrylength=0 class displaythreads: pass class newthread: template=web.template.frender("newthread.html") default=template("DEFAULT",0) def initialize(): pass def GET(): return default def POST(): data = web.input() try: username,threadname = data.username,data.threadname except: return template(mode) if threadname in entries: return template("Exists") entries[threadname]={"creator":username,"points":0,"totvotes":0} class displaythread: template=web.template.frender('Thread Viewer Template.html') …

Member Avatar for james.lu.75491856
0
2K
Member Avatar for <M/>

So basically what you do is that you say an athlete that you like for each category. For example, The category is **Soccer** Your response is **David Beckham** And then **you** pick the next category. Okay do you guys get it? Alright, i will start. The first category is **Tennis**.

Member Avatar for <M/>
0
338
Member Avatar for sk8ndestroy14

This one's new. It's just like the counting games, but in this one we count [B]DOWN [/B]so don't get confused. I'll start us off. 1000

Member Avatar for cproger
0
6K
Member Avatar for SgtMe
Member Avatar for cproger
4
2K
Member Avatar for tayspen

This is an on going story, each post adds 3 words to continue the story (no more than three words). Try not to post two times in a row ;) ill start I like this...

Member Avatar for avishek12345
1
4K
Member Avatar for james.lu.75491856

lolpython I FUTURE CAT WITH print_function SO IM LIKE main OK? VISIBLE LOL Hello world /LOL IZ __name__ KINDA LIKE "__main__"? main THINGZ

Member Avatar for avishek12345
0
295
Member Avatar for james.lu.75491856

class Timerange{ public: Start_time start; End_time end; Timerange(string initstring){ //initstring xx:xx X, x:x //X->weekday string current=""; unsigned short mode=0; string timeA; string weekday; string timeB; for(unsigned short i = 0; i<initstring.length(); i++) { char c = initstring[i]; if (c==' '){ if (mode==0) timeA = current; else if (mode==1) weekday = …

Member Avatar for gerard4143
0
260
Member Avatar for james.lu.75491856

THIS IS DANGEROOUS CODE, if it fails, it may prevent yu frome editing it. also, you can use the functions to do crazy stuff. Look at [this refrence](http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx) and change the `0x12` to what you want. (This one hold alt, so typing r will actibvate the menu that starts with …

Member Avatar for sneekula
-4
358
Member Avatar for james.lu.75491856

import os import web import traceback import datetime from functools import wraps ### Url mappings urls = [ '/', 'index', ] def addfolderhandler(f,root): u = os.path.join(root,f) u=u.strip("/").strip("\\") ident=u.lstrip("C:/Users/James/Desktop/it").replace("/","SLASH").replace("\\","SLASH").replace(".","DOT").strip() #replace invalid python expressions with valid ones globals()[ident] = "<h1>Directory listing for:%s</h1><hr>"%u+''.join(["<a href="+i+">"+i.lstrip(root)+"</a><br/>" for i in os.listdir(u)])+"<i>Python Server</i>" if ident=="": return try: …

Member Avatar for vegaseat
0
252
Member Avatar for cuivenion

Yes it was a very dumb thing to do, I realised about a second after I did it. In my defence I was actually waiting for a UPS shipment, which was the subject of the phishing mail. The attached file was zipped and I didn't open it, I immediately deleted …

Member Avatar for cuivenion
0
219
Member Avatar for ikel

Hi, Looking forward to learn about programming and tech in this active community. Regards, ikel

Member Avatar for HoverportMedia
0
182
Member Avatar for james.lu.75491856

a list of spam posts to delete. Here's the first: http://www.daniweb.com/hardware-and-software/pc-hardware/storage/threads/465744/child-smokeing-habit

Member Avatar for deceptikon
0
154
Member Avatar for james.lu.75491856

Traceback (most recent call last): File "C:\Users\James\Desktop\pvz.py", line 64, in <module> Pea((10,20)) File "C:\Users\James\Desktop\pvz.py", line 48, in __init__ Projectiles.add(self) File "C:\Python27\lib\site-packages\pygame\sprite.py", line 319, in add sprite.add_internal(self) File "C:\Python27\lib\site-packages\pygame\sprite.py", line 147, in add_internal self.__g[group] = 0 AttributeError: 'Pea' object has no attribute '_Sprite__g' import pygame,traceback width = 480 height = 640 …

Member Avatar for james.lu.75491856
0
557
Member Avatar for happygeek

In what has been called by some commentators the ‘most significant update in five years’ the latest version of Python finally come of age. Python 2.5 not only apparently fixes some 450 bugs discovered since the 2.4 release was, err, released, but also throws in some 350 patches for good …

Member Avatar for vegaseat
0
671
Member Avatar for nytman

dear list, what i have to do is, i have perform some mathmatical operation in one function and using its results as input into another function, here is my code of what i had done till now : import math def Math(x1,y1): a = x1+y1 b = x1-y1 c = …

Member Avatar for vegaseat
0
277
Member Avatar for frankenfrank

Since I noticed that these languages are rather popular, what are the advantages and disadvantages of each over the others? and what is the need/motivation for each one of them? Why are there no C++/Java libraries to deal with those needs?

Member Avatar for vegaseat
0
419
Member Avatar for james.lu.75491856

import os import web ### Url mappings urls = [ '/', 'index', '/.*','notfound' ] for root, dirs, files in os.walk("C:/Users/James/Desktop/server"): for f in files: u = os.path.join(root,f) u=u.strip("/").strip("\\") ident=u.lstrip("C:/Users/James/Desktop/server").replace("/","slash").replace("\\","SLASH").replace(".","DOT") globals()[ident] = open(u,mode='rb').read() exec(""" class %(classname)s: def GET(self): global %(data)s return %(data)s """%{"classname":ident+"server","data":ident}, globals(), globals()) #create a class as if were …

Member Avatar for james.lu.75491856
0
349