want to start contributing c code to a project

This is a discussion on want to start contributing c code to a project within the C Programming forums, part of the General Programming Boards category; Hi, With my c skills, I wanted to start contributing to a small c-based project*, probably open source. I was ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    82

    want to start contributing c code to a project

    Hi,

    With my c skills, I wanted to start contributing to a small c-based project*, probably open source.

    I was looking into the source code of the more familiar ones, say the linux kernel or ffmpeg or mplayer, but obviously I find the more famous ones to be too big and heavy-hitting. Really, I was looking for a small one where the code base is not so big and I could learn from it.

    I'm not asking anybody to look about for me, rather asking if there was anyone here who may know of one fitting that description (c-based, small, open source, pref. GNU tools) where a certain amount of learning (as opposed to productivity) could be tolerated.

    I dare say there may be someone here who is already in such a project.

    Cheers!

    (*school projects excluded, sorry)

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    The place to look would be on say sourceforge.net
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by stabu View Post
    I dare say there may be someone here who is already in such a project.
    What sort of stuff are you interested in? We might be able to direct you to some specific projects if we had a few more specifics. "I want to hack on a C project" is a worthy goal, and one I pursued myself in my learning phase, but ultimately it's hard to really focus on anything without some guidance from yourself.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  4. #4
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    and any popular/interesting project would not be too thrilled with someone who's main reason to apply for a position as committer is "I want to hack on a C project".
    Genuine interest in and knowledge about the problem domain is at least as important as technical knowhow.

  5. #5
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    And note that because a project is open-source doesn't mean it's good, doesn't mean the leader* is good or the code is good.

    There are projects I've joined which I soon left because it was terribly hard to get anything done "their way" -- which according to the standards was "the wrong way"... or the stupid way.

    * Without a good leader, or well-set goals and design the project is bound to fail. Just look at the zillions of abandon "MMORPG" (or whatever they are) floating around on the net, sure maybe not a good example -- but a fine one for my argument

  6. #6
    Registered User
    Join Date
    Mar 2008
    Posts
    82
    thanks for the replies.

    I was thinking about something that already has parts working OK. I guess, many projects have not even reached that stage yet. I chose open source, cos I was expecting that it would be the most accessible to someone coming from outside - not necessarily out of any perceived quality

    It may be the case, that open source coding project are as much due to the social phenomenon of people coming together with similar interests, as to sharing coding objectives and technical skills.

    I was thinking of a small utility. CLI only
    - my mp3 player's linux connection program
    - a text utility in the line of wc.
    - a small mp3 player

    Anyhow, as I said before, I am looking for myself ... sourceforge ... that's a widely cast net, but yes, there and in several places.

    Anyother suggestions welcome

  7. #7
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by stabu View Post
    I was thinking of a small utility. CLI only
    - my mp3 player's linux connection program
    - a text utility in the line of wc.
    - a small mp3 player

    Anyhow, as I said before, I am looking for myself ... sourceforge ... that's a widely cast net, but yes, there and in several places.

    Anyother suggestions welcome
    I wrote a program last year called "tvpl" which uses the ffmpeg library to decode video and play it on... a text terminal. It uses ncurses for color support. It actually plays movies pretty decently.

    However, it doesn't play sound, and I didn't get around to several other things which would make the video look even better. It's also lacking minor features like automatically resizing the video playback when the terminal is resized.

    Do you want to pick up this project and play with it?

    (EDIT: It's a very small, hopefully non-intimidating program so it might be a good place to start.)
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  8. #8
    Registered User
    Join Date
    Mar 2008
    Posts
    82
    hi brewbuck,

    I'd be happy to look at that ... though I view ncurses as being a GUI of sorts, and mplayer also plays on some text terminals.

    do you have something up on line?

    thanks for suggestion!

  9. #9
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    Quote Originally Posted by stabu View Post
    hi brewbuck,

    I'd be happy to look at that ... though I view ncurses as being a GUI of sorts, and mplayer also plays on some text terminals.
    I wouldn't call this particular app a GUI since it doesn't really accept any kind of input. You run it from the command line, it plays the movie. Also, last I checked mplayer only played in black and white, and it uses the 3rd party library AAlib. tvpl does color, albeit in a very limited palette. I think there's quite a few things you could play with.

    Some possibilities:

    * Implement more enhanced color. You can probably increase the effective resolution by using more types of glyphs. Or, sacrifice resolution in return for more colors by dithering.
    * Implement sound
    * Add some playback controls

    It's only 620 lines so you probably can't get too lost in it.

    do you have something up on line?
    http://codepsycho.org/brewbuck/tvpl-0.1.tar.gz

    Anybody else who wants to play with it, feel free. The parts of it I wrote (i.e. most of it except for a function that pieces together partially decoded frames) are public domain.

    You'll need to tweak the makefile slightly in order to link against your copy of ffmpeg.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Programmer Needed! Short project, <= 1000 lines of code
    By asic_designer in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 04-08-2008, 11:15 AM
  2. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Windows Programming
    Replies: 0
    Last Post: 10-14-2002, 01:29 PM
  3. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Game Programming
    Replies: 0
    Last Post: 10-14-2002, 01:27 PM
  4. << !! Posting Code? Read this First !! >>
    By kermi3 in forum C# Programming
    Replies: 0
    Last Post: 10-14-2002, 01:26 PM
  5. Compiling assembly code into project
    By knutso in forum C Programming
    Replies: 2
    Last Post: 02-26-2002, 02:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21