Code Examples


Closed Thread
Results 1 to 34 of 34

Thread: Code Examples

Hybrid View

  1. #1
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Smile Placing too many restrictions - not a good idea.

    Quote Originally Posted by Darrel Taylor View Post
    No, I only get those when I eat Jalapenos. And yeah, Ice to the whole helps.

    But seriously,
    The Code Examples come Few and Far between. Whether it's a feeling of "Why should I give it to them for FREE?" or maybe a fear of ridicule from people who see it. Or maybe they just don't want to debug everyone's program when they try to use it, simply to prove that the original program really does work.

    With those reasons already in play, placing rules on top of it with voting and the like, would surely put a quick end to anyone posting anything. Because first off, nobody would bother voting. Just look at the results from the existing threads with Poll's.

    While many newbie's think that the Code Examples forum is the place to Request a Code Example, or Ask their question in the FAQ forum, simply because they've Frequently Asked themselves the same Question, I do my best to keep the Code Examples and FAQ forums clear of all the junk, and move everything out to the appropriate forums.
    Note: All the other forums are "Fair Game", except for SPAM and Flames. Added: and Politics, and religion.

    However, if I've missed something, feel free to chime in at any time. It's impossible to catch everything myself.
    Hi,

    I spent the bulk of my time last year hovering around Planet Source Code. My main objective was to further improve my programming skills in VB. I achieved this through a series of about 50 code submissions, feedback from other users, and in December of last year I won a coding competition.

    For those who aren’t familiar with Planet Source Code, they have a voting system, and each month, based on highest number of votes, 4 submissions are chosen as contest winners. You win a prize of your choice, there are a few to pick from – I settled for a copy of PhpED valued at $299.

    Planet Source Code receives a tremendous amount of traffic from users. Most submissions get around (100-200) hits daily in the first week. Some of them even more!
    And, because of this the voting system works to some extent. About 1 in 100 people vote on merit. The rest either don’t bother or place a vote of ‘poor’ on something that they’re obviously very jealous about. All told, you’re doing well if you receive 10 or more excellent votes on your submission.

    I would like to make a suggestion that something of a similar system would go down well here. But unfortunately, I don’t think there’s enough traffic. Mainly because, even though PBP is at a mature state it’s not largely widespread enough. This may however change in all due time. *Hope it does* With most this in mind, you couldn’t place too many restrictions or be terribly too fuzzy with what people are willing to submit. As Darrel points out, the site may end up with nothing if this approach is taken.

    Keep Coding,

    Trent Jackson

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I've been thinking. (ow, that hurt's)

    It seems like the idea is to have a list of all the GOOD stuff from the forum, Shown in a place that somehow makes it easier to find what you're looking for. There really IS a lot of good stuff here, and most of it just get's lost thru the time and menutia.

    The prospect of "sanitizing" everyone's posts and presenting a pristeen place to view "only working code", was a little more than I could fathom.

    But maybe there's another possibility, and still retain some of the "Voting" idea already proposed.

    Although for a different reason, I recently created a list of Examples of Clock/Timer routines ....
    http://www.picbasic.co.uk/forum/show...2&postcount=18

    I think the same format could be used in a "group" of list's to refer to examples on just about any topic.

    But here's the problem.... I need your help.
    There's no way I'm going back through the last 36,500 posts to try to find the good one's. Or even catagorize them once found.

    This is where the voting comes in.
    I'm not sure what's the best way to do it. But maybe we just have a separate thread where you can put your recommendations. (or maybe just this thread). And then I can maintain the list's as necessary.

    I'm sure you've come across some real Gem's as you've perused the forum.
    Maybe you can point out those Gem's, and make it easier for other's to find, by determining what catagory of problems it solved.

    But back to that "I need your help" part.
    I don't know what the catagories are. I don't know what the Subjects are, or even if Subjects are the same thing as Catagories

    So it'll take some real work on your part too.

    Does this make any sense ??

    _
    DT

  3. #3
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Smile Good Idea

    That sounds like something worth considering. An "Ultimate Resource" thread that's specifically dedicated to known good & working snippets. This is in fact one of the biggest attraction with sites like Planet Source Code. An overwhelmingly huge archive where something on almost anything can be found.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Oh my!

    Case in point, someone just replied to a thread from over a year ago...

    I've never seen that before.
    This stuff needs to be in an index somewhere, or something.
    DT

  5. #5
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Oh my!

    Case in point, someone just replied to a thread from over a year ago...

    I've never seen that before.
    This stuff needs to be in an index somewhere, or something.
    Hi Darrel,

    I did not get your point.

    Could you be more specific please?

    Thanks
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    I think what Darrel is trying to say is that there's some relatively good threads backlogged that may be of some considerable interest to others.

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Sayzer,

    It's just that everything seems to gets lost in the forum.

    Over a year ago, you posted a complete woking program in the PicBasic Pro furum that interfaces to a Playstation Gamepad.

    Maybe I was playing Half-Life that day and didn't see it get posted. As time goes on and more threads gets posted. The example just gets buried deeper and deeper.

    I had actually never seen it untill someone else posted a reply to it.

    And in the same manner, my proposal for a way around the problem is also getting buried. It's up in post #14.

    There's got to be a better way.

    .
    DT

Similar Threads

  1. Timer code examples for PIC 16F628
    By Tastature in forum mel PIC BASIC
    Replies: 6
    Last Post: - 22nd November 2013, 02:47
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Any Simple ASM interupt code examples out there?
    By George in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 28th March 2007, 04:19

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts