<?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" gd:etag="W/&quot;DUUAQ3Y5eip7ImA9WhBUE0Q.&quot;"><id>tag:blogger.com,1999:blog-5742695</id><updated>2013-05-01T15:34:02.822+07:00</updated><category term="visual studio" /><category term="meta" /><category term="system" /><category term="miscellaneous" /><category term="android" /><category term="agile" /><category term="freeplane for wm" /><category term="java" /><category term="ios" /><category term="effectivity" /><category term="programming" /><category term="coding" /><category term="deployment" /><category term="server" /><category term="music" /><category term="eclipse" /><category term="application" /><category term="IDE" /><category term="library" /><title>Hafiz [Pariabi]</title><subtitle type="html">Mindful Coding/Living</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>121</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/Hafizpariabi" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="hafizpariabi" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CkEBQXs7fSp7ImA9WhBXGU0.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-1519922890699585298</id><published>2013-04-02T18:04:00.001+07:00</published><updated>2013-04-02T18:04:10.505+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-02T18:04:10.505+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Releasing resource in Java (no destructor)</title><content type="html">I needed to release resource in Java class and thinking about C++ style of resource management in class (open in constructor and release it in destructor). It turns out that there is no destructor in Java (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;finally&lt;/span&gt; doesn't cut it). So instead of open the resource in constructor and release it in destructor I should open it locally in the function and use try finally construct. Something like below (quoted from StackOverflow link on references list below) :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="lang-java prettyprint prettyprinted"&gt;&lt;code&gt;&lt;span class="typ"&gt;Resource&lt;/span&gt;&lt;span class="pln"&gt; r &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;new&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="typ"&gt;Resource&lt;/span&gt;&lt;span class="pun"&gt;();&lt;/span&gt;&lt;span class="pln"&gt;
&lt;/span&gt;&lt;span class="kwd"&gt;try&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;{&lt;/span&gt;&lt;span class="pln"&gt;
    &lt;/span&gt;&lt;span class="com"&gt;//work&lt;/span&gt;&lt;span class="pln"&gt;
&lt;/span&gt;&lt;span class="pun"&gt;}&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;finally&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;{&lt;/span&gt;&lt;span class="pln"&gt;
    r&lt;/span&gt;&lt;span class="pun"&gt;.&lt;/span&gt;&lt;span class="pln"&gt;dispose&lt;/span&gt;&lt;span class="pun"&gt;();&lt;/span&gt;&lt;span class="pln"&gt;
&lt;/span&gt;&lt;span class="pun"&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Not as elegant as having the real destuctor (I'll need to use the above locally in every functions that needed it) but it gets the job done.&lt;br /&gt;
&lt;br /&gt;
References : &lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/171952/is-there-a-destructor-for-java&lt;br /&gt;http://c2.com/cgi/wiki?FinalizeInsteadOfProperDestructor</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/1519922890699585298/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=1519922890699585298" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1519922890699585298?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1519922890699585298?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2013/04/releasing-resource-in-java-no-destructor.html" title="Releasing resource in Java (no destructor)" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CEIESHkzcSp7ImA9WhBQEUs.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-4814647062382026856</id><published>2013-03-13T15:15:00.000+07:00</published><updated>2013-03-13T15:15:09.789+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-03-13T15:15:09.789+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="library" /><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>JodaTime, for easier DateTime handling in Java</title><content type="html">Having tasted the DateTime classes in .Net made you wish that there is something like it on the Java World. Compared to .Net's DateTime, what's available on Java world regarding the date and time handling feelds a little dated. It turns out that there is even&amp;nbsp; a better stuff on Java, &lt;a href="http://joda-time.sourceforge.net/"&gt;JodaTime&lt;/a&gt;. It has more detailed and useful abstraction regarding date time matters. It even has a sister library &lt;a href="http://code.google.com/p/noda-time/"&gt;NodaTime&lt;/a&gt; for .Net which seems shows that the abstraction choices adopted to significant number of developers.&lt;br /&gt;
&lt;br /&gt;
You can head out to it's front page and read "Why Joda Time?" section on overview of the relevance of the library. For me personally, it makes the bridging from .Net world of DateTime to Java world easier&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/4814647062382026856/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=4814647062382026856" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/4814647062382026856?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/4814647062382026856?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2013/03/jodatime-for-easier-datetime-handling.html" title="JodaTime, for easier DateTime handling in Java" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CEQGQ3o-fSp7ImA9WhBSEUg.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-277801885968631211</id><published>2013-02-15T17:09:00.004+07:00</published><updated>2013-02-18T08:52:02.455+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-18T08:52:02.455+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Tunnel Internet traffic through OpenVPN per client only</title><content type="html">We have been using OpenVPN at the office to access development resources only. So, as long as we have LAN connection to the VPN host server all is good. However, there is the need to direct all traffic including internet through it. It can be useful on public network to have it as a secure tunnel for all traffic to have more peace of mind. I don't want it to apply to every connection, I still prefer using internet non-tunneled on secure local network for speed reason.&lt;br /&gt;
&lt;br /&gt;
Some references assume the setting is to be applied to all connected clients so the setup is set on server config. The notes below move the server-side setting to client so it can be set per client/case only.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Setting things up on the server side&lt;/h3&gt;
The server is Ubuntu using Shorewall as a Firewall. What is needed on the server side is setting NAT from OpenVPN interface to the internet so the internet traffic from vpn can be forwarded to the outside world. Here's what to do &lt;br /&gt;
&lt;br /&gt;
Allow IP Forwarding in /etc/shorewall/shorewall.conf :&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;IP_FORWARDING=Yes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
add entry to /etc/shorewall/masq :&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;eth0&amp;nbsp;&amp;nbsp;&amp;nbsp; [vpn network IP] &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
allow traffic from vpn to internet on /etc/shorewall/policy :&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;vpn net ACCEPT&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Client Side&amp;nbsp;&lt;/h3&gt;
&lt;br /&gt;
Here's the lines to be added on the client configuration :&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;redirect-gateway def1&lt;br /&gt;dhcp-option DNS 8.8.8.8&lt;br /&gt;dhcp-option DNS 8.8.4.4&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Google DNS used to override whatever exist on client system in case it cannot be accessed through the tunnel.&lt;br /&gt;
&lt;br /&gt;
I make two different .ovpn file with the same keys setting but one has the above setting. This makes it easy to switch between the one for tunneling internet traffic and vpn-lan-only.&lt;br /&gt;
&lt;br /&gt;
That's about it. Below is some source references :&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;http://openvpn.net/index.php/open-source/documentation/howto.html#redirect&lt;/li&gt;
&lt;li&gt;http://wiki.debian.org/HowTo/shorewall (part about PAT and NAT)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/277801885968631211/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=277801885968631211" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/277801885968631211?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/277801885968631211?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2013/02/tunnel-internet-traffic-through-openvpn.html" title="Tunnel Internet traffic through OpenVPN per client only" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CUYHRXs4eCp7ImA9WhBTGU8.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-7224065184643756353</id><published>2013-01-08T17:31:00.002+07:00</published><updated>2013-02-15T17:12:14.530+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-15T17:12:14.530+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Utilizing Springpad with a little help from Evernote</title><content type="html">I stumble upon &lt;a href="http://springpad.com/"&gt;Springpad &lt;/a&gt;sometime ago. It was on some discussion on some forum (probably stackoverflow, it's a bit hazy now) about programmer's notebook. It was hard to really pinpoint the usage of it for me initially since it's feature is all over the place. I can't really describe what it is personally, you just have to try it yourself to really get the feel of it. It's a mix of Evernote, Pinterest and probably several other cloud-services. &lt;br /&gt;
&lt;br /&gt;
I tried to use it for several purpose some which does not seems to fit well. In the end I settle with using it for more collecting-related purposes. It is a great tool to collect things on the fly. On GTD space it is great for Inbox and Someday/Maybe stuff. I migrated my Waiting-For list to it also since it has a good list item support. Here's the highlight of it's features that relevant for my usage :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Flexible views. You can see the items using several different layout : cards, list, custom. If you are an Evernote's user, you might find some visuals quite interesting compare to it, at least visually&lt;/li&gt;
&lt;li&gt;Notebook and Tagging organization&lt;/li&gt;
&lt;li&gt;Great iOS mobile client feature-wise although still quite buggy in term of stability&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Interesting collecting workflow. Saving books, movies and other stuff is actually fun&lt;/li&gt;
&lt;/ul&gt;
The noticeable part where Springpad is still lacking is on the note part. It's mobile implemention is quite out-of-sync with the web one. I tried to copy some materials through it's web app which end up uneditable on the mobile. Some that is editable contains various character-encoding artifact. You have to be really careful to get the notes in-sync with mobile experience which is quite a deal-breaker for me. I'd rather focus on my work than spending time on hand-fixing the notes.&lt;br /&gt;
&lt;br /&gt;
Comes &lt;a href="http://evernote.com/"&gt;Evernote &lt;/a&gt;to the rescue. I am not a newcomer with Evernote, it's just that somehow I prefer OneNote style of note-taking (on iMac I settle with Growly that has the closest workflow with OneNote) so I am not actively using it. I have been thinking about porting the note-taking business to the cloud though and it seems a good time to do so. Not much needed to say when related to cloud-based note app since currently Evernote is the de-facto standard. I need to adjust my system though since it only has limited notebook number allowed and the organization seems to center around tagging (I think I am gonna miss OneNote a lot due to this).&lt;br /&gt;
&lt;br /&gt;
So, the serious note matters are on Evernote while Springpad note system currently only useful for basic notes for me. I might switch fully to Springpad if it has a comparable note feature (accross multiple device that is). Until then, having to switch between the two is bearable considering the usefulness.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/7224065184643756353/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=7224065184643756353" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/7224065184643756353?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/7224065184643756353?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2013/01/utilizing-springpad-with-little-help.html" title="Utilizing Springpad with a little help from Evernote" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DEIFSXgzfSp7ImA9WhNXF0o.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-4342927413456655529</id><published>2012-12-06T13:45:00.002+07:00</published><updated>2012-12-06T13:48:38.685+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-06T13:48:38.685+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Setup Cyrus IMAP account on Thunderbird</title><content type="html">I connected to Cyrus-IMAP server using Thunderbird. There's some problems on the first try :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;All the folder reside under INBOX folder. Trying to move them up fails&lt;/li&gt;
&lt;li&gt;The sending does not work, always hang with the message box informing that it can not save to Sent folder&lt;/li&gt;
&lt;/ul&gt;
I was in the middle of following some troubleshooting direction from &lt;a href="http://forums.mozillazine.org/viewtopic.php?t=218625"&gt;this discussion&lt;/a&gt; when I see there's textbox labeled "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;IMAP Server Directory&lt;/span&gt;" in &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;"Account Advanced Setting"&lt;/span&gt; dialog (&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Account Management &amp;gt; Server Setting &amp;gt; Advanced&lt;/span&gt;) . I input the annoying "INBOX" root folder mentioned above and surprise surprise, it makes the root folder go away. The sending is acting normally after it too.&lt;br /&gt;
&lt;br /&gt;
Below is how the dialog looks like :&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-loWJzcP-43w/UMA-_HClGoI/AAAAAAAAAm8/7OEPGaheFL4/s1600/tb_advanced_imap_settings_edited.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="https://lh3.ggpht.com/-loWJzcP-43w/UMA-_HClGoI/AAAAAAAAAm8/7OEPGaheFL4/s1600/tb_advanced_imap_settings_edited.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/4342927413456655529/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=4342927413456655529" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/4342927413456655529?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/4342927413456655529?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/12/setup-cyrus-imap-account-on-thunderbird.html" title="Setup Cyrus IMAP account on Thunderbird" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CkUGRX4_fCp7ImA9WhNXF00.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-1571824346686230724</id><published>2012-12-05T16:35:00.001+07:00</published><updated>2012-12-05T16:37:04.044+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-05T16:37:04.044+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Setup postfixadmin on top of existing postfix installation</title><content type="html">My office mailserver was a result of migration sometime ago. It was done in a limited time at that time so I only migrated the needed data and setup to keep it running as soon as possible. So, stuff like postfixadmin was left out (the system is postfix+courier+sasl setup).&lt;br /&gt;
&lt;br /&gt;
Until this recent time that I need to add the account that it started to bite me. Most of the setup guide for postfixadmin assume a pristine install where it generate the database from scratch which could possibly wipe out my existing installation. So, I need to follow them less linearly.&lt;br /&gt;
&lt;br /&gt;
After some searching around, I settled using &lt;a href="http://rimuhosting.com/knowledgebase/linux/mail/postfixadmin"&gt;this article&lt;/a&gt; as a starting point. However, it's quite outdated (to the point the writer marked it oudated on a big font at the top of the page) but it prove useful in my case nonetheless. It also assume fresh install but it define the steps more clearly including some behind the scene matters that happen which help me make some workaround for my specific case.&lt;br /&gt;
&lt;br /&gt;
So, here's the summary (some silly-but-useful trial and errors and mistakes omitted) on what I did :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Backup like crazy. It's a live system after all and one can not be too careful &lt;/li&gt;
&lt;li&gt;Download and install the .deb package from&amp;nbsp; postfixadmin site : &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;dpkg -i postfixadmin*.deb&lt;/span&gt;.&amp;nbsp; Saying no when asked for auto setup apache and database. &lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add apache setting : make symbolic link on &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/apache2/conf.d/postfixadmin&lt;/span&gt; to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/postfixadmin/apache.conf&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Add setting for the existing postfix database to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/postfixadmin/config.inc.php&lt;/span&gt; along with other settings there&lt;/li&gt;
&lt;li&gt;I couldn't find the admin account for it and find the solution to reset it &lt;a href="http://hightechsorcery.com/2011/03/resetting-postfixadmin-password/"&gt;here&lt;/a&gt;. Here's what I did on my case :&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Installed &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;dovecot-common&lt;/span&gt; package since I used courier instead of dovecot. It is needed to get access to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;dovecotpw &lt;/span&gt;utility&lt;/li&gt;
&lt;li&gt;run : &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;dovecotpw -s MD5-CRYPT -p password | sed 's/{MD5-CRYPT}//'&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;update the admin account (it's on admin table of postfix db) with the above result&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
After that things went quite smoothly. I get access to user management again and adding the user is a snap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/1571824346686230724/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=1571824346686230724" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1571824346686230724?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1571824346686230724?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/12/setup-postfixadmin-on-top-of-existing.html" title="Setup postfixadmin on top of existing postfix installation" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CEAMSHw7cCp7ImA9WhNRGEU.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-5400736545650130500</id><published>2012-11-14T15:44:00.001+07:00</published><updated>2012-11-14T15:46:29.208+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-14T15:46:29.208+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Multiple Monitor Setup : 2 +1</title><content type="html">It is quite the norm now to use multiple monitor setup for software development. It used to be that dual monitor setup is quite hot but now three monitor is already quite common. However, I find it better to have 2 + 1 setup instead of going to 3 monitor setup (with "+ 1" being a screen of another device ).&lt;br /&gt;
&lt;br /&gt;
I have only certain space at one time (not to mention attention) and with several devices and gadgets I use, they all have to battle for the space in my workspace. So, I set aside one side for secondary device instead of third monitor. I find it more useful this way since I have more flexibility with the third space which I can use for Laptop, Tablet or even Books when needed. Also, if I want to breath a little I can just clear it up (or have there a snack, tea or whatever).&lt;br /&gt;
&lt;br /&gt;
Below is my current workspace following the above setup. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-dBbK9dWGdjc/UKNU11SbgiI/AAAAAAAAAmU/i0VoU6KC_i8/s1600/workspace1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="239" src="http://2.bp.blogspot.com/-dBbK9dWGdjc/UKNU11SbgiI/AAAAAAAAAmU/i0VoU6KC_i8/s320/workspace1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
With the above setup, I have quite generous leftover space as below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-Wp8L8eFwdgk/UKNWBQ_YC5I/AAAAAAAAAms/QPlAH1g2274/s1600/workspace1b.jpg" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="239" src="http://3.bp.blogspot.com/-Wp8L8eFwdgk/UKNWBQ_YC5I/AAAAAAAAAms/QPlAH1g2274/s320/workspace1b.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;As you might see, there is still some space free for support stuff.&amp;nbsp; That is PS3 on the far corner for those stressful times
 :), connected to the secondary monitor (Dell monitor) that has 
comfortable source auto-switch.&lt;br /&gt;
&lt;br /&gt;
And here's my Windows workspace which has the blank right space to be used for the +1&amp;nbsp; as the above setup i.e: for non-desktop devices. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-wXViQTxmzZQ/UKNVRspDgdI/AAAAAAAAAmc/MVlzRXOa0U0/s1600/workspace2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="239" src="http://1.bp.blogspot.com/-wXViQTxmzZQ/UKNVRspDgdI/AAAAAAAAAmc/MVlzRXOa0U0/s320/workspace2.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
As you might notice, I am generally a desktop guy. I don't like working on laptop so much (at least for major development work) unless I really need to. &lt;br /&gt;
&lt;br /&gt;
I find the +1 screen can function as third monitor quite easily e.g: opening references, utilities and even with more flexibility. The downside is that it has no direct computing connection to the main machine which break a flow a little compare to having the keyboard and mouse interacting with the integrated three screen. This can be helped a little using stuff like cloud, file sharing,&amp;nbsp; bonjour protocol, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/5400736545650130500/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=5400736545650130500" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5400736545650130500?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5400736545650130500?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/11/multiple-monitor-setup-2-1.html" title="Multiple Monitor Setup : 2 +1" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-dBbK9dWGdjc/UKNU11SbgiI/AAAAAAAAAmU/i0VoU6KC_i8/s72-c/workspace1.jpg" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;D0UHSHwyfCp7ImA9WhNTGUo.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-3652001618346198375</id><published>2012-10-23T13:53:00.005+07:00</published><updated>2012-10-23T13:53:59.294+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-23T13:53:59.294+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Integrating Personal Information Manager accross Devices</title><content type="html">I like to have integrated Personal Information Manager (Calendar, Task, Contacts, Notes, Files) across my devices. It just does not make sense for me to have different set of tasks, calendar, contacts, etc.. on different devices that I used.&lt;br /&gt;
&lt;br /&gt;
On the pre-Cloud days I used &lt;a href="http://www.google.co.id/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;ved=0CB0QFjAA&amp;amp;url=http%3A%2F%2Fwww.birdiesync.com%2F&amp;amp;ei=BDeGUNmJIM3LrQes2YGYBA&amp;amp;usg=AFQjCNGu4156iyi-k1TROzLVA9y8AIy45A"&gt;BirdieSync&lt;/a&gt; at the core of my synching (I am a happy Thunderbird user). It worked well until I updated my mobile ecosystem to Apple (iPhone and iPad). It was the time when I switched my system to Cloud-based since trying to keep device-to-device synching was no longer practical. So, below are my current setup in general.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Backend : Google, Toodledo and Dropbox&lt;/h2&gt;
After some searching I settle with Google, Toodledo and Dropbox&amp;nbsp; as backend :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Google : Calendar, Contacts, Email&lt;/li&gt;
&lt;li&gt;Toodledo : Task, Support Notes&lt;/li&gt;
&lt;li&gt;Dropbox : Files&lt;/li&gt;
&lt;/ul&gt;
They form a powerful combination to support all my data need.&amp;nbsp; Also, with a high availability of clients on virtually all devices I have great flexibility on forming the setup on the Frontend&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Desktop : Thunderbird+Lightning and Addons&lt;/h2&gt;
&amp;nbsp;On the desktop I manged to have one conveniently integrated setup below&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Thunderbird + Lightning Calendar Addon. I only used the calendar on Lightning since the task on Toodledo does not support bidirectional synching to it&lt;/li&gt;
&lt;li&gt;There are Google Providers Addon that helps sync contact and calendar with Thunderbird&lt;/li&gt;
&lt;li&gt;For Toodledo, I mount it to Thunderbird using WepApp Tabs Addon&lt;/li&gt;
&lt;/ul&gt;
Apart from the above, Dropbox pretty much handle the rest of the data i.e: various files.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Mobile : Pocket Informant, Toodledo App&amp;nbsp;&lt;/h2&gt;
&lt;br /&gt;
It's quite flexible on the mobile side these days since lot of various options available to connect to the above backends. Here are just the highlights of what I used currently&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Pocket Informant. It synched all calendar, task, contacts and notes to Google and Toodledo, so it's almost a one-stop solution for it&lt;/li&gt;
&lt;li&gt;Dropbox client. The mobile version support file viewing to some extent.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Having a reliably integrated Information Manager is essential to have us really using it. Otherwise, on this time of multiple devices, we'll just play around with the system on the beginning and potentially discard it later on when the data become scattered and unusable.&lt;br /&gt;
&lt;br /&gt;
I find the above setup working for me personally. You might find other setup more align with your usage and the level of integration that you think is acceptable.&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/3652001618346198375/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=3652001618346198375" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/3652001618346198375?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/3652001618346198375?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/10/integrating-personal-information.html" title="Integrating Personal Information Manager accross Devices" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CEAMQHk9fip7ImA9WhNTE0o.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-5159135431562164877</id><published>2012-10-16T14:33:00.000+07:00</published><updated>2012-10-16T14:33:01.766+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-16T14:33:01.766+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="eclipse" /><category scheme="http://www.blogger.com/atom/ns#" term="android" /><category scheme="http://www.blogger.com/atom/ns#" term="coding" /><title>How to speed up Code-Build-Test cycle on Android Development</title><content type="html">I find that without serious tweaking, Android Emulator can be quite a pain to work with. It's slowness can disturb Code-Build-Test cycle significantly and it accumulates on each cycle wasting some precious development time and not to mention breaking the thinking and work flow.&lt;br /&gt;
&lt;br /&gt;
Here's some tweaks that I find helpful to minimize the problem and make the development flow comfortable again : &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Configure Hadware Acceleration for emulator to the best that your machine can support. Follow the guide to &lt;a href="https://developer.android.com/tools/devices/emulator.html#acceleration"&gt;Setup hardware acceleration&lt;/a&gt; Android's developer site. Using it accelerate the Graphic and Virtual Machine&lt;/li&gt;
&lt;li&gt;Increase the RAM of emulator&lt;/li&gt;
&lt;li&gt;Minimize the builtin data size of the app. If there's a lot of multimedia files, find a way to just use only small subset of it while developing. The bigger the data the app has, the longer it took to port the app from the development system to emulator which would be bad when happen hundreds time a day&lt;/li&gt;
&lt;/ul&gt;
There is also one non-technical matter that I find quite helpful and that is using multiple monitor. With the emulator on the second monitor and the IDE on the first one, the testing, tracing and fixing can be more fluid and relatively faster since there is no window switching occur.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/5159135431562164877/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=5159135431562164877" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5159135431562164877?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5159135431562164877?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/10/how-to-speed-up-code-build-test-cycle.html" title="How to speed up Code-Build-Test cycle on Android Development" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkQAQ34_eip7ImA9WhJaEUs.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-5463126809363510521</id><published>2012-10-02T15:51:00.000+07:00</published><updated>2012-10-02T15:59:02.042+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-02T15:59:02.042+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ios" /><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Storage and Reader/Player App on iOS for File-Centric Usage</title><content type="html">I was a happy Windows Mobile user back in the day and I like how I can access it somehow just like another storage system. The system can be used more as File-Centric system rather than App-Centric like the recent mobile system.&lt;br /&gt;
&lt;br /&gt;
This feature can be quite useful sometime e.g: bring file when in a hurry to&amp;nbsp; read/play on the go or copy somewhere else later. I missed this kind of use case when started to use iPhone where it has sand boxed model for the App and the only way to interact with the app and storage is through limited iTunes storage model (which is not quite intuitive nor practical at times).&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Thus, my search for a good storage-related app started. Along the way I find that the apps I found also feature built-in reader and player. This is quite interesting since this makes it a self-sufficient subsystem in itself beyond just a mere storage app and it fits with my needs mentioned above. &lt;br /&gt;
&lt;br /&gt;
So, here's some of the apps that I used right now :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://itunes.apple.com/id/app/fileexplorer/id499470113?mt=8"&gt;File Explorer (Universal)&lt;/a&gt;. This is the most complete in term of feature that I know of. What I really like is how it can access Samba share and Play directly (without copying) many formats that iOS does not support natively. It has great reader/player functionality but from the feel of it took more of&amp;nbsp; Storage first, Reader/Player second approach.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://itunes.apple.com/id/app/goodreader-for-ipad/id363448914?mt=8"&gt;Good Reader (iPad)&lt;/a&gt;. I needed more advanced PDF reader for my iPad than the built-in one, so I bought this. It turns out it could function as a storage app too and in fact many people use it as such. It's reader first app though with a good general-purpose storage facility.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://itunes.apple.com/id/app/readdledocs-documents-attachments/id285053111?mt=8"&gt;ReaddleDocs (iPhone)&lt;/a&gt;. I got this when it goes on sale (free) but despite it's price at that time it is a very good app. It's rival Good Reader for reading feature although for PDF reading, good reader has much more sophisticated feature. However, the interesting aspect of this app is how beautiful the built-in reader/player is. It complement my usage of File Explorer above.&lt;/li&gt;
&lt;/ul&gt;
Apart form features listed above, all of those app support&amp;nbsp; features typically exist storage app is quite complete (cloud services support, web-based interface, etc..). They are all enable me to use iPhone/iPad in File-Centric manner when needed. </content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/5463126809363510521/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=5463126809363510521" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5463126809363510521?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5463126809363510521?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/10/storage-and-readerplayer-app-on-ios-for.html" title="Storage and Reader/Player App on iOS for File-Centric Usage" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;D04GQHw4cCp7ImA9WhJaEUs.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-2771068356984607339</id><published>2012-09-28T14:59:00.000+07:00</published><updated>2012-10-02T15:18:41.238+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-02T15:18:41.238+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IDE" /><category scheme="http://www.blogger.com/atom/ns#" term="eclipse" /><category scheme="http://www.blogger.com/atom/ns#" term="android" /><category scheme="http://www.blogger.com/atom/ns#" term="coding" /><title>Getting Started with Android Development</title><content type="html">Recently I had project to build Android App. So, here's some notes on starting out with Android Development.&lt;br /&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;
Development Environment&lt;/h2&gt;
First things first, the development environment setup. I look up for a good IDE to work with Android and it seems Eclipse is de-facto standard so it's not a hard choice. However, choosing which package of Eclipse to download is overwhelming and there does not seem to be a good convention for it around the net. I decided to got with "&lt;b&gt;Eclipse for Mobile Developers&lt;/b&gt;" since it has "Mobile" word in it and from the package description it seems light enough. So far, I think it's a good choice and I don't have any serious problem with it.&lt;br /&gt;
&lt;br /&gt;
The next step is installing &lt;b&gt;Android Development Tool&lt;/b&gt; from Eclipse's built-in marketplace. It's a breeze though since the installation process from the marketplace took care of almost anything needed. It setting up the brand new Eclipse install into an environment ready for Android App development including including Emulator, Debugger, etc. The only thing I need to do is checking up some license agreement and clicking next.&lt;br /&gt;
&lt;br /&gt;
Not all is rosy though. As I start testing making the first app...&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
First App and Emulator Issue&lt;/h2&gt;
My first test code does not run and it turns out I had to &lt;a href="http://stackoverflow.com/questions/10517555/how-to-create-an-avd-for-android-4-0-3-unable-to-find-a-userdata-img"&gt;install system image first&lt;/a&gt;. I installed through &lt;b&gt;Android SDK Manager&lt;/b&gt; and after it the "Hello World" app finally ran.&lt;br /&gt;
&lt;br /&gt;
The default emulator setup is quite slow though so you need to tweak it in &lt;b&gt;AVD Manager&lt;/b&gt;, adding GPU, storage and stuff to to the virtual device accomodate the testing better. It ran very well afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;
The Development Resources&lt;/h2&gt;
For development resources, &lt;a href="http://developer.android.com/develop/index.html"&gt;Android Developers&lt;/a&gt; page is quite indispensable. That and some googling (which many times point me to Stack Overflow discussion) is pretty much what I need to get things done so far.&lt;br /&gt;
&lt;br /&gt;
Also, along the way I find a nice little xml-serialization/object-mapping library called &lt;a href="http://simple.sourceforge.net/"&gt;Simple&lt;/a&gt; (a pretty simple name :) ). It's java-based but the binary already compatible for the use in Android development. I haves used it since and it rocks!, no need to deal with xml parser if I don't really really have to.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
It's been a pretty nice experience of developing on Android. I probably starting out when many parts of the development has quite mature so it flows quite nicely. Also, Eclipse is a great IDE and very helpful. It's a little on the "heavy" side but still very usable and has tons of useful features which make it's heaviness issue negligible.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/2771068356984607339/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=2771068356984607339" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/2771068356984607339?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/2771068356984607339?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/09/getting-started-with-android-development.html" title="Getting Started with Android Development" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;D04BQHgzeCp7ImA9WhJUGUg.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-265960287022863814</id><published>2012-09-18T15:11:00.000+07:00</published><updated>2012-09-18T15:12:31.680+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-18T15:12:31.680+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ios" /><category scheme="http://www.blogger.com/atom/ns#" term="coding" /><title>iOS Getting Started notes</title><content type="html">Below are some Apple references materials that I follow when starting out iphone dev sometime ago. It's more or less in order of reading from the introductory/basic to specific&amp;nbsp; : &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhone101/Articles/00_Introduction.html#//apple_ref/doc/uid/TP40007514"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;IOS First App&lt;/a&gt;. Useful to get the feel of the overall development.
&lt;/li&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;Objective-C Programming Language&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html#//apple_ref/doc/uid/TP40002974"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;Cocoa Fundamental Guide&lt;/a&gt;. Explore the main/core Framework being used in iOS development.
&lt;/li&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007072"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;iOS App Programing Guide&lt;/a&gt;. Discuss things like how the program actually execute on the device and how it relate to the code.
&lt;/li&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/Xcode/Conceptual/ios_development_workflow/00-About_the_iOS_Application_Development_Workflow/introduction.html#//apple_ref/doc/uid/TP40007959"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;Tools Workflow Guide for iOS&lt;/a&gt;. Discuss things like the deployment to device, testing, etc..
&lt;/li&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40010215"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;XCode4 User Guide, &lt;/a&gt;Getting familiar more with the IDE would help a lot in day to day programming
&lt;/li&gt;
&lt;li&gt;&lt;a class="ext-link" href="https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Introduction/Introduction.html#//apple_ref/doc/uid/TP40006556"&gt;&lt;span class="icon"&gt;&amp;nbsp;&lt;/span&gt;iOS Human Interface Guidelines&lt;/a&gt;. Some guidelines on GUI component usage and conventions.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
Later on, I find the book "Programming iOS 5 Second Edition" by Matt Neuburg pretty much cover all of the above in one nicely structured book made me wish I had it when starting out. It's the most balanced book on the subject and very suitable for early learning since it give the basics a very good treatment. The book gives a solid foundation for more advanced subject. Still, reading the official documentation from Apple would give the most up-to-date and detailed coverage (with the down side that it is&amp;nbsp; not being too convenient for casual reading). So, it's a good complement for the formal references.&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/265960287022863814/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=265960287022863814" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/265960287022863814?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/265960287022863814?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/09/ios-getting-started-notes.html" title="iOS Getting Started notes" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0ECSHw_fCp7ImA9WhJUEUo.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-465384196809389392</id><published>2012-09-09T14:24:00.000+07:00</published><updated>2012-09-09T15:34:29.244+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-09T15:34:29.244+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="music" /><title>Exploring guitar sounds : AmpKit and Korg AX1500G</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://www.blogger.com/blogger.g?blogID=5742695" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
My AmpKit Link arrived yesterday, so this good lazy sunday morning was a good time to test-drive it and I had a good time exploring it. For those who never heard of it yet, it's basically a connector to interface the guitar to iPhone/iPad that enable them to function as sound processor. It's pretty neat and enable a lot of possibilities for effects and processing/recording.&lt;br /&gt;
&lt;br /&gt;
My current effect is Korg AX1500G. It's an old but dependable multi effects and you can do tons of combination of sounds within ranging from the practical one to weird, alien sounding noise. So, naturally,&amp;nbsp; I did some comparison with it, while testing Ampkit Link (with AmpKit App). There is already a lot of review about these products though, so you'll be well-served by googling about them and I don't think I can add any new things.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-gTPGapyNazE/UExBu80QaHI/AAAAAAAAAlY/RhX5AdHim4A/s1600/guitar_sound.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-gTPGapyNazE/UExBu80QaHI/AAAAAAAAAlY/RhX5AdHim4A/s1600/guitar_sound.png" height="234" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I didn't have a concrete picture initiallny on what to use the AmpKit for. It's more of a curiosity and sounds like an interesting to play with. After all, the AX1500G, with my already scarce spare time, still waited to be explored and used more (it's been gathering quite a lot of dust recently).&lt;br /&gt;
&lt;br /&gt;
It turns out that the sound that comes from AmpKit is quite nice. There is also a lot of tools and settings to play with. I played around with recording, background track, SoundCloud integration. Below is the result of doodling around with it. Be warned though, it's pretty monotone, amateurish stuff :)&amp;nbsp; :&lt;br /&gt;
&lt;br /&gt;
&lt;iframe width="100%" height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F59216244&amp;show_artwork=true"&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;All around I am happy with it and hope to explore more of it. There's also additional purchasable effects which seems interesting to play around with. I figure it would be useful as a mobile, instant effects to replace bringing a big and heavy one. What I need is just the Ampkit Link and the iPhone, which I usually bring anyway.&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/465384196809389392/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=465384196809389392" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/465384196809389392?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/465384196809389392?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/09/exploring-guitar-sounds-ampkit-and-korg.html" title="Exploring guitar sounds : AmpKit and Korg AX1500G" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-gTPGapyNazE/UExBu80QaHI/AAAAAAAAAlY/RhX5AdHim4A/s72-c/guitar_sound.png" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUMFRX49fSp7ImA9WhJXE0U.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-6798059400526793645</id><published>2012-08-07T17:15:00.001+07:00</published><updated>2012-08-08T07:56:54.065+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-08T07:56:54.065+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Now Playing Desktop Display for VLC using Geeklet</title><content type="html">I was looking for now playing display on the desktop for Mac. I used combination of Samurize, Foobar and Now Playing Simple Plugin in Windows and would like to have the similar experience.&lt;br /&gt;
&lt;br /&gt;
The closest combination I can find is by using &lt;a href="http://projects.tynsoe.org/en/geektool/"&gt;Geektool&lt;/a&gt;. There's a &lt;a href="http://www.macosxtips.co.uk/geeklets/music/vlc-now-playing-1/"&gt;posted geeklet&lt;/a&gt; for Now Playing on VLC to be used with Geektool but it no longer work when I tried it. It seems the xml posted by vlc web interface has changed since the posting of that Geeklet.&lt;br /&gt;
&lt;br /&gt;
I end up playing around with the new vlc's xml myself using &lt;a href="http://xmlstar.sourceforge.net/"&gt;XMLStarlet&lt;/a&gt; to get the value I want. It's a great command line tool for handling xml. Here's the command that I then feed to Geektool (using shell Geeklet) :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;
cd /Users/Hafiz;curl -o vlcstatus.xml -s http://localhost:8080/requests/status.xml;./bin/xml sel -t -v "/root/information/category[@name='meta']/info[@name='title' or @name='artist' or @name='album']" vlcstatus.xml&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
What it does is dump the xml to the file using curl, and then XMLStarlet parse and display the relevant part (artist, album, title). When the above command put in shell Geeklet, Geektool will then display it on the desktop.&lt;br /&gt;
&lt;br /&gt;
Here's how it displayed on the lower-right corner of my screen.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Uhh0gg-sgnc/UCDqWT-zejI/AAAAAAAAAlI/jQTIpj9X0sU/s1600/geeklet_nowplaying.tiff" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-Uhh0gg-sgnc/UCDqWT-zejI/AAAAAAAAAlI/jQTIpj9X0sU/s1600/geeklet_nowplaying.tiff" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/6798059400526793645/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=6798059400526793645" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/6798059400526793645?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/6798059400526793645?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/08/now-playing-desktop-display-for-vlc.html" title="Now Playing Desktop Display for VLC using Geeklet" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Uhh0gg-sgnc/UCDqWT-zejI/AAAAAAAAAlI/jQTIpj9X0sU/s72-c/geeklet_nowplaying.tiff" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DkUAQ3o6eSp7ImA9WhJQFk4.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-1643396551291316355</id><published>2012-07-30T14:44:00.000+07:00</published><updated>2012-07-30T14:44:02.411+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-30T14:44:02.411+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="coding" /><title>Use Restkit Object Mapping directly</title><content type="html">Restkit has a good object mapping library inside it. However, it's used is integrated with it's &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;loadObject&lt;/span&gt; function and not really clear how we can use it directly without going through loadObject. This is useful when we have data we want to map that does not come from &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;loadObject&lt;/span&gt; flow.&lt;br /&gt;
&lt;br /&gt;
There's a brief hint on this on &lt;a href="https://github.com/RestKit/RestKit/blob/master/Docs/Object%20Mapping.md"&gt;Restkit's Object Mapping manual&lt;/a&gt; on section Task &amp;gt; Performing a Mapping. It shows how the mapping is called internally.&lt;br /&gt;
&lt;br /&gt;
Here's the clases related to Object Mapping in Restkit :&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-6Hoj3ZvdcIk/UBY5fh9C26I/AAAAAAAAAk4/NIV84t3KLw8/s1600/restkit_object_mapping_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="195" src="http://4.bp.blogspot.com/-6Hoj3ZvdcIk/UBY5fh9C26I/AAAAAAAAAk4/NIV84t3KLw8/s400/restkit_object_mapping_2.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
and here's summary of the steps :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;create an instance of &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RKObjectMappingProvider&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;make mappings for each model using &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RKObjectMapping&lt;/span&gt; and add it to the instance of&amp;nbsp; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RKObjectMappingProvider&lt;/span&gt; above (using &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;setMapping&lt;/span&gt; function)&lt;/li&gt;
&lt;li&gt;when it's time to do the mapping create &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RKObjectMapper&lt;/span&gt; instance following the "Performing a Mapping" documentation mentioned above&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/1643396551291316355/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=1643396551291316355" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1643396551291316355?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1643396551291316355?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/07/use-restkit-object-mapping-directly.html" title="Use Restkit Object Mapping directly" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-6Hoj3ZvdcIk/UBY5fh9C26I/AAAAAAAAAk4/NIV84t3KLw8/s72-c/restkit_object_mapping_2.png" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DkUBQnY6fip7ImA9WhJQFk4.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-6071930747480307644</id><published>2012-07-30T14:07:00.000+07:00</published><updated>2012-07-30T14:44:13.816+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-30T14:44:13.816+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="coding" /><title>Accessing app content on iOS device or emulator on</title><content type="html">When developing iOS app that store data to device, having a direct access to the filesystem will help a lot on debugging. Here's the references of it on Stackoverflow to access them : for &lt;a href="http://stackoverflow.com/questions/7405790/is-it-possible-to-view-the-contents-of-files-in-the-ios-application-sandbox-whil"&gt;device&lt;/a&gt; and &lt;a href="http://stackoverflow.com/questions/1108076/where-does-the-iphone-simulator-store-its-data"&gt;emulator&lt;/a&gt;. Below are the summary : &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;For device, use project organizer on XCode to access device. From the device entry, you can download the filesystem content of the app&lt;/li&gt;
&lt;li&gt;For emulator, the filesystem reside on : ~/Library/Application Support/iPhone Simulator/[OS version]/Applications/[appGUID]/&lt;/li&gt;
&lt;/ul&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/6071930747480307644/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=6071930747480307644" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/6071930747480307644?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/6071930747480307644?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/07/accessing-app-content-on-ios-device-or.html" title="Accessing app content on iOS device or emulator on" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DE4NQXc9eCp7ImA9WhJSGU8.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-2689601453025689548</id><published>2012-07-10T20:29:00.004+07:00</published><updated>2012-07-10T20:29:50.960+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-10T20:29:50.960+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>iThoughts and Freeplane compatibility</title><content type="html">I used &lt;a href="http://freeplane.sourceforge.net/wiki/index.php/Main_Page"&gt;Freeplane &lt;/a&gt;a lot, not just for mindmapping but also for other uses like lists, outlines and notes. So, it's quite useful for me to having it accessible as much as possible. Currently, the best available option to have Freeplane's file&amp;nbsp; mobile on iPhone and iPad is using &lt;a href="http://www.ithoughts.co.uk/"&gt;iThoughts&lt;/a&gt;. It is not perfect and many aspect not translated well between them, but it's usable and good enough for my need for now.&lt;br /&gt;
&lt;br /&gt;
Here is some tips and notes of using iThoughts as "mobile" Freeplane :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Turn off "Resolve Auto Attributes" under "Export Options" group in iThoughts. This will map auto/blank attributes on iThoughts to defaults to Freeplane which is better than having to deal with confusing translation of Auto/inherited attributes&lt;/li&gt;
&lt;li&gt;iThoughts only know edge color, so every node color (text, background, edge) will all translated (flattened to be more exact) to edge color on iThougts. The bad thing about this is that it's a lossy translation, so when you re-open on Freeplane, all node-related color are back to default except for the edge color&lt;/li&gt;
&lt;li&gt;Icons compatibility is quite limited. Some typical groups and sequences like flags and numbers are in-sync as some punctuation-based icon like question and exclamation icon is in-sync too. So, use icon sparingly and test for compatibility&lt;/li&gt;
&lt;li&gt;Even after yo have established your personal convention you might still see some surprises on maps/nodes. This usually some Auto format issue. Try to reset the format to Auto on iThoughts and/or Default in Freeplane and reapply the needed formatting. This usually get the format in-sync again&lt;/li&gt;
&lt;/ul&gt;
iThoughts is a good app in itself, but it's Freeplane compatibility it's just medium level. Although it would be ideal to have full Freeplane&amp;nbsp; app but with some tweaks above&amp;nbsp; iThoughts could do the job for now.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/2689601453025689548/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=2689601453025689548" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/2689601453025689548?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/2689601453025689548?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/07/ithoughts-and-freeplane-compatibility.html" title="iThoughts and Freeplane compatibility" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUECRXY8eyp7ImA9WhVWEUU.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-4594160125271067012</id><published>2012-04-23T20:27:00.000+07:00</published><updated>2012-04-23T20:27:44.873+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-23T20:27:44.873+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>muCommander to "complement" Finder in OSX Lion</title><content type="html">I recently found &lt;a href="http://www.mucommander.com/"&gt;muCommander &lt;/a&gt;File Manager. It's simple, dual-pane file manager (as a bonus, it's also multiplatform due to it's java usage). It supports natively several file protocol e.g: smb, ftp. However, the biggest use of it for me currently is that it can open windows share when Finder can not.&lt;br /&gt;
&lt;br /&gt;
I have many issues with Windows Share in Finder and it can break the workflow sometime. muCommander help with that in many cases. On some other needs, it does not entirely solve the problem since it can not mount it and only allow transfer. This means I can not open the file directly through the share but need to copy it locally first. Still, it's a good help for now until Apple fix the interoperability with Windows Share.&lt;br /&gt;
&lt;br /&gt;
Apart from that, I probably won't use it much beyond helping the windows share issue above. and some occasional need for dual pane.&amp;nbsp; It's a nice looking File Manager but a little too simplistic for my needs.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/4594160125271067012/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=4594160125271067012" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/4594160125271067012?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/4594160125271067012?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/04/mucommander-to-complement-finder-in-osx.html" title="muCommander to &quot;complement&quot; Finder in OSX Lion" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CUEBRXs7fip7ImA9WhVXF0g.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-5608499473451129527</id><published>2012-04-18T19:54:00.000+07:00</published><updated>2012-04-18T19:54:14.506+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-18T19:54:14.506+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="coding" /><title>Powerful but light PHP Framework/Library combination : Slim, Twig, Idiorm/Paris</title><content type="html">I need to work on PHP website recently and were looking for libraries and framework to approach it better with the latest components available. My previous perception on PHP is that it has has a lot to catch up with existing solutions on Ruby and Python. However, this time it seems it already has done it's homework and now has many options regarding some development in web programming e.g: Template Engine, Microframework, ORM.&lt;br /&gt;
&lt;br /&gt;
Here several libraries/framework that I find can form a good combination for small to medium project :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.slimframework.com/"&gt;Slim &lt;/a&gt;is a micro framework for PHP. It is a good enough to help separate the web application into a more modular, decoupled architecture (call it something like MVC if you like). It's a very low-cost approach compare to using full-blown framework like Zend. In Python, I used Flask and it's quite similar.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://twig.sensiolabs.org/"&gt;Twig &lt;/a&gt;is a templating Engine. It's like Jinja in Python. In fact, the initial coder is Jinja developer, so it's not too strange that it feels quite similar. I don't think people should write/generate HTML code inside PHP directly&amp;nbsp; anymore. It's inhumane :). Templating engine helps the code deal with the logic exclusively while it deals with how to present it. It has a good two-ray integration with Slim above : there's Slim extension for Twig and Twig can be plug to Slim as Template engine.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://j4mie.github.com/idiormandparis/"&gt;Idiorm/Paris&lt;/a&gt; is a a very light ORM layer for PHP. It just one class and one file with a straightforward and simple uses yet it does the job really well.&lt;/li&gt;
&lt;/ul&gt;
So far, I find the combination above serve me quite well. They are quite flexible, does not force too much assumptions/model and has small learning-curve and overhead.&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/5608499473451129527/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=5608499473451129527" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5608499473451129527?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/5608499473451129527?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/04/powerful-but-light-php-frameworklibrary.html" title="Powerful but light PHP Framework/Library combination : Slim, Twig, Idiorm/Paris" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total></entry><entry gd:etag="W/&quot;C0QDRng9eSp7ImA9WhVXFUU.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-8997503892432557660</id><published>2012-04-16T20:02:00.003+07:00</published><updated>2012-04-16T20:02:57.661+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-16T20:02:57.661+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Manage Linux system services using sys-rc-conv</title><content type="html">There's a good tool to help manage system service in linux : &lt;a href="http://sysv-rc-conf.sourceforge.net/"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sysv-rc-conv&lt;/span&gt;&lt;/a&gt; that I start to used just recenrly. It's much better than having to deal with &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/etc/rc*.d&lt;/span&gt; stuff.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-JIBk-U9YzcE/T4bR_cAr0JI/AAAAAAAAAkg/1K54p5QzWd0/s1600/sysv-rc-conf.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="93" src="http://4.bp.blogspot.com/-JIBk-U9YzcE/T4bR_cAr0JI/AAAAAAAAAkg/1K54p5QzWd0/s320/sysv-rc-conf.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I don't know why I haven't used it before, probably because of the name :). It does describe the context and function well but not exactly easy to remember and pass around.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/8997503892432557660/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=8997503892432557660" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/8997503892432557660?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/8997503892432557660?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/04/manage-linux-system-services-using-sys.html" title="Manage Linux system services using sys-rc-conv" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-JIBk-U9YzcE/T4bR_cAr0JI/AAAAAAAAAkg/1K54p5QzWd0/s72-c/sysv-rc-conf.png" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;D0AGQnY5cSp7ImA9WhVXEk4.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-1937056130710325524</id><published>2012-04-12T20:02:00.000+07:00</published><updated>2012-04-12T20:02:03.829+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-12T20:02:03.829+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Integrating Apple Ecosystem</title><content type="html">&lt;br /&gt;
Early this year I got some iPhone app project to start. So, it began my serious usage of Apple Ecosystem. I start to use together iMac, iPhone4 and iPad2. It's been a very involving process to get them integrated into my current workflow (which up till then was mostly Windows-based). Most of my previous system is still used except for HTC Touch Pro2 which is replaced by iPhone4. Below are some notes on the integration process :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Moving to The Cloud&lt;/b&gt;. My previous main GTD system is synced directly using cable with my HTC-TP2 act as the central on the synching with Laptop and Desktop with WMDC and BirdieSync as a glue. With the inclusion of the new devices it would no longer possible (or at least very impractical) to keep doing it. I guess this is what the clouds are made for. I now rely on Google Map, ToodleDo and Dropbox for most of the syncing.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Java-Based software are ported well&lt;/b&gt;. Java works. I got jEdit, Freeplane, Astah working and ready to use on &lt;/li&gt;
&lt;li&gt;&lt;b&gt;Mutliplatform software do it's job well&lt;/b&gt;. Firefox and Thunderbird has no issues here.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Most of the software has comparable counterparts&lt;/b&gt;. Most of the software has more or less a comparable alternative on each platform. Some are better but some are less fancy, so overall it's a draw, I guess. I miss TortoiseSVN quite a lot in iMac.&lt;/li&gt;
&lt;/ul&gt;
Apart from the software it's mostly the adaptation that take some time. I don't like to just imitate what I did on other platform to another one. It's more satisfying, and useful on the long run, to try to understand first the new platform different approach and to migrate the needs as natively as possible before improvising more later on. For example, I tried built in Mail and Calendar on iMac for sometime before switching back to Thunderbird+Lightning.&lt;br /&gt;
&lt;br /&gt;
So far, I enjoy the new systems and it brings many fresh views, new approach and utilities.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/1937056130710325524/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=1937056130710325524" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1937056130710325524?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1937056130710325524?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/04/integrating-apple-ecosystem.html" title="Integrating Apple Ecosystem" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DEAHQ3c8eyp7ImA9WhVXE08.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-919724092350239526</id><published>2012-04-10T21:15:00.000+07:00</published><updated>2012-04-13T21:18:52.973+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-13T21:18:52.973+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>jEdit on Mac : How to get better font rendering</title><content type="html">&lt;br /&gt;
Text Editor is one of the first software I look around when I start using Mac. I am a jEdit user on windows but I figure I tried what's available natively on Mac first, in case there's something better and works natively. Long story short, jEdit is still the best option for me.&lt;br /&gt;
&lt;br /&gt;
It runs quite well on Mac but somehow it seems something is a bit miss in the way it renders font. The characters are a bit blurry, although not too bad and I still managed to ignore it for sometime. However, after a while, the difference with the native editor like TextEdit start to raise some curiosity about the difference on how they render the font.&lt;br /&gt;
&lt;br /&gt;
The discussion &lt;a href="http://old.nabble.com/Better-looking-text-in-jEdit-on-Mac-OS-X-p24204325.html"&gt;here&lt;/a&gt;, finally shed some lights on the issue. Below is what need to be set on jEdit (quoted from the original post) :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span style="font-size: x-small;"&gt;Edit the file: /Applications/jEdit.app/Contents/Info.plist&lt;br /&gt;
&lt;br /&gt;.. somewhere around line 66 you'll see these options&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;key&gt;Properties&lt;/key&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;dict&gt;&lt;/dict&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;
&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;key&gt;apple.awt.textantialiasing&lt;/key&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;string&gt;true&lt;/string&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;
&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;key&gt;apple.laf.useScreenMenuBar&lt;/key&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;string&gt;true&lt;/string&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;
&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;key&gt;apple.awt.antialiasing&lt;/key&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;string&gt;true&lt;/string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;.. just after those lines, add the following extra properties:&lt;br style="font-family: courier new,monospace;" /&gt;&lt;br style="font-family: courier new,monospace;" /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;key&gt;apple.awt.graphics.UseQuartz&lt;/key&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;
&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;string&gt;true&lt;/string&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;key&gt;apple.awt.rendering&lt;/key&gt;&lt;/span&gt;&lt;br style="font-family: courier new,monospace;" /&gt;
&lt;span style="font-family: courier new,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;string&gt;quality&lt;/string&gt;&lt;/span&gt;&lt;span style="font-family: courier new,monospace;"&gt;&lt;br /&gt;&lt;br style="font-family: arial,helvetica,sans-serif;" /&gt;&lt;span style="font-family: arial,helvetica,sans-serif;"&gt;.. restart jEdit, and you should have much nicer font rendering!&lt;/span&gt;&lt;/span&gt; :-)&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
It looks much nicer after it and give me even less reason to try to move from jEdit.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/919724092350239526/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=919724092350239526" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/919724092350239526?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/919724092350239526?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2012/04/jedit-on-mac-how-to-get-better-font.html" title="jEdit on Mac : How to get better font rendering" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;DE4MSHsyfyp7ImA9WhdWE0g.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-8094239014048050639</id><published>2011-09-07T07:55:00.001+07:00</published><updated>2011-09-07T07:56:29.597+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-07T07:56:29.597+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><title>A stuck and hang VM on Xenserver</title><content type="html">Yesterday I found our development server can not be accessed. It's a VM under Xenserver and trying to fix things through XenCenter is quite a deadend. The console can not be accessed from XenCenter, there's only blank whitescreen and when the VM was being forced to shutdown it complained "&lt;i&gt;Another&lt;wbr&gt;&lt;/wbr&gt; operation involving the object is currently in progress &lt;/i&gt;&lt;i&gt;class: VM&lt;/i&gt;".&lt;br /&gt;
&lt;br /&gt;
There's some discussion and proposed solution from &lt;a href="http://forums.citrix.com/thread.jspa?threadID=274697&amp;amp;tstart=0#1499848"&gt;this &lt;/a&gt;and &lt;a href="http://forums.citrix.com/thread.jspa?messageID=1567174&amp;amp;#1567174"&gt;this &lt;/a&gt;thread forum. Here's quote from one of the post that&amp;nbsp; finally fix it for me (you need to login to server's shell to execute the below command) :&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;1 - "xe vm-list" to get the uuid of the VM that is hung&lt;br /&gt;
2 - "list_domains" to list the domain uuid's so you can determine the domain # of the VM above by matching the uuids from this output with the uuid for your VM from the previous command.&lt;br /&gt;
3 - "/opt/xensource/debug/destroy_domain -domid XX" where XX is the domain number from the previous command&lt;br /&gt;
4 - "xe vm-reboot uuid=XXXX --force" where XXXX is the uuid from the first vm-list command for your VM. (name-label may work but didn't work this time for me so I used the uuid)&lt;/blockquote&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/8094239014048050639/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=8094239014048050639" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/8094239014048050639?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/8094239014048050639?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2011/09/unable-to-shutdown-hang-vm-on-xenserver.html" title="A stuck and hang VM on Xenserver" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>5</thr:total></entry><entry gd:etag="W/&quot;A0IBQH0-eSp7ImA9WhdQGU0.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-1939487108710382080</id><published>2011-08-21T13:52:00.000+07:00</published><updated>2011-08-21T13:52:31.351+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-21T13:52:31.351+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system" /><title>Install Kubuntu 11.04 on Samsung N150</title><content type="html">I had a Samsung N150 from the office and installed it with Kubuntu 11.04 not long ago. Below are some notes to get it working acceptably. It's more of a high level notes/todos on setting things up for guides and reminder and not meant for the detailed to-the-letter instructions (read : familiarity with ubuntu/linux is assumed). &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;The basic installation&lt;/b&gt;. There is nothing special here as it went quite straightforward.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Changing the network-manager with wicd&lt;/b&gt;. My wifi can not be connected with the defallt-installed network-manager. Removing network-manager and replacing it with wicd (together with it's kde integration) solve the problem.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Add xorg-edgers to apt-source&lt;/b&gt; and do updates to get video driver hardware acceleration (http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu natty main). This way, the 3d efffects on kde will run smoothly.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Fix the brightness setting&lt;/b&gt; : https://bugs.launchpad.net/ubuntu/+source/udev/+bug/574250. Installing &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-backlight&lt;/span&gt; and &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;samsung-tools&lt;/span&gt; mentioned on the article does not help in my case (only working once after install and the brightness setting fail to work again after resboot).&amp;nbsp; The solution I end up settling in is making script to encapsulate the solution using &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;setpci&lt;/span&gt; as referred on the article. It is not user friendly but good enough for me and since I don't change brightness too often it i not really a big deal.&lt;/li&gt;
&lt;/ul&gt;Despite it needs some research and tweak to get it working to a usable state, it is interesting to use when it is finally working. The kubuntu netbook-style desktop need sometime to get used to but after it I can appreciate how it makes the work on the netbook and and it's utilization become more efficient, most notably the screen real estate.&amp;nbsp; It does that without compromising the usability too much. Also, having the application menu integrated to desktop in a popup/vertical way is very cool too.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/1939487108710382080/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=1939487108710382080" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1939487108710382080?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/1939487108710382080?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2011/08/install-kubuntu-1104-on-samsung-n150.html" title="Install Kubuntu 11.04 on Samsung N150" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;C04DQ3w8fSp7ImA9WhZaE0w.&quot;"><id>tag:blogger.com,1999:blog-5742695.post-7486352474217203727</id><published>2011-06-29T08:46:00.000+07:00</published><updated>2011-06-29T08:46:12.275+07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-29T08:46:12.275+07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IDE" /><title>The Return of Help Viewer, Visual Studio 2010 Service Pack 1</title><content type="html">I recently install Visual Studio 2010 Service Pack 1. It surprised me when opening the Help a familiar-looking Help Viewer popup (although from the looks of it, it seems now rewritten in WPF following the visual studio itself).&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-V_5ph6dazbs/TgqBaaS5DNI/AAAAAAAAAkI/6s9h3QUuCjk/s1600/vs2010_help_viewer.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://2.bp.blogspot.com/-V_5ph6dazbs/TgqBaaS5DNI/AAAAAAAAAkI/6s9h3QUuCjk/s320/vs2010_help_viewer.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
I was a bit uncomfortable using the previous browser-based help initially, although overtime I am starting to get used to it and appreciate some of the benefits e.g: easier saving, simpler navigation. However, now that the desktop-based one came back, I am happy again :).&lt;br /&gt;
&lt;br /&gt;
The main problem with me with browser-based one is that it got closed often and getting mixed up with other stuff opened in browser. It makes switching to it slower than desktop one since my mind seems to need additional work to get to it&amp;nbsp; i.e: find the browser and select the one that open the help, compare to just open the application directly. The reason is quite similar to why I still prefer using thunderbird for opening mail no matter how improved gmail web-based email client currently i.e: desktop-based still feels more native and direct.</content><link rel="replies" type="application/atom+xml" href="http://www.hafizpariabi.com/feeds/7486352474217203727/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5742695&amp;postID=7486352474217203727" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/7486352474217203727?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5742695/posts/default/7486352474217203727?v=2" /><link rel="alternate" type="text/html" href="http://www.hafizpariabi.com/2011/06/return-of-help-viewer-visual-studio.html" title="The Return of Help Viewer, Visual Studio 2010 Service Pack 1" /><author><name>Hafiz</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-V_5ph6dazbs/TgqBaaS5DNI/AAAAAAAAAkI/6s9h3QUuCjk/s72-c/vs2010_help_viewer.jpg" height="72" width="72" /><thr:total>0</thr:total></entry></feed>
