181 Topics
| |
Can anyone give this a try? '''print_error_python33.py there are times when a print() trailing newline disappears with Python 3.3.0 this does not happen with Python 3.2.3 or Python 2.7.3 ''' size = 180000 print("creating long string of %d sevens" % size) # create a long string of digits s2 = … | |
Seems like there might be a problem with the editor not recognising code insertion when you're pasting code in the middle of a list. Below is a post displaying the problem http://www.daniweb.com/software-development/csharp/threads/458671/c-mysql-display#post1993030 I tried multiple ways to get that in there including: 1. Single Enter + Tab 2. Double Enter … | |
# This is an advanced guess the number game. import random # The very basis of this game. import math # Used for math.ceil import time # Used to split up long portions of text. def errorDisplay(errorCode): if errorCode == '1': print('\n\n\nError ' + errorCode + ': unlockedGameModes outside of … | |
I was just looking a this thread with a lot of quotes (people quoting each other) and there were these really weird graphics (see the attached snapshot). I'm using Chrome: Google Chrome 26.0.1410.63 (Official Build 192696) OS Linux WebKit 537.31 (@147513) JavaScript V8 3.16.14.11 Flash 11.2 r202 User Agent Mozilla/5.0 … | |
I was trying to edit a post that I made earlier, and the "Edit Post" link brought up the text edit mode, but did not have any "Save" or "Submit". Only "Cancel". Also, the "Edit Post" button was still active. When I clicked it the second time it just "refreshed" … | |
Hi people. I have a remove function that should set a hide member of a node to 1 instead of actually remove the node. The function works well when I insert and remove top and tap respectively (both nodes have their hide member set to 1) but when I insert … | |
Note that documentation can be electronic, not necessarily paper. | |
Hi, I'm writing a simple program that runs a vending machine. I thought I had everything working fine untill I messed around with the money input some more. In my program I obviously compare money values and check to make sure the values match up exactly to buy an item. … | |
Am just editing a news story ([How to disable SIM-killing USSD PUK attack that has spread to all Androids](http://www.daniweb.com/software-development/mobile-development/news/436119/how-to-disable-sim-killing-ussd-puk-attack-that-has-spread-to-all-androids#post1873145)) and cannot upload accompanying image. Get the following: "A problem was encountered while attempting to move the uploaded file to the final destination." | |
There is an interesting project on KickStarter that is close to successfully funding. I'm not the owner of the project, but I'm backing it and would be disappointed to see it fail. Please see if you would like to participate: http://www.kickstarter.com/projects/Musopen/open-source-bug-tracking | |
computer startes up in the morning then shuts down ,then trys to start again after the third time it comes on ..goes great all day but when i am playing crysis ,for no reason it will will boot itself,,iam running intel i5 2320-at 3.00 ghz.. i have a nzxt phanton … | |
Hi, There is a bug with the editor that I noticed and others noticed too. When you post a very long code segment (or maybe just a long post, period), at some point it seems to overflow the capacity of the editor and you can no longer scroll all the … | |
Hi, I've been experiencing a weird bug in the editor (for a week or so). If I write a post, everything is fine and dandy until I start a block of code. From the first line of code that I write, and for every subsequent line of code after that, … | |
Was just searching, had 'pagination' in 'PHP forum'. Got plenty of results back, but when I added the filter to show only 'discussion threads', there were no results at all. | |
When I copy vb code from a post to try locally, pasting the code always results in the removal of blank lines. It doesn't matter if I paste into Visual Studio or TextPad. Blank lines are never maintained. If I paste into VB, indentation is recreated based on the code … | |
Hey, I am trying to make a C++ scrit that decodes and encodes tenis polar (search it on Google if you don't know what it is). After some testing, I found out my application stops after the strcpy. Any help? The code is below. Thanks! #include <iostream> #include <cstring> #include … | |
Hello, For my current project, i'm supposed to write a statistics page that shows data about the presence of persons (or lack thereof) per profitcenter. (To put it roughlu, a profitcenter is a group of persons within this company, a bit like a department) in order to generate the statistics, … | |
Hi, I'm completely desperate for some help. I am getting a handful of reports that DaniWeb keeps crashing the web browser. Most of these reports are coming in from Firefox. Supposedly the problem is fairly consistent. I *cannot* duplicate the problem no matter how hard I've tried. I spend a … | |
| My code is this atm: #include <stdlib.h> #include <stdio.h> int main(int argc, char *argv[]){ int a,b,c; int swap; printf("Enter 3 Numbers (# # #):"); scanf("%d %d %d", &a,&b,&c); //does all its computing, to see which one is biggest. return EXIT_SUCCESS; } The result when i run it in eclipse is … |
Soooo Initial Impressions .... Markdown vs BBCode ... ? :) | |
There is currently a bug where Internet Explorer 8 users cannot reply to existing threads. I am aware of the problem and am still working on a resolution. IE 9 works fine, as do Firefox, Chrome, and Safari. If you are affected, it is highly recommended that you upgrade from … | |
This is a frighteningly subtle bug I first learned about in C (Andrew Koenig's ``C Traps and Pitfalls''), but it's still with us in Java, and I assume C++ as well... The following method looks like it should always return the absolute value of n, but every once in a … | |
Hi all, I'm working on a website which has a horizontal navigation menu, much like the one on DaniWeb. Basically I need to include an icon which floats right for each list item. IE7 has a bug whereby if the container div does not have a width stipulated then a … | |
Hi, I have a problem with Battlefield 3. Every time at the last mission of the campaign, it will load for ouhrs. The game won't start. It's at the moment that you jump at the top of the train. Specs of my PC: AMD Athlon II X4 645 3.1 Ghz … | |
Hi all, I am just going through C++ basics now and I read that enum types cannot be input directly with cout and cin and such.And also that type coercion from int to enum is not allowed.But when i do this, [CODE] enum SumEnum{ENUM1,ENUM2,ENUM3} SumEnum VarEnum; scanf("%d",&VarEnum); printf("%d",VarEnum); [/CODE] It … | |
| Hello, I ran into a bug with the tab focus for logging in. [B]How to reproduce the bug:[/B] 1) Make sure you are logged out 2) Click on the "Join Daniweb" link at the top right of the page 3) Click on the "Member Log In" link at the top … |
I'm trying to figure out how to deal with multiple matches in my address book, say the user has two people by the name of Bob; one is Bob Lastname and the other is Bob Namelast, how would you approach dealing with telling them to specify, and then allowing them … | |
I get old search result when clicking the menu bar on bottom of the window. I would also much appreciate one word text or iconic menu for mobile phone browsers once the bug is fixed. To reproduce (Platform WindowsXP, browser Firefox 4.0.1) I click New Posts after clicking Python Forum, … | |
Hey Guys, I am a new student to Java and I am working on an assignment for school. I am not looking for anyone to do my work for me, just some guidance on what I can do to fix the problem. I have done research on this issue on … | |
Hi, I wasn't sure where to post this, but thought it may save some time for someone who ran into the same problem. I had a problem in a project, where whenever I clicked the "Accept" button on a form, it would close the form for no reason. Originally, I … |
The End.