« first day (1497 days earlier)      last day (3445 days later) » 

11:11 AM
Github down?
 
Hmm working now. Stopped for a bit for me. And dfeojm
 
11:32 AM
Ahhh what a fun 20 minutes that was figuring out that I had used __constructor instead of __construct
 
>So, no this is not at all similar to the "problem" of E_STRICT, because that problem is not real.
OHOHO, SMACKDOWN!
cheers on Rowan
 
^ downvote all the evals!
 
http://stackoverflow.com/questions/152101/mvc-tutorial-that-doesnt-r‌​ely-on-a-framework/12557379#12557379
 
@HamZa I posted a sane answer, upvote it? stackoverflow.com/a/27060579/736162
 
trololol
 
11:44 AM
lol who's up and down voting? :P
 
>.>
 
@AndreaFaulds Did you copy it from stackoverflow.com/a/15434232 ? :P
 
@DaveRandom's not here again :(, probably because of this thing.
 
@Fabor Can't remember if today is the day that he's getting bummed for a new job or not
(he's moving jobs)
 
@HamZa No... that answer didn't exist when I made mine... wait, that's a different question!
 
11:48 AM
Not for a month I thought.
 
@AndreaFaulds hehehe
 
@LeviMorrison Yasuo's initial email seemed to make sense, but in hindsight I'm glad I didn't reply to it.
 
Why on earth does everyone bum laravel? The guy who writes it is a completely arrogant shit, has a lot of poor practices in there (although every framework does), and somehow has gotten this cult following
 
Will check out, wondering if there's any MVC tutorial featuring very sympathic girl (?) — aesede Nov 6 at 17:16
hahahaha
 
11:58 AM
>Maxim Nikolay"This PHP-Laravel Tutorial you guys have, is for sure a 1st of its kind approach man! The Author for sure knows that its useless to learn PHP, MyQL, Laravel separatly. This book gives an experience, like one you get developing a real web solution for a customer! You folks rock :)"
 
"This book gives an experience, like one you get developing a real web solution for a customer! " It ends with people threatening a lawsuit?
 
@HamZa another Panique bullshit piece
 
@Danack heh. It's amazing that they try to peddle this wank.
 
stackoverflow.com/questions/27060945/… .. when I clicked on his source link, I almost fell of the chair
 
-1
Q: How to filter table with conditions in php with jquery

M Singhis there any way to filter table in php , i was trying to filter table with jquery in php function filtertable2(value,index,oper) { if (value != "") { if(oper=='=') { $("#mtab td:nth-child("+index+"):contains('" + value + "')").parent("tr").show(); } if(oper=='<') { $("#mta...

 
12:13 PM
@tereško that's how you OOP, one class, single instance, one method, does everything
 
one could use this as a text-book example of "what not to do"
 
$json .= ",'";
 
I remember working with some web store which all was in one .php file, the first line was something like // one file because including is hdd intensive
 
Dafuq.
@SergeyTelshevsky "compiled" PHP.
 
@SergeyTelshevsky well... it's more intensive than not including something, indeed
 
12:17 PM
@webarto hand-compiled, he had markers like ` // ORDERS/LIST` all over the file, it was a hell of a mess
 
It's wrong on so many levels, don't bother to explain :-)
"Performance" impact is micro and with cache, probably 0.
 
Yeah....but PHP didn't always have decent caches.
 
@tereško My predecessor left me alot of little gems like that..
 
12:26 PM
> param_get_slashed

sounds dangerous for health
 
@Danack Panique ... is this guy everywhere?
 
because he fancies himself an expert in all-things-php
 
Pffffft.
I wonder why these dudes that made the aformentioned files mostly quit Facebook...
 
12:42 PM
hooray getting license in MS SQL -.-
MTA....
 
Getting or got? :-P
 
getting.
 
Good luck.
 
We are just starting with it.
Thanks I probably need it xD
first lesson 200 pages book hooray
 
Hello Can anyone help me with this issue please stackoverflow.com/questions/27060336/joining-two-tables/…
 
12:46 PM
@webarto you did that license stuff?
 
Just the PHP one... in 2011... it's a plus but doesn't mean much by itself...
 
Ye we get to do this for college -.-
 
> Hi I guess You can try this https://www.youtube.com/watch?v=Eh2LE_1MFN8
>
> Just to get refresh.
 
Yep, yep :D
@HamZa CTRL + C misfire :-D
 
12:52 PM
Morning
 
xD
Good Morning @Leri, How are you?
 
making a SO-style tagbox is actually kinda hard
=/
and the existing "plugins" are completely worthless
 
@ZinaDweeikat If 3 answers are not enough, then there's something really bad going on
 
@HamZa probably copy-pasting doesn't work
 
12:59 PM
lulz
 
/me is kinda disillusioned
 
1:10 PM
morning
 
1:26 PM
how i get the errors on screen in laravel? it only shows a not found error
ah setting 'debug' = true in app.php fixed that :)
 
Lester's at it again :D
did u kno, E_STRICT === literally hitler
 
hehe
 
lol
 
@HamZa oh… not seen in a while ;-)
 
@bwoebi I'm here almost everyday!
 
1:36 PM
@HamZa but still, we miss each other? :-P
 
@bwoebi Oh I miss your knowledge :P
Well I do (shy_face)
 
hmmhmm?
 
How are you doing?
 
writing PHP code now… first bigger PHP project in a long time now…
(and this time I don't mean php-src,^^)
Implementing mysql library with magical amphp/amp powers :-)
 
nice
 
1:39 PM
you know… protocol parsing and creating a nice API :-)
 
For school?
 
No... As said a mysql driver which works with amphp/amp, to be later then used with Aerys server
 
Oh I just googled amphp/amp and I see where you're going at :P
 
Both @rdlowrey and @DaveRandom officially bum PostgreSQL, regularly.
 
@HamZa Yeah, it's where rdlowrey/Alert moved to.
 
1:42 PM
I'm building an android app ~sighs
 
@HamZa I believe you that this is no fun^^
 
@bwoebi Nope but I've also contributed to some C code to control a certain robot which was fun
 
@HamZa Well, it's not Java nor C++, means it's not terrible… :-D … and a robot… yea, can be fun :-)
 
@bwoebi any update on getting a conclusion/agreement for the remote debugging feature for phpdbg? it is almost time for the next 5.6 RC and you promised that this will be resolved until.
 
@Tyrael Agreement, no. Currently I have polished xml protocol docs (nearly finished) to make it easier to understand and implement by just looking at the docs (will push the weekend too). The conclusion though is that I won't implement DBGp. I also have fixed the webhelper thing, which I'll push this weekend after another test on Windows.
I somehow don't achieve it to agree with Derick on anything real… :-/
Though, I can guarantee that the protocol is stable because I had tested everything again when polishing the docs now and introducing examples.
 
2:19 PM
Gooooooood FRIDAY morning yall!
 
@PeeHaa Let it be Monday again, please.
 
You have issues bob :P
 
@PeeHaa GOOD FRIDAYYYY]
 
@PeeHaa Well, the weekend @rdlowrey usually isn't here. So, I want to skip the weekend to have @rdlowrey available full time :-D
 
\o/
 
2:21 PM
Anyone a gamer? Today, I'm going to buy Dragon Age Inquisition and try and hold off on FarCry 4 and MCC. FML.
 
@bwoebi fair enough :D
@Jimbo Nope. Ain't nobody got time fo dat :)
@DaveRandom you know how I can in contact with a SE / SO dev?
 
Shameless request for upvotes / opinions (Tbh, I'd rather have the former)
 
@bwoebi what does it mean from RM point of view? do you want to target 5.6.4 with the remote debugging?
 
@Tyrael ideally, yes. (I'll maybe have no time for the next 7-8 hours if I get any reply now, will reply later)
 
I think that is overly optimistic. I mean there is no chance that you can get consensus behind the implementation before tagging RC1 for 5.6.4 ( you have like 4 days for that)
 
2:31 PM
@Tyrael I said ideally. I didn't say that I will achieve that.
At least things are ready for having a discussion now.
 
yeah, but we have to make a decision on tuesday max
I still think that the best course of action would be reverting it out from PHP-5.6 branch until the consensus is reached
 
Good morning
 
Morning mr Ferrari
 
@Tyrael I'd like to get the other improvements in though. Just not the protocol. Anyway, I have to go now.
 
@ircmaxell Morning Bruce
 
2:36 PM
@bwo
ehh
@bwoebi yeah, and I don't want "unapproved" code in there and having to be really careful to not merge it into a release. it seems we can't can all what we want.
 
Happy Friday, chaps! :D
 
@tereško The video is not useful I didn't understand it at all.By the way my problem still not solved :(( — Zina Dweeikat 10 mins ago
... the mentioned video is ircmaxel's "prepared statements"
 
@tereško deleted because out of context
 
:-(\
 
2:47 PM
People don't want to -know- how to fix it. They just want it fixed.
 
.. isn't it just wonderful
 
Ping @Haney. You have a moment for a question?
 
It's not uncommon sadly. Had someone try to talk someone out of using regex for HTML parsing and this answer suggested using DOMDocument instead. No tolerance from the OP
 
@ircmaxell Well yes. That pretty much hits the spot. For more awesomeness.. see how people deal with basically every crap wordpress plugin .. Q:"I see a php error. How do I fix this?" A: "Turn off display errors"
 
3:00 PM
Anyone know of a license "for internal use only" ? :-)
 
@Jimbo All rights reserved if you actually use it I will hunt you down and kick you in the nuts license?
 
@Fabor I think I have my first subject for a blogpost \o/
 
:-)
 
3:11 PM
Sometimes just really sometimes it's good to argue with one
 
3:23 PM
@PeeHaa Better known as Creative Commons
 
@Machavity CC has nothing to do with code ;)
 
@PeeHaa sure, what up dawg?
 
o/
 
I'm in a meeting so I will be delayed in reply
 
@Haney No worries. Could you have a look at what I fucked up here? Or delegate it to somebody who can tell me what I did wrong? :-)
 
3:25 PM
Why do people keep endorsing me for on Linkedin? :(
 
@salathe why do people keep endorsing me for ? because reasons?
 
@salathe Bitches love jabbascipt? :P
 
Why do people keep endorsing me for breast enlargement on Linkedin?
Oh yeah, that's right... I started a linkedin war by endorsing a fellow dev for something to do with microsoft office...
 
is PhalconPHP considered the best framework atm?
 
@BenBeri yeah no
 
3:30 PM
what framework do you suggest?
 
None
 
@BenBeri Totally! Forget all other frameworks!
 
@BenBeri Learn the downsides of them, then make an educated choice
 
Why do something which is already done though?
 
Why reinvent a wheel when all other wheels are squares?
4
 
3:31 PM
I think PhallusPHP is absolutely the most awesome, high standing, erect framework out there!
 
Sometimes, re-inventing the wheel helps you understand how the wheel was made in the first place.
 
[[cv-pls]]
 
Will do.. The day is almost over!
 
how do cv-pls
 
[tag:resume-pls]
 
@AndreaFaulds {{{{cv-pls*}}}} url
:P
 
yay thx
 
#MDFAIL
:)
 
This rooms markdown is seriously annoying...
 
Doesn't fit :P
 
It fits well enough
 
Gah, I wish I could use __DIR__ in class constants
 
@Jimbo ... You can?!
 
@bwoebi Only in 5.6 :p
 
3:41 PM
Isn't that enough?
 
@AndreaFaulds What else can you do in 5.6 with class properties, like using __DIR__? What does that open up for us?
 
@Jimbo const FOO = BAR * 3;
@Jimbo const FOOBAR = [1, 2, 3];
 
So arithmetic and array short syntax
 
Yay :-)
 
3:55 PM
Wait... did nobody try clicking on the links in my star thingie above?
 
I did ;)
 
:D
shhhhh
 
user895378
@Danack Are you cool if I tag a new v0.3.5 in amp/dns to reflect your recent changes?
 
Hello @rdlowrey :)
 
user895378
Also: morning.
 
4:01 PM
@rdlowrey No.....I ought to fix it ;)
 
Morning flowery
 
Weekend!
Enjoy all.. I'm off!
 
later @DamienOvereem
 
The problem is that it is possible for apc to be loaded, and not actually usable:
 
user895378
Also: @Fabor I still haven't dealt with artax issue #67. Will work on it today.
 
4:02 PM
yesterday, by Danack
@JoeWatkins do you know if either extension_loaded('apc') && ini_get("apc.enabled") or extension_loaded('apc') && @apc_cache_info("user") is the better way of testing whether apc/apcu is available for caching data?
I'll add the && ini_get("apc.enabled") but even then there may be scenarios where the cache is enabled and set to zero size maybe?
 
@rdlowrey no worries. Just keep in mind to ping Fabor instead of Fabien :P
 
burn.
 
If you're lazy and your expression is entirely infix operators, you can do operator precedence with explode()! stackoverflow.com/a/27060579/736162
 
user895378
@JoeWatkins Wait. Is this legit? If so, awesomesauce.
 
Hey! My Safe Casting Functions RFC is going to a vote! You should vote for it! wiki.php.net/rfc/safe_cast#vote
 
user895378
4:05 PM
@Danack Okay, please tag whatever you feel is appropriate there whenever you feel it's appropriate to do so.
 
Gloves are off, going to ask the hard hitting question. When is it okay to start playing Christmas songs? <cough>
2
 
user895378
@Fabor I'm already doing this.
 
@rdlowrey Sure.
 
@Fabor December the first.
 
user895378
I am listening to the Michael Bublé Christmas album on loop for the next seven weeks and I don't care who knows it.
 
4:07 PM
@rdlowrey You absolute heathen.
Any shops who play xmas songs before December the first are boycotted.
 
@rdlowrey :D Don't listen to the scrooges :P
Sent you a gTalk.
 
@PeeHaa reviewing
 
\o/
hmmm @balpha responded @Haney
 
wtf
there are no Christmas Rebecca Black songs
 
You shouldn't go looking for that kind of stuff. -_-
 
4:17 PM
2
Q: Change css value with php

Ronny Kibethow can I change css of a div displaying some text on my home page from the admin are. I want when I enter a color code in my plugin admin page, the code is updated in the css file. This is a common thing, but can't get a grasp of it. so here is the css of my div. #div{ background: #0000; } ...

 
@Fabor haha
 
^^ How can I make web browsers use cache with this method ^^
 
lol WTF firefox. /me opens FF 30 -> checks for update -> update available 32 -> update installed and restarted -> check for updates again -> new update available
O_o
 
@Fabor BLASPHEMY! BLASPHEMY! BURN THE HERETIC! REBECCA BLACK IS NOT GOD... SHE IS FAR GREATER!
 
Anyone?
 
4:20 PM
@rdlowrey I need your SSL/TLS knowledge
IT'S URGENT!!!111elevenoneoneone
 
user895378
@PeeHaa fire away. If I can help I will.
 
@PeeHaa Damn you! I checked mine to see the version, and it updated. Now it wants to restart. #firstWorld
 
@anyone MINE'S URGENT TOO
 
@rdlowrey ok I have multiple issues. 1) I tried to disable sslv3 on my server (nginx) and I failed this week. I gave up on that, but now SO is telling me my certificate / ssl implemetation sucks
Could you verify / guess what is going wrong?
 
@PeeHaa it's because it sucks
 
fixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixitfixit‌​fixitfixitfixitfixitfixitfixitfixitfixit
 
user895378
I know exactly zero about how to configure these things on nginx.
 
Could you verify whether my implementation indeed sucks?
 
user895378
The best thing to do is to run your site through the qualys ssl labs test. Have you done that yet?
 
yeah done that
 
4:22 PM
@HelpingHand Send headers suggesting the browser cache the file.
 
weak sha1 (which I know and will be fixed on next renewel in a month) and sslv3 support
 
user895378
what's the domain name (if you don't mind sharing)
 
1 min ago, by PeeHaa
https://feedr.pieterhordijk.com
;-)
 
user895378
oh, okay :)
 
I could renew my certificate either way, because it needs to be renewed either way, but I am genuine concerned about my installation now :P
Did I say either way already? :P
 
4:24 PM
@PeeHaa great, another job well done by me ;)
later man
 
@Haney :-) thanks for hopping in chat
later
 
of course, have a good weekend
 
Have a nice one
 
@ChrisBaker Exactly... But I'm stumped on which header to send... etags...etc...
 
user895378
@PeeHaa (1) There's no reason to be seriously concerned right now unless you have high-value information that state actors or sophisticated attackers would want. However, if your cert used sha-1 for its signing algorithm you should go ahead and get a new one as soon as it's convenient.
 
4:26 PM
morning folks
 
user895378
You can generate your own certificate signing request if you want so you can be sure a strong algorithm was used (and so the CA doesn't know your private key).
 
@HelpingHand Try Cache-Control
 
what's going on @NikiC
 
@HelpingHand Try this entire article: developers.google.com/web/fundamentals/performance/…
@NikiC Good morning!
 
user895378
The whole SSLv3 thing annoys me. I wanted to disable it by default in the PHP 5.6 implementation but people complained it might break some connections.
 
user895378
4:28 PM
(which was the point -- it's unsafe)
 
user895378
And then a couple months later everyone realizes publicly, "oh crap, we gotta disable SSLv3"
 
user895378
But @PeeHaa yes, you should disable SSLv3 in your nginx conf however that's done.
 
@rdlowrey I have been trying the entire week :P
 
user895378
@PeeHaa Here's a link with easy-to-follow instructions for generating your certificate signing request (CSR) when you're ready to get a new cert.
 
@rdlowrey ty
 
user895378
4:31 PM
And it appears that all you need to do in your nginx conf is this:
 
user895378
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
 
user895378
^ See how SSLv3 isn't in there? Should be enough.
 
@tereško there?
 
@rdlowrey I did that already
:(
 
did you restart nginx?
:D
 
user895378
4:33 PM
@PeeHaa Since it's a subdomain I assume you probably also need to do it elsewhere
 
user895378
(but like I said, I don't know anything about nginx conf)
 
I include the config in all my hosts
 
user895378
And you gotta restart the server :)
 
Yeah ;)
I might as well spend the rest of the day fixing this situation. It annoys me that something this simple becomes so retarted for whatever reason
 
user895378
Believe me, I understand. Those sorts of issues were a big part of why I said, "F this, I'm writing my own server."
 
4:36 PM
your own server?
 
@PeeHaa Is your nginx config shared somewhere?
 
@Danack I can pastie it?
 
yeah...
 
user895378
@FlorianMargaine Yeah, which of course was a ridiculous idea. But I've been doing it for two years by now lol so I'm into it at this point.
 
Anyone know if the php built-in server keeps apc between requests? Or does it reset it like php cli?
 
4:38 PM
no reason it should reset...
 
user895378
@Danack I would expect it to retain, but I can think of a pretty easy way to test ;)
 
@rdlowrey Yeah.....well either it's not, I'm going insane, or the caching in DNS isn't working at all.
 
@NikiC Thanks for chiming in on the thread about removing PHP 4 constructors.
 
@ircmaxell kinda
 
user895378
@Danack FWIW I had encountered similar DNS failures under high load before as well ... even when using the memory cache ... so there may be something wonky going on somewhere.
 
4:40 PM
> You don't need "MVC".
100% agreed
 
user895378
@Danack But I do think it makes sense to implement some sort of configurable exponential backoff retry system as UDP packets can and do get lost from time to time.
 
@rdlowrey Yes definitely. And for the record APC may be working - but it looks like the thing I was using to debug something else is broken.
 
@ircmaxell actually cannot think of any framework which has "view pull"
 
@rdlowrey Can I safely use 4096 bits using sha512?
 
4:45 PM
@PeeHaa Probably not relevant - but if statements are bad. Splitting the server listening ports so that one is listening on 80 and just redirects and the other just listens on 443 is probably a good thing - serverfault.com/a/250488/149114
 
@tereško I don't know of any, but I assume they exist
 
@Danack Oh tnx. Will do
 
@ChrisBaker I added header('cache-control: max-age=86400;'); to my php file; however, the browser is still loading css every pageview... :(
 
done
 
@AndreaFaulds If Zeev's proposal for PHP 7's timeline goes in, there is no way I'll get nullable types into PHP 7.0
 
4:48 PM
@LeviMorrison :(
 
However, I don't think it introduces any backwards compat issues in user-land (just internals).
 
user895378
@PeeHaa yeah that's fine
 
I might be able to help you with implementing it.
 
You should really help out Dmitry with switching arg_info to use zend_string.
 
From what I can see, it should be mostly trivial
 
4:49 PM
Then we can unify parameter and return types.
It should then be a trivial implementation.
 
If I have time.
 
^^ look good?
 
user895378
I suspect Zend would be in a hurry to get "7" out the door to stem any HHVM hemorrhaging ...
 
@ChrisBaker I think it won't cache because the file does not end in .css... But I'm not sure...
 
I want it out the door too; few places will adopt it right away because it's a .0 release
If we get 7 out next year, that means 7.1 in the following year.
 
4:51 PM
@LeviMorrison I'm fine with that
 
@HelpingHand 1) check your headers and see what else is going out, 2) make sure the last-modified and expires headers are there. Also, what tells you that the request is still hitting the server... access logs?
 
@ircmaxell yes. But I am not sure how to communicate that on web "what user gets" is not actually the view, but only the response which was produced by the view
 
I'll add that to the body
 
and since this picture is for the classical implementation, it technically should also have arrow pointing from controller to the view
 
it should?
why?
 
4:56 PM
because controller can alter the view without changing the state of model
 
@tereško it can? what situation?
 
think "switching tabs on a desktop application"
 
I was always under the impression that's a level up
that the controller is specific to a view, and hence has no ability to change it other than underlying model
however, it can create a new child controller and view
so you'd have a parent for the overall window, then each tab would have its own controller and view
 
when you switch tabs, you pull different subset of data, while the model has not changed
 
@tereško the model representing the tab structure has changed (active tab)
 
4:58 PM
mornings
 
Doesn't that make the entire view layer itself a sort of model?
 
it's kinda a slippery subject, but the "selected tab" is UI stuff .. well, at least the way I understand it
 
@tereško which is application state, and hence in the domain of the model, no?
 

« first day (1497 days earlier)      last day (3445 days later) »