-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I've been following the development of Facebook's HipHop PHP compiler since February with the intention of setting up a copy of drupal.org on it. This has now been achieved, see http://driphop.drupal.org/ This runs on a copy of the database, so feel free to make any changes. It uses bakery for authentication, so you should be able to log-in. Please report any errors you notice in the infrastructure issue queue, I've added a driphop.drupal.org component. The website might be unavailable from time to time. I have not yet done any proper benchmarks for this setup. The aim here is to find bugs (the fastest php page is the one with a parse error after all...). Known bugs: 1) Due do some issue with the way URL rewriting works in Hiphop vs how t works in apache, the homepage gives you a 404 but does actually show the orange d.o box. /node does work, but does not show you the orange box... 2) The local task tabs lack some HTML that the CSS needs to render them properly. Somehow the relevant theme function doesn't appear to get called. 3) I've had to remove three blocks that use PHP in the "pages" column. 4) Uploaded files are not available and none can be uploaded. Thanks to Narayan for getting me a database and to the OSL for loaning us another VM. Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyZ31EACgkQfg6TFvELooTKLACfUZn2xwluH1u7DChZEtyvo6DG HYoAoLuCR8PD/5ypWbeUkrs4Yeb6NXhO =DetO -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.09.2010 12:49, Gerhard Killesreiter wrote:
Known bugs:
To clarify:
1) Due do some issue with the way URL rewriting works in Hiphop vs how t works in apache, the homepage gives you a 404 but does actually show the orange d.o box. /node does work, but does not show you the orange box...
This is probably a configuration issue on my part.
2) The local task tabs lack some HTML that the CSS needs to render them properly. Somehow the relevant theme function doesn't appear to get called.
This is likely a HipHop bug or Drupal is using some unsupported construct in its theming layer. The rest of the theming seems to work, though.
3) I've had to remove three blocks that use PHP in the "pages" column.
This is simply a limitation of HipHop, you can't use evil eval().
4) Uploaded files are not available and none can be uploaded.
This is simply because the files directory isn't exported to the VM.
Thanks to Narayan for getting me a database and to the OSL for loaning us another VM.
And to Damien of course who supplied three patches to get rid of preg_replace calls that use /e. Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyZ5X0ACgkQfg6TFvELooRxTwCeLQylBxxgjOYUa/YXCSke+dIx za0An1ooxp3PMGplmzyqQY28MArHJy1O =OzVG -----END PGP SIGNATURE-----
Wow!! nice. Will check this out now :) On Wed, Sep 22, 2010 at 4:46 PM, Gerhard Killesreiter < gerhard@killesreiter.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 22.09.2010 12:49, Gerhard Killesreiter wrote:
Known bugs:
To clarify:
1) Due do some issue with the way URL rewriting works in Hiphop vs how t works in apache, the homepage gives you a 404 but does actually show the orange d.o box. /node does work, but does not show you the orange box...
This is probably a configuration issue on my part.
2) The local task tabs lack some HTML that the CSS needs to render them properly. Somehow the relevant theme function doesn't appear to get called.
This is likely a HipHop bug or Drupal is using some unsupported construct in its theming layer. The rest of the theming seems to work, though.
3) I've had to remove three blocks that use PHP in the "pages" column.
This is simply a limitation of HipHop, you can't use evil eval().
4) Uploaded files are not available and none can be uploaded.
This is simply because the files directory isn't exported to the VM.
Thanks to Narayan for getting me a database and to the OSL for loaning us another VM.
And to Damien of course who supplied three patches to get rid of preg_replace calls that use /e.
Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyZ5X0ACgkQfg6TFvELooRxTwCeLQylBxxgjOYUa/YXCSke+dIx za0An1ooxp3PMGplmzyqQY28MArHJy1O =OzVG -----END PGP SIGNATURE-----
Hi Gerhard, Thanks a lot for this super cool beta test. I've just found some bugs, blank pages: http://driphop.drupal.org/node/217369 http://driphop.drupal.org/node/78033 This forum order by replies, seems that post with a lot of replies are not working. My 2 cents. On Wed, Sep 22, 2010 at 12:49 PM, Gerhard Killesreiter < gerhard@killesreiter.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi there,
I've been following the development of Facebook's HipHop PHP compiler since February with the intention of setting up a copy of drupal.org on it. This has now been achieved, see http://driphop.drupal.org/
This runs on a copy of the database, so feel free to make any changes. It uses bakery for authentication, so you should be able to log-in.
Please report any errors you notice in the infrastructure issue queue, I've added a driphop.drupal.org component.
The website might be unavailable from time to time.
I have not yet done any proper benchmarks for this setup. The aim here is to find bugs (the fastest php page is the one with a parse error after all...).
Known bugs:
1) Due do some issue with the way URL rewriting works in Hiphop vs how t works in apache, the homepage gives you a 404 but does actually show the orange d.o box. /node does work, but does not show you the orange box...
2) The local task tabs lack some HTML that the CSS needs to render them properly. Somehow the relevant theme function doesn't appear to get called.
3) I've had to remove three blocks that use PHP in the "pages" column.
4) Uploaded files are not available and none can be uploaded.
Thanks to Narayan for getting me a database and to the OSL for loaning us another VM.
Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyZ31EACgkQfg6TFvELooTKLACfUZn2xwluH1u7DChZEtyvo6DG HYoAoLuCR8PD/5ypWbeUkrs4Yeb6NXhO =DetO -----END PGP SIGNATURE-----
-- Paolo Mainardi CTO Twinbit Blog: http://www.paolomainardi.com -- Please consider the environment before printing this email --
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.09.2010 14:50, Paolo Mainardi wrote:
Hi Gerhard,
Thanks a lot for this super cool beta test.
I've just found some bugs, blank pages:
Will you file issues or should I?
http://driphop.drupal.org/node/217369 http://driphop.drupal.org/node/78033
I believe this is due to this: [Wed Sep 22 12:48:16 2010] [hphp] [16286:43caa940:118:000001] [] HipHop Fatal e rror: f_highlight_string is not going to be supported: PHP specific That's another problem with codefilter (the other one was a preg_replace with /e). Guess we could replace highlight_string with something else.
This forum order by replies, seems that post with a lot of replies are not working.
I think with a lot of replies the likelihood is higher that somebody uses the codefilter... Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyaARoACgkQfg6TFvELooSXgACgoIrugwC3fbCMFTpWFLeLijs6 iM0Ani/9B6k65M+jmKcgpn8+VlhSD6T6 =4Ely -----END PGP SIGNATURE-----
Great job :) On Wed, Sep 22, 2010 at 2:14 PM, Gerhard Killesreiter < gerhard@killesreiter.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 22.09.2010 14:50, Paolo Mainardi wrote:
Hi Gerhard,
Thanks a lot for this super cool beta test.
I've just found some bugs, blank pages:
Will you file issues or should I?
http://driphop.drupal.org/node/217369 http://driphop.drupal.org/node/78033
I believe this is due to this:
[Wed Sep 22 12:48:16 2010] [hphp] [16286:43caa940:118:000001] [] HipHop Fatal e rror: f_highlight_string is not going to be supported: PHP specific
That's another problem with codefilter (the other one was a preg_replace with /e). Guess we could replace highlight_string with something else.
This forum order by replies, seems that post with a lot of replies are not working.
I think with a lot of replies the likelihood is higher that somebody uses the codefilter...
Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyaARoACgkQfg6TFvELooSXgACgoIrugwC3fbCMFTpWFLeLijs6 iM0Ani/9B6k65M+jmKcgpn8+VlhSD6T6 =4Ely -----END PGP SIGNATURE-----
-- M'BAREK Med Nihed, Revenue Assurance Engineer Tunisie Telecom http://www.nihed.com Fedora Ambassador, TUNISIA, Northern Africa PUB 1024D/9E2FFB76 Date 2009/02/14
Folks may not be aware that there is a branch of pressflow that is tuned for hiphop compatibility - https://code.launchpad.net/~pressflow/pressflow/6.x-hiphop On Wed, Sep 22, 2010 at 9:14 AM, Gerhard Killesreiter <gerhard@killesreiter.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 22.09.2010 14:50, Paolo Mainardi wrote:
Hi Gerhard,
Thanks a lot for this super cool beta test.
I've just found some bugs, blank pages:
Will you file issues or should I?
http://driphop.drupal.org/node/217369 http://driphop.drupal.org/node/78033
I believe this is due to this:
[Wed Sep 22 12:48:16 2010] [hphp] [16286:43caa940:118:000001] [] HipHop Fatal e rror: f_highlight_string is not going to be supported: PHP specific
That's another problem with codefilter (the other one was a preg_replace with /e). Guess we could replace highlight_string with something else.
This forum order by replies, seems that post with a lot of replies are not working.
I think with a lot of replies the likelihood is higher that somebody uses the codefilter...
Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyaARoACgkQfg6TFvELooSXgACgoIrugwC3fbCMFTpWFLeLijs6 iM0Ani/9B6k65M+jmKcgpn8+VlhSD6T6 =4Ely -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.09.2010 15:29, Moshe Weitzman wrote:
Folks may not be aware that there is a branch of pressflow that is tuned for hiphop compatibility - https://code.launchpad.net/~pressflow/pressflow/6.x-hiphop
That would be a good thing since I don't think any work has been done there after February. ;) There are only very minimal patches applied to the actual drupal.org code base: 1) The already mentioned preg_replace replacements. There are issues for these and I hope these patches will no longer be neccessary in the future. The patch which affects unicode.inc was already committed to D7. 2) I've commented out some mbstring checks since hiphop didn't implement them. I should be able to revert these now. 3) I've removed the @ character from the mysql_connect string. Not sure why. 4) I've commented out parts of the base_path logic in conf_init. Need to test if this is still needed. I believe that David's changes were meant to be far more extensive. I am attempting to use Drupal out of the box and fix either Drupal or hiphop where this fails. Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyaD4cACgkQfg6TFvELooSJAgCgv+mdN31FHiSMF5OOPHllSZl2 BTwAn3zjCYH3z9ycpkpZZr0lba6bhbIs =k94F -----END PGP SIGNATURE-----
Gerhard, Your changes to drupal or hiphop, are they at someplace which can be accessed and looked into? Cheers On Wed, Sep 22, 2010 at 7:45 PM, Gerhard Killesreiter < gerhard@killesreiter.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 22.09.2010 15:29, Moshe Weitzman wrote:
Folks may not be aware that there is a branch of pressflow that is tuned for hiphop compatibility - https://code.launchpad.net/~pressflow/pressflow/6.x-hiphop
That would be a good thing since I don't think any work has been done there after February. ;)
There are only very minimal patches applied to the actual drupal.org code base:
1) The already mentioned preg_replace replacements. There are issues for these and I hope these patches will no longer be neccessary in the future. The patch which affects unicode.inc was already committed to D7.
2) I've commented out some mbstring checks since hiphop didn't implement them. I should be able to revert these now.
3) I've removed the @ character from the mysql_connect string. Not sure why.
4) I've commented out parts of the base_path logic in conf_init. Need to test if this is still needed.
I believe that David's changes were meant to be far more extensive.
I am attempting to use Drupal out of the box and fix either Drupal or hiphop where this fails.
Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyaD4cACgkQfg6TFvELooSJAgCgv+mdN31FHiSMF5OOPHllSZl2 BTwAn3zjCYH3z9ycpkpZZr0lba6bhbIs =k94F -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.09.2010 16:21, Dipen wrote:
Gerhard,
Your changes to drupal or hiphop, are they at someplace which can be accessed and looked into?
I've created an issue: http://drupal.org/node/919396 As I said: most of it is the preg_replace stuff. Cheers, Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyaFEoACgkQfg6TFvELooRPGgCeJZg7J4Tjwk9fXvuwm9/8RHLb L1YAnRANYtX1piQquTHZKIcavBMYPnLs =eO0k -----END PGP SIGNATURE-----
participants (5)
-
Dipen -
Gerhard Killesreiter -
Moshe Weitzman -
nihed mbarek -
Paolo Mainardi