More help required

More
4 years 6 months ago #241786 by robertspark
Replied by robertspark on topic More help required
how about posting the code for someone to maybe take a look?

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #241788 by Willheg
Replied by Willheg on topic More help required
Hello robertspark,

Yes I will do that in the next few days.

I'm not asking anyone to do everything for me but i'm not a python programmer like I have said so this mean my code will be probably pretty messy and so far it has been a look at other code and see what I can learn and also a lot of trile and error.

I have probably missed a lot of try:except: areas which may help my problems as well but yeah I feel I am at the point where I will have to post my code and see if anyone can find my issues or understand what I have done.

And I just hope in the future if I get this sorted that I might be able to help someone else with any issues they may have.

Thanks again.
 

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago - 4 years 6 months ago #241793 by robertspark
Replied by robertspark on topic More help required
I'm not a programmer, but I've dabbled with a lot of languages now just to get the job done.

I normally start off with a clean slate or something that works and just change a bit at a time and re-run it, to ensure that I've not got the syntax wrong.

Its not the most efficient way to do it, given you'll find that the code changes from what you first start out with to what you end up with and it takes a lot of trial and error.

However, if you know roughly where you are having problems just post that section.

I had a funny one yesterday that was throwing errors.... and it was really giving me a headache.... then I noticed that there were a few commas missing...... it ran a little better, but still would not run and threw up a load of other errors.... I then found a pesky semi-colon missing !!!!

its a problem when you flit from C to C# to python etc etc! And you have a day job that is not cnc / programming related. And you don't get endless time to just work on one thing so you flit in and out of it in 10 or 15 minute sessions and have to regather your thoughts and what you tried last time or were trying to do.

mind maps / flow charts can help, I keep a load of note pads and just scribble whatever in them so I can just rescribble / add to the flow charts of whatever I'm trying to do and I can also flip though and see what did not work.

Key to programming is just finding what works for you, most people are self taught anyway by necessity
Last edit: 4 years 6 months ago by robertspark.
The following user(s) said Thank You: Willheg, tommylight

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #241895 by Willheg
Replied by Willheg on topic More help required
Hello again robertspark,

From what you have written there its sounda a lot like me, have a day job, house and children and all my other hobbies, so yeah get maybe an hour here and there every now and then.

I do similar things like you have said, bit by bit etc etc but I am at the point where I am going round in circles and for ecery new bit i manage to break at least one old bit somehow.

Like I said my coding is not well commented or layed out so I'm worried if I share it to see if anyone can help they will be like man what is this guy on but also at the same time like I noted before I'm now going round in circles and chasing my tail and feel i should just share my code to see if anyone xan adcise what I might be doing wrong.

This said I do not want to rely on anyone else doing to much work free of charge as I understand peoples time is money or for there own things, but if anyone is keen then that would be great if they had a look and advised what I'm not doing right if they can understand what I am trying to do.

anyway need to clean up the code i currently have a tad more from all my triles before i post it to see what people think as to weather I am on the right track or completly brainless.

Thanks again so far and chatch you again soon.

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.138 seconds
Powered by Kunena Forum