UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2007-09-20 02:17 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Hi,

silly post again (but i'm in the lounge ;-)).

I'm programming shit at work so i'm a bit frustrated. I'd like to program in C and to do some system (kernel) programming (in one of my few moments of motivation during my free time). Rob or i3839 have you got any idea of what to program?

I'm really interested in netbsd developping as it has a clean source code i think it can be really interesting. But Linux and OpenBSD or even freeBSD (i found a good documentation on their website) would be cool too.

Well any idea is welcome. My level in system and kernel programming is poor. I've already coded a few stupids LKMs for Linux-2.6 and 2.4. I've already developped a simple shell under netBSD once and that's all i think...

PS: I already know kerneljanitor.

PPS: thx in advance ;-)


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#2 2007-09-20 02:52 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: what to program?

You could port something from Linux or *BSd to the rest. "Something" being a driver or unique feature.

Offline

#3 2007-09-20 03:00 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Well thx i3839 but i need a concrete example, that's what i'm missing, i have no idea...

A few time ago i wanted to develop LKMs and stuff like this but i didn't understand well how to use userspace function in kernelspace and that was pissing me off (does this mean something? hehe).

After that i wanted to develop some layer 2 raw sockets, maybe that's what i should do...But i'd really like to make some kernel programming. Maybe implementing a driver? any idea of wich hardware to choose?

Have any of you already read or programmed NetBSD code? Is it simpler or more "organized" that Linux programming?


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#4 2007-09-20 04:35 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: what to program?

If you're going to work on a driver (either implementing a new one or improving an existing one), of course you should choose one of hardware you actually have.

Never used a BSD, nor looked much at their code. To be honest, if I would go writing BSD-like licensed code I'd rather spend my time on improving Xorg (e.g. working on the ATI driver, now the specs are being released).

Offline

#5 2007-09-20 04:46 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Well if i'm talking about BSD it's not really because of the license (that i don't like that much) but more for the "beauty" of the code.

But i guess i should do like i always did: starting with something already existing just to practice and then move on.

But i'm disappointed nobody here have already made some BSD kernel coding.

Thx for the idea, i think it's way too complicated for me at the moment but who knows...

Oh i3839 i was wondering: what's your job exactly? if you're a programmer then what kind of things do you develop?

Same question to Rob (i know your job but i don't know exactly what kind of stuff you program).


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#6 2007-09-20 05:08 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: what to program?

I'm a student computer science. Dropped out of mechanical engineering, switched to software (discovered Linux and programming), couldn't find a job, and then decided to do CS. Learned all kinds of things, except programming. I was a bit late into the whole computer thing, had my first computer in 2000 or so.

Offline

#7 2007-09-20 05:13 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Ok thank you for answering :-)


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#8 2007-09-20 08:36 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: what to program?

I don't do much of any kernel coding...  I once did a trivial little kernel module ages
ago, but that's about it...  I often browse through the Linux kernel code, however,
just to figure out how something is really working underneath...  But, I rarely ever
have any need/desire to actually do any kernel coding myself...  User-space keeps
me more than busy enough... ;-)  Though, the user-space stuff I most often work on
might be considered "system programming" by some...  I tend to mostly work on
background daemons, or low-level tools and libraries intended to be used by other
developers (or cover apps/scripts) rather than directly by end-users...  That's not
ALWAYS true; I often have to do end-user app work, as well...  But, if at all possible,
I like to leave that sort of crap (deciding how the UI should work, etc.) to someone
else who actually gives a shit, because I really don't, and what *I* think makes for
a nice, easy-to-use interface is often at odds with what normal users think... ;-)
So, my favorite thing to do is design a generic tool that's basically completely configurable
in its interface and behavior, and let someone ELSE worry about setting that up in
a way that's desirable and pretty, while I just make sure the underlying tool takes
care of the important work correctly...

Oh, and as for BSD, I don't know a whole lot about any of them, either...  Currently,
the only two Unices I know intimately are Linux and QNX (2.x and 4.x only)...  At one
point in time, I knew Ultrix very well, but most of that knowledge has been lost to
the mists of time (and heavy drinking ;-))...

Offline

#9 2007-09-21 09:22 AM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

HI, Rob,

you're lucky you seem to be doing exactly what i'd like to do...i think i have the same tastes as you when it comes to programming. But i haven't found a work like yours unfortunately, when i program, it's in php perl... but never in C. And it's often for end-users.

Ok so no kernel coder here :'( well nevermind, thx for answering guys (sorry i3839 but i consider you as a guy...)


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#10 2007-09-21 01:40 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: what to program?

Offline

#11 2007-09-21 02:02 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#12 2007-09-21 08:27 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: what to program?

Offline

#13 2007-09-21 10:47 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: what to program?

Offline

#14 2007-09-21 11:53 PM

jfriesne
Administrator
From: California
Registered: 2005-07-06
Posts: 348
Website

Re: what to program?

Offline

#15 2007-09-22 07:29 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: what to program?

Offline

#16 2007-09-22 07:41 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: what to program?

The hilarious thing is that users complain when they do add security stuff because it
"breaks" things that used to work. So now they must pay the price of keeping users
ignorant and giving all crap programs free reign. That said, any security they do
add is often crappily done, so the complainers might have a point too.

I sadly enough never had the honour of meeting an Amiga.

Offline

#17 2007-09-24 10:50 PM

vic
Administrator
Registered: 2002-04-16
Posts: 90
Website

Re: what to program?

In regards to your original question, I have a project I'd love to do if I could allocate the cycles, and it would get me back to UNIX/C which I loved.

What I'd like to see is a superserver like inetd/xinetd which is for services written in php.  I figure it could load the php engine in the same way that apache or other web servers do through a shared object.  That should allow for fairly efficient services to be written in php, which would be great for prototyping, or even for some production code if done well.

One of these days I might take this project on myself but if you wanted to run with it consider the idea yours.

Yeah, I know this would open the doors to all kinds of crappy servers written in php just like there are so many crappy web apps written in php, but there's also some pretty good stuff like this bulletin board, so it could open doors to creating some really cool new apps.

Offline

#18 2007-09-28 01:01 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Ok Vic thank you for the idea i'll think about it if i can't find any kernel stuff to do.

I love the way this thread is going :-) personnally i'm fed up with windows. I can't bear people who keep saying that it's better than Unix because you can do more things...!! it's just a box full of crappy drivers (and you don't need most of them). No really working and programming under windows is really a pain. My worst memory was when i had to program in VBScrit, this language sucks!!!

Well i'm not going to extend myself on this, i'm too tired, even talking about windows is a pain for me.


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#19 2007-10-20 01:45 PM

niek
Member
Registered: 2006-12-24
Posts: 109

Re: what to program?

You could fix all the Beryl (okay, Beryl is now together with compiz) bugs..

Beryl is really nice, and it would be a shame if it wouldn't get out of beta phase :)

Offline

#20 2007-10-22 10:21 AM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Well it's a good idea but it's not the kind of programmation that i like. plus i hate beryl :-) i'm a fluxbox user and i'll never change :D


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

#21 2007-10-24 05:12 PM

vic
Administrator
Registered: 2002-04-16
Posts: 90
Website

Re: what to program?

Offline

#22 2007-10-24 05:19 PM

biologz
Administrator
From: Puking on the pavement
Registered: 2005-11-02
Posts: 396

Re: what to program?

Hey no problem Vic (i wouldn't want you to ban me ;-)

I won't definitely program for my own pleasure before a long long time. I have enough sh*t to program at work i'm fed up with that :D


gethostbyintuition() is still a dream of mine

                                                 -- quoted from bash

Offline

Board footer

Powered by FluxBB