C Programming Projects

Discussions Regarding Software

Moderator: Moderators

C Programming Projects

Postby dailyadikt » Wed Jun 03, 2009 14:18

I just recently made the conversion to gentoo based linux distros, and I am also teaching myself C at the same time... anyone have any recommendations for small app projects I could practice writing?? I am fairly new to programming but would love any recommendations anyone would have....

- is there any particular programming language that caters more-so to this particular distro?

on a side note... i watched deadlist warrior on spike t.v. last night... and i don't think william wallace vs. shaka zulu was a very fair matchup... different warriors that required a totally different set of weapons... ;p

anyway... look forward to any recommendations anyone would have....
Sabayon Linux x86_32, kernel 2.6.29-sabayon (dual boot Windows XP).
Hewlett Packard 8710w Mobile Workstation
- Intel Core 2 Duo
(T9300 2.5GHz)
- 4 Gb DDR2 RAM
- 17.0" LCD
(1920x1200)
- NVIDIA Quadro (Laptop) FX1600
- 160 Gb HDD
User avatar
dailyadikt
Baby Hen
 
Posts: 2
Joined: Thu May 21, 2009 14:28

Re: C Programming Projects

Postby Thev00d00 » Wed Jun 03, 2009 14:53

Most of sabayons tools are written in Python.

If you know C++ I am trying to get the control centre project restarted...
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: C Programming Projects

Postby Stupot » Wed Jun 03, 2009 16:04

I swear, I'm almost the point where I can really help out in the control center. I've finally moved to a house from an apartment, I have my room to set up my PC and develop on it and I'll be getting internet on Friday.

dailyadikt, learning any programming language will help you out with every programming language (some more than others). If you can learn C/C++, I highly suggest doing it, as programs written in C++ are faster than programs written in Python or Java (when done correctly of course). That said, python is easier to learn and you can definitely code faster in python.
Stupot
Sagely Hen
 
Posts: 1011
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: C Programming Projects

Postby Thev00d00 » Wed Jun 03, 2009 19:14

Stupot! excellent, if you want you can move the project to our git .... and to python :D
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: C Programming Projects

Postby thecata » Thu Jun 04, 2009 6:00

Thev00d00 wrote:If you know C++ I am trying to get the control centre project restarted...


What is this control center project about? Or at least where is the topic for it? I'm a Java programmer for quite a while myself, but I was actually thinking of refreshing my C++ skills, so having some project to focus on might come in handy for me as well.
Any details would be very helpful (project goal, used libraries, tools...)
Catalin Pol
Location: Romania
Linux user since 2004; Sabayon user since 2006
--------
"Intelligence is the ability to avoid doing work, yet getting the work done" (Linus Torvalds)
thecata
Simple Hen
 
Posts: 75
Joined: Sun Nov 12, 2006 11:40
Location: Romania, Cluj

Re: C Programming Projects

Postby wolfden » Thu Jun 04, 2009 8:08

User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: C Programming Projects

Postby sjieke » Thu Jun 04, 2009 8:17

Thev00d00 wrote:If you know C++ I am trying to get the control centre project restarted...

If I had time to work on it, I would do it, but life decides otherwise for the moment :(
It would be great if it got started again, because I put to much work and time in it to just let it vanish...

Thev00d00 wrote:if you want you can move the project to our git .... and to python :D

I can't remember exactly why we went for C++, but I think it was because none of us had any descent excperience with python (and I got outvoted I think :eye: )
A move to python wouldn't be bad I guess.

At the moment the project is hosted at https://sourceforge.net/projects/sabayoncontrol/
Some of the development discussions can be found on http://wiki.sabayonlinux.org/index.php?title=User_talk:Sjieke
For those that are interrested to work on it, I can add you to the developpers and give you permissions on the forums/SVN/etc. on sourceforge. A move to the sabayon git would be great as it would be an official sabayon project then.

For those that are interrested I attached a little design document I created back then. If a port to python is going to happen, maybe it is also the right moment to reconsider some of the design descissions.
If you read the document (and maybe the discussions): the thing I am still concerned about is how to hook up events (also called signal/slots) from the UI widgets generated by the UIBuilders (GTK and QT) to action on the Modules...
An argument in favor of porting to python is that I think it is easier to use Modules written in C++ or other languages from python than to use python (or something else) from C++. But again, the biggest problem in the current design (written in python or C++) is hooking up UI interaction to actions on the backend modules, because UI is created at runtime and modules need to be pluggable...

Damn, talking and (re)thinking of it makes me wanna work on it :shock: Now I just need to free some time somewhere :scratch:
Attachments
Design.pdf.txt
Remove the .txt because it is actually a pdf, but pdf aren't allowed
(195.77 KiB) Downloaded 24 times
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: C Programming Projects

Postby Thev00d00 » Thu Jun 04, 2009 13:47

Id would say use Python and Dbus to communicate with the modules =D
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: C Programming Projects

Postby sjieke » Thu Jun 04, 2009 14:02

Dbus never crossed my mind, because besides knowing that it exists I have no idea what and how it does its stuff. Will need to investigate it...
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: C Programming Projects

Postby Thev00d00 » Thu Jun 04, 2009 17:08

Dbus = interprocess communication
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Next

Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest