Jump to content

fyhuang

Community Members
  • Posts

    838
  • Joined

  • Last visited

Posts posted by fyhuang

  1. No, ImageShack is completely free and there are no restrictions as to how many files you can upload (there are restrictions to filesize, but that won't be a prob. for you).

    It's supposed to say 'hosted by Angelfire', which is their way of blocking hotlinked images and advertising for themselves :).

    Cheers!

  2. From my experience AngelFire randomly blocks hotlinked images :). Attached is what the blocked image is like.

    If I were you, I would seriously use www.imageshack.us for uploading images... try it, really :)!

    Cheers!

    ... Er, I would attach it, but I can't figure out how ;). In the meantime...

    specopselite6jx.gif

  3. Get a firewall.

    These problems are usually caused by self-propagating worms that spread through the Internet (at least the ones I were having were). A firewall, set to high security, should fix this. Firewalls, IMHO, are 10,000x more important than spyware scanners (although those are important too :)).

    Something like ZoneAlarm should help (it's free, can't remember URL right now but I saw it in someone's sig...).

    Also, install a virus scanner and scan for viruses, just in case (try AVG AntiVirus if you can't afford Norton or McAfee).

    Note: most modern games with a well-designed network layer can work under a firewall with no problems. There is usually no need to turn off the firewall when playing multiplayer games (make sure you set the firewall to let the program through though). At least that's from my experience :).

  4. Mac is rumoured to be much easier to use than Windows, even with the very small UI bugs some people complain about. I would like to get a Mac one day but I'm outta cash ;). Which is why I have Linux :).

    OS X, by the way, is based off a lot of open-source software, it's the closest you'll get to a true Linux/BSD without having to deal with the pitiful UIs that are available for Linux/BSD :P. I wish I knew more about WM/desktop programming, the KDE programmers really need to learn something from Mac :).

    Cheers!

  5. Gah, Astyle/indent can take care of that :).

    But I wouldn't want to steal their code anyways, I don't have that much use for a complicated desktop emulation on a website... besides, it's bad for the text-browser users :).

    Cheers!

  6. One of my friends wants to record a video of him playing Halo 2 on the Xbox, and he wants to transfer that video to his computer. He does not have a TV-tuner card (no video input port thingy anywhere on the back of the computer).

    Is it possible to do this? Fairly simply? My best solution so far is to hook up the Xbox to a digital camcorder, somehow set it to accept the input signal, then transfer the recorded video to the computer using USB/Firewire.

    Do any of you guys have any suggestions/possibilities?

    Cheers!

  7. I just saw the movie - it wasn't bad, but the ending kinda left me hanging a little :). Not the kind of 'I want to see more' hanging (well, maybe that too), but also just that there were too many questions presented during the movie and not many of them were solved.

    It was a good movie nontheless :).

    Cheers!

  8. Your perl one strips .cpp and .o files and leaves the rest, which is exactly the opposite of what I wanted - maybe I didn't make myself clear :)?

    *later* Removing the ! worked :).

    Thanks!

    [edit] When I plug it into the makefile though, it doesn't work again ;). This is the code:

    EXPRESSION = perl -ane'print join " ", grep /\.(o|cpp)$/, @F'
    CXX = echo -e \\tg++ `echo $^ | $(EXPRESSION)` && g++
    CC = echo -e \\tgcc `echo $^ | $(EXPRESSION)` && gcc

    And it complains:

    Search pattern not terminated at -e line 1.

  9. CodeOp - my hard drive has "crashed" before (giving me strange errors when booting, then locking up the computer while I was doing anything but the most simple, non hd-using tasks), then when I force-rebooted I could run the computer again, until the hard drive "crashed" again. Then I got a new hard drive and everything worked fine :).

    It could be the hard drive but you know, we'll never know without complicated diagnostics utilities like the ones included with Linux :).

    Cheers!

  10. Any of you regex experts out there:

    I'm trying to use sed and s/// to process a list of filenames. What I have is a space-separated list of filenames that are mostly .h files, some .cpp files and some .o files. I want to strip all filenames from the list except for the .cpp and .o files (maybe .c files too). This is the regex I have right now:

    \b.+\.cpp\b|\b.+\.o\b

    Escaped so that bash doesn't think it's some ugly malformed command:

    \\b.+\\.cpp\\b\|\\b.+\\.o\\b

    However, when I run this through sed with the following command:

    sed s/\\b.+\\.cpp\\b\|\\b.+\\.o\\b/\\1/

    sed complains saying that:

    sed: -e expression #1, char 27: invalid reference \1 on `s' command's RHS

    If anyone knows how to solve this, it would be greatly appreciated. Thanks in advance!

  11. About those e-mail messages, yes you should get rid of a LOT of them. It's possible now that either your hard drive or your networking is messed up (maybe Outlook's messed up :)) - maybe the Outlook auto-check is messing it up, or maybe it's just that your hard drive is faulty and every time Outlook tries to access so many e-mails (so much disk usage of course :)), it crashes.

    Those are the most random guesses I have ever made, please ignore me ;).

    Hope it helps!

  12. The only advantage to Windows 95 I see is that it boots and shuts down blazingly fast. At least on my old computer, running at less than 200 MHz and 64 MB (I think), we have a Windows 95 - it boots in less than 4 seconds and shuts down in less than 1. I kind of think it's cool, as compared to my Linux's ~1 minute boot and ~1/2 minute shutdown (and my ME's... 5 minute boot and 2 minute shutdown :)).

    Either way, if there are no viruses, etc. then the only way is to reinstall, and if you do that you'll lose all your 'special settings' and crap anyways. I've found that migrating isn't all that hard (from my ME to the new XP, then from the XP to Linux), at least to us computer geeks :). If you dad hasn't customized everything beyond recognition then you should be fairly well off.

    I use a Moz on my ME but I don't remember where the settings are stored :P. I believe it's either in the Mozilla folder or C:\Windows\Profiles.

    Hope it helps!

    [edit] Heh, at least Linux doesn't use quite as much memory as Windows does. Under WinXP, I had 1 GB of memory and I still only had about 256 MB free on good days. Over here I always have 600, 700 MB or more and my swap is almost always completely free.

  13. Yuck. 400 MHz and 64 MB RAM running a Windows ME (I've got an ME on 900 MHz and 128 MB RAM, and it's sloooowww, I can't see how you live with that :))? It's probably taxing out your hardware so much that it's crashing. First run the stress test (as described somewhere in these forums), preferably overnight. Second, upgrading from Windows 98 (SE) to Windows ME has no practical benefits (well, okay, not entirely true but for a computer with your speed, I would have stayed with the 98), as both are equally buggy and unuseable.

    If the stress test comes up with nothing, a scan (I believe Norton's install disk allows you to scan off the disk or boot from the disk and scan) comes up with nothing, a reinstall may be in order. I just recently heard about these 'rootkit' things, they're practically undetectible viruses (they go to the OS level and hide themselves). You won't be able to remove them, only a clean install will do anything.

    If a clean install doesn't do anything, load up a Knoppix and see if anything happens while you're running it :).

    Oh - and my best suggestion yet - get a new one :P.

    Hope it helps!

  14. Ya know, I heard that Windows and IE have a couple of flaws, is that why I keep getting these weird blue screens?

    I think your computer's flaw may be a bit deeper than 3 hours - try running it overnight. I personally don't run any dist. comp. programs cause they seem to have a problem with scheduling - when I'm running them (on the 'only use processor when idle' mode), opening Mozilla and clicking buttons seems to be 5x more unresponsive...

    If you find that your hardware's pretty good, a reinstall of Windows might work. While you're at it, why not try out a Linux or dual-boot :)?

    About the black screen - are you sure that absolutely no key combination will restore your desktop? What kind of monitor and video card are you using (maybe some BSODs are just setting a resolution incompatible with your monitor/video card)? Try pressing NUMLOCK on your keyboard - if the NUMLOCK light doesn't go off/on or blinks really fast (when you hold it down), then you've got a problem.

    Hope it helps!

  15. Give me your less version (less --version).

    Mine's is less 382+iso254.

    It's also possible that SuSE hacked it to display PDFs, but I don't think that's likely. Apparently the less homepage is: http://www.greenwoodsoftware.com/less .

    *After checking less homepage* Ah, I've figured it out. Less can have an 'input preprocessor' that preprocesses the input, and SuSE wrote one to process Tar/Gzip/Bzip-ped files, PDF files, and apparently HTML files but it doesn't work :). So less by itself only does bolding/other formatting of text, and the shell script turns the files into text files (pdftotext is the command I believe).

    Cheers!

  16. Let's just... not go there :). For the programmers and end-users I suspect that we won't even know that there is an SQL backend (frontend?) to the FS, and all it will serve to do is to make it slower.

    What an amazing idea, huh :)?

    Cheers!

×
×
  • Create New...