Jump to content

fyhuang

Community Members
  • Posts

    838
  • Joined

  • Last visited

Posts posted by fyhuang

  1. I'm not supposed to void the warranty, as it's school property, but if it were my own, yes I would hack it as you say :D.

    Oh hmm, networked X server... that could work, yes, but I wouldn't be able to play any games or anything like that because of the network speed. I do have Windows XP installed on my desktop (as my previous topics have stated), but remote desktop is just like networked X, except it might be even slower :D.

    Either way, I'm trying to get it direct, not networked.

    One thing I did think of - since it's possible to change out video cards in laptops (granted, that voids the warranty too), there must be a way to connect the LCD to the new video card? If I can modify that it won't be as hackish as removing the video card and plugging in my computer. After all, I do still want to use my laptop.

    Cheers!

  2. OMG the maximum length of the topic title needs to be increased.

    Anyways, here's my problem. I'm going to boarding school, and I want to take my desktop computer with me. I don't have an LCD monitor, and since the dorms are fairly small I don't want to take a CRT. Laptops are required at this school, and so that gave me an idea - would it be possible to hook up the laptop LCD to my desktop computer?

    I'm not sure how this would work without a video-in card or something like that, but if any of you have ever done this/suspected it could work, please tell me!

    BTW, the laptop in question is the Acer TravelMate C310:

    http://us.acer.com/acerpanam/page9.do?dau3...n&crc=764451676

    (specifically, TMC312XCi)

    Thanks in advance!

  3. Lorian - No, you're not supposed to get the evaluation version. The full, net-install version isn't 'supported' either, but the support community's receptive, you can always ask around on LinuxQuestions.org, and FC doesn't offer any more than community support either.

    The link to the net-install boot CD is (at least to a UK server I assume to work):

    ftp://ftp.mirrorservice.org/sites/ftp.sus...3/boot/boot.iso

    For the ordinary install CDs:

    ftp://ftp.mirrorservice.org/sites/ftp.sus...e/i386/9.3/iso/

    And when using the net-install CD, type in this at the boot prompt:

    linux26 install=ftp://ftp.mirrorservice.org/sites/ftp.suse.com/pub/suse/i386/9.3/

    HTH!

    Centurion, the only potential problem I see with your hardware is the ADSL modem. If you could check that Internet works fine on Knoppix or some other LiveCD, then you can be absolutely sure that Linux should work fine. emu10k3 should take care of most Creative cards. nVidia's drivers are excellent. And I don't foresee any problems with your CD drives.

    Cheers!

  4. I doubt it. Like I said, Linux for Dummies is the only For Dummies book I have ever and probably will ever recommend to anyone.

    Anyways, if you have broadband you can install SuSE Linux from the net for no charge - download an ISO from the boot/ directory of a mirror, then type in:

    linux26 install=ftp://address_to_mirror/linux/suse/9.3/

    (or whatever the server/directory is) and press ENTER to do a net-install. Alternatively, you could download the 5 CD ISOs or the DVD ISOs (if you have a DVD-burner).

    Cheers!

  5. Hmm, I hate to be critical, but well you probably want my honest opinion :D.

    I think your overall design looks very nice (there are some misalignments that could use fixing, but oh well). However, I think this leans a little bit too far into the personal realm. I wouldn't write it in first person, I dunno just because. To me this site also looks too much like a personal blog. Hmm. Possibly just changing the site layout would help that. I hope you know what I'm talking about because I can't explain the feeling any more than that :D.

    Hope that helped!

  6. No no, buy a $150 ASUS N6600 from NewEgg :D. I just bought one (for, as I said, $150), and it runs so much better than my old Radeon 9800 Pro... not to mention it'll work better on a Linux.

    Radeon 9800 Pro is also a very good budget choice nowadays.

    Once you get into the GeForce 5 line, I hear that it's not the best line of cards nVidia ever made... and the lower Radeons aren't much better...

    Cheers!

  7. Ah, I'm a bit late. Sorry. Always try to be here first when I hear the word 'Linux' :D.

    Anyways, if you could post your hardware specs that would be helpful for us to help you figure out whether Linux will like your computer. Don't forget to list your computer manufacturer (or if you built it yourself, someone built it for you, w/e).

    Now, as I see it you wish to install Linux onto 'H' drive? Hmm, that might be tough. If your BIOS is fairly good, you should be able to install anywhere on the *first* hard drive, but I dunno about the second. You might get lucky. Although, after you get used to the Linux, Windows seems just so... useless! Seriously though, after installing my Lin/Win dual-boot, I still use Linux much more. It's probably that I just don't wanna go through the hassle of installing all the stupid Windows programs (and rebooting, and rebooting, and rebooting).

    Listen to Klass - watch your partitioning setup or you'll lose Windows (not sure if that is a bad thing though).

    Anyways, as for choosing a Linux distro... I'm sure you've heard of SuSE, Ubuntu, Debian, Fedora, etc. well, here's my take on them. I personally use SuSE 9.3 Professional (installed from the 'net). It's fairly easy on beginners, as long as you have some good general computer knowledge and have a fairly good Linux book handy (Linux for Dummies... the only 'For Dummies' book I will *ever* recommend to anyone). It's got a very nice configuration application (YaST), and is RPM-based. My personal favorite. http://www.suse.com/

    Ubuntu is based on Debian I think, and from what I hear it's for more advanced Linux users. Never tried it myself though. http://www.ubuntulinux.org/

    Um, hmm, Debian. Debian 'stable' has stable packages and all that, but they're not always the newest feature packages, for which you'll need 'unstable'. From what I hear, Debian isn't very hard to use, and apt-get is supposedly the most godly tool ever made. Once again, I've never tried it... http://www.debian.org/

    Fedora Core (4, is it now?). For those of you FC users, is FC based on RedHat or is it a completely new project? RedHat was probably the world's most revered desktop Linux distribution. Way back in the day, when I installed RedHat, the whole thing was clean and spiffy-looking, and of course the installer was very nice and all too. I guess I'll always have good memories about RedHat. FC seems to be beginner-friendly as well, but given RedHat's enterprise nature I would guess that FC is also powerful for experienced users (all the distros are really). http://fedora.redhat.com/

    Gentoo Linux. Now, this is a distro for advanced users. Don't go here if it's your first time.

    Okay, now that that's over... some small (legal) issues with Linux. First off, if you're lawfully paranoid, don't play DVDs. I'm sure I've already mentioned libdvdcss somewhere, but I shall do so again: Hollywood develops CSS encryption for DVDs. Naturally, there is no Linux version of the library. Someone breaks the encryption scheme and distributes his library over the Internet - libdvdcss. Hollywood/US gov't declares this to be illegal. Years later, we still don't have a Hollywood/gov't-sponsored Linux library. So we continue to use (illegally) libdvdcss.

    Illegal though it may be, however, barely any Linux users worry about using it, and no one from the gov't seems intent on punishing those who do.

    About DRM and online music stores and such - don't bet on getting DRM-protected music to play. Even with wine, DRM-capable players 'mysteriously' refuse to install or run.

    Hope that gives you a general overview about Linux and the distros. Good luck with your dual-boot! Hope it helps and cheers!

  8. ... My Canon printer worked with Linux... maybe you just forgot to configure it?

    For 3), go into YaST, go through the tabs until you find the runlevel editor, then go down the list until you find Samba, then click 'Activate' :D.

    For 1), KDE and GNOME are included pre-configured in most distributions, incl. SuSE. In 9.3, I think GNOME is configure much more nicely than KDE.

    Cheers!

  9. 1) If you use something like KDE or GNOME, it's a piece of cake.

    2) What make/model?

    3) You need to start the Samba service from the runlevel editor last I checked.

    It's not perfect, but with a bit of tweaking it's much more amazing that Windows!

    By the way, after installing Linux, I barely had to add new drivers or anything at all. After installing Windows, I rebooted at least 8 times to install security patches, firewall, printer drivers, and god knows how many other drivers...

    Cheers!

  10. Finally, I have finished reformatting, partitioning and reinstalling! God, that took a while (a day and a half in fact). I am now (very successfully!) running a SuSE 9.2/WinXP dual-boot!

    Chris, if you ever wanna try this, take note of the notes I made above :D. I eventually just used an extended partition instead of LVM, because it allows Windows to recognize the partitions.

    I have only one complaint about SuSE 9.3 - their GNOME version isn't up to date, and their KDE is totally whacked. So, what am I supposed to use :D?

    Cheers!

  11. Here in the Linux world we set up cron jobs to automatically run backup scripts. You can do it with Windows too.

    First, I would install Cygwin. Useful stuff for writing UNIX scripts. Set up a 'task scheduler' task to run Cygwin with a specified script (that you write). Either that or write a simple C/C++ program to do this.

    Archive all your important folders in this script, then name that archive based on the time and date. Keep track of the last 10 or so archives, then delete archives after that (or use some kind of date-based deletion, i.e. delete all archives from before 7 days before today).

    If you wanna use your newfound application, I guess that works too :D.

    Bleh. Installation programs should pop you up a dialog box:

    Are you TOTALLY, COMPLETELY, and ABSOLUTELY POSITIVELY SURE that you wish to format /dev/hda1 as ReiserFS?

    Good luck with that backup!

  12. Hey guys!

    Lorian/Chris knows exactly what I'm talking about here. This is my problem. I have a Dell computer, with a Dell BIOS. The Dell BIOS has a quirk - it won't boot from partitions beyond a certain point on the hard disk. I do not know the exact location, but I suspect it's at the 40-50 GB line. This is a far cry from the 1024 cylinder BIOSes (~8 GB), but it still poses a problem.

    What I am trying to do is to install Windows XP, keep Linux bootable, and keep all the files in my backup partition intact. Right now my partition table looks like this:

    30.6 GB - FAT32 backup partition
    32 MB - Linux boot/ partition
    rest - Linux / partition

    I do NOT want to lose my files in the backup partition (it's a backup after all), and I want it to remain for PURELY BACKUP PURPOSES. I do NOT wish to share the backup partition with Windows.

    However, Windows always wants to install to the first partition, which just happens to be my backup partition. Like I said, I don't want this to happen. So, the solution I have thought up goes like this:

    30.6 GB - FAT32/NTFS Windows partition
    32 MB - Linux boot/ partition
    30.6 GB - FAT32 backup/shared partition
    rest - Linux / partition

    What I will do is to first delete my Linux / partition (that's why I need the backup :D), then create a new partition after my boot/ partition that's exactly the same size as my existing backup partition (maybe a little smaller). Then, I will boot into Knoppix or other and move all the files from my previous backup partition to my new backup partition. I will then proceed to install Windows XP on the previous backup partition (maybe changing it to NTFS, but I don't know). After that, I will fill up the rest of the disk with Linux (SuSE 9.3!). Since the boot/ partition is still wedged in-between there (and since it's there right now, and my computer boots), I assume that GRUB should still be able to load from boot/ and I will still be able to boot my computer.

    What do you guys think of this overly complicated scheme? Worth the trouble? As a note, my purpose for installing Windows XP is that I really, really need to get some applications working (namely, RealPlayer 10 so I can buy music finally! and also TI-Connect for my calculator). I would resize my existing backup partition, however this may prove to be unfeasable:

    20 GB - Windows partition
    32 MB - boot/ partition (move this closer, to be on the safe side)
    10.6 GB - empty space
    30.6 GB - new backup partition
    rest - Linux / partition

    The problem being - what do I do with the 10 gigs of empty space? What can I do with it? I don't want to move my backup partition there, because I'll first have to:

    ...
    30.6 GB - new backup partition
    30.6 GB - temp backup partition

    Move the files from the new backup partition to the temp backup partition, then delete the backup partition and move it into the 10 GB space (still 30 GB in size though), then move the files from the temp backup partition to the real backup partition, then delete the temp backup partition and leave the rest for Linux. I fear that would be too taxing on my hard drive, and that it might break down and I would have to get a new one.

    What do you guys think? Can anyone come up with a better partitioning scheme? I seriously don't need all 30 gigabytes of space for my Windows partition, as I plan to install all of 2 or 3 programs on it (I plan to - use Windows for Windows development testing and TI calculator development only, and boot Windows in short 30-minute bursts to download and transfer music, then go back to my Linux paradise).

    Thanks in advance and cheers!

    [edit]

    What can I do with it?
    Hmm, I have found out that my opt/ folder is only about 1.5 GB large. Many people set aside partitions for their opt/ directories, and I might do the same. A 10 GB partition for a 1.5 GB directory seems like a waste though... more on this as I continue to think up solutions.

    [edit 2] Okay, so I have my final partitioning plan down. I had forgotten that it's not possible to have more than 4 volumes on the disk at any time (and I forgot that I need swap space), so my new plan takes advantage of LVM (virtual partitions):

    30 GB - FAT32, Windows XP
    32 MB - ext2, Linux boot/
    1 GB - swap, Linux swap
    [LVM]
       30 GB - FAT32, backup
       whatever's left - ReiserFS, Linux /
    [/LVM]

    The Windows partition is FAT32 in case Windows can't access my LVM FAT32 backup partition, so that I can transfer files between the two.

  13. Makes you think the problem is with playeo

    That's what I've been telling you all along :D. My guess is that the problem is with Playeo. I know you switched to Firefox, but I still recommend you update Internet Explorer because that may help your problem. Installing Windows 2000/ME probably won't.

    Cheers!

  14. I highly don't think Playeo is a professional company (as I have already said; and your statement that they're not replying to your e-mails makes it even more clear). Have any other games from Playeo worked before (on either one of your computers)?

    And another note - DO NOT TURN OFF YOUR FIREWALL! Even if you think it might help some kind of online problem, it usually won't. Well-designed programs can legitimately break through a firewall easily (if you allow them to, in the firewall settings), but worms and viruses can't (if you don't let them). Turning off your firewall is heralded as a solve-all solution to your Internet problems, but it really isn't. Do this as a last resort, and only if you're completely sure that it's related to the problem.

    Anyhow, rant over. Cheers!

  15. Dev-PHP looks nice, but it's natively German and some of the dialog boxes haven't been translated, so the UI can be a little messy. It also crashes a bit more than I would like.

    Otherwise, it's a perfectly fine IDE. I personally just use my text editor and Apache installation for PHP testing.

    Cheers!

  16. Hey,

    As you might have noticed me saying this, none of the stupid music stores work on Linux w/Mozilla! I'm not saying that you can't purchase music (if that didn't work, I would be highly surprised), but rather that none of the previews work. Right now, WalMart Music Downloads is the only store that I have found that actually doesn't require a separate program download and has working previews. That's rather sad.

    I'm not sure if any of the stores' previews work on Windows w/Mozilla either. And since I can't install their stupid client apps, I can't use those to purchase music either (big offenders: Real Music store, iTunes, and Napster). RealPlayer for Windows almost ran, but not really (I don't see why their Linux player doesn't have music store functionality).

    If any of you Linuxers have gotten music store previews to work, or even you Windows Mozilla-ers, I would be very interested to know.

    Thanks and cheers!

  17. Good idea! ... but that doesn't help solve his problem unfortunately, as Mozilla doesn't use Microsoft's (BROKEN) MSHTML.dll engine.

    Update your IE and tell us whether it helped!

    Cheers!

  18. std:: is a namespace. Namespaces were introduced in C++ in order to solve a problem - naming conflicts. Say you had programmed a class called string. The STL provides a class named string as well, so what does the compiler do? It can't decide which one to use, so it gives you an error. Of course, the programmer then has to fix the problem. So what do you name your string? String? STRING? CString? You see this has the possibility of getting everyone confused (so which string class do I use again? String or STRING?). std:: is now considered a 'reserved' namespace. All STL classes and stuff are put in the std:: namespace in order to prevent naming conflicts with your own classes and stuff.

    You can use 'using namespace std' to remove the std:: but I haven't been doing that since I got away from my C++ book, and I haven't seen too many 'pro' projects do it either. Most people type fast enough that it just seems unnecessary...

    Cheers!

  19. An access violation tells you nothing about what's really going on. Since MSHTML.dll is an HTML rendering DLL, my guess is that updating Internet Explorer will help this problem. If you update your drivers/DirectX/IE and it still doesn't resolve the problem, my first guess would be that whatever trial you downloaded has a bug. The games on Playeo do not look very reliable to me, and unless you find something really, really unique that you cannot pass up, go somewhere else.

    Of course, that's not an excuse to update drivers and Internet Explorer. Updating IE is extremely important to the continued health of your computer.

    Hope it helps!

  20. You could do:

    const int SELECTION_EXIT = 3; // 'Const'ants can't be changed
    bool running = true;
    while ( running )
    {
       // Menu code
       switch ( selection )
       {
       case SELECTION_EXIT:
           // Exiting
           running = false;
           break;
       }
    }

    As for your question 3 (which I forgot to answer), there is probably no easy solution to this. However, you could definitely check your string length:

    unsigned char input[50];
    [b]unsigned int bytes;[/b] // All my calculations assume you're using unsigned ints
    cin >> input;
    int length = strnlen( input, 50 );
    if ( length > 10 )
    {
       // The input number is longer than the capacity of an integer
    }
    else if ( length == 10 )
    {
       if ( input[0] > '4' )
       {
           // The input number is too big (the largest number possible is 4294967296)
       }
       else if ( input [0] > '4' && input[1] > '2' )
       {
           // etc.
       }
    }

    As you can imagine, this could be quite a bit of code, so that's why most beginner programs don't have extensive error checking. You probably don't even have to include this bit of code (while your program might be useful I highly doubt you'll be putting it into production code and later on, if you decide that you want to, you'll be a much better programmer and can add all the fancy error-checking). If you really want to, just the input[0] > '4' check is probably enough to satisfy whatever error-checking you could desire.

    What I meant by "if you're a beginner and your code has the word 'char' in it, you have a bug": string operations are extremely bug-prone, especially to beginners. Even experienced programmers overlook string-handling bugs. Using char strings is essentially opening yourself to the world of string-handling flaws, as opposed to some pre-built, secure, stable string package (i.e. STL std::string). Most beginners aren't experienced enough to catch string bugs, so, in general, if you're a beginner and your code has the word 'char' in it, you have a bug.

    Cheers!

×
×
  • Create New...