« first day (789 days earlier)      last day (4165 days later) » 

10:03 PM
@goodmood Sorry, was eating
 
ok , good apetate :) , can delete it pls dave?
 
@goodmood why are we deleting this?
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*?)$ index.php?query=$1 [QSA,L]
Is this rewritecond only supporting one following rule?
 
@Neal i said delete it u downvote me , its not just this
 
10:07 PM
@goodmood you are not in a good mood @goodmood
 
@Neal It is pretty valueless to others be fair
 
ok thx neal and dave , no problem
 
user895378
So, the new upvote/downvote icons on php.net are no longer displaying for me. Anyone else experiencing that?
 
I do
 
user895378
 
10:13 PM
Somebody screwed up badly with that whole thing, I really don't know how that has made it to production, it is clearly not finished. I did enjoy have the ability to vote things "updown" yesterday though.
 
@DaveRandom I prefer starunstarring messages
 
user895378
Yeah, the design was ugly, but the functionality is nice.
 
@rdlowrey You need to clear your browser's cache and refresh. The CSS files were pointed to the wrong location. The cache was reset today.
One of the mirrors had a caching issue.
 
user895378
@GoogleGuy Ah, thank you.
 
@rdlowrey No, problem. Getting things to work properly on 100+ servers isn't easy :)
 
10:17 PM
@Lusitanian You can upvote the next day again I think.
 
user895378
understandable
 
@rdlowrey Let me know if you still have trouble with it after clearing your browser cache though.
 
user895378
@GoogleGuy Nah, solved it straight away. Made me feel a bit dumb for not trying that before complaining.
 
IDK, seems like it's not that useful to me, because you are not required to log in, so presumably it's easy to screw with the results.
 
user895378
lol, time to write a bot to rig php.net manual votes to illustrate the problem.
 
10:19 PM
I'm already fully aware of that problem. Unfortunately though it's not a trivial matter to setup user log ins on php.net. That will be coming soon though.
 
user895378
bastard voting bot plans nevermind
 
You can certainly have it. But eventually I'm going to catch you and drop your votes.
 
user895378
Here's a suggestion:
 
Just like we catch bots that submit spam in the user notes today.
We've never required anyone to login to do anything on php.net before.
 
@GoogleGuy Personally I feel that the vote function should be removed until such a time as this is implemented. Because if you don't, I still won't trust anything with a very high/low score, because it could have been artificially inflated before logins were required. Unless you reset the vote values, which will annoy people. IMHO. YMMV.
 
user895378
10:23 PM
It may be a less than an ideal solution to display the exact numerical note id in the arrow links ... too much to discuss but here's a nice reference on textual identifiers
 
The notes system on php.net is a very old legacy system that was rolled out in the 90s.
 
user895378
i.e. <a href="/manual/vote-note.php?id=70063&amp;page=function.socket-recvfrom&amp;vote=down" title="Vote down!" class="usernotes-voted">down</a>
 
I didn't build it. I just inherited all of it's legacies.
 
user895378
three cheers for legacy code!
 
hip hip...
Hooray!
 
user895378
10:24 PM
Huzzah!
 
It's not a trivial matter to take 14 year old code and introduce new features into it without breaking its dependencies. Takes quite a bit of work and it has to be done gradually.
 
@GoogleGuy If it's that old, is it even running on PHP4 yet?
 
It's running on PHP 5.4 actually.
 
user895378
I have a feeling the update process was something like:
 
user895378
Step 1. Find and fix only the stuff that doesn't work in the next version
 
user895378
10:27 PM
Step 2. Repeat step 1
 
Step 3. Profit
 
user895378
Without actually refactoring
 
user895378
"Screw it, the next guy can refactor this mess"
 
user895378
The logical conclusion of which becomes:
 
user895378
 
10:29 PM
lol
 
@rdlowrey lol, I've seen that before somewhere
 
user895378
@ShaquinTrifonoff hehe yeah, I believe it's colloquially referred to as the "Not My Job" award.
 
@Kneel-Before-ZOD I'd rather not, these jeans have a hole in the knee and the floor is cold
 
This script will make every message appear to be by yourself: setInterval(function(){$('.user-container .signature').html($($('.user-container.mine .signature')[0]).clone().html()).parent().addClass('mine');},500);
 
@ShaquinTrifonoff .html($($( <head explodes>
 
It can be done better lol
setInterval(function(){$('.user-container .signature').html($('.user-container.mine .signature').html()).parent().addClass('mine');},500);
 
@ShaquinTrifonoff You're damn straight it can... Also you'll probably screw with the removal process as the posts scroll off screen, the user-\d+ class does something important IIRC
 
I'm not removing any classes...
 
11:03 PM
@ShaquinTrifonoff No but you're not updating them either. Hang on let me find the thing that I did that broke something badly because of it.
 
user1125394
I'd prefer a serverside hack where all jon skeet messages take my name
 
You can achieve the same effect by rep-whoring every second of every day
 
user1125394
no thx, it's the hack that matter:p
 
Chargoggagoggmanchauggagoggchaubunagungamaugg
^^ Google that
 
11:11 PM
Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu
Google that
 
touche...
> the place where Tamatea, the man with the big knees, who slid, climbed and swallowed mountains, known as 'landeater,' played his flute to his loved one.
 
11:37 PM
@igorw I have some fairly sizeable issues with this line, large enough for me to ping you to express my displeasure. Not looking for errors does not constitute error handling.
 
@ShaquinTrifonoff Hi
@ShaquinTrifonoff Any progress on the chatbox?
 
@DaveRandom I'm pretty sure $except has nothing to do with exceptions, if that's what you're implying.
 
@igorw It bloody does. Not PHP exceptions, socket exceptions. Say you get and message with an RST flag? It lands there. The send operation (waiting for an ACK) timed out? Oh, there it is, in the except array. ;-)
 
Hey guys
I have this problem, I need to find certain sequences of words like "Sunny (Clear)", or "Sunny", or "Sunny" and replace them with my own translation, but str_replace doesn't do it, any suggestions?/examples?
 
@SpecialK. Can't you just use placeholders instead of replacing words from one language to another?
 
11:46 PM
What's a placeholder?
 
user1125394
google
 
I did already, couldn't find anything relevant
 
@igorw I always pass all my sockets to $except, it's the only way to handle it IMHO. If ever a socket appears in that array, drop the connection and trigger an error event/throw an exception/whatever you wanna do. But ignoring them is not going to help anyone.
 
@DaveRandom if that's the case then it definitely needs to be fixed. and PHP's stream_select docs also need to be fixed because they don't explain shit.
 
@SpecialK. I mean like printf("The weather is %s", 'Sunny'); type of things.
 
11:50 PM
PHP docs on slightly more advanced topic usually don't explain shit ;)
 
yes, but I'm retrieving the "Sunny" string from an API
it's not up to me, I need to translate them
 
@igorw Now that I do not disagree with.
 
user1125394
@SpecialK. huh, you would translate 1 word in sentence, strange
 
@DaveRandom what is the out-of-band data that you can get from except? do you know?
 
11:53 PM
WTF, Google forgot about Chrome?
 
i've seen this thing and tried to implement this in my code stackoverflow.com/a/9685039/1328014 . . the problem is that when I pass an argument, it just dont work
 
@cyril So, if I have like this: Sunny (Clear), Sunny, Clear and do a str_replace(array("Sunny (Clear), "Sunny", "Clear"), (array("Insorit (Senin), "Senin", "Clear"), $string); it won't work, I need to translate the entire sentence if matches, but never mind I fixed it using preg replace
 
i did it like this $controller->$url[1]($url[2])
 
@igorw also I find it very slightly amusing that stream_socket_enable_crypto() is not mentioned once in 28 comments on this issue. I'd love to contribute but I'm way too busy at the moment, I will keep my eye on it though - I don't like some of the things you are doing but you definitely have potential :-)
 
@JoeySalacHipolito call_user_func_array
 
11:58 PM
@igorw Yes I do and the docs are LYING to you ;-) - at least, Windows will "throw" other exceptions as well. OOB data is a weird and largely unused concept. There's an answer with a good description somewhere on SO, let me find it
 

« first day (789 days earlier)      last day (4165 days later) »