Skip to content

Matheus Bratfisch Posts

An example of use of CORBA

Hello

CORBA (Common Object Request Broker Architecture) is a standart defined by OMG (Object Management Group), this let distributed object from different languages and OS to communicate. It also provides total transparency in the communication. The IDL (Interface Definition Language) is the tecnology used to describe the interfaces. IDL has your own data types, that are mapped to the data types in other languages. There is an IDL compiler, it generates the codes that do the communication.

But how it works? We have some definitions in a .idl file, in this case Bank-idl (remember to change the filename).

Continue reading An example of use of CORBA

Java RMI – Intro and Example

Good Night,

Java RMI (Remote Method Invocation), is a mechanism that let the user, create distributed applications using Java. It takes care of Sockets, protocols and others. But how it works? All the magic is done by RMI. It have a server named RMIREGISTRY, where your server connect and says "I'm here". After this Clients can connect to RMIREGISTRY and find the server that it wants.

I will show you an example of a Car Advertisement server, where Clients can add and search for Vehicle.

Continue reading Java RMI – Intro and Example

MD5 Decrypter – Version 0.5

Hello, A few days ago I published the new version of MD5 Decrypter. But what is this program? I had this idea, when I was…

Continue reading MD5 Decrypter – Version 0.5

Add method to VFS in Minix.

Good Night,

First of all, what is VFS? VFS means Virtual File System. It is a layer that exists in a lot of OS and in Minix too, this layer takes care of the communication with the File System. It is a Master's thesis in Computer Science from Balázs Gerófi and the name is "Design and implementation of the MINIX Virtual File system".

Continue reading Add method to VFS in Minix.

Torrent Client in linux server with web access

Hello

Why to create a server with a torrent client with web access? I live with other people that uses torrent too. I had a computer running a server with other services, so I decided to add this client (transmission-daemon) with web access, in this way we don't need to let computers on. Just this one. Everybody have web access to it and it is so simple to use.

But wich client to use? I searched a little bit and found that exists some famous ones as w3btorrent and torrentflux. but they need a web-server running like apache. And I don't want to setup it too, because I don't need it. So I choosed transmission the native torrent client in Ubuntu.

So, to install it in Ubuntu server you use:

$ sudo apt-get install transmission-daemon

Now you need to setup it, my configuration file was in /home/user/.config/transmission-daemon/settings.json

The options are a lot but it is easy to understand them.

Continue reading Torrent Client in linux server with web access

How to split large file in smaller files using Linux

Hello, To split a large file in several smaller files, you can use Split from Linux. How it works? Man split. split --bytes=1m /path/large/file /path/output/file/prefix…

Continue reading How to split large file in smaller files using Linux

Creating a system library in Minix.

First of all go to /usr/src/include and create a header file with this structure:

NAME.h

_PROTOTYPE(int FUNCTION_NAME, (int PARAM));

Continue reading Creating a system library in Minix.

New design, translation.

You can see that the design was updated. I hope you enjoy it. If you have anything to say, please say it. If you perfer…

Continue reading New design, translation.

Use Firefox 4.0 Beta in Ubuntu

Hello, I was reading my feeds and saw that Firefox 4.0 Beta was available. I verified what happened and I discovered that Mozilla Foundation transformed…

Continue reading Use Firefox 4.0 Beta in Ubuntu

Update Android to 2.2 in Nexus One

Hello, Last wednesday the Android 2.2 was announced. I read in many websites that it is faster and it has some new functionalities, like thetering…

Continue reading Update Android to 2.2 in Nexus One