<?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:blogger='http://schemas.google.com/blogger/2008' 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-8667648181303629392</id><updated>2024-10-10T07:15:53.189+11:00</updated><title type='text'>rvdavid: PHP, MySQL, JavaScript Developer; Ubuntu Linux User</title><subtitle type='html'>I am a Web Developer and this is my blog on Web Development. Read it.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-1539181711633922328</id><published>2012-07-13T19:23:00.001+10:00</published><updated>2012-07-13T19:23:14.456+10:00</updated><title type='text'>The Service Layer: How I understand it</title><content type='html'>There are several articles and posts out there regarding what a Service Layer is. I&#39;m going to throw my two cents in as to what my interpretation of the Service Layer is.&lt;br /&gt;&lt;br /&gt;Whenever I am in conversations with other devs or giving presentations about the Service Layer, I convey the following points:&lt;br /&gt;&lt;br /&gt;A Service Class is primarily “just another object”.&lt;br /&gt;&lt;br /&gt;When I had first started reading up on this my mind was flooded with several definitions which are all true and “click” after you understand what the Service Layer actually does. Start off thinking of a Service Classes as a normal&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/the-service-layer-how-i-understand-it/&quot;&gt;more info on rvdavid.net&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/1539181711633922328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2012/07/service-layer-how-i-understand-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/1539181711633922328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/1539181711633922328'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2012/07/service-layer-how-i-understand-it.html' title='The Service Layer: How I understand it'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-1463240180867352081</id><published>2012-07-11T22:29:00.001+10:00</published><updated>2012-07-11T22:29:26.200+10:00</updated><title type='text'>The Service Layer Series</title><content type='html'>It&#39;s been a while since I&#39;ve posted, but this is not going to be about this topic today. This blog has been the one constant in my development career from when I could sink my teeth in enough into it to be good enough according to my intrinsic metrics to have an opinion (and think it matters) and I intend to keep it going.&lt;br /&gt;&lt;br /&gt;As with any autodidactic programmer, I may mix up some concepts. To be quite honest, the more and more I use the Service Layer, the more it looks like an actual extension of the Model Layer than an actual layer that exists in between the model and it&#39;s clients.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/the-service-layer-series/&quot;&gt;more info on rvdavid.net&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/1463240180867352081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2012/07/service-layer-series.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/1463240180867352081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/1463240180867352081'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2012/07/service-layer-series.html' title='The Service Layer Series'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-3844007453320591575</id><published>2011-11-13T05:28:00.001+11:00</published><updated>2011-11-13T05:28:39.896+11:00</updated><title type='text'>How to watch a log file in realtime in Ubuntu Linux</title><content type='html'>There are times when I&#39;m debugging code on a linux box that I want to see what&#39;s being logged by a Web Site or Web Application. What I used to have to do was do something on the website, then open up a terminal in Ubuntu (or any other linux distro for that matter) and view the logfile with either vim, nano, cat | less or gvim.&lt;br /&gt;&lt;br /&gt;How I used text editors to do it&lt;br /&gt;I use VIM as my default text editor on Ubuntu or any other linux distros (such as redhat, centos, debian, linux mint) that I work on.&lt;br /&gt;&lt;br /&gt;A few weeks from now I used to use vim to open the log file, then the :e (edit) command to&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/how-to-watch-a-log-file-in-realtime-in-ubuntu-linux/&quot;&gt;view your log file in real time on ubuntu&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/3844007453320591575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2011/11/how-to-watch-log-file-in-realtime-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/3844007453320591575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/3844007453320591575'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2011/11/how-to-watch-log-file-in-realtime-in.html' title='How to watch a log file in realtime in Ubuntu Linux'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-6553493214812880427</id><published>2011-01-03T16:24:00.001+11:00</published><updated>2011-01-03T16:24:34.715+11:00</updated><title type='text'>How to fix phpmyadmin error: &amp;quot;Connection for controluser as defined in your configuration failed&amp;quot;</title><content type='html'>&quot;Connection for controluser as defined in your configuration failed&quot; It&#39;s one of those small, annoying messages that appear out of the way on your screen, but still catches your eye once in a while especially when you&#39;re deep in thought about how to building a multi-join query in the SQL tab of phpmyadmin.&lt;br /&gt;&lt;br /&gt;Well, it annoyed me today so much that I finally decided to do something about it and finally take a look. I opened up the PHPMyAdmin config file located at /etc/phpmyadmin/config-db.php  on Ubuntu Maverick Meerkat. There&#39;s a default username and password in $dbuser and $dbpass&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/how-to-fix-phpmyadmin-error-connection-for-controluser-as-defined-in-your-configuration-failed/&quot;&gt;Fix &quot;Connection for controluser as defined in your configuration failed&quot; in PHPMyAdmin on Ubuntu.&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/6553493214812880427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2011/01/how-to-fix-phpmyadmin-error-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/6553493214812880427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/6553493214812880427'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2011/01/how-to-fix-phpmyadmin-error-for.html' title='How to fix phpmyadmin error: &amp;quot;Connection for controluser as defined in your configuration failed&amp;quot;'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-5342389497361664552</id><published>2010-12-16T12:40:00.001+11:00</published><updated>2010-12-16T12:40:06.627+11:00</updated><title type='text'>ContentPane in dojo not loading scripts? This is how you fix it.</title><content type='html'>I was planning on writing my first enquiry on how to do something in dojo, but just before I pressed the submit button, I thought I&#39;d look into one more thing and as the saying goes - &quot;it&#39;s always in the last place you look&quot; (probably because you stop looking after you find whatever it is you&#39;re looking for).&lt;br /&gt;&lt;br /&gt;So the problem I had was that I wanted to load a datagrid inside a contentPane in a pet project my newbie friends and I are using to sharpen our Zend Framework skillz.&lt;br /&gt;&lt;br /&gt;I&#39;ve been idle (and will continue to be for the rest of the year) so all my tickets are pretty much at a stand&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/contentpane-in-dojo-not-loading-scripts-this-is-how-you-fix-it/&quot;&gt;ContentPane in dojo not loading scripts or dijits in zend framework&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/5342389497361664552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/12/contentpane-in-dojo-not-loading-scripts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/5342389497361664552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/5342389497361664552'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/12/contentpane-in-dojo-not-loading-scripts.html' title='ContentPane in dojo not loading scripts? This is how you fix it.'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-5910499052553990197</id><published>2010-12-10T23:43:00.001+11:00</published><updated>2010-12-10T23:43:32.379+11:00</updated><title type='text'>Happy Holidays everyone -- Winding down to hiatus mode.</title><content type='html'>Well, as fast as my wheels were turning for the past few weeks, I&#39;ve decided to slow down for the holiday season and spend some time with the family.&lt;br /&gt;&lt;br /&gt;To me, there is nothing better than _quality_ time with family - big emphasis on &quot;quality&quot; because when I&#39;m in work mode, I&#39;m always half thinking about work even when I&#39;m sitting on the couch watching TV.&lt;br /&gt;&lt;br /&gt;For me, now is the time to not think about work and spend time with, and think about what I&#39;m really working for. This is also a good time to reflect on my goals for next year.&lt;br /&gt;&lt;br /&gt;On a final note for 2010, I&#39;d like to wish you all a Merry&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/happy-holidays-everyone-winding-down-to-hiatus-mode/&quot;&gt;more info on rvdavid.net&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/5910499052553990197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/12/happy-holidays-everyone-winding-down-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/5910499052553990197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/5910499052553990197'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/12/happy-holidays-everyone-winding-down-to.html' title='Happy Holidays everyone -- Winding down to hiatus mode.'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-2752811543646974795</id><published>2010-12-04T04:46:00.001+11:00</published><updated>2010-12-04T04:46:51.095+11:00</updated><title type='text'>Analysis Paralysis: In a quest for perfection, I manage to achieve nothing</title><content type='html'>This was supposed to be a live coding note, but it just turned into something else. No ground breaking news, no new concept which will make you go &quot;hmmm&quot;, just a guy kicking himself - you can safely ignore this frustrated post if you aren&#39;t in the mood to read about how much an idiot I think I am :P&lt;br /&gt;&lt;br /&gt;It&#39;s been a mixture of Tunnel Vision, NIH Syndrom and Analysis paralysis that had me living in a haze of trying to implement DataMappers ala Zend Quickstart Guide on and off, for the past 4 weeks.&lt;br /&gt;&lt;br /&gt;I even wrote the Unit Tests and everything for this project I&#39;ve taken part in called&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/analysis-paralysis-in-a-quest-for-perfection-i-manage-to-achieve-nothing/&quot;&gt;I found ZF doctrine provider at the end of Analysis Paralysis&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/2752811543646974795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/12/analysis-paralysis-in-quest-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/2752811543646974795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/2752811543646974795'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/12/analysis-paralysis-in-quest-for.html' title='Analysis Paralysis: In a quest for perfection, I manage to achieve nothing'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-3020411722279892602</id><published>2010-11-30T02:59:00.001+11:00</published><updated>2010-11-30T02:59:13.730+11:00</updated><title type='text'>Unit testing with Live Databases and/or How do I use Mock Objects?</title><content type='html'>This is another live coding note. I&#39;ve found my rhythm with TDD and currently bashing away at some unit tests for the Models and Service layers for a project I&#39;m working on.&lt;br /&gt;&lt;br /&gt;In tonights post, I&#39;m going to write about how I get around with Unit Testing live databases.&lt;br /&gt;Unit Testing with Live Databases&lt;br /&gt;For my unit tests, I&#39;m currently working with a live test database since I don&#39;t fully understand the &quot;power&quot; of mock objects. If you have any links out there that&#39;s worth noting, please be a friend and &quot;link me&quot;. I&#39;m not going to pretend that I know everything and anything about Web&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/unit-testing-with-live-databases-andor-how-do-i-use-mock-objects/&quot;&gt;unit testing with mysql test database, mock objects&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/3020411722279892602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/unit-testing-with-live-databases-andor_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/3020411722279892602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/3020411722279892602'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/unit-testing-with-live-databases-andor_29.html' title='Unit testing with Live Databases and/or How do I use Mock Objects?'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-8603320715104201778</id><published>2010-11-30T02:52:00.001+11:00</published><updated>2010-11-30T02:52:34.915+11:00</updated><title type='text'>Unit testing with Live Databases and/or How do I use Mock Objects?</title><content type='html'>This is another live coding note. I&#39;ve found my rhythm with TDD and currently bashing away at some unit tests for the Models and Service layers for a project I&#39;m working on.&lt;br /&gt;&lt;br /&gt;In tonights post, I&#39;m going to write about how I get around with Unit Testing live databases.&lt;br /&gt;Unit Testing with Live Databases&lt;br /&gt;For my unit tests, I&#39;m currently working with a live test database since I don&#39;t fully understand the &quot;power&quot; of mock objects. If you have any links out there that&#39;s worth noting, please be a friend and &quot;link me&quot;. I&#39;m not going to pretend that I know everything and anything about Web&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/unit-testing-with-live-databases-andor-how-do-i-use-mock-objects/&quot;&gt;more info on rvdavid.net&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/8603320715104201778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/unit-testing-with-live-databases-andor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/8603320715104201778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/8603320715104201778'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/unit-testing-with-live-databases-andor.html' title='Unit testing with Live Databases and/or How do I use Mock Objects?'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-7398031417288773379</id><published>2010-11-27T03:04:00.009+11:00</published><updated>2010-11-27T03:04:41.317+11:00</updated><title type='text'>How to Get Gigabit Speeds from RTL8111/8168B PCI Express Gigabit Ethernet controller on Ubuntu Linux</title><content type='html'>Do a quick lspci. Now do you see: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) for your Ethernet controller?&lt;br /&gt;&lt;br /&gt;If so and your network connection information is reporting that your speed is 100 Mb/s rather than 1000 Mb/s, then you MIGHT be using the r8619 driver rather than the CORRECT r8168!&lt;br /&gt;&lt;br /&gt;This is what I experienced when I had recently hooked my network up at home. I bought a ReadyNas Duo and updated my network switches to gigabit speeds with two D-Link Gigabit switches.&lt;br /&gt;&lt;br /&gt;The expected Gigabit speeds 30 - 40 MB/s did not come. Instead I&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/how-to-get-gigabit-speeds-from-rtl81118168b-pci-express-gigabit-ethernet-controller-on-ubuntu-linux/&quot;&gt;gigabit speeds fixing r8168 and r8169 realtek NIC&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/7398031417288773379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/how-to-get-gigabit-speeds-from_26.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/7398031417288773379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/7398031417288773379'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/how-to-get-gigabit-speeds-from_26.html' title='How to Get Gigabit Speeds from RTL8111/8168B PCI Express Gigabit Ethernet controller on Ubuntu Linux'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-8920155142836191194</id><published>2010-11-27T03:04:00.007+11:00</published><updated>2010-11-27T03:04:34.311+11:00</updated><title type='text'>How I refactored my Service Class to be &amp;quot;Separation of Concerns&amp;quot; Compliant.</title><content type='html'>I&#39;m developing this web application where a users actions is logged at certain places. I initially wrote the logging features into the Main Users Service. I&#39;m currently looking at it now and will be refactoring out the functionality to separate concerns. While to me, at the time, logging a Users action is from a natural standpoint looked like it belonged to the Users service, a more thorough look at it made it clear that the Logging functionality should be it&#39;s own Service.&lt;br /&gt;Don&#39;t see where the mix up of concerns is?&lt;br /&gt;Here&#39;s a list of functionality my Users Service class&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/how-i-refactored-my-service-class-to-be-separation-of-concerns-compliant/&quot;&gt;php model service class layer refactoring&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/8920155142836191194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/how-i-refactored-my-service-class-to-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/8920155142836191194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/8920155142836191194'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/how-i-refactored-my-service-class-to-be.html' title='How I refactored my Service Class to be &amp;quot;Separation of Concerns&amp;quot; Compliant.'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-7313878919844797496</id><published>2010-11-27T03:04:00.005+11:00</published><updated>2010-11-27T03:04:26.357+11:00</updated><title type='text'>Dojo&amp;#39;s IndirectSelection plugin for the Enhanced Datagrid is deceptively unuseful.</title><content type='html'>One of the requirements for a project I&#39;m working on is the ability to send emails to selected rows in the datagid. I thought no problem, the IndirectSelection plugin of the EnhancedGrid should be able to handle that semantically! Reading the API and when I initially tried it out I saw the neat little checkboxes as the first column. &quot;Phoar! Checkboxes!&quot; I swear those CBs had a glow around it and I could hear a choir singing in the background (&quot;haaaaaaaaaaaaaa, easy fix for a requiremeeeeeeeeeeennnnnnnnnnnnnnt&quot;).&lt;br /&gt;&lt;br /&gt;Then I tried submitting with a bunch of rows selected. It was then clear to me&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/dojos-indirectselection-plugin-for-the-enhanced-datagrid-is-deceptively-unuseful/&quot;&gt;Dojo IndirectSelection Javascript datagrid plugin&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/7313878919844797496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/dojo-indirectselection-plugin-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/7313878919844797496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/7313878919844797496'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/dojo-indirectselection-plugin-for.html' title='Dojo&amp;#39;s IndirectSelection plugin for the Enhanced Datagrid is deceptively unuseful.'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-4019927608280583204</id><published>2010-11-27T03:04:00.003+11:00</published><updated>2010-11-27T03:04:19.908+11:00</updated><title type='text'>Ubuntu CD Burning: Brassero is OUT; GnomeBaker is IN</title><content type='html'>I am using Ubuntu 10.10 Maverick Meerkat as my desktop OS and enjoying all the wonderful stability and great hardware support that has been steadily built by the Ubuntu Development team and Linux in general up to this point.&lt;br /&gt;&lt;br /&gt;So when I tried to burn a Data CD of pictures to give to give to one of my colleagues who was on his way out, I was irritated by Brassero&#39;s buggyness. Brassero, the default burning program used in Ubuntu 10.10 (perhaps other distributions before) was good before. I don&#39;t know why all of a sudden it would burn the entire CD and then report in the end that it could not&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/ubuntu-cd-burning-brassero-is-out-gnomebaker-is-in/&quot;&gt;Ubuntu Linux CD Burning Software&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/4019927608280583204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/ubuntu-cd-burning-brassero-is-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/4019927608280583204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/4019927608280583204'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/ubuntu-cd-burning-brassero-is-out.html' title='Ubuntu CD Burning: Brassero is OUT; GnomeBaker is IN'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-4596633436475001815</id><published>2010-11-27T03:04:00.001+11:00</published><updated>2010-11-27T03:04:04.619+11:00</updated><title type='text'>To copy and paste or not to copy and paste; adventures in unit testing</title><content type='html'>Yesterday evening. I started my next coding session. I contemplated the validity of copying and pasting unit tests that have similar functionality, but for totally different domains.&lt;br /&gt;&lt;br /&gt;I have developed Service classes for a certain module and I can see this functionality the application of this functionality being similar accross the board. Functionality such as CRUD, Search and Search Result Count etc.&lt;br /&gt;&lt;br /&gt;The only things that will be different would be the models it uses which will subsequently be using different DB Tables, but yeah... practically the same methods.&lt;br /&gt;&lt;br /&gt;I&#39;ll sit on this for a&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/to-copy-and-paste-or-not-to-copy-and-paste-adventures-in-unit-testing/&quot;&gt;unit testing copy and paste&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/4596633436475001815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/to-copy-and-paste-or-not-to-copy-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/4596633436475001815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/4596633436475001815'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/to-copy-and-paste-or-not-to-copy-and.html' title='To copy and paste or not to copy and paste; adventures in unit testing'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-6057453119717330300</id><published>2010-11-27T03:02:00.001+11:00</published><updated>2010-11-27T03:02:23.173+11:00</updated><title type='text'>New Category: Live Coding Notes</title><content type='html'>Ok, I know, I&#39;ve been slack.. It&#39;s been several months since my last post and that last one was a tip on how to fix gnome keyring. Now based on how I&#39;ve been on twitter and lack of activity on this blog, I guess you could say that I&#39;ve not been doing anything at all or doing too much.&lt;br /&gt;&lt;br /&gt;Well, it&#39;s a mixture of both really, I really, _really_ want to make a post, but then become too busy. Once I&#39;ve finished what I was doing (after several days), I just want to not do anything.&lt;br /&gt;&lt;br /&gt;Anyway, those days are no more, I&#39;m creating a new category called &quot;Live coding notes&quot; and it will be notes that&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/new-category-live-coding-notes/&quot;&gt;blog posting strategy&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/6057453119717330300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/new-category-live-coding-notes_26.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/6057453119717330300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/6057453119717330300'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/new-category-live-coding-notes_26.html' title='New Category: Live Coding Notes'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-4471780990717685562</id><published>2010-11-27T02:54:00.001+11:00</published><updated>2010-11-27T02:54:19.950+11:00</updated><title type='text'>Fixing Gnome keyring / Login Keyring: &amp;quot;Enter Password to Unlock&amp;quot; issue</title><content type='html'>Hi everyone, this is just a quick how-to on handling the Ubuntu Maverick/Gnome Login Keyring issue which occurs when you change your user password.&lt;br /&gt;&lt;br /&gt;The issue: You&#39;ve decided to change your password for whatever reason and suddenly you&#39;re presented with the following message whenever you launch an application you have instructed to &quot;remember&quot; your password.&lt;br /&gt;&lt;br /&gt;Enter password to unlock your login keyring&lt;br /&gt;The password you use to log in to your computer no longer matches that of your login keyring.&lt;br /&gt;&lt;br /&gt;This is how you fix it: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Go to System &amp;gt;&amp;gt; Preferences &amp;gt;&amp;gt; Passwords&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/fixing-gnome-keyring-login-keyring-enter-password-to-unlock-issue/&quot;&gt;gnome keyring fix on ubuntu&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/4471780990717685562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/fixing-gnome-keyring-login-keyring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/4471780990717685562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/4471780990717685562'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/fixing-gnome-keyring-login-keyring.html' title='Fixing Gnome keyring / Login Keyring: &amp;quot;Enter Password to Unlock&amp;quot; issue'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-3159668392263662761</id><published>2010-11-27T02:41:00.001+11:00</published><updated>2010-11-27T02:41:15.487+11:00</updated><title type='text'>Setting TTY / Virtual Consoles resolution with Grub 2 in Ubuntu Lucid Lynx</title><content type='html'>I&#39;ve been using Ubuntu for a while now and something that bugged me a lot was the crappy screen resolution whenever I had to go and use my virtual terminals (TTY).&lt;br /&gt;&lt;br /&gt;In previous versions of ubuntu which used grub 1, setting up the resolution for tty was done by simply using the vga=??? boot option. In grub 2 however, this is not so easy.&lt;br /&gt;&lt;br /&gt;I remember when it first came out. I was somewhat exasperated by the fact that I had _just_ become comfortable f*cking with grub&#39;s menu.lst and now I had to learn how to use grub 2 - which had some new convention for editing menu items let alone setting&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/setting-tty-virtual-consoles-resolution-with-grub-2-in-ubuntu-lucid-lynx/&quot;&gt;tty virtual console size ubuntu linux&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/3159668392263662761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/setting-tty-virtual-consoles-resolution_26.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/3159668392263662761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/3159668392263662761'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/setting-tty-virtual-consoles-resolution_26.html' title='Setting TTY / Virtual Consoles resolution with Grub 2 in Ubuntu Lucid Lynx'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8667648181303629392.post-7828000061489655821</id><published>2010-11-26T23:43:00.001+11:00</published><updated>2010-11-26T23:43:30.130+11:00</updated><title type='text'>Just when I needed it the most, my weapon of rapid web development goes nuts!</title><content type='html'>Today was an absolute sh*t fight. Starting from an entire morning where after I experienced several crashes with Visual Studio Express, that I thought I&#39;d try the full version.&lt;br /&gt;&lt;br /&gt;To do this though, I had to expand my VMWare virtual disk. So a quick:&lt;br /&gt;&lt;br /&gt;vmware-vdiskmanager -x 45GB windevxp.vmdk&lt;br /&gt;&lt;br /&gt;... and my virtual disk is now 45GBs! - I then had to resize the windows partition. I&#39;ll post more on this straight after this post.&lt;br /&gt;&lt;br /&gt;So with that done, I&#39;m set to install Visual Studio, I thought yeah it should take about 5 - 10 miuntes...&lt;br /&gt;&lt;br /&gt;BOY WAS I WRONG! &lt;br /&gt;&lt;br /&gt;The installation took like 2 - 3&lt;p&gt;&lt;a href=&quot;http://www.rvdavid.net/just-when-i-needed-it-the-most-my-weapon-of-rapid-web-development-goes-nuts/&quot;&gt;Read more ...&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;For more posts, visit http://www.rvdavid.net&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rvdavidx.blogspot.com/feeds/7828000061489655821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/just-when-i-needed-it-most-my-weapon-of_26.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/7828000061489655821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8667648181303629392/posts/default/7828000061489655821'/><link rel='alternate' type='text/html' href='http://rvdavidx.blogspot.com/2010/11/just-when-i-needed-it-most-my-weapon-of_26.html' title='Just when I needed it the most, my weapon of rapid web development goes nuts!'/><author><name>rvdavid</name><uri>http://www.blogger.com/profile/02127055593556797334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://1.bp.blogspot.com/_V-mJqL3RZjo/S1retf3rLcI/AAAAAAAAABw/D8p9wBJC_7k/S220/rvdavid.jpg'/></author><thr:total>0</thr:total></entry></feed>