<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3531800709364405806</id><updated>2011-11-28T02:05:44.905+01:00</updated><category term='hdd-ssd'/><category term='Coppermine'/><category term='Video Fiction'/><category term='Visual Studio'/><category term='VCS'/><category term='mysql'/><category term='robotics'/><category term='movies'/><category term='Delphi'/><category term='windows'/><category term='rationalism'/><category term='memo'/><category term='ubuntu'/><category term='Android'/><category term='workplace'/><title type='text'>BarryStaes</title><subtitle type='html'>Technical tricks, notes and ideas.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-334575071396511084</id><published>2010-11-24T11:06:00.001+01:00</published><updated>2010-11-24T11:07:33.509+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delphi'/><category scheme='http://www.blogger.com/atom/ns#' term='VCS'/><title type='text'>Growing Delphi code</title><content type='html'>I find Delphi as a language has its perks but doesn't come without annoyances. I'm not so much comparing it to other programming languages here (i would not know where to start), but take a look at how to not waste time or make bad code when you ARE using Delphi. This article is no less relevant if you use other languages though.&lt;br /&gt;&lt;br /&gt;Its all about designing pillars, reusing them, and being able to replace them one by one with improved versions after the facts.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_GRh-X6IOeSg/TOzc5DVddQI/AAAAAAAAA_U/DhWl3zahytw/s1600/growingpilars.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/_GRh-X6IOeSg/TOzc5DVddQI/AAAAAAAAA_U/DhWl3zahytw/s400/growingpilars.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;An application must be able to grow as its maintained, one pillar at a time.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Re-usability.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Everybody knows you must document your code, order and version your source files, have a code standard so i won't go into the obvious here concerning&amp;nbsp;re-usability. But what do i mean when i say re-usability:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;"The ability of a package or subprogram to be used again without modification as a building block in a different program from the one it was originally written for."&lt;/i&gt;&lt;/blockquote&gt;In dutch i often call this "draagbare code" aka portable code. Take it with you, plug it in, it should work without requiring even more code.&lt;br /&gt;&lt;br /&gt;Package is the key word here, its what Delphi likes doing. Or moreover, it should be what you like doing. Delphi enables you to make packages of code, useful when you want to compile a DLL, when you develop a custom component. I presume its also useful as a library of code, but this Delphi has yet to prove me. It seems projects using a package lack full debug capabilities. This is because they only access the DCU file, not the PAS. I imagine this DCU file can be circumvented by compiling projects (or packages) another way (non-linked?), but i &amp;nbsp;am not sure yet. If you know of a way, please post it in the comments.&lt;br /&gt;&lt;br /&gt;Do not cast your Delphi code into concrete. When building writing a unit that should be reusable, make sure not to:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Put your attributes and functions in the private section of your class. Your solution is a quick hack anyway, so it's better to hide it.&lt;/li&gt;&lt;li&gt;Don't declare a procedure of function virtual. Really, no one wants to override what you did anyway.&lt;/li&gt;&lt;li&gt;Use enumerated types. No one ever will have a need to extend this type.&lt;/li&gt;&lt;li&gt;Write procedures and functions in the implementation of your unit, and don't export them. They're not good enough to be reused anyway.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;These are just the tip of the iceberg. Avoiding this may save you (and your coworkers) a&amp;nbsp;headache.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Versioning shared units.&lt;/span&gt;&lt;br /&gt;At time of writing (2010) Delphi RAD still lacks a version control solution i find decent. I now use Git, which doesn't integrate at all. This is difficult when files are used by more than one project. Using packages in Delphi gets you halfway, but not far enough. Consider this common scenario:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A unit "U" that implements function "F" returning a type "T".&lt;/li&gt;&lt;li&gt;A custom component "C" that when put on a form has a GUI to let the user use "F" from "U", thus returning "T".&lt;/li&gt;&lt;li&gt;A custom component "D" that when put on a form has a GUI to let the user see "T".&lt;/li&gt;&lt;li&gt;A project with a form that contains "C" and "D", and must know of "T" in order to have "D" display what "C" did.&lt;/li&gt;&lt;li&gt;Another project, using "T". Thus requiring "U".&lt;/li&gt;&lt;li&gt;Another component, using "T".&amp;nbsp;Thus requiring "U".&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;On the last two lines I say "requiring" as if these should know about the PAS file. This is what i&amp;nbsp;prefer, but it just about impossible to do with Delphi without making the&amp;nbsp;source-file&amp;nbsp;references&amp;nbsp;that clutter your projects look like chaos. The reason i prefer this above DCU files, is because these don't enable me to debug their code.&lt;br /&gt;&lt;br /&gt;But the real reason i put forward this scenario is to show you what problems arise when you try to do this in a controlled manner, using version control. How i imagine this should be done:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Develop unit "U" in a repository, once in a while spawning a stable branch.&lt;/li&gt;&lt;li&gt;Develop package (storing "C" and "D") in a repository, once in a while spawning a stable branch. When it spots a newer stable branch of "U" at compile, it informs me clearly and pulls it.&lt;/li&gt;&lt;li&gt;Develop project in a repository, once in a while spawning a stable branch.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Problem however is that Delphi is a jerk here and requires access to BPL, DCU, and PAS files. I've yet to figure out a way of arranging this so everything "just" works.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Folder structure as a remedy&lt;/span&gt;&lt;br /&gt;I've tried lost of folder structures over the last few days, and regret having to resort to my initial setup.&lt;br /&gt;I tried a huge repository containing all components and shared code (as a library package), and found it difficult to find a place for each components' test-project. Ultimately this structure was clear but Delphi still was a jerk about files it required in its search path.&lt;br /&gt;&lt;br /&gt;Right now, i'm considering compiling all DCU files to a central folder like "\lib\" but still struggle with where to put that folder. I believe that code should be kept together, and as such that DCU's&amp;nbsp;(except for the VCL and RTL lib ofcourse)&amp;nbsp;in my program files folder should have no place in my application. I want to be able to just open the same code on a different computer and be able to compile everything exactly as it was before.&lt;br /&gt;&lt;br /&gt;There's lots of resources on what folder structure a Delphi project could be kept in, so to add on those here is an attempt to share my way of structuring this.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;/ -&amp;nbsp;The root of this package or project. Contains my DPROJ file, RES file, and such.&lt;/li&gt;&lt;li&gt;/generated/ - contains everything Delphi makes up from my code. (and contains dcu, bpl, bin folders)&lt;/li&gt;&lt;li&gt;/src/ - contains my source code.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I always put a testproject alongside a package, and have a ProjectGroup assigned to both DPROJ files to easily open it as a whole. The whole shebang is then saved in some form of version control.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999; font-size: x-small;"&gt;(Disclaimer: to my liking this article is far from finished, but i decided to publish it anyway whilst i'm diving further in this matter. Contributing comments will be amended.)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.berenddeboer.net/eiffel/eiffel_and_delphi.html"&gt;http://www.berenddeboer.net/eiffel/eiffel_and_delphi.html&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/3531800709364405806-334575071396511084?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/334575071396511084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2010/11/growing-delphi-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/334575071396511084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/334575071396511084'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2010/11/growing-delphi-code.html' title='Growing Delphi code'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_GRh-X6IOeSg/TOzc5DVddQI/AAAAAAAAA_U/DhWl3zahytw/s72-c/growingpilars.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-7213296169308630155</id><published>2010-06-15T11:49:00.013+02:00</published><updated>2010-06-15T11:58:33.073+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Force Android to use the faster WCDMA data connection.</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I've experienced a slow internet uplink lately, and some of this &lt;/span&gt;&lt;a href="http://www.t-mobile.nl/Persoonlijk/htdocs/page/service-contact/dekking.aspx"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;is being taken care of by T-Mobile Netherlands&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;as we speak. Today i received word that i could do something about this myself, as well.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;There is a setting in my Google G1 (Android v1.6) phone that forces the phone to only connect with the faster WCDMA networks, and to not degrade or negotiate t&lt;span class="Apple-style-span" style="font-size: small;"&gt;his. This means &lt;/span&gt;my geographical coverage will not improve or -more probably- get worse as there are places plenty that don't offer WCDMA at all, but i'm willing to give this a try.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Quoted from&amp;nbsp;&lt;/span&gt;&lt;a href="http://forum.xda-developers.com/archive/index.php/t-536234.html"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;http://forum.xda-developers.com/archive/index.php/t-536234.html&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;blockquote&gt;From the dialer, type exactly:&lt;/blockquote&gt;&lt;blockquote&gt;*#*#4636#*#*&lt;/blockquote&gt;&lt;blockquote&gt;After a moment, a screen will appear called "Testing". Select the drop-down that says "Phone Information". From there, scroll down to where it should say "WCDMA preferred", and change it to "WCDMA only". Use the back key to get out. It should stay selected even through a reboot.&lt;/blockquote&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This menu contains a host of test buttons and statistics on connections and phone usage. I'll update this article if and when i gain new insights on this.&lt;/span&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/3531800709364405806-7213296169308630155?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/7213296169308630155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2010/06/force-android-to-use-faster-wcdma-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/7213296169308630155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/7213296169308630155'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2010/06/force-android-to-use-faster-wcdma-data.html' title='Force Android to use the faster WCDMA data connection.'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-3055083422325685419</id><published>2010-02-07T16:28:00.004+01:00</published><updated>2010-02-07T16:39:06.897+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video Fiction'/><title type='text'>BTTF: I hate manure</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;This is a compilation of manure moments on the hit Back To The Future movies. A lot of key moments in BTTF feature actors&amp;nbsp;familiar from previous installments; characters like Biff, the clocktower guy, the `What are you, chicken?` guy (Needles), and the manure cart has a recurring role.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The manure company is run by the family Jones. First there was D. Jones `Manure Hauling´ in BTTF1:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_GRh-X6IOeSg/S27W9OfYSwI/AAAAAAAAA40/PwkUjGmPN68/s1600-h/vlcsnap-2010-02-07-15h57m54s18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://1.bp.blogspot.com/_GRh-X6IOeSg/S27W9OfYSwI/AAAAAAAAA40/PwkUjGmPN68/s400/vlcsnap-2010-02-07-15h57m54s18.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;Then there was D. Jones again, in the second installment.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_GRh-X6IOeSg/S27ZdDEBe1I/AAAAAAAAA48/c6DliZXi7Xc/s1600-h/vlcsnap-2010-02-07-15h57m58s189.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://2.bp.blogspot.com/_GRh-X6IOeSg/S27ZdDEBe1I/AAAAAAAAA48/c6DliZXi7Xc/s400/vlcsnap-2010-02-07-15h57m58s189.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;And finaly in BTTF3 you see A. Jones in the wild west:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_GRh-X6IOeSg/S27ZoEILDBI/AAAAAAAAA5E/ZojPUWr907U/s1600-h/vlcsnap-2010-02-07-16h01m49s238.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://4.bp.blogspot.com/_GRh-X6IOeSg/S27ZoEILDBI/AAAAAAAAA5E/ZojPUWr907U/s400/vlcsnap-2010-02-07-16h01m49s238.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;In the beginning of this movie, even Marty looks surprised to find them everywhere. Actually .. it would not surprise me to even find the same actor alongside the cart each movie.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_GRh-X6IOeSg/S27Z1XOAmNI/AAAAAAAAA5M/f3EeD4vOtmw/s1600-h/vlcsnap-2010-02-07-15h58m03s106.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://2.bp.blogspot.com/_GRh-X6IOeSg/S27Z1XOAmNI/AAAAAAAAA5M/f3EeD4vOtmw/s400/vlcsnap-2010-02-07-15h58m03s106.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;Thats a nice touch. I really like BTTF and would love to see more.&amp;nbsp;If they would make any more movies tho, they would sure ruin that.&lt;br /&gt;&lt;br /&gt;Lets just hope more movies of this niche are in the pipeline in the 20th century. A good comedy is a smart movie.&lt;br /&gt;&lt;br /&gt;There´s also a big list of goofs on this movie at IMDB:&amp;nbsp;&lt;a href="http://www.imdb.com/title/tt0088763/goofs"&gt;http://www.imdb.com/title/tt0088763/goofs&lt;/a&gt;&lt;br /&gt;Ever noticed this creepy kid at the end of BTTF3?&amp;nbsp;&lt;a href="http://www.youtube.com/watch?v=zq5-6PkVGCg"&gt;http://www.youtube.com/watch?v=zq5-6PkVGCg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;PS - i realize most fans of this people already noticed this detail. This page is those who appreciate it, and those who did not realize. Yet. (shame on you)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-3055083422325685419?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/3055083422325685419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2010/02/bttf-i-hate-manure.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3055083422325685419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3055083422325685419'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2010/02/bttf-i-hate-manure.html' title='BTTF: I hate manure'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_GRh-X6IOeSg/S27W9OfYSwI/AAAAAAAAA40/PwkUjGmPN68/s72-c/vlcsnap-2010-02-07-15h57m54s18.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-3223910381161141</id><published>2009-12-04T13:14:00.011+01:00</published><updated>2009-12-07T02:36:54.101+01:00</updated><title type='text'>DNS forgery by UPC</title><content type='html'>I made a typo when connecting a fresly installed Filezilla client to my domain at staesit.nl&lt;br /&gt;&lt;br /&gt;This is what the Filezilla log said:&lt;br /&gt;&lt;pre&gt;Status: Resolving domain staesit.nll&lt;br /&gt;Status: Connecting with 67.63.50.51:21...&lt;br /&gt;&lt;/pre&gt;The TLD nll doesn't even exist! Oh crap whats this?&lt;br /&gt;&lt;br /&gt;How then does filezilla end up with to this IP? Hostname of said IP resolves as:&lt;br /&gt;&lt;pre&gt;upcnlassist-c.infospace.com&lt;/pre&gt;Aha! My (one week lived) provider UPC.nl is in on it.&lt;br /&gt;&lt;br /&gt;My provider is doing something i don't want it to. Seems like it assumes identity of staesit.nll. Stuff like this just makes me mad and sad at the same time. :( DNS forgery should be banned.&lt;br /&gt;&lt;br /&gt;I won´t even start on the searchpage that now pops up on misspelled domains.. wait. Actually i will exactly that as it seems like this is actually causing said behavior.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;gt; ping zoek.upc.nl&lt;br /&gt;Pinging assist.infospace.com [67.63.50.57] with 32 bytes of data:&lt;br /&gt;Reply from 67.63.50.57: bytes=32 time=98ms TTL=243&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-3223910381161141?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/3223910381161141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/12/filezilla-upc-and-dns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3223910381161141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3223910381161141'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/12/filezilla-upc-and-dns.html' title='DNS forgery by UPC'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-3914521563709838139</id><published>2009-11-24T23:10:00.006+01:00</published><updated>2009-11-24T23:19:02.899+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Archive backup periodicly</title><content type='html'>&lt;span style="font-size: small;"&gt;&lt;i&gt;I'm not into typing much about such simple subjects, but i just had to share this old batch code. Turns out there is no quick and neat solution available for moving your daily backups to&amp;nbsp;separate&amp;nbsp;folders. So in short and without further&amp;nbsp;adieu;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Backups are important. All&amp;nbsp;&lt;a href="http://staesit.nl/"&gt;Staes IT&lt;/a&gt;&amp;nbsp;web servers&amp;nbsp;submit backups on a regular basis to&amp;nbsp;&lt;a href="http://www.random.org/geographic-coordinates/"&gt;secure offsite locations&lt;/a&gt;. These should run automated and reliable, without much human intervention.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Problem&lt;/span&gt;&lt;br /&gt;These backup server receives backups via &lt;a href="http://filezilla-project.org/"&gt;FTP&lt;/a&gt; each day.&amp;nbsp;I don't want the next day's backup to overwrite the current ones, so have to archive them in a daily manner. It also looks nice when browsing the backups folder. Keeps everything nice and organized.&lt;br /&gt;&lt;br /&gt;I should run a script every morning to archive those nightly backups to do the job for me.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Solution&lt;/span&gt;&lt;br /&gt;This scripts puts all files a folder named "bu_YYYYMMDD_auto". Run this daily when the ftp backups are finished.&lt;br /&gt;&lt;br /&gt;Since i've realized this script over 7 years ago people keep asking me how to do such a thing with batch files. So i figured i should just put it on the internet for all to see. Sorry for the delay, i only recently started this blog thing.&lt;br /&gt;&lt;br /&gt;Back then i created two batch files to suit my needs at the time. One named "&lt;b&gt;bu_shift.bat&lt;/b&gt;" checks if files exist with the correct extention, then creates a folder using the date, and moves all files in here. It outputs the results to the console. The other file named "&lt;b&gt;bu_shift_keeplog.bat&lt;/b&gt;" just calls the above and puts the results in a daily logfile. Files&amp;nbsp;are listed below.&lt;br /&gt;&lt;br /&gt;It assumes the incomming files are at &lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;./bu_ftp_up/*.gz&lt;/span&gt; and you could easily change that yourself.&lt;br /&gt;&lt;br /&gt;Also keep in mind better solutions exist. This one will work out of the box and simply does its job - thats the only reason i present it here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;bu_shift.bat&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;@echo off&lt;br /&gt;&lt;br /&gt;REM Run this file as a cronjob, some time after the FTP has delivered a backup.&lt;/pre&gt;&lt;pre&gt;REM All folders are appended with _auto to easily distinguish them from manual backups.&lt;br /&gt;&lt;br /&gt;echo.&lt;br /&gt;echo ****************************************************&lt;br /&gt;echo * Start backup shift:&lt;br /&gt;echo.&lt;br /&gt;if not exist ".\bu_ftp_up\*.gz" GOTO NoFiles&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;for /F "tokens=2-4 delims=/- " %%A in ('date/T') do set var=%%C%%B%%A&lt;br /&gt;&lt;br /&gt;echo * Creating folder bu_%var%_auto:&lt;br /&gt;md "bu_%var%_auto"&lt;br /&gt;echo.&lt;br /&gt;echo * Moving files to folder:&lt;br /&gt;move ".\bu_ftp_up\*.*" ".\bu_%var%_auto\"&lt;br /&gt;echo.&lt;br /&gt;GOTO End&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:NoFiles&lt;br /&gt;echo * Stopped: found no files in "bu_ftp_up".&lt;br /&gt;echo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:End&lt;br /&gt;echo * End of batch&lt;br /&gt;echo ****************************************************&lt;br /&gt;echo.&lt;/pre&gt;&lt;/blockquote&gt;Above neatly outputs results in the console.&lt;br /&gt;When running this as a cronjob use below file to log this to aptly named files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;bu_shift_keeplog.bat&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;@echo off&lt;br /&gt;for /F "tokens=2-4 delims=/- " %%A in ('date/T') do set logd=%%C%%B&lt;br /&gt;&lt;br /&gt;set logfile=bu_shift_log_%logd%.txt&lt;br /&gt;&lt;br /&gt;echo. &amp;gt;&amp;gt; %logfile%&lt;br /&gt;echo bu_shift_keeplog.bat op %date%, om %time% &amp;gt;&amp;gt; %logfile%&lt;br /&gt;.\bu_shift.bat &amp;gt;&amp;gt; %logfile%&lt;br /&gt;echo. &amp;gt;&amp;gt; %logfile%&lt;/pre&gt;&lt;/blockquote&gt;In Windows you can add this file as a cronjob via "Task&amp;nbsp;Scheduler". This code has been in use for over five years on various Windows Server 2003 and 2008 environments, and continues to serve a purpose. Happy sharing!&lt;br /&gt;&lt;br /&gt;PS - boy this Blogger editor is worth shit. Awfull code markup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-3914521563709838139?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/3914521563709838139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/11/archive-backup-periodicly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3914521563709838139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3914521563709838139'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/11/archive-backup-periodicly.html' title='Archive backup periodicly'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-2747489430210975069</id><published>2009-11-21T10:48:00.005+01:00</published><updated>2009-11-23T09:14:07.697+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rationalism'/><title type='text'>Human origin; robots!</title><content type='html'>I love science fiction, and one thing has stumbled me. Actually the lack of something. Not on one occasion have i seen what i´m about to elaborate on. And i´ll explain why i believe it is likely.&lt;br /&gt;&lt;br /&gt;The closest i've ever seen this being used, is in Battlestar Galactica:&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;[SPOILER ALERT]&lt;/b&gt;&lt;br /&gt;If you plan to watch Battlestar Galactica &lt;i&gt;(BSG)&lt;/i&gt; stop reading now. What i aim at here is the vicous circle. The aliens are made by humans. These aliens retaliate and&amp;nbsp;eradicate&amp;nbsp;civilization, realize humans have something they don´t, emulate this, and in effect become the `new´ humans.&amp;nbsp;Vicious&amp;nbsp;circle ensues, the end. Oh and the story was interplanitary. This too relates to my point.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Now combine this with the Borg from Star Trek or the Replicators from Stargate:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The borg wants to gain perfection, and one way they do this is by assimilating everything there is to know. This often means destroying civilizations and using slaves for their greater good.&lt;/li&gt;&lt;li&gt;The replicators intended to defend their creator and in extent themselves, mostly by means of violence.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;Both fictional species show similar behavior, but the Borg looks human, and the Replicators look like LEGO bricks.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: x-large;"&gt;My point&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you take all this, you get an entity&lt;i&gt; (say some civilization, like humanity) &lt;/i&gt;that generates an entity&lt;i&gt; (say some robots) &lt;/i&gt;in the quest for perfection. If this evolves enough, it wil most likely end up in a loop. Artifical humans basicly. Knowledge and evidence about this&amp;nbsp;eventually&amp;nbsp;gets lost&amp;nbsp;&lt;span style="font-style: italic;"&gt;(it might be still out there, don't get me wrong)&lt;span style="font-style: normal;"&gt;.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: x-large;"&gt;How we humans fit in&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;Be warned: i talk in generics, as there are a lot of variables here. Most of them don´t even matter in this context. We could stand on either side of the subject on this case. Actually, i beleive both.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;In more detail&lt;/span&gt;&lt;br /&gt;Now for some reason, assume some civilization gets to the point they figure out how to automate something. O wait, we've done that. The end result is a robot. In line of how we got so far, we&lt;i&gt; (as humans) &lt;/i&gt;want to perfect this even more.&lt;br /&gt;&lt;br /&gt;Assume we end up &lt;b&gt;with&lt;/b&gt; or &lt;b&gt;as&lt;/b&gt; &lt;i&gt;(for all intents and purposes the same here)&lt;/i&gt; a&amp;nbsp;artificial&amp;nbsp;entity (or call it civilization). They will continue this trend, and seed out to the universe in the meanwhile. Some won't survive a&amp;nbsp;catastrophe&amp;nbsp;and crash on some meteor or planet. Dead.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Don´t get me wrong, i am fond of Darwin.&lt;/b&gt;&lt;br /&gt;But one of the things we've seen so far is that nature has rather advanced designs. If you aren't inspired try to understand how every cell in your body has a &lt;a href="http://video.google.co.uk/videosearch?q=dna+replication+site:youtube.com"&gt;copymachine&lt;/a&gt; and &lt;a href="http://video.google.co.uk/videosearch?q=protein%20assembly%20site:youtube.com"&gt;protein assembly line&lt;/a&gt;. Enough youtube video's on that subject. Also don´t forget that some cellular automation appears&amp;nbsp;&lt;a href="http://video.google.co.uk/videosearch?q=dna+replication+site:youtube.com"&gt;irreducible complex&lt;/a&gt;, meaning it we don´t have a model yet for how it may have evolved. There exist a ton of papers on this broad subject, but the video do a better job on explaining this.&lt;br /&gt;&lt;br /&gt;I believe that a artificial entity ends up with what we call now bacteria,&amp;nbsp;viruses&amp;nbsp;and evolution all tied up with attaining the goals of said entity. Forget empathy, if it has to kill 90% of a population it will. It is a machine, it just does its job. Empathy is just some layer we humans made up in our brain chemistry to aid even better survival. All in line with the goals the machine is based on, and the rules of life itself ofcourse.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Full Circle&lt;/span&gt;&lt;br /&gt;Imagine bacteria from the artificial entity got stranded on earth. Resume their goal. Eventually you end up with a smart entity, they make artificial perfection, this artificial perfection ends up much like we know nature today, and it is full circle.&lt;br /&gt;&lt;br /&gt;There's much more to speculate with on this subject, but i'd rather leave you with the thought at hand. That and there´s the stuff that might put people off, its weird enough in this short form.&lt;br /&gt;&lt;br /&gt;This train of thought should have a name.&amp;nbsp;I suggest we call it Circolution, Loopolution, or something i've yet to come up with. Don't beleive ev&lt;span style="text-decoration: underline;"&gt;olution&lt;/span&gt; fits the subject at all, so suggestions are welcome.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;What if? nothing... Consensus would be nice though.&lt;/span&gt;&lt;br /&gt;If this was obvious concept long before you read this article, let me know. This will not lend itself for&amp;nbsp;philosophy&amp;nbsp;without diverging from the issue, nor bar talk.&amp;nbsp;I feel rather alone on this subject.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Nature stems from robots?&lt;/span&gt;&lt;br /&gt;It all seems so logical. Pun intended.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-2747489430210975069?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/2747489430210975069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/11/human-origin-robots.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/2747489430210975069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/2747489430210975069'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/11/human-origin-robots.html' title='Human origin; robots!'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-8419486259570723230</id><published>2009-11-16T21:00:00.000+01:00</published><updated>2009-11-16T21:00:17.127+01:00</updated><title type='text'>Last.FM app for Android</title><content type='html'>It really bugs me that the Last.FM app for Android is not available in the Netherlands. They should know better. There is a fix however:&lt;br /&gt;&lt;br /&gt;So just download the apk file (&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;fm.last.android.1.3.0.apk&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;) at:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.csmarshal.com/android/"&gt;http://www.csmarshal.com/android/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Via:&lt;br /&gt;&lt;a href="http://www.last.fm/group/Last.fm+Android/shoutbox"&gt;http://www.last.fm/group/Last.fm+Android/shoutbox&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-8419486259570723230?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/8419486259570723230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/11/lastfm-app-for-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/8419486259570723230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/8419486259570723230'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/11/lastfm-app-for-android.html' title='Last.FM app for Android'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-3112443330398739279</id><published>2009-11-04T23:52:00.008+01:00</published><updated>2009-11-09T11:25:32.901+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='robotics'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Visual Studio and Resource.resx missing</title><content type='html'>To be more specific i had trouble building the &lt;a href="http://www.forestmoon.com/Software/AX12ArmSample/"&gt;Sample and Library Sources in C#&lt;/a&gt; from Forest Moon Productions. It concerns an API that i wanted to try out.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Errors&lt;/span&gt;&lt;br /&gt;When opening the&amp;nbsp;ArmSample project in Visual Studio 2008 Pro i was met with the following errors:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Warning 1 The custom tool 'ResXFileCodeGenerator' failed while processing the file 'Properties\Resources.resx'.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;When then building in an attempt to run it anyhow it trows two errors:&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Error 1 Metadata file 'C:\Documents and Settings\Staes\Desktop\InternetFiles\ForrestMoonProductions\AX12 sample and library sources in C#\AX12ArmSources\Projects\Joystick\Joystick\bin\Debug\Joystick.dll' could not be found AX12ArmSample&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Error 2 Resource file "Properties\Resources.resx" cannot be found. Joystick&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Warning 3 The custom tool 'ResXFileCodeGenerator' failed while processing the file 'Properties\Resources.resx'.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;These files are not in the archive i downloaded. I&amp;nbsp;reckoned&amp;nbsp;the files got repacked and some are missing now or i use a unsuited IDE version, or i might have some misconfiguration on the Windows XP computer bursting anyway with all the installations of DirectX, DotNetFramework, runtimes, drivers, and whatnot.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: x-large;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Most google searches led me to irrelevant sites, and some suggested altering the .csproj files with Notepad. When i did that just more errors popped up, pulled out anything i got (even Bing.com) and was willing to &amp;nbsp;giveup, figured that a reboot might help and decided to emailed the author weither he saw the problem before.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Minutes later i tried this obvious and simple solution: removing the /Resource.resx files from the project. To be more specific those in AX12ArmSample and JoyStick sub projects. All other errors dissapeared.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size: x-large;"&gt;Priming myself&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Turns out i overlooked those files in the projectbrowser, and went searching for some deep rooted cause that didn´t exist. Its been to long since using Visual Studio, in the old days easy stuff like this didn't cost me 2 cups of caffeine to figure out. I wish i never stopped using it and should have used an easyer project to play catchup with on the IDE. (I'm trying to graph AX12 actuator outputs)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Its late. Time for a nap i guess. Oh crap .. damn caffeine!&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Perhaps i´ll watch &lt;a href="http://www.imdb.com/title/tt0390384/"&gt;Primer&lt;/a&gt; again. On&amp;nbsp;&lt;a href="http://video.google.com/videoplay?docid=3909854615539675694#"&gt;Android&lt;/a&gt;!&amp;nbsp;Use the&amp;nbsp;download link at Google Video while it lasts.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;UPDATE 20091108:&lt;/b&gt;&lt;br /&gt;I mailed &lt;a href="http://forestmoon.com/"&gt;Scott Ferguson&lt;/a&gt; about the missing files in his library, he fixed the download;&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;I added the missing files Resources.resx and Resources.Designer.cs to the Projects\Joystick\Joystick\Properties\ path in the AX12ArmSources.zip file:&lt;br /&gt;&lt;a href="http://www.forestmoon.com/Software/AX12ArmSample/AX12ArmSources.zip"&gt;http://www.forestmoon.com/Software/AX12ArmSample/AX12ArmSources.zip&lt;/a&gt;&lt;br /&gt;Thanks for reporting the issue! Do let me know if you encounter further problems.&lt;br /&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-3112443330398739279?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/3112443330398739279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/11/visual-studio-and-resourceresx-missing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3112443330398739279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/3112443330398739279'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/11/visual-studio-and-resourceresx-missing.html' title='Visual Studio and Resource.resx missing'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-4104561872769773246</id><published>2009-11-03T13:49:00.008+01:00</published><updated>2009-11-05T00:18:16.030+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='movies'/><title type='text'>Daisy, Daisy</title><content type='html'>You either love or hate the movie &lt;a href="http://www.imdb.com/title/tt0062622/"&gt;2001: A Space Odyssey&lt;/a&gt;. I recon that lovers love the `Daisy´ song by HAL, and haters couldn´t stand the low pace of the movie. Despite all differences, most might agree its more art than movie.&lt;br /&gt;&lt;br /&gt;Even i can´t stand its low pace and am unable to watch it for more than 20 minutes. Ok to be fair; except that one time that i had to stay up at midnight, nothing else was on TV, saw it for the first time, and missed the first half hour. Good times, anyone feels like a philosopher at these hours. Either way i enjoyed watching it in 20 minute chunks whenever i felt like it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Inspired by IBM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;today i saw &lt;a href="http://smart-machines.blogspot.com/2009/11/ibm-7094-sings-daisy-bell.html"&gt;this article floating past&lt;/a&gt; (reffering to &lt;a href="http://www.youtube.com/watch?v=41U78QP8nBk"&gt;this Youtube video&lt;/a&gt;) where you hear a computervoice sing a song. All this IBM did in 1961. Some 6 years later it inspired its use in &lt;a href="http://www.imdb.com/name/nm0000040/" onclick="(new Image()).src='/rg/directorlist/position-1/images/b.gif?link=name/nm0000040/';"&gt;Stanley Kubrick&lt;/a&gt;s' movie, and it is only now that i recognize how excelent it suits the movie plot.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;"Daisy Daisy .. Give me your answer do .. I'm half crazy, all for the love of you .. "&lt;br /&gt;&lt;/blockquote&gt;HAL actually is communicating a message. It wants them to answer a question, and remarks that he is overprotecting (half crazy by love!) Dave. I feel stupid by only finding out now, seems i haven´t watched it thoroughly enough. Point is the computer-sung song is an excellent addition to the plot of 2001: A Space Odyssey in multiple ways.&lt;br /&gt;&lt;br /&gt;FYI the description companying above video:&lt;br /&gt;&lt;blockquote&gt;"Daisy Bell" was composed by Harry Dacre in 1892. In 1961, the IBM 7094 became the first computer to sing, singing the song Daisy Bell. Vocals were programmed by John Kelly and Carol Lockbaum and the accompaniment was programmed by Max Mathews. This performance was the inspiration for a similar scene in 2001: A Space Odyssey. &lt;br /&gt;&lt;/blockquote&gt;I should watch 2001 and &lt;a href="http://www.imdb.com/title/tt0086837/"&gt;2010 &lt;/a&gt;again, and come to speak of it: &lt;a href="http://www.imdb.com/title/tt0390384/"&gt;Primer (2004)&lt;/a&gt; is a good science fiction movie. Its plot is mind boggling and intriguing. Avoid &lt;u&gt;any&lt;/u&gt; spoilers (asides from the synopsis) if you plan to watch and enjoy it .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-4104561872769773246?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/4104561872769773246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/11/daisy-daisy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/4104561872769773246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/4104561872769773246'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/11/daisy-daisy.html' title='Daisy, Daisy'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-5111664112090489181</id><published>2009-10-15T15:40:00.003+02:00</published><updated>2009-10-15T21:11:01.555+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hdd-ssd'/><title type='text'>SATA2 backwards compatibility</title><content type='html'>I expected to have my SATA1 HDD's working properly on my SATA2 motherboard, but they didn't. For anyone of interest, here is the&amp;nbsp;answer given by Shuttle&amp;nbsp;support. The&amp;nbsp;(two)&amp;nbsp;problems i experienced are below, and seem directly related to the lack of legacy support. Not that it should support it, i just expected it to. &amp;nbsp;IMHO innovation shouldn´t be hold back by (over the top) legacy support.&lt;br /&gt;&lt;blockquote&gt;Dear Shuttle customer,&lt;br /&gt;&lt;br /&gt;As you wrote your HDDs have the old SATA-150 specification. Many old HDD&lt;br /&gt;have trouble with new SATA-300 controller. Do you have any SATA-300 HDD&lt;br /&gt;for test? First the BIOS have to recognize the HDD correctly.&lt;br /&gt;&lt;br /&gt;After RAID config (that you did not do because your HDDs do not work)&lt;br /&gt;the Windows installation asks for RAID driver. Later you can install&lt;br /&gt;the Matrix Manager in Windows. Necessary for all RAID related driver&lt;br /&gt;and software is the BIOS. The ICH10R has to switched to "RAID" or "AHCI"&lt;br /&gt;mode. If the controller is set to IDE, the driver refuses the install.&lt;br /&gt;&lt;br /&gt;The driver is an original Intel driver. Bugs are not known at present.&lt;br /&gt;&lt;br /&gt;Please don't hesitate to contact us, if you have any other questions.&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;Best Regards&lt;br /&gt;Shuttle Support&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;barry***@****.nl schrieb:&lt;br /&gt;&lt;br /&gt;Contact Information&lt;br /&gt;&lt;br /&gt;Name： Barry Staes&lt;br /&gt;Email： barry***@*******.nl&lt;br /&gt;Location： Netherlands&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Product Information&lt;br /&gt;&lt;br /&gt;Model Name： SX58H7&lt;br /&gt;System ID： sx58h700-B00-13 Serial Number： sx58h700******00044&lt;br /&gt;BIOS： default&lt;br /&gt;Purchased from： alternate.nl Purchased date： 2009/10/08&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Configuration Information&lt;br /&gt;&lt;br /&gt;Item Model Note&lt;br /&gt;CPU model： Intel Core i7 920&lt;br /&gt;Memory model： 6GB&lt;br /&gt;HDD model： Kingston SSDNow V Series 64GB&lt;br /&gt;Display Card model： ASUS&lt;br /&gt;CD ROM model： Atapi IDE&lt;br /&gt;Network Card model： -&lt;br /&gt;OS model： Windows 7&lt;br /&gt;Others： I want to use two Samsung 200GB (SATA150) drives in raid. These get recognized &amp;amp; work fine in any other system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Problems Encountered or Other Notes&lt;br /&gt;Two problems. For starters the system works fine with only SSD in various OS's, and i wanted to attach two HDD's in RAID0 (both Samsung 200GB SATA150) to get more storage.&lt;br /&gt;&lt;br /&gt;Problem #1&lt;br /&gt;I connected these but the bios doesn't mention them, windows doesn't see them.&lt;br /&gt;&lt;br /&gt;So i tried changing the bios setting for the controller from IDE to RAID. After applying the system powers down abruptly and powers up with the new configuration. The first bootscreen takes 10 minutes while trying (failing) to detect AHCI 0 and up. Eventually instead of windows it just resets, and when i pressed DEL in the meanwile the BIOS menu will b presented. Still with the RAID setting though.&lt;br /&gt;If i change it to AHCI, same thing. This is an issue, i'm not able to boot (at all) with these drives working! Disconnecting the SSD doesn't change anything.&lt;br /&gt;&lt;br /&gt;I tried resolving this problem by installing the drives for Windows 7, and visited the support site. The bundled CD had two programs that refused to work. More below.&lt;br /&gt;&lt;br /&gt;Problem #2&lt;br /&gt;I can't install the drivers from the CD, so i tried the website. I select Windows 7 on support page&lt;br /&gt;&lt;a href="http://global.shuttle.com/download03.jsp?PI=1219&amp;amp;OS=7"&gt;http://global.shuttle.com/download03.jsp?PI=1219&amp;amp;OS=7&lt;/a&gt;&lt;br /&gt;and tried the RAID related installations. One throws a "system doesn't meet requirements" error right after launching, the other doesn't have anything Windows 7 recognizes as installable.&lt;br /&gt;&lt;br /&gt;Please address these problems, as i want to run RAID in my SX58H7. Its why i bought this system.&lt;br /&gt;&lt;br /&gt;I am really looking forward to your response as i've hit this wall after owning the Shuttle system for only a few days.&lt;br /&gt;&lt;br /&gt;Any suggestions are welcome. I beleive this might be a bug in the driver installation software.&lt;br /&gt;&lt;br /&gt;Thank you,&lt;br /&gt;Barry Staes&lt;br /&gt;&lt;/blockquote&gt;I might make a&amp;nbsp;habit&amp;nbsp;of putting support information on my blog, if its relevant to most and&amp;nbsp;useful&amp;nbsp;to one soul i´m happy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-5111664112090489181?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/5111664112090489181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/10/sata2-backwards-compatibility.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/5111664112090489181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/5111664112090489181'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/10/sata2-backwards-compatibility.html' title='SATA2 backwards compatibility'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-1261751042618944656</id><published>2009-10-14T18:14:00.004+02:00</published><updated>2009-11-03T19:03:38.473+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hdd-ssd'/><title type='text'>Kingston SSDNow V Series 64GB</title><content type='html'>I'm very happy with my SSD, but decided to backcheck on some stuff with Kingston. We all know SSD´s degrade performance when pages inside the device are full so it won´t stay 100% always, though it always outperform any HDD.&lt;br /&gt;&lt;br /&gt;The Kingston website form required a part number which i didn´t have at hand (its inside the case, afterall) so i got a nice email from Kingston support asking if i had questions. Here was the questions i asked with the answers i received:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;Hello Barry,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;I consulted engineering regarding your questions on our V series SSD drive. &amp;nbsp;Their answers are below.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="im" style="color: #500050;"&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;Q1)&amp;nbsp;Does Kingston offer a utility to restore my drive to its newstate?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;It is known formating a SSD, or deleting its files or partitions won't restore advertised / new-state performance.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;&lt;b&gt;Answer:&lt;/b&gt;&amp;nbsp;No, Kingston at this time does not offer a SSD cleaning tool. However, you can use diskpart from command line (cmd) in Vista or Windows 7 to clean the disk. This will wipe the entire disk and all data.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="im" style="color: #500050;"&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;Q2) Because Q1 is only Will there be a firmware update to support TRIM command found in Windows 7 and later in Linux?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;&lt;b&gt;Answer:&lt;/b&gt;&amp;nbsp;There will not be a firmware update available for the V series SSD's to support TRIM.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="im" style="color: #500050;"&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;Q3) What&amp;nbsp;firmware updates are in the pipeline?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;&lt;b&gt;Answer:&lt;/b&gt;&amp;nbsp;For the current V series, none.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="im" style="color: #500050;"&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;Q4) What exactly is it that makes this disk better than any other without the Toshiba chip?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;&lt;b&gt;Answer:&lt;/b&gt;&amp;nbsp;The controller used on the drive. The controller on any SSD is the key to how well it performs.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="im" style="color: #500050;"&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: sans-serif; font-size: x-small;"&gt;&lt;br /&gt;If you have any other questions or concerns, please feel free to reply to this e-mail with full email history. Thank you for using Kingston on-line technical support.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Matthew Eaton&lt;br /&gt;Kingston Technology&lt;br /&gt;Technical Support&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;If they don't offer TRIM support in the future, this SSD is doomed. Well ok not that bad really, but its not what i expected. So i'd say don't buy this Kingston SSD, for answer #1 alone. The fact that they don't clarify "what" makes the drive better as its their primary sales argument doesn't make things better.&lt;br /&gt;&lt;br /&gt;I want to check out the Intel utility though, so if anyone could pass me the HDDErase tool they bundle with their solid state disks its much appreciated!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update 20091101&lt;/b&gt;: Intel released a firmware update for its SSD line, now suppors TRIM and improved random access speed. Due to it bricking some SSDs' they've withdrawn, but that'll be a matter of time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-1261751042618944656?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/1261751042618944656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/10/kingston-ssdnow-v-series-64gb.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/1261751042618944656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/1261751042618944656'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/10/kingston-ssdnow-v-series-64gb.html' title='Kingston SSDNow V Series 64GB'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-4542011334868622881</id><published>2009-10-14T16:09:00.024+02:00</published><updated>2009-11-03T19:06:09.259+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Coppermine'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>Coppermine duplicate records</title><content type='html'>&lt;div style="margin: 0px;"&gt;If you´ve got duplicate records in Coppermine, but &lt;span style="text-decoration: underline;"&gt;no&lt;/span&gt;&amp;nbsp;duplicate files this article is for you. This query will find all duplicate records, and its easy to do a DELETE on the bad id's. On the least hits duplicate ofcourse, you wouldn't want to lose sweet historical data!&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;I use Coppermine to host a photogallery on &lt;a href="http://veldtoertochtulicoten.nl/"&gt;veldtoertochtulicoten.nl&lt;/a&gt;&amp;nbsp;and after uploading some 400 photos i found out that some where duplicate. Bugger, but easy to rectify i thought. Not! After removing one via the webinterface, i found out that the sourcefile gets deleted as well. No problem, except when your other duplicate is using the that same file!&lt;br /&gt;&lt;br /&gt;There exist other tools, like &lt;a href="http://forum.coppermine-gallery.net/index.php?topic=53254.0"&gt;this commandline PHP script&lt;/a&gt;&amp;nbsp;by remdex found at the Coppermine forum. Nonetheless this was to much of a hassle so i´ve created a simple mysql query to find all duplicates:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;Requirements&lt;/span&gt;&lt;br /&gt;I wanted to know the id of the least visited duplicates, thus preserving the most popular/visited one each time.&amp;nbsp;Its all done in one mysql query, but i left out the delete line. I've got Coppermine Photo Gallery 1.4.14 (stable).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;The mysql query&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;SELECT *&amp;nbsp;FROM (&lt;br /&gt;&lt;br /&gt;SELECT a.pid, a.aid, a.filename, a.hits, a.filepath&lt;br /&gt;FROM cpg14x_pictures AS a&lt;br /&gt;RIGHT JOIN (&lt;br /&gt;&lt;br /&gt;SELECT aid, filepath, filename, COUNT( filename ) AS cnt&lt;br /&gt;FROM cpg14x_pictures AS b&lt;br /&gt;GROUP BY filename&lt;br /&gt;HAVING cnt &amp;gt;1&lt;br /&gt;ORDER BY cnt&lt;br /&gt;&lt;br /&gt;) AS c ON c.filename = a.filename&amp;nbsp;AND c.aid = a.aid&lt;br /&gt;ORDER BY a.aid, a.filename, a.hits DESC&lt;br /&gt;&lt;br /&gt;) AS d&lt;br /&gt;GROUP BY filename&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;If you don't understand the DELETE command (yet) you shouldn't run code this radical. I give no garanties on other databases, or coppermine installations, so validate its output before you insert the delete command and always make a backup first.&lt;br /&gt;&lt;br /&gt;Every pass it only deletes one duplicate, so if you've got triplets or more duplicates you should run it twice or more.&lt;br /&gt;&lt;br /&gt;PS i used &lt;a href="http://www.phpmyadmin.net/"&gt;phpMyAdmin&lt;/a&gt;, if only blogspot.com was so effective! There is no code button here, nor ident. :(&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update 20091103:&lt;/b&gt; Decided to put my comment inside this post to avoid blog migration issues;&lt;br /&gt;&lt;blockquote&gt;How to add delete functionality:&lt;br /&gt;&lt;br /&gt;Replace the (first) line "select * from (" with &lt;br /&gt;"DELETE from cpg14x_pictures where pid IN (&lt;br /&gt;select d.pid from ("&lt;br /&gt;&lt;br /&gt;and add a ")" at the end of this query.&lt;br /&gt;&lt;br /&gt;Remember to backup and test first without deleting! &lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-4542011334868622881?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/4542011334868622881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/10/coppermine-duplicate-records.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/4542011334868622881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/4542011334868622881'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/10/coppermine-duplicate-records.html' title='Coppermine duplicate records'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-2448827642346418827</id><published>2009-10-13T10:40:00.002+02:00</published><updated>2009-10-15T16:20:24.628+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='hdd-ssd'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Bootloaders: Windows 7 and GRUB</title><content type='html'>My recently bought SSD is only 64GB, and i've been toying with all OS's i might like. Sometimes, a bootpartition gets damaged. Here's how to fix it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Restoring the Windows 7 bootloader:&lt;/span&gt;&lt;br /&gt;Since my computer contains only Windows 7 i no longer need GRUB. Its defect anyway since extending the Windows 7 partition, and i like a fast boot so i don't like the countdown menu.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Boot from Windows 7 DVD&lt;/li&gt;&lt;li&gt;Select language&lt;/li&gt;&lt;li&gt;Choose Repair&lt;/li&gt;&lt;li&gt;Choose Windows 7&lt;/li&gt;&lt;li&gt;Choose Command line&lt;/li&gt;&lt;li&gt;Type this in without the quotes ("): "bootrec /fixmbr" and press enter.&lt;/li&gt;&lt;li&gt;Type "bootrec /FixBoot" and press enter.&lt;/li&gt;&lt;li&gt;Restart &lt;/li&gt;&lt;/ul&gt;Ofcourse its also possible to just restore GRUB: check out &lt;a href="http://www.supergrubdisk.org/"&gt;Supergrubdisk&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-2448827642346418827?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/2448827642346418827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/10/windows-7-and-grub.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/2448827642346418827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/2448827642346418827'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/10/windows-7-and-grub.html' title='Bootloaders: Windows 7 and GRUB'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-8971947325896250032</id><published>2009-10-13T10:13:00.029+02:00</published><updated>2009-10-15T16:19:56.785+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workplace'/><category scheme='http://www.blogger.com/atom/ns#' term='hdd-ssd'/><title type='text'>My new i7 workstation</title><content type='html'>If you're just interested in what the configuration of my i7 workstation is, see below. Still reading? Now for some history and introduction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recently i've gotten sick of my old computer getting sick, so i gathered my options. I decided to get myself a new system, the old setup served well for over 5 years. That's a lot for any geek. I liked my system, it was good.&lt;br /&gt;&lt;br /&gt;Now that i've ordered a new system - carefully picked each component by hand - i decided to share the configuration with anyone who cares. I normally wouldn't care at all what kind of system some other person has, that is until i would have to go shopping.&lt;br /&gt;&lt;br /&gt;So this article is for those currently looking for a sexy workstation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Recycling my old workstation&lt;/span&gt;&lt;br /&gt;This setup (Intel Pentium 4 3.2Ghz, 4GB DDR2) would be ideal to join my fileserver (Intel Pentium 4 3.06Ghz, 1GB DDR2) in a yet to be created &lt;a href="http://gluster.org/"&gt;GlusterFS&lt;/a&gt; setup. Its videocard issues won't bother me there, and i have some spare 478 socket motherboards to boot. (pun intended) More on that subject in the following weeks.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;The i7 workstation configuration&lt;/span&gt;&lt;br /&gt;For those interested - i ordered all parts unassembled at &lt;a href="http://alternate.nl/"&gt;Alternate&lt;/a&gt;. The following column lists order#, piece name, price, and months of guarantee.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_GRh-X6IOeSg/Ss8dfHQzgPI/AAAAAAAAA1E/87BwiLxiP2E/s1600-h/alternate.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_GRh-X6IOeSg/Ss8dfHQzgPI/AAAAAAAAA1E/87BwiLxiP2E/s320/alternate.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Or in human readable format:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Shuttle Barebone SX58H7&lt;/li&gt;&lt;li&gt;Intel Core i7 920 @ 2.67Ghz&lt;/li&gt;&lt;li&gt;Kingston SSDNow V Series 64GB&lt;/li&gt;&lt;li&gt;3x 2GB SDRAM DDR31333&lt;/li&gt;&lt;li&gt;Asus EN9400GT 1GB&amp;nbsp;&lt;/li&gt;&lt;li&gt;a Samsung DVD rewriter, a terrific Brother printer, and a powercable i ended up not needing.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;I will motivate each part in a future post using references and experience, but for now its fair to say each has its perks - except for the videocard. I just got a cheap one that doesn't occupy two PCI-E slots which the shuttle case only has two of.&lt;br /&gt;&lt;br /&gt;This system will be a fine home server when retires. Server perks:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;i7 has 8 cores (of which 4 actual cores and 4  virtual by means of hyperthreading)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;6 SATA (of which 3 ESATA) devices in RAID,&lt;/li&gt;&lt;li&gt;two Gigabit pots,&lt;/li&gt;&lt;li&gt;2 PCI-E x16 slots (to facilitate RAID controllers)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;easily allows for homemade air filtration  (= tape + some hospital-ish paper cloth on inside of case),&amp;nbsp;&lt;/li&gt;&lt;li&gt;effective cooling,&lt;/li&gt;&lt;li&gt;tried and tested components.&lt;/li&gt;&lt;/ul&gt;But until then my workstation sits on my desk, so add:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Small, portable, fast, quiet,&lt;/li&gt;&lt;li&gt;and (very important to me) plenty of multimonitor possibilities.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;If you are looking for a workstations with fitting demands, i suggest this configuration. You might want to add a big HDD for storage capacity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-8971947325896250032?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/8971947325896250032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/10/my-new-i7-workstation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/8971947325896250032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/8971947325896250032'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/10/my-new-i7-workstation.html' title='My new i7 workstation'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_GRh-X6IOeSg/Ss8dfHQzgPI/AAAAAAAAA1E/87BwiLxiP2E/s72-c/alternate.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-8298568618227746978</id><published>2009-09-28T23:59:00.002+02:00</published><updated>2009-09-29T00:05:53.664+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='memo'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Paper scan unscrewing and straightening</title><content type='html'>If you &lt;i&gt;(like me)&lt;/i&gt; like taking quick pictures &lt;i&gt;(writing stuff down is not my hobby)&lt;/i&gt; with your cellphone for later reference you might also regret the bad quality that one most often meets when taking a quick snapshot or memo of a memo, letter or a whole document.&lt;br /&gt;&lt;br /&gt;Some times you simply need a proper scanned document, yet have no flatbed scanner at hand. Or later realize this quick memo has to be redistributed or touched up and look good. Can you do it without a flatbed scanner?&lt;br /&gt;&lt;br /&gt;Yes, your mobile camera will do! There are tools that unscrew and straighten your document photo or scan. These tools where built for digitizing books and the necessary restoring of paper scans;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://scantailor.sourceforge.net/"&gt;Scan Tailor&lt;/a&gt;&lt;br /&gt;Scan Tailor has a rather rudementary GUI and may suit most needs. Especially when working with attended restorations: you can see and tweak the scanned pages.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://unpaper.berlios.de/"&gt;Unpaper&lt;br /&gt;&lt;/a&gt;Unpaper as an Linux commandline application this might not be very userfriendly, but it saves the day ..every day.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Also, if once feels inclined these are easily integrated or ported to Android application. Did i mention i love Android?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-8298568618227746978?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/8298568618227746978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/09/paper-scan-unscrewing-and-straightening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/8298568618227746978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/8298568618227746978'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/09/paper-scan-unscrewing-and-straightening.html' title='Paper scan unscrewing and straightening'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-6132819914473158378</id><published>2009-09-25T13:12:00.010+02:00</published><updated>2009-10-10T13:58:13.983+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing VLC 1.0 on Ubuntu 9.04 (Jaunty)</title><content type='html'>By default the jaunty repository maintained by Canonical doesn't include the latest VLC release. Bummer! Yet very easy to overcome.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;UPDATE 20091010: &lt;/b&gt;Found a better method:&lt;br /&gt;&lt;a href="http://ubuntumanual.org/posts/195/install-all-new-vlc-1-0-in-ubuntu-jaunty-intrepid-hardy"&gt;http://ubuntumanual.org/posts/195/install-all-new-vlc-1-0-in-ubuntu-jaunty-intrepid-hardy&lt;/a&gt;&lt;br /&gt;Never mind the rambling below. &lt;br /&gt;&lt;br /&gt;&lt;strike&gt;To install VLC and other affected applications enable the "Third Party Software" repositories:&lt;/strike&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strike&gt;start Synaptec Package Manager, find it at System &amp;gt; Administration&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;open Repository Settings, via Settings &amp;gt; Repository&lt;/strike&gt;&lt;/li&gt;&lt;li&gt;&lt;strike&gt;open the tab "Third-Party Software" and check the two default items;&lt;/strike&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;strike&gt;http://archive.canonical.com/ubuntu jaunty partner&lt;/strike&gt;&lt;br /&gt;&lt;strike&gt;http://archive.canonical.com/ubuntu jaunty partner (Source Code)&lt;/strike&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;strike&gt;Apply your settings, and choose Reload. Done!&lt;/strike&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;You may now search for the latest version of your favorite non-Canonical-maintained application, and it should still show up.&lt;br /&gt;&lt;br /&gt;Thats all folks, easy as pumpkin pie. And i don't even like pumpkin pie.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-6132819914473158378?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/6132819914473158378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/09/installing-vlc-10-on-ubuntu-904-jaunty.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/6132819914473158378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/6132819914473158378'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/09/installing-vlc-10-on-ubuntu-904-jaunty.html' title='Installing VLC 1.0 on Ubuntu 9.04 (Jaunty)'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-5939555319186931822</id><published>2009-09-23T00:05:00.026+02:00</published><updated>2009-10-05T22:36:36.928+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='workplace'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Multi/Dual monitor setup with Synergy</title><content type='html'>Today my workplace was below par: my dual monitor workstation was defect and i even forgot my Acer notebook. What should i do?&lt;br /&gt;&lt;br /&gt;All i had to work with was this pile of retired rackservers that i tend to accumulate. These wheren't up to speed, so i decided to strap them together and make the most out of it. I wanted to use these as a more powerfull (multimonitor) workstation. So i installed the latest Ubuntu &lt;a href="http://twitgoo.com/3dg5f"&gt;on two of them&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Then i remembered learning about &lt;a href="http://synergy2.sourceforge.net/"&gt;Synergy&lt;/a&gt; years ago.&lt;br /&gt;&lt;blockquote&gt;Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware.  It's intended for users with multiple computers on their desk since each system uses its own monitor(s). - Synergy sourceforge website&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Hearing lots of people had trouble setting getting it to work, here is a short (Ubuntu) howto.&amp;nbsp; &lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Install QuickSynergy on all systems&lt;/b&gt;&lt;br /&gt;Synaptec Packet Manager should work, otherwise try this method: Applications &amp;gt; Add/Remove, now choose "Show: All available applications", and search for QuickSynergy, check it in the list, and click Apply.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Run QuickSynergy on host&lt;/b&gt;&lt;br /&gt;This is the workstation that has the mouse and keyboard connected. Pick the most powerfull machine.&lt;br /&gt;Enter the &lt;strike&gt;IP&lt;/strike&gt; hostname of the client in the directional box of your choice. (Moving through this edge makes your mouse spawn on said computer.)&lt;br /&gt;Click the Execute button.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Run QuickSynergy on client(s)&lt;/b&gt;&lt;br /&gt;Enter the IP address of the host in the Use tab.&lt;br /&gt;Click the Execute button.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Done&lt;/b&gt;&lt;br /&gt;Move the mouse to the edge of the host screen - it should now appear on the client screen! &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;I still prefer &lt;a href="http://www.compiz.org/"&gt;Compiz&lt;/a&gt; on Ubuntu, but this is the next best thing. Especially if you can trow hardware at the problem. Now i MacGyvered myself a decent workplace.&lt;br /&gt;&lt;br /&gt;Expect a howto on permanent Synergy setup, so you wont have to reconnect after each reboot. Oh and Synergy works across all mayor platforms. Its terrific! Check their site.&lt;br /&gt;&lt;br /&gt;Also, i've given up on my workstations hardware problems. The AGP card used to work fine after kicking the machine once or twice... the last fourty didn't make a difference. Except for the satisfaction.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update 20091005: &lt;/b&gt;Adjusted article; i discovered that entering the clients' hostname (instead of IP) on the host (see 2nd step) is more successful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-5939555319186931822?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/5939555319186931822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/09/dual-monitor-setup-with-synergy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/5939555319186931822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/5939555319186931822'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/09/dual-monitor-setup-with-synergy.html' title='Multi/Dual monitor setup with Synergy'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-2252293204646050612</id><published>2009-09-21T14:47:00.003+02:00</published><updated>2009-09-23T00:34:06.452+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='robotics'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Use the CM5 as USB2Dynamixel</title><content type='html'>Without a €60 USB2Dynamixel you'd have to control the AX12 via the CM5. Luckely it has a "TossMode" that makes it behave much like a USB2Dynamixel. This saved my day while my USB2Dynamixel is on order.&lt;br /&gt;&lt;br /&gt;How to enable TossMode:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Connect the CM5 to power and serial PC cable.&lt;/li&gt;&lt;li&gt;Launch "Robot Terminal". (part of the Bioloid software supplied by Robotis)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the CM5, select mode "Manage" and press start.&lt;/li&gt;&lt;li&gt;The robot terminal should display some text the CM5 send, and you might want to type "help". But we won't. &lt;br /&gt;In the terminal, pres "t" and hit enter. The CM5 responds with "tossmode", and you're good to go.&lt;/li&gt;&lt;li&gt;Free the serial port on your PC by closing the "Robot Terminal".&lt;/li&gt;&lt;/ul&gt;You may now use the CM5 as if it is a USB2Dynamixel. For example start "Dynamixel Commander" and connect on the same COM port and BAUD. (default is COM1 and 57600kbps)&lt;br /&gt;&lt;br /&gt;Please share your experiences! &lt;br /&gt;&lt;br /&gt;Note that some USB2Dynamixel software (including those using the supplied API and libraries) won't work due its builtin FTDI (the USB&amp;gt;serial chip) driver thats pretty useless here. Only stuff that directly adresses the AX12 on a serial port will. See the AX12 manual on how to construct these raw-byte packages.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-2252293204646050612?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/2252293204646050612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/09/use-cm5-as-usb2dynamixel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/2252293204646050612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/2252293204646050612'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/09/use-cm5-as-usb2dynamixel.html' title='Use the CM5 as USB2Dynamixel'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry><entry><id>tag:blogger.com,1999:blog-3531800709364405806.post-4566273856940873159</id><published>2009-09-21T14:38:00.000+02:00</published><updated>2009-09-21T14:38:56.542+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='robotics'/><title type='text'>Introduction to Bioloid and the AX12</title><content type='html'>The Bioloid kit (by &lt;a href="http://robotis.com/"&gt;Robotis&lt;/a&gt;) exists mostly of brackets, AX12 actuators and a CM5 containing a microprocessor. For years i wanted to dab with it - yet hold it off - i was afraid the distraction might hurt my study or income.&lt;br /&gt;&lt;br /&gt;The "comprehensive" Bioloid kit costs roughly €800 and is a bargeon considering you get 18 AX12's usually going for €50 each. Recently i got donated two AX12 with mechanical problems, and borrowed another AX12 + a CM5 to complete an assignment.&lt;br /&gt;&lt;br /&gt;Eventually i just want a decent robotics hardware platform to program for. The feedback the AX12 has (temperature, load, torque) combined with the intelligent control it offers (variable compliance, calibration, angle limitations, accelleration and speed) give it some serious punch over the next best thing: regular servo's.&lt;br /&gt;&lt;br /&gt;Best thing here is that the AX12 has a family (Dynamixel) so if my software works on the AX12, i can easily scale up to more powerfull actuators by Robotis. I'm waiting for the day my desktop spider transforms to a road-legal contraption or autonomous "Disney" experience.&lt;br /&gt;&lt;br /&gt;For more on the AX12 see the &lt;a href="http://crustcrawler.com/"&gt;crustcrawler.com&lt;/a&gt; website, they've have all specs listed conveniently with a nice resources overview.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3531800709364405806-4566273856940873159?l=barrystaes.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barrystaes.blogspot.com/feeds/4566273856940873159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://barrystaes.blogspot.com/2009/09/introduction-to-bioloid-and-ax12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/4566273856940873159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3531800709364405806/posts/default/4566273856940873159'/><link rel='alternate' type='text/html' href='http://barrystaes.blogspot.com/2009/09/introduction-to-bioloid-and-ax12.html' title='Introduction to Bioloid and the AX12'/><author><name>Barry Staes</name><uri>http://www.blogger.com/profile/01164451857261260383</uri><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></entry></feed>
