tag:blogger.com,1999:blog-6669934595599937894.comments2023-09-07T08:05:54.807-07:00Obvious HintsAlvarohttp://www.blogger.com/profile/05177930414107959806noreply@blogger.comBlogger112125tag:blogger.com,1999:blog-6669934595599937894.post-51169900769597918832011-08-19T07:53:09.825-07:002011-08-19T07:53:09.825-07:00PHP source code for 5.3.7
File: ./Zend/zend_langu...PHP source code for 5.3.7 <br />File: ./Zend/zend_language_scanner.l<br />Line: 873-879<br /><br />"exit" {<br /> return T_EXIT;<br />}<br /><br />"die" {<br /> return T_EXIT;<br />}<br /><br />Should be the same result for die and exit, we recommend verify the results on the test.<br /><br />Best RegardsAmephisthttps://www.blogger.com/profile/03331842444338246208noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-78726320884954836702011-02-25T17:18:45.560-08:002011-02-25T17:18:45.560-08:00MangoDb > 3 column > localde 100000 data e...MangoDb > 3 column > localde 100000 data entry <br />MsSql > 3 column > localde 100000 data entry > 06 : 51 saniye <br /><br /><br />Çok hızlı > Very very faster:DMesut ÇAKIRhttps://www.blogger.com/profile/00358442178151443666noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-51572156884720985772011-01-14T04:53:14.835-08:002011-01-14T04:53:14.835-08:00Hi
Did you do any more work on erlang as a sessio...Hi<br /><br />Did you do any more work on erlang as a session storage for PHP? I'm interested in implementing this myself, and I've just found a copy of your post in the mypeb wiki, so I figured I could use your work as a starting point.<br /><br />Thanks!Unknownhttps://www.blogger.com/profile/15626260158544037975noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-38301825473306980062011-01-03T12:58:41.787-08:002011-01-03T12:58:41.787-08:00Fantastic! I was looking for EXACTLY this kind of...Fantastic! I was looking for EXACTLY this kind of solution, strophe/memcache dependencies included.<br /><br />Thank you!Andrew Ensleyhttps://www.blogger.com/profile/07779872487125574495noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-28615119258615260432010-11-12T16:37:48.324-08:002010-11-12T16:37:48.324-08:00I begginer test MongoDB into small VPS 512mb and s...I begginer test MongoDB into small VPS 512mb and see this MongoDB not in use consume 150mb of 512mb and MySql not in use 1.5mb , i think this result is from cached memory<br /><br />Using:<br /><br />CentOS 5.5<br />VPS 512mb<br />PRC 2.4GhzRodrigo Gregoriohttps://www.blogger.com/profile/07221317273138885855noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-9205929313208019142010-10-12T03:45:35.767-07:002010-10-12T03:45:35.767-07:00First let me read this book and then will get back...First let me read this book and then will get back to you..I don't like to answer unless i know more about it! thanks<br /><br /><br /><a href="http://www.samplejobdescriptions.org/php-developer-job-description.html" rel="nofollow">PHP Developer Job description</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-68780048564474617152010-08-10T13:18:37.507-07:002010-08-10T13:18:37.507-07:00It's true OOP becomes overbloated very quickly...It's true OOP becomes overbloated very quickly. <br /><br />I believe that the key reason for this is a simple fact that it's too hard to design a big system for OOP. It's unnatural for programmers to think in terms of OOP architecture. <br /><br />The end result is that we are stuck in an endless cycle of refactoring by adding a new interfaces on top of existing ones to make code more reusable. <br /><br />For me we do more abstractions because of poor design choices. OOP programmer is his own best gravedigger.<br /><br />Verdict : don't blame the programmer. OOP is just made of fail.Anonymoushttps://www.blogger.com/profile/07107496107828088797noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-79773207729874298232010-08-05T14:04:48.238-07:002010-08-05T14:04:48.238-07:00Hey i am doing something similar. What tools did y...Hey i am doing something similar. What tools did you use to get all that profiling information? Thanks.adamhttps://www.blogger.com/profile/11566391844589097956noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-84678039946500917842010-08-04T14:29:26.888-07:002010-08-04T14:29:26.888-07:00This is EXACTLY what I was looking for, Thank you ...This is EXACTLY what I was looking for, Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-71151583222799078352010-08-02T09:14:52.599-07:002010-08-02T09:14:52.599-07:00OOP is trying to reinvent maths, the ugly way.OOP is trying to reinvent maths, the ugly way.Unknownhttps://www.blogger.com/profile/02569072978493441625noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-15989879527502351752010-07-13T01:29:11.816-07:002010-07-13T01:29:11.816-07:00Thanks for the links, I'm just going through t...Thanks for the links, I'm just going through the Clojure books, to see what it has to offer. I will take a look at those sites, thanks againAlvarohttps://www.blogger.com/profile/05177930414107959806noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-11363685917038218432010-07-13T00:44:38.283-07:002010-07-13T00:44:38.283-07:00surely dont or at least dont for all programming c...surely dont or at least dont for all programming contexts<br /><br />but i think the root issue of (too much) oop is not only the accidental complexity but the way it models your mind: identity, time, model of the world<br /><br />I think the key is from Rich Hickey:<br />http://clojure.org/state<br />http://clojure-log.n01se.net/date/2010-04-21.html#i28 (really impressive chat session)<br />http://www.artima.com/articles/hickey_on_time.html<br />http://wiki.jvmlangsummit.com/images/a/ab/HickeyJVMSummit2009.pdfAnonymoushttps://www.blogger.com/profile/03081252416288495482noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-70007711285125092010-06-15T06:53:39.905-07:002010-06-15T06:53:39.905-07:00"Java is like a variant of the game of Tetris..."Java is like a variant of the game of Tetris in which none of the pieces can fill gaps created by the other pieces, so all you can do is pile them up endlessly."<br /><br />-- Steve Yegge (2007, Codes Worst Enemy)luismarianoguerrahttps://www.blogger.com/profile/07599903974680528835noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-74048812097418213472010-05-23T19:08:37.496-07:002010-05-23T19:08:37.496-07:00Hi Garry, besides that I don't know about the ...Hi Garry, besides that I don't know about the errors that you are getting I guess that the problem is that the exmpp library has changed. I submitted some bug fixes related to this and after that the API changed. So probably you have to check their API docs, which are pretty good BTW.Alvarohttps://www.blogger.com/profile/05177930414107959806noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-66102286472880003002010-05-23T08:40:18.788-07:002010-05-23T08:40:18.788-07:00hi,
I try to use your client with superfeedr.com ...hi, <br />I try to use your client with superfeedr.com and get some errors. May be could you help me in my issue?Artem Golovinskyhttps://www.blogger.com/profile/03845821818162046611noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-4912909828437442642010-05-12T21:48:03.226-07:002010-05-12T21:48:03.226-07:00Facebook actually uses both APC and Memcache, for ...Facebook actually uses both APC and Memcache, for different purposes. They use APC to store configuration values, and any sort of globally available data. Then they use memcache to store everything else. Their savings on keeping commonly used items local to each web server is huge.Unknownhttps://www.blogger.com/profile/00282519874770670532noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-64674446838780147152010-04-23T11:02:31.669-07:002010-04-23T11:02:31.669-07:00Just to give you a rule of thumb for memcaching:
m...Just to give you a rule of thumb for memcaching:<br />memcache is slower than caching on the filesystem! So for single servers it doesn't make any sense.<br />But as soon as you can share one memcached for more than one web server it might be worth thinking about.Unknownhttps://www.blogger.com/profile/15502497812663548039noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-48572692676774832572010-04-23T02:51:13.150-07:002010-04-23T02:51:13.150-07:00Helpful article that hopefully will help people re...Helpful article that hopefully will help people realise there different uses.<br /><br />We also use a mixture of both.<br /><br />Generally if it's something that needs to be shared by more than one server because you don't know where the user is going land, we put it in memcache, things like sessions and user configuration.<br /><br />If it's something that can be different or specific to each server then we store it in apc config details etc.James Dempsterhttps://www.blogger.com/profile/14737943717929240476noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-9342560857157196542010-04-21T06:46:38.569-07:002010-04-21T06:46:38.569-07:00Sure, as I said, it totally depends on what you ar...Sure, as I said, it totally depends on what you are caching and as you say, your set up of course. Still for small items I'll prefer APC. <br /><br />But my goal is to avoid the thinking of "let's put everything into Memcached" or "everything into APC".Alvarohttps://www.blogger.com/profile/05177930414107959806noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-57834737263065487462010-04-21T06:02:54.565-07:002010-04-21T06:02:54.565-07:00On Misconception #2:
What you are saying makes sen...On Misconception #2:<br />What you are saying makes sense if you have a small setup ie. 2-4 web servers. If you have more servers you are just wasting memory. In my experience it is better to use apc to store small variables that don't change more than once a day. I believe apc has a default cache size of 32mb, not sure if this is still true today so you don't want to store large objects in there.<br /><br />I wouldn't be too worried about "tcp roundtrip", get around it by using tricks like memcache multi-get so you make only one tcp request per page.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-42721179615278841522010-03-16T16:18:12.869-07:002010-03-16T16:18:12.869-07:00This behavior was a request for symfony 1.3, but i...This behavior was a request for symfony 1.3, but it was already implemented in 1.0JGhttps://www.blogger.com/profile/07051234318924360564noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-45301408557268403612010-02-21T09:54:17.238-08:002010-02-21T09:54:17.238-08:00Hey, it's been so long!, Nice to hear from you...Hey, it's been so long!, Nice to hear from you. Yep, sometimes the world is really small :)Alvarohttps://www.blogger.com/profile/05177930414107959806noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-40624792372032709082010-02-21T07:33:10.817-08:002010-02-21T07:33:10.817-08:00the world, or more precisely, the virtual world on...the world, or more precisely, the virtual world on the internet is so small that I followed a chain of a few links, and surprisingly came across your blog.<br />FYI, I got the link to your blog from http://blog.krzycube.net/erl-meet-shanghai-feb04-2010/.<br /><br />all the best,<br />Zaiming @ SingaporeZaiminghttps://www.blogger.com/profile/14996437438036286253noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-50949436564650166522010-02-17T15:20:17.208-08:002010-02-17T15:20:17.208-08:00Hi, I will love to, but Francesco came to Shanghai...Hi, I will love to, but Francesco came to Shanghai for his own business and then the ECUG organized a meeting where I got invited that very same dayAlvarohttps://www.blogger.com/profile/05177930414107959806noreply@blogger.comtag:blogger.com,1999:blog-6669934595599937894.post-42514814036583666372010-02-17T02:42:00.820-08:002010-02-17T02:42:00.820-08:00Alvaro, feel free to invite some of us from rabbit...Alvaro, feel free to invite some of us from rabbitmq to visit you some time too ;-)<br /><br />alexisalexishttps://www.blogger.com/profile/12281522589184676541noreply@blogger.com