Feb 7, 2013

“Invalid image size” error for MacType

 

MacType is a great alternative to Gdipp. Both do great jobs in rendering Windows font to be like MacOS X.

 

But if you had this error “Invalid image size” upon starting your MacType tray, it is due to your Taskbar and Active Title Bar size is smaller than certain size. Mine is smaller than 18.

In Windows 7, go to Control Panel –> Window Color and Appearance, click Advanced appearance settings. Select Active Title Bar and adjust it till you see no more error.

image

image

MacType should be now working fine.

Jan 30, 2013

How to: solved Synergy problem with shared keyboard between Mac and Windows

 

In case you own an Macbook (running Mac or Windows in Bootcamp mode) and another PC, you may want to share the keyboard and mouse using a nice tool Synergy (download here).

For introduction on Synergy I’ll let you explore its website.

Problem: Before you get too excited, you’ll probably run into this problem: if you setup your Mac as client and PC as server, probably you’ll cannot type on Mac.

Root cause: Different keyboard mapping causes Synergy to behave like that. If you check the synergy.log, error code is due to mismatch keyboard layout. The keyboard code on your Mac after install Bootcamp driver will be something like English (Apple) which is incompatible with your Windows, most of the time is English (United States).

Well Synergy should be improved to accept such different keyboard layout), but that’s for later.

Solution: Just delete the default keyboard on Mac (running Windows) and add the English (United States) – US or whatever keyboard code you’re using on your Server. You’ll be able to use your PC keyboard immediately.

image

Dec 23, 2012

Claim more SSD drive space on Windows

Ok when we talk about SSD, we all knew the sweet juicy lovely speed of it, but we hate the pricey pricetag, its tiny size and the performance degradation.
But worry not, price is lowering everyday. I just got my 240GB Kingston SSD 3K for less than $1/GB. Kingston claims it can last for more than 8 years with daily IO of 10GB. That’s about 29.2TB IO !!! I bet personally I’ll never exceed that limit.
But 240GB is a bit tiny for my OS, Virtual Machines + all the dev tool (FYI I have VS2008,VS2010,V2012, MSSQL 2008-2012 with 50GB db in total.
So, I only worry about its “tiny” size. What I do ? I go cleanup hard disk. How?
1. Manually I go disable the page file, disable hibernatation (powercfg –h off) and move my System Restore folder to the other 3TB drive. I don’t need any of these on my SSD. Love it, +14GB at least.
2. http://www.iishacks.com/2011/06/23/reduce-windows-7-winsxs-folder-size/ : in short, run this command:
dism /online /cleanup-image /spsuperseded
Reduce huge WinSXS folder. Love it too, +4GB.
3. Run CCleaner – useful and easy. Just a click, +3GB and all thrash cleanup.
Results: on my workstation with 240GB SSD
Before: Free space = 121GB
After: Free space= 142GB (+21GB ! Yay)

Dec 9, 2012

How to download Steam update faster ?

Recently I ran into this kind of frustration, whenever I login Steam to play my favorite Dota 2, I’ll be force to install some updates. The update download take forever to finish, it keeps stuck at some certain percent. Poofff Valve, wth ?!!!

So it take a while and I figure out that somehow my TCP connection to Valve update server got stuck.

Tada, that’s an easy fix ! I downloaded Sysinternal TCPView, and whenever the connection got stuck, I close it and wait for a while: the update connection will auto-reconnect back to the server, and zap!! My update finished much faster than before.

image

Try it for yourself if you have my problems

DOWNLOAD: HERE

http://download.sysinternals.com/files/TCPView.zip

Nov 21, 2012

Personal Hotspot on iPhone is not working ?

If you have turn on the Personal Hotspot and still not seeing the connection, here is the first and easiest fix: plug in and plug out your USB cable.

It did work for me – it could be USB connection reset.