Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Table shuffling challenge

by RichardK (Parson)
on Aug 24, 2013 at 13:04 UTC ( #1050812=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Table shuffling challenge
in thread Table shuffling challenge

Really, to me the fact that you're finding it difficult to explain your problem is a real red flag.

Computers are as dumb as a very dumb thing, so if you can't explain your problem to other human beings how can you expect to successfully write a program? The program will only do exactly what you tell it to do, so you need to do all the critical thinking.

Also, how will you test the your program to understand if it's producing significant results or just random junk? Just because it doesn't crash doesn't mean that it's working properly.

Being able to clearly explain your problem is hugely important, as demonstrated by the well known debugging technique : CardboardProgrammer Rubber Duck Debugging.

Perhaps you should start by working with a very small dataset until you've got a good understanding of your problem space.

You seem to be trying to derive some sort of probabilities, so perhaps there's a way to calculate what you need rather than trying this brute force approach. So maybe some time reading a statistics textbook would be time well spent?

Replies are listed 'Best First'.
Re^4: Table shuffling challenge
by glow_gene (Initiate) on Aug 28, 2013 at 01:52 UTC
    I used a much smaller dataset to create and troubleshoot the code I currently have. It does what I want it to do...just much more slowly than I would like. With a pen and paper I can very quickly and succinctly explain my problem, it's just difficult to explain without a visual aid. I do agree that I need to work on my communication skills concerning code; I have only taken one self-taught course and it is an area in which I need to improve.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050812]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-08-25 19:14 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (362 votes). Check out past polls.