sábado, 17 de abril de 2010

Algorithms, Paradigms and Languages

Hi!
After two weeks, I think I have some interesting to share.
Yesterday and today I am developing an application using the C language.
I've already imagined the solution, designed the algorithm and I thought that I would be prepared for implementing it. But, in the last years I've developed with Java language, and I forgot many things about C. We know there's a different paradigm between them. My mistake was that I tried to do some things like I do using Java, but it doesn't work, it's obvious.
So, my ask is: couldn't we have a layer between the algorithms and the implementation. We have the paradigm. But, I'm thinking in something that could convert the algorithm to any language, based only on the algorithm and on the paradigm.
Do we have something like this? I think this is something to research.

What follows is a small diagram of the idea.


I know for example that with a classes diagram we can obtain source code in Java or C# with some tools. But I'm thinking in something more generic. I'll think more about this.

See you in a next post.

sábado, 3 de abril de 2010

Stormy Saturday

Hey people!
Today I was trying to solve some graph's exercises but I still coudn't convince myself that I'm correct. This is a signal that I'm not, but maybe almost.
So, I decide to write this post and think about where could I be wrong.
Another thing is that I had a crazy idea (with a cousin's help rs), about computer graphics. I'll try to model a guitar in C with OpenGL. And maybe I'll post the result here as an image (depends on the result). It's a small challenge.
I'll take this opportunity to write about my other projects that I've just mentioned in the previous post.

The first: I'm developing a tool, called VejoGrafos (and you can laugh), to help the comprehension about graphs, the development is stopped cause I have little time to spend with it. Follow some images about the tool:


VejoGrafos: this is a functionality that shows vertices with degree equals to 0 in a graph.

The second: The second is about to start. It will be in the computer graphics discipline. The idea that I've mentioned above about OpenGL is a trainning to this second project.

Now it's time to come back to my exercises. In this stormy saturday I coudn't have anything better to do. Why stormy saturday? Cause I like the stormy monday blues song, the only difference it's that today it's not monday.

Well, today it's only this.

sexta-feira, 2 de abril de 2010

Beginning master's degree

Hi again.
This week I started with only one thing in my head. To pass in the Sun Certified Java Programmer 6.0 exam (SCJP 6.0). I studied so much for one year and now I've passed =D. However, in the master's degree that I started this year, this facts doesn't count too much. So, yesterday (one day after I've passed in the SCJP exam), I tried to study a little because in the next week I'll have an exam in introduction to graph theory. But I couldn't because I was still thinking in Java.

Even being an introduction discipline, the exercises lists given before in Graph Theory left me worried. Other disciplines that I'm sdutying are Introduction to Computer Graphics and Data Structures and your Manipulation. These disciplines seems to be easier than Graph Theory, but they still deserve concern.

This weekend will be the easter. I will be studying graphs and eating chocolates. There's a positive side. =D

In the next posts I want to talk about some projects that I'm developing or almost starting.
Sorry if my english is horrible, but I'm trying to get better.

Happy Easter!

The First One

Hi people,
I've made this blog with the intent of train my english.
I'll post here things about my life, my routine and ideas.
So, this is a first post, without anything else than this.