<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechKnack &#187; windows</title>
	<atom:link href="http://techknack.net/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://techknack.net</link>
	<description>The rantings of a techie</description>
	<lastBuildDate>Thu, 24 Dec 2009 19:53:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Make Windows Act Like Linux</title>
		<link>http://techknack.net/make-windows-act-like-linux/</link>
		<comments>http://techknack.net/make-windows-act-like-linux/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 20:23:11 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techknack.net/?p=262</guid>
		<description><![CDATA[As I use Win7 more and more, there are things that I notice it doesn&#8217;t do that linux did do.  Virtual desktops, certain programs minimizing to the systray, clipboard history.  Small things, things that you normally would take for granted if you had them, but things that become very noticeable when they&#8217;re suddenly [...]]]></description>
			<content:encoded><![CDATA[<p>As I use Win7 more and more, there are things that I notice it doesn&#8217;t do that linux did do.  Virtual desktops, certain programs minimizing to the systray, clipboard history.  Small things, things that you normally would take for granted if you had them, but things that become very noticeable when they&#8217;re suddenly missing.  Fortunately, there are lots of little, independently developed programs that provide some of the little pieces of functionality that linux enthusiasts grow used to.</p>
<p>Before I begin listing off links, I feel the need to put a disclaimer.  I realize that the title for this post will make many laugh.  It makes me laugh.  Why, after all, would you want to make Windows act like Linux when you can have the real deal for free?  The answer is just that: Linux is not free, not in the modern sense.  The switch from windows to linux is a shift in the way your world works.  It&#8217;s often a shift for the better, but the shift itself almost always takes time &#8212; time to get used to a new ideology, time to figure things out, time to make things work just the way you want them to.  Time that many people don&#8217;t have.</p>
<p>Truth is, there is simply no way to make Windows akin to Linux in any way, shape, or form.  They are two different environments, two different philosophies.  However, thanks to third-party developers and a fairly open distribution platform (I&#8217;m looking at you, Apple), it&#8217;s possible to bring some functionality to the Windows desktop.  You can&#8217;t change its personality, but you can change its behavior.  This list is meant to bring some linux-y goodness to those without the time to jump in head first.</p>
<p>Now, with that out of the way, the list:</p>
<ul>
<li><b>Clipboard history</b>: something so small, so unnoticeable until you need it, and so nice to have when you do need it.  <a href="http://clipx.org/">ClipX</a>; 131K download; 252K footprint (no plugins, 25 items, text only).</li>
<li><b>Virtual desktops</b>: Most linux distros come with virtual desktops or workspaces.  Once you learn to work with them, you can&#8217;t work without them.  <a href="http://virtuawin.sourceforge.net/">VirtuaWin</a>; 385K download; 1.3M footprint (four desktops).  Won&#8217;t give you the Compiz cube, but you shouldn&#8217;t be expecting that anyways <img src='http://techknack.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  .</li>
<li><b>Window snapping</b>: a nice feature for those who like to work with non-maximized windows in the corners of their desktops.  <a href="http://ivanheckman.com/allsnap/">AllSnap</a>; 69.4K download; just over 1M footprint (portable version via startup folder, desktop snapping only)</li>
<li><b>Systray minimization</b>: I got used to Amarok minimizing to the systray, and I wanted Windows Media Player to do the same.  <a href="http://www.teamcti.com/trayit/trayit.htm">TrayIt!</a>; 327K download; just over 1M footprint (one window rule for WMP).</li>
<li><b>Launchy/Gnome-Do/Program Launcher</b>: I never had much luck with launchy under linux, so I ended up using Gnome-Do for app launching.  Win7, however, seems to do fine with its Start Menu searchbar.  No download, native footprint.</li>
<li><b>Wallpaper rotater</b>: while not strictly functional, it is nice to be able to choose a number of images to auto-rotate through as a wallpaper.  Win7 has this built in.  No download, native footprint.</li>
</ul>
<img src="http://techknack.net/?ak_action=api_record_view&id=262&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/make-windows-act-like-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux-to-Windows Program Replacements</title>
		<link>http://techknack.net/linux-to-windows-program-replacements/</link>
		<comments>http://techknack.net/linux-to-windows-program-replacements/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 20:21:57 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techknack.net/?p=226</guid>
		<description><![CDATA[For the past couple of weeks, I&#8217;ve been using the Windows 7 beta.  A shocker, I know, but I&#8217;ve been able to find replacements for most of the software I use everyday in Linux.  The biggest hangups I&#8217;ve found so far are 1) lack of package manager (PLEASE, Microsoft, implement something to this [...]]]></description>
			<content:encoded><![CDATA[<p>For the past couple of weeks, I&#8217;ve been using the Windows 7 beta.  A shocker, I know, but I&#8217;ve been able to find replacements for most of the software I use everyday in Linux.  The biggest hangups I&#8217;ve found so far are 1) lack of package manager (PLEASE, Microsoft, implement something to this effect!), and 2) lack of some SSHfs capabilities.  I used SSHfs extensively under linux, and WinSCP just doesn&#8217;t cut it.</p>
<p>Moving from a well-established Linux environment to a squeaky-clean Windows environment is bound to be a bumpy experience without first determining suitable replacements for all the programs that one uses on a daily basis.  After my initial move-in, I was rather ad-hoc in finding replacements.  Now that I&#8217;ve found suitable replacements for my most-used programs, perhaps this list can help those of you looking to make n experimental switch.</p>
<ul>
<li><b>BitTorrent</b>: I do a lot of torrenting, so a good replacement for KTorrent is necessary.  uTorrent has so far served my purposes for the odd torrent, while I continue to use my <a href="http://techknack.net/torrent-management-system-with-rtorrent-and-bash/">automated torrent system</a> on my home server for TV shows and such.</li>
<li><b>IM client with AIM and IRC</b>: I sit on IRC channels all day long these days, occasionally throwing in a word or two, but mainly gleaning whatever knowledge I can from the chatter.  Also, I have an AIM account that is my main real-time online point-of-access.  I&#8217;ve gotten used to Kopete, but it&#8217;s lacking in just the right areas so as to make me dissatisfied with it.  Recently I&#8217;ve installed Pidgin (under Kubuntu), and I&#8217;ve found that it has its own quirks that I&#8217;m dissatisfied with, perhaps more so than with Kopete.  The release of kDE4-only Kubuntu 8.10 has further disappointed me: Kopete lost its IRC capabilities, and I was forced to use Konversation for IRC, but it has been an exceptional IRC program.  Here on Windows, the options are rather scarce &#8212; Pidgin is available, but suffers from the aforementioned shortcomings.  I&#8217;ve heard great things about Digsby, but it doesn&#8217;t seem to support IRC at the moment.  However, as I was forced to split my chatting between two programs on linux, doing the same on windows isn&#8217;t too bad a compromise.  I use Digsby for AIM, and <a href="http://www.silverex.org/">YChat</a>, which seems to be a branch of XChat, for IRC.  I am not completely satisfied with YChat as a Konversation replacement, because it has no auto-login, auto-identification, or auto-join features that work on Win7 (seems to be a dll issue here), but it works well enough.</li>
<li><b>Desktop Feed Reader</b>: My primary feed reader for feeds of interest to me is Google Reader, and that isn&#8217;t going to change.  However, I also use a desktop feed reader to toss temporary feeds like ebay and craigslist search results into.  On linux I&#8217;ve grown accustomed to using Akregator, simply because it&#8217;s included with Kubuntu.  Here on Windows, however, FeedDemon has taken the role quite nicely.</li>
<li><b>Music/Video playback</b>, a la Amarok/Kaffeine: I love my music.  And I love my video, whether it be downloaded TV shows or a DVD.  And I have to have some way to play them.  Regarding music, my needs are not outrageous &#8212; I just need some way to organize my music, fetch album info from the net, and perhaps display album art for me.  I don&#8217;t care for song ratings or anything fancy like that.  Windows Media Player works well in regards to both audio and video, and even works with my Inspiron&#8217;s front-side music player controls.</li>
<li><b>Gimp or PhotoShop</b>: Being in web development, I do occasionally do graphics editing.  For this, I need Gimp at the least, though I would like to try PhotoShop.  I&#8217;m going to attempt to install PS CS4 at some point, but I&#8217;m afraid I won&#8217;t have the free disk space for it.  Bummer.</li>
<li><b>Advanced text editor</b>: On Kubuntu, I used Kate for text editing (HTML, CSS, PHP, etc files).  My requirements here are syntax highlighting, tabs, and sessions.  Code collapsing is a nice feature, but not required.  I will likely use Notepad++ on Windows, though I haven&#8217;t done much development lately to really test its workflow yet.</li>
<li><b>Firefox, Thunderbird, and Sunbird</b>: I&#8217;m sorry, there is no replacement for these three <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</li>
<li><b>Office software</b>: On Linux, I got by fine using OpenOffice.  However, since I have free access to Office 2007, I am using that.  Sorry, OSS radicals.</li>
<li><b>Filezilla</b>: Again, no replacement.</li>
<li><b>PDF Viewer/Printer</b>: Another thing that comes stock with Kubuntu.  Foxit is good for PDF viewing, and <a href="http://www.acrosoftware.com/Products/CutePDF/writer.asp">CutePDF</a> works for a printer.</li>
<li><b>File manager</b>: Requirements in this area include all the things I&#8217;ve come to expect from Konqueror: tabbed interface (with spring-loaded tabs, no less), session management, and easy switching amongst various folder views (icons, details, etc).  CubicExplorer fits the bill quite nicely, though I still find myself opening Windows Explorer for short filemanaging stints.</li>
<li><b>SSHfs</b>: This was rather high on my priority list, as I have my web development folders, which reside on my server, mounted locally as SSHfs shares.  This means that, whenever I have internet access, I can simply open, edit, and save the files at home as if they were on my local machine.  Unfortunately, no SSHfs for Windows seems to exist.  I had heard things about Novell&#8217;s netdrive.exe, but it doesn&#8217;t support sftp.  Dokan&#8217;s SSHfs looked promising, but, alas, would not install on a Windows 7 environment (even in Vista compatibility mode).  For now, I have to resort to WinSCP for SSH-based editing, but it doesn&#8217;t come near the convenience of SSHfs.</li>
</ul>
<img src="http://techknack.net/?ak_action=api_record_view&id=226&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/linux-to-windows-program-replacements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 and &#8212; My Computer!</title>
		<link>http://techknack.net/windows-7-and-my-computer/</link>
		<comments>http://techknack.net/windows-7-and-my-computer/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 20:21:43 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techknack.net/?p=225</guid>
		<description><![CDATA[Disclaimer: I never have gotten a chance to experiment with Vista, so I apologize if some of the &#8220;new features&#8221; I rant about here are actually old features carried over from Vista.
So I liked what I saw when I installed Windows 7 on VirtualBox.  And I didn&#8217;t get to see Aero, and I kinda [...]]]></description>
			<content:encoded><![CDATA[<p><i>Disclaimer: I never have gotten a chance to experiment with Vista, so I apologize if some of the &#8220;new features&#8221; I rant about here are actually old features carried over from Vista.</i></p>
<p>So I liked what I saw when I installed <a href="http://techknack.net/windows-7-and-virtualbox/">Windows 7 on VirtualBox</a>.  And I didn&#8217;t get to see Aero, and I kinda missed out on &#8220;testing&#8221; Vista, <i>and</i> I had an old XP install (which I never use anymore thanks to Kubuntu) taking 12GB of space.  Can you really blame me for wanting to dive in?</p>
<p>Yes, I have installed Windows 7 (beta-build 7000) using an ISO I had gotten earlier off the torrents and one of the <a href="http://lifehacker.com/5128404/microsoft-extends-windows-7-beta-availability-until-january-24th?t=9963041#viewcomments">available activation keys</a>.  So I&#8217;m presumably set for now through August.  (And if anyone&#8217;s wondering, the 7000 build ISO from the torrents and the 7000 build ISO from Microsoft have the same MD5 checksum &#8212; we checked).</p>
<p>The machine I installed on has a 60GB hard drive (of which Windows 7 has one 12GB partition to work with), 4GB of RAM (of which only 3.25 are available for 32-bit use, which is still nothing to sneeze at), and a 2.0 GHz Intel Core Duo processor.  12GB was the smallest I could shrink my Windows XP partition after I had decided that I wouldn&#8217;t be using it anymore, so that&#8217;s the reason I have so little space.  The installation took around 20 minutes from DVD boot to usable desktop, though I probably spent a good few hours hunting down program replacements.  After the install, I was left with a paltry 1.27 GB to install programs on, or so the Disc Properties dialog told me.</p>
<p>After the install process, I was pleased to find that sound, battery life, and wifi all worked perfectly without any driver frustration caused to me.  I was only a little confused when Windows asked about my &#8220;Location&#8221; when I first connected to a wifi network.  Since the main two networks I connect to are secured networks, I simply chose &#8220;homegroup&#8221; as my location.  And I&#8217;m still not sure what exactly the benefit of setting &#8220;Locations&#8221; up would be.</p>
<p>My Synaptic touchpad, however, was a bit trickier.  While it did work after the install, the edge-scroll feature wouldn&#8217;t work.  After some googling, I downloaded <a href="http://www.synaptics.com/support/drivers">Synaptic&#8217;s driver</a> for Vista, ran it in Vista compatibility mode, rebooted the computer, and enjoyed edge scrolling.  Even after tweaking the settings, though, it&#8217;s not quite as sensitive as I&#8217;m used to under Linux, but it works well enough.</p>
<p>Another pleasant surprise is that no desktop icons are forced on the user.  Normally, IE, My Computer, and usually a few other icons are irremovably (except through registry hacks, of course) placed on the user&#8217;s desktop.  Here, however, there are NO compulsory icons &#8212; they can all be easily disabled through the Personalize section.</p>
<p>One unpleasant surprise I came across was that Windows 7 replaced Grub with its own bootloader.  This was easily remedied by reinstalling grub.</p>
<p>Overall, it was a rather painless install process (dare I say easier than linux?).  One thing I can say I will miss is the ability to search for and install programs from the linux repositories.  There&#8217;s just something about &#8220;sudo aptitude install&#8221;-ing a program that trumps &#8220;google, download, install&#8221; any day.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=225&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/windows-7-and-my-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 and VirtualBox</title>
		<link>http://techknack.net/windows-7-and-virtualbox/</link>
		<comments>http://techknack.net/windows-7-and-virtualbox/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 08:16:11 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techknack.net/?p=212</guid>
		<description><![CDATA[When I heard that Windows 7 beta was &#8220;out in the wild&#8221;, I just had to try it.  Since I had no intentions of messing up my computer with an install gone wrong, however, I hastily created a new VM to install it in (after updating to VirtualBox 2.1).
The &#8220;machine&#8221; I&#8217;ve installed it on [...]]]></description>
			<content:encoded><![CDATA[<p>When I heard that <a href="http://lifehacker.com/5119645/windows-7-beta-1-out-in-the-wild">Windows 7 beta was &#8220;out in the wild&#8221;</a>, I just had to try it.  Since I had no intentions of messing up my computer with an install gone wrong, however, I hastily created a new VM to install it in (after updating to <a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox 2.1</a>).</p>
<p>The &#8220;machine&#8221; I&#8217;ve installed it on has a 10GB &#8220;dynamic disk&#8221; (which starts small and grows as is needed), and is limited to 512MB of RAM.  Apparently <a href="http://news.softpedia.com/news/Windows-7-on-a-Diet-to-Match-the-Hardware-Requirements-of-the-Vista-Hog-86950.shtml">Win7 is supposed to run on Vista&#8217;s requirements</a>, which state 512MB, a 1GHz processor, and 15GB HD for the Home basic version, and it seems to do pretty well.  According to the CPU/RAM desktop gadget, it rarely takes more than 60% of the RAM, and the initial install only took about 6GB of the HD.  I haven&#8217;t gotten into any &#8220;intensive&#8221; usage of the system, but I have noticed some slight lag when moving the windows around after opening several programs.  Speaking of windows, the first thing you may notice after the install is that Aero is disabled, presumably because VirtualBox doesn&#8217;t support hardware graphics.</p>
<p>If you&#8217;re experience with VirtualBox, you&#8217;re probably familiar with installing the VirtualBox Guest Additions, which allow &#8220;seamless mode&#8221;, automatic screen resolution update (when resizing the VBox window), and other nifty features.  The unfortunate (though predictable) thing is that the Additions don&#8217;t support Win7 yet, so they won&#8217;t install.  The extremely fortunate thing is that you can use the Additions ISO as a driver update disc to install specific drivers.</p>
<p>I say &#8220;extremely fortunate&#8221; because one thing that won&#8217;t work without the Additions is networking.  And it&#8217;s impossible to get a resolution like 1440&#215;900 without the VBox display adapter.  To fix these issues, go to the &#8220;Devices&#8221; menu in the VirtualBox window, and choose &#8220;Install Guest Additions&#8230;&#8221;.  VBox will mount the Additions ISO, Windows will ask if you want to auto-run, etc.  If you choose to &#8220;run the program,&#8221; it&#8217;ll just give you an error saying that the OS is not supported.</p>
<p>Once you&#8217;re done trying to make it work the right way <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , go to the start menu, do a search for &#8220;device&#8221; (that search is a very handy feature!) and choose the Device Manager.  Once there, you&#8217;ll want to update the drivers for the &#8220;Display adapter&#8221;, &#8220;Network adapter&#8221;, and any other devices that Windows didn&#8217;t recognize on install.  To update the driver, right-click the offending device, choose &#8220;Update driver software&#8221;, select &#8220;Browse my computer for driver software&#8221;, and point it to the root of your disc drive (make sure &#8220;Include subfolders&#8221; is checked).  The update wizard should automatically find the correct driver, if it exists.  Once this is done for the network adapter, you should have internet access; for display adapters, you should have automatic resolution update (allowing 1440&#215;900 resolution when fullscreen&#8217;d, etc).  &#8220;Seamless&#8221; mode still won&#8217;t work, in case you were wondering.</p>
<p>A couple of other things I noticed: During the install, and even starting up normally, the VM experiences several &#8220;window resets&#8221;.  I notice this because I run Compiz with the desktop cube plugin, and I normally have the VM loading on a side face of the cube; whenever it changes the &#8220;screen&#8221;, the window pops up on the active cube face.  This happened several times during the install process (it even rebooted about halfway through, and finished the install from the files copied to the HD), and I believe it happens three times during bootup, though putting it into fullscreen mode keeps it from popping between cube faces.</p>
<p>Windows networking, for some reason or other, wouldn&#8217;t connect with \\vboxsvr (used for VBox shared folders).  However, it was able to access the shared folders of other computers on the network just fine.</p>
<p>Audio does not work in the VM &#8212; I was unable to even &#8220;add new hardware&#8221; so as to install the driver form the Additions disc, as Windows insists on trying to auto-detect any new hardware.</p>
<p>As for the eye-candy, Aero is disabled, as is &#8220;aero peek&#8221;, Win7&#8217;s taskbar-preview.  However, the desktop gadgets have support for opacity,  so I don&#8217;t know what&#8217;s up there.</p>
<p>Overall and so far, it seems pretty nice, especially since I have 4GB (well, 3.2GB) of RAM and a 2GHz dual-core processor on my (physical) machine.  In fact, I have a small partition that still houses an old Win XP installation &#8212; I may just wipe that clean (<a href="http://techknack.net/a-backup-success-story/">after backing it up</a>, of course!) and attempt an install there, to see what this thing&#8217;s really capable of.</p>
<p><i><b>Update:</b> Thanks to commenter Shinta for this tip: run the Guest Additions installer with the Vista compatibility option.  This will allow the Additions to completely install, and seamless mode (probably among other features) will work.</p>
<p>Once you have the Additions ISO mounted, go to the disc&#8217;s contents in Windows Explorer.  Right-click the appropriate installer (ending in either &#8220;amd64&#8243; or &#8220;x86&#8243;) and select &#8220;Properties&#8221;.  Under the &#8220;Compatibility&#8221; tab, check &#8220;Run this program in compatibility mode for:&#8221; and select &#8220;Windows Vista&#8221; from the dropdown.  Click OK, then run the program.  After the install, you will be prompted to reboot; after the reboot, seamless mode works <img src='http://techknack.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</i></p>
<img src="http://techknack.net/?ak_action=api_record_view&id=212&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/windows-7-and-virtualbox/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>A Backup Success Story</title>
		<link>http://techknack.net/a-backup-success-story/</link>
		<comments>http://techknack.net/a-backup-success-story/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 05:55:36 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techknack.net/?p=215</guid>
		<description><![CDATA[Well, it may be a horror story, depending on how you look at it.
Way back in 2004, my parents, like so many other consumers, ditched their old computer and bought a new one, a Systemax Venture with 512MB RAM (if I recall correctly &#8212; they upgraded to 2GB some time ago), a 2.5GHz processor, and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it may be a horror story, depending on how you look at it.</p>
<p>Way back in 2004, my parents, like so many other consumers, ditched their old computer and bought a new one, a Systemax Venture with 512MB RAM (if I recall correctly &#8212; they upgraded to 2GB some time ago), a 2.5GHz processor, and a 50GB hard drive with a 10GB &#8220;recovery partition&#8221;.  In the five years that they&#8217;ve had it, I&#8217;ve been their tech support &#8212; which is probably the reason it&#8217;s lasted five years in the first place.  Those same five years were when I started growing excessively curious about computers, so it&#8217;s taken its share of poking and prodding (though probably not as much as my own machine, which ultimately got its drive split into several partitions and linux installed on it <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>After so much &#8220;experimentation&#8221;, it recently seemed to have given up.  It came down with a case of constant rebooting, a very common issue which happens when XP&#8217;s &#8220;automatic reboot-on-error&#8221; feature is enabled, and it throws fatal errors constantly.  What happens is an error is thrown, so it reboots.  But, of course, nothing was done to correct the error, so it is thrown again, causing a reboot.  Normally, we could get 15 minutes of uncertain &#8220;working state&#8221;, before the thing would either lock up (followed by us pressing the power button) or reboot itself, and that was when we were lucky.</p>
<p>A temporary fix that I found was to perform manual system restores on the hard drive, which involved hooking the drive up to another computer, going into the filesystem, and moving system files around.  It worked the first few times, but the main problem always came back after a while.</p>
<p>There were a couple of times when I suspected it might be an overheating problem.  I would boot into the bios and pull up the &#8220;PC Health Status&#8221; screen, which gave fan speeds and CPU temperature, and wait for it to lock up again.  I believe there was one time the temperature got above 200 degrees Fahrenheit, even.  With this revelation, we replaced the fan.  The replacement worked well, but, inevitably, other problems developed.</p>
<p>It started its constant reboot syndrome again, but this time even system restores wouldn&#8217;t work.  It got to the point where it was unusable, so in leu of unstable Windows, I burnt and booted an Ubuntu livecd.  Since there was hardly extra space on the original HD, they just ran off the livecd.  That worked for a while, allowing them the basic necessities of the internet (they had already been using FireFox at that point) and document editing (which documents they saved to a flash drive), until even Ubuntu started kernel-panicing, seemingly spontaneously.</p>
<p>It was at this point that they were ready to buy a new computer.  Not because they wanted a new computer.  Because they were sick of the old one not working, the common &#8220;excuse&#8221; to buy a new computer <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>What about the &#8220;recovery partition&#8221;, you ask?  After all, surely the OEM put it there for a reason?  Well, I had come into posession of an older 60GB hard drive, and then I discovered dd, a linux &#8220;block copying&#8221; program.  Long before the machine became unusable, I used dd to clone the original 50GB drive to the 60GB drive, and ran the recovery program, just to see how it worked.  After the recovery program did its thing, I was asked to reboot.  Upon reboot &#8230; the OS wouldn&#8217;t boot.  Period.  Can you blame me for not wanting to try that on the &lt;i&gt;original&lt;/i&gt; hard drive?</p>
<p>Fortunately, about December of 2007, I had discovered &#8212; and experimented with &#8212; partimage, a linux-based partition imager.  I had made backups of a few partitions from a few computers, and stored them on my external 500GB hard drive for future reference.  As luck would have it, one of those partitions was the main 40GB partition from this computer.  You can imagine my hope, curiosity, and anticipation when I (re)discovered this.</p>
<p>I promptly made two backups of the 40GB main partition on the drive &#8212; one partimage backup, and a complete file system copy to a folder on the external drive &#8212; and began the process of restoring the partition to its December 2007 state.</p>
<p>The restore was successful.  The computer booted fine, and here nearly a week later it still works great.  No more constant reboots.  There were a few minor issues &#8212; like account settings that were lost, and the fact that it had reverted to a pre-SP2 state &#8212; but the filesystem copy I had made contained any files they might want to retrieve.</p>
<p>The moral of this success story is the same as the moral of any &#8220;backup horror story&#8221; &#8212; backup, backup, backup!  You never know when you&#8217;ll lose data, your system will become unusable, or &lt;a href=&#8221;http://lifehacker.com/5122848/hard-lessons-in-the-importance-of-backups-journalspace-wiped-out#viewcomments&#8221;&gt;a paranoid employee will wipe all your hard drives clean&lt;/a&gt;.  You just can&#8217;t know.</p>
<p>The horror part?  Well, my parents are still using Windows XP on that five-year-old computer.  I wasn&#8217;t quite able to convince them to use Ubuntu for everything <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .  Oh, well&#8230;</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=215&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/a-backup-success-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a 1D array like a 2D (or 3D) array</title>
		<link>http://techknack.net/using-a-1d-array-like-a-2d-or-3d-array/</link>
		<comments>http://techknack.net/using-a-1d-array-like-a-2d-or-3d-array/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 19:44:50 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techknack.net/?p=191</guid>
		<description><![CDATA[So I&#8217;ve been working on a 3D graphics project for school, and I&#8217;ve come across an inconvenience: while g++, the linux compiler, will happily let you declare a new multi-dimensional array with a variable as the size, Visual Studio (the MicroSoft compiler) complains that such a daunting task is too difficult &#8212; &#8220;I expect a [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working on a 3D graphics project for school, and I&#8217;ve come across an inconvenience: while g++, the <strong>linux</strong> compiler, will happily let you declare a new multi-dimensional array with a variable as the size, Visual Studio (the <strong>MicroSoft</strong> compiler) complains that such a daunting task is too difficult &#8212; &#8220;I expect a FIXED, STATIC size for these arrays!&#8221; it says.</p>
<p>For example:</p>
<pre class="brush: cpp;">
void blah(int width, int height) {
    unsigned char Array[height][width];
}
</pre>
<p>Seems logical, right?  Create a new array, with whatever width and height were passed to the function.  And, as I said, g++ will happily let you do this (well, maybe not <em>this</em> particular example, but you get the idea), but VS complains.</p>
<p>As such, and since I have to have a Windows binary to submit to the professor, I&#8217;ve ventured into the world of <strong>malloc</strong>.  Sounds like a villain&#8217;s name, doesn&#8217;t it?  For those who don&#8217;t know, <a href="http://www.elook.org/programming/c/malloc.html">malloc</a> is (one of?) C&#8217;s <strong>m</strong>emory <strong>alloc</strong>ation function(s) &#8212; give it the amount of memory you need, it&#8217;ll reserve that much memory and return the base address (in the form of a &#8220;void *&#8221;.  pfft.).  Of course, it&#8217;s not that simple, but that&#8217;s the basic idea.</p>
<p>To get our two-dimensional array with malloc, you need to get fancy with the looping.  For example:</p>
<pre class="brush: cpp;">
void blah(int width, int height) {
    unsigned char** Array = (unsigned char**)malloc(height*sizeof(unsigned char*));
    for (int i=0; i&lt;height ; i++) {
        Array[i] = (unsigned char*)malloc(width*sizeof(unsigned char));
    }
}
</pre>
<p>What a freakin&#8217; mess!  Instead of reading &#8220;create a height-by-width array&#8221;, this reads more like &#8220;eat up as much memory as you can&#8221;.  Yes, you have to semi-manually create each level of the &#8220;dynamic&#8221; array, all so you can conveniently use &#8220;Array[n][m]&#8221; later in your program.  Want a three-dimensional array (used to hold RGB images &#8212; Array[height][width][3])?</p>
<pre class="brush: cpp;">
void blah(int width, int height) {
    unsigned char*** Array = (unsigned char***)malloc(height*sizeof(unsigned char**));
    for (int i=0; i&lt;height ; i++) {
        Array[i] = (unsigned char**)malloc(width*sizeof(unsigned char*));
        for (int j=0; j&lt;width; j++) {
            Array[i][j] = (unsigned char*)malloc(3*sizeof(unsigned char));
        }
    }
}
</pre>
<p>And so on for each dimension you wish to add.  Truly hideous.  So many levels of pointers to keep track of, so many <em>stinking</em> loops!  There is such a better way <img src='http://techknack.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Instead of using unsightly code to allow the convenience of multiple subscripts, you could just as well create a width*height(*3), single-dimensional array, and use some simple math to get the proper offset.  Here are examples of up to three dimensions (I&#8217;ve actually used the three-dimension one in my program to load an image file, works perfectly):</p>
<pre class="brush: cpp;">
// One dimension -- easy enough:
unsigned char* OneDim = (unsigned char*)malloc(width*sizeof(unsigned char));
for (int i=0; i&lt;width ; i++) {
    OneDim[i];
}

// Two dimensions -- a little trickier:
unsigned char* TwoDim = (unsigned char*)malloc(width*height*sizeof(unsigned char));
for (int i=0; i&lt;height; i++) {
    for (int j=0; j&lt;width; j++) {
        // TwoDim[i][j] =
        TwoDim[i*width+j];
    }
}

// Three dimensions -- w00t, crazy!
unsigned char* ThreeDim = (unsigned char*)malloc(width*height*3*sizeof(unsigned char));
for (int i=0; i&lt;height; i++) {
    for (int j=0; j&lt;width; j++) {
        for (int k=0; k&amp;lt;3; k++) {
            // ThreeDim[i][j][k] =
            ThreeDim[(i*width+j)*3+k];
        }
    }
}
</pre>
<p>If I&#8217;m not mistaken, the recursive pattern for the subscript is &#8220;(other-loops)*max+counter&#8221;, starting from the innermost loop.  So three dimensions goes like this:</p>
<pre class="brush: plain;">
(other-loops)*3+k
((other-loops)*width+j)*3+k
(((other-loops)*height+i)*width+j)*3+k

no more loops, use &quot;0&quot;:

(((0)*height+i)*width+j)*3+k
((i)*width+j)*3+k
(i*width+j)*3+k
</pre>
<p>So, for a fourth loop &#8220;m&#8221; going from 0 to, say, 40, we would probably have:</p>
<pre class="brush: plain;">
((i*width+j)*3+k)*40+m
</pre>
<p>And so on, but who uses 4D arrays, anyways?</p>
<p><em>Disclaimers:<br />
&#8220;for (int i=0; &#8230;&#8221; syntax is, as far as I know, a C++ feature; in true C, you would have to declare &#8220;i&#8221; beforehand, then use it in the loop.<br />
When creating objects with malloc, be sure to <a href="http://www.elook.org/programming/c/free.html">free</a> the memory when you&#8217;re done with it; I refuse to be held responsible for memory leaks in your program.<br />
C library &#8220;stdlib.h&#8221; must be included to use these functions.<br />
Yes, you have to typecast malloc&#8217;s return value to whatever your data type is, unless your variable itself is a &#8220;void *&#8221;, but why would you need a pointer to nothing?<br />
For each level of the array in the first malloc example, you need as many &#8220;*&#8221; as you have levels left to create &#8212; three for the first level, two for the next, one for the last, etc.<br />
Strictly speaking, &#8220;sizeof(unsigned char)&#8221; translates to &#8220;1&#8243;, so it&#8217;s not necessary here; however, it is required to get the right size for other data types, in which case the hideous factor is no more reduced.<br />
I have not tested, nor plan on testing, the four-dimensional subscript example given above.  If it doesn&#8217;t work and you figure out how to make it work, feel free to post your solution <img src='http://techknack.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </em></p>
<img src="http://techknack.net/?ak_action=api_record_view&id=191&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/using-a-1d-array-like-a-2d-or-3d-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Second Look at &quot;Official&quot; XP SP3</title>
		<link>http://techknack.net/second-look-at-official-xp-sp3/</link>
		<comments>http://techknack.net/second-look-at-official-xp-sp3/#comments</comments>
		<pubDate>Tue, 27 May 2008 19:11:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/second-look-at-official-xp-sp3/</guid>
		<description><![CDATA[Last post I detailed how I installed Windows XP Home SP3 on my long-distended Windows installation, only to find a couple rather major issues.  Here&#8217;s the follow-up.
I successfully removed SP3 (after clearing yet more space &#8211; it needs 376MB just to uninstall!).  Upon the mandatory reboot, I first attempted to login to my [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://techknack.blogspot.com/2008/05/first-look-at-xp-sp3.html'>Last post</a> I detailed how I installed Windows XP Home SP3 on my long-distended Windows installation, only to find a couple rather major issues.  Here&#8217;s the follow-up.</p>
<p>I successfully removed SP3 (after clearing yet more space &#8211; it needs 376MB just to uninstall!).  Upon the mandatory reboot, I first attempted to login to my limited user account, only to find that it had the same problem initiating explorer.exe, so I assume that that problem was present before I installed SP3 in the first place.</p>
<p>I logged into my Root account (still SP2, mind you) and found that I could use my themes as I wished.  So far, so good.</p>
<p>I then went to the Microsoft Update website, planning to download the update through that.  As the &#8220;download&#8221; progressed, however, I decided it was going too slow and did some searching for alternative means of installation.  I found the <a href='http://www.microsoft.com/downloads/details.aspx?FamilyID=5b33b5a8-5e76-401f-be08-1e1555d4f3d4&#038;displaylang=en'>Network Installation</a>, roughly 316MB.  Click the download link, select &#8220;run&#8221;, and wait.  When the download was completed, I went through the steps of installing SP3 and rebooted.</p>
<p>At this point, I didn&#8217;t even worry about my virtually lost Limited User account; best to just copy it to a new account and get rid of it.  Logging back into my Root account, I was pleasantly greeted with the Silver Luna theme (I had switched to the default Luna theme and changed colors to silver before installing).  I located and downloaded a <a href='http://www.9down.com/WindowsXP-SP3-UxTheme-Patcher-v1-1-25587/'>UXTheme patch for SP3</a>, applied it, rebooted (again!!), logged in, and checked out my theming capabilities.  I was greeted with full theming glory.</p>
<p>So, one of the most common Windows Troubleshooting Tips fixed my issues: &#8220;If it&#8217;s messed up, reinstall.&#8221;</p>
<p>Now that that issue&#8217;s fixed &#8212; back to linux!!! <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://techknack.net/?ak_action=api_record_view&id=133&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/second-look-at-official-xp-sp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Look at &quot;Official&quot; XP SP3</title>
		<link>http://techknack.net/first-look-at-official-xp-sp3/</link>
		<comments>http://techknack.net/first-look-at-official-xp-sp3/#comments</comments>
		<pubDate>Mon, 26 May 2008 19:42:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/first-look-at-official-xp-sp3/</guid>
		<description><![CDATA[A couple days ago, I booted into my Windows XP Home installation (yes, blasphemy, I know) in order to pull some pictures off of a Sony Memory Stick, since Ubuntu doesn&#8217;t seem to recognize the card when I plug it into my card reader.  In the course of performing the Windows Updates that I [...]]]></description>
			<content:encoded><![CDATA[<p>A couple days ago, I booted into my Windows XP Home installation (yes, blasphemy, I know) in order to pull some pictures off of a Sony Memory Stick, since Ubuntu doesn&#8217;t seem to recognize the card when I plug it into my card reader.  In the course of performing the Windows Updates that I had long been delinquent on, the MS Update site offered to let me download and install Windows XP SP3.  I had some free time so, heck, why not?</p>
<p>Since my switch to nearly-all-linux, I had shrunk my Windows partition down to the minimum to hold all the programs I had installed, the OS itself, and about 1 GB of free space.  Seems my 1 GB had been reduced in my sparse Windows use; the SP3 download required roughly 370MB, and the installation another 370MB, and I had to find just a tad more free space. <img src='http://techknack.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>After the install (and the ever-needed reboot), there were a couple <b>major</b> problems with my computer.  Most major was the complete destruction of my theme capabilities.  I&#8217;m quite fond of the infamous UXTheme hack; however, after applying the hack for SP3 (and probably before, but I&#8217;ll have to check), I could not use <i>any</i> UI themes, not even the default Luna theme.  I kept getting an error that the theme couldn&#8217;t load because the file couldn&#8217;t load&#8230;<br />
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_6C7jhrvrP14/SDsgscLsFRI/AAAAAAAAAKA/ztbP7RnTg7A/s1600-h/viserr.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_6C7jhrvrP14/SDsgscLsFRI/AAAAAAAAAKA/ztbP7RnTg7A/s320/viserr.png" border="0" alt="The visual styles could not be loaded because the file failed to load.  Details:" id="BLOGGER_PHOTO_ID_5204789742208292114" /></a></p>
<p>As tragic as it is that I could not use any window themes, at least I can still use the computer.  Well, my Root account, anyway; my limited user account threw an error when I logged in saying that explorer.exe couldn&#8217;t initialize properly.  Clicking the OK button continued the login process, only to login to a completely empty desktop.  Explorer failed to load, which in turn kept the desktop, taskbar, etc from loading.  I was able to pull up the Task Manager, but attempting to start Explorer.exe from the new task option threw the same error.<br />
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_6C7jhrvrP14/SDsiCcLsFSI/AAAAAAAAAKI/uvCJQpwPoiw/s1600-h/badlogin.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_6C7jhrvrP14/SDsiCcLsFSI/AAAAAAAAAKI/uvCJQpwPoiw/s320/badlogin.png" border="0" alt="The aplication failed to initialize properly (0xc0000022). Click on OK to terminate the application." id="BLOGGER_PHOTO_ID_5204791219677041954" /></a>I was able to &#8220;work around&#8221; this major issue by creating a new limited user account (which logged in perfectly fine), but I ended up running out of space while attempting to copy the Docs &#038; Settings directory from the old account to the new account.</p>
<p>Turns out SP3 is placed in the Add/Remove programs list.  I&#8217;m going to uninstall SP3, check if any of these problems reoccur under SP2, then try re-installing SP3 and see if it works any better.  Maybe I messed something up during the install.  Or maybe SP3 isn&#8217;t ready for the masses yet.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=132&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/first-look-at-official-xp-sp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy Linux-to-Windows File Sharing</title>
		<link>http://techknack.net/easy-linux-to-windows-file-sharing/</link>
		<comments>http://techknack.net/easy-linux-to-windows-file-sharing/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 01:01:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/easy-linux-to-windows-file-sharing/</guid>
		<description><![CDATA[ Samba has long been the defacto standard for accessing Windows file shares from Linux.  However, there is also a Samba daemon (background service) that, if configured correctly, plays the reverse role &#8212; sharing Linux directories to Windows machines.  Unfortunately, proper setup requires you to edit the /etc/samba/smb.conf file, which, like most configuration [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_6C7jhrvrP14/SAaVujGOMCI/AAAAAAAAAG4/3LueDFd93vE/s1600-h/screenshot2.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_6C7jhrvrP14/SAaVujGOMCI/AAAAAAAAAG4/3LueDFd93vE/s320/screenshot2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5190000247518933026" /></a> <a href='http://samba.org'>Samba</a> has long been the defacto standard for accessing Windows file shares from Linux.  However, there is also a Samba daemon (background service) that, if configured correctly, plays the reverse role &#8212; sharing Linux directories to Windows machines.  Unfortunately, proper setup requires you to edit the /etc/samba/smb.conf file, which, like most configuration files, can be rather cryptic.</p>
<p>Enter the <acronym title='Graphical user Interface'>GUI</acronym> solution: system-config-samba.  That&#8217;s the package name in the Ubuntu universe repositories, I don&#8217;t think the program itself has a proper name other than &#8220;Samba&#8221; (also check out the <a href='http://fedoraproject.org/wiki/SystemConfig/samba'>Fedora project wiki</a> for the app).  It&#8217;s a sparse little app that gives you GUI access to the settings of the smb.conf file.  Once you get the behind-the-scenes details set, though, adding shared directories is a snap.</p>
<p>First make sure you have samba installed (package &#8220;samba&#8221; in Ubuntu repos).  Next, install the samba config package &#8211; &#8220;sudo aptitude install system-config-samba&#8221;.  The installation should put an entry called &#8220;Samba&#8221; in your Ubuntu menu (for me, using Kubuntu, it&#8217;s under &#8220;Settings&#8221;).  If you can&#8217;t find it there, you can start it from a command line by running &#8220;system-config-samba &#038;&#8221;.  Before the program starts, it will ask for your administrative password (same as your sudo password, unless you&#8217;ve changed something around).</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_6C7jhrvrP14/SAaUozGOMAI/AAAAAAAAAGo/UCs2feKCiIY/s1600-h/smb_main.png"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_6C7jhrvrP14/SAaUozGOMAI/AAAAAAAAAGo/UCs2feKCiIY/s320/smb_main.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5189999049223057410" /></a> Once at the main window, You can begin to appreciate how simple SCS makes configuration, using three main buttons that are very self-explanatory, along with a simple list of currently shared directories.</p>
<p>Before you start sharing, you&#8217;ll want to setup the basic, general details.  Open Preferences -&gt; Server Settings.  In the Basic tab, set your Workgroup (the default for Windows machines is usually &#8220;MSHOME&#8221; &#8212; make sure all your computers use the same workgroup name, to avoid issues) and the computer description.  In the Security tab, you set the sharing settings.  For my home network, which sits behind a router, I use the &#8220;Share&#8221; authentication mode and set the guest account to my account, to allow open access to my shared directories.<br />
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_6C7jhrvrP14/SAaVDTGOMBI/AAAAAAAAAGw/he1628fTsKc/s1600-h/smb_prefs1.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_6C7jhrvrP14/SAaVDTGOMBI/AAAAAAAAAGw/he1628fTsKc/s320/smb_prefs1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5189999504489590802" /></a><br />
Once that&#8217;s done, click OK.  The program may seem to hang for a second or two &#8211; this is just the program restarting the Samba daemon for you, and happens everytime you change the settings for Samba or for a share.  Next, setup a new share.<br />
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_6C7jhrvrP14/SAaZyTGOMDI/AAAAAAAAAHA/0dutORiSS3I/s1600-h/smb_share1.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_6C7jhrvrP14/SAaZyTGOMDI/AAAAAAAAAHA/0dutORiSS3I/s320/smb_share1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5190004709989953586" /></a><br />
I have a separate partition that contains all my music ripped from CDs.  Within Kubuntu, I mount this partition as read-only, and remount it as read-write only when I need to modify the files (for example, add new rips or coverart).  Here I&#8217;m sharing it to &#8220;everyone&#8221;, read-only, under the name &#8220;music&#8221;.  Check out <a href='http://www.cyberciti.biz/tips/how-do-i-set-permissions-to-samba-shares.html'>nixCraft</a> for a quick rundown on Samba permissions.</p>
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_6C7jhrvrP14/SAagyDGOMEI/AAAAAAAAAHI/euT7QLSLuxE/s1600-h/smb_main2.png"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_6C7jhrvrP14/SAagyDGOMEI/AAAAAAAAAHI/euT7QLSLuxE/s320/smb_main2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5190012402276380738" /></a> If everything is right, you should now be able to access the Samba share from a Windows machine on the same network.  I haven&#8217;t tried this method for accessing the share from a Mac, but presumably you can use the same methods you would use for accessing a Windows share.</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=119&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/easy-linux-to-windows-file-sharing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IE8: In Like A Lion, Out Like A Lamb</title>
		<link>http://techknack.net/ie8-in-like-a-lion-out-like-a-lamb/</link>
		<comments>http://techknack.net/ie8-in-like-a-lion-out-like-a-lamb/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 08:15:00 +0000</pubDate>
		<dc:creator>eternicode</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techknack.net/ie8-in-like-a-lion-out-like-a-lamb/</guid>
		<description><![CDATA[Here it is, the end of March, and I just couldn&#8217;t help but notice how little has been said about IE8 lately.  When the first beta was publicly released amidst the MIX08 madness, you could almost feel the blogosphere shuddering with the news.  The tremors were discernible for what&#8230;a week?  Maybe two? [...]]]></description>
			<content:encoded><![CDATA[<p>Here it is, the end of March, and I just couldn&#8217;t help but notice how little has been said about IE8 lately.  When <a href='http://www.sarahintampa.com/sarah/2008/03/05/breaking-news-ie8-beta-is-now-available.html'>the first beta was publicly released amidst the MIX08 madness</a>, you could almost feel the blogosphere shuddering with the news.  The tremors were discernible for what&#8230;a week?  Maybe two?  Then all became silent once more.  Is it just that it&#8217;s Microsoft, and everyone&#8217;s tired themselves out with the extra efforts put toward <a href='http://www.windowhaxor.net/2008/03/06/why-internet-explorer-8-still-sucks-balls/'>M$-bashing</a> that week?  Or is it because everyone and their mother (and their dog, to top all) reviewed the thing like no tomorrow, and our eyes have grown weary of the <a href='http://upload.wikimedia.org/wikipedia/en/1/10/Internet_Explorer_7_Logo.png'>Blue E</a>? (if your eyes are, indeed, weary of the Blue E, don&#8217;t click that link)</p>
<p>Whatever the reason, I just thought I&#8217;d note that the <a href='http://blogs.usatoday.com/weather/2006/02/origin_of_in_li.html'>famous March proverb</a> seemed to apply to IE8, with about the same timing.  Perhaps we&#8217;ll hear more about it (both bashing and praise) when it goes stable?</p>
<img src="http://techknack.net/?ak_action=api_record_view&id=113&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://techknack.net/ie8-in-like-a-lion-out-like-a-lamb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
