Code Examples


Closed Thread
Results 1 to 34 of 34

Thread: Code Examples

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    That is a WISH Joe.

    Post it on the wish list.

    And may be a (the) Genie will take it for consideration (there is one I know around here).


    -----------------------------

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Wow, where do I start?
    1. Darrel, Melanie and Lester do a fantastic job here, despite having lives and jobs of their own. A1 job!

    2.Sayzer, it's a dream - ok - nice dream though - Crownhill PBP University! And notice the word Genie in Genius!

    3 Darrel, I'm not sure you do not already clean this area up, certainly there are some great posts there. I love this forum and appreciate every post I find here.
    The issue (if indeed one exists) I am addressing is: to try to make this one catagory the goto place to search fo answers, that have been repeatedly addressed, without having to sort through a thousand days of friendly dialog. This forum is already the premier place to learn MeLabs P Basic + Pro, There are some really bright people who post here. As far as the workload issue, I was thinking a post would need to be nominated for assention to code example status, and then receive lots of votes from members.

    Yes I can be an irritating little turd, But guaranteed, I will make you think! And as long as you all are thinking, this forum just keeps getting better! Ugh, unless you are all thinking "what an ice whole" in which case . . . "nevermind".

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


    Did you find this post helpful? Yes | No

    Default

    Yes I can be an irritating little turd,...
    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.
    Last edited by Darrel Taylor; - 17th January 2007 at 05:38. Reason: Added: and Politics, and religion.
    DT

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Food for thought

    You have made some good points Darrel. The last idea I had on this subject was to post sanitized code examples here and include a link to the original post. Thats all I have, I'm empty, still I hope everybody thinks about this and offers up their own suggestions however arcane they think they are, you gotta shovel a lot of rocks, to find some gold, but there is gold in these here posts!
    Thanks for hearing me.
    JS

  5. #5
    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

  6. #6
    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

  7. #7
    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.

  8. #8
    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

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