Wednesday, 2009-11-11

../irclogs/#mantishelp.2009-11-11.log
--- scribe started ---00:00
dhx_mnuclear_eclipse: why wouldn't we want to escape '/' as part of a path? The second option to preg_quote appends additional characters to the list PHP has built in already. (http://php.net/manual/en/function.preg-quote.php)06:48
nuclear_eclipsedhx_m: because the second parameter to preg_quote specifies the PCRE delimiter, which in those two cases is "@", not "/"13:33
dhx_mI'm somewhat confused... it escapes that character throughout the string?13:36
dhx_mbtw Google Wave is going to be fun...13:37
dhx_msomeone has already made a Rickroll bot13:37
dhx_madd it to a conversation and a Rickroll video starts playing as soon as someone opens a thread13:38
nuclear_eclipsedhx_m: the point of preg_quote is to escape any characters that PCRE will see as special or control characters, such as ^, $, \, etc13:47
dhx_mforward slash is one of those however?13:48
nuclear_eclipsehowever, PCRE regexes can use any character as the start/end delimiter; / is not always needed for that, and in the cases of paths, it's always a good idea to use a different delimiter13:49
dhx_mah so it takes the first character in the string and uses that as the end delimiter?13:49
nuclear_eclipseother than when acting as a delimiter, / has no special meaning to PCRE13:49
nuclear_eclipseright13:49
dhx_maha gotcha13:49
dhx_mmakes sense now :)13:49
nuclear_eclipsein most of Mantis, we use / as the delimiter, but for paths and URL matching, we use other characters instead, usually @13:50
dhx_myep13:54
nuclear_eclipseso anywho, sup? :P13:59
dhx_mplaying with Google Wave at the moment14:03
nuclear_eclipseme too :P14:03
dhx_mI recon it's going to get abused big time14:03
dhx_mwith the free roaming bot capabilities14:04
dhx_massuming of course people engage in public waves14:04
dhx_mit seems you can't get two bots talking to each other forever :)14:05
nuclear_eclipseI didn't even realize that there were such a thing as public waves...14:06
dhx_mtype with:public in the search bar in your inbox14:08
kirillkahi all17:41
kirillkathraxisp need invite to google wave?17:41
kirillkanuclear_eclipse: what version of your wordpress?17:48
nuclear_eclipsekirillka: for leetcode.net?18:13
kirillkanuclear_eclipse: yes18:16
nuclear_eclipseit's WordPress MU 2.8.5.218:19
kirillkanuclear_eclipse: strange. I have simple WP 2.8.5, but my site work slowly18:22
nuclear_eclipseI have the PHP-APC extension installed -- it makes PHP run about 10-20 times faster18:23
kirillkawhere I can read about this extension?18:23
nuclear_eclipsehttp://php.net/manual/en/book.apc.php18:24
nuclear_eclipsehttp://pecl.php.net/apc18:24
kirillkanuclear_eclipse: thanks18:24
nuclear_eclipsekirillka: if you're running debian/ubuntu linux, there's a package `php-apc` that installs it for you18:25
kirillkanot. ASP Linux18:25
kirillkafor now I change to CentOS18:25
nuclear_eclipseCentOS/Fedore/RHEL probably have a package for it as well18:25
kirillkanuclear_eclipse: can you test? https://sp.vester.ru/blog/18:40
nuclear_eclipse"Forbidden"18:42
nuclear_eclipseYou don't have permission to access /blog/ on this server.18:42
kirillkaAnd now?18:44
nuclear_eclipseit's taking a while to load...18:45
nuclear_eclipsestill loading...18:45
kirillka:( I don't understand why18:47
nuclear_eclipsekirillka: first, make sure you load the extension in your php.ini18:48
kirillkaI add to /etc/php.d/apc.ini18:49
nuclear_eclipsesecond, try setting the apc settings in your php.ini like:18:49
nuclear_eclipseapc.shm_size = 6418:49
nuclear_eclipseapc.shm_segments = 118:49
kirillkaVersion 3.1.3p118:51
kirillkaMMAP Support Enabled18:51
kirillkaMMAP File Mask no value18:51
kirillkaLocking type pthread mutex Locks18:51
kirillkaRevision $Revision: 286798 $18:51
kirillkaBuild Date Nov 11 2009 20:32:2318:51
kirillkaapc.enabledOn18:52
nuclear_eclipsetry visiting the apc.php page?18:52
nuclear_eclipsehttps://admin.leetcode.net/apc.php18:52
kirillkanuclear_eclipse: I have this page?18:53
nuclear_eclipseif anything, you can get it from the PEAR download18:54
nuclear_eclipsefor me, it was available is /usr/.../php-apc/  as installed by the ubuntu package18:54
nuclear_eclipse/usr/share/doc/php-apc/apc.php.gz18:54
kirillkaone sec18:56
kirillkahttps://sp.vester.ru/apc.php18:58
kirillkaMisses: 89%18:59
nuclear_eclipsewell, a high number of misses is expected at first, because APC starts with an empty cache19:00
kirillkamay be. I never use cache19:00
nuclear_eclipsethe 364 misses on my APC info page are all from right after I reloaded Apache; since then, I've had 490k hits because the pages stay in cache19:01
CIA-9Mantisbt: s.mazeland * r3564e3f79008 / (16 files in 4 dirs): Merge branch 'master' of git://mantisbt.org/mantisbt19:03
CIA-9Mantisbt: s.mazeland * r7fabc22be26c / (19 files in 2 dirs): Localisation updates from translatewiki.net (2009-11-11)19:03
CIA-9Mantisbt: s.mazeland * r4a6f03b982f0 / (4 files in 2 dirs): Remove hard coded colon19:23
wologhello, I've installed the source-integration plugin, and I've 2 warnings on top of each pages: "APPLICATION WARNING #2400: Event "EVENT_ACCOUNT_PREF_UPDATE_FORM" has not yet been declared."21:06
nuclear_eclipsewolog: update your mantis installation21:07
wologis there a git public repository to pull from ? I only found the gitweb (but maybe I've not serched enough21:21
nuclear_eclipsegit://mantisbt.org/mantisbt.git21:22
* nuclear_eclipse thought that was listed somewhere...21:22
* nuclear_eclipse could be wrong21:22
darynhttp://www.mantisforge.org/dev/manual/en/developers/dev.contrib.clone.html21:23
nuclear_eclipsewolog: master-1.2.x is the current stable branch21:23
nuclear_eclipsedaryn: I meant somewhere besides that21:23
daryn:)21:23
nuclear_eclipseI wouldn't expect most users to look there for info on how to pull from out git repo :P21:24
darynthat is linked from the mantisbt.org/development.php page though21:24
darynwell...not exactly...the dev guid is21:24
wologI use a 1.2.0a3, but we have patched it quite a lot, still need to sort what should be reported upstream, and what is only usefull for us21:24
nuclear_eclipseperhaps we should be listing our public repo URI on the download page...21:24
wologhttp://www.mantisbt.org/development.php21:24
darynnuclear_eclipse: not a bad idea21:25
wologthe git url could be mentioned here ^21:25
darynyou can get to it from there following the Mantis Bug Tracker Development Guide link but it certainly could be more obvious21:26
wolog+1 for the download page also, more and more I tend to use git instead of archive download, even when I not plan (at first) to hack the source21:27
paulrdhx_m: nuclear_eclipse moo22:08

Generated by irclog2html.py