It's fine (since it's just an RSS feed). My Google Reader gets 1000s of new stuff per day :) I don't read them all either. I just scan through when I am free
@toscho nah... I have templated comment that basically says "elaborate on this... you don't want anything bad happen to your answer, do you?"
> Lone link is considered a poor answer since it is meaningless by itself and target resource is not guaranteed to be alive in the future. Please try to include at least summary of information you are linking to.
Serious Q: If I got a .htaccess file that rewrites some subdir to a subdomain: example.com/sub/dir/ » subdir.example.com and I want to access the local domain as well as the server with the same domain: How would I get around this? When I leave the .htaccess locally without some change, the browser will always access the server...
Is there a built-in WordPress function for automatic first-letter capitalization for words in post title? (I know that there are plugins, and functions, but something hidden or less known?)
nope... some browsers show "broken" graphic when they get invalid image (which is actually 404 html), some don't show anything at all... this will show very visible in-your-face red image
If you don't want to change the status header you have to include the image in PHP. And then you have to set the Content-Type per script because WP will send text/html otherwise.
or better chill... when people start to meaaaasure results are usually facepalmish... forty thousands preg_replace is something to worry about... dozen uppercases is not
@toscho webgrind is messy... last I used it - it was slightly broken (again). I use xdebug parser in PhpStorm or XHProf (got working window build at last)
If you already have msysgit installed, then you don't need to install Perl, because you already have a version. You just need to download the standalone version of ack1 and then create a batch script somewhere in your path2 with the contents:
@"C:\Program Files\Git\bin\perl" C:\path\to\ack-stand...
> This post is very old. Please bear in mind that information here might be incorrect or obsolete, and links can be broken. If something seems wrong, please feel free to comment or contact me and I'll update the post.
most of my colleagues are on Mac... we use same IDE, same version control and most of the difference is that I write code that doesn't crash on different directory separators :)
in my opinion PHP is one of those languages that make it easy to express your thoughts. that is why it has crappy reputation and so much crazy code out there.
@geekpanth3r bit.ly/96Hefa I use this link a lot for manual SQL queries, which is what you can use to delete a revision manually, scroll down a bit it's in there :)
@geekpanth3r People will always bash what's most popular, most widespread and in-use, in this case PHP - its human nature, they're just pissed that their "codez" aren't king of the hill. For a web-based language, whats better? Its a subjective argument at best but PHP does the job and then some and for what it is... its a great language, though not without need for improvement of which it has been doing so of late.
@userabuser there is nothing especially great about PHP itself. it is convenient enough and has great adoption, but it is hardyl pinnacle of language design. the value of scripting languges is in ecosystem, not language itself
@Rarst That's exactly what makes PHP great, its convenience, its community and its ability to get the job done. Its definitely not the pinnacle and I should hope not because its absurd thinking that any scripting language is; naive even. If there were something better than PHP as a whole, we'd be using that primarily and it would be the dominant player in the market.
The definition of better consists of more than one variable in which attributes to the language and not strictly because one language performs better than another so therefore it IS entirely realistic.