mattyd 89 Posting Maven Featured Poster

There was a short film on tv the other day on the history channel (I think) that discussed that. The interviewed a very old shepherd (maybe in his 80s) who had been born and raised on the area, and he also confirmed that it would have not been possible for Jesus to have been born in December. But I think most people are aware of that anyway -- someone just chose Dec 25 for some other reason. Its not the date that is important, but what we do on that date.

I agree: it's not the date. It think it is vital, though (at least for Christians) to be aware of the origins of this day, the Western holiday of Christmas. Christianity, at least by a proper definition, does not embrace Paganisn nor that which is derived from such for whatever politcal\ social reason(s).

Regards, and thanks for your response.

sharky_machine

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

I have addressed this problem sometime ago; I have either misplaced, misunderstood, or never received a response to this issue so therefore I am again attempting to deal with a Python issue:

I am towards the end of a build, and I am dealing with button commands, something that was not necessary to finalize in the program until this point. I need to either:

  • Code one button widget to allow multiple command arguments, that is, the same button is capable of issuing unique event commands at different points
  • Or, I need to be able to destroy or delete the said button so I am able to reload and redisplay it bound to a single, unique command (example: only one button is seemingly displayed from the user's point-of-view, but it is actually 3, seperate "buttons" that perform 3, unique command events.) This does not seem to be the method to use, but unless I can determine a cleaner method such as one button with multiple command references allowed, I see no other way at this point.

~Thank-you in advance for any responses\ ideas

sharky_machine

Hello again:

I have been trying the given suggestions as well as other, possible options researched online; I was able to solve my initial problem concerning "command=" but it displays two (2) buttons instead of a single button -- I require only one button at all times. I am obviously missing something here.

I have tried various things such as: destroy, delete, forget-- in …

mattyd 89 Posting Maven Featured Poster

well, one approach could be to have the button attached to a single callback that checks state and calls one of three functions based on the state:

def callback(self):
 
  commands = [self.myfunc1, self.myfunc2, self.myfunc3]
  commands[self.mydata]()

commands is then a jump table that gets you to the right function.

You could lambda-ize that solution as well, like this:

self.commands = [self.myfunc1, self.myfunc2, self.myfunc3]
 
self.b = Button(self, ..., command=lambda :self.commands[self.mydata]())

But that latter solution won't work if the callback has to extract info from self in order to find out which function to call.

Jeff

TY for your reply and help.

mattyd 89 Posting Maven Featured Poster

Thats it..

Are you married or not ?

If not then what are your views on marriage, how do you people see marriage as ?

If yes then what did marriage change in your life, are the new found responsibilities burdening you or making you a better person ?

Regards,
~s.o.s~

PS: I am single and for me marriage is a sacred relationship...

Married: I have been. The relationship was a mixed-experience of extremes that nose-dived into a trautmatic deluge precipitated by drug-abuse, dishonesty, and infidelity. One may look upon it as emotional treason. I certainly do.

Beyond this evil, I see marriage as highly sacred and as an ideal that can be cultivated with the best of harvests. This takes work, drive, giving, openess, submission, and truth amongst other countless, selfless acts. It takes willingness to even attempt to pursue these acts and then practice to elevate them to a peaceful and bountiful lifestyle that benefits both woman and man. This sacred relationship is ordained sacred but is sanctified by on-going improvement.

I see the Earth at times as venom-filled and vile-- but I have not given up on life.

I write programs with the best of intentions and my own brittle, mathematical theory, but the compiler still spits out errors at me, the code crashes, and the build itself dares me to catch its bugs. I have, though, not given up on the graces of C++, Ruby, or Python.

Women have burned me …

mattyd 89 Posting Maven Featured Poster

I have addressed this problem sometime ago; I have either misplaced, misunderstood, or never received a response to this issue so therefore I am again attempting to deal with a Python issue:

I am towards the end of a build, and I am dealing with button commands, something that was not necessary to finalize in the program until this point. I need to either:

  • Code one button widget to allow multiple command arguments, that is, the same button is capable of issuing unique event commands at different points
  • Or, I need to be able to destroy or delete the said button so I am able to reload and redisplay it bound to a single, unique command (example: only one button is seemingly displayed from the user's point-of-view, but it is actually 3, seperate "buttons" that perform 3, unique command events.) This does not seem to be the method to use, but unless I can determine a cleaner method such as one button with multiple command references allowed, I see no other way at this point.

~Thank-you in advance for any responses\ ideas

sharky_machine

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

Not really, just that I need to screw up my friend's computer at work. We're always attacking each other on the computer, but this time it's gone too far. He put a script on my computer so that every time I log on, the computer restarts, or logs off, making it imposible to log in. I have ways around it though, but I need something to mess up his computer bad enough so he can't figure it out and I have to help him, but not too bad so I don't get fired. Are there any suggestions for screwing his computer?

Most corporations of any size have written policies that warn against sabotage of any type on:

  • Company Hardare
  • Company Software
  • Company Networks

Setting timebombs on a company machine or running a malicious script sounds like loads of fun in theory until it backfires and perhaps corrupts a database, for example.

Everything is monitored nowadays. The best advice is to warn your friend that he could lose his job while you retain yours. If an employee was doing this to systems that I owned I would fire them immediately. It is unprofessional, dangerous, and enough to get you blacklisted in some industries.

Be very careful.

sharky_machine

mattyd 89 Posting Maven Featured Poster

Maybe he lives in Europe and does not follow NFL ????:cheesy:

No, I live in the U.S. ;)

But, what is "nfl"? Is it like SQL?

mattyd 89 Posting Maven Featured Poster

*Coughs WHAT?*

[IMG]http://www.nflhs.com/images/PI/qb3_PeytonManning2006_250.jpg[/IMG]

Star quarterback of the Indianapolis Colts. ;)

Oh. :-|

mattyd 89 Posting Maven Featured Poster


seriously, I love chocolate. It is the only thing that really settles me down!!!!!


Javanewbie

Yes, I am quite a chocolate junkie; That with coffee keeps me up all night, and then I wonder why I have such insomnia. Chocolate + coffee + cigarettes + complier\ Internet = 6:00 A.M. bed times. :eek: But, I do so enjoy it. ;) Chocolate is Awesome!

mattyd 89 Posting Maven Featured Poster

If the implications weren't so truly frightening, I'd be LMAO:

http://news.com.com/SenatorIllegalimagesmustbereported/2100-1028_3-6142332.html?tag=nefd.lede

From the article:

Millions of commercial Web sites and personal blogs would be required to report illegal images or videos posted by their users or pay fines of up to $300,000, if a new proposal in the U.S. Senate came into law.

According to the proposed legislation, these types of individuals or businesses would be required to file reports: any Web site with a message board; any chat room; any social-networking site; any e-mail service; any instant-messaging service; any Internet content hosting service; any domain name registration service; any Internet search service; any electronic communication service; and any image or video-sharing service...

A McCain aide, who did not want to be identified by name, said on Friday that the measure was targeted at any Web site that "you'd have to join up or become a member of to use."


*sigh*...
Welcome to the United States- The Land of Frightened Sheep.

How Surprising. :rolleyes: As I've always said and will say again: " I'd rather live in Europe." ;)

mattyd 89 Posting Maven Featured Poster

You look like Payton Manning so obviously you have no problems posting pics of yourself, not that i notice that kind of thing....:lol:

Who is Payton Manning?

mattyd 89 Posting Maven Featured Poster

Can all the Female members in this forum put up their best pics in the forum as attachements ?? I like to see how many computer babes are this forum ???;)

Why, what a lovely idea :rolleyes: -- perhaps more topical fire here for last week's fuel? :surprised

sharky_machine

mattyd 89 Posting Maven Featured Poster

What about those Star wars games?? Are those any good ??

In general, no. :evil:

[IMG]http://www.gamestudies.org/0101/juul-gts/Image8.gif[/IMG]

Star Wars (Atari 1983)

mattyd 89 Posting Maven Featured Poster

**Note: This may not be the correct forum for this post; I posted here as I thought it may be related in at least an indirect way. Please move if necessary.

I have never knowingly worked on any projects where I had to attempt to extend a language. I hear this concept thrown around, but I do not have any concrete concept of implementing this. I am not at this time in need of doing this but I believe it is inevitable at some point to be able to at least understand it better. I have done research via the 'Net but only find what I consider vague definitions and examples.

As an over-view at this point, I would define "extending" a language to be taking options available in one language (say for example "C") and using them to enhance another language such as Python, for example.

I have read that Python and Perl are considered "glue" languages used to, "tie together systems and interfaces that were not specifically designed to interoperate"-- I am not sure if this would be included in a general definition of extension although I assume it would.

I am seeking a general insight into this and perhaps a non-coded example(s) of how this might be practically implemented and why. I will then be able to further research this topic and work on some basic, coded examples to learn from.

Thank-you for your time and any help offered.

Regards,

mattyd 89 Posting Maven Featured Poster

I still have nightmares that I never got onto that damned list. :cry:

http://www.i-am-bored.com/bored_link.cfm?link_id=20950

mattyd 89 Posting Maven Featured Poster

I have been trying lift and lower with no verifiable or visible results (also been messing around with delete canvas-load canvas-- nothing). I am still getting two images (which are supposed to be seperately displayed) stacked on one-another, both displayed in one window. Perhaps I am placing lift and load in wrong areas of the code to facilitate its proper use? I do not get errors after compile\ run, just the resulting bi-level GIF window.

Example:

##----- test load one  -----##
# prep and create card images here
image00  = "TEST_ani.GIF"     
photo00  = PhotoImage(file=image00)
# canvas created here \/
# make canvas the size of image1/photo1
width1 = photo00.width()
height1 = photo00.height()
canvas2 = Canvas(width=width1, height=height1)
canvas2.pack()
# display photo1, x, y is center
x = (width1)/2.0
y = (height1)/2.0
canvas2.create_image(x, y, image=photo00)
[B]canvas2.lower(canvas2)[/B]
 
 
 
##----- test load two  -----##
# prep and create card images here
[B]canvas3.lift(canvas3)[/B]
image000  = "TEST_ani_1.GIF"     
photo000  = PhotoImage(file=image000)
# canvas created here \/
# make canvas the size of image1/photo1
width1 = photo000.width()
height1 = photo000.height()
canvas3 = Canvas(width=width1, height=height1)
canvas3.pack()
# display photo1, x, y is center
x = (width1)/2.0
y = (height1)/2.0
canvas3.create_image(x, y, image=photo000)
print photo0

This additional area of code is not necessary for the program to work properly-- it is potential eye-candy, but not vital. The GUI (minus this attempt) works wonderful. I am just attempting to punch up the visual appeal. I guess I need to get back to the game logic , and save the frilly, little extras for …

mattyd 89 Posting Maven Featured Poster

RotJ FTW

I am so surprised RoTJ is leading this poll.

mattyd 89 Posting Maven Featured Poster

I have been trying lift and lower with no verifiable or visible results (also been messing around with delete canvas-load canvas-- nothing). I am still getting two images (which are supposed to be seperately displayed) stacked on one-another, both displayed in one window. Perhaps I am placing lift and load in wrong areas of the code to facilitate its proper use? I do not get errors after compile\ run, just the resulting bi-level GIF window.

Example:

##----- test load one  -----##
# prep and create card images here
image00  = "TEST_ani.GIF"     
photo00  = PhotoImage(file=image00)
# canvas created here \/
# make canvas the size of image1/photo1
width1 = photo00.width()
height1 = photo00.height()
canvas2 = Canvas(width=width1, height=height1)
canvas2.pack()
# display photo1, x, y is center
x = (width1)/2.0
y = (height1)/2.0
canvas2.create_image(x, y, image=photo00)
[B]canvas2.lower(canvas2)[/B]
 
 
 
##----- test load two  -----##
# prep and create card images here
[B]canvas3.lift(canvas3)[/B]
image000  = "TEST_ani_1.GIF"     
photo000  = PhotoImage(file=image000)
# canvas created here \/
# make canvas the size of image1/photo1
width1 = photo000.width()
height1 = photo000.height()
canvas3 = Canvas(width=width1, height=height1)
canvas3.pack()
# display photo1, x, y is center
x = (width1)/2.0
y = (height1)/2.0
canvas3.create_image(x, y, image=photo000)
print photo0

This additional area of code is not necessary for the program to work properly-- it is potential eye-candy, but not vital. The GUI (minus this attempt) works wonderful. I am just attempting to punch up the visual appeal. I guess I need to get back to the game logic , and save the frilly, …

mattyd 89 Posting Maven Featured Poster

Right. Notice the subtle difference and be careful about it: the original code is legitimate Python, but it doesn't mean what one might think it means.

if var1 == "image0.GIF" or "image1.GIF" or "image2.GIF":
     varValue = 10

will take the value of 'var1 == "image0.GIF"' (which might be True or False), || that with the value of "image1.GIF" (which is always True!), and then quit because a True state is reached. As a result, varValue will always be set to 10 regardless of the value of var1.

whereas

if var1 == "image0.GIF" or var1 == "image1.GIF" or var1 == "image2.GIF":
    varValue = 10

will take the values of the conditionals and || them together, which is usually what is intended and will result in the expected action of setting varValue to 10 if var1 is one of the right values.

Even better:

if var1 in ['image0.GIF', 'image1.GIF', 'image2.GIF']:
   varValue = 10

which eliminates the need for multiple conditionals, and is more easily extended to add additional .GIFs.

Jeff

'beware of geeks bare in GIFs!'

Thank-you for explaining that all to me. It is easy to make errors in situations like this (and I usually do :o )

sharky_machine

mattyd 89 Posting Maven Featured Poster

Now as I am thinking of it, you could put each image on a separate canvas and use each as a picture object, assigned to a dictionary, where the key is the card and the value the picture object (canvas and all). About 52 cards, that shouldn't be too much load on the old memory. If I find time, I might play with that!

Hi:

Yes, this is actually what I did for the cards, in a sense, but I did not use a dictionary (I tried a dict and also a list-- the list worked better). The game is turning out very nice so far-- the GUI looks, IMO, very good. I am now working on the game logic which is fairly simple save for handling Aces-- 21 or 1? This will depend on what the player and the machine possess, respectively: I will have to check for Aces, check total values, and also watch for natural Blackjack. I am simplifying the rules a bit as some of the rules will be a bit much to interpret at this point in code it seems (splitting for example. I may work this in towards the end, but at this point there is no splitting allowed in the game)

The question I have about "refreshing" the canvas is not for the card GIFs but actually in the beginning when the canvas itself loads; I am essentially hoping to add a sort of "splash" screen intro to enhance the graphics, …

mattyd 89 Posting Maven Featured Poster

>Which is your favorite Star Wars and why?
Return of the Jedi. Because. :)

Because... of the Ewoks? :surprised ;)

mattyd 89 Posting Maven Featured Poster

I am searching for the logical Python logical operator "or"; While C++ is:

1 || 4 (using pipes)

I assume Python would simply be "or", as in:

1 or 4

Or something like this:

if var1 == "image0.GIF" or "image1.GIF" or "image2.GIF":
varValue = 10

Is this syntax for Python "or" correct in my examples?

Thank-you in advance.

sharky_machine

mattyd 89 Posting Maven Featured Poster

Which is your favorite Star Wars and why?

Mine, most definately, is The Empire Strikes Back. Why?

  • Ice planet Hoth
  • The deep blue tones of the movie with nice amounts of greys, white, and black
  • The AT-AT Snow Walkers
  • Bespin
  • Carbonite
  • Imperial Probe Droid on Hoth sent by The Empire on recon (this is such a well-designed and evil machine, one of my absolutely favorite droids of the entire series-- excites me each time I watch it!)
  • Bounty hunters

[IMG]http://www.danger-seekers.com/top5/images/swbadprobedrd.gif[/IMG]

I watch Star Wars for the droids, space battles, and special effects\ graphics. Many people say so much about the "dialogue"\ acting; while that is true, it could be better (especially in the final three films) Star Wars is classic and is hard to beat on most fronts.

I also love "Revenge of the Sith" although I feel it could have been a longer film (more details) and a bit "darker". The graphics are, well, beyond stunning IMO.

I would really like to see a historical prequel that deals only with the origins of the the Sith, set 1,000 years before the modern Star Wars. The primal magic Sith and the early, unformed galaxy.

mattyd 89 Posting Maven Featured Poster

I have been working on a GUI-based program using Tkinter; it is coming along nicely and I am very pleased with the results.

I am at a point where I am trying to attempt a graphic manipulation of the GUI canvas. I have researched this but I am unsure what I should use:

Simply, at Run, the Canvas is built and rendered to the screen, a GIF image being displayed as the "background" of the canvas. This works great and I need no assistance with this. What I wish to do is to now (without any obvious change in the rendered window that the user would notice such as a flashing or jumping, opening\ closing of the window) is to "refresh" the canvas background image, hence displaying a new canvas-background GIF.

  • Run and build Tkinter canvas. Render first GIF as canvas background
  • Load 2nd, NEW GIF for new background
  • Load 3rd, NEW GIF for new background

What I have tried paints each GIF to the screen window (GUI) but only in the sense that the original then the to-be refreshed GIF are stacked upon one-another; The are combined and the GUI window is stretched to fit the two images. It should be only one GIF-- one after the other.

It is almost, in a sense, an animation, potentially, depending on how one handles the display time(s).

It is a very simple process, it seems. I just do not know the syntax\ code yet …

mattyd 89 Posting Maven Featured Poster
  • Flyff (Fly for Fun) great and beautifully designed game-- much fun
mattyd 89 Posting Maven Featured Poster

Ultimate Comfort Food-- Penne Vodka Lasagna: We really don't eat it, we absorb(ed) it. **Created tonight between Python compile sessions.

[IMG]http://s52.photobucket.com/albums/g31/reranger/th_DSC01250.jpg[/IMG]

mattyd 89 Posting Maven Featured Poster

Two precious girls: Monika feeding Peek-a-Boo blueberry yogurt.

[IMG]http://s52.photobucket.com/albums/g31/reranger/th_DSC01247.jpg[/IMG]

mattyd 89 Posting Maven Featured Poster

Thank-you so much for your help and pointing out this simple solution to me, a glaringly obvious mistake I could not see. Sometimes it takes another person to look at something you've been staring at for hours\ days to see what you are missing.

Thanks again!

sharky_machine

mattyd 89 Posting Maven Featured Poster

I suspect you are correct. But consider this; if the universe is spatially infinite and (on large distance scales) of uniform density, intuition suggests that there are an infinite number of other stars and planets out there. Probability theory suggests that if one travelled far enough from Earth they would eventually reach a region of space with "exactly" the same configuration of matter and energy as our solar system. In other words a replica Earth (with a replica Dani of course). There would actually be an infinite number of identical Earths if you follow this argument to it's logical conclusion.

Steven.

Probability seems to say this, yes. But does not probability (in a basic sense) state that there are equal chances in a random event for the result to be "1" and equally probable for it to be "0"? So, for every exact replica of our planet, there would be an inverted replica, exactly alike in every way but in reverse. This concept is intriguing but surely not true. If the laws of physics holds true in every micron of the universe (as we believe at this point) then an anti-Earth would possess nothing but anti-physics. How could this exist in the same time and space of what we know? It might be torn apart by our standard gravity the moment of its inception (due to its properties of anti-gravity), it may never be even able to be created via the accretion process (requiring gravity and velocity), and possibly if …

mattyd 89 Posting Maven Featured Poster

Hello everyone. Which of these do you prefer? As people who know me would agree, I'm a bit of a depressive ******* somtimes :sad: . So, obviously I'm voting for the Chronicles (which for the uninitiated, is one of the darkest fantasy series' ever written). I do really like the other two as well though.

Steven.

Of course, I love LOTR (books, not the movies that much), but I really prefer Dune. I prefer "dark" themes in general-- LOTR is a bit too light-hearted at times and it is a bit cliche, or rather, I suppose it is the dictionary for fantasy\ magic cliche knock-offs. Enough of "Orcs" already.

Most of what I read is: Charles Dickens (fave author), Yukio Mishima (Japanese-- dark at times but lovely), Gabriel Garcia (Colombian); dark with bright magical-realism. American "Literature"? No-- overall, IMO, it is commercial junk.

Regards,
sharky_machine

mattyd 89 Posting Maven Featured Poster

Great post topic. I like alot of types of food-- I will try to stick to just some of them:

  • Mashed potatos\ sauerkraut: this is my ethnic background; add a little sausage to this and that's real eating.
  • Indian food: besides Italian, this is my favorite food from a paticular country. Aloo Gobi (sp) with nan bread, chutneys, finished off with rosewater ice cream, perhaps a glass of white wine-- heavenly.
  • My girlfiend is Cuban and cooks for me almost every night. She has turned me onto SO much good, high quality food: chorizo sausage :cheesy: , plantains, wheat smoothies, cuban bread, loads of REAL butter, empanadas, guava, fried bananas, real rice (not instant :evil: !), flan, Spanish steak :!: ; everything cooked with olive oil, Kosher salt, spices, and wine, drenched in fresh lime. Wow-- it is 6:30 A.M. here in NY and I am getting hungry again (still have not gone too bed YET).
  • All real Italian (some of the best in this region). My favorite of which I cannot get enough... Penne Vodka (penne pasta cooked in a cream-Vodka sauce. It's the best.) I am going to make a Penne Vodka Lasagna tommorow actually. Can't wait.
  • Middle-Eastern food (hummus, tabouli, pita, grape leaves, lamb) && Jewish food (keugal, kosher meats).

Regards,
sharky_machine

mattyd 89 Posting Maven Featured Poster

I celebrate Christmas and New Year. I celebrate wit family by get togethers .. food, music, getting the kids gifts and white elephant for the adults. They I leave the family and try to celebrate alone and reflect on the past year. and then party like an animal - Mostly Dancing on new year. Oh! and Cookies .. I love the holiday season because people bake .. I love the snacks...

Yes, the cookies and snacks are most excellent: my family back in Ohio always had this pseudo-tradition regarding Christmas sweets to create what were called "buckeyes", actually, the name of our State tree, too. They are very rich and taste very good; some sort of amped-up peanut butter in dipped-chocolate. I believe it was some type of German recipe originally (one side of my family are German)


Buckeyes (but we had them without the stick) :cheesy: ;)
[IMG]http://www1.istockphoto.com/file_thumbview_approve/80299/2/istockphoto_80299_buckeyes.jpg[/IMG]

Regards,
Sharky_machine

mattyd 89 Posting Maven Featured Poster

In response to this thread, I have created a poll asking for supporters of a Game Development forum.

It's something that I find DaniWeb is lacking, it would attract a good crowd of game developers and programmers, and would keep game programming discussions seperate from other forums such as the C/C++ forum.

It would also help newbies to game programming (but not to programming in general) get started, based on their skill and knowledge.

Here are a couple of general programming forums that have a special forum dedicated to game development, for more ideas:

I'm hoping to hear from you all.

Thanks
--joeprogrammer

Yes, we need a game dev forum, most definately.

mattyd 89 Posting Maven Featured Poster

I've recently noticed that Daniweb doesn't have a board for gaming discussions. Would this be possible? Surely the point of life is to work AND play?

Would you personally like a games board?

Yes, I vote for a gaming board.

mattyd 89 Posting Maven Featured Poster

Since programming has a lot in comun with math,I sugest to have a special topic for that , so that people don't have to go on other forums when they want to find out ,for example,the gauss method of solving matrices ,useful in creating a program that outputs the determinant of an matrix of nxn order

I heavily agree with this request for a Math room for DaniWeb.

mattyd 89 Posting Maven Featured Poster

Ok, I will for now.

But here's one vote for a seperate RoR category.

Best Regards,
Rodney

I vote for this also: Ruby\ ROR. This is becoming a vastly growing language. Many sites do not host a forum area for this either. A new Ruby forum may just attract more to this thriving community.

Thanks,
sharky_machine

mattyd 89 Posting Maven Featured Poster

A couple of months ago i got to fly in a chinook as a matter of fact

That's sweet. :) I have never been up in a heliocopter. I hope to go up in a fighter someday if I am so lucky.

I love the footage of the jets in this video; the fighter lifting off and the pilot looking back at the ground. The German planes painted in dark gray are quite nice and intimidating.

Somewhere recently I saw footage of the new tactical fighter produced by SAAB-- it is quite amazing. Designed to land on regular roads and maintained by a small crew of 3-4 non-specialized soldiers. I think it will be a powerful, new weapon in the European arsenal most likely.

Regards,

sharky_machine

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

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 it is but I am running into some problems I am having trouble solving.

Before I post some various code examples, I will tell you a bit of the trouble I am having: I have tried using both\ either dictionaries and lists to store card data; I see strengths and weaknesses in each for this program. I am not sure which would be the best at this point as I go back and forth trying different things and neither prove to be the winning answer. The trouble I believe lies in variable scope, specifically around the if\ elifs; there are many as there are 52 cards.

I have been working hard on this and I have tried many things but it seems when I think I solve one thing I have indeed tied myself up logically in another area locking myself into a corner it feels like. I think sometimes: "If I could just break out of the scope and access the nested variable from within." Yes, there is a way, I assume, but either I cannot recall it or do not know of it.

The game will be a basic "21" game. I have researched code …

mattyd 89 Posting Maven Featured Poster

Pretty cool, what's up with the res??

I'm not sure. :sad:

** Yeah, I just went back and watched it again-- it's messed-up. It was very clear before. Not sure how that could happen. I do not know a whole lot about video\ audio.

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

My girlfriend and I raise Domestic American Rats together in our apartment; currently we have only two, one named Peek-a-Boo, one named Sugars. They are adorable and so smart. My girl's two Labradors: one chocolate, is named Chewbacca, the blond female, Penelope.

While going to school in Texas I had a Wolf-hybrid named Claudia and a papered Siberian Husky called Stormy Sky Dancer. I also had an American Tuxedo (cat) name Abigail. Particular reasons forced me to no longer reside with them.

mattyd 89 Posting Maven Featured Poster

Narue:

Thank-you for your reply.


LOL. Is this meant to be humorous?

It's a kind of dry humor, yes.

OK, Good. I thought so.;)


Can we all please try to come to terms with this and not only "drop it", but resolve it?

Doubtful. First, it's nearly impossible to get two sides with extreme and opposite opinions to resolve a problem without separation. Second, I'll speak for the moderators and say that an executive decision would be excessively draconian and you shouldn't expect it for trivial differences in opinion that should be handled by individuals in private. At the most, the thread would be locked to halt stop the public argument for that thread if it got out of hand.

I agree with you on all of this.

mattyd 89 Posting Maven Featured Poster

Hi there,

I am wrecking my brain trying to remember that cartoon "Squids with mullets and shotguns but it's not coming to me. When did it come out and what's it about?.....................:) Justine

http://www.adultswim.com/shows/squidbillies/

mattyd 89 Posting Maven Featured Poster

Narue:

"Yes, this may well be deemed "sarcasm *cough"

If you want to view it that way, I won't stop you. However, I interpreted the original post as stated, there was no joking involved."

I do not view it this way, Admin does. I realized you were not joking, hence, my response to your reply.

"This is my first, real "introduction" to Narue and I suppose I wish that I have never discovered this thread at all.

I would much rather your first real "introduction" be one of my good posts in the C++ forum, but sadly, not everything I write is eloquent and brilliant. I guess you'll just have to settle with the discovery that I am, in fact, human."

Unfortunately, this is true. My first introduction to you is one that appears ripe with a degree of hostility. That is indeed human-- hostility, emotion-- and I am not holding you to some sort of standard that we ALL don't struggle with. I have not yet had the chance to read any of your technical posts; I'm sure I will as that is the reason I come to this site. As you are a Moderator, I assume your technical skills and ability to impart your knowledge would be above par. That is a strength for the site and this technical community. Until I witness that, though, I will only connect this area of contention and your seemingly targeted and rude attitude as the …

mattyd 89 Posting Maven Featured Poster

And, also this this: Squidbillies
A bizarre, American cartoon.
Squids with mullets and shotguns ;)


[IMG]http://www2u.biglobe.ne.jp/~massange/images/CN/squid1a.jpg[/IMG]

mattyd 89 Posting Maven Featured Poster

Brrrrr :) It's winter, ya know! You Californian surfer dudes!

It's Winter, it's Winter!! I was just outside with the dogs (3:30 A.M. here)-- it feels great. Love Winter :cheesy: :!:

mattyd 89 Posting Maven Featured Poster

I have just had the chance to read this entire set of posts and I had to respond to at least an area of what I have read so far; I will attempt to piece together what I see to be relative, although, my response will be unable to address many of the specifics:

I'm having trouble deciding how to categorize your motivation in asking that. I've settled on one of these three:

1) You couldn't think of anything better to talk about.
2) You're trolling by subtly bringing up a topic that will divide people.
3) You delight in reminding everyone of past prejudices despite their irrelevance.

This initial response to purple rainx appears to be rationalized by the following quote, although true in the scope of human interaction and society, it remains unfortunate that these types of personality extremes are accepted and in many cases promoted:

"Calm down - we don't mean to be mean. We all just have different senses of humor ... some more blunt *ahem* or sarcastic *cough Narue cough* than others. But don't take it to heart please."

I find Naurue's 3-point comment above to be at the least demeaning and I would think easily offensive to anyone it might have been directed towards. Yes, this may well be deemed "sarcasm *cough"-- but it is more than that as any average person could discern. This is my first, real "introduction" to Narue and I suppose I wish that …