716 Topics
![]() | |
I have python 3.0 and im trying to get this code to work but I don't believe it is recognizing all the attributes it's supposed to. [CODE]import pygame, sys, random from pygame.locals import * #*******************************************SETUPVAR************************************************** BLACK = (0, 0, 0) WHITE = (255, 255, 255) RED = (255, 0, 0) … | |
Please help me with this bug. I have python 3.0 and I was using pygame and for some reason it isn't reconizing [CODE]windowSurface[/CODE] here Is the code Im having problems with and thanks in advance. [CODE]import pygame, sys, random from pygame.locals import * #*******************************************SETUPVAR************************************************** BLACK = (0, 0, 0) WHITE … | |
I'm just curious about the opinions of people in the programming industry as to what they would think of the following scenario:[LIST] [*]User is an active contributor within DaniWeb (granted only recently joined) [*]User has supplied a large number of working solutions or at the very least processes by which … | |
For our long discussion: [url]http://www.daniweb.com/code/snippet216632.html[/url] Both jumping to first unread and going to last message by poster's name does not work. Also jumping to specific post does not work: [url]http://www.daniweb.com/forums/post1253810.html#post1253810[/url] | |
I have couple of posts which seems to get positive feedback from the helped member, but the reputation is even, not positive. Somebody immediately down voting the rep given to me or what is happening? Here two still visible cases: This has only 1 rep: [url]http://www.daniweb.com/forums/post1270304.html#post1270304[/url] This has reputation comments … | |
I may just not be seeing an already created thread about this and I hope I'm posting in the right place about it. Just today I've started having some rather interesting statistic information showing up in [URL="http://www.daniweb.com/forums/member779156.html"]my profile page[/URL] that doesn't match what the real statistics SHOULD be. As an … | |
Hi, I am running Visual Studio 2008 with the latest service pack and updates. I opened up my window to start coding and can only see half of my code. The left half appears to be off the window on the left side, and the right half is on the … | |
Two headlines grabbed my attention today. The first proclaiming that Linux sucks while the second announced it was possible to boot into a full Linux OS in less than a single solitary second. Paul Rako [URL="http://www.edn.com/article/CA6720353.html"]reports[/URL] that one company, an embedded-Linux specialist called MontaVista Software, has gone step further than … | |
Hello I am very new to daniweb but have been using it for many years to help me learn web development. I am struggling with some code that I hope you guys might be able to help me with. I want to send checkbox data from a form my email … | |
Apple released details of the [URL="http://live.gdgt.com/2010/06/07/live-wwdc-2010-keynote-coverage/"]extraordinary new iPhone 4[/URL] today at its [URL="http://developer.apple.com/wwdc/"]World Wide Developer Conference[/URL]. It's truly an amazing device and I'm sure everyone is going to be talking about the new features ad infinitum, so I wanted to reverse track and cover 5 things Steve Jobs didn't talk … | |
Hello All, I'm new to DaniWeb. I am trying to find php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar, coupon section. Real Estate, Dining, Shopping, and Hotel and Motel guide also. I have an advance user login … | |
Hey Im doing a loop with somthing similar to this: [code=C] char stn[25]; do { printf ("Insert a number:\n"); gets(stn); }while (stn!="123"); if (str=="123") { printf ("Good value!"); } [/code] Now if I input 123, it enters the if that prints "Good value!" and the program ends naturally. Now if … | |
i want to create a feedback form for my website [url snipped]. as i m using free host it doesnt allow PHP so i want to create it using JAVA. please help me create a feedback form which when submitted automatically send an email to my ID. if it is … | |
When I watch full length movies online, sometimes my mouse is hidden on the browser. Just inside the browser though. I have to repeatedly hit the ctrl button to see where its at. This only happens when I watch divx streamed video for long periods of time. After the mouse … | |
I can reproduce this bug in IE7 (and a colleague in IE6), my link is here: [url]http://www.pritaeas.net/tools/linkfarm/[/url] If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another … | |
Say what you will about Apple, love 'em or hate 'em, you have to admit they have a special magic when it comes to creating gadgets that consumers clamor for. They have a unique mix of design, build-up and marketing that when combined drive popularity and sales in huge numbers. … | |
[B]It's long but simple. I have only explained the problem in detail.[/B] After searching a lot i did not get any answers and finally i had to get back to you. Below i am explaining my problem in detail. It's too long, so please don't quit reading. I have explained … | |
Craig Newmark, the man that newspaper editors love to [URL="http://www.boiseweekly.com/boise/weekly-newspapers-in-crisis/Content?oid=923530"]hate[/URL], celebrated the 15th anniversary of Craigslist -- the garage sale listing of the Internet -- this month. In Newmark's [URL="http://www.cnewmark.com/2010/03/craigslist-is-around-fifteen-years-old.html"]blog[/URL], he posted a copy of a message from March 28, 1995, from the seminal online service The WElL. "My focus, … | |
It may only have impacted a "small number of users" for a "short period of time" as a Facebook spokesperson put it, but by pushing out buggy code the social networking giant created a potentially huge privacy problem for those whose accounts it did touch upon. Considering that Facebook has … | |
Personally I prefer the Reputation as a measure of one's helpfulness/popularity on DaniWeb, and truthfully I haven't paid much attention since the introduction of the Up/Down Voting system. But lately one thing is starting to bug me about it - if someone up/down votes a post, it is completely anonimous … | |
The long awaited unveiling of the latest Microsoft mobile phone OS is happening as I type in Barcelona at the Mobile World Congress. Twitter is all excited, as you might imagine, with tech journalists and gadget watchers alike swooning over the flashy new additions which would seem to suggest that … | |
It all kicked off last night with a [URL="http://hackersblog.org/2009/02/07/usakasperskycom-hacked-full-database-acces-sql-injection/"]posting to hacker board[/URL] claiming to have carried out a relatively simple SQL Injection attack on one the world's biggest and best known IT security companies: Kaspersky. The hacker, currently only know as 'unu' claims that the SQL Injection attack on usa.kaspersky.com … | |
Amazon didn't waste a lot of time answering the challenge of the iPad. The [URL="http://www.nytimes.com/2010/02/04/technology/04amazon.html"]New York Times is reporting[/URL] this morning that Amazon has acquired Touchco, a touch screen company, and plans to incorporate its engineers into the Kindle division. It doesn't take a PhD in analysis to figure out … | |
[b]Split from - [url]http://www.daniweb.com/forums/thread255859.html[/url][/b] I think I may be in the same class as rwill357 and I am having some problems getting my code correct too. I appreciate the help that you have given so far. I have made the changes that you suggested. I'm not sure where I'm going … | |
[url]http://www.daniweb.com/forums/thread252440.html[/url] gets me this error message [quote=daniweb_server] Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 3842759 bytes) in /home/daniweb/httpdocs/forums/includes/class_bbcode.php(172) : eval()'d code on line 150 [/quote] I'm assuming the OP has pasted a bitmap (or some other stupid thing) into the message, rather than an attachment. | |
Yesterday [URL="http://www.daniweb.com/blogs/entry3943.html"]I reported[/URL] how the security vendor Kaspersky had allegedly fallen victim to a SQL Injection attack, with the usa.kaspersky.com website hacked and plenty of data potentially exposed. I said that Kaspersky would no doubt make an official statement sooner rather than later, and it has. Unfortunately it is one … | |
Hi I think Im dealing with an IE insertBefore bug, the script runs fine in Chrome, I have created my own modal box which gets inserted as a new node - the first inside the <body>... however, in IE, the new box is inserted within the first <div> inside my … | |
Google announced the long awaited [URL="http://www.npr.org/blogs/alltechconsidered/2010/01/google_releases_its_nexus_one.html"]Nexus One[/URL] today, but the phone itself was only part of the story. Google has decided to distribute the phone exclusively through its own [URL="http://www.google.com/phone"]web store[/URL], a misguided strategy I think will ultimately backfire on them. Frankly, I think it's a mistake for the company … | |
Well, it is that time of year again and the holiday season is upon us. Which means I get to wish everyone the very best and say a very big thank you for being part of our community here at DaniWeb. 2009 has had some ups and downs (no mentioning … | |
User [URL="http://www.daniweb.com/forums/member633371.html"]FBody[/URL] send me this PM: [QUOTE=Fbody]I couldn't find a site support style link so, because you're a mod that I've interacted with before, I'm sending this to you. Would you please forward to the appropriate person? I posted in the thread "[URL="http://www.daniweb.com/forums/thread250820.html"]sleep() error, help![/URL]" yesterday and subscribed to the … | |
Does anyone know just what is happening with Microsoft Windows Mobile devices? It would appear that many users with Windows Mobile powered mobile phones have been getting SMS text messages dated 2016. The first reports came as folk started to receive Happy New Year messages from family and friends on … | |
I was looking at [URL="http://www.daniweb.com/code/snippet237803.html"]this snippet[/URL] by Ancient Dragon and I saw that it had received 7 downvotes. I found this odd, because the snippet was actually quite good, so I upvoted it. I expected to be -6 after my upvote, but it went from -7 to +1. This is … | |
Depending upon the level of your paranoia, Google is either attempting to take over the online world or simply trying to make it a better place in which to work and play. This latest announcement does nothing to clarify these already muddy waters. "As part of our ongoing effort to … | |
Hi, I'm a newbie working with ASP.Net, attempting to create a feedback form in ASP.Net VB but I am getting the below error message. Not really sure how to create this query that its asking for. Please help...... Page.IsValid cannot be called before validation has taken place. It should be … | |
Hi, I'm a newbie, having problems creating a feedback form that will be sent to me via email after the client fills it out, any help would be great! When I choose ctrl f5 to take a look and test, I'm getting the below error message: A page can have … | |
Twitter has [URL="http://status.twitter.com/post/240745460/retweet-feature-temporarily-disabled"]suspended its new retweet function[/URL]. Now, this takes me back. When I started writing about technology this stuff was commonplace. A software company would announce a new version or a new package, its target date would come and go and then it would be released as buggy as … | |
Is is possible for you to reduce the amount of negative rep I can give from 30 to something more reasonable, say 10? I'd like to occasionally give negative rep but I don't want to completely destroy the member. Maybe there should be a maximum negative rep that can be … | |
Once upon a time, Usenet newsgroups were the Twitter, Facebook and forums of the online world. All the early Internet community makers were there, and important announcements such as the arrival of Mosaic by Marc Andreesen broke there first. Then the inevitable happened, and Usenet slowly imploded. That could have … | |
Hi DaniWeb members:), I hope we could discuss about this matter and please do give advise, feedback or respond regarding my answer code below:icon_smile:. If the users enter x as 5, y as 6 the multiple table will be printed as below: 1*6=6 2*6=12 3*6=18 4*6=24 5*6=30 My answer code … | |
After gathering some information in the community feedback I have found that some people wouldn't mind having a Flash/Action Script forum. This thread is for to both suggest and debate about this as well as having a 3D modeling forum. Does anybody feel these two forums are appropriate for daniweb … | |
I have been using web browser for many years now (Firefox, Internet Explorer, Opera, Crome, Safari) and with heavy use of the internet, I have found that all of those browsers except Opera crash after the first few hours of having 20 tabs open with them constantly opening and closing. … | |
Hello daniweb. I'm working on a Poker Holdem Application and I'm trying to work on a view/jframe for it. Everything was running smoothly until something weird happened. After deleting an old hand-coded MainFrame which extends JFrame file, I tried to create a new MainFrame/JFrame file but this time using netbeans … | |
:icon_eek: Strange things have been happening lately. 1. Visited threads are still marked as unread ? 2. Even though I made the last post in [url=http://www.daniweb.com/forums/thread228062.html] this [/url] thread, [url=http://www.daniweb.com/forums/forum17.html] php forum [/url] doesn't say so. I have attached the screenshots of the forum and the thread. One more bug. … | |
Is that what it should do? [URL="http://www.daniweb.com/code/snippet227078.html"]Here[/URL] It is displaying my name as it appears in my profile as opposed to my DaniWeb screen name. Is that a bug or is it meant to do that? | |
Attachment taken from [URL="http://www.daniweb.com/forums/thread221971.html"]here[/URL]. 47.83% 34.78% 47.83% 21.74% 8.70% 21.74% 13.04% 4.35% 0% 34.78% ---------- + 234.31 % Which is more then 100% :) The problem is that the percentage is calculated from the total voters and the votes. In this example there are 23 voters, and for example 11 … | |
I'm writing some code for my robot's stereoscopic vision. This is how I'm calculating the stereo vision in python (I'm using the roborealm API). [CODE=python]COGXR = rr.GetVariable("COG_X_RIGHT") COGYR = rr.GetVariable("COG_Y_RIGHT") COGXL = rr.GetVariable("COG_X_LEFT") COGYL = rr.GetVariable("COG_Y_LEFT") Z_Actual = (11 * 5.5)/COGXL-COGXR X_Actual = (COGXL*Z_Actual)/(5.5) Y_Actual = (COGYL*Z_Actual)/(5.5)[/CODE] Whenever I run … | |
I have noticed that since the upgrade, when previewing the text that we are about to post, the previewed text is smaller than it should making the number of words per line misleading and at times hard to read. Also in this same preview area, code boxes with a line … | |
I'm attempting to write a program that will take a word entered by the user and give a concatenation of the corresponding triple quote strings. I've looked at [URL="http://www.daniweb.com/forums/thread189881.html"]http://www.daniweb.com/forums/thread189881.html[/URL], but didn't quite find the piece I'm missing. The idea is fairly simple: User inputs a word (or numbers) Exchanges letters … | |
Hello! I'm having trouble with the CSS of this liquid (flixible ) layout. The problem occurs only in IE7. Whenever I decrease the size of the browser the #eventsListing (6 images) drops under #content (text/copy). I tried all kinds of hacks and freestyle solutions but nothing have worked so far. … | |
You might wonder why a 10 year old web building business managed to become the number one trending topic on Twitter this last week, with the moonfruit hashtag being tweeted in excess of 10,000 times an hour at one point. The answer is not as straightforward as some would have … |
The End.