JavaSpaces – An introductory example.
Hello,
This example, is a microblog service, “similar” to twitter. It uses JavaSpaces
Best Regards,
Matheus
Hello,
This example, is a microblog service, “similar” to twitter. It uses JavaSpaces
Best Regards,
Matheus
Hello,
This example shows on Client to a Web Service. One Web Service that is a Client too (Collector) and just a Web Service (Store)
The program used to create it was Netbeans with Glassfish. The version of Netbeans was netbeans-6.9.1-ml-java.
Client, Collector, Stores – Example of WebServices
Espero que o exemplo seja útil a você.
Matheus
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).
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.
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 studding Parallel Comp. I had to do a project, anything that I want, that uses parallel programming. I always like this kind of stuff, security, cryptography, brute force… Than I decided to do a program to “break” md5 using brute force. What I can do with it? You can send a MD5 String and try to find some key that generates this hash.
So what is the change-log in this version?
- There is a lot of changes, the implementation was made almost from scratch.
- The sockets now uses a XML standard so the master can communicate with other slave platforms. (such as python)
- Slave still send strings to console
- The master and Slave don’t need more graphic interface.
- Slaves has a thread that just listen, so when the string is find by other Slave, master can stop them.
- There is a system to verify if a Slave is still connected (ping/pong)
—– When the slave don’t answer the Master disconnect it and send his string to other Slave when asked.
More details about MD5 Decrypter
I hope this can be useful,
Matheus
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“.
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.
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
You can replace the suffix of –bytes with many values as follow:
kB = 1000
K = 1024
MB = 1000 * 1000
M = 1024 * 1024
G = 1000 * 1000 * 1000
GB = 1024 * 1024 * 1024
Best Regards,
Matheus
Reference:
http://www.techiecorner.com/107/how-to-split-large-file-into-several-smaller-files-linux/
First of all go to /usr/src/include and create a header file with this structure:
NAME.h
_PROTOTYPE(int FUNCTION_NAME, (int PARAM));
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 the old theme, say it! Feel free to talk with me.
Yesterday I setup a new plugin to work with more than one language in the same WP database, the name is Qtranslate. It seems nice until now. So I will translate some older articles to english, maybe I will be hide a little bit more.
Regards,
Matheus