Skip to main content

Posts

Showing posts from 2014

How to Start Your Career as a Freelancer?

I started my career as freelancer since beginning of 2012 as freelance programmer at High-Performance Computing Labs, Universiti Teknologi PETRONAS, Malaysia. Being a freelancer for 2 years, I am not thinking myself as a freelance master. Thus, this article is not a "how-to-be lecturing", but it's a kind of a reflection. This article is based on my experience and discussions with some friends whom working as freelancer. First thing first, freelancer is a skill-based position . You don't have to get any degree from any university (even in some case it will give a value-added). As freelancer, even if you are still 5 years in age, as long as you have skill or set of skills needed, then you are ready to go. Because freelancer is a skill-based position, showing your skill is paramount. You are very lucky that you are now living in the world where most of the platforms you need as freelancer are provided for free. Here are some examples of free platforms you can use to

How to convert FORTRAN to MATLAB?

Converting from one programming language to other programming language may need some effort and understanding on both programming language. In this post, I will discuss about converting from Fortran to Matlab. Fortran is general-purpose programming language developed by IBM. It is used primarily for numeric computation and scientific computation. Matlab is array-based programming language that used for scientific computation. To convert from Fortran to Matlab, here are two alternatives you can do: 1. Convert manually 2. Convert automatically ==== 1. Convert manually ===== To convert manually, you have to understand both language very well. In the converting process, it will be easier for you to display your fortran code and your matlab side-by-side. If you have dual screen, it will be a lot easier. You can put your fortran code in second screen and your matlab in first screen. Or you can print your fortran code and put it beside your workstation. ==== 2. Convert automaticall

Android studio in ubuntu - problem: 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I love coding, especially Java. Because Android apps is written in Java, I would love to make one as well. Unfortunately, when I tried to install Android Studio on my Ubuntu yesterday, I got this error message: 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. When I google on this error, there are so many websites and forums discuss about this error as well as the solutions. However, in linux (or ubuntu in my case), sometime we have different environment so that the solution will not always work (sometimes we have to do another thing before or after that solution). And this also happen in this case. Here are what I did then: 1. Know what exactly the problem is: the problem is that the JAVA_HOME in my system did not point to JDK. Instead, it points to a JRE. JRE can only be used to run java applications, not to build them. 2. Check the java path used by the system. In terminal, I typed the following: