The only way this could happen is if you try to send extra arguments, so you can’t do: setTimeout(‘func()’, 1000, param); you have to manage with something like: setTimeout(‘func(“‘ + arg + ‘”)’, 1000);
Annoying Stuff
Solution to CuteFTP Pro 8 hanging problem under Vista; Can’t find transfer engine…
To fix this issue, open CuteFTP and go to:
Tools > Global Options > Connection > Smart Keep Alive
And disable “Smart Keep Alive”, apparently it’s not very smart…
Solution to CuteFTP Pro 8 hanging problem under Vista; Can’t find transfer engine…Malware/Spyware/Virus Keeps Coming Back; how to remove Malware/Spyware/Virus from your computer for free…
To fix this, you must follow all these instructions without missing even one.
Note: do this at your own risk, these worked for me and if by doing these something
happens to your computer, I’m not responsible!
Preparing
0 – Remove your browser’s proxy settings: http://www.library.kent.edu/page/14299 if you have special proxy settings, make sure it wasn’t altered…
1 – Restart your computer, hit f8 while booting and login to “Safe Mode With Networking”
2 – Download and install the free version of: http://www.superantispyware.com/
3 – Download and install the free version of: http://www.malwarebytes.org/
4 – Download and install: http://free.antivirus.com/hijackthis/
5 – Download and install: http://housecall.trendmicro.com/
6 – Download and install: http://forums.majorgeeks.com/chaslang/files/MGtools.exe
Save this file to c:\MGtools.exe and run it.
7 – Download and install: http://www.piriform.com/ccleaner
Updating
8 – Launch superantispyware and update it to the latest version.
9 – Launch malwarebytes and update it to the latest version.
10 – Removed for now due to potential error…
11 – Goto c:\MGtools and double click on DisableUAC.reg confirm the action.
UPDATE:
These additional steps were added on 6/9/2010 and must be taken at this stage
a – You must rewrite your MBR (master boot record) this won’t delete your files but it’s required.
b – Instructions on how to do it could be found here: (or you could search on Google)
http://helpdeskgeek.com/how-to/fix-mbr-xp-vista/
http://www.ehow.com/how_4836283_repair-mbr-windows.html
c – *After this stage, do not boot into normal mode.*
Continue
12 – Restart your computer to “Safe Mode” (no networking this time)
Scanning And Cleaning
13 – Run ccleaner, don’t touch the options just hit “run cleaner”
14 – Launch superantispyware and run a “complete scan” if asked let it remove everything
15 – Launch malwarebytes and run a “full scan” if asked let it remove everything
16 – Restart your computer to “Safe Mode With Networking”
17 – Run hijackthis, hit “scan” and then “save log” a notepad window opens, copy and paste
the contents into the textbox here: http://www.hijackthis.de/ and hit analyze.
18 – You will get a list of entries with a check box, or another icon in front of it, the ones
that get an X mark are problems so go back to hijackthis and check the box next to those
and hit: “fix checked”.
19 – Restart your computer to “Safe Mode With Networking” again.
20 – Launch trendmicro housecall and run a full scan, let it clean everything.
Updating Your Computer
21 – Restart your computer to “Normal Mode”. Don’t open anything…
22 – Uninstall Java (all instances) then go here and download and install the latest version: http://www.java.com/en/download/manual.jsp. Don’t restart yet.
23 – Go to: http://windowsupdate.microsoft.com/ run the update, update *everything*. Don’t restart yet.
24 – Update your browser to it’s latest version if you use IE, then step 23 should take care of it
but if you use other browsers go to www.google.com and search for: “update X” where X should be
whatever browser you have, like: update google chrome
25 – Goto: c:\MGtools and double click on EnableUAC.reg confirm the action.
26 – Turn off system restore so that it deletes the old restore points then turn it back on right away: http://www.pchell.com/virus/systemrestore.shtml
(Make sure that you create a new restore point right away)
Final Cleanup
27 – Restart your computer into “Normal Mode”
28 – Run hijackthis, hit “scan” and then “save log” a notepad window opens, copy and paste
the contents into the textbox here: http://www.hijackthis.de/ and hit analyze.
29a – If you don’t get any Xs then you are probably safe and you should run a full system scan using
superantispyware and malwarebytes over night; again…
29b – If you get Xs then you will need more help, a good place to seek help is here:
http://forums.majorgeeks.com/forumdisplay.php?f=35
30 – If this doesn’t take care of it, then goto: http://forums.majorgeeks.com/forumdisplay.php?f=35 and
seek help.
I hope this helps someone…
Good Luck
How To Disable “X has stopped working” Popup In Windows Vista
This one is funny, even if you turn off error reporting in your “Control Panel” you will still get popups saying “X has stopped working”, that’s annoying…
To do this click on the Windows icon and where it says “Start Search” type:
regedit
Hit “Enter” and in your registry editor navigate to this location:
Computer > HKEY_CURRENT_USER > Software > Stupidsoft (or Microsoft) > Windows
Click on “Windows Error Reporting” and on the right side, you will see a list starting with “(Default)”.
Double click on “DontShowUI” and in the popup under “Value data:” enter 1 and hit “Enter”.
Do this for: DisableArchive, Disabled, DisablesQueue, DontSendAdditionalData
Close your registry editor and go to:
Control Panel > Problem Reports and Solutions > Change Settings > Advanced Settings
Under “For my programs, problem reporting is:” select “Off”
Click OK and you are all set, remember though, this will turn off everything…
I hope this helps…
How To Disable “X has stopped working” Popup In Windows VistaThe Best Python Code Editor: Komodo Edit
I looked for a Python editor a lot, I found Pydev which is a plugin for Eclipse and since Eclipse sucks, it’s ugly and the code looks ugly too, it just kills my creativity, it’s also slow on top of that.
Then I found IronPython plugin for Microsoft Visual Studio, this one requires Visual Studio which is paid and it doesn’t make your life easier, for example if I have:
def some_func(): pass
Now, after “pass” if I hit “Enter” I want to get back to the beginning of the next line but this wasn’t happening in IronPython. (+ a bunch of other things)
I guess I got spoiled because I use Dreamweaver to write PHP and it just does everything as you expect, it’s smooth and well thought out, much like other Macromedia products; take Fireworks for example, those who use Fireworks and Photoshop know the brilliance behind the design of Fireworks’s UI… Why didn’t Macromedia buy Adobe?!
Anyway, if you are like me and feel the same way, try Komodo Edit. I have nothing to do with it or ActiveState but I have to say that this editor made my life so much easier and I’m not looking back. It also has support for a bunch of other languages like PHP etc.
EDIT: So after using this great text editor for a little while, I decided to write a quick list of pros and cons:
Pros:
1 – It’s free.
2 – It’s open-source.
3 – It’s nice looking. (I care about this, I’m convinced that it effects creativity…)
4 – It’s smooth and fast.
5 – It does what you expect it to do; very intuitive.
6 – It’s written by people who love writing code.
7 – It’s cross-platform.
8 – It supports: PHP, Python, Ruby, Perl and Tcl, plus JavaScript, CSS, HTML and template languages like RHTML, Template-Toolkit, HTML-Smarty and Django.
9 – It supports code completion.
10 – It has great help and docs.
Cons:
None.
Happy Coding…
The Best Python Code Editor: Komodo EditjQuery UI Dialog And The Enter – Return Key Problem
This is another post for my ‘Annoying Stuff’ collection and this one is very, so very annoying…
The problem is that jQuery UI, supports forms in dialogs but the problem is that a user can’t hit ‘Enter’ to submit the form, it will break everything, a user has to actually hit the ‘Submit’ (or whatever) button manually. This make the whole thing completely useless unless you make some changes that are basically tweaking the internals of jQuery UI, which is ugly and can break if they change things around but sadly this is the only solution for now.
Assuming that you use the same syntax jQuery UI suggests to create your form, the fix is something like this:
$('.dialog').find('input').keypress(function(e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { $(this).parent().parent().parent().parent().find('.ui-dialog-buttonpane').find('button:first').click(); /* Assuming the first one is the action button */ return false; } });
You might have to modify it a tiny bit, if that’s the case, you most likely have to change the part $(‘.dialog’) so that it selects the right container that wraps the form…
jQuery UI Dialog And The Enter – Return Key ProblemPaypal Sandbox Error: Account Created Successfully but failed to add Bank and Credit Card
If you get this error, then login to the Sandbox Account you just created and on the right side click on Add Bank Account, then it will auto populate all the fields for you.
Follow the instructions and you should be all set…
To add a credit card, go to:
Profile > Add Credit Card > Choose a card type (Visa/Master etc.) everything else is auto generated for you > Add a Card > Add a Card again on the next page
Apparently this is going on for a few weeks now.
Paypal Sandbox Error: Account Created Successfully but failed to add Bank and Credit CardMicrosoft Link Worked Only In FireFox?!!!
So I had to open a support ticket on Windows Live Hotmail because of some problems and the link to the form didn’t work in IE, it said “Error on the page” in the status bar and nothing happened so I had to use FireFox! The Irony!
When I see these things and issues in IE and Windows itself, I wonder, what are they doing there? Clearly someone is not doing their job properly. It’s sad because once I really liked MS products and they do somethings very well but I find myself thinking of switching to Mac more and more these days.
My brother bought a Mac Book Air and he says that he will NEVER buy a PC again…
Microsoft Link Worked Only In FireFox?!!!The annoying PHP ZipArchive class
This is very rare, PHP’s extensions are usually well done but this one, ZipArchive class is very annoying and I’m very surprised that it’s now in PHP’s distribution…
In my case, it doesn’t create the archive for some reason and it doesn’t throw any errors either.
http://us3.php.net/manual/en/class.ziparchive.php
I’m very disappointed and I wasted a lot of time and yes, all the permissions etc. are right.
So ended up using system calls; first create a temporary folder and then something like:
system("zip -r THE_ZIP_FILE.zip PATH_TO_THE_TMP_FOLDER");
And now the problem with this is that it’s not portable, it’s fine in my case though.
The annoying PHP ZipArchive classSlowing down Yahoo! Slurp (Yahoo! Search Bot)
A few weeks ago one of our servers started to crash every few days.
After investigating this issue for a while we found 100s of IP addresses from Yahoo! and Inktomi Corporation which is the company who developed Yahoo! Slurp.
So basically Yahoo! was launching DOS attacks against our server although unintentional but very annoying. It also shows that their technology is not as advanced as Google or other search engines or it’s buggy, Whatever you think, crashing people’s servers with your search bot is not cool at all and shows that you have to work on it a little more…
If you have the same problem here is a simple solution Yahoo! suggest; open your robots.txt (create it if you don’t have it and place it in your root folder) and add these lines to it:
User-agent: Slurp
Crawl-delay: 1
Only Yahoo! will understand the line Crawl-delay: X and Yahoo! suggests that you use a small number between 0.5 and 1.
Slowing down Yahoo! Slurp (Yahoo! Search Bot)
I'm a programmer at 