« first day (1521 days earlier)      last day (3653 days later) » 

20:10
is there some stupid hat for talking in the chat ?
@tereško yup
something with stars IIRC
Looking forward to this movie.
couldn't stackexhange come up with some other event, that is not so fucking disruptive ?
@tereško Like they would listen...
20:16
@webarto "This trailer revealed too much story..I hope the movie has a twist in it" -- comment on youtube
Oh .. right, sorry. I forgot that SE cares only for "new users", because that's what they have to report to the shareholders. And the regulars can just put up and shut up.
@HamZa He's right, it's better they just slowly zoomed in machine with sound of inception.davepedu.com ...
@webarto lol
please, stop staring random stuff
and wth. Go to room 1 and star random stuff
(sandbox)
20:19
@PeeHaa , could you be so nice and remove those stars ?
@webarto it's out already here, and I still haven't seen it
@ircmaxell Says 25 Dec, nice...
I need to go watch it before it leaves theaters
Google fu sucks, how much time would it take to decypher enigma message with today's desktops?
@tereško starred for irony
20:25
@webarto I guess <1s
unless you do it with php (joke intended :P)
Can somebody tell me where I can find how to use Schema's in CakePHP 3?
PHP is not that slow :-P
@Tijme123 schema of what ?
I know. It's getting faster and faster
ans why the fuck would you want to use such an outdated framework to begin with
20:27
@tereško I want to use book.cakephp.org/3.0/en/orm/schema-system.html But I can't find where to actually put those files they show examples of
@tereško Outdated? It's not even out of beta yet. lol.
@Tijme123 have you looked at the code ?
at one point I built an enigma machine in PHP...
@tereško I did. Bug it doesnt tell me where to put those files, and I can't find a folder in my project named Schema or something
Gawd, I hate Quora...
@webarto I've heard that Obama has a Quora account (I didn't verify this info though)
20:30
@Tijme123 yes, I consider code, which relies on global scope to be outdated and harmful
@ircmaxell Awesome, awesome, awesome. I vaguely remember messing with it with VB6 :-)
it's pretty easy to do
the hard part is getting the mappings to work correctly
Hi here
@Buisson welcome
"Some 100,000 or more WordPress sites infected by mysterious malware" Security researchers are calling the malware "WordPress"
20:33
Also, wanted to publicly thank (again) @JoeWatkins and @ircmaxell and @NikiC for creating awesome things. I look like I know something just by using your stuff :-)
And all of the others :-P
@Buisson @FélixGagnon-Grenier Stop starring shit
0
Q: Disraptive hats are diraptive

tereskoCould responsible person(s) remove this hat the list: http://winterbash2014.stackexchange.com/sumo-judge Or is this intentional and SE leadership want the regulars to stop using chat? This hat is causing a sh*tfest in various chat rooms.

See what you people have done @shog9??
Lol. You really serious? How can someone looking at posts y
in a public chat room upset you?
20:36
@PeeHaa remove my starred message
@PeeHaa wut ?
I can remove messages.
I have the power.
@Buisson Wut wat?
thanks
@Buisson @FélixGagnon-Grenier Stop starring shit
20:36
lol
Is this your first time in chat @Buisson>?
@Buisson Yes correct
@ircmaxell Interview question was... what are traits? ... and when I sort of summed your post, they were like "no?", and when I linked your post, they were like "welcome, bro" :-P
So yeah don't be that idiot @FélixGagnon-Grenier or I will kick again
Same goes for you @Buisson
Ok. Please allow me to state that differently. I did not stare the messages to upset you, as a matter of fact, I'm not even sure what this is. You mean hovering over them?
20:40
And I'm currently "signing requests" like you've explained me once... My knowledge is basically aggregator of good code from here...
OK; I knew some stuff before but... :-P
</emotions>
<work>
</work>
<kittens>
@salathe I doubt you need to end work for that :)
</kittens>
</life>
<nothing>
Is it even important to know what traits are? (I don't know what it is tbh and I know there's an answer by rdlowrey somewhere)
@webarto my answer would have been "most pointless feature in php since phpcredits()"
20:42
@HamZa just read it then…
@tereško lol
@bwoebi I've got a long to read list and that one has the least priority
It's a trick question folks. No one knows :-D
@HamZa I believe it's not a long read…
@tereško Haha, that's only because of the website :-D
@bwoebi I'll check it out
20:44
@webarto well, there was also php_logo_guid() but it got removed
Rasmus' legacy :-P
3
@tereško *shakes fists in the air, in @AndreaFaulds's direction*
Holy crap
-2
Q: Why do I get undefined in this recursive JavaScript function?

Noob_Number_1I'm testing a function called "isEven" which returns true or false whether a number is even or not. var isEven = function ( a ) { var r = false; if ( a === 0 || a === 1 ) { a === 0 ? r = true : r ; return r; }else a < 0 ? isEven(-1 * a) : isEven( a-2); } con...

@PeeHaa I don't isEven
5
hahahaha
20:46
:-D
hehehehe
@webarto seriously?
okay honestly you're losing it over a couple of stars?? That's completely unhelpful — Vogel612's Shadow 1 min ago
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test the basics to function iconv. [ext/iconv/tests/iconv_basic_001.phpt]
File type functions [ext/standard/tests/file/001.phpt]
Check cli_process_title support on Unix [sapi/cli/tests/cli_process_title_unix.phpt]
=====================================================================
^ Are these failing for everyone or is it a Mac OS X issue?
(This is latest master)
I don't build directly on OSX, I use a VM
20:53
Defuck was sh*tfest censored for :|
@ircmaxell Yeah, your post changed definitions in people's head... and today "we" (team of few) watched Joe's presentation 'bout pthreads and will probably try to implement it in financial system which spins 'round 1M per day. I was using your RandomLib for interview task, too, etc, etc.
@JonEricson It's really annoying and disruptive to direct people to spam the chatrooms to hint for hats. Exactly the reason why some of us don't like hats. It encourages bad behavior. — PeeHaa 22 secs ago
@PeeHaa oh wow. Starring as the action of putting stars, and not to actually stare at a comment. I don't really care about the hat, and would have removed the stars. Thanks for doing it and sorry about that.
7
in JavaScript , 19 secs ago, by JiFus
In php I can say: if ($var != 1 || 2) { ... without a problem
FOR FUCK SAKE
21:01
well, it's true
@FélixGagnon-Grenier It's ok. I give you the benefit of the doubt :-)
@PeeHaa Mine was honest to goodness trolling. I apologize for nothing.
I would have started shouting at @salathe, but he's not whoring for hats he's just @salathe :-)
sahatle
21:04
seatle?
@tereško ^
21:21
Please please don't do this in anything even remotely resembling a production system. — ircmaxell 12 secs ago
22:00
11 messages moved to bin
:(
Why? :(
no starting wars
I changed the message to direct people to their pinned message...
Oh well
@PeeHaa lmao where did you see that?
@LeviMorrison wurstcon schedule
22:03
Fantastic.
inorite
22:15
@salathe I'm sorry...
@LeviMorrison The latter two break fairly often...
@ircmaxell lol the article is so much bs
quick question: does password_verify use hash_equals?
@ircmaxell This is why we need enums
@FlorianMargaine No, but hash_equals is sort of a spin-off from password_verify
yeah guessed so
They use the same algorithm but the code isn't shared
22:25
just wondering if it was some more code duplication...
Maybe that should be deduplicated, idk. That might (?) harm security, I'd ask @ircmaxell about it before doing so.
well, this is the duplication
280    /* We're using this method instead of == in order to provide
281     * resistance towards timing attacks. This is a constant time
282     * equality check that will always check every byte of both
283     * values. */
284    for (i = 0; i < hash_len; i++) {
285        status |= (ret->val[i] ^ hash[i]);
286    }
and for hash_equals:
754    /* This is security sensitive code. Do not optimize this for speed. */
755    for (j = 0; j < Z_STRLEN_P(known_zval); j++) {
756        result |= known_str[j] ^ user_str[j];
757    }
shouldn't Z_STRLEN_P(known_zval) be cached though?
anyway, this could be easily refactored
@ircmaxell input? ^
@LeviMorrison Here's a thought: If return types pass, should we change the manual's style from boolean password_verify ( string $password , string $hash ) to password_verify ( string $password , string $hash ) : boolean ? (You'd even be the perfect person to do it, you're a web guy ^^)
that's the job for sed :P unless the xml already has the return type as a separate tag /cc @salathe
  <methodsynopsis>
   <type>boolean</type><methodname>password_verify</methodname>
   <methodparam><type>string</type><parameter>password</parameter></methodparam>
   <methodparam><type>string</type><parameter>hash</parameter></methodparam>
  </methodsynopsis>
22:35
cool
where is the code of the generator?
I thought that was presentational, but look closely and it's not. I'm sure we could just modify the generator's output
@FlorianMargaine doc.php.net/phd/docs … have fun!
yup. Which is why I'm asking where the code of this generator is
Also, we should probably get rid of the [ $arg [, $... ] ] convention and use the PHP 5.6 ...$arg convention...
@salathe svn url seems to be wrong...
can't find the folder in svn.php.net either :/
22:42
@AndreaFaulds I like current much more than the latter…
@bwoebi Oh sure, but the manual should at least try to be consistent with the actual language syntax
@AndreaFaulds not if it's at cost of readability…
@bwoebi People will get used to it very quickly
@FlorianMargaine it's in git now... git clone http://git.php.net/repository/phd.git
well, I don't.
22:43
also, ahah, WTF
ah, thanks
the manual doesn't have consistent type names
bool in one place boolean in another
o.O
@salathe I guess the homepage needs an update :P
@FlorianMargaine that's in web/doc.git :D
Yep, it also uses int in some places and integer in others...
Welp, that's made up my name on scalar type hint aliases. I'll support 'em.
@FlorianMargaine ?
looking at php doc generator
23:02
wassup guys
I have been wondering about something, and would like to know the forum opinion.
related: http://sol.gfxile.net/dontask.html
TLDR: just ask :P
Jul 27 at 21:28, by Danack
Hello, I have a problem, but I am too lazy to write the question out until some says that they will help me. http://sol.gfxile.net/dontask.html
Must have been an important question....
at first place - it was not a question
a person just stated they want to know opinion
23:17
I just said that it was related and that he should just fire post his question
@meda still there?
@HamZa he owe us a really good question after how much effort we spent for preparation
@zerkms haha
Well I'm done here. I hate it when someone draws your attention and then just goes mute like that
I guess I need to learn to not get irritated since it's the internet
@HamZa "I hate it when someone draws your attention and then just goes mute like that" --- how about skype chat when you wait 5 minutes of "Foo is typing" then it's a single word
@zerkms same
a have a guy in my contact list who has his enter "broken". His messages are generally at least half of height of my screen and it takes several minutes to type
I train my patience with him though
23:24
Im so so sorry guys
im not allowed for chat
@zerkms give him a tip: to write/prepare his message in an editor (like notepad)
so I minimized this window when boss comes :O
@meda haha
@AndreaFaulds It's noted in the Future Work section as a possibility.
Here is what I wanted to post here
It might sound a little ignorant, but really ask my self if PHP limits a programmers skills.
My first job I was .NET developer, within a year I learned so much concepts lambda, multi-threading, OOP concept... I am now a PHP developer, and it does not seem I learn much after 2 years. I just find myself doing the tasks, I know PHP has anonymous functions and other concepts but I realize that I dont use them. What do you think, did you ever feel this way with PHP? how should I go about being a better programmer while using PHP
(see full text)
23:25
FYI I did a barebones update to the RFC to trim it down to invariant.
@LeviMorrison So it is :)
@meda latest php versions have enough language constructions to be called "rich enough"
If a mismatch is detected during compile time (e.g. a class improperly overriding a return type) then E_COMPILE_ERROR will be issued.
@meda in general - it does not matter. What matters is how good your code
@zerkms yes but for example, do you use interface in your code
23:26
@LeviMorrison Are you sure this is a good idea? Parameter hints are merely E_NOTICE.
@meda if you want to be more often in stuck by "what does this symbol mean" switch to haskell
@meda sure
@AndreaFaulds This is incorrect.
And in fact.
We really need to talk about this disparity.
@LeviMorrison Hmm...
BECAUSE IT COMES UP BLOODY ALL THE TIME AND IT'S WRONG!
Do an abstract or inheritance mismatch, then do a class -> class mismatch.
WHY THE FREAK AREN'T THEY THE SAME?
WHO THOUGHT THIS WAS A GOOD IDEA?
$ php
<?php
class Foo {
	function foo (Foo $a) {}
}
class Bar extends Foo {
	function foo (Bar $a) {}
}
PHP Strict Standards:  Declaration of Bar::foo() should be compatible with Foo::foo(Foo $a) in - on line 7
23:28
Now do it with an interface or abstract method.
$ php
<?php
interface Foo {
        function foo (Foo $a);
}
class Bar implements Foo {
	function Foo (Bar $a) {}
}
PHP Fatal error:  Declaration of Bar::Foo() must be compatible with Foo::foo(Foo $a) in - on line 5
@tereško someone will lose 180 rep points!
What the hell, indeed.
clap clap
23:29
@AndreaFaulds remove body from interface
function foo (Foo $a);
I haven't proposed anything because 1) I'm very time constrained and 2) I'm very time constrained.
It's why I've been here less and haven't talked with @rdlowrey like at all in a month.
To be honest I don't we should fatal on it in PHP 7.
The number of people who are not aware it's even an issue is way too high.
Big BC break
Lester would moan, too :p
I'm talking Internals people. People who should know better.
E_STRICT -> E_DEPRECATED for this one, I think.
@zerkms for that worthless "answer"? I am kinda glad actually.
Makes me wonder why it's E_STRICT. Was there no notice before?
23:32
It's an old, old compatibility thing.
Which makes me suspect that we just never thought of verifying compatibility on inheritance
@tereško SO is for getting reputation and badges, not quality answers
Which would have made sense pre-type hints
you just want to make me sad, @zerkms
If you are interested there's that RFC and removing PHP 4 constructors that I'd like to land in 7.
I can add nullable types in a minor release.
(I am pretty sure)
23:33
wait PHP7?
I'd like to get all these language things cleared up if possible as a top priority.
user924016
lol
@meda maybe you're not using awesome features because of version constraints (as in you're working with older versions)?
user924016
have a good one, time for sleep
@meda yes, we skipped php 6 and went to php 7
23:35
@HamZa maybe you are right I am just not aware of what is availabel
I used the manual online thats all, which other ressources should i be looking at
@meda you asked about interfaces... it does not look like you need a lot from the language
@zerkms No I just meant that I wish I push PHP to its limit
@meda language features are a small part of being a programmer.
@meda and meanwhile you're not using even interfaces ?
I agree that C# is a better language with more interesting abstractions though.
@meda php has generators now, and (limited) lambdas and all that zazz.
23:38
C# is inferior to K.
C# is inferior to tons of stuff
@LeviMorrison yeah, K is special
(nobody got it .. joy .. I should hang out with some upstanding people instead)
@BenjaminGruenbaum You have a valid point and this is what I realize, I want to learn concepts and not features, so that I can take skills to another language for example
TIL: didn't even know there is a language K
@HamZa there is D also ;)
23:40
@meda learn about good software design, learn tricks for being a more productive developer and so on.
@HamZa it's an APL Levi wasn't being serious...
@tereško (Special K (I was afk) okay?)
@LeviMorrison Nullable types, at least for parameters, should be trivial to implement... I might be able to help you with them if you need it.
I googled special K and found specialk.com lol
@AndreaFaulds I'd rather you helped with boring stuff like PHP 4 constructors and that E_STRICT -> E_DEPRECATED for inheritance.
@HamZa yeeee-no
23:42
haha
@LeviMorrison What more needs to be done for PHP 4 constructors?
@AndreaFaulds PHP 5.7 patch, language spec update, and pushing it through internals.
@LeviMorrison What, in ZPP Failure on Overflow? I made a macro for it. But there's no asm for it as yet.
@LeviMorrison OK, to update the language spec, remove three lines.
The tests don't seem to check for PHP 4 constructor support, so no need to touch them.
@AndreaFaulds Oh, and those tests I mentioned that trigger E_STRICTs in eval statements and such.
@LeviMorrison Ah.

« first day (1521 days earlier)      last day (3653 days later) »