PDA

View Full Version : New forum option: Similar Threads



ErosOlmi
21-08-2011, 21:38
I've activated a new forum option called Similar Threads

As soon as the first post a thread is saved, forum software search for previous threads having some similarities with the one just posted.
If any is found, they are listed at the bottom of the thread allowing a better community info exchange.

Ciao
Eros

Charles Pegge
21-08-2011, 23:02
Great idea Eros.

I wonder if we could do something similar for the thinBasic code examples. One of the most time consuming aspects of developing applications, especially multimedia ones, is finding the right building blocks. I don't think it is possible to be an expert in all the modules of TB so we really depend on locating the best sample code for the job.

Charles

ErosOlmi
21-08-2011, 23:16
I've rebuild "Similar Threads" for all forum posts in this way all threads posted before activation of new option are now correctly referred.

Charles,


do something similar for the thinBasic code examples
can you please explain more what you mean?
Maybe I can do something but honestly I do not understand what.

Thanks
Eros

Charles Pegge
22-08-2011, 01:09
It's just the germ of an idea, Eros.

At its simplest:

A utility to search every program in the examples folder using tag words or phrases, or a Google type of search.

To help coders find the right construct or set of functions for a particular task, without necessarily being an expert in that area.

For instance a game may require audio, visual and GUI functionality. Pulling in all the necessary code is extremely laborious, when attempted manually and this imposes a limit on what can be achieved in a reasonable length of time.

Projects often reach a certain level of development then get stuck. So any tools that help to reduce the workload, will allow the programmer to create more advanced applications and bring them to fruition.

Charles

ErosOlmi
22-08-2011, 01:33
Seems something more related to a Source code organizer like gbSnippet from Gary Beene (PB forum user)
http://www.garybeene.com/power/


http://www.garybeene.com/images/gbsnippets_sss.gif

Maybe it is better I split some posts from this thread and create a thinAir request.

Ciao
Eros

Charles Pegge
22-08-2011, 07:11
Yes this is getting close. (a treasure trove of valuable information on this website.).

Imagine being able to click on any word in a script, or maybe highlight a line or a block. And the utility comes up with a list of scripts containing similar code.

When a script is selected, it is displayed in the window, with all the 'hot' zones highlighted.

Charles

ErosOlmi
22-08-2011, 07:54
a treasure trove of valuable information on this website
Yes, Gary has done a lot of work in PB area and he has also posted tons of examples in PB Source code forum (http://www.powerbasic.com/support/pbforums/forumdisplay.php?f=12)

I will think what I can do in future for thinBasic.

Charles Pegge
22-08-2011, 08:49
Would anyone like to create a prototype? I am sure TB has the necessary performance.

Charles