« first day (1909 days earlier)      last day (3046 days later) » 

 
3:25 PM
@Machavity I lolled or soem of those :P
 
Yes, especially the one about Richard. :P
 
@Sean seems leon is doing fairly well for himself :)
@LukeNukem stop(); //hammertime made me cringe aswell
 
its a relief to know, im not the only one who writes comments like those eheheeh
somewhere in there is a comment that goes //double penetration
 
@Naruto He is! He's a bit ill at the moment but we're giving him tablets to help. Definitely getting darker on his back, it's so strange!
 
@Naruto about that question i asked earlier. Instead of type hinting a method, i do it on the class construct and the construct then sets the reference to a private member of that class so it can be accessed in all later methods. What is your say on this?
Probably is a fake, but its a funny read.

https://github.com/NARKOZ/hacker-scripts
 
3:52 PM
@Sean saw the pictures on twatter ;)
@LukeNukem a file named: smack_my_bitch_up.R xD were you drunk when making this,? or is it not yours?
 
i see this is what you meant earlier :P mikeangstadt.name/projects/getter-setter-gen
@Naruto @ No its not mine haha
 
there are some IDE that generate getters and setters for you, I work in netbeans and there you can do it, PHPStorm can do it 2 :)
 
Yeah this is cool saves time.
 
........I forgot to commit, before doing a merge......and screwed up the merge.....
 
ah, those moments when both a beer and a coffee are appropriate
 
4:04 PM
@ScottArciszewski who is that?
 
@Naruto Have you not seen the controversy regarding that file? lol
 
@Sean even programmers are afraid of the feminazi.
 
hi can one please answer this question stackoverflow.com/questions/34659126/…
 
This isn't a code writing service.
 
It isn't?
Might need to change that code of conduct then!
trolololol
 
4:17 PM
> I have a login form that works like if user email password and 2 pic is correct then echo logged in but problem is my email is match password is match but how can i match images with single [select html tag]. here is my html form....
what? I don't get that. punctuation might help.
 
ah so freenodish of you.
He probably isn't a native English speaker.
 
@LukeNukem Or they could just have a history of writing shit questions.
 
sigh, that is all
 
proceeds to remove a lot of my questions
my my, this question is horrible...its worse than what i ask
@StackOverflow Are you trying to replicate the new reCaptcha human verification system
 
@LukeNukem Oh my god I need so much popcorn
 
4:24 PM
@ScottArciszewski also, I'm not sure whether having functions like memzero() is a great idea in php-src. After all, if you don't really, really know what you do, you risk having somewhere a copy and all is flawed.
especially if you have somehow a separated string you alter also other vars, and in some cases it might be duplicated depending on what you do…
 
no luke just trying to create a register and login form. in register form user will also upload any image and when he need to login in he will also select his uploaded image if he select right image then he will move to home page
 
var_dump(+-0.0); // float(-0)

@Andrea can't we just disallow that? :o(
 
ugh
someone remind me why we allow unsetting declared properties
this is all crap
 
4:40 PM
Your query is flawed for what you need. I'd suggest a different approach.
Pull whatever image is in the db, match the input of the user against that image. That's pretty much it.
 
@NikiC We should deprecate and remove that.
 
Man shot inside Paris police station. Just announced that terror threat is at highest level. Germany is a total mess-big crime. GET SMART!
so paris is in germany now?
 
@NikiC I complained about the same problem a few weeks ago… What's the actual problem?
 
@Gordon Paris, Texas - county of Germany
 
@Gordon I'm not sure if he meant that Paris is in Germany or that these are two unrelated issues (Paris & Cologne (& other locations))
I somehow can't believe he'd do that a blunder :-D
 
4:49 PM
Word on the vine is that apple are going to drop 5.5mm jacks from their devices
 
He gets some things wrong, but these obvious things… dunno^^
 
@Sean I don't give a jack ;)
@bwoebi might be.
 
wasn't it 3.5 mm? :O
 
I don't get what maxwell smart has to do with any of it though.
 
@Gordon wtf
 
4:52 PM
@bwoebi Trying to optimize OBJ_R to use a fixed property offset if possible. Now have to handle the undefined property case as a fallback ...
 
@LukeNukem yeah, 3.5* :P
 
@NikiC But seriously, we should propose to deprecate that behavior.
 
@NikiC you mean like extended_value?
 
@bwoebi Yes, as a separate instruction
 
@Sean i see you took the time to answer that question. Don't you think he'd a need a completely new approach to it?
 
4:57 PM
@NikiC … or you could just use the IS_UNUSED on second op?
 
i can only think of ajax.
 
anyway, just a detail…
 
@LukeNukem Context aside, the answer rests. As for everything else, his code should definitely be reapproached
especially concerning security
 
Even with the security concerns set aside, his current query is awful.
Unless he's somehow generating the required images somewhere before in the section of code he displayed as an example

Also proper logical error throwing will not be possible. If the images dont match it'd simply return 0 rows.
 
@bwoebi That's the trouble with the unset props: We have to retain the property name for that...
 
5:01 PM
@NikiC Well, then we really just should disable removing predefined properties…
just unset() to null…
 
@bwoebi Agreed.
 
posted on January 07, 2016 by nlecointre

/* by Brutalibre */

 
@Levi How do you feel about class ReflectionEnum extends ReflectionClass { public function __construct(string | enum); public function getName(enum): string; } ?
 
No, not extension.
 
@LeviMorrison Why not? An enum class is just a specialized class?
 
5:08 PM
Because it isn't.
 
did I miss something? do we have enums now?
I mean … except the spl ones
 
It isn't specialization when over 50% of the class operations do not apply to it.
 
@Gordon just talking about the RFC
 
@Gordon I'm working on an RFC and Bob is working on the implementation.
 
oh. so I did miss something. checking.
 
5:09 PM
@LeviMorrison we don't know… yet. Also, forward compatibility.
 
@bwoebi Maybe it is best if it doesn't have reflection then.
Until we decide if they really are classes.
and can do class like things.
And are objects.
Part of me thinks that we might go the Swift route and have multiple kinds of enums.
How we will handle that in Reflection?
 
we still should have a function for getting the origin … and if it's only for debug purposes.
we may put it also in standard and call it enum_info() or so…
Can we please mark dead (aka removed) functions in docs with a ?
@Levi I think this is a good compromise and still providing everything you need.
 
Maybe.
I'll try to find time this weekend to think about it more.
I kind of don't want to propose it yet anyway because of the current flood of emails on PHP Internals.
 
bah, the only flood is CoC… we still have plenty of space for normal discussions.
 
people are jumping for a chance to talk about anything else
 
5:20 PM
I don't even read that thread…
it's a nice honeypot, I'd eventually read a resumé, but not these 171 replies.
 
 
1 hour later…
6:48 PM
the code of conduct thread worries me a bit
 
the thread or the implications in terms of view of the world of some of the responders?
 
anyone want to judge my work/design?
/feedback
 
@FélixGagnon-Grenier I would guess both.
 
7:04 PM
@NikiC I'm wishing we had a different representation for C/DFG&inference … that's going to cause much change, a tiny change in ops…
 
@bwoebi Why?
Seems pretty non-intrusive to me
 
the individual things arent, but the whole Optimizer is big
 
oh yes
 
7:20 PM
Like something of an additional more abstract representation easy to manipulate before giving compact VM opcodes
E.g. we're currently determining live ranges as part of compilation, which IMHO makes the compilation step less obvious. … I'd be happy with 3k LoC less in AST transformation step… (= zend_compile.c)
 
7:37 PM
Developing more for the opensource!
https://docs.google.com/document/d/1IwufKV4A6Jo8tv0CayWbVUTLoxzRYk75n1ZlalF6WvA/edit#
 
7:56 PM
any good site to start with PHP5 to php7 code conversation tips?
 
hey php7, it's php5, how you've been doing?
 
@HardyMathew run your unit tests on 7 and see what breaks?
 
I want to convert my code its in php5... and my manager told me to start with some php7
 
What you see in a FOSS subreddit probably isn't indicative of the actual community. (I was bored and curious.) https://t.co/PTtkrUvXKX
oh, he already saw
@HardyMathew the upgrading guide that Paul linked is good for that
it not only tells you what changed, but also about most of the new stuff
 
8:10 PM
Good job I've been practicing my surprised face.
2
 
@HardyMathew most PHP 5 code works fine on PHP 7 without changes, though, so there are no necessary changes
 
s/fine/*better*
 
@PaulCrovella usually.
 
@Andrea Hmm, I post in TiA, I bet it considers that a GG sub.
 
@Charles it would
 
8:16 PM
Unsurprising. There's just nowhere else to make fun of otherkin. Sigh.
 
it's another offshoot of the same general movement
 
:-/
@Andrea it's long because I haven't had the time to make it short
 
@ircmaxell fair
 
not ot mention I'm waiting for Larry to hook me up with the Drupal team to discuss there prior to putting that much effort into it
Part of me wants to open a separate thread asking people to stop DOSing that thread.
but I won't
 
oh great, my plan to make 123 + "456foo"-style expressions produce a notice or warning has a problem
constants
I might need to silence that error in that case
This means modifying the signature of add_function :/
That or making constant expression evaluation silence warnings and notices
Hmm...
Oh.
Constant expressions do produce notices. Okay ^^
$ sapi/cli/php -d error_reporting=E_ALL -r 'const FOO = []; const BAR = FOO["boo"]; var_dump(BAR);'

Notice: Undefined index: boo in Command line code on line 1
NULL
@ircmaxell adopting an existing policy rather than writing our own sounds wise to me
 
8:30 PM
@Andrea and likely will be what I end up proposing
 
@ircmaxell :)
 
however, I have seen few people linking to existing ones that would be sane for us to adopt
 
I liked the Debian one.
I can't imagine the reactionaries would have any problems with it.
 
Aaaand… the next RFC!
 
@bwoebi I like how he didn't take on any of the feedback....
 
8:35 PM
Sometimes you just disagree with the feedback you received.
 
Oh god.....I must not respond with:
 
But well, in this case :x
 
> Yes, I'm sure you know a lot more about restraining orders...
STAHP ME.
 
That would be hilarious but unproductive.
 
Yes, and the rest of the conversation is so productive.
 
8:37 PM
@Andrea yeah, why shouldn't they? ;-)
 
Yeah, but the emphasis should be on minimizing the stupidity, not capitalizing on it, no matter how entertaining it would be.
 
@bwoebi I think I keep being thrown off because my php.ini doesn't show notices (blame Apple/Homebrew/whatever)
 
@Andrea /me blames Apple. You maybe should just use -n when testing behavior on cli…
 
@bwoebi -n would hide notices
 
but… with your custom build, why don't you just specify your won ini?
 
8:40 PM
it's not custom
 
@Andrea oh. I thought they were enabled by default
 
I have PHP installed from Homeb- ohhh
I have no ini set up for sapi/cli/php :)
 
hehe
 
I'll symlink my system default
$ sapi/cli/php -r 'const FOO = []; const BAR = FOO["boo"]; var_dump(BAR);'
NULL
$ php -r 'const FOO = []; const BAR = FOO["boo"]; var_dump(BAR);'
PHP Notice:  Undefined index: boo in Command line code on line 1

Notice: Undefined index: boo in Command line code on line 1
NULL
aha
symlinked and it's fixed :)
 
:-)
 
8:42 PM
Hii
I have problem in running youtube api samples
is there any one that can help me
 
I somehow expected default error_reporting to be ~E_DEPRECATED and not ~E_NOTICE …
 
alas, the defaults suck
 
I have the urge to sneak something in…
 
we have three different sets of defaults: the provided php.ini-development and php.ini-production files, and the defaults in the source
 
(stop me!)
 
8:46 PM
we should align the source with one of the files
@bwoebi oh?
 
I mean altered defaults ^^
 
hello
 
@bwoebi RFC it
 
We had 7 RFCs in 7 days… that's enough!
 
@AzeemHaider ask your question, don't ask to ask
 
8:48 PM
^^
 
@bwoebi soon I'll submit another
 
which one?
 
the patch I'm working on to make arithmetic operators produce numeric string notices (and warnings)
 
Google_service class not found in google-api-php-client
for more detail see this
 
@AzeemHaider did you include the necessary files? is there an autoloader you've forgotten to include?
 
8:51 PM
I am using youtube api samples and all files are already include and working well
 
Hmm
 
I do not include any autoload.php
 
Could you link me the library?
 
@AzeemHaider Ah, it uses composer. Did you install it with composer?
 
8:54 PM
My stance on friend classes: encouraging bad design. friend classes is nothing else than shared state. If you need that, have an explicit shared (value) object where it is immediately obvious what's shared and what not. No implicit hidden state exchange.
 
If you don't install it with composer, you need to include autoload.php.
 
I download it and uncompros it using winRAR
 
Ok, you need to include autoload.php then
Though you should probably learn to use Composer, it's quite useful and will save you work in the long run
 
Where I include autoload.php if your mean to add it in sample file I already do it here is an error
 
What is the error?
 
8:58 PM
Fatal error: Uncaught exception 'Exception' with message 'This library must be installed via composer or by downloading the full package. See the instructions at github.com/google/google-api-php-client#installation.'; in D:\wamp\www\api\php\Google\autoload.php on line ...
 
Okay. Why didn't you download the full release package, as it tells you to do in the error message, and on the GitHub page itself?
 
can you send download link
 
@AzeemHaider The instructions are on the page you linked me to.
Read them.
 
:-)
 
9:13 PM
2 days ago, by ircmaxell
please do not discuss Randi in this room
 
@tereško this isn't a discussion of Randi
 
@ircmaxell is it already planned by Larry?
@ircmaxell at least 3 of my coworkers are admins on drupal.org, so I can help I guess
 
@andrea I download library from github.com/google/google-api-php-client/releases as they said and uncompressed it but same issue. Where am I doing mistake
please guid me
 
@AzeemHaider did you read the instructions where it tells you to include the autoloader?
 
@FlorianMargaine he's working on it
 
9:23 PM
ok
 
yes I include the autoload.php but same error as previous show ''This library must be installed via composer or by downloading the full package.'
 
@AzeemHaider then you didn't download the full package
 
I download this one google-api-php-client-2.0.0-RC4.zip
 
@AzeemHaider that's a pre-release, you don't want that
scroll down and get the one marked with "Latest release"
I can understand how you would make that mistake, though
 
Can anyone see anything in this code that could possibly result in:
Imagick::calculatecrop('650', '138', '200', '100', false) giving the error "All values must be above zero."
or does anyone know if there's a check on whether a 32bit extension dll is used inside 64bit versions of PHP.
 
9:31 PM
@Danack well, that'd explain it…
 
Why would anyone require non-PPA packages for parts of their core infrastructure, can somebody explain that?
 
@NikiC stability
if by "non-PPA" you mean "main upstream only"
 
Yes.
 
yup
PPA are wild
it's user-provided repositories
 
What do you mean by stability?
 
9:33 PM
main upstream is tested by the maintainers that everything works together and there's no dependency issue, for example
you don't know about PPAs
 
I'm not talking about picking a random PPA, I'm talking about the big ones that everyone who uses one uses
 
@bwoebi I am making an assumption.....but this is going to be another case of:
Dec 15 '15 at 11:25, by Danack
19 hours ago, by Danack
In totally unrelated news I need to get a T-shirt that says "STOP COPYING FILES AROUND AT RANDOM, FUCKTARDS"
 
I would expect Ondrej's PHP packages to be higher quality than Canonicals.
 
still, you have the guarantee when using upstream that all the packages work together
that's the entire point of a distribution
 
No, no, that does not make sense to me. Not for core infrastructure. Not if your server's entire job is to run PHP.
 
9:35 PM
@andrea thanks
I make mistake maybe I need some rest its 2:35 AM
Anyway now its working take care
 
If there is a general inclination to run a newer version, but the "no PPA" policy is holding you back.
 
@AzeemHaider glad I could help :)
 
and then, there are the global policies...
if you just say "no PPA", it makes your job (as a sysadmin) much easier.
 
@NikiC yes, but Canonical's are backed by more than one person, and guaranteed to coöperate with your other packages
 
I want to work on something, but nothing too big right now… Everything I can think of I could do are big projects :x
 
9:38 PM
@andrea next time I read about composer :P
bye
 
@FlorianMargaine Is this kind of policy typical for small corporations or large ones?
I could maybe understand it if you have only one server.
 
@NikiC usually large ones. For small ones you can talk to the sysadmin and offer him a beer in exchange for a ppa.
 
Huh
 
@NikiC what people yearn for is probably an official PHP ppa :p
 
@Andrea Remi's rpm is a close-to-official one, I guess
(for centos)
(since he works for red hat et al)
 
9:42 PM
@Andrea I wouldn't touch an "official PHP ppa" with a ten foot pole. It's integration would suck.
 
@NikiC hehe
@FlorianMargaine yeah, because he also maintains the official PHP versions
 
@FlorianMargaine I would expect that the more servers you have, the less problematic having something slightly non-standard would become
 
@NikiC the answer is, of course, to make our own Linux distro: ELinuxPHPant
 
@NikiC that's actually quite the opposite. The more you have, the more a single deviation is hard work
 
@bwoebi er......for parsing parameters that are long....I guess extensions should be using zend_long maybe?
 
9:44 PM
I just hope system administration doesn't work by having someone ssh into every single of your five thousand servers every time you need to update a package...
Because that's what this sounds like to me.
 
@Danack … you're required to … I was sure that these were zend_long's when looking at it previously … can't trust my eyes anymore…
 
@NikiC no, that's why special little snowflakes are harder to maintain
 
The CoC thread is at > 200 mails
I'm glad I didn't bother reading any of it
 
@NikiC yeah… who's still reading it?
 
@bwoebi Nobody, that's likely the problem :P
 
9:50 PM
@bwoebi me :(
which means the future of the RFC is mostly controlled by its opponents
uh...
 
@bwoebi There is no way to know if a class inherits pre-binding, right?
 
@NikiC in compiler? currently not, no.
That already annoyed me…
 
The whole binding thing is ugly
So I guess ... you simply have to scan the pseudo-main to find the declaration opcode and see if it's inheriting. ugh
 
taking care of things which only can be resolved at a later stage is always ugly
declaration opcode is only emitted after class compilation
@NikiC also, don't forget that decls also can be in functions etc. … At least PHP allows that, especially with anon classes
 
...
 
9:55 PM
@Andrea who?
… I hate these times where you really don't know what to do … :-(
 
@bwoebi the one who must not be named, and who has a gun
 
@Andrea … a gun!?
 
murica
 
no they're not going to shoot anyone in the PHP project, but from what I understand, they do possess firearms under the 2nd Amendment
I mentioned that as it's a hint as to who I'm referring to
 
many US people do, they'll just not tell you in the face …
 
10:02 PM
quite possibly
OK, I need your help, room 11. What should I title my RFC to make 1 + "1a" produce a notice and 1 + "a" produce a warning?
(More specifically, arithmetic operators with non-numeric strings produce a warning, with non-well-formed produce a notice)
 
FIXITFIXITFIXITFIXIT
that sounds like a pretty good name
 
nice
 
RFC: 123apples
 
RFC: Non-numeric string warnings with number operators
 
I like 123apples
it's catchy and easy to remember
 
10:05 PM
succinct and to the point
 
heh
 
@Andrea RFC: Warn about invalid string arithmetics
 
@bwoebi without the "s" that sounds good
maybe "Warn about invalid strings in arithmetic"
 
@Andrea what's the issue with the s?
 
@bwoebi I don't think you pluralise "arithmetic"
 
10:07 PM
@Andrea Isn't that just like "maths"?
 
@bwoebi nope
 
okay, then…
 
incidentally mathematics is only like that because of how they translated it from Greek
Anyway I think that was a good way to word it. I think I'll go with "Warn about invalid strings in arithmetic"
 
these words all end in "tic", pff…
 
@Andrea Or just "Invalid strings in arithmetic"?
 
10:10 PM
@kelunik "Warn about" makes it clearer what it sets out to do about them, though
 
Yeah, but you intend to throw notices as well :P
 
@Andrea Non-numeric arithmetic string coercion
... or ...
Arithmetic coercions for non-numeric strings
... or ...
Non-sensical arithmetic coercion warnings
... or ...
Arithmetic coercion warnings on non-numeric strings
 
@tpunt you really like the word 'coercion', huh? :)
 
the strings aren't invalid, just wacky in the context
 
@Andrea Yup, it aptly describes the context of when you're wanting the warnings to be raised
 
10:12 PM
can we use "wacky"?
 
@PaulCrovella RFC: Petition to Rasmus Lerdorf: Keep PHP Wacky
photoshops Keep Portland Weird badges...
 
10:25 PM
Photoshop the PHP logo over the Unipiper's bagpipe..
And then replace one of the pipes with the PHP hammer.
Or all of them.
 
@bwoebi I agree that that should be a separate pass...
 
aaaaah, finally a use-case that is incredibly worth it:
"We have a 97% performance improvement" https://github.com/doctrine/migrations/pull/407#issuecomment-169824231 #doctrine2 #php @Stof70 @_mikeSimonson @blackfireio. ProxyManager does magic
hard work pays off \o/
 
@Ocramius rm -f ?
 
I said 97%, not 100% :P
 

« first day (1909 days earlier)      last day (3046 days later) »