<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D08FQns5cSp7ImA9WxNbEEo.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229</id><updated>2009-11-12T17:30:13.529-08:00</updated><title>Mikazo Tech Blog</title><subtitle type="html">A documentation of technology endeavours and thoughts on the digital world</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://mikazotechblog.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>53</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/MikazoTechBlog" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;A0AEQHw6fSp7ImA9WxVaF0s.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2684998061154099403</id><published>2009-04-14T21:19:00.000-07:00</published><updated>2009-04-14T21:28:21.215-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T21:28:21.215-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wicd" /><category scheme="http://www.blogger.com/atom/ns#" term="GNOME" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora" /><category scheme="http://www.blogger.com/atom/ns#" term="linux mint" /><title>Switching to Fedora 10 and Wicd Wireless Network Manager</title><content type="html">My last few posts have been pretty technical, so I thought I'd write an opinion piece for once, in case anyone cares. I've begun fiddling around with Linux again, and I went back to where I left off using Linux Mint, only I grabbed the new release of version 6. It felt essentially the same as Linux Mint 5, only this time it froze. A lot. Like more than it used to. I had the same problem with Ubuntu, and I know Mint is based on Ubuntu, so I decided to try an OS that wasn't Debian-based for once.&lt;br /&gt;&lt;br /&gt;I downloaded the most recent version of Fedora, version 10. So far I really like it. I'm a big fan of GNOME, and I've found the switch relatively easy. I also noticed that I got a little more involved with the command line with Fedora, which is a good thing. I'm glad to learn more about the internal workings of a Linux distro, as it'll come in handy in the future.&lt;br /&gt;&lt;br /&gt;My biggest project so far on Fedora has been trying to get the Wicd wireless network manager working. I hated the standard GNOME NetworkManager so I went looking for alternatives. The only problem was, after I installed Wicd 1.5.9, it wouldn't connect to WPA/WPA2 networks. After looking through some logs I determined that it was to do with an external command, wpa_supplicant not having enough privileges to do what it was supposed to. After lengthy conversations and help from the people on the Freenode #wicd IRC channel, I tried installing the release candidate for Wicd 1.6. One of the Wicd authors did some specific error-fixing for me before I got the latest revision. I also helped him uncover some other bugs. Anyway, it fixed my problem, but opened up a new one. Now Wicd would only connect if I restarted the daemon. It runs virtually identical with the same privileges from boot, but apparently it just doesn't want to work unless I restart it.&lt;br /&gt;&lt;br /&gt;Anyway, it's been fun so far and I'm really getting stuck on Fedora.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2684998061154099403?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/siFcJUgxXN2e4HOMIDnmIh_GsWM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/siFcJUgxXN2e4HOMIDnmIh_GsWM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/siFcJUgxXN2e4HOMIDnmIh_GsWM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/siFcJUgxXN2e4HOMIDnmIh_GsWM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2684998061154099403/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2684998061154099403" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2684998061154099403?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2684998061154099403?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/frX516MJzaA/switching-to-fedora-10-and-wicd.html" title="Switching to Fedora 10 and Wicd Wireless Network Manager" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/04/switching-to-fedora-10-and-wicd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIGSHwycCp7ImA9WxVaEUs.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-4739767732046724141</id><published>2009-04-07T20:38:00.000-07:00</published><updated>2009-04-07T20:48:49.298-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-07T20:48:49.298-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cpufreq-utils" /><category scheme="http://www.blogger.com/atom/ns#" term="cpu" /><category scheme="http://www.blogger.com/atom/ns#" term="kpowersave" /><category scheme="http://www.blogger.com/atom/ns#" term="overheating" /><category scheme="http://www.blogger.com/atom/ns#" term="underclock" /><category scheme="http://www.blogger.com/atom/ns#" term="hot" /><category scheme="http://www.blogger.com/atom/ns#" term="fans" /><category scheme="http://www.blogger.com/atom/ns#" term="throttle" /><title>Linux Mint/Ubuntu Overheating Laptop</title><content type="html">Back when I tried Ubuntu, and later on when I tried Linux Mint, one of the biggest problems I noticed was their tendencies to heat up quite a bit and the fans run at maximum, even when running idle on my HP dv6568se laptop. It runs an Intel Core 2 Duo at 1.6 GHz.&lt;br /&gt;&lt;br /&gt;After realizing that other people have had the same problem, I spent an afternoon Googling around for CPU frequency throttling and the different utilities that you can use. It took me a while until I found the right one. I have now throttled my CPU down to 1.0 GHz and the heat level isn't so bad anymore. Here's how I made mine work.&lt;br /&gt;&lt;br /&gt;Modules you may or may not need in your /etc/modules file:&lt;br /&gt;&lt;br /&gt;powernowd&lt;br /&gt;cpufreq_ondemand&lt;br /&gt;cpufreq_powersave&lt;br /&gt;cpufreq_performance&lt;br /&gt;cpufreq_conservative&lt;br /&gt;cpufreq-userspace&lt;br /&gt;battery&lt;br /&gt;ac&lt;br /&gt;processor&lt;br /&gt;thermal&lt;br /&gt;acpi-cpufreq&lt;br /&gt;&lt;br /&gt;Then I installed kpowersave and cpufreq-utils from the package manager. I set kpowersave to run on startup by going to Control center, Sessions, and added it as a startup program.&lt;br /&gt;&lt;br /&gt;Use cpufreq-info in a Terminal to see what frequency steps your processor is capable of, then use cpufreq-set -d [value in KHz] to set a minimum supported frequency and cpufreq-set -u [value in KHz] to set a maximum supported frequency. So the commands I used were:&lt;br /&gt;&lt;br /&gt;cpufreq-info&lt;br /&gt;cpufreq-set -d 1000000&lt;br /&gt;cpufreq-set -u 1000000&lt;br /&gt;&lt;br /&gt;Now my kpowersave utility reports the processor running at 1000 MHz and the heat problem has noticably improved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-4739767732046724141?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1i8V97VHDRskVgIoosSmzjXTKjI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1i8V97VHDRskVgIoosSmzjXTKjI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1i8V97VHDRskVgIoosSmzjXTKjI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1i8V97VHDRskVgIoosSmzjXTKjI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/4739767732046724141/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=4739767732046724141" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4739767732046724141?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4739767732046724141?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/ooOGjkxqSmM/linux-mintubuntu-overheating-laptop.html" title="Linux Mint/Ubuntu Overheating Laptop" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/04/linux-mintubuntu-overheating-laptop.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08FSXw6fyp7ImA9WxVUFUw.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-968589647247013764</id><published>2009-03-19T19:15:00.000-07:00</published><updated>2009-03-19T19:23:38.217-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-19T19:23:38.217-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="perl" /><category scheme="http://www.blogger.com/atom/ns#" term="batch file" /><category scheme="http://www.blogger.com/atom/ns#" term="upload" /><category scheme="http://www.blogger.com/atom/ns#" term="cgi" /><title>How To Upload Files with Perl and CGI</title><content type="html">I took me quite a while of sifting through the internet looking how to do this. I played with different CGI.pm functions, and so on, but eventually sort of improvised my own script based on what I've seen. This script takes a method="get" parameter of the form "c:\folder1\folder2\file.txt". It does not do any string sanitation or error checking, it just uploads the file. I had to edit the stupid HTML brackets because Blogger doesn't like me typing it there. You'll have to replace the (less/greater than sign) with the actual symbol. Feel free to use if you want.&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier;"&gt;use CGI;&lt;br /&gt;&lt;br /&gt;$query = new CGI;&lt;br /&gt;print $query-&gt;header;&lt;br /&gt;print $query-&gt;start_html('Upload file');&lt;br /&gt;&lt;br /&gt;$form = $ENV{'QUERY_STRING'};&lt;br /&gt;@args = split('=', $form);&lt;br /&gt;$args[1] =~ s/%3A/:/g;&lt;br /&gt;$args[1] =~ s/%5C/\\/g;&lt;br /&gt;@pieces = split('\\\\', $args[1]);&lt;br /&gt;$length = @pieces;&lt;br /&gt;$localpath = "";&lt;br /&gt;for ($i=0; $i&lt;=$length-2; $i++) {&lt;br /&gt;   $localpath .= "$pieces[$i]\\";&lt;br /&gt;}&lt;br /&gt;$localname = $pieces[$length-1];&lt;br /&gt;print "Uploading $localpath$localname";&lt;br /&gt;$serverfile = $ENV{'DOCUMENT_ROOT'} . "/assgn3/cont/$localname";&lt;br /&gt;&lt;br /&gt;open(FILEIN, "&lt;$localpath$localname");&lt;br /&gt;open(FILEOUT, "&gt;$serverfile");&lt;br /&gt;while ($line = &lt;filein&gt;&lt;/filein&gt;&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;(less than sign)&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;&lt;filein&gt;FILEIN&lt;/filein&gt;&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;(greater than sign)&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;&lt;filein&gt;) {&lt;br /&gt;     print FILEOUT $line;&lt;br /&gt;}&lt;br /&gt;close FILEIN;&lt;br /&gt;close FILEOUT;&lt;br /&gt;&lt;br /&gt;print "Upload successful, redirecting to main.pl";&lt;br /&gt;print "(less than sign)meta http-equiv='Refresh' content='4; url=main.pl'(greater than sign)";&lt;br /&gt;print "&lt;/filein&gt;&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;(less than sign)&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;&lt;filein&gt;/body&lt;/filein&gt;&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;(greater than sign)&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;(less than sign)&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;&lt;filein&gt;/html&lt;/filein&gt;&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;(greater than sign)&lt;/span&gt;&lt;span style="font-family:Courier;"&gt;&lt;filein&gt;";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/filein&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-968589647247013764?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wdGrw3m8qFKaKjY5VTmqM0h7HZA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wdGrw3m8qFKaKjY5VTmqM0h7HZA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wdGrw3m8qFKaKjY5VTmqM0h7HZA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wdGrw3m8qFKaKjY5VTmqM0h7HZA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/968589647247013764/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=968589647247013764" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/968589647247013764?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/968589647247013764?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/vufMBeVW_PQ/how-to-upload-files-with-perl-and-cgi.html" title="How To Upload Files with Perl and CGI" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/03/how-to-upload-files-with-perl-and-cgi.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMCSHkzeCp7ImA9WxVUEE0.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2091551566592188823</id><published>2009-03-13T21:00:00.000-07:00</published><updated>2009-03-13T21:04:29.780-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-13T21:04:29.780-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="c++" /><category scheme="http://www.blogger.com/atom/ns#" term="messagebox" /><category scheme="http://www.blogger.com/atom/ns#" term="wide" /><category scheme="http://www.blogger.com/atom/ns#" term="sprintf" /><category scheme="http://www.blogger.com/atom/ns#" term="unicode" /><category scheme="http://www.blogger.com/atom/ns#" term="mbstowcs" /><category scheme="http://www.blogger.com/atom/ns#" term="string" /><category scheme="http://www.blogger.com/atom/ns#" term="c style" /><title>Printing Unicode C-Style Strings with Variables in C++ MessageBox</title><content type="html">This drove me nuts for hours. The MessageBox function wants wide-character strings and I wanted to put variables in my strings, not just L"" constant strings. I had already been using the Unicode character set and didn't want to change a million other things in my code, so after much toiling, I've found the following code snippet to work:&lt;br /&gt;&lt;br /&gt;&lt;font face="Courier"&gt;&lt;br /&gt;int random = 42;&lt;br /&gt;char message[128];&lt;br /&gt;sprintf(message, "My random number: %d\n", random);&lt;br /&gt;wchar_t mess[128];&lt;br /&gt;mbstowcs(mess, message, 512);&lt;br /&gt;MessageBox(hWnd, mess, L"Information", MB_OK);&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;The 512 value in mbstowcs() should be WCHAR_MAX_LENGTH but I was too lazy to find which header contains that, so I Googled and found a random value. It seems to work for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2091551566592188823?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XVehQbt5lgmuMDC7IkfRatet6gA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XVehQbt5lgmuMDC7IkfRatet6gA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XVehQbt5lgmuMDC7IkfRatet6gA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XVehQbt5lgmuMDC7IkfRatet6gA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2091551566592188823/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2091551566592188823" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2091551566592188823?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2091551566592188823?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/xSgj0zP1Szs/printing-unicode-c-style-strings-with.html" title="Printing Unicode C-Style Strings with Variables in C++ MessageBox" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/03/printing-unicode-c-style-strings-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04EQXYzeyp7ImA9WxVVGUo.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-5246343111157220994</id><published>2009-03-13T13:20:00.000-07:00</published><updated>2009-03-13T13:25:00.883-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-13T13:25:00.883-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="battery check" /><category scheme="http://www.blogger.com/atom/ns#" term="daemon tools" /><category scheme="http://www.blogger.com/atom/ns#" term="windows vista" /><category scheme="http://www.blogger.com/atom/ns#" term="windows xp" /><category scheme="http://www.blogger.com/atom/ns#" term="vista" /><category scheme="http://www.blogger.com/atom/ns#" term="HP" /><category scheme="http://www.blogger.com/atom/ns#" term="sp41862" /><category scheme="http://www.blogger.com/atom/ns#" term="hpqnt.dll" /><title>HP Battery Health Check in Vista</title><content type="html">If you own an HP laptop and would like to check your battery health status, you can download a little tool at &lt;a href="http://h20239.www2.hp.com/techcenter/battery/battery_ts.htm"&gt;HP's website&lt;/a&gt;. The only problem is that it's meant for Windows XP and if you try to run it in Windows Vista, it will give an error message asking for the file HPQNT.dll&lt;br /&gt;&lt;br /&gt;The solution to this is to right click on the sp41862.exe file and choose the Compatibility tab, then run in compatibility mode for Windows XP Service Pack 2. Then when you go to run the exe, right click on it again and choose Run as administrator. Once the program extracts all the files to the directory you choose, do the same thing for the setup.exe file. It should then install the HP Battery Check Tool without any problems. Run the tool from the new shortcut in the start menu and it should let you know how your battery is doing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-5246343111157220994?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-OiC68gadxKfeBK3I7ZGw4iBhYQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-OiC68gadxKfeBK3I7ZGw4iBhYQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-OiC68gadxKfeBK3I7ZGw4iBhYQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-OiC68gadxKfeBK3I7ZGw4iBhYQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/5246343111157220994/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=5246343111157220994" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/5246343111157220994?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/5246343111157220994?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/wm1lz60Fnd0/hp-battery-health-check-in-vista.html" title="HP Battery Health Check in Vista" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/03/hp-battery-health-check-in-vista.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04DSHwzcCp7ImA9WxVaF0s.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-7634733609926079900</id><published>2009-03-12T10:26:00.000-07:00</published><updated>2009-04-14T21:32:59.288-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-14T21:32:59.288-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="custom" /><category scheme="http://www.blogger.com/atom/ns#" term="daemon tools" /><category scheme="http://www.blogger.com/atom/ns#" term="vlite" /><category scheme="http://www.blogger.com/atom/ns#" term="windows vista" /><category scheme="http://www.blogger.com/atom/ns#" term="installation" /><category scheme="http://www.blogger.com/atom/ns#" term="service pack" /><category scheme="http://www.blogger.com/atom/ns#" term="recovery" /><category scheme="http://www.blogger.com/atom/ns#" term="dvd" /><category scheme="http://www.blogger.com/atom/ns#" term="media" /><category scheme="http://www.blogger.com/atom/ns#" term="ryanvm" /><category scheme="http://www.blogger.com/atom/ns#" term="updates" /><title>How To Make Your Own Custom Vista Installation Media</title><content type="html">Ok if you are the proud owner of any recent brand name computer, it most likely has a recovery partition that holds an image of your hard drive and a bunch of bloatware and crap. If you recover to factory default settings, you might have to spend hours removing the garbage, installing Windows updates, tweaking settings, and so on.&lt;br /&gt;&lt;br /&gt;The way I see it, it's much easier to have a clean install of Windows Vista with no bloatware or unneeded software, with all the updates and drivers already in place. How do you do that? Follow the instructions below.&lt;br /&gt;&lt;br /&gt;First, you need to obtain a copy of a Windows Vista [version] Service Pack 1 OEM install DVD. In my case, I'll be using Vista Home Premium. Where do you get such a disc? You should already know the answer to that. As long as you use the product key on the bottom of your laptop, or the side of your desktop, you're good to go.&lt;br /&gt;&lt;br /&gt;Once you have that, download and install &lt;a href="http://www.vlite.net/download.html"&gt;vLite&lt;/a&gt;. vLite won't start until you first install the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=C7D4BC6D-15F3-4284-9123-679830D629F2&amp;displaylang=en"&gt;Windows Automated Installation Kit&lt;/a&gt;. I hope you have lots of hard drive space, because you're going to need it for this project. You might need &lt;a href="http://www.daemon-tools.cc/downloads"&gt;DAEMON Tools&lt;/a&gt; to mount the Windwos AIK .iso&lt;br /&gt;&lt;br /&gt;What else do you need? Updates. Head to &lt;a href="http://www.ryanvm.net/forum/viewtopic.php?t=6228"&gt;RyanVM's message board&lt;/a&gt; and grab Vista Post-SP1 Update Pack and Vista Post-SP1 .NET Pack. Extract them to a folder somewhere on your hard drive.&lt;br /&gt;&lt;br /&gt;Now for your drivers. There is a nice little tool called &lt;a href="http://www.boozet.org/dd.htm"&gt;Double Driver&lt;/a&gt; that will make a copy of all the drivers on your current system for you and put them in a folder. Select the ones you want, and hit the Backup button. Make sure you get the essentials, network and wireless adapters, video card, sound, webcam, so on. Make note of where your driver folder is.&lt;br /&gt;&lt;br /&gt;Now you're ready to start up vLite. Mount the Windows Vista install DVD iso with DAEMON Tools, and point vLite there for the installation files. Make a new folder for custom files when it asks you to. Then when you get to the Hotfixes page, include everything in the RyanVM update pack folders. Under Drivers, include everything in your Double Driver backup folder. You can go through all the other tweaks and settings as you please. I took the time to disable any services I won't need using &lt;a href="http://www.blackviper.com/WinVista/servicecfg.htm"&gt;Black Viper's guide&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In the seciton for entering your product key, type the legal product key on the sticker that's affixed to your laptop/desktop.&lt;br /&gt;&lt;br /&gt;Once everything's done, let it integrate and create the ISO for you. Now you can burn the ISO and have your very own clean fully-up-to-date fully-customized driver-injected Windows Vista Service Pack 1 installation media.&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;br /&gt;&lt;br /&gt;EDIT: If you're trying to make your own Vista install disc from the files on a recovery partition, I suggest you look elsewhere because to my knowledge, it is very difficult/sometimes impossible to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-7634733609926079900?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VInOprlrU0tP62fawg5DDTAKqGw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VInOprlrU0tP62fawg5DDTAKqGw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VInOprlrU0tP62fawg5DDTAKqGw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VInOprlrU0tP62fawg5DDTAKqGw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/7634733609926079900/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=7634733609926079900" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/7634733609926079900?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/7634733609926079900?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/Wkv4JTc9cl8/how-to-make-your-own-custom-vista.html" title="How To Make Your Own Custom Vista Installation Media" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/03/how-to-make-your-own-custom-vista.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEMRXw8eSp7ImA9WxVWFUk.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-4096402863177271217</id><published>2009-02-24T21:51:00.000-08:00</published><updated>2009-02-24T22:18:04.271-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-24T22:18:04.271-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="c++" /><category scheme="http://www.blogger.com/atom/ns#" term="loop" /><category scheme="http://www.blogger.com/atom/ns#" term="coordinates" /><category scheme="http://www.blogger.com/atom/ns#" term="mouse" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><category scheme="http://www.blogger.com/atom/ns#" term="directinput" /><category scheme="http://www.blogger.com/atom/ns#" term="game AI" /><category scheme="http://www.blogger.com/atom/ns#" term="message" /><category scheme="http://www.blogger.com/atom/ns#" term="directx" /><title>Windows Programming in C++: Mouse Coordinates without DirectInput</title><content type="html">So I've been programming a 2D game in DirectX and C++ as a project and I've spent hours and hours fiddling around with how to get the mouse coordinates so I could draw my own cursor on the screen.&lt;br /&gt;&lt;br /&gt;My first attempt at this was implementing DirectInput, which is no small task. Turns out, there's an easier way with just a few lines of code. Inside the Windows message loop, you can watch for WM_MOUSEMOVE messages, then act upon them.&lt;br /&gt;&lt;br /&gt;Code snippet:&lt;br /&gt;&lt;br /&gt;&lt;font face="courier"&gt;&lt;br /&gt;#define GET_X_LPARAM(lParam) ((int)(short)LOWORD(lParam))&lt;br /&gt;#define GET_Y_LPARAM(lParam) ((int)(short)HIWORD(lParam))&lt;br /&gt;while(TRUE) {&lt;br /&gt;  if (PeekMessage(&amp;msg, NULL, 0, 0, PM_REMOVE)) {&lt;br /&gt;   if (msg.message == WM_QUIT)&lt;br /&gt;    break;&lt;br /&gt;   if (msg.message == WM_MOUSEMOVE) {&lt;br /&gt;    newX = GET_X_LPARAM(msg.lParam);&lt;br /&gt;    newY = GET_Y_LPARAM(msg.lParam);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;TranslateMessage(&amp;msg);&lt;br /&gt;DispatchMessage(&amp;msg);&lt;br /&gt;}&lt;br /&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-4096402863177271217?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hiG1M-8BgHKdAda8ZGVDuWrxWnU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hiG1M-8BgHKdAda8ZGVDuWrxWnU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hiG1M-8BgHKdAda8ZGVDuWrxWnU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hiG1M-8BgHKdAda8ZGVDuWrxWnU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/4096402863177271217/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=4096402863177271217" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4096402863177271217?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4096402863177271217?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/IJ2grRbG2rU/windows-programming-in-c-mouse.html" title="Windows Programming in C++: Mouse Coordinates without DirectInput" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/02/windows-programming-in-c-mouse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4NSHY_fip7ImA9WxVWFUk.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2007857919814819797</id><published>2009-02-20T21:26:00.000-08:00</published><updated>2009-02-24T22:56:39.846-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-24T22:56:39.846-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="custom" /><category scheme="http://www.blogger.com/atom/ns#" term="bootable" /><category scheme="http://www.blogger.com/atom/ns#" term="windows xp" /><category scheme="http://www.blogger.com/atom/ns#" term="service pack" /><category scheme="http://www.blogger.com/atom/ns#" term="iso" /><category scheme="http://www.blogger.com/atom/ns#" term="usb drive" /><category scheme="http://www.blogger.com/atom/ns#" term="usb" /><category scheme="http://www.blogger.com/atom/ns#" term="nlite" /><category scheme="http://www.blogger.com/atom/ns#" term="ryanvm" /><category scheme="http://www.blogger.com/atom/ns#" term="hotfixes" /><category scheme="http://www.blogger.com/atom/ns#" term="boot" /><category scheme="http://www.blogger.com/atom/ns#" term="updates" /><title>How To Install Windows XP From A Bootable USB Drive</title><content type="html">Since I must often use a Windows XP CD to boot into the Recovery Console, I thought it might be convenient to have a USB drive instead that served the same purpose. Also, it was time to integrate Service Pack 3 and the remaining updates, so that I don't have to download them all the time.&lt;br /&gt;&lt;br /&gt;What I Used:&lt;br /&gt;&lt;br /&gt;Windows XP Professional Service Pack 2 Disc&lt;br /&gt;SanDisk Cruzer Micro 2.0 GB USB Drive&lt;br /&gt;RyanVM Post-SP3 Update Pack&lt;br /&gt;&lt;br /&gt;Firstly, I used &lt;a href="http://www.nliteos.com/"&gt;nLite&lt;/a&gt; to slipstream service packs and updates. Many &lt;a href="http://www.google.ca/search?q=nlite+tutorial"&gt;nLite tutorials&lt;/a&gt; are available for further information on how to use nLite. Just make sure to create an ISO file at the end of customizing your Windows XP install. You can download all the Windows updates released after Service Pack 3 from &lt;a href="http://www.ryanvm.net/msfn/updatepack-sp3.html"&gt;RyanVM&lt;/a&gt; and &lt;a href="http://www.ryanvm.net/msfn/nlite.html"&gt;streamline them using nLite&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Once you have the custom ISO, download &lt;a href="http://www.daemon-tools.cc/downloads"&gt;DAEMON Tools&lt;/a&gt; and mount your image as a virtual drive on your computer.&lt;br /&gt;&lt;br /&gt;Once you have completed these steps, follow &lt;a href="http://www.eeeguides.com/2007/11/installing-windows-xp-from-usb-thumb.html"&gt;this Eee PC article&lt;/a&gt; that works for all computers. This is the hard part that took me a while to find, and I'm grateful for their tutorial.&lt;br /&gt;&lt;br /&gt;Hopefully after all is said and done, you're left with a bootable USB drive that will install Windows XP and offer Recovery Console functionality. I haven't tried a full Windows XP install yet with mine, so I do not know if the slipstreaming worked properly, but I have booted from the device, and it does get to the menu asking if you want to install or repair a Windows XP installation. I will edit this post later to report if installation is functional.&lt;br /&gt;&lt;br /&gt;EDIT: The installation from the nLite ISO in VirtualBox went smoothly, without a hitch. Only updates I had to install were mots recent version of Windows Defender, and IE 7 because I forgot to include it. I type this from the XP installation itself in VirtualBox.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2007857919814819797?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4lSxmMwFFD81loTKZEZUlOOZ-Jo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4lSxmMwFFD81loTKZEZUlOOZ-Jo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4lSxmMwFFD81loTKZEZUlOOZ-Jo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4lSxmMwFFD81loTKZEZUlOOZ-Jo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2007857919814819797/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2007857919814819797" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2007857919814819797?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2007857919814819797?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/O3yDy1C6X3g/how-to-install-windows-xp-from-bootable.html" title="How To Install Windows XP From A Bootable USB Drive" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/02/how-to-install-windows-xp-from-bootable.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MHQ3wzeip7ImA9WxVRGEs.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-3962397649066751277</id><published>2009-01-24T20:11:00.000-08:00</published><updated>2009-01-24T21:30:32.282-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-24T21:30:32.282-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="error 1638" /><category scheme="http://www.blogger.com/atom/ns#" term="safecore" /><category scheme="http://www.blogger.com/atom/ns#" term="error 1603" /><category scheme="http://www.blogger.com/atom/ns#" term="installation" /><category scheme="http://www.blogger.com/atom/ns#" term="windows install cleanup" /><category scheme="http://www.blogger.com/atom/ns#" term="spysweeper" /><category scheme="http://www.blogger.com/atom/ns#" term="webroot" /><title>Error 1638 and Error 1603 When Installing Webroot SpySweeper</title><content type="html">The other day I encountered an Error 1638 while installing Webroot SpySweeper version 6.0.2.39. The installer proceeded to the point where it asks if you would like to install the Ask! Toolbar, then clicking Next, the installation begins and produces Error 1638. After the following steps were taken, the error no longer appeared, and the installation completed successfully.&lt;br /&gt;&lt;br /&gt;Go to &lt;a href="http://support.microsoft.com/kb/290301"&gt;this Microsoft Support web page&lt;/a&gt; and download the Windows Install Cleanup utility. Install and run the utility. If the installation is attempted again at this point, error 1603 is produced.&lt;br /&gt;&lt;br /&gt;Delete any Webroot folder in the Program Files directory. Go to the following &lt;a href="http://support.webroot.com/cgi-bin/webroot.cfg/php/enduser/std_adp.php?p_faqid=1569&amp;p_created=1216304086&amp;p_sid=3PaeTMoj&amp;p_accessibility=0&amp;p_redirect=&amp;p_lva=&amp;p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MywzJnBfcHJvZHM9MCZwX2NhdHM9JnBfcHY9JnBfY3Y9JnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9c2FmZWNvcmU*&amp;p_li=&amp;p_topview=1"&gt;Webroot support page&lt;/a&gt; and download the appropriate SafeCore.exe file. Save it in the same folder as your Webroot installation program. Note: The SafeCore.exe available for version 6.0.2.22 of SpySweeper worked for me in this case.&lt;br /&gt;&lt;br /&gt;Reboot the system, then try the Webroot SpySweeper installation again, and it should work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-3962397649066751277?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eRavPz8065B7CGiThE3-EWJ9Y_Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eRavPz8065B7CGiThE3-EWJ9Y_Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eRavPz8065B7CGiThE3-EWJ9Y_Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eRavPz8065B7CGiThE3-EWJ9Y_Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/3962397649066751277/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=3962397649066751277" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/3962397649066751277?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/3962397649066751277?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/emT3zgLThto/error-1638-and-error-1603-when.html" title="Error 1638 and Error 1603 When Installing Webroot SpySweeper" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/01/error-1638-and-error-1603-when.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYHQnw7eip7ImA9WxVSGUw.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-4934648195359662656</id><published>2009-01-13T18:37:00.000-08:00</published><updated>2009-01-13T21:15:33.202-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-13T21:15:33.202-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="memory speed" /><category scheme="http://www.blogger.com/atom/ns#" term="services" /><category scheme="http://www.blogger.com/atom/ns#" term="faster" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><category scheme="http://www.blogger.com/atom/ns#" term="improve" /><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="increase" /><category scheme="http://www.blogger.com/atom/ns#" term="temporary files" /><category scheme="http://www.blogger.com/atom/ns#" term="startup" /><category scheme="http://www.blogger.com/atom/ns#" term="speed up" /><category scheme="http://www.blogger.com/atom/ns#" term="vista" /><category scheme="http://www.blogger.com/atom/ns#" term="windows xp" /><category scheme="http://www.blogger.com/atom/ns#" term="defragment" /><title>How To Speed Up Your Windows Computer</title><content type="html">The following are a few steps you can take to improve the overall performance of your computer and get the most out of it. These steps work for both Windows Vista and XP, but the instructions here were tested on Vista so it might be slightly different for XP.&lt;br /&gt;&lt;br /&gt;For a start, you can automate the removal of temporary files from your computer (detailed instructions in &lt;a href="http://mikazotechblog.blogspot.com/2009/01/using-task-scheduler-to-clean-your.html"&gt;my other post&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Right click on your task bar and select Task Manager. Move to the processes tab and at the bottom it will tell you how many processes you have running. If the number of processes is 50 or greater, there is probably room for improvement. In the Run... box, type in services.msc and navigate to either Black Viper's &lt;a href="http://www.blackviper.com/WinVista/servicecfg.htm"&gt;Windows Vista Service Pack 1 Services Configuration&lt;/a&gt; or &lt;a href="http://www.blackviper.com/WinXP/servicecfg.htm"&gt;Windows XP x86 (32-bit) Service Pack 3 Services Configuration&lt;/a&gt;. This website will give you a comprehensive list of all Windows services and which ones you can disable to improve system performance. I managed to get my old Windows XP desktop computer down to about 20 processes, though it's still showing its age when compared with newer computers. If you are using a laptop however, there are more essential services such as wireless, and so on. You can probably safely get your computer down to around 30-40 processes. Anything less than that is just icing on the cake.&lt;br /&gt;&lt;br /&gt;Right click on Computer and select Properties. Then click Advanced System Settings on the left. Click the Advanced tab. Click on Settings... under Performance. Under the Advanced tab, make sure you have Virtual Memory enabled. It's safe enough to let Windows manage your page file size, but some prefer to manage it themselves. Under the Visual Effects tab, select Adjust for Best Performance, then re-select the following visual effects for a "still-pleasant" Aero experience, without taking too hard of a hit on the resources. I could list them all but it's easier this way: Select the bottom three, skip one, select two, skip one, select three, then select Show preview and filters in folders and Enable desktop composition. Vista should still look decent after this, and free up a few resources at the same time. Select OK to get back to the System Properties window. While you are here, click Settings under Startup and Recovery. Make sure Automatically Restart is unchecked under System Failure. That way if your system fails, you have time to read the error message before rebooting the system, which makes problem solving a whole lot easier.&lt;br /&gt;&lt;br /&gt;Lastly, if you are running an older system with an IDE hard drive (anything pre-2003) it wouldn't hurt to check &lt;a href="http://mikazotechblog.blogspot.com/2008/11/speed-up-really-slow-ide-systems.html"&gt;this article&lt;/a&gt; about slow IDE drives.&lt;br /&gt;&lt;br /&gt;There are many more tweaks you can make to your system, and if I think of any more, I will add them here. This should get you on a good start though. If you don't feel like going through Black Viper's list of services (it can take a long time), feel free to just use msconfig to turn off startup programs and services. It's not as extensive, but it takes a lot less time to configure. If you turn off something essential, just reboot or boot into safe mode (F8 at POST) if necessary and fix what you broke. Take your time disabling services you aren't sure about, and everything should be fine. Be sure to defragment your hard drive every so often too.&lt;br /&gt;&lt;br /&gt;Barring all these tweaks, if your system is still slow, buy more RAM or better yet, buy a new computer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-4934648195359662656?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KNz30PrEPXOQJ90KItLGYPA7bk8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KNz30PrEPXOQJ90KItLGYPA7bk8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KNz30PrEPXOQJ90KItLGYPA7bk8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KNz30PrEPXOQJ90KItLGYPA7bk8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/4934648195359662656/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=4934648195359662656" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4934648195359662656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4934648195359662656?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/XZ67BnSLFro/how-to-speed-up-your-windows-computer.html" title="How To Speed Up Your Windows Computer" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/01/how-to-speed-up-your-windows-computer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYGRnc_fyp7ImA9WxVSEUQ.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2544176033156912717</id><published>2009-01-05T13:47:00.000-08:00</published><updated>2009-01-05T13:48:47.947-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-05T13:48:47.947-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="files" /><category scheme="http://www.blogger.com/atom/ns#" term="temp" /><category scheme="http://www.blogger.com/atom/ns#" term="folder" /><category scheme="http://www.blogger.com/atom/ns#" term="directory" /><category scheme="http://www.blogger.com/atom/ns#" term="temporary" /><category scheme="http://www.blogger.com/atom/ns#" term="task scheduler" /><category scheme="http://www.blogger.com/atom/ns#" term="batch file" /><title>Using the Task Scheduler to Clean Your Temporary Files</title><content type="html">An often overlooked feature of Windows is the Task Scheduler, used to perform menial tasks at specific times, to save you having to remember to do them. In a few short minutes, you can create your own tasks to clean your computer of temporary files, scan for spyware and viruses, and execute any program you like.&lt;br /&gt;&lt;br /&gt;The Task Scheduler can be accessed by opening Control Panel, then Administrative tools, then Task Scheduler. Upon opening the Task Scheduler on my HP laptop, I immediately noticed a few tasks that I did not want to run, so I removed them by right-clicking the task, then choosing Delete. Some tasks I removed included HP Health Check, Internet Provider Offers, and some other stuff. It doesn't hurt to check if you have any annoyances scheduled, and then you can remove them.&lt;br /&gt;&lt;br /&gt;To create a task that removes unneeded temporary files, first start by opening Notepad. Copy and paste the following lines into a new file, then save it as clean.bat somewhere (I used my Documents folder). Be sure to set the "Save as type" field to "All files" when saving.&lt;br /&gt;&lt;br /&gt;&lt;font face="Courier New"&gt;&lt;br /&gt;cd c:\windows\temp&lt;br /&gt;del /Q /F /S *.*&lt;br /&gt;cd %temp%&lt;br /&gt;del /Q /F /S *.*&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;These commands switch to the Windows temporary directory and the user temporary directory, respectively. The del command should remove all files in each directory. The /Q tag is for quiet, asking no confirmation. The /F tag is for force deletion of read-only files. The /S tag is for subdirectories, delete files in each subdirectory. The *.* makes use of the wildcard character, meaning delete files with any name and any extension.&lt;br /&gt;&lt;br /&gt;You have now just created a batch file, which is a simple text file containing a list of command-line commands to be executed in a specific order.&lt;br /&gt;&lt;br /&gt;I have been deleting files from these directories for a long time, and as far as I can tell, it is completely safe to empty these directories. I have never run into a problem as a result of emptying my temp folders. Do not worry if some files cannot be deleted, as they are probably currently in use by the operating system.&lt;br /&gt;&lt;br /&gt;Now that you have your batch file, open up the Task Scheduler, select Create Basic Task... and name it something like "Clean temporary files". On the next screen, to keep things simple, select "When the computer starts". On the next screen, select "Start a program". On the final screen, browse to where you saved your clean.bat file. On the final screen, check off "Open the properties dialog..." and click Finish.&lt;br /&gt;&lt;br /&gt;In the properties dialog, you can change various settings if you like. The only change I made was under the Conditions tab, where I unchecked "Start the task only if the computer is on AC power (since I am running this on a laptop). Select OK and your task is complete.&lt;br /&gt;&lt;br /&gt;Your computer will now clean up after itself every time it starts, giving you a fresh slate for your next work session.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2544176033156912717?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ibKBnC6YW-vI9idXNodG1kOP9pQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ibKBnC6YW-vI9idXNodG1kOP9pQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ibKBnC6YW-vI9idXNodG1kOP9pQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ibKBnC6YW-vI9idXNodG1kOP9pQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2544176033156912717/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2544176033156912717" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2544176033156912717?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2544176033156912717?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/sOKcT06Ye74/using-task-scheduler-to-clean-your.html" title="Using the Task Scheduler to Clean Your Temporary Files" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2009/01/using-task-scheduler-to-clean-your.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEINQHw9fSp7ImA9WxVVFkk.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-7661786630603442174</id><published>2008-12-24T22:06:00.000-08:00</published><updated>2009-03-09T16:49:51.265-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-09T16:49:51.265-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="install" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="pre-built" /><category scheme="http://www.blogger.com/atom/ns#" term="desktop" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><category scheme="http://www.blogger.com/atom/ns#" term="computer" /><category scheme="http://www.blogger.com/atom/ns#" term="build your own" /><title>Advantages and Disadvantages to Buying a Pre-Built Desktop Versus Building Your Own</title><content type="html">I have been wanting for some time now to build my own desktop computer, as that is something I have never done before. Mainly the reasons are all those listed below under "Advantages of building your own desktop computer". The only problem for me is that I can't find any good reason to spend this kind of money on a new computer. Yes, my current desktop is getting old and I would like to use it as a server, but I have a perfectly good year-old laptop that satisfies any computing need I might have. I'm not much into PC gaming anymore, and that seems to be the only major reason to buy a powerhouse of a desktop.&lt;br /&gt;&lt;br /&gt;I need not build a top-of-the-line desktop, but I would still like to make it fairly future-proof if I do spend the money on one. In any case, here are some advantages and disadvantages to buying a pre-built desktop versus building your own.&lt;br /&gt;&lt;br /&gt;Advantages of a store-bought desktop computer:&lt;br /&gt;&lt;br /&gt;-Pre-built, ready to use&lt;br /&gt;-Recovery partition and recovery disk creation&lt;br /&gt;-No installing drivers&lt;br /&gt;-Extended service plans are available&lt;br /&gt;-Cost of OS and labour included in price&lt;br /&gt;-Free trials of antivirus and office usually included&lt;br /&gt;&lt;br /&gt;Disadvantages of a store-bought desktop computer:&lt;br /&gt;&lt;br /&gt;-Don't know exactly what's inside&lt;br /&gt;-Lots of bloatware&lt;br /&gt;-Requires time to set up software and get the right feel&lt;br /&gt;-Manufacturer may cheap out on certain components to lower price&lt;br /&gt;-Must do research on brand names to find best track records&lt;br /&gt;&lt;br /&gt;Advantages of building your own desktop computer:&lt;br /&gt;&lt;br /&gt;-You select each piece and know exactly what you're buying&lt;br /&gt;-You need not purchase Windows if you so choose/no hassle to refund windows&lt;br /&gt;-You gain experience and understanding about building and troubleshooting a computer&lt;br /&gt;-You can lower costs as you don't have to pay for labour or re-sold components&lt;br /&gt;-You install exactly the software you choose, no more, no less&lt;br /&gt;-You squeeze performance out of your hardware by implementing specific and custom builds and settings&lt;br /&gt;&lt;br /&gt;Disadvantages of building your own desktop computer:&lt;br /&gt;&lt;br /&gt;-Must download and install all drivers&lt;br /&gt;-Must create drive image if recovery option is wanted&lt;br /&gt;-Requires time to build, install and troubleshoot (this can be an advantage as there are a select few who actually enjoy this process)&lt;br /&gt;-Warranty only extends as far as each piece of hardware comes with&lt;br /&gt;-Must pay for Windows if desired&lt;br /&gt;-Must pay for and wait for shipping (usually)&lt;br /&gt;&lt;br /&gt;EDIT: Just recently I priced out the components of a pre-built computer that you might buy at a store. Excluding the cost of the operating system, the prices were comparable. I haven't done extensive research into this, but as far as I can tell, if you buy direct from a hardware company and build a computer yourself, it's not a huge price difference.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-7661786630603442174?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oVZBVsg8MewaoebLWjYxp_GK1p0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oVZBVsg8MewaoebLWjYxp_GK1p0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oVZBVsg8MewaoebLWjYxp_GK1p0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oVZBVsg8MewaoebLWjYxp_GK1p0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/7661786630603442174/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=7661786630603442174" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/7661786630603442174?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/7661786630603442174?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/WqqC7lHaMgc/advantages-and-disadvantages-to-buying.html" title="Advantages and Disadvantages to Buying a Pre-Built Desktop Versus Building Your Own" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/12/advantages-and-disadvantages-to-buying.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04ARH08fSp7ImA9WxRaGUs.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-342366007817441058</id><published>2008-12-22T09:56:00.000-08:00</published><updated>2008-12-22T10:19:05.375-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-22T10:19:05.375-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="network" /><category scheme="http://www.blogger.com/atom/ns#" term="debian" /><category scheme="http://www.blogger.com/atom/ns#" term="portable web server" /><category scheme="http://www.blogger.com/atom/ns#" term="lamp server" /><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox 2.1" /><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox" /><category scheme="http://www.blogger.com/atom/ns#" term="portable" /><category scheme="http://www.blogger.com/atom/ns#" term="easy" /><category scheme="http://www.blogger.com/atom/ns#" term="wireless" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><category scheme="http://www.blogger.com/atom/ns#" term="host interface" /><title>Easy Portable Web Server</title><content type="html">I tried and tried to get this to work in VirtualBox last summer, but I've just tried out the newest release (&lt;a href="http://www.virtualbox.org/wiki/Downloads"&gt;VirtualBox 2.1&lt;/a&gt;) with improved host network interface support. Before, manual bridging and network card manufacturer were issues that came into play. Now it's as easy as picking the interface you want to connect to, and it just works. Here is a small walkthrough on how to set up your very own portable web server (assuming you are using a laptop). For background, I am running the host OS Windows Vista Home Premium on an Intel Core 2 Duo, using an Intel Wireless 4965AGN wireless card.&lt;br /&gt;&lt;br /&gt;Firstly, you will need to download the following:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;A Linux distribution CD image that includes web server software such as Apache (I chose &lt;a href="http://www.debian.org/CD/"&gt;Debian&lt;/a&gt;)&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.virtualbox.org/wiki/Downloads"&gt;Virtualbox 2.1&lt;/a&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Install VirtualBox, then create a new system and virtual hard disk file. I made my virtual disk dynamically expanding up to 10.0 GB and set available memory to 256 MB.&lt;br /&gt;&lt;br /&gt;Before booting up the new guest OS, select it from the list, then click Settings. Select Network from the list, then change the Attached to: setting to Host Interface. Select the host interface connected to the internet from the list, then click OK.&lt;br /&gt;&lt;br /&gt;Once the machine boots for the first time, it will ask for installation media. Choose to add and mount the Linux image you downloaded, and proceed through the installation process. When installing Debian, I told it to install all web server and database packages. Your portable web server can very easily be scaled to a &lt;a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)"&gt;LAMP server&lt;/a&gt; by installing extra packages.&lt;br /&gt;&lt;br /&gt;Reboot to the guest OS once it is finished installing. The Apache service should start automatically (assuming you are using Apache). Place whatever HTML files or whatever else in the /var/www/apache2-default directory. If you are behind a router, make sure to set port 80 to forward to your guest IP (found by using ifconfig or /sbin/ifconfig).&lt;br /&gt;&lt;br /&gt;Now open up a web browser, type in your real IP address, and you should see "It Works!" or some other default page (unless you already changed it).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-342366007817441058?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/j7YuycC61x5kZYGbWZLfEF9cBWM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/j7YuycC61x5kZYGbWZLfEF9cBWM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/j7YuycC61x5kZYGbWZLfEF9cBWM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/j7YuycC61x5kZYGbWZLfEF9cBWM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/342366007817441058/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=342366007817441058" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/342366007817441058?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/342366007817441058?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/0Bf1Q-vhBLY/easy-portable-web-server.html" title="Easy Portable Web Server" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/12/easy-portable-web-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4HQ30yeip7ImA9WxRaFEs.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2516692593498683820</id><published>2008-12-16T12:23:00.000-08:00</published><updated>2008-12-16T12:55:32.392-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-16T12:55:32.392-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="bytebuffer" /><category scheme="http://www.blogger.com/atom/ns#" term="byte buffer" /><category scheme="http://www.blogger.com/atom/ns#" term="file transfer" /><category scheme="http://www.blogger.com/atom/ns#" term="mtu" /><category scheme="http://www.blogger.com/atom/ns#" term="bytes" /><title>Java File Transfer Buffer Size</title><content type="html">As I may have mentioned in a previous post, I've been working on a file transfer program written in Java. I was getting very sick of MSN file transfer and other stupid such mechanisms that are unreliable and do not allow transfer of executable files.&lt;br /&gt;&lt;br /&gt;I was testing v1.0 of my program over the LAN with a hefty-sized file, and found that the transfer speed was only about 10 kB/s. Frustrated, I did a little research on Maximum Transmission Unit (MTU) size.&lt;br /&gt;&lt;br /&gt;The byte buffer size I was using was 1024 bytes at a time. Apparently most LANs MTU value is 1500. I changed the byte buffer size to 1500 and some other small things, and the transfer speed jumped to around 1 MB/s. This was between two computers connected to the same router, and I have yet to test it over the internet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2516692593498683820?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FiFyEXOay_A1NuZgrpI8Xgi-FUY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FiFyEXOay_A1NuZgrpI8Xgi-FUY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FiFyEXOay_A1NuZgrpI8Xgi-FUY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FiFyEXOay_A1NuZgrpI8Xgi-FUY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2516692593498683820/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2516692593498683820" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2516692593498683820?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2516692593498683820?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/lP_az8YcFLY/java-file-transfer-buffer-size.html" title="Java File Transfer Buffer Size" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/12/java-file-transfer-buffer-size.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMHQHwyfCp7ImA9WxRbGEg.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2891873349404945786</id><published>2008-12-09T12:22:00.000-08:00</published><updated>2008-12-09T12:27:11.294-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-09T12:27:11.294-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="phpbb" /><category scheme="http://www.blogger.com/atom/ns#" term="web space" /><category scheme="http://www.blogger.com/atom/ns#" term="attachments" /><category scheme="http://www.blogger.com/atom/ns#" term="storage" /><category scheme="http://www.blogger.com/atom/ns#" term="database" /><title>phpBB Attachment Storage</title><content type="html">I've just recently set up a phpBB 3.0 forum for a local non-profit organization. Most registered users will want to frequently post pictures and so on with their forum posts, and originally I disabled attachments for fear that it would contribute to my small 100 MB database size limit set by my web hosting provider.&lt;br /&gt;&lt;br /&gt;After asking on the &lt;a href="http://www.phpbb.com/community/viewtopic.php?f=46&amp;t=1346245"&gt;phpBB support forums&lt;/a&gt;, apparently the files are actually stored in a folder on the web space storage, and only a reference to the attached file is stored in the database. This means that I will be able to store many pictures and attachments without having to worry about running out of space.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2891873349404945786?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jOmlbNTTyE33iQP1brdM9Gc1bGE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jOmlbNTTyE33iQP1brdM9Gc1bGE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jOmlbNTTyE33iQP1brdM9Gc1bGE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jOmlbNTTyE33iQP1brdM9Gc1bGE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2891873349404945786/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2891873349404945786" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2891873349404945786?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2891873349404945786?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/e946a_yAP8Y/phpbb-attachment-storage.html" title="phpBB Attachment Storage" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/12/phpbb-attachment-storage.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAER3s8cCp7ImA9WxRbFU4.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-771705661215218055</id><published>2008-12-05T18:58:00.000-08:00</published><updated>2008-12-05T19:05:06.578-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-05T19:05:06.578-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="keyboard" /><category scheme="http://www.blogger.com/atom/ns#" term="settings" /><category scheme="http://www.blogger.com/atom/ns#" term="vista" /><category scheme="http://www.blogger.com/atom/ns#" term="regional" /><category scheme="http://www.blogger.com/atom/ns#" term="french" /><category scheme="http://www.blogger.com/atom/ns#" term="english" /><category scheme="http://www.blogger.com/atom/ns#" term="languages" /><title>How To Get Rid Of Alternate Keyboards In Vista</title><content type="html">I find that everyone I know who uses Vista complains at some point of the OS randomly deciding to switch input languages. Since I am in Canada, this is most commonly French to English or English to French. There are a few simple steps you can do to stop this problem. I actually change this setting on every computer I set up at my computer technician job.&lt;br /&gt;&lt;br /&gt;Follow the steps:&lt;br /&gt;&lt;br /&gt;Start &gt; Control Panel &gt; Clock, Language and Region (or) Regional and Language Settings&lt;br /&gt;&lt;br /&gt;Then depending on your Control Panel view,&lt;br /&gt;&lt;br /&gt;Change Keyboards or Other Input Methods (or) Keyboards and Languages tab &gt; Change Keyboards...&lt;br /&gt;&lt;br /&gt;Select each language/keyboard you don't intend on using from the list, and select remove. To use the standard English keyboard, use US.&lt;br /&gt;&lt;br /&gt;Move to the Language Bar tab, then select Hidden. Then move to the Advanced Key Settings tab, and if any of the entries have a key sequence beside their name, press Change Key Sequence... then change both settings to Not Assigned.&lt;br /&gt;&lt;br /&gt;Hit OK a bunch of times and you're set. No more worrying about random switches between French and English and whatever other language you have installed. Unless of course you want it that way.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-771705661215218055?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/q6OFudwx6DhC_Wa0-LurGjddv14/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/q6OFudwx6DhC_Wa0-LurGjddv14/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/q6OFudwx6DhC_Wa0-LurGjddv14/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/q6OFudwx6DhC_Wa0-LurGjddv14/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/771705661215218055/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=771705661215218055" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/771705661215218055?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/771705661215218055?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/tYvqeWLPXb8/how-to-get-rid-of-alternate-keyboards.html" title="How To Get Rid Of Alternate Keyboards In Vista" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/12/how-to-get-rid-of-alternate-keyboards.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYMQH48eyp7ImA9WxRbFU4.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-6499091005158652513</id><published>2008-12-05T18:30:00.000-08:00</published><updated>2008-12-05T18:56:21.073-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-05T18:56:21.073-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="network" /><category scheme="http://www.blogger.com/atom/ns#" term="socket" /><category scheme="http://www.blogger.com/atom/ns#" term="tips" /><category scheme="http://www.blogger.com/atom/ns#" term="serversocket" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><category scheme="http://www.blogger.com/atom/ns#" term="stream" /><title>Common Java Socket Programming Bugs</title><content type="html">Last year I wrote an internet chat client in Java, and just now I've decided to write a file transfer program in Java. Both of these programs taught me how to use the Socket class from the Java API. I've ran into a few programming mistakes that cost me a lot of time, so here are some things to watch out for.&lt;br /&gt;&lt;br /&gt;Remember that InetAddress.getHostAddress(); returns a string of the form "hostname/x.x.x.x" so to get just the IP address string you might want to do something like InetAddress.getHostAddress().split("/")[0];&lt;br /&gt;&lt;br /&gt;When you are doing&lt;br /&gt;&lt;br /&gt;Socket clientSocket = serverSocket.accept();&lt;br /&gt;out = new PrintWriter(clientSocket.getOutputStream(), true);&lt;br /&gt;out.print("Hello World!");&lt;br /&gt;&lt;br /&gt;Be careful how you read on the other end with&lt;br /&gt;&lt;br /&gt;in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));&lt;br /&gt;in.readLine();&lt;br /&gt;&lt;br /&gt;The .readLine() method looks for a line break at the end of the string, but when you are using out.print() no "\n" is added to the end. Use out.println(); instead.&lt;br /&gt;&lt;br /&gt;Lastly, if you are sending text such as out.println(); remember that it is not actually sent until you call out.flush();&lt;br /&gt;&lt;br /&gt;Hopefully these tips will save you a bit of grief if you are new to network programming with Java. I know I would have been grateful if someone had told me about these simple things.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-6499091005158652513?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0-00-QTYtCBA6bpzowtG3puJ8-g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0-00-QTYtCBA6bpzowtG3puJ8-g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0-00-QTYtCBA6bpzowtG3puJ8-g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0-00-QTYtCBA6bpzowtG3puJ8-g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/6499091005158652513/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=6499091005158652513" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/6499091005158652513?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/6499091005158652513?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/fbF8L1MZxdg/common-java-socket-programming-bugs.html" title="Common Java Socket Programming Bugs" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/12/common-java-socket-programming-bugs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ENSH45fSp7ImA9WxRbEEw.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-2049459916254833041</id><published>2008-11-29T19:18:00.000-08:00</published><updated>2008-11-29T19:28:19.025-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-29T19:28:19.025-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="getline" /><category scheme="http://www.blogger.com/atom/ns#" term="c++" /><category scheme="http://www.blogger.com/atom/ns#" term="encoding" /><category scheme="http://www.blogger.com/atom/ns#" term="unicode" /><category scheme="http://www.blogger.com/atom/ns#" term="reading file" /><category scheme="http://www.blogger.com/atom/ns#" term="ANSI" /><category scheme="http://www.blogger.com/atom/ns#" term="ifstream" /><title>C++ Reading Files Using ifstream and getline()</title><content type="html">While doing a programming assignment in C++, I was trying to read data from a text file line by line using the following code snippet:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#include &amp;lt;fstream&amp;gt;&lt;br /&gt;char line[2048];&lt;br /&gt;ifstream in("data.txt");&lt;br /&gt;in.getline(line,2048);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For some reason I was getting garbage being read from the file, but found out that the cause of the problem was the encoding of the text file. The text file I was using was Unicode. When I re-saved the file as ANSI encoding, the C++ program would then read the proper file data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-2049459916254833041?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2WiTpd-XWb_gbXRDOyuqT_uVZ5s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2WiTpd-XWb_gbXRDOyuqT_uVZ5s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2WiTpd-XWb_gbXRDOyuqT_uVZ5s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2WiTpd-XWb_gbXRDOyuqT_uVZ5s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/2049459916254833041/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=2049459916254833041" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2049459916254833041?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/2049459916254833041?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/LOWZe9CUnvE/c-reading-files-using-ifstream-and.html" title="C++ Reading Files Using ifstream and getline()" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/11/c-reading-files-using-ifstream-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQERXk5fip7ImA9WxRUFE8.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-6628536023140520280</id><published>2008-11-22T22:54:00.000-08:00</published><updated>2008-11-22T22:55:04.726-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-22T22:55:04.726-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="memory stick" /><category scheme="http://www.blogger.com/atom/ns#" term="laundry" /><category scheme="http://www.blogger.com/atom/ns#" term="usb" /><title>USB Memory Stick In Laundry</title><content type="html">Yep, it still worked after a wash cycle and a dry cycle.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-6628536023140520280?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tkYFklMXCuGBl848X_lZzUAVxaM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tkYFklMXCuGBl848X_lZzUAVxaM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tkYFklMXCuGBl848X_lZzUAVxaM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tkYFklMXCuGBl848X_lZzUAVxaM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/6628536023140520280/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=6628536023140520280" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/6628536023140520280?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/6628536023140520280?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/pMZ5lT1yVqA/usb-memory-stick-in-laundry.html" title="USB Memory Stick In Laundry" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/11/usb-memory-stick-in-laundry.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUDR38_fip7ImA9WxVSGUw.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-1230318853528477015</id><published>2008-11-14T20:34:00.000-08:00</published><updated>2009-01-13T21:17:56.146-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-13T21:17:56.146-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IDE" /><category scheme="http://www.blogger.com/atom/ns#" term="really slow" /><category scheme="http://www.blogger.com/atom/ns#" term="hard drive" /><category scheme="http://www.blogger.com/atom/ns#" term="PIO" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><category scheme="http://www.blogger.com/atom/ns#" term="DMA" /><category scheme="http://www.blogger.com/atom/ns#" term="transfer mode" /><title>Speed Up Really Slow IDE Systems</title><content type="html">A little known trick to try on an older Windows system with IDE hard drives (anything pre-2003) is as follows. If your computer is really really slow, it could be that the hard drive(s) are using the wrong transfer mode. To check, go to Start &gt; Control Panel &gt; System &gt; Hardware &gt; Device Manager &gt; IDE ATA/ATAPI controllers. Right click on each IDE channel and select Properties. Go to the Advanced Settings tab, and make sure each transfer mode is set to "DMA if available". If the settings were set to PIO only, changing the transfer mode to DMA should significantly and noticeably improve system performance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-1230318853528477015?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yW4upvVu3Kv-idrlAilItQsf_qU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yW4upvVu3Kv-idrlAilItQsf_qU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yW4upvVu3Kv-idrlAilItQsf_qU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yW4upvVu3Kv-idrlAilItQsf_qU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/1230318853528477015/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=1230318853528477015" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/1230318853528477015?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/1230318853528477015?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/LNoYJ98yGXU/speed-up-really-slow-ide-systems.html" title="Speed Up Really Slow IDE Systems" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/11/speed-up-really-slow-ide-systems.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04ERH86fSp7ImA9WxRVE0g.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-4246444498622566558</id><published>2008-11-10T14:21:00.000-08:00</published><updated>2008-11-10T14:25:05.115-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-10T14:25:05.115-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="visual c++ 2005 express edition" /><category scheme="http://www.blogger.com/atom/ns#" term="install" /><category scheme="http://www.blogger.com/atom/ns#" term="error 1935" /><category scheme="http://www.blogger.com/atom/ns#" term="hresult 0x8007054f" /><title>Error 1935 HRESULT 0x8007054F When Installing Visual C++ 2005 Express Edition</title><content type="html">When installing Visual C++ 2005 Express Edition on Windows Vista Home Premium, I received the following error:&lt;br /&gt;&lt;br /&gt;"Error 1935 HRESULT 0x8007054F", along with some other stuff.&lt;br /&gt;&lt;br /&gt;After some Googling, I found that the Microsoft .NET Framework can cause problems with the installation if it is already installed on the system.&lt;br /&gt;&lt;br /&gt;I uninstalled Microsoft .NET Framework 1.1 and its hotfixes, rebooted, and tried installing Visual C++ 2005 Express Edition again. This time, it installed with no problems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-4246444498622566558?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VZVmNelfTAxh9zExRLGxLgHsMjk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VZVmNelfTAxh9zExRLGxLgHsMjk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VZVmNelfTAxh9zExRLGxLgHsMjk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VZVmNelfTAxh9zExRLGxLgHsMjk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/4246444498622566558/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=4246444498622566558" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4246444498622566558?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4246444498622566558?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/8DtH9wYq23w/error-1935-hresult-0x8007054f-when.html" title="Error 1935 HRESULT 0x8007054F When Installing Visual C++ 2005 Express Edition" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/11/error-1935-hresult-0x8007054f-when.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUDQ3s4cSp7ImA9WxVSGUk.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-1828584558872614370</id><published>2008-11-10T13:22:00.000-08:00</published><updated>2009-01-14T06:44:32.539-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-14T06:44:32.539-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="will not boot" /><category scheme="http://www.blogger.com/atom/ns#" term="won't boot" /><category scheme="http://www.blogger.com/atom/ns#" term="partition" /><category scheme="http://www.blogger.com/atom/ns#" term="reformat" /><category scheme="http://www.blogger.com/atom/ns#" term="F11" /><category scheme="http://www.blogger.com/atom/ns#" term="recovery partition" /><category scheme="http://www.blogger.com/atom/ns#" term="grub" /><category scheme="http://www.blogger.com/atom/ns#" term="MBR" /><category scheme="http://www.blogger.com/atom/ns#" term="vista" /><category scheme="http://www.blogger.com/atom/ns#" term="recovery" /><category scheme="http://www.blogger.com/atom/ns#" term="HP" /><category scheme="http://www.blogger.com/atom/ns#" term="does not boot" /><category scheme="http://www.blogger.com/atom/ns#" term="bootloader" /><title>HP Recovery Partition Does Not Boot</title><content type="html">I own an HP Pavilion dv6568se laptop that came with a recovery partition containing Windows Vista Home Premium on it. After a while of using Vista, I grew weary of its resource hogging and its near-constant crashes. That is when I decided to put good old Windows XP Pro on it and get rid of Vista completely. I bought a nice ExpressCard wireless card to play around with WEP cracking, and decided Linux would best suit that need, so I made a partition, and installed Linux Mint 5.&lt;br /&gt;&lt;br /&gt;Over the past 6 months or so, I've reformatted my laptop multiple times, played with partition managers, messed with boot loaders and the MBR, and caused general mayhem on my laptop's hard drive. I was hoping somehow that my recovery partition would escape generally unscathed through all this in case I ever wanted Vista back, but alas, it did not.&lt;br /&gt;&lt;br /&gt;I am in computer science and the course I am in requires me to use Visual C++ 2005 Express Edition. For some reason (which I never figured out), when it ran under Windows XP SP3, the compiler would turn my source files into renamed temp files and then give me "file not found" errors. Anyway, I tried Visual C++ on another laptop running Vista and it ran fine, despite "Known compatibility issues" warnings. So I decided to put Vista back on my laptop from the recovery partition.&lt;br /&gt;&lt;br /&gt;When I booted and pressed F11 to try and enter the recovery partition, nothing would happen, and it would happily continue on to GRUB. After much playing with GRUB menu entries and partition flags, I decided to give up on using the recovery partition. Instead I downloaded a Vista Home Premium ISO with the intention of using the product key on the bottom of my laptop. I had issues booting the ISOs (I tried two), and was about to give up completely.&lt;br /&gt;&lt;br /&gt;I looked around at the files on the Vista ISO, and found a program called bootsect.exe. This command-line program allowed me to fix the boot sector to an NT 6.0 bootloader (Vista-compatible). I ran this: bootsect /nt60 C: (C: is somehow my recovery partition drive letter). I rebooted to see if it worked, and pressing F11 still did nothing.&lt;br /&gt;&lt;br /&gt;GRUB loaded and I was even more frustrated. GRUB proceeded to boot the entry for my Windows XP installation and somehow, voila, the HP recovery partition started booting.&lt;br /&gt;&lt;br /&gt;Once the recovery partition boots, at this point requesting a complete recovery gives an error. The reason for this is that my laptop hard drive was all partitioned up like crazy into a bunch of different chunks. Open the command line interface and use DISKPART to re-partition the hard drive to one contiguous space, then run the complete recovery.&lt;br /&gt;&lt;br /&gt;Mine proceeded with no issues and I am now running Vista Home Premium. Maybe I'll edit this post later to say if Visual C++ is working fine or not. After all, that was the whole reason for going through all this.&lt;br /&gt;&lt;br /&gt;EDIT: Despite some &lt;a href="http://mikazotechblog.blogspot.com/2008/11/error-1935-hresult-0x8007054f-when.html"&gt;installation issues&lt;/a&gt;, Visual C++ compiles my code without renaming/deleting stuff. This is good.&lt;br /&gt;&lt;br /&gt;EDIT: This page seems to be one of the more popular ones in my blog, so apparently people are having a lot of trouble with their HP recovery partitions. If you need a copy of the bootsect.exe program, let me know. If this ends up helping you solve your problem, please post a comment so I can get an idea of how useful this post is. Thanks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-1828584558872614370?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aNtBl1hF7vh4WNRxGk3mUb02NJw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aNtBl1hF7vh4WNRxGk3mUb02NJw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aNtBl1hF7vh4WNRxGk3mUb02NJw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aNtBl1hF7vh4WNRxGk3mUb02NJw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/1828584558872614370/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=1828584558872614370" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/1828584558872614370?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/1828584558872614370?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/uNPGZhvJv_8/hp-recovery-partition-does-not-boot.html" title="HP Recovery Partition Does Not Boot" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/11/hp-recovery-partition-does-not-boot.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YDQHwzcCp7ImA9WxRVEEk.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-1233844338948574951</id><published>2008-11-07T00:00:00.000-08:00</published><updated>2008-11-07T00:06:11.288-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-07T00:06:11.288-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="playback" /><category scheme="http://www.blogger.com/atom/ns#" term="older system" /><category scheme="http://www.blogger.com/atom/ns#" term="process" /><category scheme="http://www.blogger.com/atom/ns#" term="smooth" /><category scheme="http://www.blogger.com/atom/ns#" term="priority" /><category scheme="http://www.blogger.com/atom/ns#" term="choppy video" /><title>Choppy Video Playback On Older Systems</title><content type="html">One of the biggest features I enjoy about having a dual-monitor setup is the ability to watch a movie on one screen while working and browsing the web on the other. As it turns out though, an old P4 Northwood single core doesn't like handling DVD playback and Firefox at the same time. While browsing the web, video becomes choppy and frozen at times.&lt;br /&gt;&lt;br /&gt;Fortunately, I've found an easy fix for this problem. Open up Task Manager, navigate to the Processes tab, and right click on the media player process you are using to watch videos. Under the Priority submenu, choose High and/or Realtime. Windows will warn you about system instability, just ignore it like you would User Account Control.&lt;br /&gt;&lt;br /&gt;After those few simple steps, the video playback is smooth and much more enjoyable, and the performance of Firefox and other applications have been barely impacted. A good way to give a little more life to an older system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-1233844338948574951?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dgTqslLEy6ESucoEpjPz6ZvgES8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dgTqslLEy6ESucoEpjPz6ZvgES8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dgTqslLEy6ESucoEpjPz6ZvgES8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dgTqslLEy6ESucoEpjPz6ZvgES8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/1233844338948574951/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=1233844338948574951" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/1233844338948574951?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/1233844338948574951?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/3UM2X9LtGeg/choppy-video-playback-on-older-systems.html" title="Choppy Video Playback On Older Systems" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/11/choppy-video-playback-on-older-systems.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcEQH49fSp7ImA9WxRWE04.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-4933826677033044693</id><published>2008-10-29T19:24:00.000-07:00</published><updated>2008-10-29T19:33:21.065-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-29T19:33:21.065-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="package" /><category scheme="http://www.blogger.com/atom/ns#" term="class" /><category scheme="http://www.blogger.com/atom/ns#" term="standard" /><category scheme="http://www.blogger.com/atom/ns#" term="interface" /><category scheme="http://www.blogger.com/atom/ns#" term="override" /><category scheme="http://www.blogger.com/atom/ns#" term="compile" /><title>Easily Override Java Platform Standard Classes and Interfaces</title><content type="html">I was working on a Java assignment, where the professor supplies a starting interface to work from, called Comparable. Other files in the assignment implement this interface, but when I tried to compile, the compiler thought I meant the Java Platform Standard interface Comparable.&lt;br /&gt;&lt;br /&gt;I asked a friend for help on an easy way to tell the compiler which Comparable I am talking about. Apparently it was as easy as adding one line to the top of every class in my assignment:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;package assignment3;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;This method of organizing Java code has proven to be a very useful and simple way of overriding standard Java classes.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-4933826677033044693?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9Vvb9SDQqaT5mJEIY6gZxiJriU8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9Vvb9SDQqaT5mJEIY6gZxiJriU8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9Vvb9SDQqaT5mJEIY6gZxiJriU8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9Vvb9SDQqaT5mJEIY6gZxiJriU8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/4933826677033044693/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=4933826677033044693" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4933826677033044693?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/4933826677033044693?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/kIYDf1FoTkk/easily-override-java-platform-standard.html" title="Easily Override Java Platform Standard Classes and Interfaces" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/10/easily-override-java-platform-standard.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UBRX08fip7ImA9WxRXGEw.&quot;"><id>tag:blogger.com,1999:blog-805192601441500229.post-9178584551660301140</id><published>2008-10-23T19:15:00.000-07:00</published><updated>2008-10-23T19:27:34.376-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-23T19:27:34.376-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOS" /><category scheme="http://www.blogger.com/atom/ns#" term="tasm" /><category scheme="http://www.blogger.com/atom/ns#" term="input redirect" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><category scheme="http://www.blogger.com/atom/ns#" term="read from file" /><category scheme="http://www.blogger.com/atom/ns#" term="assembly" /><title>DOS/cmd.exe Window Input Redirect</title><content type="html">While completing an assignment today requiring assembly programming, I discovered a useful trick called input redirect when using DOS and/or cmd.exe windows. When executing your executable, if you need to constantly enter the same input every time for testing purposes, you can simply place the input in a text file, then redirect the program's input to that file instead of the keyboard.&lt;br /&gt;&lt;br /&gt;The command is of the form:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; myprog.exe &lt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Your program can then use all its regular input methods as if reading from the keyboard, and it saves lots of time not having to enter everything yourself. For example, in my assembly program:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;GetCh AX&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This instruction does not wait for user input, it instead reads a character from the given text file.&lt;br /&gt;&lt;br /&gt;I have not tried this trick in other languages (i.e. C, C++), but I assume it works in a similar manner.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/805192601441500229-9178584551660301140?l=mikazotechblog.blogspot.com'/&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/llGF8XHV05xEnLMqlAAUf6ePQXI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/llGF8XHV05xEnLMqlAAUf6ePQXI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/llGF8XHV05xEnLMqlAAUf6ePQXI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/llGF8XHV05xEnLMqlAAUf6ePQXI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://mikazotechblog.blogspot.com/feeds/9178584551660301140/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=805192601441500229&amp;postID=9178584551660301140" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/9178584551660301140?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/805192601441500229/posts/default/9178584551660301140?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/MikazoTechBlog/~3/rLbp4racrA8/doscmdexe-window-input-redirect.html" title="DOS/cmd.exe Window Input Redirect" /><author><name>Mikazo</name><uri>http://www.blogger.com/profile/02248101760142904816</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="05206566560913046875" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://mikazotechblog.blogspot.com/2008/10/doscmdexe-window-input-redirect.html</feedburner:origLink></entry></feed>
