Recently I came across this article on configuring Tomcat (>= 5) to interpret PHP 5 scripts. This is developed by Quercus. There is an open source version with GPL license. (oh no!).
Anyways, one can configure Tomcat to work with PHP in 30 seconds and it is quite interesting. There are three jars associated with this task, quercus.jar, resin-util.jar, and script10.jar.
Well these jars are not OSGi compatible. It is simple to convert these to OSGi bundles and I am really looking forward to see how these behave in Equinox. You can have servlets, jsp, etc plus php in one container. Owesome!.
Friday, June 26, 2009
Thursday, January 1, 2009
Feliz 2009!
I wish everyone a happy, joyful and fruitful new year!
In Spanish feliz means happy. I was so fortunate and honored to spend the new year's eve with one of Spanish families' here in Miami. Trust me on this, Spanish people have mastered the art of partying!. I had the opportunity of learning some customs and traditions that revolve around Spanish way of celebrating the new year. We ate 12 grapes before midnight, a wish at every grape, last grape sharp at midnight, wishing all those wishes will come true in new year. The other tradition was, some people and including this family walked around the block with their traveling bags that they believed it will bring them enough wealth to travel around the world in 2009. In the midst of everything, I had a Salsa crash course, which made me moving to the beat. I was quite a fast learner!. The other great thing was I had the opportunity of experiencing authentic Spanish music where billa and kaparinya (if spellings is incorrect, please help me to correct it) inherited from. With my very limited Spanish understanding ability I manged to consume 1% of the conversation at the night. Rest, they were kind enough to translate it to me :-). This family treated me as their own and I felt that I was not alone in Miami after all!. I sincerly thank this wonderful family in bolttom of my heart for inviting me for such a wonderful occasion.
I am looking to 2009, excitements, challenges & everything, and with God grace I hope everything will be worked out fine for everyone in new year and the rest of the years to come!
In Spanish feliz means happy. I was so fortunate and honored to spend the new year's eve with one of Spanish families' here in Miami. Trust me on this, Spanish people have mastered the art of partying!. I had the opportunity of learning some customs and traditions that revolve around Spanish way of celebrating the new year. We ate 12 grapes before midnight, a wish at every grape, last grape sharp at midnight, wishing all those wishes will come true in new year. The other tradition was, some people and including this family walked around the block with their traveling bags that they believed it will bring them enough wealth to travel around the world in 2009. In the midst of everything, I had a Salsa crash course, which made me moving to the beat. I was quite a fast learner!. The other great thing was I had the opportunity of experiencing authentic Spanish music where billa and kaparinya (if spellings is incorrect, please help me to correct it) inherited from. With my very limited Spanish understanding ability I manged to consume 1% of the conversation at the night. Rest, they were kind enough to translate it to me :-). This family treated me as their own and I felt that I was not alone in Miami after all!. I sincerly thank this wonderful family in bolttom of my heart for inviting me for such a wonderful occasion.
I am looking to 2009, excitements, challenges & everything, and with God grace I hope everything will be worked out fine for everyone in new year and the rest of the years to come!
Thursday, November 13, 2008
Quantum Of Solace (2008)
New Bond movie is just around the corner. My friend and I managed to get two tickets just in time for the very first show, which will be shown in 3 hours from now. It will be Nov 14th 12.01 AM. We were so lucky that we managed to buy these two tickets for student discount and we were so luck that to get these two tickets to this show. Anyways, it's gonna be interesting.....and no spoilers; I promise. ;-)
FUSE
FUSE allows to develop fully functional filesystem in a userspace program. It provides,
1. Simple library API
2. Simple installation (no need to patch or recompile the kernel)
3. Secure implementation
4. Userspace - kernel interface is very efficient
5. Usable by non privileged users
6. Runs on Linux kernels 2.4.X and 2.6.X
7. Has proven very stable over time
[above items are extracted from http://fuse.sourceforge.net/]
Recently (after spending almost 2 weeks) I completed an assignment for Operating System class which needed an implementation of filesystem that follows FAT concepts. Inevitably I stick to FAT12/16 paradigm because it was easy to (kinda :-)) implement and simulate it. I didn't implement every little fine grained part of it, but for me it was quit a exhilarating assignment and I am happy with it. This assignment had forced me to teach a lot of C stuff. I believe, now I have a relatively good understanding of how to tame this beast.
So, why am I interested in FUSE anymore. Don't know whether this is feasible, but just hear me out. I am thinking of a concept of "mounting" a Web service. It's like you mount a disk and do all sort of operations and we kind a write a FILESYSTEM that would follow the same semantics of Web services, but in the context of file system paradigm. Ex: one could create a file say "foo.txt", but now this will be a Web service which will be exposed by this FILESYSTEM. Another thing I could think of is a directory, which is a grouping of web services. These are just wild thoughts. Since I'm now a die heart fan of C, I would like to give a "hello world" try to this idea in December using Axis2/C.
Hence, when you mount a disk which will adheres to this FILESYSTEM it will mount Web services. And of course you could umount the FILESYSTE anytime you want. Let me see whether I could come up with something useful and feasible and post the results. Anyway...
What you guys think ? Am I going crazy of what :-)
1. Simple library API
2. Simple installation (no need to patch or recompile the kernel)
3. Secure implementation
4. Userspace - kernel interface is very efficient
5. Usable by non privileged users
6. Runs on Linux kernels 2.4.X and 2.6.X
7. Has proven very stable over time
[above items are extracted from http://fuse.sourceforge.net/]
Recently (after spending almost 2 weeks) I completed an assignment for Operating System class which needed an implementation of filesystem that follows FAT concepts. Inevitably I stick to FAT12/16 paradigm because it was easy to (kinda :-)) implement and simulate it. I didn't implement every little fine grained part of it, but for me it was quit a exhilarating assignment and I am happy with it. This assignment had forced me to teach a lot of C stuff. I believe, now I have a relatively good understanding of how to tame this beast.
So, why am I interested in FUSE anymore. Don't know whether this is feasible, but just hear me out. I am thinking of a concept of "mounting" a Web service. It's like you mount a disk and do all sort of operations and we kind a write a FILESYSTEM that would follow the same semantics of Web services, but in the context of file system paradigm. Ex: one could create a file say "foo.txt", but now this will be a Web service which will be exposed by this FILESYSTEM. Another thing I could think of is a directory, which is a grouping of web services. These are just wild thoughts. Since I'm now a die heart fan of C, I would like to give a "hello world" try to this idea in December using Axis2/C.
Hence, when you mount a disk which will adheres to this FILESYSTEM it will mount Web services. And of course you could umount the FILESYSTE anytime you want. Let me see whether I could come up with something useful and feasible and post the results. Anyway...
What you guys think ? Am I going crazy of what :-)
Wednesday, September 24, 2008
Playing the main role
It has been a while since I have participated in a drama. If I remembered correctly, it was in University, I did my last act (on a stage of course :-)). I go to this local church in Miami, St Augustine Church, for the remembrance of the Eucharist. Today there was a small drama on Jesus life from Luck 15:4-7 for youth. Yesterday, my beloved members of the young adults group asked me whether I could act the role of Jesus Christ. The main reason they wanted me to act was, I have long hair :-). Ironic !. Well I accepted the invitation and had to prepare myself with the setting and with the script less than 24 hrs. So today I dressed up as Jesus Christ and did my part. It was the main role btw. Everything has gone as planed and it was just awesome!!!!.
Saturday, September 20, 2008
Senator Barack Obama in University of Miami
Yesterday, Friday (09/19/08) Senator Obama gave a speech in University of Miami. Friday is a good day, because I have only one class!. I had this rear privilege of getting a ticket to attend this event. These tickets were quite hard to come by.So I knew a dude who new another dude, who had an extra ticket so that I could borrow. I did actually saw "the man" himself and his speech was quite exhilarating and encouraging to his supports. His speech quite touched my chain of thoughts very very deeply. Hey, don't ask my point of view in political parties, I just like the idea of presidency :-). Good luck to you Senator Obama, I know you will just do fine.
System calls to Linux kernel
System call provides an interface to user-space processes to interact with kernel. This interface gives applications to access hardware and other operating system resources. This article gives you a good introduction to implement system calls in i 386 architecture.
It seems that _syscallX macros have been removed from "unistd.h". Hence, we have to use syscall available from libc.
It seems that _syscallX macros have been removed from "unistd.h". Hence, we have to use syscall available from libc.
Subscribe to:
Posts (Atom)