Things Android And SteamOS Have In Common

SteamOS has quite make a news when it announced a few week ago by Valve. For those who didn’t know, SteamOS is the operating system that powered up Valve’s Steam Machine, to be announced next year. It supposed to be Valve initiative on conquering the living room.

steamos_logo

Image courtesy of thegamingliberty.com

So what those two open source OS have in common?

  • Both are using Linux kernel. The difference is while Android is built-from-the-scratch mobile OS that utilizing Linux kernel, SteamOS is essentially just another Linux distribution. It didn’t very different from openSUSE, Ubuntu, or your favorite distribution. It built on top of Debian, it has GNOME desktop underneath, and if you want to, you can even install any Debian package on it. Yes, even Zend Server.
  • Both are used to powered up certified device manufactured by third party. Google have Open Handset Alliance. Valve have, uhm…, Steam Machine Manufacturer? I kid, I just made that up. But it seems Valve has taken clue from Google on Steam Machine program. Instead of making the machine by their-self, they allow any third party manufacturer interested on building a Steam Machine to do as they like.
  • Both (will) help promoting and spreading Linux to the masses.

The year of Linux desktop may never come, but does it really matter anymore? Android has been a top mobile OS for some time now, and it didn’t show any sign of stepping down. Will SteamOS achieve the same? Only time will tell.

Posted in GNU/Linux | Tagged , , , , | Leave a comment

How To Enable PHP’s ssh2 Function On Zend Server

In one of my project, I had to execute shell script on remote machine using SSH protocol. At first I was using simple PHP exec which executing ssh command on the local web server, but it’s requiring apache user used to running web server to be unlocked, which is very difficult to do on production server.

Then I stumbled upon on ssh2_connect which is exactly what I actually looking for. It can authenticate using password or public key and have few basic function such as scp and chmod. It’s part of PHP which mean any Zend Server installation can configured to use it.

First check if package php-5.3-ssh2-zend-server has already installed. On CentOS 6.2:

yum install php-5.3-ssh2-zend-server

Replace 5.3 with your PHP version.

If everything’s okay enable it. Open file /usr/local/zend/etc/conf.d/ssh2.ini and remove ; to uncomment the line which tell PHP to load ssh2 library.

Last step, restart apache server:

/usr/local/zend/bin/zendctl.sh restart-apache

You should be able to use any ssh2 function now.

Posted in How to | Tagged , , , , , , | 2 Comments

Android, Stepping Stones For iDevice Ownership?

I read two interesting article yesterday.

http://androidcommunity.com/android-users-comprised-40-of-ipad-purchases-this-weekend-research-suggests-20131203/

http://blogs.computerworld.com/android/23215/iphone-5c-great-christmas-present-android-users

Both showing the pattern that I have been wondering for a while. Are Android just viewed by general population as a cheap way to get a smartphone? And when you have saving enough money it’s time to switch to iDevice.

Image courtesy of engadget.com

Image courtesy of engadget.com

Or perhaps it not just Android, but any open source or free (cheap) alternatives is used nothing more than stepping stones for getting a more desirable device.

In my work environment, I know at least one person switching from Ubuntu notebook to Macbook. He still installing Windows as virtual machine since some of his tool work can only be run on Windows.

Why is this happening? It is that hard to break Apple image as desirable brand? It is even possible for Google to change this?

Posted in Android | Tagged , | Leave a comment

Fix blank screen when installing openSUSE 12.2

So a while ago when installing openSUSE 12.2 on HP Pavilion g4 (I forgot the model number), I got blank screen after choosing Installation menu, prevent me from continuing the installation.

I’m suspecting the hybrid graphics card to be the problem (Intel and AMD GPU on one machine), so I reboot the machine, hit F3 upon facing DVD boot menu and choose No KMS.

Inline image 1

After that, the installation can proceed normally.

Posted in GNU/Linux, openSUSE | Tagged , , , , , , , , | Leave a comment

Nexus 4

I’m hoping to pick Nexus 4 the first time I heard about it.

Inline image 1

But now I’m hearing that the prices will probably set at >5M IDR when it came out here late November 2012. Compare it with 300 USD released on USA (about 3M IDR).

Here hoping the prices will be more affordable when it actually launched.

Posted in Android | Leave a comment

Most expensive Android app

I always thought Final Fantasy III is the most expensive app for Android, but this app blow my mind.

NAVIGON Europe priced at full $73,30. Seventy. Thirty. US Dollar. You can buy a cheap phone with that much money.

Sadly it only has a score of 3.7 on Play Store.

What do you think? Do you know any app pricier than this?

Posted in Android | Tagged , , , | Leave a comment

Change Android Lock Screen Mute Slider Mode

I just realized there are two different mode for mute slider on lock screen. One which suppress incoming notification sound and change it to vibrate.

And one which totally silence the phone.

So how to switch between those two?

Supposed you now using vibrate mode and wish to switch to total silent mode. Unlock the screen and pull notification bar. Tap the sound toggle button repeatedly until the sound toggle changed to total silent like below.

Now try locking the screen and upon turning on the display you will notice the right slider now in total silent mode, no longer in vibrate mode.

To change back to vibrate mode just repeat the above steps but change the sound toggle to anything else except the total silent one.

The above are tested on LGE-P500 with CyanogenMod 7.2.

Posted in Android | Tagged , , , , , | Leave a comment

Cyanogen Mod now supporting Optimus One

While it’s not (yet) CM9, it’s very reassuring to know that my old Optimus One still receiving update while the manufacturer has already abandon it. I can postponed my plan to purchase newer phone and saving it for more important issue. I’m truly experiencing the beauty of open source and community.

Hopefully they will extend the support to CM9 too, which is based on Ice Cream Sandwich. Meanwhile, I have to do some flashing this weekend.

Reference:

http://www.cyanogenmod.com/blog/cyanogenmod-7-2-0-rc1-is-upon-us

Posted in Android | Tagged , , , | Leave a comment

Export and Import Table Data using Oracle exp and imp

Many options are available for a scenario when we need to transferring or migrating data across two different Oracle database. One option is using Oracle built-in application exp and imp. exp is used to extract data and other schema objects into a dump file, and imp is the one who can read that file and import it to another machine.

Why using exp/imp? One reason is because it’s speed. From my own experience, migrating 3000 rows data can take significant amount of time if using manual insert with SQL statement, while migrating 60000 rows data using exp/imp would take no more than few minutes.

What will you need? A machine with Oracle Database installation, configured properly, a TNS record for both machine you wish to migrate, and enough disk space for storing dump file, depending on how much your data.

Let’s say we need to migrate data on app1 schema from a development machine DBDEV to staging machine DBSTAGE. The tables need to be migrated are PORT and CARD tables. DBSTAGE already has the tables created, all it need is the data from DBDEV.

First we will need to export the data. Syntax for exporting table is like this:

exp username/password@database tables=table1,table2 file=table_data.dmp

If you don’t wish to include the password on command line, you can use this format instead:

exp username@database tables=table1,table2 file=table_data.dmp

The password will be prompted when the command executed. If we put the above scenario the final command will look like this:

exp app1/password@DBDEV tables=PORT,CARD file=table_data.dmp

Executing this command will present you with export status screen, will inform how much data exported and if the command exited with or without warning, or even with error. After you got your command prompt back you should be seeing one file named table_data.dmp. Next action we will be using this file to import to DBSTAGE machine.

Syntax for using imp is no different than exp:

imp username/password@database file=table_data.dmp

According to the scenario we should use this command:

imp app1/password@DBSTAGE file=table_data.dmp ignore=y

Notice now we using DBSTAGE connection instead DBDEV, and also using option ignore=y. Why using this option? Since on DBSTAGE the tables has already been created, we should use this option to prevent the command for being stopped because the object already exist on target database. If we not including this option, the command will be stopped with error because it failed to create the table, which is already exist.

Executing the above command will present you with similar status screen with exp one, telling you how much rows data has been imported.

Some additional information:

  • If you hit with error about constraint, like ORA-02291: integrity constraint, make sure data referenced by the constraint has also been imported. You can also try to turn off the specified constraint before importing.
  • If you migrating a considerably huge amount of data, it may be wise to prevent the index from being exported with option indexes=no (while exporting). You can rebuild the index after the import complete.

Reference:

http://www.orafaq.com/wiki/Import_Export_FAQ

Posted in How to | Tagged , , | 3 Comments

Sistem Multimedia 10108727

Tugas Sistem Multimedia UTS Alam Aby Bashit 10108727 IF-18K.

Blender merupakan aplikasi pengolah grafis komputer 3D tangguh yang dapat digunakan untuk membuat film animasi, visual efek, aplikasi 3D interaktif dan juga video games. Blender merupakan aplikasi open source dan bebas untuk digunakan bagi kebutuhan apapun.

Selengkapnya: IF18K_10108727_UTS

Posted in College | Tagged , | Comments Off