252 Topics
Concerning Python Indentation Syntax: I have researched this and read some reasoning behind indentation-level enforcement. My question is: does this exist simply to ensure consistency when dealing with nested statements, a precaution against sloppy composition of code? I am not complaining about this, and actually I somewhat like this, but … | |
I have been working on a somewhat small Python GUI for a few weeks now primarily focusing on the GUI and not giving much in-depth thought to the logic of what is to be a simple card game. I assumed the logic to be in my head and in general … | |
This footage is very nice. It is edited along with a song by the band [B]Rammstein[/B], so for full effect, view with speaker\ headphones active. [URL]http://video.google.com/videoplay?docid=4026224401642224210&q=german+army[/URL] | |
[URL]http://www.cnn.com/2006/TECH/12/05/supercomputers/index.html[/URL] | |
I appreciate all numbers but I only care for and like [B]even[/B] numbers (perhaps its an OCD thing ;) ) As programmers we all work with numbers all the time; which types of numbers do you like, prefer, and\or adore, and why? regards, Matty D. | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20857[/URL] | |
[B]I'll have to make one of these![/B] :surprised (Watch the video-- middle of link page) [URL]http://www.i-am-bored.com/bored_link.cfm?link_id=18973[/URL] | |
| |
I am trying code a single button that will fire two commands, that is, it will open two image files with one button selection. I have researched this and have not found much directly related to this question; what I found was to use a def within a def, thus … ![]() | |
I am interested in learning if it is indeed possible to sort a Python dict. What I have researched tonight points to that it is [B]not[/B] possible, although snippets were posted inferring that you can sort a dict; I tried some of this code and it did not seem to … | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20785[/URL] | |
Hello: I am trying to use the Python Sleep Function via [I]import time;[/I] I get results but not the results I am looking for. What I am trying to do is rather simple and only for visual effect in a Python GUI: [B]Display GIF --> Sleep (pause) 5-seconds --> Display … | |
Last night I took the advice of a DaniWeb member and looked at some posted Python code; this code was based around a card-type game and involved creating a GIF deck, shuffling, then displaying it. My original question had to do with using a Python dict for my GIF images. … | |
If you like games like cards, "Magic:The Gathering", and anime-like artwork then you may like this game. It is free 24/7, International, and addictive (yet very casual). ** I play under the name "THEVILLIAN", should you join. [URL]http://www.urban-rivals.com/[/URL] | |
I am a programmer but have just recently ventured into the realm of graphics programming using Python; what I have learned so far is fascinating. It is so thrilling to see a coded design appear on the screen in full color. But, I find, making an image appear is one … | |
Is it possible to use files such as GIF files as a value in a Python Dict; that is, is it possible to use GIF files in a Dict and access them directly, rendering them to the screen via Tkinter. I have a group of GIF files I plan to … | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20751[/URL] | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20625[/URL] :lol: :-| | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20670[/URL] ![]() | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20620[/URL] :surprised :) | |
[COLOR=#ffffff]Have The Computer Then This Is For You![/COLOR][IMG]http://content3.i-am-bored.com/games/44115_harddrivebargains.jpg[/IMG] | |
What are the lyrics to one of your favorite songs? [URL="http://www.sing365.com/"](On-Line Lyric Source)[/URL] [B]ONE[/B] of my favorites: [code][U][B]Powerslave[/B][/U][B] by Iron Maiden[/B] Into the abyss I'll fall-the eye of Horus Into the eyes of the night-watching me go Green is the cat's eye that glows-in this temple Enter the risen Osiris-risen … | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20645[/URL] | |
Hello: Recently one of the fans in my laptop is "grinding" usually within one minute of booting. There are three fans: the grinding one (the largest), a smaller one next to it, and a tiny fan positioned next to a heatsink. At first we thought it was the hard drive … | |
I Love Rain. I always have. I also adore snow. Cold and "dreary" weather like London in the Fall. Where I live we have been getting nice rain and cool, dark-cloud nights recently. Great sleeping weather. Great for sitting-at-the-computer-all-day weather (well, each day is like that but, LOL). Romantic weather. … | |
I am working to add some simple user input checking into my program; there are three (3) int choices from a menu-- 1, 2, or 3. The user must choose one of these. I am able to check whether or not the input is 1, 2, or 3-- but I … | |
Hello: Something as seemingly simple as an If\ Else statement is causing me much trouble and I cannot figure out where the error lies. I believe it to be in:[LIST] [*]The variable scope [*]The use of the static variable [*]Or, the misplacement of curly brackets (something that has a tendency … | |
Hello: I am seeking a few tips in regards to debugging: I have been using [B]Visual C++ 2005 Express Edition[/B] for the last few months but am not very comfortable with its debugging platform. I simply wish to step through a section of the program via breakpoints and view variable … | |
| |
Try this ;) (select "Preview Link")-- pretty cool. [URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20474[/URL] | |
Hello: I am having a bit of problem with logic in a segment (marked in [B][COLOR="Blue"]blue[/COLOR][/B]) of this code: the indicated code should simply update the variable upon each pass of the function as it runs; the variable value maxes out at 456-- it will not increase by 228 beyond … | |
| |
I have come to point in my program where I have decided a static variable would be the best option. I am not very familiar with static variable use and have never implemented them often. The area of concern is highlighted in [COLOR=Red]red[/COLOR]: I am simply using a time function: … | |
I have been looking at a small bit of code concerning the use of [B]static [/B]with variables; I thought I understood the use of [B]static[/B], but I find this code confusing: [code]//: C03:Static.cpp // Using a static variable in a function #include <iostream> using namespace std; void func() { static … | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20437[/URL] | |
Well, I had my first dream of DaniWeb last night\ this morning: I was walking in Manhattan with my girlfriend. We enter an office building, an arcade of businesses, most of them software\ networking\ data storage\ security type companies. We stroll through here admiring what we see. We come to … | |
I am incorporating clock_t into a current build; I need a simple way to measure time elapsed; it is not so important the source of elapsed (CPU) time or even its starting point (zero would be ideal, but it should not matter). I really just wish to understand the output … | |
[url]http://www.youtube.com/watch?v=xOeGM9wyTvU[/url] | |
Do you love Metal? I adore all types of music (Classical to Rap) but Metal always hits me where it counts-- empowering and loud. Who is your favorite (and why)? My favorite is [URL="http://www.ironmaiden.com/homepage.php?section=0&subsection=0"]Iron Maiden[/URL]: powerful, literary references, historical content, excellent musicianship, consistent. Music to code by. It is all … | |
[url]http://www.i-am-bored.com/bored_link.cfm?link_id=20375[/url] | |
(** This post was inspired by a recent post I read where a reply suggested the indenting of all code.) I am guilty of this, I'll be honest. I know it is important to indent and indent properly, it is industry standard, and it is simply utilitarian. I always think: … | |
[URL="http://www.i-am-bored.com/bored_link.cfm?link_id=20400"]http://home.hawaii.rr.com/chowfamily/lego/ [/URL] | |
[url]http://www.i-am-bored.com/bored_link.cfm?link_id=20018[/url] | |
[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20366[/URL] ;) | |
Greetings: A simple question that has me stuck: Program runs, calls function, function runs... Return to Main? This last area is where it fails. No errors, just no control returned to Main.cpp at end of function run. I've been studying the code much and researching the solution on the Net … | |
I suppose one must have been of sufficient age in the 1980's to remember the 80's gaming scene. I was 10-years old in 1981. What games do you remember from this era?(primarily I speak of arcade games as well as Atari game systems) What did you prefer and what did … | |
[url]http://www.i-am-bored.com/bored_link.cfm?link_id=20125[/url] | |
[url]http://www.i-am-bored.com/bored_link.cfm?link_id=20143[/url] | |
I am planning to implement [I]#include <time.h>[/I] in my program. I have never yet used this include. I will be using this in order to track a 24-hour period, or at least that is what I wish to do; I basically need to set up a natural 24-hour day that … | |
How much longer until androids are as common as desktop PC's? Awesome-- I can't wait! [URL]http://www.i-am-bored.com/bored_link.cfm?link_id=19284[/URL] |
The End.