Jump to content

ShadowFoxLSU

Members
  • Posts

    182
  • Joined

  • Last visited

Posts posted by ShadowFoxLSU

  1. Technically, a link list is a dynamic array. You can sort it using a stardard array, but at least for me my teachers through a shit fit (heck, my teachers through a shit fit when I used advanced techniques (read classes and trees). Will I would ask your teacher about using a static array (yea, I know it is somewhat dynamic with the max size being a var, but an array of set size is 'static'). You dont want to get one of those catch 22 things.

  2. Ok guys. I am trying to setup an FTP server for my personal use (though I will probably add Fedora Core 1 and MDK 9.2 ISOs to it for the public) but apparently my ISP has blocked ports 20 and 21. How do I change the ports when using vsftpd. Secondly, I would like to be able to use the FTP server as a Networked disk on my main computer, how would I have to set up nautilus to automatically login and access the server (nautilus if I put in the address will open the anonymous account)

  3. This is a standard C link list sorting function I wrote a couple of years ago, feel free to modify to your needs:

     

    void sort (ptr pntr)

    /*

    Function: Sorts the link-list

    Input: pointer for the link list

    Output: none

    */

    {

    int id; /*declaring vars */

    char name [20];

    int years;

    int product;

    ptr cur, org;

    cur = pntr;

    org = pntr;

    while (cur != NULL) /* Going through link list */

    {

    if( cur->id < org ->id)

    org = cur;

    cur= cur->nextptr;

    }

    if(org != pntr) /* swapping if nessecary */

    {

    id = pntr->id;

    pntr-> id = org->id;

    org->id = id;

    strcpy(name, pntr->name);

    strcpy(pntr->name,org->name);

    strcpy(org->name, name);

    years= pntr->years;

    pntr->years = org->years;

    org->years = years;

    product= pntr->product;

    pntr->product = org->product;

    org->product = product;

    }

    if(pntr->nextptr != NULL) /* if not end of LL, call again */

    sort(pntr->nextptr);

    }

  4. Notice the last few lines of the yum update script. That this the testing branch that is commented out.

     

    yum.conf file:

    [main]

    cachedir=/var/cache/yum

    debuglevel=2

    logfile=/var/log/yum.log

    pkgpolicy=newest

    distroverpkg=fedora-release

    tolerant=1

    exactarch=1

     

    [base]

    name=Fedora Core $releasever - $basearch - Base

    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os

     

    [updates-released]

    name=Fedora Core $releasever - $basearch - Released Updates

    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch

     

    #[updates-testing]

    #name=Fedora Core $releasever - $basearch - Unreleased Updates

    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch

  5. Thats standard Redhat. Redhat hasnt released an OS with good Multimedia support since RH7.2. Anyway, you can find Totem, xine, and mpg rpm very easily (freshrpms for one) soloely for Fedora. Oh, the only media it can play out of box is Ogg Vorbis.

     

    1) Bugs get fixed quickly.

    2) It's more stable for me than Mandrake 9.2

    3) You can set Yum to run everynight

    4) There are two directories to access: Stable and Testing

  6. I've been a Gnome fan for a while, but as much as I liked it, I could really stick with it because it couldnt do what I wanted it to do. That was then.... this is now. Now that I am using Gnome 2.4 I am very satisified. I still do use ye ole KDE apps(Konsole, Konquer, and KB3), but even with KDE, I was using Gnome apps. Well thats it. If you want to know hy I use it, I guess I can only say that it "just works" for me.

  7. Well I had Mandrake 9.2(Final, RC2) on my computer for a while (read since 9.2 RC2 was released), but I found it lacking and buggy. Random lockups, couldnt play half of my games because they would either lock up or not sync with my moniter (I even manually edited my X configuration file and that didnt help either. Fedora so far I have only had a couple of minor bugs (they changed the yum update repository, and GAIM was hogging my sound server). Dunno. I really like Fedora.

  8. Alright, I am planning on setting these three services on a server. Do you guys know of any good tutorials? Also, I am connected via cable(static IP though) and a router. Do I need to assign a port to the server from the router to send all SSH requests to the server or can it figure it out on it's own?

  9. I really dont see this as a bad thing. Compared to most of yall, I am a Red Hat fanboy, because it's what I cut my teeth on oh so long ago (I remember thinking "wow, they are releasing KDE 2.0"). I think Fedora will do well. Also, SuSE and Mandrake are great desktop distrobutions, but both are moving towards buy or die mentality.

  10. I have Fedora Core 1 on my laptop (my laptop is now a server websever,I have one for work :lol: ) and I am loving it. So far the only two problems I have is that it does not detect the built-in ethernet adaptor correctly (so if any of you know what either net adaptor is in an HP Pavilion N5425 laptop, feel free to tell me), and it thinks my laptop is always plugged in. I wrote a small terminal based game with Kdevelop (can anyone tell me how to get stuff to output to QT?). I will probably write a review of it soon. That is all.

×
×
  • Create New...