252 Topics

Member Avatar for mattyd

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 …

Member Avatar for jrcagle
0
244
Member Avatar for mattyd

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 …

Member Avatar for jrcagle
0
319
Member Avatar for mattyd

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]

Member Avatar for jbennet
0
123
Member Avatar for mattyd
Member Avatar for 'Stein
0
19
Member Avatar for mattyd

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.

Member Avatar for Narue
0
210
Member Avatar for mattyd
Member Avatar for mattyd
0
16
Member Avatar for mattyd

[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]

Member Avatar for mattyd
0
28
Member Avatar for mattyd
Member Avatar for lol_hacker101
0
38
Member Avatar for mattyd

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 …

Member Avatar for Mouche
0
4K
Member Avatar for mattyd

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 …

Member Avatar for jrcagle
0
82
Member Avatar for mattyd
Member Avatar for John A
0
41
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
426
Member Avatar for mattyd

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. …

Member Avatar for Ene Uran
0
6K
Member Avatar for mattyd

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]

0
54
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
137
Member Avatar for mattyd

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 …

Member Avatar for vegaseat
0
130
Member Avatar for mattyd

[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20751[/URL]

0
41
Member Avatar for mattyd
Member Avatar for goldeagle2005
0
111
Member Avatar for mattyd
Member Avatar for GreenDay2001
0
19
Member Avatar for mattyd

[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20620[/URL] :surprised :)

Member Avatar for lol_hacker101
0
100
Member Avatar for mattyd

[COLOR=#ffffff]Have The Computer Then This Is For You![/COLOR][IMG]http://content3.i-am-bored.com/games/44115_harddrivebargains.jpg[/IMG]

Member Avatar for blud
-1
92
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
249
Member Avatar for mattyd
0
29
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
112
Member Avatar for mattyd

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. …

Member Avatar for jwenting
0
120
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
135
Member Avatar for mattyd

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 …

Member Avatar for nanodano
0
238
Member Avatar for mattyd

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 …

Member Avatar for JoBe
0
92
Member Avatar for mattyd

[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20488[/URL]

0
33
Member Avatar for mattyd

Try this ;) (select "Preview Link")-- pretty cool. [URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20474[/URL]

Member Avatar for 'Stein
0
39
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
148
Member Avatar for mattyd
Member Avatar for mattyd
0
61
Member Avatar for mattyd

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: …

Member Avatar for mattyd
0
110
Member Avatar for mattyd

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 …

Member Avatar for Salem
0
153
Member Avatar for mattyd

[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20437[/URL]

0
28
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
76
Member Avatar for mattyd

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 …

Member Avatar for WaltP
0
231
Member Avatar for mattyd
Member Avatar for mattyd

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 …

Member Avatar for Chaky
0
33
Member Avatar for mattyd
0
37
Member Avatar for mattyd

(** 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: …

Member Avatar for vegaseat
0
323
Member Avatar for mattyd

[URL="http://www.i-am-bored.com/bored_link.cfm?link_id=20400"]http://home.hawaii.rr.com/chowfamily/lego/ [/URL]

0
38
Member Avatar for mattyd
Member Avatar for mattyd
0
34
Member Avatar for mattyd

[URL]http://www.i-am-bored.com/bored_link.cfm?link_id=20366[/URL] ;)

0
33
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
153
Member Avatar for mattyd

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 …

Member Avatar for BeastOverlordH6
0
120
Member Avatar for mattyd
Member Avatar for mattyd
0
44
Member Avatar for mattyd
0
28
Member Avatar for mattyd

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 …

Member Avatar for WolfPack
0
115
Member Avatar for mattyd

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]

0
31

The End.