<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns: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" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkMDRng9fyp7ImA9WhBbFkQ.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051</id><updated>2013-05-16T20:54:37.667+12:00</updated><category term="ruby" /><category term="linux" /><category term="armored core" /><category term="scala" /><category term="javascript" /><category term="java" /><category term="software" /><category term="6910p" /><category term="forza" /><category term="rc" /><category term="games" /><category term="cars" /><category term="laptop" /><category term="hardware" /><category term="oracle" /><title>Jun's Scribbles</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://jkyamog.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>61</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/JunsScribbles" /><feedburner:info uri="junsscribbles" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkMDRng8eyp7ImA9WhBbFkQ.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-2838075411641104652</id><published>2013-05-16T20:54:00.003+12:00</published><updated>2013-05-16T20:54:37.673+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-16T20:54:37.673+12:00</app:edited><title>Flashing bios using a usb drive</title><content type="html">If you are like me where most PC run's linux and has no optical drive. &amp;nbsp;I saw the following steps around the net to be helpful.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Get the bios update iso&lt;/li&gt;
&lt;li&gt;Get 'geteltorito' and extract the boot image from the iso
&lt;pre&gt;$ wget '﻿﻿&lt;a href="http://www.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito.pl"&gt;http://www.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito.pl&lt;/a&gt;﻿'
$ perl geteltorito.pl biosupdate.iso &amp;gt; biosupdate.img
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Copy the image to the usb thumdrive&lt;/li&gt;
&lt;pre&gt;$ sudo dd if=biosupdate.img of=/dev/usbthumdrive bs=512K&lt;/pre&gt;
&lt;/ol&gt;
</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/2838075411641104652/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=2838075411641104652" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/2838075411641104652?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/2838075411641104652?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/tJh0-foEuok/flashing-bios-using-usb-drive.html" title="Flashing bios using a usb drive" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2013/05/flashing-bios-using-usb-drive.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UHRHo4fip7ImA9WhBWGEg.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-3782440378912739144</id><published>2013-04-13T23:06:00.000+12:00</published><updated>2013-04-13T23:07:15.436+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-13T23:07:15.436+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hardware" /><title>Small Android stick (mk808b) mini review</title><content type="html">Me and my mates at the office just bought one of those Android mk808b.&amp;nbsp; Its dirt cheap, so we gave it a try.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://img.dxcdn.com/productimages/sku_176755_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://img.dxcdn.com/productimages/sku_176755_1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
So far its been pretty good.&amp;nbsp; I plugged to an existing TV with hdmi and I can now use the TV for browsing, watching streaming videos and skype.&amp;nbsp; Since I am a Linux user I got a UVC compliant webcam, which works on this device as Android uses a Linux kernel.&amp;nbsp; So with little a fraction of a cost I was able to turn my old TV into what they call a smart TV (didn't like the idea of smart tv, never bought one).&amp;nbsp; Normally before this TV had a laptop plugged into it, now Android stick pc replaced it.&lt;br /&gt;
&lt;br /&gt;
Pros (would not elaborate on it too much, lots of people have put heaps of comments around the web)&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Low cost.&amp;nbsp; These cost about $50-90 around the net.&amp;nbsp; Also as part of the low cost, is that you can use your existing TV as long as it has a hdmi input.&lt;/li&gt;
&lt;li&gt;Small and low power.&amp;nbsp; This comes with a USB adapter.&amp;nbsp; However I had mine just plugged into my xbox 360 usb port, even way better.&lt;/li&gt;
&lt;li&gt;Newer firmware comes pre-rooted.&amp;nbsp; Mine is already rooted. &lt;/li&gt;
&lt;/ul&gt;
Cons&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Clearly Android is for touch.&amp;nbsp; I bought the bundled air mouse, you can also use normal usb mouse and keyboard.&amp;nbsp; However the experience is not as nice, same experience as running the Android developer emulator on your PC.&amp;nbsp; You can only use apps that will run with single touch operations or single touch swipes.&amp;nbsp; Youtube, web browsers, skype, angry birds will be ok.&amp;nbsp; However google maps (no pinch zoom, so I don't know how to zoom out.. zoom in can done via double tap).&amp;nbsp; My idea was to get my tablet back from my kids, however this clearly an inferior experience for them.&amp;nbsp; So it kinda did not work, and now they can tell me to use my stick Android and they will use the Android tablet.&amp;nbsp; Plan back-fired.&lt;/li&gt;
&lt;li&gt;Its not well polished.&amp;nbsp; This can leave a poor impression on Android for users having this as their first Android device. &amp;nbsp; Though this is Jelly Bean, its really far away from the experience you have from a Nexus 4, even from a 2 year old Asus Transformer.&lt;/li&gt;
&lt;li&gt;It seems the cpu stays at 1 ghz no matter what the load is.&amp;nbsp; Now sure why I haven't played with the governor yet.&amp;nbsp; So it doesn't go 1.6ghz or drops down to 200-400mhz.&lt;/li&gt;
&lt;li&gt;The out display seems to be 16 bit (not sure but it looks like it), also always resets to 720p after every boots up.&amp;nbsp; I read that you will need to reflash so it renders the color in 24/32 bit.&amp;nbsp; Again doesn't look that good, but not too bad if don't look for image issues (gradients and dithers).&lt;/li&gt;
&lt;li&gt;The air mouse is sensitive to interference.&amp;nbsp; I am still running on 2.4 wifi, I have not much other devices and neighbors are far away.&amp;nbsp; However you can see during real big burst of traffic the air mouse is getting cut off as seen by the lag. &lt;/li&gt;
&lt;/ul&gt;
So the android stick PC is not really dirt cheap as it seems to be.&amp;nbsp; This is probably not a good first Android device.&amp;nbsp; However is a great bargain if.&amp;nbsp; You have a TV that you want to run some basic computing needs (web browsing, video calls, streaming video, music playing).&amp;nbsp; You can upgrade the TV and replace an aging laptop that used to perform those computing needs.&lt;br /&gt;
&lt;br /&gt;
In order for the stick PC to have a great experience you need to buy a good input device.&amp;nbsp; Which would now increase the cost.&amp;nbsp; It also doesn't have a screen, no battery, etc.&amp;nbsp; So a Nexus 7 would probably be cheaper as a first good Android device.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/3782440378912739144/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=3782440378912739144" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/3782440378912739144?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/3782440378912739144?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/b9tyFNmJU0I/small-android-stick-mk808b-mini-review.html" title="Small Android stick (mk808b) mini review" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2013/04/small-android-stick-mk808b-mini-review.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMHQXs8fyp7ImA9WhJWGUo.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-1109777615388210613</id><published>2012-08-26T22:37:00.000+12:00</published><updated>2012-08-26T22:37:10.577+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-26T22:37:10.577+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title>Angular.js for ajax CRUD</title><content type="html">Its been a busy weekend, not in terms of coding though. &amp;nbsp;Just did some quick coding now. &amp;nbsp;This is now a book-markable ajax CRUD talking to conventional REST/JSON backend.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;//app.js

angular.module('ratewatcher', ['ngResource']).
 config(function($routeProvider) {
  $routeProvider.
   when('/lenders', {controller:LenderListController, templateUrl:'lender-list.html'}).
   when('/lenders/new', {controller:LenderCreateController, templateUrl:'lender-detail.html'}).
   when('/lenders/:id', {controller:LenderEditController, templateUrl:'lender-detail.html'}).
   otherwise({redirectTo:'/lenders'});
 }).
 factory('Lender', function($resource) {
  return $resource('/lenders/:id', {id: '@id'}, {});
 });

//controllers.js

function LenderListController($scope, Lender) {
  $scope.lenders = Lender.query();
  
  $scope.remove = function(lender) {
   lender.$remove();
  }
}
  
function LenderCreateController($scope, Lender) {
  $scope.save = function() {
    var lender = new Lender({id: 0,
     name: $scope.lender.name, 
     category: $scope.lender.category, 
     url: $scope.lender.url
    });
    
    lender.$save();
  };
}

function LenderEditController($scope, $location, $routeParams, Lender) {
 $scope.lender = Lender.get({id: $routeParams.id});
 
  $scope.save = function() {
   $scope.lender.$save();
   $location.path('/');
  };
}

&lt;/pre&gt;
I thought the scala backend was really concise, but it turns you can also make the front end javascript just as concise. &amp;nbsp;Coupled with bootstrap css and basic html, this seems pretty good.&lt;br /&gt;
&lt;br /&gt;
Suggested readings:&lt;br /&gt;
&lt;a href="http://www.angularjs.org/"&gt;http://www.angularjs.org/&lt;/a&gt;&amp;nbsp;- Wire Up a Backend example&lt;br /&gt;
&lt;a href="http://docs.angularjs.org/api/ngResource.$resource"&gt;http://docs.angularjs.org/api/ngResource.$resource&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://jsfiddle.net/johnlindquist/qmNvq/"&gt;http://jsfiddle.net/johnlindquist/qmNvq/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://docs.angularjs.org/api/ng.$route"&gt;http://docs.angularjs.org/api/ng.$route&lt;/a&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/1109777615388210613/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=1109777615388210613" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/1109777615388210613?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/1109777615388210613?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/_4Ar0Ds-ux0/angularjs-for-ajax-crud.html" title="Angular.js for ajax CRUD" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/08/angularjs-for-ajax-crud.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIGRHs5cCp7ImA9WhJWGUo.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-91299732102139252</id><published>2012-08-23T20:52:00.001+12:00</published><updated>2012-08-26T22:22:05.528+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-26T22:22:05.528+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title>Angular.js my first few mins impression</title><content type="html">I have been looking at Javascript frameworks. &amp;nbsp;I have experience in &lt;a href="https://developers.google.com/web-toolkit/" target="_blank"&gt;GWT&lt;/a&gt; and lately trying to learn &lt;a href="http://emberjs.com/"&gt;ember.js&lt;/a&gt;. &amp;nbsp;So far ember.js is really powerful, but the docs is not that great. &amp;nbsp;Ember.js has made a lot of changes and the only way to learn it seems to be to read the code/api. &amp;nbsp;Since my javascript is not that good, it was taking me a bit of time to learn the magic of ember.js. &amp;nbsp;This lead to me look again a bit, I found &lt;a href="http://www.angularjs.org/"&gt;angular.js&lt;/a&gt; because it was in google's CDN api.&lt;br /&gt;
&lt;br /&gt;
Having read the watch and read the front page of angular.js it seems to be just as powerful as ember.js. &amp;nbsp;Its got bi-directional binding, a template engine, name spaces. &amp;nbsp;The terminology they have is FP (ala Scala). &amp;nbsp;They have apply, future promise. &amp;nbsp;So gave a try. &lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;function LenderController($scope, $http) {
 $scope.lenders = [];
 
  $scope.all = function() {
    $http.get('/lenders').success(function(data) {
      $scope.lenders = data;
    });
  };
}

&amp;lt;div&amp;nbsp;class="span10"&amp;nbsp;ng-controller="LenderController"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;table&amp;nbsp;class="table&amp;nbsp;striped"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Category&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Url&amp;lt;/th&amp;gt;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;nbsp;ng-repeat="lender&amp;nbsp;in&amp;nbsp;lenders"&amp;gt;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;gt;{{lender.name}}&amp;lt;/td&amp;gt;&amp;nbsp;&amp;lt;td&amp;gt;{{lender.category}}&amp;lt;/td&amp;gt;&amp;nbsp;&amp;lt;td&amp;gt;{{lender.url}}&amp;lt;/td&amp;gt;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/table&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;a&amp;nbsp;href=""&amp;nbsp;ng-click="all()"&amp;gt;fetch&amp;nbsp;all&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/pre&gt;
Pretty short and direct code for fetching from json/rest backend and displaying it on the view. &amp;nbsp;I think Angular.js is powerful and yet easy for a newbie to pickup. &amp;nbsp;That is my first few mins impression of it.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/91299732102139252/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=91299732102139252" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/91299732102139252?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/91299732102139252?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/9gin4qtEr1g/angularjs-my-first-few-mins-impression.html" title="Angular.js my first few mins impression" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/08/angularjs-my-first-few-mins-impression.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EDR3g7eCp7ImA9WhJREEU.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-436151623210554240</id><published>2012-07-12T20:27:00.000+12:00</published><updated>2012-07-12T20:27:56.600+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-12T20:27:56.600+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ruby" /><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="scala" /><title>Ruby was shiny before compared to Java, Tcl and Perl.  Isn't as shiny when its beside Scala now.</title><content type="html">Just looking at Ruby again. &amp;nbsp;My first encounter with Ruby like most people is through ROR, it was a few years back (era 1.x or maybe before that). &amp;nbsp;It was a very nice language and at that time, it wasn't that popular. &amp;nbsp;I did however convince a colleague of mine to push ROR with the help of Bruce Tate's&amp;nbsp;&lt;a href="http://pragprog.com/book/fr_j2r/from-java-to-ruby" target="_blank"&gt;From Java To Ruby&lt;/a&gt;&amp;nbsp;book. &amp;nbsp;He was successful in getting ROR into a Java EE environment. &amp;nbsp;I had a quick glance of Ruby again today and in tutorial there was this code:&lt;br /&gt;
&lt;pre&gt;class MegaGreeter
  attr_accessor :names

  # Create the object
  def initialize(names = "World")
    @names = names
  end

  # Say hi to everybody
  def say_hi
    if @names.nil?
      puts "..."
    elsif @names.respond_to?("each")

      # @names is a list of some kind, iterate!
      @names.each do |name|
        puts "Hello #{name}!"
      end
    else
      puts "Hello #{@names}!"
    end
  end

  # Say bye to everybody
  def say_bye
    if @names.nil?
      puts "..."
    elsif @names.respond_to?("join")
      # Join the list elements with commas
      puts "Goodbye #{@names.join(", ")}.  Come back soon!"
    else
      puts "Goodbye #{@names}.  Come back soon!"
    end
  end

end


if __FILE__ == $0
  mg = MegaGreeter.new
  mg.say_hi
  mg.say_bye

  # Change name to be "Zeke"
  mg.names = "Zeke"
  mg.say_hi
  mg.say_bye

  # Change the name to an array of names
  mg.names = ["Albert", "Brenda", "Charles",
    "Dave", "Englebert"]
  mg.say_hi
  mg.say_bye

  # Change to nil
  mg.names = nil
  mg.say_hi
  mg.say_bye
end&lt;/pre&gt;
It's nice and concise, however it doesn't stand out as much as before. &amp;nbsp; My comparison was Java, Tcl and Perl a few years ago. &amp;nbsp;I then did a quick copy and paste, translated it to Scala.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;class MegaGreeter(var names: Any = List("World")) {
 
  def say_hi {
    names match {
      case null =&amp;gt; println("...")
      case listOfNames: List[String] =&amp;gt; listOfNames foreach (n =&amp;gt; println("Hello " + n))&amp;nbsp;
      case _ =&amp;gt; println("Hello " + names)
    }
  }

  def say_bye {
    names match {
      case null =&amp;gt; println("...")
      case listOfNames: List[String] =&amp;gt; println("Goodbye " + listOfNames mkString(",") + ". &amp;nbsp;Come back soon!")&amp;nbsp;
      case _ =&amp;gt; println("Goodbye " + names + ". &amp;nbsp;Come back soon!")
    }
  }
}

object MegaGreeter {
  def main(args: Array[String]) {
    val mg = new MegaGreeter
    mg.say_hi
    mg.say_bye

    // Change name to be "Zeke"
    mg.names = "Zeke"
    mg.say_hi
    mg.say_bye

    // Change the name to an array of names
    mg.names = List("Albert", "Brenda", "Charles",
            "Dave", "Englebert")
    mg.say_hi&lt;/pre&gt;
&lt;pre&gt;    mg.say_bye

    // Change to nil
    mg.names = null
    mg.say_hi
    mg.say_bye
  }
}
&lt;/pre&gt;
Above is not really Scala idiomatic, but close to the original Ruby code especially how the class is created and used. &amp;nbsp;Ruby still looks nice, but not as shiny as a few years ago. &amp;nbsp;I am not here to say Scala is better than Ruby, but more of what is shiny before may not be as shiny today. &amp;nbsp;Just like Java was shiny when I first time used it about 1996, it seems these days people see Java as the wart language. &amp;nbsp;Scala will loose its shiny appeal in the next few years too.&lt;br /&gt;
&lt;br /&gt;
I also been using the term "shiny", as its really about appeal. &amp;nbsp;I still use Java and&amp;nbsp;occasionally Perl, even if the are not shiny anymore. &amp;nbsp;These older languages are still great in their own right. &amp;nbsp;C is still cool these days.. I think.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/436151623210554240/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=436151623210554240" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/436151623210554240?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/436151623210554240?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/qdT9CeskB1M/ruby-was-shiny-before-compared-to-java.html" title="Ruby was shiny before compared to Java, Tcl and Perl.  Isn't as shiny when its beside Scala now." /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/07/ruby-was-shiny-before-compared-to-java.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIARHk7eip7ImA9WhJTGEo.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-7948015941223761405</id><published>2012-06-28T21:09:00.000+12:00</published><updated>2012-06-28T21:09:05.702+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-28T21:09:05.702+12:00</app:edited><title>Coin problem, how do you solve it?</title><content type="html">My son has this typical homework problem. &amp;nbsp;If you have 10c, 20c and 1 dollar. &amp;nbsp;How many ways can you make $2?&lt;br /&gt;
&lt;br /&gt;
I am pretty sure there should be a combination formula for it, but I forgot. &amp;nbsp;So I tried google but seems there is no formula&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://mathforum.org/library/drmath/view/57913.html"&gt;http://mathforum.org/library/drmath/view/57913.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Is there really no formula?&lt;br /&gt;
&lt;br /&gt;
Anyway so he started to make a table of combination. &amp;nbsp;I told him I better start to see if I can code it, maybe it would help him to verify if the table of combination is correct. &amp;nbsp;I came up w/ this. &amp;nbsp;I hope its right otherwise his table of combination is wrong and my code is wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;val twoDollars = 200

val coinsCombo = for ( oneDollar &amp;lt;- 0 to (twoDollars/100);
 twentyCents &amp;lt;- 0 to (twoDollars/20);
 tenCents &amp;lt;- 0 to (twoDollars/10);
 if (oneDollar * 100 + twentyCents * 20 + tenCents * 10 == twoDollars) 
) yield (oneDollar, twentyCents, tenCents)
 
coinsCombo foreach println

println(coinsCombo.size)
&lt;/pre&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/7948015941223761405/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=7948015941223761405" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/7948015941223761405?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/7948015941223761405?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/rZ6niOJ6xBY/coin-problem-how-do-you-solve-it.html" title="Coin problem, how do you solve it?" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/06/coin-problem-how-do-you-solve-it.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEERHs4eCp7ImA9WhJTGEo.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-2069897173334229889</id><published>2012-06-28T20:53:00.000+12:00</published><updated>2012-06-28T20:53:25.530+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-28T20:53:25.530+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="scala" /><title>Explaining C++, Java and Scala to my son</title><content type="html">Last night my son was asking about computers again. &amp;nbsp;I think the conversation came about, what language is on my screen. &amp;nbsp;I told him its Java and Scala. &amp;nbsp;I talked about what is assembly, C, C++ and Objective-C and how it relates to &lt;a href="http://scratch.mit.edu/" target="_blank"&gt;Scratch&lt;/a&gt; and &lt;a href="http://www.kogics.net/sf:kojo/" target="_blank"&gt;Kojo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
He asked about why it was named as C++, then I showed him a Java typical loop which is based C where we increment a counter.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;int c = 0;
while (c &amp;lt;= 10) {
 System.out.println(c);
 c++;
}
&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;br /&gt;
He asked how the loop will be done in Scala. &amp;nbsp;I started w/ a for comprehension, as he is familiar w/ loops on Scratch and Kojo.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;for (c &amp;lt;- 0 to 10) {
 println(c)
}
&lt;/pre&gt;
Then he asked me about the for, &amp;lt;-, etc.&lt;br /&gt;
&lt;br /&gt;
I then changed the code into&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;0 to 10 foreach println
&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
His reaction "that is so awesome it's like english!"</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/2069897173334229889/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=2069897173334229889" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/2069897173334229889?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/2069897173334229889?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/uFs6h56fSaw/explaining-c-java-and-scala-to-my-son.html" title="Explaining C++, Java and Scala to my son" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/06/explaining-c-java-and-scala-to-my-son.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08MSH44eip7ImA9WhVbF0w.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-4653514403296597369</id><published>2012-06-03T22:38:00.000+12:00</published><updated>2012-06-03T22:38:09.032+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-03T22:38:09.032+12:00</app:edited><title>misconception about h2 in memory db</title><content type="html">Seems sometimes I have seen h2 url connection as "jdbc:h2:mem", which is different from "jdbc:h2:mem:". &amp;nbsp;The former will create a persistent db in the current path db called mem, the later will create a in memory db. &amp;nbsp;The official docs explains in in more detail&amp;nbsp;&lt;a href="http://www.h2database.com/html/features.html#in_memory_databases" target="_blank"&gt;h2 docs&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A good way to know if its in memory or not is just check your current path. &amp;nbsp;If you have&amp;nbsp;mem.h2.db and &amp;nbsp;mem.trace.db on the file system, then you are not using the in memory db.&lt;br /&gt;
&lt;br /&gt;
Most of the time though more than 1 connection is needed. &amp;nbsp;The first reaction is to remove the extra ":", rather than looking at the docs. &amp;nbsp;The correct fix will be to name the memory db such as "jdbc:h2:mem:foo". &amp;nbsp;Or if you use JPA sometimes the abstraction is just to thick, and most developers forget how connections are managed. &amp;nbsp;A connection is closed per test, in general this is the last connection which leads to new db across a test suite. &amp;nbsp;So to keep the db alive through out the lifetime of the JVM just add ";DB_CLOSE_DELAY=-1"</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/4653514403296597369/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=4653514403296597369" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/4653514403296597369?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/4653514403296597369?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/3X9MdOWlMCE/misconception-about-h2-in-memory-db.html" title="misconception about h2 in memory db" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/06/misconception-about-h2-in-memory-db.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08DSXk5fyp7ImA9WhVbEU0.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-557667027046588198</id><published>2012-05-27T21:11:00.000+12:00</published><updated>2012-05-27T21:11:18.727+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-27T21:11:18.727+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="software" /><title>Short comparison of Ember.js and GWT</title><content type="html">Its been a while since I posted anything here, really hard to make continuous post. &amp;nbsp;Well try again for the n-th time.&lt;br /&gt;
&lt;br /&gt;
I have been using &lt;a href="https://developers.google.com/web-toolkit/" target="_blank"&gt;Google Web Toolkit (GWT)&lt;/a&gt; for while, as this is what we use at work. &amp;nbsp;Its pretty good and has lots of positives, however it also has it's own negatives.&lt;br /&gt;
&lt;br /&gt;
Lets go with the positives first:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;For some people that knows Java they don't have to learn JS to develop full featured web apps&lt;/li&gt;
&lt;li&gt;Existing java tooling works on GWT projects. &amp;nbsp;Re-factoring, IDE support, etc.&lt;/li&gt;
&lt;li&gt;Performance of GWT is still the best among any JS frameworks&lt;/li&gt;
&lt;li&gt;Pretty good documentation and examples&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Now for the negatives:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Not learning JS, or some people will need to learn Java to develop JS code &amp;nbsp;&lt;/li&gt;
&lt;li&gt;GWT seems to be on its own eco system outside of the wider JS eco system&lt;/li&gt;
&lt;li&gt;Sometimes hard to control the html, making iterative changes with a web designer significantly more harder. &amp;nbsp;This is even using ui binder&lt;/li&gt;
&lt;li&gt;REST/JSON still seems to be 2nd citizen in GWT. &amp;nbsp;There is autobeans in GWT now, however still lots of plumbing to do or use 3rd party library.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Using GWT to architect a full blown web app is great. &amp;nbsp;Using established patterns such as Model View Presenter (MVP), a cousin of the more popular Model View Controller (MVC) pattern. &amp;nbsp;For the past few years there has been a lot of JS MVC frameworks coming out. &amp;nbsp;A quick look of the &lt;a href="https://github.com/addyosmani/todomvc" target="_blank"&gt;Todo MVC project&lt;/a&gt; will give us a lot of different implementation. &amp;nbsp;(The GWT implementation hasn't been pulled yet). &amp;nbsp;One of the JS MVC framework that's been gathering a bit of attention is &lt;a href="http://emberjs.com/" target="_blank"&gt;Ember.js&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I gave ember.js a try over the weekend, its been initially a bit frustrating. &amp;nbsp;Like always when you learn something new, sometimes we just need to unlearn our own old learnings. &amp;nbsp;Ember documentation is a bit confusing, as its formatted on how to use the different features. &amp;nbsp;Some of the materials I have found to helpful in getting me running are:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://emberjs.com/documentation/"&gt;http://emberjs.com/documentation/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://www.adobe.com/devnet/html5/articles/flame-on-a-beginners-guide-to-emberjs.html"&gt;http://www.adobe.com/devnet/html5/articles/flame-on-a-beginners-guide-to-emberjs.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://www.infoq.com/articles/emberjs"&gt;http://www.infoq.com/articles/emberjs&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://awardwinningfjords.com/2011/12/27/emberjs-collections.html"&gt;http://awardwinningfjords.com/2011/12/27/emberjs-collections.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
After things started to fall in place, ember.js seems to be pretty straight forward. &amp;nbsp;Compared to GWT there is really significantly less abstractions. &amp;nbsp;As ember.js really tries get you in the middle of JS, HTML and CSS. &amp;nbsp;I am still unsure on how unit testing will be done, haven't look at ember data yet, etc. &amp;nbsp;However with this initial code:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;var App = Em.Application.create();

App.Plant = Ember.Object.extend({
 id: 0,
 name: null,
 description: null
});

App.PlantsView = Em.View.extend({
 plantsBinding: 'App.PlantsController.content'
});


App.PlantsController = Em.ArrayProxy.create({
 content: [],
 
 init: function() {
  var me = this;
  var url = 'http://localhost/plants';
  $.getJSON(url,function(data){
    me.set('content', []);
    $(data.plants).each(function(index,value){
        var plant = App.Plant.create({
            id: value.id,
            name: value.name,
            description: value.description,
        });
        me.pushObject(plant);
    });
  });
 }
 
});
&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;  &lt;script type="text/x-handlebars"&gt;
 {{#view App.PlantsView}}
 &lt;ul&gt;
 {{#each plants}}
&lt;li&gt; {{name}} &lt;/li&gt;
{{/each}}
 &lt;/ul&gt;
{{/view}}
  
&lt;/script&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
As you can see its really straight forward to get data from a rest/json server. &amp;nbsp;I have an equivalent GWT project, but its too big to post here. &amp;nbsp;However the equivalent GWT functionality would include. &amp;nbsp;A model class, a ui binder file, an entry point class, a presenter interface, a view interface, a presenter implementation, a view implementation, http get code, etc.&lt;br /&gt;
&lt;br /&gt;
This doesn't mean longer code is worse code, I am not in the camp of Java is bad too much typing. &amp;nbsp;I still use Java, although less these days as Scala has pretty much filled the space. &amp;nbsp;Even with the above code, one can see JS short coming of not having name spaces and no real support for OOP. &amp;nbsp;However one can see also there is a lot less boiler plate and more natural integration with JS and HTML. &amp;nbsp;When I mean less boiler, I do not mean about Java's verbose code but the bindings are straight forward. &amp;nbsp;More natural integration, I just used jQuery's getJSON function straight out of the box and handlebars' template inside html. &amp;nbsp;GWT has JSNI to call jQuery, but that is less natural and not used often.&lt;br /&gt;
&lt;br /&gt;
Ember.js seems to be promising for organizing web apps. &amp;nbsp;Then coupled with other mature JS frameworks like jQuery, I think it may make GWT a bit heavy for some use cases. &amp;nbsp;I am still thinking of looking at &lt;a href="http://scalagwt.github.com/" target="_blank"&gt;Scala+GWT&lt;/a&gt;, aside from getting to use Scala to do JS I don't see a lot of difference from normal GWT.&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/557667027046588198/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=557667027046588198" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/557667027046588198?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/557667027046588198?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/T4CWB63xZ8E/short-comparison-of-emberjs-and-gwt.html" title="Short comparison of Ember.js and GWT" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2012/05/short-comparison-of-emberjs-and-gwt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EDR3w9fSp7ImA9WhdVE08.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-7257002835300305225</id><published>2011-09-18T16:54:00.000+12:00</published><updated>2011-09-18T16:54:36.265+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-18T16:54:36.265+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Verify TRIM support on Linux</title><content type="html">Wasted my time today puzzling why the trim support of my ssd does not work, or I thought it wasn't but was working alright. When you google "linux trim verify" the link below and most people link to the site below. Apparently the tests is not fully correct. Most of the time it works for others, but not me. Maybe it has to do that I formatted my ext4 w/ -E stripe-width=128&lt;br /&gt;
Anyway this is a better test I found, but I can't seem to see the link anymore. Using my bash history for reference.&lt;br /&gt;
&lt;pre&gt;dd if=/dev/urandom of=tmpfile bs=1M count=10 &amp;amp;&amp;amp; sync
hdparm --fibmap tmpfile
hdparm --read-sector [address between begin_LBA and end_LBA of previous command] # expecting random numbers here
rm tmpfile &amp;amp;&amp;amp; sync &amp;amp;&amp;amp; sleep 120
hdparm --read-sector [address between begin_LBA and end_LBA of previous command] # expecting zeroes
&lt;/pre&gt;
The real key is the sector address is somewhere in between and NOT the start sector, as its possible the trim command will not set things to zeroes if files overlap. As it had happened to me 9 out of 10 tries using the test below I get random numbers still. The test above I get zeroes consistently.
</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/7257002835300305225/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=7257002835300305225" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/7257002835300305225?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/7257002835300305225?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/-tOkTJPhAGI/verify-trim-support-on-linux.html" title="Verify TRIM support on Linux" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2011/09/verify-trim-support-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4HQX8-fyp7ImA9WhdVE00.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-6397839465039847294</id><published>2011-09-18T11:03:00.001+12:00</published><updated>2011-09-18T11:08:50.157+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-18T11:08:50.157+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Manual setup of UEFI, GPT and GRUB2</title><content type="html">I recently got a Crucial m4. &amp;nbsp;I then have to transfer my existing HDD on it. &amp;nbsp;Its easier to do a clean install of Oneiric and it would pretty much do UEFI + GPT + GRUB2 for you. &amp;nbsp;However if you want to manually transfer everything I did the following steps:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Boot on Oneiric live CD or another boot this that will boot in UEFI mode.  Its important that boot is on UEFI mode and not BIOS mode&lt;/li&gt;
&lt;li&gt;Go to a shell and install gdisk as we want to partition the SSD w/ GPT and not MBR. fdisk only supports MBR
&lt;pre&gt;apt-get install gdisk
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Partition a EFI system partition. &amp;nbsp;This would hold grub2 files later and other boot loaders if needed. &amp;nbsp;I partitioned mine on sda1 as type EF00 (EFI System) w/ the size of 200mb. &amp;nbsp;Yes a bit bigger than what is needed however most people recommend 200mb as some boot loaders needs a bigger space.&lt;/li&gt;
&lt;li&gt;Format the partitions. &amp;nbsp;The EFI System partition is formatted as vfat, as per EFI spec.
&lt;pre&gt;mkfs.vat /dev/sda1
mkswap /dev/sda2
mkfs.ext4 -E stripe-width=128 /dev/sda3
mkfs.ext4 -E stripe-width=128 /dev/sda4
&lt;/pre&gt;
I put in a stripe width of 128 k as there are some recommendation this is optimal for SSD.  However test suggest that your mileage may vary.
&lt;/li&gt;
&lt;li&gt;Mount and create the dirs on EFI system partition
&lt;pre&gt;mkdir /boot/efi
mount /dev/sda1 /boot/efi
mkdir -p /boot/efi/efi&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Install grub efi
&lt;pre&gt;apt-get install grub-efi-amd64
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Setup grub on the EFI system partition
&lt;pre&gt;modprobe dm-mod
grub-install --boot-directory=/boot/efi/efi --bootloader-id=GRUB2 --no-floppy --recheck
cp /usr/share/grub/unicode.pf2 /boot/efi/efi/grub/
cp /boot/grub/grub.cfg /boot/efi/efi/grub/grub.cfg
&lt;/pre&gt;
I copied my old grub.cfg and update the UUID to point to the new SSD
&lt;/li&gt;
&lt;li&gt;Setup the EFI boot entry
&lt;pre&gt;modprobe efivars
efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "GRUB2" --loader "\\EFI\\grub\\grub.efi"
&lt;/pre&gt;
GRUB2 is the entry that would appear on the EFI bootloader.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
The following resource helped me a lot&lt;/div&gt;
&lt;div&gt;
&lt;a href="https://wiki.archlinux.org/index.php/GRUB2#UEFI_systems"&gt;https://wiki.archlinux.org/index.php/GRUB2#UEFI_systems&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="https://help.ubuntu.com/community/UEFIBooting#Install_GRUB2_in_.28U.29EFI_systems"&gt;https://help.ubuntu.com/community/UEFIBooting#Install_GRUB2_in_.28U.29EFI_systems&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I am still working out on the graphics output, &amp;nbsp;This would only give you a text based grub.&lt;/div&gt;
</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/6397839465039847294/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=6397839465039847294" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6397839465039847294?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6397839465039847294?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/hlUytqhRsLg/manual-setup-of-uefi-gpt-and-grub2.html" title="Manual setup of UEFI, GPT and GRUB2" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2011/09/manual-setup-of-uefi-gpt-and-grub2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04BRnw5cSp7ImA9Wx9XFE0.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-4434888572460933647</id><published>2011-01-08T00:54:00.003+13:00</published><updated>2011-01-08T01:05:57.229+13:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-08T01:05:57.229+13:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="6910p" /><title>HP 6910p 3G on linux</title><content type="html">I got the 3G hs2300 on the 6910p running before, but it was a long time ago.  I would need internet access again on the road.  I detached the battery and put in the sim card to test.  It seems modem can't be detected.  Doesn't appear on lsusb, not much clue on dmesg, I verified that its turned on bios, started to look around forums, tried various modprobe, was going to start using usb-modeswitch.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I then decided to reboot to Windows after several years of not going there.  HP wireless assistant tells that its disabled as that the gsm sim is accessible and suggest to close or put the battery back.  I put the battery back, HP wireless assistant changes status to still disabled but now suggest to fix via Device Manager.  No luck, Device Manager can't find drivers, etc.  So did not want to spend it running on Windows and maybe putting the battery back is enough to get it running on Linux again.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Reboot to linux, network manager picks it up.  Nothing to setup aside from APN, etc.  No driver install, etc.  Just put the battery back.  Hopefully this post saves someone a few hours diagnosing the problem.  Just put the battery back and linux should see the hs2300 3G modem.&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/4434888572460933647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=4434888572460933647" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/4434888572460933647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/4434888572460933647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/Khq7ai7aFxo/hp-6910p-3g-on-linux.html" title="HP 6910p 3G on linux" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2011/01/hp-6910p-3g-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcBR3kyeip7ImA9Wx5QEkg.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-5876899167549226673</id><published>2010-08-31T22:54:00.005+12:00</published><updated>2010-08-31T23:10:56.792+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-31T23:10:56.792+12:00</app:edited><title>More on Scala</title><content type="html">&lt;h1&gt;Get Started on Debian/Ubuntu&lt;/h1&gt;&lt;br /&gt;Install scala, this would install version 2.7.7 though, 2.8.0 has just been out recently&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;apt-get install scala&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Run the scala shell&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;scala&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;(optional) Quick upgrade to scala 2.8.0, install scala as per above and just copy the newer jars&lt;br /&gt;Download scala from http://www.scala-lang.org/downloads and extract the tarball&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;tar xzf scala-2.8.0.final.tgz&lt;br /&gt;cd scala-2.8.0.final/lib&lt;br /&gt;cp scala-compiler.jar scala-library.jar scala-dbc.jar /usr/share/java&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Get Started on Eclipse&lt;/h1&gt;&lt;br /&gt;Get the eclipse scala plugin http://www.scala-ide.org/ this would include the scala jar, compiler, console, etc.&lt;br /&gt;When you have the plugin the following options are available&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;create a new scala project&lt;/li&gt;&lt;br /&gt;&lt;li&gt;right click on existing java project and add scala nature and you can now start coding both java and scala together&lt;/li&gt;&lt;br /&gt;&lt;li&gt;run the scala console inside eclipse&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Reference and Links&lt;/h1&gt;&lt;br /&gt;Below are some useful reference&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.scala-lang.org/sites/default/files/linuxsoft_archives/docu/files/ScalaTutorial.pdf"&gt;Scala Tutorial&lt;/a&gt; - useful w/ Java Background&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.scala-lang.org/sites/default/files/linuxsoft_archives/docu/files/ScalaByExample.pdf"&gt; Scala by Example&lt;/a&gt; - a little long, more like a scala cookbook&lt;br /&gt;&lt;br /&gt;&lt;a href="http://programming-scala.labs.oreilly.com/"&gt;Programming Scala&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.artima.com/scalazine/articles/steps.html"&gt;First Steps to Scala&lt;/a&gt; - a bit old but still useful&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.lostlake.org/index.php?/archives/41-Scala-Idioms,-Step-1,-Lists-and-Maps.html"&gt;Scala Idioms, Step 1, Lists and Maps&lt;/a&gt; - a bit old but quick way to learn about lists.  Tuples are using old syntax of {x, y} which is now changed to (x, y)&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Who is using Scala&lt;/h1&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.artima.com/scalazine/articles/twitter_on_scala.html"&gt;Twitter&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.scala-lang.org/node/5130"&gt;Foursquare&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.scala-lang.org/node/1658"&gt; Sony, Siemens, etc.&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Frameworks and OSS Projects&lt;/h1&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://liftweb.net/"&gt; Lift&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://twitter.com/about/opensource"&gt; twitter&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/scalaz/"&gt; Scalaz&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/specs/"&gt; specs&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/simple-build-tool/"&gt; sbt&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://incubator.apache.org/esme/"&gt; esme&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://squeryl.org/index.html"&gt; squeryl&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://github.com/scalatra/scalatra"&gt; scalatra&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/5876899167549226673/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=5876899167549226673" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5876899167549226673?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5876899167549226673?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/Y-U87yib9bg/more-on-scala.html" title="More on Scala" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2010/08/more-on-scala.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEHSXk9eyp7ImA9WhJTGEo.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-3342845958319701186</id><published>2010-08-18T20:02:00.005+12:00</published><updated>2012-06-28T20:53:58.763+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-28T20:53:58.763+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="software" /><category scheme="http://www.blogger.com/atom/ns#" term="scala" /><title>Looking at Scala again</title><content type="html">I have been look at scala and lift (web framework built on scala), on and off about a year now.  I have revisited it again for the past few weeks.  Scala as a language seems to be promising.  For me it adds something new to the main stream languages today, like pattern matching (not regexp), functional programming, actors library.  There are some languages that have these properties but I think scala has got some transitional properties giving some balance.  Using scala you get to access java libraries natively, despite its terse syntax it is still a static language, this would mean tool developers will have an easier.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.scala-lang.org/"&gt;Scala&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.liftweb.net/"&gt;Lift&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I have also been re-using emacs again.  Some interesting scala emacs some stuff.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://scala.sygneca.com/tools/emacs"&gt;Scala emacs tools&lt;/a&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/3342845958319701186/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=3342845958319701186" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/3342845958319701186?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/3342845958319701186?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/efy4iJpf2AM/looking-at-scala-again.html" title="Looking at Scala again" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2010/08/looking-at-scala-again.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAHR34_eSp7ImA9WxFaEks.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-6882893818755034768</id><published>2010-07-16T17:48:00.003+12:00</published><updated>2010-07-16T18:12:16.041+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-16T18:12:16.041+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rc" /><title>Low tech stuff</title><content type="html">I have started on computers when its wasn't hip yet.  When I was a kid, I toyed around a PC XT on green monochrome monitor.  Then on to doing BASIC, then to over clocking on a Pentium when Asus brought out the first overclock board.  Buying a linux book to get a slackware CD as downloading over a 2400bps modem is very slow.  Time has passed so fast.&lt;br /&gt;&lt;br /&gt;Lately the latest and greatest tech stuff hasn't been appealing for me.  I do get touch the nice smart phones at work.  Although new tech stuff isn't as appealing as before.  Not sure why, maybe just too many tech stuff going around these days.&lt;br /&gt;&lt;br /&gt;Back in the 80s there was something cool, which wasn't computers.  I am talking about RC.  Remote Control cars, me and my son have a few them.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_LyDwUJ4Va88/TD_yxy2V9WI/AAAAAAAAAEE/7gn3k4brC9I/s1600/DSC00125.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_LyDwUJ4Va88/TD_yxy2V9WI/AAAAAAAAAEE/7gn3k4brC9I/s400/DSC00125.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5494377007692510562" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are low tech stuff, but very interesting for me.  Its one of the interesting things to me as kid back then, aside from playing space wars on a PC XT.  This appeals for me especially now as my son is able to build and play with me right now.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/6882893818755034768/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=6882893818755034768" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6882893818755034768?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6882893818755034768?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/olg2K_7dDqo/low-tech-stuff.html" title="Low tech stuff" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_LyDwUJ4Va88/TD_yxy2V9WI/AAAAAAAAAEE/7gn3k4brC9I/s72-c/DSC00125.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2010/07/low-tech-stuff.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4FQnY6cSp7ImA9WxFaEkg.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-6388467626880515536</id><published>2010-07-16T16:22:00.007+12:00</published><updated>2010-07-16T17:41:53.819+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-16T17:41:53.819+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>LXC on Ubuntu 10.04 Lucid Lynx</title><content type="html">If you are like me who doesn't have a lot of time anymore, at times trying new stuff is a lot harder.  About a year ago I used kvm, which is great and easy enough to get up and running.  I have used it since then however Kvm is a bit too much for my needs as its a full paravirt.  Container based virtualization like vserver and openvz seems to be more challenging to get running on a laptop.&lt;br /&gt;&lt;br /&gt;Fast forward today, it seems LXC Linux Containers (http://lxc.sourceforge.net) has now made some strides.  Its now part of the main kernel, most modern distro should have like.  Here is a quick guide on how to get lxc up and running on Ubuntu Lucid.&lt;br /&gt;&lt;br /&gt;Below is to setup a debian lenny guest, that uses virbr0 and has dhcp.  Do the following as root:&lt;br /&gt;&lt;br /&gt;- install libvirt as its easier to do networking on it.  No need to setup your own bridge, ipchains and nat.  libvirt default qemu network should create a virbr0 interface.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;apt-get install libvirt-bin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I have installed this prior for kvm.  What we want is virbr0 is up and running.  You check this by ifconfig.  Try to start it manually on /etc/init.d/libvirt-bin&lt;br /&gt;&lt;br /&gt;- install lxc&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;apt-get install lxc debootstrap&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;- create the capabilities dir and mount it&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mkdir /cgroup&lt;br /&gt;&lt;br /&gt;add to /etc/fstab&lt;br /&gt;none /cgroup cgroup defaults 0 0&lt;br /&gt;&lt;br /&gt;mount /cgroup&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;- get and edit the lxc-debian script from /usr/share/doc/lxc/examples/lxc-debian.gz (gunzip it somewhere and apply correct permissions)&lt;br /&gt;&lt;br /&gt;Edit and add the following lxc parameters on copy_configuration() function before EOF&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# networking&lt;br /&gt;lxc.network.type = veth&lt;br /&gt;lxc.network.flags = up&lt;br /&gt;lxc.network.link = virbr0&lt;br /&gt;lxc.network.name = eth0&lt;br /&gt;lxc.network.mtu = 1500&lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;What this does is use the host virbr0 which is already NATed.  This would appear as eth0 on the guest container.&lt;br /&gt;&lt;br /&gt;You may need to edit increase the tty allowed, I was getting init warning on my syslog respawning.  What I did was to edit my guest inittab to reduce the tty.  &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;lxc.tty = 4 to lxc.tty = 6&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;- create your lxc dir.  In my case the name of my container is "altair".  Change it as you fit.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mkdir /home/lxc/altair&lt;br /&gt;lxc-debian -p /home/lxc/altair create&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This would start downloading debian lenny packages and create the root file system on /home/lxc/altair/rootfs.&lt;br /&gt;&lt;br /&gt;- create the container&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;lxc-create -n altair -f /home/lxc/altair/config&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;- run the container&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;lxc-start -n altair&lt;br /&gt;&lt;br /&gt;the above runs it on the foreground, once you have setup everything then you can run it as a deamon&lt;br /&gt;&lt;br /&gt;lxc-start -n altair -d&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Once you are inside the container, things that I did was&lt;br /&gt;- set the hostname&lt;br /&gt;- fix /etc/hosts&lt;br /&gt;- add your favorite repo on /etc/apt/sources.list&lt;br /&gt;- add X forwarding on ssh and install xauth package&lt;br /&gt;- install rsyslog&lt;br /&gt;- maybe edit your hosts /etc/hosts and add the IP address of the container.&lt;br /&gt;&lt;br /&gt;Some useful links:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lxc.teegra.net/"&gt;http://lxc.teegra.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/"&gt;http://blog.bodhizazen.net/linux/lxc-configure-ubuntu-lucid-containers/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://nigel.mcnie.name/blog/a-five-minute-guide-to-linux-containers-for-debian"&gt;http://nigel.mcnie.name/blog/a-five-minute-guide-to-linux-containers-for-debian&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/LXC"&gt;http://en.gentoo-wiki.com/wiki/LXC&lt;/a&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/6388467626880515536/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=6388467626880515536" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6388467626880515536?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6388467626880515536?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/ghPE2qE7FyU/lxc-on-ubuntu-1004-lucid-lynx.html" title="LXC on Ubuntu 10.04 Lucid Lynx" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2010/07/lxc-on-ubuntu-1004-lucid-lynx.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYEQn48eSp7ImA9WxFaEkg.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-5036095304659090798</id><published>2010-07-16T16:05:00.005+12:00</published><updated>2010-07-16T16:21:43.071+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-16T16:21:43.071+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="6910p" /><title>HP 6910p, Acer 4315,  HP dv6000 on Ubuntu 10.04 / Lucid Lynx</title><content type="html">Its been a while since I posted on this blog.  Been very busy and had a few months not really keen about computers, more on that later.  Anyway for the past few weeks I have installed Lucid on my aging laptops.  So far Lucid has been pretty good.  Everything runs right out of the box, I needed to install restricted wireless drivers for the Acer 4315 and HP dv6000.  Very easy now, as you can do this on GUI.  Gone are the days of downloading tars balls, patching kernels, compile and create kernel images.&lt;br /&gt;&lt;br /&gt;There has been some minor issues.  The Acer 4315 after resume has the wireless disabled sometimes.  The volume is now better for Acer 4315.  At times after resume the screen brightness is set to lowest, doesn't seem to appear lately.&lt;br /&gt;&lt;br /&gt;For the 6910p xrandr is now able to rotate the screen.  So at work my 2nd dvi monitor is vertically oriented.  Great when doing code.  My xrandr script has something like this.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;xrandr --output DVI-0 --auto --rotate left --right-of LVDS --crtc 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;What I really liked about upgrading to Lucid is it seems LXC (Linux Containers) seems to be good enough now.  I have stayed away from vserver and openvz, as I didn't have much time patching the kernel, then patching again all hardware to work (e.g. wireless) and suspend to work.  Will have another post on how to get LXC running on Lucid pretty fast and hassle free.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/5036095304659090798/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=5036095304659090798" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5036095304659090798?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5036095304659090798?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/T1FXFizefDw/hp-6910p-acer-4315-hp-dv6000-on-ubuntu.html" title="HP 6910p, Acer 4315,  HP dv6000 on Ubuntu 10.04 / Lucid Lynx" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2010/07/hp-6910p-acer-4315-hp-dv6000-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8NSXg7fCp7ImA9WxVTEkU.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-6180235780099793681</id><published>2008-12-26T22:53:00.005+13:00</published><updated>2008-12-26T23:21:38.604+13:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-26T23:21:38.604+13:00</app:edited><title>Intrepid Ibex and virtualization</title><content type="html">I always wanted to do virtualization on my development workstation.  There are some software that doesn't get along with one another, PHP5 and 4, apache 1 and 2.  The list goes on.  I also wanted the fact that I can upgrade my desktop w/o fearing to break things like Oracle libraries suddenly breaks because my distro decided to change libc.&lt;br /&gt;&lt;br /&gt;It was a bit hard last year to make it work and let alone all the hardware of 6910p to work.  I tried to use vserver and kvm, it was too hard to make a custom kernel to make everything work.  I didn't try Xen as its an overkill for my needs, vserver is just fine for my needs.  Also I think due to Xen design and objective it simply will not support suspend and resume on a laptop.  vserver isn't even really a virtualization more like jail or chroot.  This time I am trying again as Intrepid server comes with kvm as its virtualization choice.  When I tried kvm last year it was the best candidate for me, however whenever I forget to stop a guest machine then I suspend the laptop I will get a hard lock.  This time I am trying kvm which part of Ubuntu Interpid server edition, I am running Intrepid desktop and all I had to was to install the following packages.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apt-get install ubuntu-virt-server&lt;br /&gt;apt-get install kvm libvirt-bin&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I was too lazy to do things by hand, I gave the gui a shot.  It was pleasantly surprising easy to install and run.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;apt-get install virt-manager virt-viewer&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;It works! its not VMware easy but it close enough.  Good enough for me that it does not get in the way and I can start putting my different projects in their own virtual space.  I can even suspend and resume the laptop even if I forget the virtual guest machines are still running.  Now I am shifting my projects that has similar virtual machines, like java-devel, rails-devel, etc.  I am using Ubuntu JeOS as my guest OS, which is pretty good.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/6180235780099793681/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=6180235780099793681" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6180235780099793681?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/6180235780099793681?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/-60-nCuSPFM/intrepid-ibex-and-virtualization.html" title="Intrepid Ibex and virtualization" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/12/intrepid-ibex-and-virtualization.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEHQnY9fSp7ImA9WxVTEkU.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-3762254986342218767</id><published>2008-12-26T22:39:00.004+13:00</published><updated>2008-12-26T23:17:13.865+13:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-26T23:17:13.865+13:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Acer Aspire 4315 on Ubuntu 8.10 / Intrepid Ibex</title><content type="html">I did an upgrade for the Acer 4315 from Hardy to Intrepid.  There where a couple of issues, its similar to Hardy that I had to install the madwifi-ng driver for the Atheros wireless card to run.  Its a bit easier now as they are now included on the backports.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo apt-get install linux-backports-modules-intrepid&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Add &lt;span style="font-weight:bold;"&gt;ath5k&lt;/span&gt; on &lt;span style="font-weight:bold;"&gt;/etc/modules&lt;/span&gt;, reboot.&lt;br /&gt;&lt;br /&gt;Then you need to switch the drivers on System-&gt;Administration-&gt;Hardware Drivers.  Deactive the current default driver (Atheros 802.11 wireless LAN cards) and activate the 5xxx series of Atheros 802.11 wireless LAN cards.&lt;br /&gt;&lt;br /&gt;I also encountered a new problem in Skype.  It seems my Logitech S 5500 mic is very choppy, the mic is connected via USB.  I didn't have time to fix it, so I just activated the mic of the laptop which works with Intrepid.  This is likely a software problem, as the S 5500 works fine with the HP 6910p on Intrepid.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/3762254986342218767/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=3762254986342218767" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/3762254986342218767?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/3762254986342218767?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/LhT5e4YlEPs/acer-aspire-4315-on-ubuntu-810-intrepid.html" title="Acer Aspire 4315 on Ubuntu 8.10 / Intrepid Ibex" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/12/acer-aspire-4315-on-ubuntu-810-intrepid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEDRnozcCp7ImA9WxVTEkU.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-5690114813954182560</id><published>2008-12-26T22:28:00.004+13:00</published><updated>2008-12-26T23:17:57.488+13:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-26T23:17:57.488+13:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="6910p" /><title>HP 6910p on Ubuntu 8.10 / Intrepid Ibex</title><content type="html">My HP 6910p is still running after 1 year.  Hardware is still fine, I did a clean install of Intrepid a few days ago.  So far its alright, the only problem I encountered was with wireless.  Kinda weird that Hardy worked just fine, however it is a known issue and is clearly stated on Intrepid release notes.  I had to add backports and then install the backported modules.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;sudo apt-get install linux-backports-modules-intrepid&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Since I also liked the radeonhd, works great with the HP docking station.  I also installed it.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;apt-get install xserver-xorg-video-radeonhd&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Aside from that everything is still alright.  I also noticed that suspend and resume works faster.  The harddisk aggressive power management seems to have been taken cared of with Intrepid.  I will be observing the load cycle times for the next few days.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/5690114813954182560/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=5690114813954182560" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5690114813954182560?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5690114813954182560?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/RMN_R9-Og30/hp-6910p-on-ubuntu-810-intrepid-ibex.html" title="HP 6910p on Ubuntu 8.10 / Intrepid Ibex" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/12/hp-6910p-on-ubuntu-810-intrepid-ibex.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8GQHwyfSp7ImA9WxRSGUw.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-8654102710028967894</id><published>2008-09-21T00:07:00.003+12:00</published><updated>2008-09-21T00:30:21.295+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-21T00:30:21.295+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><title>Acer support and cashback (part 2)</title><content type="html">Now here is my cashback experience from Acer.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Jul 21 - Posted the required form, box cut out of the snid and invoice&lt;/li&gt;&lt;li&gt;checking the cashback status from time to time at Acer cashback website.  Has always been on status where the documents hasn't been received yet.&lt;/li&gt;&lt;li&gt;Sep 8 - I noticed my status says "declined due to documents were not received by the due date".  I emailed the cashback email address asking them how can this happen, and I asked them to give me some good explanation why on earth a mail from New Zealand to Australia will take 5-7 weeks to arrive.&lt;/li&gt;&lt;li&gt;Sep 9 - I noticed my status says "processing, check will be issued on ... November *something*"&lt;/li&gt;&lt;li&gt;Sep 16 - I got an email from Acer cashback telling me that they never recieved my documents.  They are asking me to email or fax copies of the form, snid and invoice.  I emailed them the digital copies of it, except for the box cut out of the snid.  Its impossible for me to produce one as it was sent in the mail, I just shot a photo of the my snid on the bottom of the laptop.&lt;/li&gt;&lt;li&gt;Sep 17 - I got mail from Acer, its the $99 check. ?!? Are these guys confused of my status or what?  Or did suddenly their cashback turnaround processing time is within 12 hours?&lt;/li&gt;&lt;/ul&gt;Acer cashback is not that bad if you only look into what happened on the start and end.  I got the $99 cashback in 1.5 months, I was expecting it to be longer than that.  However given that they are certainly confused or just radomly picking cashback status, their cashback is really poor.  Oh yeah before getting the cashback form you will be bombarded with extended warranty option.&lt;br /&gt;&lt;br /&gt;For those who go into Acer cashback process here are the following things that might help you.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;scan the snid box cut out. Expect the worst that the mail will get lost, most likely somewhere in the cashback dept of Acer.&lt;/li&gt;&lt;li&gt;declined doesn't mean anything.  They are just actually confused with your status, or probably trying to see if you the type of person that would just accept a decline status.&lt;/li&gt;&lt;li&gt;push for your cashback&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/8654102710028967894/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=8654102710028967894" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/8654102710028967894?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/8654102710028967894?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/vxANfFT7iS8/acer-support-and-cashback-part-2.html" title="Acer support and cashback (part 2)" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/09/acer-support-and-cashback-part-2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8AQXg5fCp7ImA9WxRSGUw.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-1396204773930875955</id><published>2008-09-19T23:25:00.004+12:00</published><updated>2008-09-21T00:30:40.624+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-21T00:30:40.624+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><title>Acer support and cashback (part 1)</title><content type="html">I would like to give out my long about my personal experience with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Acer&lt;/span&gt; support and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;cashback&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;Acer&lt;/span&gt; support:&lt;br /&gt;Here is my long support story, which all started with a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;dvd&lt;/span&gt; combo drive going wrong.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Aug 3 - &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;dvd&lt;/span&gt; combo drive started not to read &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;dvd&lt;/span&gt; discs.  After a few retry, ejects, etc. there is no more power on the drive.&lt;/li&gt;&lt;li&gt;Aug 4 - Called up &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;Acer&lt;/span&gt;.  Call center tech tries to go by the book, tells me reinstall driver, etc.  I politely explained the problem further and told him that I am computer literate.  Call center tech goes to the next step and files a case number, tells me that someone will call me regarding the repair.  Told me that I don't need to bring in the laptop anywhere.  I thought wow this is great, I bought a cheap laptop and I don't have to return it to base for repair.  I knew something was a miss, but gave him the benefit of the doubt.&lt;/li&gt;&lt;li&gt;Aug 7 - I called &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;Acer&lt;/span&gt; again since nobody has called me up.  Yeah I know it was too good to be true.  This call center tech told me that I should bring my laptop to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;Datacom&lt;/span&gt; which is their Wellington repair contractor.&lt;/li&gt;&lt;li&gt;Aug 12 - I brought the laptop to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;Datacom&lt;/span&gt;.  I also left the power adapter as advised by &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;Datacom&lt;/span&gt; (this event will trigger another sub-story).&lt;/li&gt;&lt;li&gt;Aug 19 - Called up &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;Acer&lt;/span&gt; call center to ask what's the status of the repair and why its taking more than the 5 days turnaround time.  Call center tech puts me on hold and comes back to me tell me that &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;Datacom&lt;/span&gt; is ordering another &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;dvd&lt;/span&gt; combo drive as the first replacement was also defective.&lt;/li&gt;&lt;li&gt;Aug 22 - Pickup of laptop after the 2&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;nd&lt;/span&gt; replacement drive was deemed to be &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;ok&lt;/span&gt;.  I noticed the power adapter was different, but did not make a fuss about it.  Laptop was also not cleaned up and has some minor new scratches (nothing to really fuss about).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Aug 22 - Got home to test the unit.  I realized the adapter that &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;Datacom&lt;/span&gt; returned to me was faulty (and older too), its wire was loose.  The adapter was charging and discharging the laptop depending on the position and if the wire gets nudged.&lt;/li&gt;&lt;li&gt;Aug 22 - Called up &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;Acer&lt;/span&gt; telling them about the power adapter issue and demanded to get it replaced.  Call center tech places an order for an adapter to be shipped to me.&lt;/li&gt;&lt;li&gt;Aug 27 - New adapter has arrived.  The &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;dvd&lt;/span&gt; combo drive worked initially.  After a while failed to read the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;dvd&lt;/span&gt; drives, can read some &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;cdrom&lt;/span&gt; drives.  Drive physically works, but has lots of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;crc&lt;/span&gt; errors and is unable to read the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;dvd&lt;/span&gt; discs most of the time.&lt;/li&gt;&lt;li&gt;Aug 27 - Called up &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;Acer&lt;/span&gt; about the problem.  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;Acer&lt;/span&gt; call center tech apologizes and opens a new case.  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;Acer&lt;/span&gt; also arranged for my laptop to be picked up.  They also told me not include the batteries and power adapter for the repair.  Not including accessories is what I would have expected (SOP I have experienced with other repairs), not what &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;Datacom&lt;/span&gt; did which caused a new problem regarding the power adapter.&lt;/li&gt;&lt;li&gt;Aug 29 - Courier arrived and picked up the laptop.  After a few days some message exchanges on the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;Acer&lt;/span&gt; support website to get the status of the repair.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Sep 1 - The adapter also came with a notice I need to return the defective power adapter in 10 days or else they will invoice me $50.  Called up &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;Acer&lt;/span&gt;, call center tech tells that yes I need to post back the defective courier and gave the address.  He also tells me that I need to ship back at my expense, despite my protest.  I posted this protest on the support website, that I should not shoulder the expense to ship back as it was not my fault that &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;Datacom&lt;/span&gt; replaced my power adapter with a defective unit.&lt;/li&gt;&lt;li&gt;Sep 2 - &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;Acer&lt;/span&gt; call center tech calls me up that they are sorry and will arranged a courier pickup for the power adapter.  My support case on the support website was also updated with this information.&lt;/li&gt;&lt;li&gt;Sep 5 - &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;Acer&lt;/span&gt; call center tech calls me up telling me that there was a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;mixup&lt;/span&gt;.  The notice to return the defective adapter should have been given.  They will not pickup the defective adapter anymore and I can dispose of it.&lt;/li&gt;&lt;li&gt;Sep 8 - Laptop finally arrives.  The &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;dvd&lt;/span&gt; combo drive was also upgraded to a Lite-on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;dvd&lt;/span&gt; writer.  I am not sure if the upgrade was &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;delibrate&lt;/span&gt; or a honest mistake on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;Acer's&lt;/span&gt; part.&lt;/li&gt;&lt;/ul&gt;In short, it was long support case just to get the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_37"&gt;dvd&lt;/span&gt; combo drive sorted.  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_38"&gt;Acer's&lt;/span&gt; Wellington local contractor &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_39"&gt;Datacom&lt;/span&gt; is poor.  They should have a stock of a common part like a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_40"&gt;dvd&lt;/span&gt; combo drive, should not have got the power adapter and other accessories when turning in a laptop for repair, should clean and take extra careful of the laptop while on repair.  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_41"&gt;Acer's&lt;/span&gt; call center tech are confused about things, they are not consistent.  I found the support website to be a better way of contact, you get slower reply times though.  Demand the support you deserve in a polite manner after all the other person the other end is just on his/her day job.  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_42"&gt;Acer&lt;/span&gt; did eventually stepped up and sorted things out.  Acer support in Wellington, NZ is poor primarily because of their local repair contractor Datacom.&lt;br /&gt;&lt;br /&gt;Wow this support story is very long, I need to sleep.  I will post up my cashback experience hopefully tomorrow which is equally hilarous.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/1396204773930875955/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=1396204773930875955" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/1396204773930875955?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/1396204773930875955?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/2PQPzrDueRI/acer-support-and-cashback-part-1.html" title="Acer support and cashback (part 1)" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/09/acer-support-and-cashback-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIMSHs_eCp7ImA9WxRSE00.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-5973374265245907893</id><published>2008-07-23T00:00:00.006+12:00</published><updated>2008-09-13T22:09:49.540+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-13T22:09:49.540+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Acer Aspire 4315 short review and Ubuntu 8.04 (Hardy) install</title><content type="html">We got an Acer Aspire 4315 since we needed an extra laptop around.  As both the 6910p and dv6000 is being used normally. We wanted something cheap for e-mail, skype, browsing, watching dvd and document editing.  The Acer Aspire 4315 seems to fit the bill especially the price.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Specifications&lt;/h3&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Processor:&lt;/b&gt; Celeron M 540 1.86GHz, 1MB Cache, 533MHz FSB, 64-bit capable&lt;/li&gt;&lt;li&gt;&lt;b&gt;RAM:&lt;/b&gt; 512MB DDR2-667(1 x 512MB)&lt;/li&gt;&lt;li&gt;&lt;b&gt;HDD:&lt;/b&gt; 80GB 5400rpm SATA&lt;/li&gt;&lt;li&gt;&lt;b&gt;Display:&lt;/b&gt; 14.1" WXGA CrystalBrite widescreen (1280 x 800)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Optical:&lt;/b&gt; DVD+CDRW Combo&lt;/li&gt;&lt;li&gt;&lt;b&gt;Wireless:&lt;/b&gt; Yes 802.11b⁄g&lt;/li&gt;&lt;li&gt;&lt;b&gt;Graphics:&lt;/b&gt; Intel Graphics Media Accelerator X3100 up to 358MB&lt;/li&gt;&lt;li&gt;&lt;b&gt;Firewire⁄S-video⁄FIR:&lt;/b&gt; No⁄Yes⁄No&lt;/li&gt;&lt;li&gt;&lt;b&gt;VGA Out:&lt;/b&gt; Yes&lt;/li&gt;&lt;li&gt;&lt;b&gt;USB Ports:&lt;/b&gt; x 3&lt;/li&gt;&lt;li&gt;&lt;b&gt;Ethernet 10⁄100:&lt;/b&gt; Yes&lt;/li&gt;&lt;li&gt;&lt;b&gt;Express Card slot:&lt;/b&gt; Yes&lt;/li&gt;&lt;li&gt;&lt;b&gt;Battery:&lt;/b&gt; 6 cell&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Cost&lt;/h3&gt;&lt;br /&gt;Acer Aspire 4315 = $598&lt;br /&gt;512mb upgrade = $30&lt;br /&gt;512mb clearance and bundle = -$30&lt;br /&gt;we got the display model as its the last in store = -$30&lt;br /&gt;acer cashback promo = -$99&lt;br /&gt;Total cost = $469 NZD ~ $356 USD&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Short Review&lt;/h3&gt;&lt;br /&gt;What have we got for $470 bucks?  A pretty decent laptop if you ask me.  Build quality is pretty good.  Keyboard is pretty sturdy and no flex, in fact its probably better than our HP dv6000.  The hinges is firm and solid, not as good as the HP 6910p but good enough.  Performance wise its just as good as the HP 6910p on most everyday tasks, and what we intended to use it for (e-mail, skype, browsing, watching dvd and document editing).&lt;br /&gt;&lt;br /&gt;Minor problems as other owners of Acer 4315 has stated:&lt;br /&gt;- touchpad is very near the keyboard, I tend to touch it accidentally while typing.&lt;br /&gt;- speaker sound is a bit low, however quality is pretty good.  Maybe better sounding than the 6910p.  It does not sound like a tin can, just not as loud as you would expect.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Ubuntu 8.04 (Hardy)&lt;/h3&gt;&lt;br /&gt;The Acer Aspire 4315 comes with Ubuntu 7.10 (Gutsy), which is great and no need to pay Windows Vista that I don't use.  I immediately installed 8.04 Hardy on it, I used the alternative CD since that is what I downloaded.  I did some post install steps which came from this &lt;a href="http://www.hbclinux.net.nz/acer4315-804.html"&gt;guide&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Status&lt;/span&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Ethernet&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Wireless&lt;/td&gt;&lt;td&gt;works, needs post install steps&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Video&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Suspend and Hibernate&lt;/td&gt;&lt;td&gt;works, suspend works with updated hardy kernel&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Splash screen and virtual terminals&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Harddisk Power management&lt;/td&gt;&lt;td&gt;needs post install steps&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Audio and Mic&lt;/td&gt;&lt;td&gt;works, needs post install steps for proper resume&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Screen brightness&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Post Install Steps&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Wireless&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The atheros card will only work with madwifi-ng, stated on this &lt;a href="http://www.hbclinux.net.nz/acer4315-804.html"&gt;guide&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install build-essential&lt;br /&gt;wget -c http://snapshots.madwifi.org/special/madwifi-ng-r3366+ar5007.tar.gz&lt;br /&gt;tar xvf madwifi-ng-r3366+ar5007.tar.gz&lt;br /&gt;cd madwifi-ng-r3366+ar5007&lt;br /&gt;sudo make install&lt;br /&gt;sudo modprobe ath_pci&lt;br /&gt;sudo modprobe wlan_scan_sta&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Audio and Mic&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After resuming it doesn't have audio and mic.  There are some suggestions to do "sudo /sbin/alsa force-reload" which works.  I find it annoying as the volume control applet will complain and needs to be reloaded.  What I did was to edit /etc/modprobe.d/alsa-base and added this at the end of the file&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# properly detect the sound again after resume&lt;br /&gt;options snd-hda-intel model=acer&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Take note after reboot, volume control will be different.  Re-adjust accordingly.&lt;br /&gt;&lt;br /&gt;The mic does work, but its very hard to fine tune the proper level.  Too low and I hardly hear myself, too loud and it shuts itself or there are lots of crackle.  I ended up just plugging in a front external mic.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Harddisk Power Management&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just like the HP 6910p, the Acer Aspire 4315 came with a Hitachi disk (Hitachi HTS542580K9SA00).  This also suffers from the over aggressive power management.  I used my old guide, but the script will not work as in Gutsy its placed on "/etc/acpi/resume.d" which is not sourced anymore, I placed the script on "/etc/pm/sleep.d" on Hardy.  There is a &lt;a href="https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/205005"&gt;launchpad bug filed&lt;/a&gt; on this, apparently Ubuntu changed things a bit.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Summary&lt;/h3&gt;&lt;br /&gt;The Acer Aspire 4315 is a great laptop, cost 1/7th of the HP 6910p.  I can surely say that the value is more than 1/7th of the HP 6910p.  Comes with Ubuntu 7.10 pre-installed, installing Ubuntu 8.04 Hardy is also straight forward with a few post install steps.  Now time to wait for that cash back check to arrive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_LyDwUJ4Va88/SIhIW7ke_II/AAAAAAAAABU/SV4ugOAnF6M/s1600-h/DSC01920.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_LyDwUJ4Va88/SIhIW7ke_II/AAAAAAAAABU/SV4ugOAnF6M/s400/DSC01920.JPG" alt="" id="BLOGGER_PHOTO_ID_5226506926348500098" border="0" /&gt;&lt;/a&gt;</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/5973374265245907893/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=5973374265245907893" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5973374265245907893?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5973374265245907893?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/rcaNkoJgB1I/acer-aspire-4315-short-review-and.html" title="Acer Aspire 4315 short review and Ubuntu 8.04 (Hardy) install" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_LyDwUJ4Va88/SIhIW7ke_II/AAAAAAAAABU/SV4ugOAnF6M/s72-c/DSC01920.JPG" height="72" width="72" /><thr:total>7</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/07/acer-aspire-4315-short-review-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUFR3kzcCp7ImA9WxdaEEw.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-5345862695193434707</id><published>2008-07-22T23:09:00.014+12:00</published><updated>2008-08-18T09:56:56.788+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-18T09:56:56.788+12:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="laptop" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="6910p" /><title>HP 6910p on Ubuntu 8.04 / Hardy Heron</title><content type="html">I have upgraded from Ubuntu 7.10 (Gutsy) to 8.04 (Hardy).  This is not a clean install however I made some effort to remove any post install steps that was done previously with my &lt;a href="http://jkyamog.blogspot.com/2007/12/linux-install-on-hp-6910p-using-ubuntu.html"&gt;7.10 Gutsy guide&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;HP 6910p specification:&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;CPU: Intel Core 2 Duo T7700 (2.4Ghz)&lt;br /&gt;Display: 14.1" WXGA+ 1440x900&lt;br /&gt;GPU: AMD/ATI Radeon X2300&lt;br /&gt;RAM: 2GB (2x1GB)&lt;br /&gt;Harddisk: 120GB 7200rpm Hitachi 7k200 Travelstar&lt;br /&gt;Optical Drive: MultiBay II DVD SM DL&lt;br /&gt;Wireless: Intel Pro/Wireless 4965 a/b/g/n, Bluetooth, Infrared&lt;span id="ctl00_Content_ProductStocks_lblSpec"&gt;&lt;/span&gt;&lt;br /&gt;Ports/slots: 3xUSB 2.0; MultiBay II; Intel 82566MM 10/100/1000 Lan; Modem; S-Video out; VGA out; Firewire; Audio in; Audio out; internal microphone; SD/MMC card reader; Smart Card Reader; Type I/II PC Card Reader; SIM card slot; Docking connector; Second battery connector.&lt;br /&gt;Other: Finger print reader, Touch stick with 2 buttons, Touch pad with 2 buttons, Volume up – down, Volume mute, Presentation, Wireless, HP Info Centre touch sensitive buttons.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Status:&lt;/span&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Ethernet&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Wireless&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Video&lt;/td&gt;&lt;td&gt;works, using radeonhd&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Suspend and Hibernate&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Splash screen and virtual terminals&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Harddisk Power management&lt;/td&gt;&lt;td&gt;needs post install steps&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Fingerprint reader&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Audio and Mic&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Bluetooth&lt;/td&gt;&lt;td&gt;works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Screen brightness&lt;/td&gt;&lt;td&gt;does not work inside X, but light sensor works&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Card reader&lt;/td&gt;&lt;td&gt;detected with intrepid kernel, some issues see comments below&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;Docking station&lt;/td&gt;&lt;td&gt;works including dvi&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Post Install Steps:&lt;/h3&gt;&lt;br /&gt;&lt;h4&gt;Harddisk Power management&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;It seems this isn't resolved yet.  I brought back &lt;a href="http://jkyamog.blogspot.com/2008/01/little-tweak-here-and-there.html"&gt;my changes&lt;/a&gt; for the hard disk not to park its head excessively.  This only affects a few select 6910p using a particular model of harddisk.  This is not a 6910p issue but more of harddisk issue.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Summary:&lt;/h3&gt;&lt;br /&gt;The upgrade to 8.04 Hardy removed the post install steps that was needed for 7.10 Gutsy, which is what I expected.  Since mine is not a clean install and I am unlikely to do a clean install due to the lack of time, anyone has a story from a clean install?</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/5345862695193434707/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=5345862695193434707" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5345862695193434707?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/5345862695193434707?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/mzG6WdjPHVc/hp-6910p-on-ubuntu-804-hardy-heron_22.html" title="HP 6910p on Ubuntu 8.04 / Hardy Heron" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>11</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/07/hp-6910p-on-ubuntu-804-hardy-heron_22.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYMSX4_cSp7ImA9WxdVF08.&quot;"><id>tag:blogger.com,1999:blog-1713722984429677051.post-4871179739821461312</id><published>2008-07-18T17:45:00.004+12:00</published><updated>2008-07-22T23:46:28.049+12:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-22T23:46:28.049+12:00</app:edited><title>Quick update</title><content type="html">Well I am still alive, been very busy and had some series of unfortunate of health problems.  Today I had some spare time, I upgraded to Hardy Heron using the update manager.  So far everything is still alright.  I haven't seen any needed customization yet, will check if the hard disk park issue is fixed.  Suspend, works.  wifi, works.&lt;br /&gt;&lt;br /&gt;This is an upgrade from Gutsy and not a clean install.  Things that still don't work is the brightness function key.  I will try to check the other stuff over the coming days and probably list in detail.&lt;br /&gt;&lt;br /&gt;I just need to bring back my customization, oracle, tomcat, etc.</content><link rel="replies" type="application/atom+xml" href="http://jkyamog.blogspot.com/feeds/4871179739821461312/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1713722984429677051&amp;postID=4871179739821461312" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/4871179739821461312?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1713722984429677051/posts/default/4871179739821461312?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/JunsScribbles/~3/UkgMHLIUuzQ/hp-6910p-on-ubuntu-804-hardy-heron.html" title="Quick update" /><author><name>Jun Yamog</name><uri>https://plus.google.com/101979635857997532499</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-J8-YWVAUChk/AAAAAAAAAAI/AAAAAAAAAS4/-D6pLzj61wQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://jkyamog.blogspot.com/2008/07/hp-6910p-on-ubuntu-804-hardy-heron.html</feedburner:origLink></entry></feed>
