Archive for January, 2006

Drupal / Symfony / Something else

nirav January 21st, 2006

I am thinking about what tool to use for the OpenCerti website.

Are there any Drupal hackers who want to contribute to OpenCerti? We would be glad to have Drupal on the site - run surveys with it or have documentation in it.

Are you a PHP developer who wants to learn new things and contribute to OpenCerti at the same time? Then we can use Symfony and build things from ground up.

We look forward to hear from you!

Symfony - open source PHP5 web framework

nirav January 21st, 2006

Symfony is a great PHP5 framework for web applications. After Ruby on Rails shook the web developers, a lot of web frameworks with AJAX support started appearing. There are a few in PHP as well.

The feature list says:
* simple templating and helpers
* cache management
* smart URLs
* scaffolding
* multilinguism and I18N support
* object model and MVC separation
* Ajax support
* enterprise ready

The Symfony project website is also a place where they documented the development of Askeet - a full blown live web app done in 24 days with Symfony.

If you are a PHP developer, try it out!

DontClick

Magnet January 20th, 2006

dontclick.jpg

For those people who are tired to click the mouse button to get from one place to another, this is experimental flash site for you. In this site you will only have to click your mouse button once at the intro page.

After your first click, the entire site navigation is achieved using rollovers only. Just point your mouse where you want to go.

Hope you like this site.  I never seen such site on the web.

http://www.dontclick.it

Fifth Avenue

Magnet January 20th, 2006

 Fifth Avenue.

 

Her hand reached out for the doorknob and she slowly turned it around. The stale smell of a locked apartment reached her nose and before she could react she was reminded of him. His black hair would always make her jealous. The smile on his brown face would light up her life. Then she realized he was not there with her. She switched on the light but still she was in complete darkness. She closed her eyes slowly immersing into complete darkness. He was standing there with red roses in his hands. She loved that smile on his face. He walked slowly towards her and reached out for her hand, helping her to stand on her feet. He slowly pulled her into him with only a thin layer of air separating their lips. He kissed her passionately reaching out for her tongue. The ringing phone woke her up. Her quivering lips and watery eyes made her realize how much she missed him.

 

She never realized she would fall in love with him. She was the most beautiful girl in the town and he was just an immigrant from a distant land. But something about him made her fall in love with him. They were married within six months of their courtship. Life had never been so better for her. As days turned into months and months into years the most inevitable happened. They started arguing. She thought it was just a phase, which will pass away, but things never started to look better. One-day things got out of hand and he walked away from her. She wanted to stop him but she was too angry to do so. They didn’t hear from each other for a long time. Every morning she woke up next to empty space. She tried seeing other men but nobody could fill that void in her life.

 

It was late in the night and she had always dreaded to walk through that particular street. Then it started to rain and she had no option but to walk through the fifth avenue. It was very dark and she could hear whispers in the darkness. She wished she had never taken that road but now it was too late. She could sense someone was following her. She started walking fast but he was still behind her trying to catch up with her. Her walk turned into jog and she was completely drenched in the September rain. Suddenly she felt two strong arms around her waist. She almost screamed when he stuffed her mouth with his left hand and pulled her aside on the curb. She felt completely helpless. She could feel his warm breath on her wet shoulders and then she felt something warm wrapping around her body. He put his warm coat around her and looked into her eyes. She melted into his arms and held him tight. He lifted her head and kissed her softly. She wanted that moment to last forever.

 

Ashu Sharma.

 

P.S.  This is my first attempt to write a happy story. J

Problems Running Apache 2

Magnet January 19th, 2006

Apache uses some advanced functionality to speed-up the process of sending files. The mostly used three of them are:

1. EnableSendfile. It control whether the sendfile kernel support is used to deliver files (assuming that the OS supports it).

2. EnableMMAP. Control whether memory-mapping is used to deliver files (assuming that the underlying OS supports it).

Default value for these two is on.

3. Win32DisableAcceptEx. It's required for the functionality of the apache server under windows 98.It’s useful to work around bugs in some third party layered service providers like virus scanners,VPN and firewall products, that do not properly handle WinSock 2 API

Now the problem occures when Apache is running under windows. The problems like corrupted or incomplete file downloads, unexplained error messages, or a conflict with a software firewall are frequent. The most dangerious is:

[warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.

It slows down the system considerabily resulting in Apache crash.

There is no particular solution for these problems.

AcceptEx is a Microsoft WinSock v2 API that provides some performance improvements. Some popular Windows products, typically virus scanning or virtual private network packages, have bugs that interfere with the proper operation of it. In that case disable it. In httpd.conf place the directive:

Win32DisableAcceptEx

Also switch off the other two settings:

EnableSendfile Off
EnableMMAP Off

The above directives turn off the advanced functionality and make Apache fall back to more basic (but slower) techniques but reduce the error messages and malfunctioning.

« Prev - Next »