Jump to content
xisto Community

faulty.lee

Members
  • Content Count

    496
  • Joined

  • Last visited

Everything posted by faulty.lee

  1. Why don't you consider using .net scripting or powershell, instead of cracking your head to reinvent the wheel. For .net scripting, the script itself is plain .net, be it VB.Net or C#. The main thing is to use System.CodeDom.Compiler.ICodeCompiler to compile and run the code on the fly. Windows Powershell http://forums.xisto.com/no_longer_exists/ It's also relying on .net. But it's scripting engine is much more powerful, and suited to run as an console or scripted.
  2. You can replace the gpu fan. There's plenty of kit available in the market. You just have to bring along your gpu card and see which one fit physically, and fit your taste too Just search for "gpu fan replacement", there should be plenty of sites to read. If you include your gpu model in the search, you'll surprise of what you can find. e.g. http://forums.xisto.com/no_longer_exists/ Anyway, before doing any of that, have you tested the temperature during active game play? The most important factor here is being effective, no point to take the hassle to replace the fan if the stock fan does the job. Cos, there's always risk involved in the fan replacement too.
  3. I think your problem is that the bios is getting the battery information wrongly. It might have thought your battery is low, so it cut it off. But in windows, the driver for acpi might think other wise. You mentioned that the battery is new? But your notebook is old??? Is it an original battery? Normally the battery is capable to handle the starting load and for notebook, the startup load is actually the same throughout.You can try to look under your bios, explore around and see if there's an option to do a battery calibration. Most notebook has one. If your's have, then run it. Be prepare to spend at least 4 to 8 hours though. It will full charge your battery, then discharge it and then charge again, to recalculate it's capacity. After that, your battery's remaining percentage and remaining time will be more accurate.
  4. Idle temperature will not be affected much by clock setting, unless it's a radical change. You should check your temperature when playing game. Or you can run 3Dmark. With a fix run time, take note of the temperature. Let it return to normal temperature(44C for your case) before you do a 2nd test, maybe with diff clock setting. If it increases radically, that means a more powerful fan is needed, or you have to remain at lower speed. Sometime it's no necessary to change the gpu fan to help to lower the temperature. An extra casing fan can also help. Most casing are already hot inside, plus the ventilation is actually not good enough to cool down the system especially when you play game.
  5. Toby, try search for "partition magic rapidshare.com", you get better chances for working ones. I use my usb stick for storing documents and running live linuxes. I manage to get 2 onto 1 partition. Earlier i thought the only way to run more than 1 live linux is by splitting up the partition. But I found out that even partition magic also can't do the job. I used version 8. So i what i did was install slax 6 first using instruction from the web. Basically copying the 2 folder, "boot" and "SLAX" from the iso or tarball, then run syslinux againt the usb stick, to make it bootable. Then I added backtrack2 by just copying the 2 folder from BT2 cd, which is "boot" and "BT", but this time, I rename the "boot" folder to "boot-bt". Open up the file "slax.cfg" under the slax' boot folder. Add the following towards the end of the file LABEL btMENU LABEL BackTrack 2KERNEL /boot-bt/vmlinuzAPPEND vga=0x317 max_loop=255 initrd=/boot-bt/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rwTEXT HELP Help for currently selected: Run BackTrack 2ENDTEXT I copied the setting from BT2's boot config under "boot\syslinux\syslinux.cfg". Take note of the boot folder setting for the 2nd OS, which I refer to boot-bt here instead of just "boot". e.g. "initrd=/boot-bt/initrd.gz". That's it, boot it up, and you'll get a nice slax boot screen with the option of running BT2. Tested, and 100% working. Btw, I'm using Corsair Flash Voyager 4GB, highly recommended for it's read and write speed. I booted slax 6 in 1 and a half minutes only. Others brand around 4 minutes or slightly less. They just ain't fast enough for regular use.
  6. I think those only applies to newer generation sound card, produce in 2006/2007 onwords, which I've only seen around this time frame. But Sohaib is referring to Creative sound blaster 5.1, which is very old. I used to have one of those. It's still quite manual in terms of setting and hooking it up.
  7. How was the physical of your speaker to your sound card? Like how many 3.5mm plug did your speaker have, and how did you hook it up to your sound card?
  8. There're cases where we run windows server, which doesn't have cron job. I would always use cron job on linux machine. Some hosting might not provide access to cron job.
  9. Forgotten to mention the less reliable ways. 1. Use https://www.webcron.org/index.php?〈=en. It wil lcall your URL/script at the preset time 2. Do the same as webcron, but from your own pc, or someone else pc which is one 24/7, using either schedule task or cron if you're running linux 3. Make the script intelligent, and call it from every link possible from your website, or from ajax scripted on our client side. You need to keep track of the execution of the script, so it will skip when it doesn't need to be run. Your site will need to have certain amount of traffic in order to use this method, and if not done properly, it will bog down the server. Also, it doesn't guarantee execution of the script at exactly the right timing. I don't recommend using any of these methods, unless you really have no choice, especially the 3rd one.
  10. More or less, cron job is the only reliable solution. I've came across this before when I was developing a web based hotel management software, where I need to charge each room with daily charges pass midnight. The only way to guarantee that it's charge, or the code to charge runs properly and on time is by using cron. Of cause this is only for linux based machine or server. If you're running a windows server or running on your local windows machine, you can use Schedule Task, and set the script to recurring. The only set back is that you need to start the task manually for the first time if you happen to restart your pc. I do not know of any other workaround for that, so I wrote a .Net System Service, which runs in the background and check for schedule to run, much like cron, and it will run even without login. For cron, you can refer to -> https://en.wikipedia.org/wiki/Cron Cron is the service that execute the scheduled task, while you need use crontab to add/edit/remove the tasks from cron. If you're referring to Xisto' hosting, you can access "Cron Jobs" from cpanel. Choose standard, the rest is quite straight forward. The command, you can either call php and pass the path to the script, or for my case I use wget, which fetch the output from an URL. So I wrote my script to output some status or response, wget will fetch it, and from the command, I redirect the output to a log file. That way I can easily keep track of the output. For cpanel, you can also choose to have the output send to your email address. But I would rather choose to check back from time to time instead of having my mail box filled up with logs(my script needs to be run every minutes). wget -q -O- http://login.astahost.com/myscript.php >> /home/login/log/script.logMore or less like that, I can't remember the exact command. Anyway, I chose to use wget instead of php(commandline version), due to the fact that my script can't run properly in commandline, can't figure out what's wrong, so I chose the easier method.
  11. For this case, you don't have to. [0] here refers to the first column of result you're returning. If in later stages, you start retrieving more columns of data, you might want to consider using the column name like ['id'] or ['username'] and so forth. Using text as index will compromise a little bit on speed. But it won't be noticeable until you start accessing hundreds of column per page. The alternative is to use constant. Declare constant with representative name and assign number to it, then use it to refer to your column, it's similar to using numbers directly, just that it's less confusing. E.g. $row[tablename_id], where tablename_id = 0. Using constant and using number has an disadvantage, you need to take note of it when you change your query in the later stage, like retrieving more columns, or if you're using "*" to retrieve all the columns, the code will break when you update your table structures.
  12. If you really want to learn some stuffs, make sure you take the initiative to make the first move. What you just did was like asking out loud "I'm hungry, can anyone send me to a restaurant and treat me a meal?". Not being sarcastic, I just want show you that you need to put in effort in order for others to consider giving some effort to help you out. So, you should be saying "I'm hungry, can anyone tell me how to go about?" So, it sounded like you need a tutorial. You can look up in google for these term "tutorial mysql php signup profile", without the quote of cause. I just did it just now, and you should get something useful out of that. Then, along the way, if you stumble across some problem, like things not working as expected, even though you've follow exactly, then you can start asking question from there one. If you're more adventurous at this point, you can search for solution, only after you gave up then you start asking question. If you just want to post something to earn some points and get a free hosting, you can forget it, cause it's harder than just merely posting a few words to maintain this free hosting. Good Luck
  13. No one can actually view your php file in the first place. Unless you mistakenly configure the server to serve php pages as html, then it would just display them as plain text. Other wise, no way. The other thing is, most server serve the include folder above the www/html root, thus making it only visible to the code, but no way to access it from the outside world. yourroot/www/your html files --> http://yourserver/index.tmlyourroot/cgi-bin <-- No way to see this from outside, unless you can actually do this, (http://yourserver/../cgi-bin) which is not possible
  14. NTDetect virus would be hard to remove, if I'm not wrong, it's loaded even before the windows itself, thus, it has nothing to do with registry. As for basic removal of virus - I would rather call it malware, since viruses are less nowadays, and virus don't goes through the registry to infect. To remove malware from the registry normally means removing it from the autoruns entries, so that it won't load itself the next time windows start, that way you can remove the malware itself by deleting it. If you don't do so, you won't be able to delete it while it's still running. In order to properly do that, you need to start windows in safe mode, by pressing F5 during startup of windows. You can keep pressing F5, in case you miss it. By using safe mode, windows will not automatically load any non default app, services or driver. Then you can easily remove those malware. I wouldn't recommend editing the registry directly, as it's quite hard to explain everything here, and it's error prone. Instead, you should use msconfig. Just goto Start\Run then type in "msconfig", and windows tools that help you manage your system config, startups services. Goto Startup, then look under the list from any suspicious apps. Uncheck it then click ok. After that just restart your computer and verify it. If you're not sure which one, then you might have to diesable all, and then slowly enable one by one to find out which is the one. The easier way would be to download virus scanner, run it in safe mode to fully detect and remove the malware. Worse case, you might need to burn a bootable virus scanning cd, then scan from it. Or if you know how to take out your hard disk, and have another pc around the house or office, just plug in there and scan from there. That's one of the cleanest way, since nothing loads from that harddisk, so you can clean properly. Good luck
  15. Well, I was kinda force into using yahoo, cause I own a geocities account before geocities was bought over by yahoo. Actually all I wanted to keep is the geocities email, because I've been using it for a very long time. But slowly I move over to gmail, when yahoo decided to remove pop3 access from their free email. No doubt there are tools to over come the pop3 problem, like ypop (it was called yahoopop before getting into legal issue), but it's slow and some what having glitches from time to time, especially when yahoo change something. Don't really like the old and new interface also, it's not as productive as gmail's. So from this point onwards, never like yahoo anymore. It doesn't seems to take care of it's users interest, but instead, concentrating on squeezing money out of the users. What a shame . No offense for those yahoo lovers.
  16. Very likely that you've caught a malware. You can force power off by pressing the power button for more than 4 seconds. Then Turn it on and keep pressing F5 until you get into windows. This will activate safe mode. Hopefully the malware isn't running. So you can start running your virus scanner and spyware scanner to get rid of it. Simply deleting the downloaded files at this point might not help, cause malware are known to be very smart with this. They might have planted themself into the registry and auto start by itself. If you think you can handle a bit more, you can try running "msconfig", by using "Run" or pressing Win+R. Look under "Startup". Look under command for anything unusual, or with the name of the file you've just downloaded. If unsure, just disable all. Then reboot. If it works properly after that. Then you can try to enable one by one, which each you need to restart then check again. Until you found out the culprit. After that, that note of the "Command" and look for the actual file and delete it. At the mean time you might want to pull out your network cable or turn off your modem, just in case the malware is siphoning out your data. Good luck
  17. If you're trying to monitor just your own pc, then you can try bitmeter2. It's quite good and useful, at least for me. If you want to monitor overall network bandwidth, you'll need a "managed" router or "managed" switch. These are intelligent router or switch where you can control and monitor bandwidth allocation and usage. No doubt, with these powerful features, it comes at a higher cost.
  18. Might not be easy to pin point the exact part that fail. Unless of cause if it's a common problem amongs this model. It's good that you would actually donate it.
  19. That prove the theory, the h-sync and the secondary voltage of the flyback is too low
  20. At point b, when you say start the computer, then wait for a (1) second then connect the VGA, at that point, is it still at the POST or just slightly the begining of starting windows (assuming you're using winXp or vista)? My guess is the power supply problem. Since the horizontal frequency is controlled by the computer, (which unlike TV running on a fix one), the secondary voltages generated from the flyback will be affected. So, at some h-sync frequency, there might not be sufficient voltage to start the rest of the system. In this case, usually low h-sync would help, like POST screen, or DOS console screen. Btw, during standby mode, the flyback is off. I would suspect it's the problem of capacitor. Even though I've not repair monitor with such anomalies, but capacitor dried up is a common problem among monitor. But even thought, repair cost might be high which is due to high service fee, not the parts. You can also try this. Keep the monitor off while the pc on. On the monitor, without connecting the VGA, wait for a second or 2 for a startup click, then connect after it, or even right before it. That's when the monitor tries to power the flyback circuit before returning into standby mode. You can also try diff refresh rate to find out which freq can make it works all the time. NOTE: if you're half way testing it and the screen won't come back on, just press the power button. Windows will shutdown itself. Then you can try again.
  21. Actually the RichTextBox is just trying to align the first line of text to show a full line. Why not just set the height of the control in such a way that all line are visible, no partial line is shown like the current case.
  22. Err, I've tried your app, it works fine on my machine, both with and without "Highlight Dynamically" checked. I've the latest update of .Net 2.0 including the service pack, via autoupdate. Could that have made a difference?These are my global assemblies' file versionmscorlib.dll = 2.0.50727.832System.Windows.Form.dll = 2.0.50727.832I do notice a bit a glitch, but not critical one. Whenever i clicked on the Highlight button, the text tends to shift down 1/2 a line, when i scrolled in such a way the first line is shown partially. Also, if i have a lot of text, clicking on the Highlight button will halt the app for a while before it return response.Anyway, I do have some idea for using the first method and to suppress the flicker. You can subclass the RichTextBox, and add an additional boolean as a property while overriding the OnPaint event. The boolean, when set to true, will bypass the OnPaint call to the base class, thus preventing the screen from updating. That way you can resume the screen update after you've highlighted all the text. You might need to call the Update method of your RichTextBox after you set the boolean to false.By the way, you should have explain a bit more on using the app that you attached. We wouldn't know what you actually wanted us to do with it.
  23. For " you need to escape with " itself. ""
  24. Yes, there're actually plenty more of methods to do it. Some are less recommended. Some might even be better for you case depending on the amount of interaction and response time. Note: I personally haven't tried urban dead or hells rising. 1. Show the map as an image. The image is generated on the fly at the server side. The image is refresh every few second or longer depending on your response time, or refresh linked to events. That way, you're spending the bandwidth to save the CPU utilization of your clients2. If your map consist of fix objects, you can use javascript coupled with css and layering to create the map, with floating and moving symbols. You use ajax to keep fetch the latest info and update the screen. You still need to refresh the background image(base of your map) from time to time. This will help save quite a bit of bandwidth, but take up some processing on your client side.The 2nd method is actually more or less like java app or flash, just that you need to re-invent the wheel to save from installing or loading another component.There are still more method which I might not know of, but exist out there. You can also mix and match different method to better achieve what you want.Good luck
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.