<?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:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CEAFR30-cSp7ImA9WhRUFUQ.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749</id><updated>2012-01-26T15:45:16.359Z</updated><category term="apache" /><category term="linux" /><category term="facebook" /><category term="debug" /><category term="MacBook" /><category term="tech" /><category term=".updatables" /><category term="net" /><category term="dimmer" /><category term="bug" /><category term="vmware" /><category term="winmobile" /><category term="win" /><category term="ssh" /><category term="skype" /><category term="robots" /><category term="lion" /><category term="osx" /><category term="X" /><category term="sd84" /><category term="firefox" /><category term="manuals" /><category term="iphone" /><category term="python" /><category term="Live" /><category term="crap" /><category term="tc" /><category term="kernel" /><category term="japan" /><category term="dev" /><category term="tv" /><category term="oyster" /><category term="ubuntu" /><category term="snow" /><category term="karmic" /><category term="gmail" /><category term="xen" /><category term="ipv6" /><category term="vista" /><category term="***" /><category term="google" /><category term="wx" /><title>Time sinker</title><subtitle type="html">I've sunk the time so you don't have to ;)</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://timesinker.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>117</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/XRyZ" /><feedburner:info uri="blogspot/xryz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkUHRnk_eSp7ImA9WhRVF0Q.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-266493954645075899</id><published>2012-01-17T09:56:00.000Z</published><updated>2012-01-17T09:57:17.741Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-17T09:57:17.741Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><category scheme="http://www.blogger.com/atom/ns#" term="net" /><title>OSX application firewall not working: FIXED</title><content type="html">&lt;div class="post-text"&gt;
Recently I encountered problem with the OSX 
Application Firewall getting confused on Lion (and maybe even on Snow Leopard) - it basically blocks services (e.g. ssh) even when they appear to be set up with 'allow incoming connections' in the Advanced... section of the Firewall, under Security and Privacy, in System Preferences.&lt;br /&gt;
&lt;br /&gt;
I managed to reset mine by doing the following (with the firewall off):&lt;br /&gt;
&lt;pre&gt;sudo rm /Library/Preferences/com.apple.alf.plist&lt;/pre&gt;
Then reboot.&lt;br /&gt;
&lt;br /&gt;
When the machine has rebooted in the Firewall advanced 
settings you should only see the system services that were already enabled (e.g. 
SSH). Any other entries will have 
gone, but when you start network based applications that need to accept incoming connections through the 
OSX firewall - you will be asked if you want to permit the application or not again.&lt;/div&gt;
&lt;br /&gt;
If for some reason the Advanced firewall settings have not changed then ensure the firewall was off when you removed the file and also you could try killing the process named 'writeconfig' (which actually opens that config file) - however you should reboot soon as there may be unexpected consequences.&lt;br /&gt;
&lt;br /&gt;
For more info Apple's Application Firewall see &lt;a href="http://krypted.com/mac-os-x/command-line-alf-redux/"&gt;here&lt;/a&gt;. Also note that Apple's application firewall is different to the old BSD/Dummynet &lt;b&gt;ipfw&lt;/b&gt; firewall - which maybe controlled via the ipfw command (see the man page - e.g. man ipfw). ipfw provides lower level firewalling and can provide for more general network restrictions and control.&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-266493954645075899?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d8xfQN9u2bp5NDO324CSsmTN0Nk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d8xfQN9u2bp5NDO324CSsmTN0Nk/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/d8xfQN9u2bp5NDO324CSsmTN0Nk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d8xfQN9u2bp5NDO324CSsmTN0Nk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/I4is_Iva5MU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/266493954645075899/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=266493954645075899" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/266493954645075899?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/266493954645075899?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/I4is_Iva5MU/osx-application-firewall-not-working.html" title="OSX application firewall not working: FIXED" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2012/01/osx-application-firewall-not-working.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIHQ38zeSp7ImA9WhRRF0g.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-47592380047597065</id><published>2011-12-01T12:50:00.000Z</published><updated>2011-12-01T15:32:12.181Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-01T15:32:12.181Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="debug" /><category scheme="http://www.blogger.com/atom/ns#" term="net" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Linux traffic Control (tc)</title><content type="html">The world of Linux's Traffic control is mysterious thing - you end up spending hours Googling or days reading source code.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;TC Filters&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Creating&lt;/b&gt;: Here's some good info on the u32 filter (&lt;a href="http://www.nuclearcat.com/mediawiki/index.php/U32_tips_tricks"&gt;here&lt;/a&gt; and &lt;a href="http://b42.cz/notes/u32_classifier/"&gt;here&lt;/a&gt;). Some &lt;a href="http://mailman.ds9a.nl/pipermail/lartc/2004q4/014500.html"&gt;more&lt;/a&gt; with a quick overview from LARTC mail list (the source of most useful info on tc etc). Someone put together a tc &lt;a href="http://tcn.hypert.net/tcmanual.pdf"&gt;manual&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Listing&lt;/b&gt;: $ sudo tc filter show dev eth0 root&lt;br /&gt;
&lt;br /&gt;
filter parent ffff: protocol ip &lt;i&gt;pref 49152 u32&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Deleting&lt;/b&gt;: $ sudo tc filter del dev eth0 parent&amp;nbsp;ffff: protocol ip &lt;i&gt;pref 49152 u32&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-47592380047597065?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ruw3hLmvuIXUwETw0GBwiErAslQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ruw3hLmvuIXUwETw0GBwiErAslQ/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/ruw3hLmvuIXUwETw0GBwiErAslQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ruw3hLmvuIXUwETw0GBwiErAslQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/P4M9-QkYf-s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/47592380047597065/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=47592380047597065" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/47592380047597065?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/47592380047597065?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/P4M9-QkYf-s/linux-traffic-control-tc.html" title="Linux traffic Control (tc)" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/08/linux-traffic-control-tc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcMSHc9fCp7ImA9WhdUGUw.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-3035423163007068547</id><published>2011-09-14T15:18:00.002+01:00</published><updated>2011-10-06T15:08:09.964+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-06T15:08:09.964+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".updatables" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><category scheme="http://www.blogger.com/atom/ns#" term="lion" /><title>OSX Lion #fails (plus some good stuff)</title><content type="html">So I thought OSX Lion sounded interesting and I went and upgraded... Only to find out there's a bunch of stuff removed and changed for worse - not made that clear in the reviews/press. Also the claimed 'new' features are few. So here's a list of a few gripes I have with it so far:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;No colour icons in the Sidebar - Not a big deal but it just makes it less use-able&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://osxdaily.com/2011/08/25/get-color-sidebar-icons-back-in-mac-os-x-10-7-lion-finder-windows/"&gt;Here&lt;/a&gt;'s a way to fix it!&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Quick look video preview slow - It's performance is now so bad that my fan kicks in when viewing (it seems to use WAY more CPU than the Quicktime app)&lt;/li&gt;
&lt;li&gt;'Full Screen' is no different from Apple-F in the previous OSX versions as far as I can see (though some additional apps have it now like Terminal).&lt;/li&gt;
&lt;li&gt;Never seen the need for the iphone-esk 'LauncherPad' - a bit of a waste of time.&lt;/li&gt;
&lt;li&gt;Frontrow removed - It was handy for viewing a bunch of movies&lt;/li&gt;
&lt;li&gt;'Leather' look for iCal and Address Book - That is seriously Cheesy style?! (Fortunately it can be tweaked away...but with hackery)&lt;/li&gt;
&lt;/ul&gt;
On the plus side there are some benefits but so far not many:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Resize handles on every side of a window (not the just the bottom right)&lt;/li&gt;
&lt;li&gt;Slightly more helpful searching in folders - it prompts you with 'filename'&lt;/li&gt;
&lt;li&gt;Terminal finally has full screen (but I gave up on it years ago for &lt;a href="http://www.iterm2.com/"&gt;iTerm2,&lt;/a&gt; as Apple's Terminal still doesn't work with vim and others properly)&lt;/li&gt;
&lt;li&gt;Air Drop anyone? (not managed to try it yet.... but it sounds nice: Wifi file transfer) &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-3035423163007068547?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FnV7ZuVJVZZbR_TSgF9Nw-b98cQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FnV7ZuVJVZZbR_TSgF9Nw-b98cQ/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/FnV7ZuVJVZZbR_TSgF9Nw-b98cQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FnV7ZuVJVZZbR_TSgF9Nw-b98cQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/lnfqC289BL0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/3035423163007068547/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=3035423163007068547" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3035423163007068547?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3035423163007068547?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/lnfqC289BL0/osx-lion-fails-pluss-some-good-stuff.html" title="OSX Lion #fails (plus some good stuff)" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/09/osx-lion-fails-pluss-some-good-stuff.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQHSX4zfyp7ImA9WhdVEEQ.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-8974360618339826193</id><published>2011-08-19T17:08:00.002+01:00</published><updated>2011-09-15T14:28:58.087+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-15T14:28:58.087+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="iphone" /><title>iPhone3G SSL bug fix</title><content type="html">If you've got an old iPhone 3G and you've heard about the &lt;a href="http://www.google.co.uk/cse?cx=partner-pub-2193703254861315%3A6596289865&amp;amp;ie=UTF-8&amp;amp;q=CVE-2011-0228+&amp;amp;sa=Search"&gt;SSL bug&lt;/a&gt; which Apple don't seem interested in fixing for older iPhones then here's a fix - though you've gotta be running a jail broken iPhone. This bug is a bit nasty as it means that you could potentially be trying to connect to your bank (or somewhere that's usually secured by SSL/TLS) but instead you can be unknowingly diverted to a dodgy site. This can occur due to the fact that the iPhone's SSL stack doesn't check any site's SSL certificate properly - and the certificate is normally the thing that tells you you're connected to who you think you are.&lt;br /&gt;
&lt;br /&gt;
Apple have recently released a fix for newer iPhones/iPads in iOS 4.3.5, but if you've got an old iPhone3G then the latest version of iOS it can run is 4.2.1 so you're a bit stuck. So since Apple isn't bothering to provide any more updates you might as well bite the bullet and jail break your phone - then at least you can add some more features and updates. I found redsn0w 0.9.6rc18 to do the job quite well after many failed attempts with greenpois0n.&lt;br /&gt;
&lt;br /&gt;
Once you have jailbroken your phone you need to run Cydia and search for iSSLfix and install it (as also explained &lt;a href="http://www.iphonehacks.com/2011/08/isslfix-jailbreak-tweak-fixes-ssl-vulnerability-for-jailbroken-iphone-ipad-ipod-touch-on-ios-4-3-3.html"&gt;here&lt;/a&gt;) - then you're covered.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-8974360618339826193?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5tPgjyj7Lq0MHNGwgB6Xirlk5Xg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5tPgjyj7Lq0MHNGwgB6Xirlk5Xg/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/5tPgjyj7Lq0MHNGwgB6Xirlk5Xg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5tPgjyj7Lq0MHNGwgB6Xirlk5Xg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/qNHrU8TLja4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/8974360618339826193/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=8974360618339826193" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8974360618339826193?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8974360618339826193?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/qNHrU8TLja4/iphone3g-ssl-bug-fix.html" title="iPhone3G SSL bug fix" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/08/iphone3g-ssl-bug-fix.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EMQn84eyp7ImA9WhdVEE0.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-4347539042302545538</id><published>2011-08-16T11:21:00.004+01:00</published><updated>2011-09-14T15:14:43.133+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-14T15:14:43.133+01:00</app:edited><title>Converting video for DVD players</title><content type="html">Most of today's DVD players will not only playback normal MPEG2 DVD video discs (i.e. normal DVDs) but also other video formats that allow for much more video to be packed onto a writable DVD disc like DIVX and XVID. They are actually very similar formats and are basically ISO MPEG4 video (which is closely related to ITU-T's H.264 video standard). There are loads of dodgy commercial tools out there for conversion but you can do it easily using the very powerful &lt;a href="http://www.ffmpeg.org/"&gt;ffmpeg&lt;/a&gt; tool (it runs on MacOSX, Windows, Linux and others). So to convert something (e.g. an MP4 video named &lt;i&gt;video.mp4&lt;/i&gt;) to XVID use:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;ffmpeg -i video.mp4 -vcodec libxvid -b 800k vid-xvid.avi&lt;/pre&gt;
&lt;br /&gt;
This says compress it using the libxvid codec and set the bandwidth to 800kbits/sec - which looks ok whilst still compressing well - feel free to play with this though don't too high (e.g above 5Mb/s) as DVD players can have trouble playing it back. The name of the output file is vid-xvid.avi. I have found this format to be slightly better supported, although it slower to convert than the DIVX.&lt;br /&gt;
&lt;br /&gt;
If you want to compress to DIVX use the following:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;ffmpeg -i video.mp4 -vcodec mpeg4 -vtag divx -b 800k vid-divx.avi&lt;/pre&gt;
&lt;br /&gt;
This says use the mpeg4 codec to compress and mark the output video with the DIVX fourcc tag which will let the DVD player know it is DIXV video.&lt;br /&gt;
&lt;br /&gt;
The the file can be burned to a DVD using your favourite DVD burner app - usually using the operating systems default one. To make it easier on the DVD player use names with 8(.3) characters that are then followed by the .avi suffix.&lt;br /&gt;
&lt;br /&gt;
[14sept11: Corrected some minor errors] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-4347539042302545538?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Mei--gfE7VL_BvLl5Z3WKII55Lk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mei--gfE7VL_BvLl5Z3WKII55Lk/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/Mei--gfE7VL_BvLl5Z3WKII55Lk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Mei--gfE7VL_BvLl5Z3WKII55Lk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/mSXwuHqNYak" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/4347539042302545538/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=4347539042302545538" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/4347539042302545538?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/4347539042302545538?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/mSXwuHqNYak/converting-video-for-dvd-player.html" title="Converting video for DVD players" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/08/converting-video-for-dvd-player.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QAQ3o4fSp7ImA9WhdQE0w.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-3379803701836329166</id><published>2011-08-12T10:27:00.001+01:00</published><updated>2011-08-14T11:55:42.435+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-14T11:55:42.435+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ipv6" /><title>Post mortem: IPv6 Day</title><content type="html">The day seemed to go pretty smoothly in general. Whilst a lot of the main contenders switched IPv6 off again, it was said that 2/3 actually maintained IPv6 functionality after the day (see IETF talk below). Well when I say they switched it off - The visible aspect was to remove their IPv6 addresses (their AAAA records) for their main sites from the Internet's Domain Name Service (DNS) again. However a lot of work went on under the hood: Lots of web helper stuff to notify people if there was a problem, Various mods to custom code, and various dual stack proxies and some tunnels to provide IPv6. The main players do have IPv6 versions of their sites accessible both before and after the day - only they're either on a separate domain name (e.g. &lt;a href="http://ipv6.google.com/"&gt;ipv6.google.com&lt;/a&gt;). A number of these folks put up their own post mortem analysis pages (yes some of them did use some 1337 Hack0r IPv6 names;) : &lt;a href="http://www.facebook.com/note.php?note_id=10150198443513920"&gt;FACE::B00C&lt;/a&gt;, &lt;a href="http://googleblog.blogspot.com/2011/06/world-ipv6-day-begins-24-hours-from-now.html"&gt;Google&lt;/a&gt;, &lt;a href="http://blogs.cisco.com/news/cisco-com-users-on-world-ipv6-day-5-to-10-times-more-likely-to-use-ipv6-than-visitors-to-other-websites/"&gt;C:15C0:D06:F00D&lt;/a&gt;, &lt;a href="http://isoc.org/wp/newsletter/?p=3861"&gt;ISOC&lt;/a&gt;.Though probably the most in-depth analysis was provided in a &lt;a href="http://www.ietf.org/proceedings/81/slides/plenaryt-9.pdf"&gt;presentation&lt;/a&gt;&amp;nbsp;(by a combination of key players)&amp;nbsp;at the IETF81 in July at Quebec,&amp;nbsp;with good coverage from&amp;nbsp;&lt;a href="http://arstechnica.com/tech-policy/news/2011/08/world-ipv6-day-leads-to-browsers-resistant-to-ipv6-brokenness.ars"&gt;Arstechnica&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
It seems that there are browser tricks to speed up IPv6 failover and now even OS level approaches to provide for it - notably OSX Lion has introduced some new black magic for IPv6 path selection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-3379803701836329166?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RmWSo6kBThPwb-Ug2IziPOKUOVw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RmWSo6kBThPwb-Ug2IziPOKUOVw/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/RmWSo6kBThPwb-Ug2IziPOKUOVw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RmWSo6kBThPwb-Ug2IziPOKUOVw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/AJYj9QT9C7Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/3379803701836329166/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=3379803701836329166" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3379803701836329166?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3379803701836329166?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/AJYj9QT9C7Y/post-mortem-ipv6-day.html" title="Post mortem: IPv6 Day" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/08/post-mortem-ipv6-day.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYCQHo_cSp7ImA9WhZVE0s.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-2767875177522282760</id><published>2011-05-25T23:38:00.001+01:00</published><updated>2011-05-25T23:39:21.449+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T23:39:21.449+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ipv6" /><title>World IPv6 Day....</title><content type="html">Well maybe you've heard about IPv6, though you're less likely to have heard about &lt;a href="http://isoc.org/wp/worldipv6day/"&gt;World IPv6 Day&lt;/a&gt; (8 June 2011 not far now...) - A ruse from the guys at ISOC to get people talking about it. Well it is also that some of the world's biggest content providers (Google, Yahoo, Facebook, Akamai and others) will enable IPv6 on their main services that day - should be fun... (They mostly have IPv6 enabled offering already but you need to use special addresses ipv6.google.com).&amp;nbsp; On that day they will enable the lookup of the IPv6 addresses for their main addresses e.g. www.google.com will provide an IPv6 address (an AAAA record) from the normal DNS. Currently the only way to obtain IPv6 addresses for Google's main services is to use a whitelisted DNS server - such as those provided by he.net.&lt;br /&gt;
&lt;br /&gt;
And talk about it people should! Given we &lt;a href="http://www.bbc.co.uk/go/rss/int/news/-/news/technology-12306573"&gt;really are&lt;/a&gt; (even the BBC are talking about it) about to run out of &lt;a href="http://www.potaroo.net/tools/ipv4/"&gt;[old] IP [v4] addresses&lt;/a&gt; - (see my new gadget to the right) - the last bunch of IPv4 addresses were &lt;a href="http://www.nro.net/news/ipv4-free-pool-depleted"&gt;ceremoniously handed&lt;/a&gt; out and then everyone will be scurrying around trying to buy or sell addresses for while until they realise that IPv6 is the way forward.&lt;br /&gt;
&lt;br /&gt;
Of course I've been &lt;a href="http://timesinker.blogspot.com/search/label/ipv6"&gt;IPv6&lt;/a&gt; connected for ages....yeah yeah um - well it mostly just works, though since it's often via a tunnel it's not always the fastest option available... But all you Windows 7 users are already automatically connected to IPv6 via &lt;a href="http://en.wikipedia.org/wiki/Teredo_tunneling"&gt;Teredo&lt;/a&gt; (which is available for other OSes - a free version is &lt;a href="http://www.remlab.net/miredo/"&gt;miredo&lt;/a&gt;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-2767875177522282760?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/D9ZHbUHtNCHFnNeXIPU5o9upE1c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D9ZHbUHtNCHFnNeXIPU5o9upE1c/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/D9ZHbUHtNCHFnNeXIPU5o9upE1c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D9ZHbUHtNCHFnNeXIPU5o9upE1c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/eycsFAjRNzA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/2767875177522282760/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=2767875177522282760" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/2767875177522282760?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/2767875177522282760?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/eycsFAjRNzA/world-ipv6-day.html" title="World IPv6 Day...." /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/01/world-ipv6-day.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQFQHY5fCp7ImA9WhZQE0Q.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-5394742821998498278</id><published>2011-04-21T14:35:00.001+01:00</published><updated>2011-04-21T14:41:51.824+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-21T14:41:51.824+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="win" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>Sorting out clock wierdness on dual boot Windows and OSX/Linux</title><content type="html">I just installed Windows 7 on my MacBook and Windows STILL stores the local time in the hardware clock (as opposed to UTC) so when you reboot between the two OSes the time changes - dang! It turns out that there's a secret registry key that gets Windows to behave 'normally' in this respect. You just need to add a new DWORD key, called&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;RealTimeIsUniversal &lt;/span&gt;(which should be set to 1), at the following place in the registry (and then reboot to make it take effect):&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, Monaco, 'Lucida Console', monospace; font-size: xx-small; line-height: 21px; white-space: pre;"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, Monaco, 'Lucida Console', monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 21px; white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Here's all&lt;a href="http://www.cl.cam.ac.uk/~mgk25/mswish/ut-rtc.html"&gt; the details&lt;/a&gt; from a man who knows....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-5394742821998498278?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VfRBp0yR3X_2xp2xkfUiew_4y6Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VfRBp0yR3X_2xp2xkfUiew_4y6Q/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/VfRBp0yR3X_2xp2xkfUiew_4y6Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VfRBp0yR3X_2xp2xkfUiew_4y6Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/fCUB1_S5mR0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/5394742821998498278/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=5394742821998498278" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/5394742821998498278?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/5394742821998498278?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/fCUB1_S5mR0/sorting-out-clock-wierdness-on-dual.html" title="Sorting out clock wierdness on dual boot Windows and OSX/Linux" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/04/sorting-out-clock-wierdness-on-dual.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cEQH08cSp7ImA9WhZREE0.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-1868204853423949697</id><published>2011-03-31T13:20:00.002+01:00</published><updated>2011-04-05T11:56:41.379+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-05T11:56:41.379+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gmail" /><category scheme="http://www.blogger.com/atom/ns#" term="google" /><title>Google Chrome: SPDY (Speedy)</title><content type="html">So Google have now included their 'go faster' SPDY (Speedy) web page delivery protocol - which is not only in Chrome but also running on various Google services including gmail.&lt;br /&gt;
&lt;br /&gt;
Google's &lt;a href="http://www.ietf.org/proceedings/80/slides/tsvarea-0.pdf"&gt;performance&lt;/a&gt; figures on SPDY look good - and I think their figures are impressive. So if you want speeded up Google services then run Chrome!&lt;br /&gt;
&lt;br /&gt;
There's all the dirt on SPDY &lt;a href="http://www.chromium.org/spdy"&gt;here&lt;/a&gt; and of course they have a 'magic' URI/URL you can tap into your Chrome browser to see the internal stats:&lt;br /&gt;
about:net-internals&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-1868204853423949697?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v0-0bBKT_IdMgU2eO2LxscEI7K4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v0-0bBKT_IdMgU2eO2LxscEI7K4/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/v0-0bBKT_IdMgU2eO2LxscEI7K4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v0-0bBKT_IdMgU2eO2LxscEI7K4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/aVPieN4mB1M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/1868204853423949697/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=1868204853423949697" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/1868204853423949697?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/1868204853423949697?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/aVPieN4mB1M/google-chrome-speedy-spdy.html" title="Google Chrome: SPDY (Speedy)" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/03/google-chrome-speedy-spdy.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUNSH89fCp7ImA9WhZTF0k.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-5220311407489951816</id><published>2011-03-21T20:43:00.001Z</published><updated>2011-03-21T20:44:59.164Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T20:44:59.164Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="japan" /><title>So how radioactive is it in Tokyo?</title><content type="html">Maybe you're wondering what the actual figures are - well you can watch them (uSv/hr) change (FYI I looked at it a week ago and it was 0.14uSv/hr - it is now 0.24uSv/hr) live on this live feed of a &lt;a href="http://www.ustream.tv/channel/geiger-counter-chiba"&gt;Geiger counter&lt;/a&gt; (a RADEX RD1503) located in Tokyo:&lt;br /&gt;
&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="296" id="utv679700" width="480"&gt;&lt;param name="flashvars" value="autoplay=false&amp;amp;brand=embed&amp;amp;cid=7544028&amp;amp;locale=ja_JP&amp;amp;v3=1"/&gt;&lt;param name="allowfullscreen" value="true"/&gt;&lt;param name="allowscriptaccess" value="always"/&gt;&lt;param name="movie" value="http://www.ustream.tv/flash/viewer.swf"/&gt;&lt;embed flashvars="autoplay=false&amp;amp;brand=embed&amp;amp;cid=7544028&amp;amp;locale=ja_JP&amp;amp;v3=1" width="480" height="296" allowfullscreen="true" allowscriptaccess="always" id="utv679700" name="utv_n_188277" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" /&gt;&lt;/object&gt;&lt;br /&gt;
&lt;a href="http://www.ustream.tv/live" style="background: #ffffff; color: black; display: block; font-size: 10px; font-weight: normal; padding: 2px 0px 4px; text-align: center; text-decoration: underline; width: 400px;" target="_blank"&gt;Live TV : Ustream&lt;/a&gt;&lt;br /&gt;
For the latest on the reactors check out daily updates from &lt;a href="http://www.jaif.or.jp/english/"&gt;Japan's Atomic Industrial Forum&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-5220311407489951816?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qFgfWU2rHYjC4zsq4Ky1m-6MM4c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qFgfWU2rHYjC4zsq4Ky1m-6MM4c/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/qFgfWU2rHYjC4zsq4Ky1m-6MM4c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qFgfWU2rHYjC4zsq4Ky1m-6MM4c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/e7Df6nckO-A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/5220311407489951816/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=5220311407489951816" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/5220311407489951816?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/5220311407489951816?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/e7Df6nckO-A/so-how-radioactive-is-it-in-tokyo.html" title="So how radioactive is it in Tokyo?" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/03/so-how-radioactive-is-it-in-tokyo.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IGR308fip7ImA9Wx9aFkw.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-7808252212585525059</id><published>2011-03-08T20:18:00.000Z</published><updated>2011-03-08T20:18:46.376Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-08T20:18:46.376Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>OSX environment variables</title><content type="html">Where are those pesky things kept - as usual Apple like to keep us guessing....Whilst the folks at &lt;a href="http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x"&gt;Stackoverflow&lt;/a&gt; provide answers:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;~/.profile, ~/.bashrc, (~/.cshrc, ~/.tcshrc)&lt;/b&gt; - depending on what shell you're running&lt;/li&gt;
&lt;li&gt;&lt;b&gt;~/.MacOSX/environment.plist&lt;/b&gt; - More for GUI stuff&lt;/li&gt;
&lt;li&gt;&lt;b&gt;/etc/launchd.conf&lt;/b&gt; - used globally by launchd (can be set per process using launchctl setenv)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;/etc/paths&lt;/b&gt; - just for setting the PATH&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-7808252212585525059?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oQmDT4N0LMS4osxz28O8efRkjA8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oQmDT4N0LMS4osxz28O8efRkjA8/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/oQmDT4N0LMS4osxz28O8efRkjA8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oQmDT4N0LMS4osxz28O8efRkjA8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/bbUGt9D6pdc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/7808252212585525059/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=7808252212585525059" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/7808252212585525059?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/7808252212585525059?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/bbUGt9D6pdc/osx-environment-variables.html" title="OSX environment variables" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/03/osx-environment-variables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YCR3w5eSp7ImA9Wx9bGUQ.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-6661425604036248644</id><published>2011-03-01T17:06:00.000Z</published><updated>2011-03-01T17:06:06.221Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-01T17:06:06.221Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="win" /><category scheme="http://www.blogger.com/atom/ns#" term="net" /><title>Windows networking: interfaces</title><content type="html">So have you ever wondered where Windows configures the some more obscure networking things like the length of its outgoing interface queue? (It's ok if you haven't ;) Anyway if you have then here's the dirt:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;The actual maximum size of the queue (cf Linux's txqueuelen) is set in the registry:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{...your&amp;nbsp; GUUID here....}\ForwardBufferMemory&lt;/span&gt; which &lt;a href="http://www.google.co.uk/custom?hl=en&amp;amp;safe=active&amp;amp;client=pub-2193703254861315&amp;amp;cof=FORID%3A13%3BAH%3Aleft%3BCX%3Agsearch%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Fcustom_search_logo_sm.gif%3BLH%3A30%3BLC%3A%230000ff%3BVLC%3A%23663399%3BDIV%3A%23336699%3B&amp;amp;adkw=AELymgX0ljMarnyyUU_sLwClnDHx1raa9xgL3akz_8GkZToO4O7rd8XI6RnUbzgrcethvcH6tSWIQlsjuhHh3t8AdAyfVYG8awgZBAZZ-aT6BNQLnI5OWHo&amp;amp;channel=8179756543&amp;amp;q=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F314053&amp;amp;btnG=Search&amp;amp;cx=partner-pub-2193703254861315%3A6596289865"&gt;defaults to 50 packets&lt;/a&gt; (ok for 100Mbit Ethernet but not so good for Gigabit speeds...)&lt;/li&gt;
&lt;li&gt;For the above config to work you need to enable router mode:&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;HKLM\SYSTEM\CurrentControlSet\Services\Parameters\IPEnableRouter=1&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;In principle you can monitor the length of the output queue interface using this &lt;a href="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ipv4interfacestatistics.outputqueuelength.aspx"&gt;API&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;There's a various places that offer advice on improving performance like, &lt;a href="http://support.microsoft.com/kb/293640"&gt;Microsoft&lt;/a&gt;, and &lt;a href="http://www.speedguide.net/faq_in_q.php?category=100&amp;amp;qid=223"&gt;speedguide&lt;/a&gt; (&lt;a href="http://www.speedguide.net/articles/windows-7-vista-2008-tweaks-2574"&gt;win7&lt;/a&gt;). Windows 7 even provides special networking/scheduling &lt;a href="http://www.google.co.uk/custom?hl=en&amp;amp;safe=active&amp;amp;client=pub-2193703254861315&amp;amp;cof=FORID%3A13%3BAH%3Aleft%3BCX%3Agsearch%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Fcustom_search_logo_sm.gif%3BLH%3A30%3BLC%3A%230000ff%3BVLC%3A%23663399%3BDIV%3A%23336699%3B&amp;amp;adkw=AELymgX0ljMarnyyUU_sLwClnDHx1raa9xgL3akz_8GkZToO4O7rd8XI6RnUbzgrcethvcH6tSWIQlsjuhHh3t8AdAyfVYG8awgZBAZZ-aT6BNQLnI5OWHo&amp;amp;channel=8179756543&amp;amp;q=%22Multimedia+Class+Scheduler+Service%22&amp;amp;btnG=Search&amp;amp;cx=partner-pub-2193703254861315%3A6596289865"&gt;support for multimedia&lt;/a&gt; apps.&lt;br /&gt;
&lt;br /&gt;
Handy command line based Windows network tools: ipconfig, &lt;a href="http://www.google.co.uk/custom?hl=en&amp;amp;safe=active&amp;amp;client=pub-2193703254861315&amp;amp;cof=FORID%3A13%3BAH%3Aleft%3BCX%3Agsearch%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Fcustom_search_logo_sm.gif%3BLH%3A30%3BLC%3A%230000ff%3BVLC%3A%23663399%3BDIV%3A%23336699%3B&amp;amp;adkw=AELymgX0ljMarnyyUU_sLwClnDHx1raa9xgL3akz_8GkZToO4O7rd8XI6RnUbzgrcethvcH6tSWIQlsjuhHh3t8AdAyfVYG8awgZBAZZ-aT6BNQLnI5OWHo&amp;amp;channel=8179756543&amp;amp;q=netsh&amp;amp;btnG=Search&amp;amp;cx=partner-pub-2193703254861315%3A6596289865"&gt;netsh&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-6661425604036248644?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TYnKLf0eV76F5JxV2_ZC-bUXVu8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TYnKLf0eV76F5JxV2_ZC-bUXVu8/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/TYnKLf0eV76F5JxV2_ZC-bUXVu8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TYnKLf0eV76F5JxV2_ZC-bUXVu8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/BgVXga7jhz0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/6661425604036248644/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=6661425604036248644" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6661425604036248644?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6661425604036248644?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/BgVXga7jhz0/windows-networking-interfaces.html" title="Windows networking: interfaces" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/03/windows-networking-interfaces.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUHSHg_eyp7ImA9WhZVE0s.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-3960183914594792859</id><published>2011-02-24T15:11:00.001Z</published><updated>2011-05-25T23:40:39.643+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T23:40:39.643+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="win" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>Hard disc full again?</title><content type="html">Yeah even if you've got GigaBytes of it you still seem to run out! Here's a few free tools that are good for visualising used space - using a nice visualisation technique known as &lt;a href="http://en.wikipedia.org/wiki/Treemapping"&gt;treemaps&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
Windows: &lt;a href="http://w3.win.tue.nl/nl/onderzoek/onderzoek_informatica/visualization/sequoiaview/"&gt;SequoiaView&lt;/a&gt;&lt;br /&gt;
Mac OSX: &lt;a href="http://www.derlien.com/"&gt;Disk Inventory X&lt;/a&gt;, &lt;a href="http://grandperspectiv.sourceforge.net/"&gt;GrandPerspective&lt;/a&gt;. (Baobab is available thru darwinpaorts)&lt;br /&gt;
Linux: &lt;a href="http://www.marzocca.net/linux/baobab/"&gt;Disk Usage Analyzer (aka Baobab)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There's also plenty of others &lt;a href="http://alternativeto.net/software/baobab/"&gt;out there &lt;/a&gt;but I've not tried 'em.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-3960183914594792859?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zuvcIT8AOTqPCU3sOuskn28zVLg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zuvcIT8AOTqPCU3sOuskn28zVLg/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/zuvcIT8AOTqPCU3sOuskn28zVLg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zuvcIT8AOTqPCU3sOuskn28zVLg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/hokqJgohQrA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/3960183914594792859/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=3960183914594792859" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3960183914594792859?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3960183914594792859?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/hokqJgohQrA/hard-disc-full-again.html" title="Hard disc full again?" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/02/hard-disc-full-again.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUACRnw9cSp7ImA9Wx9bFUk.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-8703262910881818121</id><published>2011-02-20T00:07:00.004Z</published><updated>2011-02-24T11:42:47.269Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-24T11:42:47.269Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="debug" /><category scheme="http://www.blogger.com/atom/ns#" term="net" /><title>Using the Linux tbf qdisc for rate limiting on local or loopback interfaces</title><content type="html">If you have ever played with the Linux tbf (Token Bucket Filter) on either some local interfaces, or on the loopback interface (lo) then you may have run into problems - like the attained rate is only a few hundred kilobits/s or less (zero)....?&lt;br /&gt;
&lt;pre&gt;tc qdisc add dev lo root tbf rate 10Mbit burst 10kb latency 5ms &lt;/pre&gt;&lt;br /&gt;
Basically if your interface has &lt;a href="http://en.wikipedia.org/wiki/Large_segment_offload"&gt;TSO/GSO&lt;/a&gt; enabled (check using ethtool -k ethX), or you're using the loopback interface - then you'll probably hit a problem. It turns out that the loopback interface has GSO/TSO enabled as default, plus since it is a software interface its default mtu is 16384 (as compared to 1500 for normal Ethernet interface). This matters as the tbf queue checks the size of the incoming 'packets' - which in the case of GSO/TSO are much larger than a normal on-the-wire packet - instead they're up to 9 x iface's mtu. So for normal interfaces it's about 12K, but for loopback it is about 100k!&lt;br /&gt;
&lt;br /&gt;
In which case you'll need to add the 'mtu' argument to the tc command and then it all works.&lt;br /&gt;
&lt;pre&gt;&lt;span style="font-size: x-small;"&gt;tc q a dev eth0 root tbf rate 10Mbit burst 10kb latency 5ms mtu 100000&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-8703262910881818121?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GpMZBTs7eCX3QTt44YBR4MriGGQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GpMZBTs7eCX3QTt44YBR4MriGGQ/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/GpMZBTs7eCX3QTt44YBR4MriGGQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GpMZBTs7eCX3QTt44YBR4MriGGQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/CIUF4nVcxpE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/8703262910881818121/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=8703262910881818121" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8703262910881818121?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8703262910881818121?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/CIUF4nVcxpE/using-linux-tbf-qdisc-for-rate-limiting.html" title="Using the Linux tbf qdisc for rate limiting on local or loopback interfaces" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/02/using-linux-tbf-qdisc-for-rate-limiting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQFQXkzeip7ImA9Wx9UFEk.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-7105740680689955112</id><published>2011-02-11T16:52:00.002Z</published><updated>2011-02-11T16:55:10.782Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-11T16:55:10.782Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="python" /><title>Python obfuscation</title><content type="html">Well there's plenty of &lt;a href="http://stackoverflow.com/questions/261638/how-do-i-protect-python-code"&gt;talk&lt;/a&gt; out there about &lt;a href="http://wiki.python.org/moin/HowDoYouProtectSource"&gt;Python&lt;/a&gt; obfuscation. But basically its frowned upon by most, and not that easy (though that's really the case for most languages). But if you'd like to make it a bit harder for people to rip-off your code, then these seem to be the ways to do it:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Compile Python &lt;a href="http://pyfaq.infogami.com/how-do-i-create-a-pyc-file"&gt;code into .pyc&lt;/a&gt; - using Python's in-built compileall module - in your code dir run (then delete all your .py files and you can run the .pyc files):&lt;pre&gt;python -mcompileall .&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Use &lt;a href="http://wiki.python.org/moin/Freeze"&gt;[cx]Freeze&lt;/a&gt; (or py2exe) to compile your Python project into an executable&lt;/li&gt;
&lt;li&gt;Use a Python source code obfuscater like this &lt;a href="http://pypi.python.org/pypi/pyfuscate/0.1"&gt;one&lt;/a&gt; or &lt;a href="http://freshmeat.net/projects/pyobfuscate/"&gt;that&lt;/a&gt; (both a bit old)&lt;/li&gt;
&lt;li&gt;Use &lt;a href="http://cython.org/"&gt;cython&lt;/a&gt; instead of Python&lt;/li&gt;
&lt;li&gt;There are some commercial products out there too (e.g. &lt;a href="http://www.bitboost.com/python-obfuscator/manual/"&gt;this&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-7105740680689955112?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/R-OIgVtS5P1geQJHDqi5Q3mDXMk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/R-OIgVtS5P1geQJHDqi5Q3mDXMk/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/R-OIgVtS5P1geQJHDqi5Q3mDXMk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/R-OIgVtS5P1geQJHDqi5Q3mDXMk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/8C7kiI5ha0Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/7105740680689955112/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=7105740680689955112" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/7105740680689955112?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/7105740680689955112?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/8C7kiI5ha0Q/python-obfuscation.html" title="Python obfuscation" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/02/python-obfuscation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEFQHkzeip7ImA9WhdVFkQ.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-8896480607771767676</id><published>2011-02-06T11:21:00.003Z</published><updated>2011-09-22T13:13:31.782+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-22T13:13:31.782+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tc" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><category scheme="http://www.blogger.com/atom/ns#" term="ipv6" /><title>Airport Update 7.5.2 kills IPv6 Router Advertisements [NOT?]</title><content type="html">[22sept11]: UPDATE: It appears that I may be wrong as I've now seen my  machines automatically obtain an IPv6 address now (using an RS and  receiving an RA). Possibly what was needed was a full power cycle of the  Time Capsule to effect the IPv6 configuration.&lt;br /&gt;
&lt;br /&gt;
After carefully managing to set up &lt;a href="http://timesinker.blogspot.com/2009/05/just-setup-time-capsule-as-my-ipv6.html"&gt;IPv6 on my Time Capsule&lt;/a&gt; using a manually configured tunnel I noticed that it had stopped working after updating to 7.5.2. I hadn't had the time to look into it before,&amp;nbsp; but now I have it seems that 7.5.X has some kind of 'safety' feature that disables Router Advertisements (RAs) on your LAN when another box on your LAN is doing the DHCP&amp;nbsp; (or RA) which seems DUMB. It should be configurable as alot of people don't use their TC as their main router box - since it only supports PPPoE. If someone's going to bother manually setting up a tunnel then they probably want to use it...&lt;br /&gt;
&lt;br /&gt;
It seems that the Time Capsule reports this an "IPv6 Tunnel Error" - despite the fact that actual tunnel is up - so this error must be indicating it has had to stop the RA service.&lt;br /&gt;
&lt;br /&gt;
I now have to manually add the IPv6 route to my hosts which make IPv6 a bit of joke on things like my iPhone or other devices I can't configure manually for IPv6.&lt;br /&gt;
&lt;br /&gt;
Nice one Apple - just when we thought IPv6 was getting easier!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-8896480607771767676?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/an161WUy1E_0ZfmRIEF_3Bnna-I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/an161WUy1E_0ZfmRIEF_3Bnna-I/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/an161WUy1E_0ZfmRIEF_3Bnna-I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/an161WUy1E_0ZfmRIEF_3Bnna-I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/fNLjlMgWW3w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/8896480607771767676/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=8896480607771767676" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8896480607771767676?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8896480607771767676?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/fNLjlMgWW3w/airport-update-752-kills-ipv6-router.html" title="Airport Update 7.5.2 kills IPv6 Router Advertisements [NOT?]" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/02/airport-update-752-kills-ipv6-router.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4BSXsyfip7ImA9Wx9VEk8.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-8594722229478981697</id><published>2011-01-28T15:02:00.000Z</published><updated>2011-01-28T15:02:38.596Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-28T15:02:38.596Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="skype" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>Skype 5 for OSX is out</title><content type="html">Well they released an official version of it yesterday... I guess I'm getting used to it - the do seem to have made the final version a &lt;a href="http://timesinker.blogspot.com/2010/12/skype-5-beta-osx-sucks.html"&gt;bit smaller&lt;/a&gt; so I suppose it's ok. The group video stuff sounds good and it all seems to work well so far... &lt;br /&gt;
&lt;br /&gt;
Anyway it's good to see they're actually working on Skype for OSX - it's been a while since 2.8 was out. I guess you could give it try....!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-8594722229478981697?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vHeHpo_iCfrkuDeRkTAGK6_foVo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vHeHpo_iCfrkuDeRkTAGK6_foVo/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/vHeHpo_iCfrkuDeRkTAGK6_foVo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vHeHpo_iCfrkuDeRkTAGK6_foVo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/wt53MhOcNTI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/8594722229478981697/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=8594722229478981697" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8594722229478981697?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8594722229478981697?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/wt53MhOcNTI/skype-5-for-osx-is-out.html" title="Skype 5 for OSX is out" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/01/skype-5-for-osx-is-out.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAFR309fyp7ImA9WhRUFUQ.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-6291522352190585064</id><published>2011-01-18T14:59:00.003Z</published><updated>2012-01-26T15:45:16.367Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-26T15:45:16.367Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Shrinking Linux virtual disks on OSX VMWare fusion</title><content type="html">So your virtual disk is taking up tonnes of space - despite the fact it's not that big when you check its size in the Virtual machine. It's annoying that VMWare images don't do better auto shrinking...&lt;br /&gt;
&lt;br /&gt;
Anyway I tried to run the vmware-tools which I installed (after a bit of &lt;a href="http://timesinker.blogspot.com/2011/01/fixing-vmxnet-for-vmwaretools-799-on.html"&gt;jiggery-pokery&lt;/a&gt;) and it comes up with a 'Shrink' tab but no disks appear in the list to shrink?! Any suggestion as to how to get disks to show up there are welcome but I couldn't find much on the web about it...&lt;br /&gt;
&lt;br /&gt;
So instead I looked about and the best way is to take the following steps:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Start your VM OS up and optionally &lt;a href="http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html"&gt;remove any cruft&lt;/a&gt;. At least run:&lt;br /&gt;
&lt;pre&gt;sudo apt-get autoclean&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;To prepare for the shrinking process run:&lt;br /&gt;
&lt;pre&gt;sudo cat /dev/zero &amp;gt; zero;sync;sleep 1;sudo rm zero&lt;/pre&gt;
This fills all remaining space on your virtual disk with a file full of zeros so the space can be reclaimed in the shrinking step.&lt;br /&gt;
Note: Your hard disk WILL NOT fill up as the vmdk images do actually optimise the storage of files containing zeros&lt;/li&gt;
&lt;li&gt;Shutdown VM OS and delete any snapshots available then Quit VMWare Fusion&lt;/li&gt;
&lt;li&gt;To start the shrinking process in OSX run (Replacing path_to_your/disk with something like '/Users/username/Documents/Virtual Machines/Ubuntu/Ubuntu.vmdk'):&lt;br /&gt;
&lt;pre&gt;cd '/Applications/VMware Fusion.app/Contents/Library'
./vmware-vdiskmanager -d path_to_your/disc.vmdk
./vmware-vdiskmanager -k path_to_your/disc.vmdk
&lt;/pre&gt;
The first command defragments the disk, whilst the second actually does the shrinking.&lt;br /&gt;(Note: The directory for 'cd' for 3.X of VMware Fusion was: &lt;br /&gt;&lt;pre&gt;/Library/Application Support/VMware Fusion/) &lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-size: x-small;"&gt;[27jan12: Updated for VMware Fusion 4.X]
&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-6291522352190585064?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UirOJOIbDGvjXt5FBy1XQI-I-c4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UirOJOIbDGvjXt5FBy1XQI-I-c4/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/UirOJOIbDGvjXt5FBy1XQI-I-c4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UirOJOIbDGvjXt5FBy1XQI-I-c4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/Mcozri57k_E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/6291522352190585064/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=6291522352190585064" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6291522352190585064?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6291522352190585064?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/Mcozri57k_E/shrinking-linux-virtual-disks-on-osx.html" title="Shrinking Linux virtual disks on OSX VMWare fusion" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>4</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/01/shrinking-linux-virtual-disks-on-osx.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYNR38_fyp7ImA9Wx9WE0g.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-5343756557840338370</id><published>2011-01-13T23:10:00.004Z</published><updated>2011-01-18T11:29:56.147Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-18T11:29:56.147Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="debug" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>New Apps not showing up in Apple+Tab</title><content type="html">So I was using my Mac (probably with way too much stuff running) and started a new App and then hid it (Apple+H) and then tried to Apple+Tab (Cmd-Tab) back to it but it didn't appear in the list of App Icons. The same happened when i started another Application.... I could always use Expose but I like Tab switcher...&lt;br /&gt;
&lt;br /&gt;
So then I wondered which process controls the Tab switcher... It &lt;a href="http://www.google.co.uk/cse?cx=partner-pub-2193703254861315:6596289865&amp;amp;ie=UTF-8&amp;amp;q=http://superuser.com/questions/7715/cmd-tab-suddenly-stopped-working-and-my-dock-is-unresponsive-what-do-i-do&amp;amp;sa=Search"&gt;turns out&lt;/a&gt;&amp;nbsp;that the Dock process not only runs the Dock bar at the bottom but also powers the Tab Switcher. So by just killing the Dock process it will then relaunch (by launchd) and sort it self out (provided you're not totally out of memory/disk space or something). You can do this from a Terminal window, using the following command:&lt;br /&gt;
&lt;pre&gt;killall Dock &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-5343756557840338370?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dbwd568ZMJPCoA2_BfLoB6yJyGQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dbwd568ZMJPCoA2_BfLoB6yJyGQ/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/dbwd568ZMJPCoA2_BfLoB6yJyGQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dbwd568ZMJPCoA2_BfLoB6yJyGQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/bMo-ieQZXlQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/5343756557840338370/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=5343756557840338370" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/5343756557840338370?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/5343756557840338370?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/bMo-ieQZXlQ/new-apps-not-showing-up-in-appletab.html" title="New Apps not showing up in Apple+Tab" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/01/new-apps-not-showing-up-in-appletab.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYBQn84cSp7ImA9Wx9XGUs.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-3634652299634411399</id><published>2011-01-10T22:01:00.000Z</published><updated>2011-01-13T23:42:33.139Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-13T23:42:33.139Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dev" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>Counting lines of source code...</title><content type="html">It seems easy at firstly sight&amp;nbsp;(wc anyone?)&amp;nbsp;then there's all the awkward stuff like comments, blank lines, coding style, header files, and stuff....&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Anyway I came across a nice tool: &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;a href="http://www.google.co.uk/cse?cx=partner-pub-2193703254861315:6596289865&amp;amp;ie=UTF-8&amp;amp;q=sloccount&amp;amp;sa=Search&amp;amp;siteurl=timesinker.blogspot.com/" target="new"&gt;sloccount&lt;/a&gt;&lt;/span&gt; which works on Linux, OSX and probably others, which does a good job of estimating "Source Code Line Count (SLOC)". Plus it also spits out coding time estimates based on some heuristics. There are other tools out there of course but this one just seems good.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-3634652299634411399?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yb_j7TS4feClSl7o88OpQ1ftKbs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yb_j7TS4feClSl7o88OpQ1ftKbs/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/yb_j7TS4feClSl7o88OpQ1ftKbs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yb_j7TS4feClSl7o88OpQ1ftKbs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/TKMoGFKhDX0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/3634652299634411399/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=3634652299634411399" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3634652299634411399?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/3634652299634411399?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/TKMoGFKhDX0/counting-lines-of-source-code.html" title="Counting lines of source code..." /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/01/counting-lines-of-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUHSXg7eSp7ImA9Wx9bEE4.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-213741850514940475</id><published>2011-01-06T15:07:00.002Z</published><updated>2011-02-18T14:10:38.601Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-18T14:10:38.601Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dev" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="debug" /><category scheme="http://www.blogger.com/atom/ns#" term="kernel" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><title>Fixing vmxnet for vmwaretools-7.9.9 on Linux-2.6.32+</title><content type="html">I just tried to load up vmwaretools on Ubuntu 10.04 Karmic (Kernel linux-2.6.32 - for later kernels see below) and things went ok till it tried to compile vmxnet.c - things have changed and VMware haven't kept up... So I fixed it - see attached patch below. I took a short cut to get the modified file into the vmware-install.pl build process: It copies the src files to a directory in /tmp/vmware-configX/ (where X is a number) - You'll need to run the vmware-install.pl script and then suspend (hit Ctrl-Z) it once it has got to the very first step of compiling vmxnet (ie before it starts the actual compilation) - then copy in the patched file and put the installer into the foreground (type '%'). I guess it's possible to copy it to a tar file somewhere but I didn't bother locating the correct one.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;--- vmxnet.c 2011-01-05 17:46:30.820624430 +0000&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+++ vmxnet.c.orig 2010-11-20 02:24:48.000000000 +0000&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -162,31 +162,6 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#define VMXNET_LOG(msg...)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#endif // VMXNET_DEBUG&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,3,43)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-/*&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *-----------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- * vmxnet_tx_timeout --&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *      Network device tx_timeout routine.  Called by Linux when the tx&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *      queue has been stopped for more than dev-&amp;gt;watchdog_timeo jiffies.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- * Results:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *      None.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- * Side effects:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *      Tries to restart the transmit queue.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- *-----------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;- */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-static void&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-vmxnet_tx_timeout(struct net_device *dev)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-{&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   netif_wake_queue(dev);&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-}&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#endif /* LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,3,43) */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;/* Data structure used when determining what hardware the driver supports. */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;static const struct pci_device_id vmxnet_chips[] =&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -210,26 +185,6 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;.probe = vmxnet_probe_device,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;.remove = vmxnet_remove_device,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;};&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-static struct net_device_ops&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-vmxnet_netdev_ops = {&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_open = vmxnet_open,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_start_xmit = vmxnet_start_tx,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_stop = vmxnet_close,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_get_stats = vmxnet_get_stats,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_set_multicast_list = vmxnet_set_multicast_list,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#ifdef HAVE_CHANGE_MTU&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_change_mtu = vmxnet_change_mtu,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,3,43)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_tx_timeout = vmxnet_tx_timeout,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#ifdef VMW_HAVE_POLL_CONTROLLER&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_poll_controller = vmxnet_netpoll,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   /* Do this after ether_setup(), which sets the default value. */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   .ndo_set_mac_address = vmxnet_set_mac_address,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-};&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#ifdef HAVE_CHANGE_MTU&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;static int&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -373,6 +328,8 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;.set_tso             = vmxnet_set_tso,&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;};&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#else   /* !defined(SET_ETHTOOL_OPS) */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -649,6 +606,30 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,3,43)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+/*&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *-----------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ * vmxnet_tx_timeout --&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *      Network device tx_timeout routine.  Called by Linux when the tx&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *      queue has been stopped for more than dev-&amp;gt;watchdog_timeo jiffies.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ * Results:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *      None.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ * Side effects:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *      Tries to restart the transmit queue.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ *-----------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+ */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+static void&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+vmxnet_tx_timeout(struct net_device *dev)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+{&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   netif_wake_queue(dev);&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+}&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#endif /* LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,3,43) */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;/*&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;*-----------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -1072,9 +1053,25 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;dev-&amp;gt;irq = irq_line;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;open = &amp;amp;vmxnet_open;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;hard_start_xmit = &amp;amp;vmxnet_start_tx;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;stop = &amp;amp;vmxnet_close;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;get_stats = &amp;amp;vmxnet_get_stats;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;set_multicast_list = &amp;amp;vmxnet_set_multicast_list;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#ifdef HAVE_CHANGE_MTU&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;change_mtu = &amp;amp;vmxnet_change_mtu;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#if LINUX_VERSION_CODE &amp;gt;= KERNEL_VERSION(2,3,43)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;tx_timeout = &amp;amp;vmxnet_tx_timeout;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;dev-&amp;gt;watchdog_timeo = VMXNET_WATCHDOG_TIMEOUT;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#ifdef VMW_HAVE_POLL_CONTROLLER&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;poll_controller = vmxnet_netpoll;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+#endif&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;-   dev-&amp;gt;netdev_ops = &amp;amp;vmxnet_netdev_ops;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   /* Do this after ether_setup(), which sets the default value. */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;+   dev-&amp;gt;set_mac_address = &amp;amp;vmxnet_set_mac_address;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;#ifdef SET_ETHTOOL_OPS&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: xx-small;"&gt;SET_ETHTOOL_OPS(dev, &amp;amp;vmxnet_ethtool_ops);&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
If you're running linux-2.6.35 (Ubuntu 10.10 Maverick) then you'll also need to apply the following patch (once you've applied the above one):&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;--- vmxnet.c 2011-01-06 14:44:41.000000000 +0000&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+++ vmxnet.c.linux2.6.32 2011-01-06 14:44:41.000000000 +0000&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -2405,10 +2405,9 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;struct Vmxnet_Private *lp = netdev_priv(dev);&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;volatile u16 *mcast_table = (u16 *)lp-&amp;gt;dd-&amp;gt;LADRF;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;-    struct netdev_hw_addr_list *mc_list = &amp;amp;dev-&amp;gt;mc;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;-    struct netdev_hw_addr *ha;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+    struct dev_mc_list *dmi = dev-&amp;gt;mc_list;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;char *addrs;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;-    int j, bit, byte;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+    int i, j, bit, byte;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;u32 crc, poly = CRC_POLYNOMIAL_LE;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;/* clear the multicast filter */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -2416,9 +2415,9 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;lp-&amp;gt;dd-&amp;gt;LADRF[1] = 0;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;/* Add addresses */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;-&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;-    netdev_hw_addr_list_for_each(ha, mc_list) {&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;- addrs = ha-&amp;gt;addr;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+    for (i = 0; i &amp;lt; dev-&amp;gt;mc_count; i++){&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+ addrs = dmi-&amp;gt;dmi_addr;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+ dmi   = dmi-&amp;gt;next;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;/* multicast address? */&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;if (!(*addrs &amp;amp; 1))&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;@@ -2441,7 +2440,7 @@&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;crc = crc &amp;gt;&amp;gt; 26;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;mcast_table [crc &amp;gt;&amp;gt; 4] |= 1 &amp;lt;&amp;lt; (crc &amp;amp; 0xf);      } -    return mc_list-&amp;gt;count;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;+    return i;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: xx-small;"&gt;/*&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-213741850514940475?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YPCjGPSM7ImYvzKUZ8o9v7YueyY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YPCjGPSM7ImYvzKUZ8o9v7YueyY/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/YPCjGPSM7ImYvzKUZ8o9v7YueyY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YPCjGPSM7ImYvzKUZ8o9v7YueyY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/NsF3WM4ee4I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/213741850514940475/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=213741850514940475" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/213741850514940475?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/213741850514940475?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/NsF3WM4ee4I/fixing-vmxnet-for-vmwaretools-799-on.html" title="Fixing vmxnet for vmwaretools-7.9.9 on Linux-2.6.32+" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2011/01/fixing-vmxnet-for-vmwaretools-799-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YBSXk7cSp7ImA9Wx9WFU4.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-8247865753441914066</id><published>2010-12-18T23:38:00.001Z</published><updated>2011-01-20T13:45:58.709Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-20T13:45:58.709Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="skype" /><title>Skype 5 beta OSX sucks</title><content type="html">If you're tempted by the idea of the new Skype 5 Beta for OSX - then forget it (well maybe apart from if you're interested in Group Calling). The new UI is a bad joke - Skype seems have lost its way. It is a huge ugly GUI that won't go away and very confused functionality. Fire the new GUI team leader!&lt;br /&gt;
&lt;br /&gt;
I'm back to 2.8 as long as I can then if there's no change I'll be seeking a new Voip agent - Empathy Cocoa port anyone? Blink is a nice SIP client or Sip-communicator is pretty reasonable these days and it's cross platform.&lt;br /&gt;
&lt;br /&gt;
However one should not forget that there are some new features...The main one being Group video calling, plus there extended search, and a new control bar which isn't so bad.&lt;br /&gt;
&lt;br /&gt;
[updated 20jan11: A bit more upbeat - whilst the GUI sucks there are some good feature additions]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-8247865753441914066?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mR6HfmljoQR6-nrOGm2dYzS0Oy0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mR6HfmljoQR6-nrOGm2dYzS0Oy0/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/mR6HfmljoQR6-nrOGm2dYzS0Oy0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mR6HfmljoQR6-nrOGm2dYzS0Oy0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/3j5Aio8qrF0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/8247865753441914066/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=8247865753441914066" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8247865753441914066?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/8247865753441914066?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/3j5Aio8qrF0/skype-5-beta-osx-sucks.html" title="Skype 5 beta OSX sucks" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2010/12/skype-5-beta-osx-sucks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IHQH09fSp7ImA9WhZUEE8.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-6317720487760846441</id><published>2010-11-28T14:52:00.003Z</published><updated>2011-06-02T16:45:31.365+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-02T16:45:31.365+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tc" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>Time Machine backup...not</title><content type="html">The other day I went to my Time Machine backup  to try get a slightly older copy of a file that I'd been working on recently. But there was only a fairly ancient copy sitting there - and I KNEW I'd updated it since that date?!&amp;nbsp; My Time Machine backups seemed to be backing up just fine but only it wasn't..... Real handy?!&lt;br /&gt;
&lt;br /&gt;
I Googled it and found a bunch of people had run into the same issue.&lt;br /&gt;
&lt;br /&gt;
There are a bunch of files and directories that are normally excluded from backups - which are contained within the following plist files (You can see them just using a text editor or Quickview or edit them using e.g. Property List Editor) - check the 'ExcludeByPath' keys:&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;/Library/Preferences/com.apple.TimeMachine.plist&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;/System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Note: That in the com.apple.TimeMachine.plist there are a bunch of items that get added by certain Applications; Xcode adds the directories named 'build' (and maybe others) to the list exclusions, and Google's Chrome adds it's 'cache' directories to the exclusion list. There's probably others out there as it is achieved using a standard API call.&lt;br /&gt;
&lt;br /&gt;
You can also find, using &lt;a href="http://developer.apple.com/macosx/spotlight.html"&gt;mdfind&lt;/a&gt; the OSX's command line version of Spotlight, all files or directories that have had the appropriate metadata attribute set (using xattr command) for backup exclusion:&lt;br /&gt;
&lt;pre&gt;sudo mdfind "com_apple_backup_excludeItem = 'com.apple.backupd'"&lt;/pre&gt;Out of interest you can list the metadata attributes on any file/dir:&lt;br /&gt;
&lt;pre&gt;mdls /path/to/that_curious_file&lt;/pre&gt;However in my case none of the above applied and it seems that under Sow Leopard there's some 'bug' that stops TM working properly if you haven't rebooted in a while (which I hadn't). So a simple reboot fixed it?! Not reassuring though.&lt;br /&gt;
&lt;br /&gt;
There's a good list of things to check &lt;a href="http://discussions.apple.com/thread.jspa?threadID=1964018"&gt;here&lt;/a&gt; and &lt;a href="http://web.me.com/pondini/Time_Machine/FAQ.html"&gt;there&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-6317720487760846441?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FTEnwr3aOIJ50OWyAafgOPcWlzQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FTEnwr3aOIJ50OWyAafgOPcWlzQ/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/FTEnwr3aOIJ50OWyAafgOPcWlzQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FTEnwr3aOIJ50OWyAafgOPcWlzQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/nmvZzjYHX4g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/6317720487760846441/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=6317720487760846441" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6317720487760846441?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6317720487760846441?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/nmvZzjYHX4g/time-machine-backupnot.html" title="Time Machine backup...not" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2010/11/time-machine-backupnot.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EAQX05fip7ImA9WhdaFk4.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-7015302529681271297</id><published>2010-11-11T22:57:00.000Z</published><updated>2011-10-26T15:34:00.326+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-26T15:34:00.326+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term=".updatables" /><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Too many package managers</title><content type="html">On every system someone seems to invent a new package management system which means you've gotta learn the nearly the same thing over and over again. Tedious... Here's some notes to myself about how you can do basic stuff in a few I use (OSX/MacPorts[port], Ubuntu/Debian[aptitude,apt], RedHat/RPM[rpm,yum]).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install Package&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;OSX% port install ThatPeskyPackage
ubuntu% aptitude install ThatPeskyPackage
ubuntu% apt-get install ThatPeskyPackage
ubuntu% dpkg -i ThatPeskyPackage.deb
RedHat% yum install ThatPeskyPackage
RedHat% rpm -i ThatPeskyPackage.rpm&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Remove Package&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;OSX% port uninstall ThatPeskyPackage [version]
ubuntu% aptitude remove ThatPeskyPackage
ubuntu% apt-get remove ThatPeskyPackage
RedHat% yum erase ThatPeskyPackage
RedHat% rpm -e ThatPeskyPackage.rpm&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Package Info&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;OSX% port info ThatPeskyPackage
ubuntu% aptitude install ThatPeskyPackage
ubuntu% apt-get install ThatPeskyPackage
RedHat% yum info ThatPeskyPackage
RedHat% rpm -qi ThatPeskyPackage&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Package Content: What files did it install?&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;OSX% port contents ThatPeskyPackage
ubuntu% dpkg -L ThatPeskyPackage
RedHat% rpm -ql ThatPeskyPackage&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;What package does this file belong to?&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;OSX% port provides /usr/some/place/weird/whatisthis
ubuntu% dpkg -S /usr/some/place/weird/whatisthis
RedHat% rpm -qf /usr/some/place/weird/whatisthis&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Which packages have I got installed?&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;OSX% port installed
ubuntu% dpkg --get-selections
RedHat% rpm -qa
RedHat% yum list
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-7015302529681271297?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/akXvAzZHmarYhh2eleVKOP4Eadk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/akXvAzZHmarYhh2eleVKOP4Eadk/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/akXvAzZHmarYhh2eleVKOP4Eadk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/akXvAzZHmarYhh2eleVKOP4Eadk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/UkdQCdk_wXM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/7015302529681271297/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=7015302529681271297" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/7015302529681271297?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/7015302529681271297?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/UkdQCdk_wXM/too-many-package-managers.html" title="Too many package managers" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2010/11/too-many-package-managers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UCRn84fyp7ImA9Wx5aE00.&quot;"><id>tag:blogger.com,1999:blog-9030125289443738749.post-6743812053247177801</id><published>2010-11-09T11:41:00.001Z</published><updated>2010-11-09T12:21:07.137Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-09T12:21:07.137Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dev" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="debug" /><title>What Linux release am I running?</title><content type="html">For every Linux distribution/distro there seems to be a different way to work out which release version/name/codename you're running. Here's a the ways I've found, on the command line, to find out:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ubuntu&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;lsb_release -a
cat /etc/lsb-release
cat /etc/debian_version
&lt;/pre&gt;Note: For Ubuntu /etc/debian_version seems to contain the Debian base from which this version of Ubuntu originates.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Debian&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;cat /etc/debian_version
cat /etc/lsb-release
lsb_release -a
&lt;/pre&gt;Note: The latter two are not always available on pure Debian systems.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Redhat/CentOS/Fedora&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;cat /etc/redhat-release
&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;Gentoo&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;cat /etc/gentoo-release
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9030125289443738749-6743812053247177801?l=timesinker.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0o94g2vWviPmMbcHDRrdhAp1aF8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0o94g2vWviPmMbcHDRrdhAp1aF8/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/0o94g2vWviPmMbcHDRrdhAp1aF8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0o94g2vWviPmMbcHDRrdhAp1aF8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/XRyZ/~4/UnpKFAPFP1M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://timesinker.blogspot.com/feeds/6743812053247177801/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=9030125289443738749&amp;postID=6743812053247177801" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6743812053247177801?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9030125289443738749/posts/default/6743812053247177801?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/XRyZ/~3/UnpKFAPFP1M/what-linux-release-am-i-running.html" title="What Linux release am I running?" /><author><name>Piers</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://timesinker.blogspot.com/2010/11/what-linux-release-am-i-running.html</feedburner:origLink></entry></feed>

