Just a heads up, my previous headphone was FA-003 and it really serves its purpose well and is definitely the best bang for buck. In fact, I had been taking a great amount of notice about this HD600 vs HD650 debate for a very long time now but decided to go for FA-003 previously for lacking the bucks to buy one of this. One thing I dislike about FA-003 is that wearing it to listen for music for a long period always makes my head feel uncomfortable (even after adjusting the head band in various level), particularly the clamping force that I had. The listening experience is good, but the comfort always prevent me from really enjoying music for a long time.
Home » All posts
PS Vita Unboxing!
in
unboxing
- on 11:13 PM
- 21 comments
Finally got my PS Vita today!!
Overall it cost me NTD 9410 (~RM 956) for all the items in the box and NTD 980 (~RM99) for Metal Gear Solid (US) and NTD 145 (~RM147)for Persona The Golden (JP).
The price for the console is actually NTD 9410 - NTD 2750 (the actual price for 32GB memory card (free due to promotion event by SEN in Taiwan) - NTD 580 for the 365 PSN Card (free) - NTD 190 for the AR Card) (free) = NTD 5890 (~RM598).
So here are some pictures for your viewing enjoyment.
Overall it cost me NTD 9410 (~RM 956) for all the items in the box and NTD 980 (~RM99) for Metal Gear Solid (US) and NTD 145 (~RM147)for Persona The Golden (JP).
The price for the console is actually NTD 9410 - NTD 2750 (the actual price for 32GB memory card (free due to promotion event by SEN in Taiwan) - NTD 580 for the 365 PSN Card (free) - NTD 190 for the AR Card) (free) = NTD 5890 (~RM598).
So here are some pictures for your viewing enjoyment.
[Tutorial] Enable network connection in Android x86 4.0 ICS using VirtualBox
in
android,
tutorial
- on 4:01 PM
- 3 comments
If you're an Android developer like me, you'll come to hate the sluggish performance of the emulator that came bundled with the SDK. So you try to install Android x86 as a VM in Virtual Box. Things work out pretty good and there's no more annoyance of the slow down. But one thing that you'll realize fast enough is THERE IS NO NETWORK CONNECTION! Googling for this and you'll come across to many workaround, which you might find it not working.
Following the instruction below to get the network connection working in Android x86 4.0 RC (eecpc version) on VirtualBox.
Following the instruction below to get the network connection working in Android x86 4.0 RC (eecpc version) on VirtualBox.
Installing DLCs for Final Fantasy Theatrhythm (iOS)
in
iOS,
tutorial
- on 5:06 PM
- 8 comments
If you were a FF fan like me, I believe you will feel happy when realizing that FF Theatrhythm was released on AppStore for Free. However, the developer had a plan behind that move, which is by implementing the dreaded DLC which will surely rip off your wallet unless you are uber rich. Purchasing all the songs will cost you more than twice the amount that you can pay for a 3DS version for similar game. Compared to the original release for 3DS, the iOS port has the RPG element removed. However it is compensented by offering several lengthly songs not available for the 3DS version, such as One-Winged Angel from FFVII: Advert Children.
Luckily there was a Thailand guy that had cracked all the DLCs and kind enough to share it with the rest of the world. Follow the instructions below to download the DLCs at zero $!
Luckily there was a Thailand guy that had cracked all the DLCs and kind enough to share it with the rest of the world. Follow the instructions below to download the DLCs at zero $!
[Tutorial] How to port forward in VMware Fusion 5
in
tutorial,
vmware
- on 4:38 PM
- 34 comments
1. Edit the NAT configuration file.
$ sudo vi "/Library/Preferences/VMware Fusion/vmnet8/nat.conf"'
...
[incomingtcp] 3128 = 192.168.19.69:3128
...
E.g. I want to forward the client request from port 3128 into a web server running on VM using port 3128.
Typically you will need to restart the VM for the effect to take changes. Another solution is just restarting the NAT service by executing the following command:
sudo "/Applications/VMware Fusion.app/Contents/Library/vmnet-cli" [--stop|--start]
$ sudo vi "/Library/Preferences/VMware Fusion/vmnet8/nat.conf"'
...
[incomingtcp] 3128 = 192.168.19.69:3128
...
E.g. I want to forward the client request from port 3128 into a web server running on VM using port 3128.
Typically you will need to restart the VM for the effect to take changes. Another solution is just restarting the NAT service by executing the following command:
sudo "/Applications/VMware Fusion.app/Contents/Library/vmnet-cli" [--stop|--start]
[Tutorial] The Complete Guide for Installing Your Own Subsonic Music Streaming Server
in
featured,
server,
streaming,
tutorial
- on 3:17 PM
- 8 comments
IMPORTANT: This guide is continually updated from time to time.
Subsonic (or Subsonic Music Streamer) is an open source media player server that allows even normal user to share their multimedia files online. The following tutorial is prepared to guide you to fresh install SubSonic mods such as MusicCabinet and Madsonic on Mac OS X. The setup is done on a Mountain Lion 10.8.2 system.
At the end of this tutorial you will:
You will have to download the installer from Oracle to install the latest Java 7 as it is not distributed by Apple.
NOTE: The latest Java version distributed by Apple is Java 6, which doesn’t meet the minimum requirements of Subsonic.
The mods might comes with two distribution, namely:
2. Extract it to somewhere convenient, e.g. /Desktop and change your working directory there
3. The archive file normally have name such as subsonic-installer-standalone which contains files such as subsonic.war, subsonic-booter-jar-with-dependencies.jar, subsonic.bat (startfup script for windows) and subsonic.sh (startup script for *NIX/Mac)
4. Before launching the startup script, you will need to assign +x rights to the subsonic.sh file.
5. Create a new directory called /subsonic under /var/ and assign the ownership to it. This directory is used to store subsonic database and log files.
6. Launch the script by entering:
7. Access the page by going to http://localhost:4040. You should see a login page.
8. Log in using the default admin account using ‘admin’ for both the username and password.
9. You should see a getting started page that require you to have a Postgre database setup. Proceed here install Postgre if you haven’t got it setup.
10. After setting it up, click on the Configure System. You will be asked to enter a password for the user ‘postgres’. The default password is ‘postgres’ if you installed it using the installation guide on step 8. Otherwise enter the password that you supplied when installing PostgreSQL.
11. That’s it, you’re done.
1. Refer to the guide (http://wolfpaulus.com/journal/mac/tomcat7)
2. To start the server, simply type:
3. To check which JRE that Tomcat is running, enter (http://localhost:8080) and click the Manager.
4. By default, there isn’t any user created to access the manager interface. You will need to create it by editing:
Then paste the following code just above the '<'/tomcat-users'>'. This will create a user with the name ‘tomcat’ and password ‘s3cret’.
5. Now click the Status and make sure the JVM running is 1.7+. If it is running on version 1.6.x or below, refer here.
6. After making sure that Tomcat is running using JVM version 1.7.x, move the .war file to the following path:
7. Restart and run the server again. If all goes well you will see the page loading at http://localhost:8080/subsonic
1. Update to the latest MacPorts version. Go grab a coffee because this will take up quite some time.
2. Create the initial database for Music Cabinet:
3. To run the server manually:
NOTE: The default user created is ‘postgres’ with the same password ‘postgres’.
NOTE: Proceed only if you see any FATAL ERROR: too many clients already in the terminal.
If you wish to increase the maximum connection number of Postgre from the default value of 20 to a higher number, the SHMMAX read by the kernel need to be increased as well.
You can check the current SHMMAX value by your running kernel by issuing
and then you will find the following which is the default.
To increase this value, you will need to create a file under /etc/sysctl.conf and enter the following lines as recommended by Postgre README file for MBP 2GB RAM. The purpose of creating the file is so that the changes made will be persistent each time you reboot the system.
How to Set Java Path to Java 7
1. Go to /Applications/Utilities and select Java Preferences.
2. Drag and drop Java SE 7 so that it is located at the top.
By doing so, your system is now configured to use JRE 7 as its priority and will only fallback if the Java application doesn’t support it.
3. In the terminal, type
4. This should return with a path such as
5. To include this as the $JAVA_PATH:
NOTE: Using the following command would not register JAVA 7 because the latest Java 7 is not distributed by Apple, instead it is by Oracle.
1. Download php-cgi from MacPorts.
2. Add the following lines into /TOMCAT_DIR/conf/web.xml.
php.java.servlet.ContextLoaderListener
PhpJavaServlet php.java.servlet.PhpJavaServlet PhpCGIServlet php.java.servlet.PhpCGIServlet prefer_system_php_exec On php_include_java On PhpJavaServlet *.phpjavabridge PhpCGIServlet *.php
3. Follow the instructions here.
4. After extracting the files, put both JavaBridge.jar and php-servlet.jar into /TOMCAT_DIR/lib
5. Open context.xml found under the /TOMCAT_DIR/conf/
6. Append the following line to the Context header.
For example:
A. It is located under /var/subsonic.
2. Where is Tomcat Log file?
A. It can be found under /tomcat dir/logs. It is very useful to troubleshoot why a page refuses to load.
3. How to increase Tomcat heap size to prevent OutOfMemory error?
Type the following command in the terminal.
2. Hiding server status and usage to public user - http://forum.subsonic.org/forum/viewtopic.php?f=3&t=8040&p=36224&hilit=hide#p36224
1. Follow the instruction here.
2. Extract and put the file into /TOMCAT_DIR/webapps.
3. Make some necessary changes to the following files:
- register.php
Change the domain name into your subsonic address.
- /lib/config.php
- /lib/mailconf.php
- /lib/mail/passresetmail.txt
Contains the format of the mail received by the user when they reset their password.
- /lib/mail/regmail.txt
Contains the format of the mail received by the user when they register.
Add the following to login.jsp so that it will display both the register and forgot password link.
TODO
- Guide to setting up transcoding.
- Changing the subsonic source code and compile.
Introduction
Subsonic (or Subsonic Music Streamer) is an open source media player server that allows even normal user to share their multimedia files online. The following tutorial is prepared to guide you to fresh install SubSonic mods such as MusicCabinet and Madsonic on Mac OS X. The setup is done on a Mountain Lion 10.8.2 system.
At the end of this tutorial you will:
- Have a Subsonic streaming server setup on your Mac.
- Setup Subsonic registration engine so that other user can register without manually creating the users.
Prerequisite
- Java 7
- Tomcat 6
- Postgre
- Macports
You will have to download the installer from Oracle to install the latest Java 7 as it is not distributed by Apple.
NOTE: The latest Java version distributed by Apple is Java 6, which doesn’t meet the minimum requirements of Subsonic.
The mods might comes with two distribution, namely:
- Standalone - Bundle together with Jetty Web Server. This is the easiest deployment.
- WAR (Web Archive) format - To be deployed on a Java Web Server such as Tomcat. More complicated.
Method 1 - Standalone Deployment (e.g. Music Cabinet)
1. Download the latest standalone deployment here at http://forum.subsonic.org/forum/viewforum.php?f=112. Extract it to somewhere convenient, e.g. /Desktop and change your working directory there
cd /Desktop/subsonic-installer-standalone
3. The archive file normally have name such as subsonic-installer-standalone which contains files such as subsonic.war, subsonic-booter-jar-with-dependencies.jar, subsonic.bat (startfup script for windows) and subsonic.sh (startup script for *NIX/Mac)
4. Before launching the startup script, you will need to assign +x rights to the subsonic.sh file.
sudo chmod +x subsonic.sh
5. Create a new directory called /subsonic under /var/ and assign the ownership to it. This directory is used to store subsonic database and log files.
$ sudo mkdir /var/subsonic
$ sudo chown dsync /var/subsonic
$ sudo chown dsync /var/subsonic
6. Launch the script by entering:
./subsonic.sh
7. Access the page by going to http://localhost:4040. You should see a login page.
8. Log in using the default admin account using ‘admin’ for both the username and password.
9. You should see a getting started page that require you to have a Postgre database setup. Proceed here install Postgre if you haven’t got it setup.
10. After setting it up, click on the Configure System. You will be asked to enter a password for the user ‘postgres’. The default password is ‘postgres’ if you installed it using the installation guide on step 8. Otherwise enter the password that you supplied when installing PostgreSQL.
11. That’s it, you’re done.
Method 2 - WAR deployment using Tomcat
Currently it is stated in the site that Subsonic only works well on Tomcat version 6. So this tutorial will proceed to install with Tomcat 6.1. Refer to the guide (http://wolfpaulus.com/journal/mac/tomcat7)
2. To start the server, simply type:
$ /Library/Tomcat/bin/startup.sh
or the following to stop the server:
$ /Library/Tomcat/bin/shutdown.sh
3. To check which JRE that Tomcat is running, enter (http://localhost:8080) and click the Manager.
4. By default, there isn’t any user created to access the manager interface. You will need to create it by editing:
$ nano /Library/Tomcat/conf/tomcat-users.xml
Then paste the following code just above the '<'/tomcat-users'>'. This will create a user with the name ‘tomcat’ and password ‘s3cret’.
<role rolename="manager-gui">
<user password="s3cret" roles="manager-gui" username="tomcat">
</user></role>
<user password="s3cret" roles="manager-gui" username="tomcat">
</user></role>
5. Now click the Status and make sure the JVM running is 1.7+. If it is running on version 1.6.x or below, refer here.
6. After making sure that Tomcat is running using JVM version 1.7.x, move the .war file to the following path:
$ mv /Desktop/subsonic.war /usr/local/apache-tomcat-6.0.35/webapps
7. Restart and run the server again. If all goes well you will see the page loading at http://localhost:8080/subsonic
Installing PostgreSQL 9.2
There are two ways of installing it, one is to directly using the .pkg installer found on Postgre official site. The second one is through MacPorts. This tutorial will cover the second method:1. Update to the latest MacPorts version. Go grab a coffee because this will take up quite some time.
$ sudo port –v selfupdate
$ sudo port –v install postgresql92-server
$ sudo port –v install postgresql92-server
2. Create the initial database for Music Cabinet:
$ sudo mkdir –p /opt/local/var/db/postgresql92/musiccabinet
$ sudo chown postgres:postgres /opt/local/var/db
$ sudo su postgres –c ‘/opt/local/lib/postgresql92/bin/initdb –D /opt/local/var/db/postgresql92/musiccabinet
$ sudo chown postgres:postgres /opt/local/var/db
$ sudo su postgres –c ‘/opt/local/lib/postgresql92/bin/initdb –D /opt/local/var/db/postgresql92/musiccabinet
3. To run the server manually:
$ sudo su postgres -c '/opt/local/lib/postgresql92/bin/postgres -D /opt/local/var/db/postgresql92/musiccabinet'
NOTE: The default user created is ‘postgres’ with the same password ‘postgres’.
Troubleshooting
How to increase Postgre maximum connection number?NOTE: Proceed only if you see any FATAL ERROR: too many clients already in the terminal.
If you wish to increase the maximum connection number of Postgre from the default value of 20 to a higher number, the SHMMAX read by the kernel need to be increased as well.
You can check the current SHMMAX value by your running kernel by issuing
$ sysctl –a
and then you will find the following which is the default.
kern.sysv.shmmax: 4194304
To increase this value, you will need to create a file under /etc/sysctl.conf and enter the following lines as recommended by Postgre README file for MBP 2GB RAM. The purpose of creating the file is so that the changes made will be persistent each time you reboot the system.
$ nano /etc/sysctl.conf
kern.sysv.shmmax=1610612736
kern.sysv.shmall=393216
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.maxprocperuid=512
kern.maxproc=2048
kern.sysv.shmmax=1610612736
kern.sysv.shmall=393216
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.maxprocperuid=512
kern.maxproc=2048
How to Set Java Path to Java 7
1. Go to /Applications/Utilities and select Java Preferences.
2. Drag and drop Java SE 7 so that it is located at the top.
By doing so, your system is now configured to use JRE 7 as its priority and will only fallback if the Java application doesn’t support it.
3. In the terminal, type
/usr/libexec/java_home --version 1.7
4. This should return with a path such as
/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home
5. To include this as the $JAVA_PATH:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home
NOTE: Using the following command would not register JAVA 7 because the latest Java 7 is not distributed by Apple, instead it is by Oracle.
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
How to integrate PHP-CGI and Tomcat 6
1. Download php-cgi from MacPorts.
sudo port install php5 +fastcgi fcgi php5-gd php5-mysql php5-sqlite php5-curl php5-iconv
2. Add the following lines into /TOMCAT_DIR/conf/web.xml.
3. Follow the instructions here.
4. After extracting the files, put both JavaBridge.jar and php-servlet.jar into /TOMCAT_DIR/lib
5. Open context.xml found under the /TOMCAT_DIR/conf/
6. Append the following line to the Context header.
reloadable="true" privileged="true"
For example:
<Context reloadable="true" privileged="true">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
-->
</Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
-->
</Context>
FAQ
1. Where is the Subsonic log file?A. It is located under /var/subsonic.
2. Where is Tomcat Log file?
A. It can be found under /tomcat dir/logs. It is very useful to troubleshoot why a page refuses to load.
3. How to increase Tomcat heap size to prevent OutOfMemory error?
Type the following command in the terminal.
export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m"
Additional Setup
1. Subsonic Registration Engine - http://www.schattorie.com/subsonic-registration-engine/2. Hiding server status and usage to public user - http://forum.subsonic.org/forum/viewtopic.php?f=3&t=8040&p=36224&hilit=hide#p36224
A. Subsonic Registration Engine
1. Follow the instruction here.
2. Extract and put the file into /TOMCAT_DIR/webapps.
3. Make some necessary changes to the following files:
- register.php
Change the domain name into your subsonic address.
- /lib/config.php
- /lib/mailconf.php
- /lib/mail/passresetmail.txt
Contains the format of the mail received by the user when they reset their password.
- /lib/mail/regmail.txt
Contains the format of the mail received by the user when they register.
Add the following to login.jsp so that it will display both the register and forgot password link.
<!-- REGISTER START -->
<td align="left"><br><a href="http://musicscrape.zapto.org:8080/register/register.php" >Register</a>
<br><a href="http://musicscrape.zapto.org:8080/register/forgotpass.php">Forgot password</a></td>
<!-- REGISTER END -->
<td align="left"><br><a href="http://musicscrape.zapto.org:8080/register/register.php" >Register</a>
<br><a href="http://musicscrape.zapto.org:8080/register/forgotpass.php">Forgot password</a></td>
<!-- REGISTER END -->
References
- Installing PostgreSQL9.2 on OS X Mountain Lion - http://phlippers.net/blog/2012/08/03/install-postgresql-9-dot-2-on-os-x-mountain-lion/
- Postgres Max Connections and Shared Buffers - http://gabe.grayum.name/?p=postgres_max_connections_and_shared_buffers
- FATAL: could not created shared memory segment - http://grokbase.com/t/postgresql/pgsql-general/12a76zj50s/mac-os-x-mountain-lion-fatal-could-not-create-shared-memory-segment-cannot-allocate-memory
- Installing TomCat 7.0.x on OS X - http://wolfpaulus.com/journal/mac/tomcat7
- Setting JAVA_HOME on Mac OS X 10.5 - http://www.mehtanirav.com/2008/09/02/setting-java_home-on-mac-os-x-105/
- Installing Java 7 on Mac OS X - http://www.vineetmanohar.com/2011/03/installing-java-7-on-mac-os-x/
- MusicCabinet - http://dilerium.se/musiccabinet/#installation
- http://www.helloyi.cn/index.php/2011/09/30/mac-osx-lion-macport-nginx-php/
- Serve PHP with Tomcat - http://www.thomasknierim.com/140/java/serve-php-with-tomcat/
musicScrape - Yet Another Music Streaming Service
- on 1:55 PM
- 8 comments
Just to kill some free time in the past two days, I had decided to play with a new toy, this time it is yet another music streaming service simply name musicScrape. The sole purpose is to enable music streaming by genre (or called radio) and enable easy on-the-go streaming experience. Streaming can be done using HTML5 or any other external player.
This service is provided so that I can listen to music anywhere in the campus, but due to the usage of IPv6 I had decided to allow access to the public too. Don't abuse it.
Visit the site at http://musicscrape.zapto.org:8080.
This service is provided so that I can listen to music anywhere in the campus, but due to the usage of IPv6 I had decided to allow access to the public too. Don't abuse it.
Visit the site at http://musicscrape.zapto.org:8080.
Setting up mpd + ncmpcpp + others on Windows & OSX
in
mpd,
tutorial
- on 5:43 PM
- 7 comments
Recently I had been playing around with MPD (Music Player Daemon) on my two separate box (Windows + OSX) and they both work wonderfully. I am very impressed with how lightweight mpd is. In case if you are wondering, the entire concept of mpd is based on server and client architecture. So you can be assured that there is a bunch of flexibility. Imagine that all the music is controlled by mpd and you can use any client as the frontend for communicating with mpd. I, for one, had adopted ncmpcpp as my front end. The best part of mpd is that you can stream it into multiple outputs, including http stream thanks to the httpd output!
Here is the basic flow on how mpd and mpd client works:
Just a setting example of mine. I have mpd running on my Window 7 box and my OSX box running ncmpcpp to control mpd.
Here is the basic flow on how mpd and mpd client works:
- mpd runs on the server (local) with the server ip and using the default port 6600. By default it will listen and accept for any connection that attempts to communicate with that port.
- On the remote client, a mpd client such as ncmpcpp is run to communicate with mpd. ncmpcpp is essentially a front-end that present a graphical user interface in the terminal. Any actions (such as creating playlist, playing song, stopping song, searching song, etc.) is sent to mpd via commands. By using ncmpcpp, this routine is simplified as ncmpcpp will automatically create the command for you. If you were to use mpc, you will have to type command such as mpc play to play a song.
Just a setting example of mine. I have mpd running on my Window 7 box and my OSX box running ncmpcpp to control mpd.
More fun things to do with foobar2k!
in
foobar2k
- on 4:54 PM
- 3 comments
Here are some of the fun things that you could do with foobar!
- Adding random pool of soundtracks from your library into your playlist. Fully customizable. Thanks to foo_random_pool.
- Adding search function to VGMdb by right clicking on an album.
- Have the song title spoken to you.
VGMPulse BETA registration is OPEN NOW!
in
featured
- on 9:31 PM
- 2 comments
Good news guys!
I am happy to announce that VGMPulse (a music streaming site) is open for beta registration now! What are you waiting for? Click on the logo below for more information! Don't forget to share it among your friends!
I am happy to announce that VGMPulse (a music streaming site) is open for beta registration now! What are you waiting for? Click on the logo below for more information! Don't forget to share it among your friends!



