Just performed again the ruby tutorial in 20 minutes.
It was kind of cool. I noticed a few nice things about ruby, especially, I must say that appreciate Duck Typing.
It might not be very secure, but it really sounds useful.
Sunday, 10 June 2012
Ruby Tutorial
Google and Tasks
I finally got to take a look at tasks in Gmail. And I must say this is pretty cool.
Go and take a look for yourself at this place.
packages to install on the server
## java java 6 is installed
## perl are installed
## ruby
## python
## CURL
curl
get was installed
## tomcat
tomcat6 is installed
tomcat7 should get installed
tomee should get installed
## Editor
emacs-nox got installed
vim
## Databases
mysql
postgres
## maven
maven only maven2 was there ... installed maven 3
## ant
ant installed the latest
## nagios
## git + git-daemon +gitosis
## VNC
## svn
## jenkins
## sonar
## XServer ?
##FTP
pure-ftp
Simple script to install some packages for my server
#! /bin/bash
#CMD='apt-get -y install %s';
CMD='echo %s';
REGEXP='(#.*|^\s*$)'
function installPackage(){
PERFORM_CMD=`printf "${CMD}" $1`;
echo ${PERFORM_CMD};
${PERFORM_CMD};
}
function installPackages(){
while read line
do
if [[ $line =~ $REGEXP ]]; then
continue;
fi
installPackage $line;
done <$1 } # for PACKAGE_LIST in installfiles.txt; do installPackages ${PACKAGE_LIST}; done
Saturday, 9 June 2012
Gnome 3.0 ARRRH!#"§$#!!!
Rant and perhaps solution
I finallly reinstalled fedora. So now I have a completely new Fedora version and I am not amused. Really not amused. First I had trouble with Grub, then I had trouble with the DNS and finally I had to curse against gnome 3.0. Or is it only unity... I am not sure. I do not rant. But this time, I am more than annoyed. I would not say I am pissed off. But nearly. I keep asking myself: why? Why? Why?
First of all Grub... Actually I did not want to reinstall the boot directory from Grub. I wanted to be able to use my old fedora if I needed it. But that did not really work. So I let the new fedora (or I should say anaconda, overwrite the boot loader).
Then, for some reason the DNS was not configured and I had to reconfigure it per hand. Why ?
Finally, how is gnome 3.0 supposed to be used. Why can't I create my desktop icons ? Why can't I add launchers to the panel or the desktop. My computer is supposed to be used. I do not care really how it looks.
I just found the solution in this post for at least some of my problems
Tuesday, 5 June 2012
Sonar - explore and improve your code
For a while now I have been using extensively the features of sonar.
For those who have never heard of sonar, it is a tool used to gather and present the results of different software quality tools, such as pmd,
cobertura.
Sonar provides for each project the following information:
- lines of code
- complexity
- number of unit tests
- ...
Saturday, 2 June 2012
Certifications
Currently I am quite interested in doing a few certifications in order to round my professional profile a little bit. It seems to me that for this certifications are quite appropriate. Therefore I intend to do the three following certifications:
- IREB's CPRE for requirement engineering
- ISTQB for software testing
- iSAQB for software architecture
Of course, I still have a lot to learn in these domains. But still this will provide me enough background. Parallel to this I hope that I am going to be able to gather supplementary experience. For example, I believe I need to learn more on the soft skills needed to be a good requirements engineer. We'll see.
Spring Testing
This entry contains necessary information about Testing with Spring. One of the most interesting feature of the Spring Framework is the use of lightweight containers which simplify the testing of an application, whether the usual J2EE container can be more cumbersome to test.
Since there are so many aspects in Spring, I should first present a given overview of the different topics.
Dao Testing
Spring provides different mechanism to simplify testing. In particular there is a class to perform Dao testing by including the transactional aspects. You can easily load your daos using a xml file to initialize the configurations of the database and daos.
NOTE to myself: I hsould give here a code example.
Controller Testing
Here again Spring controller are quite easy to test. They require very little overhead. And the dependency injection provide a very simple setup.
NetBean
After I had some discussions with some friends about their works as developers. They mentioned that they were using NetBeans as IDE. Curious about it. I downloaded it. I tried some JSF example after trying to create a Rails project failed because the grails website was not available.
My first impressions are not bad. It seems to be a quite nice and quick interface. But I am a little bit lost.
So what should I do and look at to study this new (to me) IDE.
The following points seem important to me:
- editor issues, error, warnings as well as suggestions
- Maven integration
- SCM integration, i.e svn, git
- debugger integration
- servers creation and use
These are the points that seem important to me.
But I have the feeling that the list is not yet complete enough... Not even in the pareto sense.
Thursday, 3 November 2011
Windows Power Shell
As a linux user, I had always been frustrated that I must use a stupid command line to perform some task under windows. Or even worse, there were a lot of tasks I could even perform like that, because the commandline did not have any grep, find, and similar utilities.
This is until I discovered the powershell. Since I have to use windows at work and sometimes I do not even have the possibilty to use cygwin with suitable tools. I really got frustrated. But now that I looked into many of the power shell language, I must admit that it is quite impressive, what one can do with it. I also find it great that the powershell understands both pipes and objects...
I will probably add here many of the useful features I discovered. In someway I think Microsoft understood that they had to become more competitive in order to keep their customers.