Thursday 26 February 2015

How to Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite

A common error encountered by Windows XP fans when attempting to downgrade their new laptop from Vista to XP is a STOP error, also called a BSOD (blue screen of death). This happens when the installer looks for a parallel ATA (Advanced Technology Attachment) interface but finds a serial ATA interface instead.

"As of 2009, SATA has mostly replaced parallel ATA in all shipping consumer PCs. [1]

This means that in most cases, if you choose to run Windows XP on your new laptop, you must integrate your SATA controller’s drivers into your Windows XP installation CD or else the installer will never see your hard drive. This integration process is called slipstreaming.

This guide will show you step by step how to successfully integrate the SATA controller drivers for any laptop with the Mobile Intel® ICH9M chipset into your Windows XP installation source. Although the process may be similar for other laptop chipsets , you should find out which chipset you have and locate the appropriate SATA controller drivers.

Steps

  1. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 1.jpg
    1
    Locate and download the SATA Controller driver by using a search engine to find a file named “f6flpy3286.zip”
    Ad
  2. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 2.jpg
    2
    Extract the file contents to “%userprofile%\desktop\SATA Driver”
  3. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 3.jpg
    3
    Download and install nLite. nLite is a free program which allows you to integrate software and drivers into a Windows installation source. Use a search engine to locate nLite v1.4.9.1 or download the installer from the following location:http://www.nliteos.com/download.html
  4. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 4.jpg
    4
    Insert your Windows XP CD and cancel the AutoPlay menu if it comes up.
  5. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 5.jpg
    5
    Launch nLite. Choose English (default) and click Next.
  6. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 6.jpg
    6
    Now you must locate the installation source path. Enter the drive letter of your CD-ROM, usually "E:\" or "D:\" (without quotes) as the path to your Windows installation source. Click Next.
  7. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 7.jpg
    7
    A message pops up saying "Select where to save the CD installation files for modification", just click OK.
  8. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 8.jpg
    8
    Select Desktop, click Make New Folder and name it "XP Source" (without quotes). Now click OK.
  9. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 9.jpg
    9
    nLite will now copy your XP installation files to the folder you created. ClickNext when this is complete.
  10. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 10.jpg
    10
    You should now be at the Presets page which should be empty unless you have used nLite before. Just click Next.
  11. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 11.jpg
    11
    Now you are at the Task Selection window. Click on Drivers and Bootable ISO, then click Next.
  12. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 12.jpg
    12
    You have to locate our SATA controller driver here. Click Insert, and choose Single Driver.
  13. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 13.jpg
    13
    In the File Name box type in "%userprofile%\desktop\sata driver\iaAHCI.inf" (without quotes) and click Open.
  14. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 14.jpg
    14
    The Driver Integration Options window pops up now. Make sure Textmode driver is selected as the Mode type. Highlight "Intel (R) ICH9M-E/M SATA AHCI Controller" and click OK, then click Next.
  15. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 15.jpg
    15
    A new message comes up asking "Do you want to start the process?", click Yes
  16. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 16.jpg
    16
    Now nLite will integrate your drivers into your XP installation folder (%userprofile%\desktop\XP Source). When this is finished, click Next, eject your Windows CD and insert a blank CD-R
  17. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 17.jpg
    17
    You should be at the Bootable ISO window. Select Direct Burn for theMode type and enter a volume label for your CD (eg. XPSP3SATA).
  18. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 18.jpg
    18
    Now just click on Burn and wait for the CD writing process to complete.
  19. Slipstream Your SATA Drivers Into a Windows XP Installation CD Using nLite Step 19.jpg
    19
    Congratulations, you have successfully created a bootable Windows XP installation CD with your SATA controller drivers already integrated. You can now install Windows XP as you would normally.

Wednesday 25 February 2015

How to create a bootable USB flash drive

  1. Insert a USB flash drive into a running computer.
  2. Open a Command Prompt window as an administrator.
  3. Type diskpart.
  4. In the new command line window that opens, to determine the USB flash drive number or drive letter, at the command prompt, type list disk, and then click ENTER. The list disk command displays all the disks on the computer. Note the drive number or drive letter of the USB flash drive.
  5. At the command prompt, type select disk <X>, where X is the drive number or drive letter of the USB flash drive, and then click ENTER.
  6. Type clean, and the click ENTER. This command deletes all data from the USB flash drive.
  7. To create a new primary partition on the USB flash drive, type create part pri, and then click ENTER.
  8. To select the partition that you just created, type select part 1, and then click ENTER.
  9. To format the partition, type format fs=ntfs quick, and then click ENTER.
    ImportantImportant
    If your server platform supports Unified Extensible Firmware Interface (UEFI), you should format the USB flash drive as FAT32 rather than as NTFS. To format the partition as FAT32, type format fs=fat32 quick, and then click ENTER.
  10. Type active, and then click ENTER.
  11. Type exit, and then click ENTER.
  12. When you finish preparing your custom image, save it to the root of the USB flash drive.

Monday 23 February 2015

travel reward destination

http://www3.aeroplan.com/distinction_acgetawaybonus

加拿大真的比中国税高吗?

每到纳税季节,甚至是农历新年还没过的时候,就有不少人开始抱怨新一年要纳税的事情:不是觉得自己每年要交的税钱越来越多,就是嫌纳税内容种种条条十分繁琐。而新移民还没有抵加之前,就被灌输了“加拿大是万税之国”、“加拿大税比中国高”的看法。那么,加拿大的税率到底有多高?和中国相比,到底谁的税高?
  加拿大是一个高税收的国家,这一点本地西人也不否认。从个人所得税到地税,从消费税到资本所得利润税,加拿大样样都不少。
  经过各个理财公司、会计师事务所,甚至税务律师的广告轰炸,许多华人都知道只有加拿大非税务居民才能从税务局的眼皮底下“逃过一劫”,以至于许多人宁愿费老大功夫拿了加拿大身份之后,还会再花很大功夫去当一个加拿大非税务居民,想方设法逃回中国纳税。
  然而,加拿大和中国比起来,到底谁收的税更多,大家并没有一个明确的概念。在作出决定的时候,很少有人能考虑到自己的具体情况,然后再作出决定。在中国开始统计在海外的中国居民收入,为自己全球征税做准备的现在,搞懂中国和加拿大两国的税务区别很重要。这意味着我们可以明确自己该向谁纳税、交多少税,从而在遵守法规的同时,保护自己的利益。
  中国和加拿大的税务制度区别
  与中国相比,很多人认为加拿大的收税高、税种多,其原因在于,加拿大和中国的税务制度是完全不同的,不同的基础导致收税的对象以及方式都有很大区别。
  笔者就此问题采访了高岳注册会计师高岳,他表示,中国和加拿大的税法最大的区别是加拿大更注重个人所得税申报的重要性。在加拿大,政府的主要收入是来自于个人的入息税,也就是常说的个人所得税(personal income tax)。加拿大百分之七十到八十的政府收入来自于个人税。所以无论是借贷资格、福利发放的标准还是其他的担保规定等等,最终都是看个人收入的数额。虽然说是个人税,但在加拿大申报个人所得的时候常常是以家庭为单位。因为无论是计算家庭的总收入,或是家庭福利状况,如孩子的牛奶金、医疗保险(MSP)的补助、住房补助、托儿补助、养老金、消费税退税,林林总总,都和家庭的年收入有关,也难怪加拿大税局对于个人偷税逃税抓的非常严格。家庭收入纳税额度是加拿大最重要的税务项目,政府需要一直强调和保证个人申报收入的正确性,从而保证税收的正确性和数额。
  对于选民来说,家庭税收对他们的影响巨大,也成为他们非常重视的竞选议题。无论是保守党政府提出的增加儿童福利金(牛奶金),还是允许夫妻双方转移收入从而达到双重节税的政策,无一不是针对家庭纳税额做出的讨好选民之举。
  从基本的个人所得税来看,加拿大的个人所得税水平属于世界主要发达国家的比较高的水平,而加拿大BC省的公司税在西方国家中并不算高,反而算是比较低的。在统计企业盈利的时候,加拿大最终还是以有多少钱发到了个人手中来计算。总而言之,加拿大的纳税制度是建立在个人税收上,什么都要自己负责、自己申报,这也就是许多人来到加拿大以后觉得不适应的地方。
  流通税 其实中国收的高
  而在中国,纳税这件事似乎离普通人的生活非常遥远。
  因为占中国税收大头的是企业纳税,在中国的时候,媒体总会报道“企业纳税大户”,却很少听到个人有类似的称呼。中国的500强企业纳税额占全国税收三成半,而国企、民企、外资企业的纳税额度加起来,占中国税收总收入的绝大多数。相比来说,2010年之前中国个人所得税所占的份额仅为7%左右,2012年也不到中国税收总额的10%。
  据中国财政部和中国国税总局网站资料显示,目前中国共有19个税种,包括增值税、消费税、营业税、企业所得税、个人所得税、资源税等等。但中国民众对纳税的认识,往往只停留在个人所得税上,而个人所得税往往也是由企业或是金融机构代缴代扣,年终的税收申报也由公司统一代办,个人没有接触,也就无从分辨最终纳税额的高低。
  因为很多移民在国内只知道这一种“直接税”,对其他税种根本不了解,所以在加拿大,才会感觉交税是每天都会遇到的事情,难免抱怨连连。但实际上,和在加拿大生活一样,在中国每一次消费的行为都免不了缴税。
  中国的税制结构偏重于对商品课税,以流通税(指以纳税人商品生产、流通环节的流转额或者数量以及非商品交易的营业额为征税对象的一类税收)为主,无论增值税、消费税、营业税,都属于这一类税收。中国的税收收入中70%都来自于流通税;在中国,仅增值税和营业税两项,就占据了税收总额的44.2%,这个比例大大高过美日,也比同样收取增值税的欧洲国家高出10%以上。而BC省的消费税仅为12%,中国的增值税为17%,即使是按照扣减税率来算,中国增值税率也达到了13%,这还没算上25%的企业盈利税及 5%的销售税。
  总而言之,最终转嫁到中国消费者身上的消费税率实际上比加拿大高的多。只不过因为中国的人力成本较低,整体宏观税负水平不算高,加上汇率差别,所以商品价格相比而言不高罢了。
  个人所得税 加国有优惠政策
  许多人在中国的时候根本没有自己报过税,初到加拿大,对加国税法认识不足,常常遇到报税上的问题,不是被税局要求补缴,就是抱着多一事不如少一事的态度多交钱。因此往往该报的没报,不该交的反而多交,煳里煳涂。交税的时候也不知道税款是怎么计算的,仅凭感觉认为加拿大的个人所得税高,不乐意在加拿大进行投资。
  对于个人所得税,中国和加拿大的个人税率累进的结构有区别,不同的收入被收取的金额不同,不能一概而论。但是如果两相比较,因为汇率的关系,对于需要向两国报税的普通收入华人来说,中国收的个人所得税一般来说会比较高。
  高岳会计师举例说,以5万加币为例,在加拿大,5万的年收入属于中等收入(44.701-89.401万),需要按照BC省17.22%(2014年) 的平均税率来纳税,缴纳税金8611加币;而在中国,5万加币就是25万人民币,在中国属于高收入,应纳税额在9000加币左右。只要在中国报了个人所得税,持完税证明基本上在加拿大就无需再次纳税。
  不过对于高收入人士来说,譬如年收入在80-100万的高资产人士,在中国交约15万的税可能不够抵消加拿大的税金,虽然可以用“防止双重纳税协议”免除已经交给中国政府的税金再交给加国政府,但在加拿大仍要补交剩余税款。
  对于普通人来说,似乎中加对于中等收入收税的区别没有很大的不同,但是这并不意味着在哪里交都差不多。加拿大还有许多税务优惠政策,能够从许多方面提供减税、抵税,从而降低整体纳税额度。
  中国的个人收入免税额只有3500人民币/月,而加拿大是每年1.1万加币,折合每月1000加币。在中国,由于个人所得税是由公司代缴,个人基本上无法得到任何退税。打个比方,如果一个人一年只工作了前6个月然后辞职,那么前6个月的扣税额度还是按照12个月的收入总额来计算的,等于是多扣了一半的税金,这部分多交的钱根本无法要回来。而加拿大税务局会按每个月的收入来计算,当年工资数额有变化的时候,应纳税的收入总额也会随之变化。加国税务局在统一结算的时候,会根据收入类型和收入总额,计算个人税率,同时扣除减税、抵税、延税的部分,然后和已经预交的税款作比较,多退少补。此外,无论是医疗费用抵税、捐款抵税,还是公共交通的月票等,都可以用来减少应纳税款。
  加拿大对于资本增值、股票分红都有一定程度的税收减免政策,实际的应纳税收入和实际税率都不一定是阶梯税率上写的那么多,在免税账户内的投资回报还可以免交税款。虽然计算可能比较复杂,但是大多数的金融机构都会出具税单,将税款算好,只要在报税的时候照着填写就行了。所以在加拿大的投资收益,不一定会因为要交税而变得很低。此外,加拿大没有遗产税,只有视同于卖出的资产增值税。
  因为税制的基础不同,中国的减税、退税政策大部分都只针对企业,对于个人所得税退税、抵税方面几乎没有相应的政策。加上收税方式受限,只能用个人所得税率进行调控,还不能像加拿大这样针对性的减少低收入人群的纳税额度,甚至给与相应的补贴。而加拿大比较重视个人所得税,所以在这方面有许多政策和规定,每年还会推出一些新的政策,帮助有孩子的家庭以及低收入家庭,这都是中国应该向加拿大学习的。
  当然,现在中国的税法不够成熟,税收制度不够明确,无论是个人还是企业,计算税率的难度相比加拿大而言比较低,有些人还能借此钻空子少缴税。但是中国正在努力完善自己的税务制度,无论是从中国税局到美国、加拿大税务局取经,还是近期开始对中国公民在外收入进行统计,甚至对开征遗产税进行讨论的趋势来看,身在加拿大的中国人需要未雨绸缪,好好计划未来,及时应变,才能最大可能的保护自己的财富。(作者:潘达)
- See more at: http://www.bcbay.com/news/2015/02/22/311907.html#sthash.EZxlKZsh.dpuf

Friday 20 February 2015

中国最养人的9城市

日前,人民日报社旗下的《民生周刊》公布了"中国最养人的9个城市",大连、扬州、珠海等城市悉数上榜。(《环球网》12-03)


  1、青岛被誉为“琴岛”和“岛城”,具有明显的海洋性气候特点,四季分明。风光秀丽,旅游资源丰富,山东省近300处优秀历史建筑中,青岛占131处。
  2、海口地处热带滨海,热带资源呈现多样性,富于海滨自然特色风光景观。全年日照时间长,辐射能量大,年平均气温24.2℃。阳光、沙滩、海岸,九哥光想想就心驰神往了!

  3、苏州古称姑苏,中国华东地区特大城市之一,素有“人间天堂”、“东方威尼斯”、“东方水城”的美誉。“上有天堂,下有苏杭”,水乡的确就是养人。

  4、大连位于北半球的暖温带地区,具有海洋性特点的暖温带大陆性气候,冬无严寒,夏无酷暑,四季分明。

  5、厦门属温带亚热带气候,温和多雨,年平均气温在21℃左右。厦门全年盛产海鲜,种类繁多,有龙虾、鲍鱼、螃蟹、螺、贝类等。以厦门菜为代表之一的闽菜位列中国八大菜系,兼带台湾、潮汕风味。可谓是养人的“吃货天堂”。

  6、昆明着名的“春城”,是云南省政治、经济、文化、科技、交通中心。昆明三面环山,南濒滇池,湖光山色,天然成趣。由于地处低纬高原而形成“四季如春”的气候,特别是有高原湖泊滇池在调节着温湿度,使这里空气清新、天高云淡、阳光明媚、鲜花常开。


  7、扬州古称广陵,是一座有着深厚文化底蕴的古城,也是第7个获得“联合国人居奖”的中国城市。全市共有6处天然养吧,空气质量上佳。

  8、成都出了名的“慢生活城市”。有着大城市的一切元素,同时也拥有小村落的恬静。

  9、珠海珠海生态环境优美,山水相间,陆岛相望,气候宜人,是全国唯一以整体城市景观入选“全国旅游胜地四十佳”的城市。人居环境一流。

  笔者认为,“中国最养人的9个城市”榜单出炉富有意义,上榜的9个城市,风景优美,生态环境好,且还有一种慢的节奏,经济繁荣。在中国当前流行忙,流行快节奏的生活。在如此的社会环境下,“着急”是中国人的一种生活特点。此外,城市的环境恶化,雾霾侵袭人们的生活,渴望一个生态的环境,是许多市民的愿望。这9座城市,都具有“养人”的特点。“养人”主要的内蕴是以“人”为中心,重视人的生活环境,尊重人性,这种城市的理念,把“人”看作城市核心发展的力量,把人的幸福快乐看作城市的核心文化,这样的城市发展理念得民心,顺民意,察民情,懂民生的城市理念。

  这个榜单,把人的“诗意栖居”放在第一位,把人生活放在第一位,把人的健康放在第一位,把人的人性放在第一位,城市充满了人文关怀。“养人”是一门城市管理的最高级别的“美学”。

- See more at: http://www.bcbay.com/news/2015/02/20/311265.html#sthash.HAsh8cD5.dpuf

Thursday 19 February 2015

board to board communication

RS232



  • The large voltage swings and requirement for positive and negative supplies increases power consumption of the interface and complicates power supply design. The voltage swing requirement also limits the upper speed of a compatible interface.

RS485




RS-485 enables the configuration of inexpensive local networks and multidrop communications links. It offers data transmission speeds of 35 Mbit/sup to 10 m and 100 kbit/s at 1200 m. Since it uses a differential balanced line over twisted pair (like RS-422), it can span relatively large distances (up to 4,000 feet (1,200 m)). A rule of thumb is that the speed in bit/s multiplied by the length in meters should not exceed 108. Thus a 50 meter cable should not signal faster than 2 Mbit/s

Serial to Ethernet (RS232 to RS485) converter




USB


USB version 1.1 supported two speeds, a full speed mode of 12Mbits/s

USB 2.0, also known as hi-speed USB. This hi-speed USB is capable of supporting a transfer rate of up to 480 Mbps
USB 3.0 is the latest version of USB release. It is also called as Super-Speed USB having a data transfer rate of 600 Mbps

USB2.0 to Serial




USB2.0 hub



USB 3.0





7 port usb3.0 PCI interface


Sata



1.0  150 MB/s 
2.0  300 MB/s
3.0  600 MB/s



Wireless

WIFI




802.11b    2.4 GHz   11 Mbps

  • Pros of 802.11b - lowest cost; signal range is good and not easily obstructed
  • Cons of 802.11b - slowest maximum speed; home appliances may interfere on the unregulated frequency band

802.11a   5 GHz   54 Mbps

  • Pros of 802.11a - fast maximum speed; regulated frequencies prevent signal interference from other devices
  • Cons of 802.11a - highest cost; shorter range signal that is more easily obstructed

802.11g   2.4 Ghz   54 Mbps

  • Pros of 802.11g - fast maximum speed; signal range is good and not easily obstructed
  • Cons of 802.11g - costs more than 802.11b; appliances may interfere on the unregulated signal frequency

802.11n   2.4 Ghz   300 Mbps



  • Pros of 802.11n - fastest maximum speed and best signal range; more resistant to signal interference from outside sources
  • Cons of 802.11n - standard is not yet finalized; costs more than 802.11g; the use of multiple signals may greatly interfere with nearby 802.11b/g based networks.

802.11ac   5 GHz & 2.4 Ghz   1300 Mbps on the 5 GHz band plus up to 450 Mbps on 2.4 GHz


Bluetooth


 Bluetooth supports a very short range (approximately 10 meters) and relatively low bandwidth (1-3 Mbps in practice) designed for low-power network devices like handhelds. The low manufacturing cost of Bluetooth hardware also appeals to industry vendors.