"AFj's PhD" blog was created in 2004 to report on-line the PhD work of Alfredo Ferreira (Jr). After finishing his PhD in July 2009, the posting was suspended.
However, after several requests, the blog was reactivated in October 2010."AFj's PhD and after" blog will provide information on Alfredo Ferreira's work as a researcher in INESC-ID and his activities as a Assistant Professor at IST/TULisbon.
Tuesday, November 21, 2006
Replacing ANSI Portuguese characters by HTML entities
To automatically replace these characters, I wrote two small bash scripts. The first, html_entities.sh, performs the replacement in na single file and the second, exec_html_entities.sh , recursively replace characters in all files in a given directory and all its subdirectories.
Saturday, September 09, 2006
SIBR prototype installation deployed
A couple of years after finishing the Sketch & Image Based Retrieval prototype, I finally had time to prepare an install package of this application. This package includes a brief user guide that will help users through configuration and drawing set classification process.
The SIBR prototype is available for download here.
Friday, September 01, 2006
3DISE proposal submitted
Monday, August 21, 2006
DrawingReader deployed
Friday, August 11, 2006
Backing up my data
Thursday, August 10, 2006
Major virus infection solved.
Tuesday, July 11, 2006
SIACG 2006 in Santiago de Compostela
PS: Anyone have some pictures from SIACG?
Thursday, June 01, 2006
Unexpected Deadlocks!
Thus, yesterday I learned an important lesson: Thread synchronization in destructors should be used very carefully.
Wednesday, April 19, 2006
New version of QiQA UI
Monday, March 13, 2006
QiQA classification module "talks"
I have been developing the QiQA (Quick Quotation Assistant) classification module. This should index existing documents in several computers into a centralized server. After this classification, it will be possible to make keyword searches in the server and find related documents. Currently, I am focusing on communication (RMI-based) between server and clients. The user interfaces and basic communication features for both server and client are now implemented.
Thursday, February 16, 2006
Return of Deflektor
Deflektor and agents working.
Monday, February 06, 2006
Trip to Plzen
Freezing in the University Campus.
Tuesday, January 24, 2006
BareHandCALI with marks
Wednesday, January 18, 2006
BareHandCALI
Friday, January 13, 2006
Reading XML with TinyXml
C++ versus MatLab
Function SimpleCycle(Matrix M) {
ACC is a dummy variable
ACC = 0
for each line L in M
for each column C in M
ACC = ACC + value stored in M(L,C)
return ACC
}
Using as input an integer matrix M with size 350x350 , this simple algorithm proved to be a good choice to show the performance differences in MatLab and C++. Below are the results obtained in informal tests:
Based on these results I made no comments. I just want to point out that the test programs took less than five minutes to write and run from scratch in MatLab, but more than twenty minutes in C++ (including the matrix creation and time measuring routines incorporation).