Wednesday, January 9, 2013

Cryptographic Protocol is one of the Cryptography?

In the time before 1976, majority of the people were using secret key to hide a message, this secret is only known by the parties involved in transferring the message. This method is called Symmetric Algorithm. Since then different types of method has introduce to hide a message by using a public key and a secret key. This method is called Asymmetric Algorithm. These two algorithms are the main branches of Cryptography. Beside this, there is also another branch called Cryptographic Protocol, to be frank, I am not really sure what this have to do with the cryptography algorithm?

Monday, January 7, 2013

Forcing Solaris C compiler to use GCC

The C compiler that come together with Solaris always cause me an error. When I compiling the open source program, I get this output:

/usr/ucb/cc: language optional software package not installed

I have no way to remove this error even though I have update the makefile to use gcc. One way I could though of is to cheat the make program to use gcc by using a soft-link pointing cc to gcc. How? Here is the steps:

  1. Backup a copy of /usr/ucb/cc to /usr/ucb/cc.bak
  2. Make a soft-link to gcc. ln -s /usr/local/bin/gcc /usr/ucb/cc
I am not sure whether this is a good one or bad one? But the result is it works!

Handle data passing in JSF request scope

JSF2 has introduce a new feature called Flash. This feature allow the data to be pass in between different view even though these views are in request scope, thus saving memory in holding data in session scope. Read more on this site article.

Sunday, January 6, 2013

Windows 8 app introduction showcase

Developing an Windows 8 app is just as easy as one two three. See David Chou, evangelist at Microsoft, giving an introduction showcase about app development in Windows 8.



Writing beautiful code

To write a beautiful code, I need some guideline from the expert, and I found this article, Best Practices to write JUnit test, which pretty useful for me. Anyhow this answering my question what to test. If I work together with this article, Testing Support in Spring Framework, could answer my question on how to test?

I do not know the theory of XML

There are 10 popular XML Interview questions has to be aware of, especially I am JAVA programmer. Remember last time after my graduated I was attending an interview for a Web programmer position, I do not know how to answer this question: What is XML, What is DTD, and What is DOM although I know how to write the code. But interestingly I'm not able to answer this question and this seems that I don't even know the theory of XML.

What make up of LibreOffice patches review board?

Every time I involved in the LibreOffice code review session, there is a tool that could allow me to compare the code site by site, put in review comment, mark on the patches that has been reviewed. Then this review comment will then publish to everyone around the world. I am so curious how this cool feature could happen? My curiosity always lead me to explore some rubbish, good or bad, that could bring benefits to the world and in the same time, forgot about my task that I suppose to work on. 

I did a few search on Google and I found out it was an open source tool called Splinter. It was make from Python, and the source code can be clone from here but I'm not interest into that. I continue my searching and found out this casual writing about this tool, Splinter - Patch review for Bugzilla. Interesting to read.