Wednesday, March 21, 2012

Rumput Tetangga itu..

rumput_tetangga
kata orang, rumput tetangga itu..(lebih hijau)
Mari “menghijaukan kembali” halaman sendiri..

Tuesday, March 20, 2012

Find New Friends in Skype

Download Skype for Windows

Recently, I have been trying a kind of VoIP application, Skype. By using Skype, we can collaborate with any people all over the world. Actually there are any other kind of Skype-like application such as gtalk from gmail, yahoo messenger and oovoo, In Skype there are some feature for chatting, voice or video calling. Skype has an user-friendly for file sharing in a local network. The other feature is Skype.community.In this community there are plenty of people who eager to learn other language. They may want to share their native language and then learn the other language. So you just post a message and add those people then make a schedule when you are free to talk.

Skype can be downloaded here. It is a cross-platform application. It has Windows, Linux, and Mac version. You just choose the correct one for your operating system.

Fell free to add me: kurniawan1409. Hope we can make a friend. My native is Indonesian and I am eager to learn English and Arabic, or maybe other language.

see you in Skype.

Monday, March 19, 2012

First Introduction to OpenGL

OpenGL logo
picture taken from: Wikipedia: OpenGL_logo.jpg
OpenGL is one of the most powerful graphic library. OpenGL has a great rivalry with DirectX (also know as Direct3D) from Windows in Application Programming Interfaces (APIs). Both of them can be used in application to render 2D and 3D computer graphics and giving acceleration from hardware graphics card when available.
Here is some of differentiation between OpenGL and Direct3D
Direct3D OpenGL
Platform Microsoft Windows Cross-Platform
Mobile Platform Direct3D Mobile OpenGL ES
License Proprietary Open Source or Trademark
OpenGL is an Open Source and Cross-Platform so you can develop an application without border of Operating System. In this section we are using Visual C++ 2010 as IDE in programming OpenGL. It is said that it is more easier using Windows Toolkit to programming OpenGL in C++. So lets continue..
1. Download GLUT you can take it here.
2. Copy the glut32.dll in C:\Windows\System32 or you can make a custom folder include the path.
3. Header glut,h can be placed in Visual Studio standard include folder. In Visual C++ 2010 you can get in:
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\gl
you’ll be also found gl.h in this folder, then you can just include it in your code
#include <gl/glut.h>
4. Copy file “glut32.lib” to the standard Visual Studio library, you can get it in
C:\Program Files\Microsoft SDKs\Windows\v7.0A\lib
5. Add additional dependencies in the project
Project Properties>>Linker>>Input>>Additional Dependencies

glut32.lib

glu32.lib

opengl32.lib

6. Lets try to make a simple program
Lets make a new console application project
#include <stdio.h>
#include <stdlib.h>
#include <gl/glut.h>
//make sure you take standard library first before glut,h
void mydisplay(){
       glClear(GL_COLOR_BUFFER_BIT); // clear the console
       glBegin(GL_POLYGON); //we will create a square
               glVertex2f(-0.5, -0.5);
               glVertex2f(-0.5, 0.5);
               glVertex2f(0.5, 0.5);
               glVertex2f(0.5, -0.5); //can you find the coordinat (0.0)
        glEnd();
        glFlush();
}
int main(int argc, char** argv)
        {
                printf("Hello World.. this is my first OpenGL program\n");
                printf("I can draw 2D Rectangle");
                glutCreateWindow("my_simple_program");
                glutDisplayFunc(mydisplay);
                glutMainLoop();
        }
Okay you’ll be see a white square with black background color.
image
Now you can explore more the powerful OpenGL APIs. I think one of the best tutorial OpenGL to know more the feature of OpenGL, lighthouse3d: http://www.lighthouse3d.com/tutorials/glut-tutorial/
Happy coding???

Sunday, March 18, 2012

Go to Gazeboo Sunday Market

Every Sunday morning, at 06.00 am until 1.00 pm there is a weekly market in Gazeboo near at head office of PT Telkom in Japati Street, Bandung. Gazeboo town square and the street near of it is dramatically changed into a crowded market.
This morning, +ade.setiawan and I walking around to the market. We are looking for a pair of shocks and trousers. Today, I get two kind of trouser. The formal long one in the left picture, and the a pant. Fortunately, I got only for Rp 45000 (about $5) for those two trousers.
image
My New Trouser
Happy shopping !

Offline Blogging Editor Using Live Writer

Finally, I can write again a post today…
This time I will talking about a software from Microsoft to edit a post offline before it can publish in one click.
Windows Live Writer
A quote from en.Wikipedia.org
Windows Live Writer, developed by Microsoft, is a desktop blog-publishing application that is part of the Windows Live range of products. It features WYSIWYG authoring, photo-publishing and map-publishing functionality, and is currently compatible with Windows Live Spaces, SharePoint blogs, Blogger, LiveJournal, TypePad, WordPress, Telligent Community, PBlogs.gr, JournalHome, the MetaWeblog API, the Movable Type API, Blogengine, Squarespace, and all blogs that support RSD (Really Simple Discoverability).
In the beginning of installer you have to online and add your weblog account. After connected, then you can just write the title for your blog then start writing your story. Once you get connected to the internet you just click the publish icon in the top of toolbar.
Here is some preview when I used this tools.
image
and the one click publish icon.
image
Hope I can continue to keep my hand writing even. Smile