Saturday 4 December 2010

Programming Languages

1. Java:
 - Java is the powerful OOP(Object-Oriented Programming)and easy to learn for intermediate programmer as well.Java can program for Mobile apps(such as: Android), JSP(JavaServer Pages)
 - if you go to program Web with java, you just do not ignore some strong framework: Spring(greater than any else), truts, click...I think Java is good programming languages

2. PHP:
 - PHP is a dynamical language for web programming. With the language, there are a lot of frame work:
  1. CodeIgniter
  2. Zend frame work
  3. CakePHP
  4. Symfony
  5. etc...
 - PHP is compared with Ruby on Rails(it's also a language for web programming)
3. C/C++(Visual Studio):
 - C/C++ is a complex language that most programmer who feel headache when work with its. However, It is also really strong to program system programming and game with high graphics.
 - If you like these languages, I think you should program in Linux OS(without using Visual Studio:D)
 4. Flash+ActionScript(AS):
 - Oh, Flash +AS is new technology in the world. It's great for 2D graphics(also have 3D graphics, but I don't like 3D in FLash because of it's not nice:D). If you want 3D, I think you should learn OpenGL(it's a OpenSource Library for C/C++)

Friday 3 December 2010

Something to know in AS3

I have ever used ActionScript 3(AS3). So, I will show something for someone who attempt to learn AS3.

First, I recommend you should to know about some useful open source libraries, such as:
  1. PaperVision3D, Away3D for Flash 3D
  2. Box2DFlash for exact physical(chemical) simulation with detection collision
I think Flash+AS3 which are very good for 2D graphics. Of course, there are some IDEs(Integrate Development Environment) for programmer:
  1. Flex Builder
  2. FlashDevelop(it's strongly recommended)
If you stuck in how to choose a good tutorial to learn AS3, I will prefer 2 useful books: Essential ActionScript 3.0 and AS3 Design Pattern. Plus, Actionscript 3 MySql Driver is open source lib for AS3 connect to MySQL(it's very cool)

Anyway, If you have any problems with learning AS3 or how to use these IDEs and also OpenSource libs, you can ask directly me via gmail: khanhqh2008i@gmail.com

Friday 22 October 2010

Use Xampp in Fedora 12

Hi everyone, I have installed Linux OS which is Fedora 12. So, I installed some softs for my PC and installed-xampp is one of these. Of course, I installed  successfully. Therefore, I post the entry that someone who look for this.
I will instruct step-by-step to obtain success:
1. download xampp.
2. untar to specific /opt by the way: tar xvfz fileName -C /opt
3. start xampp: /opt/lampp start(with root permissions)
4. If something go wrong, you might type something like this to fix:
    -
$chcon -t execmem_exec_t '/opt/lampp/bin/php-5.3.1'


and the same with "mysql" and "httpd"
and finally:
setsebool -P allow_execstack on


Monday 18 October 2010

Config Boost C++ libraries in Eclipse

I have found the way to config Boost C++ libraries in Eclipse on the Internet. Hence, I will share this to everyone who need:
"I just went through the whole process of installing MinGW, compiling boost and installing Eclipse CDT and I'm able to compile simple programs using boost:regex. I'll write down all the steps. I hope that can be of help.
I've installed MinGW and MSYS in their default location.
Here are the step I took to build boost:
  • Download boost-jam-3.1.18-1-ntx86.zip from http://sourceforge.net/projects/boost/files/boost-jam
  • Put bjam.exe somewhere in your PATH
  • Unpack boost in C:\mingw\boost_1_42_0
  • Open an msys terminal window and cd /c/mingw/boost_1_42_0
  • In the boost directory run bjam --build-dir=build toolset=gcc stage
To configure Eclipse:
  • Add CDT to Eclipse 3.5 from the update site
  • Create a new C++ project
  • Under the Project menu select properties
  • Make sure the configuration is Debug [Active]
  • In "C/C++ General" > "Paths and Symbols"
    • Under the Includes tab select the GNU C++ language and add C:\MinGW\boost_1_42_0
    • Under the Library Paths tab add C:\MinGW\boost_1_42_0\stage\lib
  • In "C/C++ Build" > "Settings"
    • Select MinGW C++ Linker > Libraries
    • Click on the add button for Libraries (-l)
    • Type libboost_regex-mgw34-mt-d (without the .lib) 

Source: http://stackoverflow.com/questions/2519727/linking-boost-to-my-c-project-in-eclipse

Monday 19 July 2010

Summer 2010

Long time, I don't post any entry for my blog. Suddenly, I feel to have something which I want to say about SUMMER 2010.
When I entered into university in summer 2008, I don't have a long holiday. It's about 2 weeks for maximum. Now, even in this summer I just have 5 days-off for relaxing after fourth semester. It's too short, right? Thereby, I need time to relax, but I cannot. Because of I have some works to do. So I cannot ignore and I wanna make perfect in the future. However, I feel sometimes bored and tired.
Do you know? I always brace my computer through day-by-day: read read, code code, etc..:( these things make me feel bored, even I have ever thought that why I throw these in few day to do whatever I like. Moreover, I can crazy because of present works. Popular people told that: "The Young should do whatever you want. When they are older, they cannot do and then they feel repented.". This is the quote I wanna talk to everyone. It's can be say that "Life is fighting".
Everyone should relax and work such that balanced life. Don't dream about a dream which hardly cannot become true. Nevertheless, you are living in the world, you have to ambitions, desires to work. And then you will find what's happness and life will never boring.

That's the my thinking and emotions which I wanna public to everyone.