Wednesday, September 02, 2015

Today (9/1/15) Google is Introducing their new logo



After a month of unveiling a major restructuring of the company, today Google is introducing a new logo. Now, It's now using a sans-serif typeface, and combined eye-catching colors. Google changing a logo after 17 year, since their first logo on 1998, and biggest changed on 1999. This will be new era of Google it's because Google will be came child of Alphabet Inc.

Monday, August 31, 2015

Setup Streaming Media (Radio Streaming) using SHOUTcast on Debian 6


Do you interest to make your own internet radio station? I suggest you to use SHOUTcast by following steps below. Why do I use SHOUTcast? the main reason is simple, easy and stable in work.

Before we set the server up, please prepare these things before:
1. Download sc_serv2_linux_07_31_2011.tar.gz here and sc_trans_linux_10_07_2011.tar.gz here
2. Linux server (in this tutorial i used Debian 6 x64, maybe something problem with x64. I'll post the solution later)

Sunday, August 30, 2015

Android Hardest Game, Mini Raft

One of hardest Android game, named Mini Raft.

How to play:
Extreme river bring you one step to die. Keep the rafting move, avoid the rock and riverside. By touching and hold the screen, your rafting will be rotate to left, and turn back by release it. Collect coins as much as possible. Happy rafting.

game play:

Friday, August 28, 2015

Up Vote and Down Vote Algorithm Using Wilson Score interval (in PHP codes)

Today I wanna share how does Reddit's comment algorithm works. As you might know, Reddit has Up Vote and Down Vote for their comment score. Now, what is the best way to count for comment score?

Scoring base up vote and down vote is not only difference of up vote and down vote. Why? There are something problem with this. For example:

Up : 10
down: 0
diff: 10 - 0 = 10 
score: 10
-----

Up : 20
Down : 10
Diff: 20 - 10 = 10
Score: 10

Look, 2 case above has same score. Of course that's invalid.
So, what is the correct way for this?. The answer is  Wilson Score Interval. Mathematical notation can be written as below:


Wednesday, August 26, 2015

Far Cry 3 on my Acer E1-451G

Today I wanna share my Acer E1-451G perform by playing Far Cry 3 on ULTRA graphic. Here is my laptop specification:

Processor: AMD A8 4500m Quad Core
Graphic card: AMD Radeon 8750
RAM: 4 GB x 1


Image resizing on Python

Python has library that could handle image processing, it called PIL. Now I will try to resize image to 300 pixel of width. All I need to do is to write this:

How to solve "Yii php framework Application runtime path is not valid.”

Usually, this problem is protected folder on linux or might have SELinux turned on.

First solution (Folder protected)
$chmod 755 /path/to/runtime

or

$chmod 777 /path/to/runtime

if its not work, try second solution (SELinux turned on)

1. Open terminal, login as super user
2. turn SELinux off with command:
$setenforce 0