PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Sep 13, 2013 10:46
How do you guys handle multi-lingual sites with translations? I'm a little worried/cautious that if I use the english phrase as the key, in my translationfiles then it will just break... if I change anything... I guess the only solution is to use phrases that are keys instead? Like WELCOME_MESSAGE instead of "Welcome to blabla" ??
Jan 20, 2013 19:41
memcached is just an example. (I have several daemons that I want to restart), since I know memcached has the ::flush() method.
Jan 20, 2013 19:40
If I wanted to restart memcached running on a remote server, (and do it programmatically), what solutions might you think up?
May 26, 2011 15:26
That is what I use.
May 26, 2011 14:56
And for what purpose are you using it.
May 26, 2011 14:56
How do you know apache is the problem.
May 26, 2011 14:55
Sid: Grab a database of all locations in the world. Something like GeoPlaces, They provide a .tsv file. Import the places file into your mysql table using mysqlimport. Then just search over that table, making sure that the place names is an index. Using an external service for what you need is going to be slower and you would presumably want to use the locations for some purpose anywya.
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Oct 30, 2012 18:40
Yup cheers. :)
Oct 30, 2012 18:39
I would want 2, though,.
Oct 30, 2012 18:39
Ah, yeah, Thanks.
Oct 30, 2012 18:39
rlemon That would be octal though.
Oct 30, 2012 18:38
Nah, that's not what I'm going for.
Oct 30, 2012 18:38
I'm just doing some bitwise operations, hence the ridiculous awkward/pointless question.
Oct 30, 2012 18:37
Is there a way to type binary numbers into a a JS shell (ie Chromes dev) and have it return the number? ie, 00000100 - I obviously just getting the octal representation