Jump to content

nchancock

Members
  • Posts

    110
  • Joined

  • Last visited

Posts posted by nchancock

  1. After coming to Med School, the budget got REAL tight what with a wife, two kids and no job. Windows got too expensive and I didn't want to resort to piracy. Solution = open source.

     

    I started with Linspire, but that had some major issues on my laptop. Switched to Mandriva and then to Ubuntu. Never going back to the dark side.

  2. Neverwinter Nights has a native linux port. That game is pretty awesome.

     

    Also the Civilizations (III-IV) also work with cedega. In fact, most of the popular games work with cedega.

    There's Unreal Tournament (Doom-esque) and Half-life (also Doom-edque).

     

    There's online games that you can play too (if you're looking to throw your life away) like Everquest and World of Warcraft, I think those both work with cedega.

     

     

    Loki games did a port of SimCity 3000 and I think SimCity4 works under cedega as well.

     

    Then there are all the emulators for nintendo, SNES, N64, Playstation, and there is even one for the Playstation2 that is under development.

     

    So there are lotsa options, just pick the one you want.

     

    :)

  3. I like to dabble a little in the programming scene. I am mainly self-taught (I started it as a hobby last year during a fit of boredom studying for med school). Anyway, I like Gtk/C with AnjutaIDE and Qt/C++ with KDevelop.

     

    I was dissapointed that the QDesigner shipped with Qt4 had limited functionality, I don't understand why they thought they had to remove the menu and statusbar widgets...

     

    I tried some Monodevelop with Gtk#, but it was too unstable. It wouldn't even run from the Application menu, I had to run it from the command line... not a HUGE deal, but annoying nonetheless. It will be an awesome IDE once they get it up and running. I like the way C# is set up too.

     

    So, anyway, there you have it ... a letter opener.

     

    Nate

  4. Open up your gconf editor ("configuration editor" in Ubuntu), and then go to the key in apps -> metacity -> general called "reduced_resources" set it to TRUE and it will remove window animations and only show wire frames when moving/resizing.

     

    Hope it works for ya.

    Nate

  5. For ripping and shrinking commercial dvds, I'd recommend an application called k9copy. Setup contrib, plf-free and plf-nonfree repos using the Easy-Urpmi link at the top of the page. K9copy and many other dvd ripping/authoring apps will then be available to you.

     

    DVD shrink run with wine works like a charm and its really easy. I used to use it (now I do it via script, much better quality) and then burn the files with k3b. K3b is a great app.

     

    Now if only linux had a NuMenu4u-type application...

     

    Does anyone know how to duplicate its results? (i.e. demux DVD menu files, reencode to lower bitrate and remux)

  6. Sounds like maybe the Install routine is searching for a "version" file that it is not finding. This could be because it is using an absolute path to the file instead of a relative one.

     

    Don't ask me how to fix it, I don't know. But it is something to think about anyway...

     

     

    Nate

  7. Just as a precaution, you should check the MD5sum for the Ubuntu disc. I was having the same problem when I was installing an Ubuntu server a while back. Turned out that my CD was FUBAR.

     

    BTW, the Ubuntu disc comes with an automatic self-checker that you can access from the Ubuntu Install Menu. I foget where, but you just select "back" from any of the install screens.

     

    Maybe that will help...

     

     

    Nate

  8. Install lilo into the MBR of the secondary, change the old secondary to the new master and the old master to the new secondary. Then format the new secondary. That's what I would do. Messing around with image copying and all that other jazz seems like a big mess.

     

    Nate

  9. Heh, I solved it. Turned out that the function g_strdup_printf() worked instead. I found it in on e of the example codes.

     

    Anyway, what do you guys think about the g_random_int_range() function? Part of the code that I am writing needs to generate ALOT of 6-sided die rolls at a certain point. Is this function going to be too slow, or is there a better one?

  10. Good idea, I'm still trying to figure out how the page sends out its login request.

     

    I have looked at the page source, but that functionality seems to be embedded in a java script. Is there a way to capture URL requests from the browser (Firefox)? I think this might be the easiest way...

     

    Nate

  11. Here's a question for all you GTK gurus out there ...

     

     

    I have a program where I want to take the number displayed on a label (text), convert it to an integer, manipulate it (subtract the integer taken from a spin button), convert the result back to text and then write that text back to the label (thus displaying the resultant value).

     

    As I am incredibly new to this I am unsure as to what all is involved. What issues might arise? I will post the snippet of code that I have written below:

     

    void
    on_ResearchDiceSpinButton_changed      (GtkEditable     *editable,
                                           gpointer         user_data)
    {
    gdouble dice;
    gdouble IPCs, IPCs_new;
    G_CONST_RETURN gchar *IPCstr;
    gchar *IPCstr_old;
    gchar *IPCstr_new;
    gchar *IPCstr_buffer;
    gchar *IPCcost;
    GtkWidget *ResearchDiceSpinButton = lookup_widget( GTK_WIDGET(editable),
                   "ResearchDiceSpinButton");
    GtkWidget *ResearchDiceTotalIPCCostLabel = lookup_widget( GTK_WIDGET(editable),
                    "ResearchDiceTotalIPCCostLabel");
    GtkWidget *DevelopWeaponsIPCsRemainingLabel = lookup_widget( GTK_WIDGET(editable),
                    "DevelopWeaponsIPCsRemainingLabel");
    
    // Get the number of dice from the spin button
    dice = (gdouble) gtk_spin_button_get_value_as_int( GTK_SPIN_BUTTON(ResearchDiceSpinButton) );
    
    // Set the IPC cost Label text from the number of dice (*5)
    if (dice == 0)
    {
     gtk_label_set_label( GTK_LABEL(ResearchDiceTotalIPCCostLabel), g_ascii_dtostr( IPCcost, 3, (dice*5.0)));
    }
    else
    {
     gtk_label_set_label( GTK_LABEL(ResearchDiceTotalIPCCostLabel), "0");
    }
    
    // Get the remaining IPCs from the label 
    IPCstr_old = gtk_label_get_text(GTK_LABEL(DevelopWeaponsIPCsRemainingLabel));
    IPCs = g_strtod( IPCstr_old, NULL ); //convert to a double
    IPCs_new = (IPCs - dice*5.0);  //calculate how many are left
    IPCstr_new = g_strconcat( "<b>", g_ascii_dtostr( IPCstr_buffer, 3, IPCs_new), "</b>", NULL); // concat the new label string to include Pango markup
    // set the new IPCs Remaining label text
    gtk_label_set_label( GTK_LABEL(DevelopWeaponsIPCsRemainingLabel), IPCstr_new );
    }

     

    Maybe I should say that I am using Anjuta/Glade to design the project.

     

    When I build the project, all goes well. On execution, however, the program seg faults when the spin button up arrow is clicked or the value inside is deleted.

     

    What am I doing wrong?

     

    Nate

  12. OK, so this is just a musing. My school recently went "paperless" (a REAL pain in the *** for taking notes) and have put everything on a Desire2Learn system. This system is highly reminiscient of WebCT.

     

    Anyway, to access and of the class notes or lecture slides, you have to go to d2l page and login and then click around for a while and such. This gets to be rather tedious after a while. So, I was thinking that if I could somehow construct a URL link on my desktop that when clicked would automatically take me to the site and log me in, that would be oh so very much more convenient.

     

    I imagine this will entail figuring out how the browser requests a login authentication from the d2l server and then scripting my own URL in the form of http://d2l.serverwhatever.edu/dologin.asp?...R&password=PASS

     

    but I haven't the foggiest notion of how to find out what that should be.

     

     

    Any web-savvy souls out there have any ideas?

     

     

    TIA, nate

     

    Moved to Networking by theYinYeti (to be honnest, I wondered if it belonged to Networking or Security...)

  13. I echo this, seeing as though the re-encoding will produce a loss of quality.

     

    Considering the conversion from OGG to MP3 produces the same if not more reduction in quality, what is the point of even doing that? They're based on totally deffierent psycho-aucustic (sp?) models so when you convert them you lose everything that MP3 removes and then everything that OGG removes on top of that.

     

    On the other hand, I'm not sure what the difference between MP3 and AAC is in their compression techniques, but since they're both MP* maybe they're more similar ... Anyone know?

  14. Unless you're planning on hosting a web page or ftp site or something, normal security should be fine. Make sure you have a normal user for yourself other than the root account, and that should be enough security for a normal user.

     

    As for books, look on amazon for Linux systems administration guides. Frankly though, Google and Mandrakeusers.org is all you really need. That's all I used when I got started and look at me now. B)

     

    Post back here with more questions. The prople on this board are extra helpful and very prompt. You'll love it.

     

    Nate

  15. However, even k3b can make a 1 to 1 copy of a DVD, and I would imagine, that this would work on any DVD, though I may be mistaken, as I don't yet own a DVD burner.

     

     

    True, however commercial DVDs are dual-layered 9GB discs while MOST DVD-R/RWs are single-layered 4.5 GB discs. There are burners available that will burn 9GB discs, but as far as I know these discs are not being marketed.

     

    Thus the home user, exercising his/her right under fair use to make a backup of their purchased media has to resort to lowering the quality of the video or losing the extras in order to make it fit onto a 4.5GB disc.

     

    Bum deal.

     

    --Nate

×
×
  • Create New...