jcarmody Posted February 25, 2009 Report Share Posted February 25, 2009 Ben offered to sponsor a coding challenge in this post in NI's forum. QUOTE If you can get a bunch of the contributors to come up with a good challenge I'll do the work of sponsoring the Challenge Can you think of a good challenge? Quote Link to comment
shoneill Posted February 25, 2009 Report Share Posted February 25, 2009 QUOTE (jcarmody @ Feb 24 2009, 04:07 PM) Ben offered to sponsor a coding challenge in this post in NI's forum.Can you think of a good challenge? One think which has interested me for quite a while would be the old "Travelling Salesman" problem. Easy to understand, simple operations, extremely hard to optimise..... More on the topic HERE. Shane. PS Possible (n-1)!/2 solutions so.... 5 cities = 12 solutions 10 cities = 181 440 solutions 15 cities = 43 589 145 600 solutions (Ouch!) 20 cities = 60 822 550 204 416 000 solutions (more Ouch!) Quote Link to comment
PaulG. Posted February 25, 2009 Report Share Posted February 25, 2009 May I suggest Project Euler for ideas. Fun stuff if you are into math problems. Quote Link to comment
bsvingen Posted February 27, 2009 Report Share Posted February 27, 2009 Something that could be usefull is reverse engineering of state machines. The coding challenge would be to design a state machine framework that also displays the state diagram (in normal state diagram form). This is maybe a bit backward, I guess the other way around would be more intuitive, but the end result would be a nice diagram that also would be useful in debugging as well as documentation. There are probably many different ways of doing this. Quote Link to comment
crelf Posted February 27, 2009 Report Share Posted February 27, 2009 QUOTE (bsvingen @ Feb 26 2009, 06:16 AM) Something that could be usefull is reverse engineering of state machines. The coding challenge would be to design a state machine framework that also displays the state diagram (in normal state diagram form). It'd need to have a parsing routing that was modular and easy to change, since a lot of us use different state machine transports (string, enum, queue, custom ecapsulated...) Quote Link to comment
bsvingen Posted February 27, 2009 Report Share Posted February 27, 2009 QUOTE (crelf @ Feb 26 2009, 02:17 PM) It'd need to have a parsing routing that was modular and easy to change, since a lot of us use different state machine transports (string, enum, queue, custom ecapsulated...) That would be a major problem. Didn't AQ make a LVOOP version of a state diagram some years back? or was it action object? I was thinking more in those terms. It is certainly doable. In HyVisual (Ptolemy II), state diagrams (including every little piece of parameter) are saved directly as XML and of course read again from XML. We don't have to do all that, just the main logic structure. Quote Link to comment
Michael Aivaliotis Posted February 27, 2009 Report Share Posted February 27, 2009 I think a coding challenge involving LVOOP would be nice to see. Also, how about having an NI Forums vs. LAVA Forums competition? Quote Link to comment
Grampa_of_Oliva_n_Eden Posted February 27, 2009 Report Share Posted February 27, 2009 QUOTE (Michael Aivaliotis @ Feb 26 2009, 11:37 AM) I think a coding challenge involving LVOOP would be nice to see. Also, how about having an NI Forums vs. LAVA Forums competition? Good idea! LVOOP has not been covered in any previous challenge. So what type of "bunch of similar stuff but different" challenge could we use? How about "Bug wars" where two ant hills with workers and warrior ants do battle. So which side do the cross-posters contribute too? Quote Link to comment
Antoine Chalons Posted February 27, 2009 Report Share Posted February 27, 2009 QUOTE (neBulus @ Feb 26 2009, 05:44 PM) So which side do the cross-posters contribute to? lol... the answer is in the question : both ! Quote Link to comment
Grampa_of_Oliva_n_Eden Posted February 27, 2009 Report Share Posted February 27, 2009 QUOTE (Antoine Châlons @ Feb 26 2009, 11:51 AM) lol... the answer is in the question : both ! After about three minutes of thinking I finally got it! Ben Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.