Sunday, June 6, 2010

gtk-recordMyDesktop audio problem

     When using gtk-recordMyDesktop in Ubuntu some people face problems when recording together with audio. The problem that I faced was a bad recording and sometimes skipping seconds during the audio record. After searching around you may find some solutions, but each is responsible for the specific problem that it explains. In my case, I found another simpler solution without making modifications. When using gtk-recordMyDesktop you can disable audio recording, but record your audio with "Sound Recorder" that comes installed in Ubuntu. In the end of your recording session you will have 2 files, one containing the video and the other containing the audio. Now its time to mix them. By using "MKV files creator" (you can find it in the software repository) you can merge audio and video directly without losing quality. The operation is done in an instant, so you don't even need to wait.

Friday, June 4, 2010

1 - Setting up the Eclipse environment

Watch in HD

1 - Setting up eclipse environment from Redi Gokaj on Vimeo.



This post contains the first tutorial on the Eclipse series for Dynamic Web Applications. Setting up eclipse environment together with Apache Geronimo 2.2 is the first step. All the work is done in Ubuntu.


In order to make PrimeFaces work we need to add to web.xml these:

<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.primefaces.resource.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/primefaces_resource/*</url-pattern>
</servlet-mapping>

And in order to use PrimeFaces in jsp tags, we need to add the following taglib:
<%@ taglib uri=”http://primefaces.prime.com.tr/ui” prefix=”p” %>

http://www.primefaces.org/downloads.html - Here you can find the JARs required to make it work

RSA & RDA - Logical to Physical Data Model Transformation

Watch in HD




Rational Software Architect Logical to Physical Data Model Transform from Redi Gokaj on Vimeo.

     The purpose of this video is to explain a scenario which shows the way how to create a database project using an object oriented approach. Rational Software Architect and Rational Data Architect (Infosphere Data Architect) are used for this tutorial. Using RDA and RSA you may watch this simple tutorial about creating a logical model. After that, converting it to a physical model. The third step will be creating the database, and after that creating the entities mapped with the database. With a sample web application, these entities are used and tested.

Thursday, June 3, 2010

How to develop software in a team

     When a team comes up and decides to work on a software it is very important to know how to work and how to synchronize with each other. The size of the project is not important in fact, what’s most important is the way the team members communicate socially and professionally. Below I will show a strategy which is from my experience and my researches, and of course I’m giving this strategy based on my opinion.

     In fact, to work successfully in a team there are many rules which we need to follow, but in this post there will be just a strategy for software developing. As a sample I will take the windows platform.

     Now, let’s get started in the first step. We need to have a network connection between the team mates. If they are not found in a room, we need to set a Virtual Private Network (VPN) using internet. A free for non commercial use is Log Me In Hamachi. Using this software you are given an IP and you can invite your team mates so you will create a virtual network to communicate with your team mates. In this case you can even share your database server and make this work on a single computer.

     The next step is the platform where you will deposit your codes, so in this case I chose Visual SVN Server which is again free and you can easily install and manage it. In your Visual SVN Server manager you can set users which can access your repository. I recommend that you use HTTPS access in order to make it more secure.

     The third step is to install a SVN client which in this case can be Tortoise SVN and you can connect to the created repository. The database server and the Visual SVN Server can stay just at the computer that you chose as a server. Instead, the SVN client should be installed in all computers that want to connect to the repository on the server.

     Finally let’s mention the steps one by one:

      1. Install Hamachi in order to create a VPN
      2. Install Visual SVN server in order to create a repository to share your source codes
      3. Install Tortoise SVN or any other SVN client that you may want

     As you see this was really easy, but remember that this was just your environment setup. In order to have success and finish without having problems there are more advices that you need to follow.

 
Work with Diagrams

     Before starting to develop your project, you need to spend time on designing it. Diagrams are very helpful in making you understand the current status of the project. Also, you may need diagrams later in order to check if the planned ideas are being developed well.

 

Always use TO-DO Lists

     There are two kind of to-do lists that you may use: a short term and an long term one. The long term to-do list will help you understand the current status of project completion. Instead, the short term to-do list will help you manage time and work better in a weekly based cycle. So, each week assign tasks to all the team members and make a check about this tasks at the end of each week. By writing everything the possibility that you forget something decreases to zero percent.

 

Write down your ideas

     Always write down your ideas that you may have in any instant. From daily stress and work you may forget things that may be precious for your project.

 

     This was all I could give you as an advice in a wide point of view. Comments, suggestions and critics are welcome in order update this post and make it more valuable. I wish you luck and a happy team work!

 

Links:

https://secure.logmein.com/US/products/hamachi2/

http://www.visualsvn.com/server/

http://tortoisesvn.tigris.org/

Tuesday, June 1, 2010

SMART CITY: 1st prize in IBM Turkey, Software Academy 2010



IBM Turkey, Software Academy 2010

SMART CITY Project won the 1st prize. Below are the "JStorm" team members:

Gizem Gülşen - Gültürk Karlı - Redi Gokaj - Engin Yağız Hatay
Ress.Asst. Semih Utku


 









Purpose:




The purpose of the “Smart City” is to have an online platform which makes the life of citizens easier. This is a web based project which will be implemented for the IBM Software Academy 2010. It is related to the city management in order to create a web based smart city. Touristic guide, places to see, news, jobs, public transportation and other facilities are the main idea of this project. The “Smart City” is a web portal where all the public and expert functions come together in one place by sharing and solving ideas. In the same time, it will be the face of the city by showing detailed scenery of every aspect which takes place in the real life. The mobile solutions make the reach to the system easier and faster by being connected everywhere.



Scope:




This project's scope is to connect together with other platforms and use data everywhere. Any data source, that can help to extract information about the city, should be tracked and kept connected to the smart city platform. This platform is expected to act as the center of the city where all the information is presented here. Using SOA all the connections are made possible between different platforms and systems. Health care, transportation, education, police departments, government and all the parts of the city are planned to be connected here in order to have an “ALL in ONE” portal to make the life easier. The design is done using open principles in order to make it easier to expand and include everywhere.



News links from online sources (in Turkish):


http://www-05.ibm.com/tr/industries/education/news/yazilim_akademisi_2010.html


http://www.businews.eu/tag/yazilim-akademisi

http://www.turk.internet.com/portal/yazigoster.php?yaziid=27951

http://www.yazilimakademisi.org/2010/

http://forum.shiftdelete.net/sdn-haberleri-makaleleri-yeni/152498-ibm-genc-yazilimcilari-yaristirdi.html

http://www.ortakalan.com.tr/haber.asp?K=&M=&S=&HID=3148