Pedro Leite

words – an empty shell, a lack of meaning

How Software is Built: Wade Olson from KDE

This interview is really worth reading. It talks about the KDE itself, the acquisition of Trolltech by Nokia and some of its impacts on the community, the synchronization between open source and closed source developers on KDE code (and QT code).

Wade expresses exactly what I feel about working in a company: the get together with people, discussions about our work itself, etc.

Some people spend their free time doing it, and some people get paid to do it. But either way, it’s the emotional connection, and it’s the passion, and it’s the community that builds around it, and the friendships. Trust me, KDE’s code is exciting, but it’s not that exciting. People love to work on it because they love to get together and talk about it, and they have the same passions and interests. That’s where companies really need to look. They cannot screw up that ecosystem.

Source: How Software is Built.

Advertisements

May 2, 2008 Posted by | interesting, kde, open source | 2 Comments

KDE 4.0

So today is the great release of KDE 4.0. And by the way, KDE 4.0 is meant to run on almost every platform including windows.

So what I did was to download the installer for windows and play a little with it. Below is Dolphin on Windows (the screenshot could be more exciting, but I’m kinda late for work).

Dolphin on Windows

January 11, 2008 Posted by | interesting, kde, me, open source, portable, release, screenshot, windows | Leave a comment

OpenStereo Release 1.0.0

Again, I’m releasing OpenStereo. But today is a different day. I’ve done the first commit to OpenStereo google code site :D
And the best part: OpenStereo now features autotools support! Hooray!

Now, it’s only a matter of:
svn copy https://openstereo.googlecode.com/svn/trunk \
https://openstereo.googlecode.com/svn/tags/release-1.0.0 \
-m "OpenStereo release 1.0.0."

And voilá, a tag was created! :D
Also, uploading the tar.gz resulted from make distcheck

This release contains only official support for Linux. Support for Windows will come in sequence.

January 3, 2008 Posted by | development, google, linux, me, open source, openstereo, release, windows | 2 Comments

Rhythmbox, what a shame!

And I found that Rhythmbox was storing my personal Last.fm account in plain text! Switching to Listen immediately.

January 1, 2008 Posted by | interesting, me, music, open source | Leave a comment

Fab at home, an open source 3D printer

So, just got home and, as usual, I was checking e-mail and RSS before hitting the bed… And then i faced this news: an open source 3D printer.

Fab at home, open source 3D printer

November 2, 2007 Posted by | future, hardware, interesting, open source, screenshot | Leave a comment

OpenStereo Plugin using CUDA

Of course I wouldn’t let OpenStereo apart from my CUDA studies. I’ve implemented an OpenStereo plugin that uses CUDA to do the fusion process. Below is the preliminary kernel code:

#include <stdlib.h>
#include <stdio.h>
#include <math.h>


#define BLOCK_SIZE 16


__global__ void fuse_images(float* left_tex, float* right_tex, float* stereo_tex,
float* matrix_left, float* matrix_right, int width, int height) {
int ix = __mul24(blockIdx.x, BLOCK_SIZE) + threadIdx.x;
int iy = __mul24(blockIdx.y, BLOCK_SIZE) + threadIdx.y;
int i = 0, j = 0, k = 0;
float c = 0.0f;

if (ix >= width || iy >= height)
return;


// rows
for (; i < 3; i++) {
// columns
k = (ix + __mul24(iy, width)) * 3;
for (j = 0; j < 3; j++) {
c += matrix_left[j + __mul24(3, i)] * left_tex[k + j];
c += matrix_right[j + __mul24(3, i)] * right_tex[k + j];
}
stereo_tex[k + i] = c;
c = 0.0f;
}
}

That function runs on the device (GPU) while the host side does the OpenGL stuff, besides calling the kernel code. A call to that function is done this way:

// executes the kernel
fuse_images<<< grid, threads >>>(cuda_left_tex, cuda_right_tex, cuda_stereo_tex,
getCudaMatrixFromMethod(method, isLeft), getCudaMatrixFromMethod(method, !isLeft), width, height);

I need to test this plugin in a CUDA device, since its emulation is working almost perfectly.
P.S.: Yeah, posting source code in wordpress sucks =/

October 30, 2007 Posted by | cuda, development, open source, opengl, openstereo, stereoscopy | 1 Comment

Playing with GIMP

The new GIMP is out and today i was playing a little with it. And no, I’m not a designer…

Original:

Modified #1:

Modified #2:

October 28, 2007 Posted by | gimp, me, open source, photo, release | Leave a comment

GLUCo 0.1.1

This release fixes a compilation problem under Windows. You can grab the code at the project site.

July 29, 2007 Posted by | gluco, linux, open source, opengl, portable, release, windows | Leave a comment

GLUCo 0.1

The GLUCo 0.1 is released! By now, the GLUCo project provides basic window management in C and a ported demo of the NeHe‘s Lesson 5. I haven’t tested it on windows, but it may compile. If not, I’ll test later and release a new version.

In the following screencast, you can see what’s GLUCo is capable of:

http://www.youtube.com/watch?v=Hr1sqJURTjo

And also with this release, an issue remains open.

July 29, 2007 Posted by | gluco, linux, nehe, open source, opengl, release, screencast | Leave a comment

GLUCo Window Manager

By this time I am committing an initial working on linux (I didn’t try to compile it on Windows yet) code of the window manager. It contains some bugs that I’ll try to fix later. But at least you can have the feeling of multiple windows!

You can grab the source code at the GLUCo repository here.

July 28, 2007 Posted by | development, gluco, linux, open source, opengl | Leave a comment