Friday, December 20, 2013

Skype - Ultra High CPU Usage

The past few days I've noticed that my office laptops Skype was permanently sitting at +- 90%+ CPU usage. Since I use Skype for work, not using it was not exactly a viable option, and restarting it (And updating to the latest version) didn't help.

I did, however - Find a solution!

1.) Download Process Explorer
2.) Run it
3.) Right click on Skype, and click "Properties"
4.) Click "Threads" (Ignore the potential message about something not being up to date)
5.) Sort by CPU usage by clicking the 2nd tab from the left twice.
6.) Find that a single thread is using all the CPU (For me it was Skype.exe+0x705c although it's also known to be Skype.exe+0x7074)
7.) Click the offending thread, and click  "Kill"

Skype's CPU usage will drop to what it's meant to be (0% average for me), with no visible side effects.

Seems like Microsoft have some threading bug with Skype that's existed for awhile :)

Friday, October 11, 2013

Copy.com VS Dropbox.com

I recently got suggested a new Cloud Storage service - Copy

After testing it for about 5 minutes, I give it the following review :)

1.) 15GB Default Storage - Awesome!
2.) The Desktop app seems awesome (Although the 45MB download is a bit overkill) - It's also native x64!
3.) Files can be direct linked - Which is awesome!
4.) HTML files are served as type text/plain intead of text/html- This is a critical fail on Copy's behalf.

Whilst the first 3 are awesome, the 4th is a critical failure, and so I will stick to Dropbox :)

Thursday, October 10, 2013

New IRC Client - AdiIRC

Whilst searching around for an IRC client with a native x64 build (Curse you mIRC ;D), I stumbled across AdiIRC.

TINY IRC Client (1MB) that's coded in C#, and 100% Free :D
 
I'd highly recommend it :)

Sunday, August 18, 2013

JavaScript - Regex to format currency

A simple way to format currency! Given a number, format it to a currency-esque format.

number.toFixed(decimalPlaces).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");

Sample:


Symbol (EG: R, $):
Number (EG: 1234567.50):
Decimal Places (EG: 1, 2, 3 - Probably 2):

Saturday, August 3, 2013

Handler "PHP53_via_FastCGI" has a bad module "FastCgiModule" in its module list

I found this error after installing PHP on IIS, and attempting to browse to a local .php page.

Do the following to fix it.

1.) Go to Add / Remove Programs
2.) Click "Turn Windows features on or off"
3.a.) Open "Internet Information Services"

3.b.) Open "World Wide Web Services"
3.c.) Open "Application Development Features"
3.d.) Tick "CGI"
3.e.) Click "OK
3.f) Wait for it to complete.

4.) Attempt to go to your php page again.

\o/