« first day (1664 days earlier)      last day (3283 days later) » 

3:02 PM
no
 
Totally different direction
 
@ircmaxell s/statics/globals/
 
eih
 
Just late static binding.
 
@ChrisBaker that's the italian flag
 
3:03 PM
@ircmaxell statics in a Closure are pretty useful sometimes…
 
@ircmaxell Also Mexico's :)
 
@ChrisBaker no, you're missing the part in the middle
 
It just isn't in the image
lol
Always a critic'
 
Hmm.
Adding this to the SKIPIF section didn't make the test skip:
if (__DIR__ === '/tmp') {
    die('skip not valid when already in /tmp');
}
 
@ircmaxell the italian flag has a lighter shade of green
 
3:07 PM
:(
 
yes, and square-ish proportions
 
yes
 
Maybe we just need to make PHP even more meta than it already is
 
2 messages moved to Orphan GIFs
poof
 
magic
 
3:13 PM
we have a bad-ass over here
 
Argh! We still have uint in places?
 
Guys I have a query related timthumb.php
I deleted all its cache files.
When I open an image from its absolute path, it opens correct image.
But when I open it from timthumb, it opens some different image.
Any ideas how is that possible?
 
5 mins ago, by Levi Morrison
magic
 
Thanks for the help sir (._.')
 
Well, without any other data it's as good a guess as any
 
3:27 PM
I get jelly seeing all this talk about PeeSev when I'm still waiting for 5.6 to get installed :/
 
 
Is that a dolphin?
 
It's a shark with friggin Paamayim Nekudotayim
6
 
It's a bottle opener.
 
:D
 
3:46 PM
 
Why make it nice when it can be rigid
 
@kelunik You made an easy mistake: the left curve on the grey D thingey shouldn't be the same as the right
 
@LeviMorrison I agree
 
Make the p that you cut it with larger by 14px and make sure it's centered on the old p, then mask it with the D thingey
 
Yeah, I just moved a white p to the right, wasn't indented to be a final version.
 
3:49 PM
Here 14px is based on 76pt font
 
I moved the second p -2.0 to the left, I don't know that unit GIMP uses there.
 
@Danack I just found this: stackoverflow.com/q/21240120/538216
People using u_char instead of uint8_t makes me sad :(
 
@LeviMorrison I don't believe that was the worst part of the library.
 
@LeviMorrison on most platforms, unsigned char * === uint8_t *
meaning you don't need to copy the array
unless I'm missing osmething
 
u_char is not the same as unsigned char according to some things I've read.
I'm trying to pin it down, exactly.
u_char is defined by winsock2.h
(on Windows and some BSD systems)
However that doesn't seem to be true
 
3:57 PM
well, as long as it's 8 bits wide...
 
anyone here used couchebase?
 
posted on May 07, 2015 by kbironneau

/* by lucki */

 
What is ZEND_SIGNALS, exactly?
@NikiC We have two fairly pervasive, minor issues with C99 compatibility
uint is not actually a type and in C99 mode compilers will now complain about it
Similarly with u_char.
 
4:08 PM
Aside from that it seems we need some _XOPEN_SOURCE definition >500 for S_IFDIR and SIG_UNBLOCK.
I haven't exactly pinned this part down yet.
I'll have a patch soon for uint and u_char hopefully
 
Anyone get phpstorm to recognize the classes returned by Auryn, without having to use an annotation above every variable?
 
with:
{
    "methodCalls": [
        {
            "class": "\\Auryn\\Provider",
            "method": "make",
            "position": 0
        }
    ],
    "functionCalls": [

    ]
}
Needs to be in a file called dynamicReturnTypeMeta.json somewhere in the project.
 
@Danack Ha, as I asked that, I also Googled "phpstorm Auryn", and I found your post about this on reddit :)
 
4:27 PM
These files use u_char:
$ egrep -Irl '\bu_char\b' .
./ext/snmp/snmp.c
./ext/standard/crypt_freesec.c
./ext/standard/dns.c
./ext/standard/dns_win32.c
./main/mergesort.c
./win32/glob.c
./win32/php_stdint.h
Not too bad.
 
@PeeHaa ping pong
 
 
Hello everyone. I want to ask something about media queries. I have media queries for some html pages in my website. After converting my pages into php using correct syntax though and calling the same css then media queries stopped working. Are media queries supposed not to work on php?
 
what's in te f***ing booooxxxxxxxx??????
 
@Mdermez media queries have nothing to do with PHP
 
4:33 PM
@Mdermez media queries and php don't have anything to do with one another.
Jinx, owe me a coke
 
ninja'd :D
 
So any ideas why they stopped working? For some reason php pages don't get the screen dimensions of the user’s browser , so they don't run the code that it is supposed to be for mobile devices..
 
events.google.com/io2015/# <-- go to the bottom, and then click "Back to the top"
 
I didn't have any problem when they were html.
 
@Mdermez Have you tried debugging with the dev tools?
 
4:36 PM
Yes..
 
"media queries supposed to not work on php"???
media queries run client side
php runs server side
 
so, what happened? Are you sure client recieves the intended code only?
As stated thrice by three different bots people, media queries have nothing to do with php. Your question is pretty ambiguous.
 
@AwalGarg yo
 
@PeeHaa sup? You linked me to a wiki page listing all the variables available to nginx config one day. I can't find it back :( halpplx?
 
4:39 PM
What? Didn't we remove this?
> No rule to make target /fslhome/levijm/compute/php/php-src/Zend/zend_indent.c', needed by Zend/zend_indent.lo'. Stop.
 
/fslhome/levijm/compute?
what's the reasoning behind this naming?
 
It's just my home directory at work.
"My other computer is a supercomputer."
 
@LeviMorrison ./buildconf
 
media queries are in the same file with the rest of the css. So when opening up the php all the styling is there. When simulating for a mobile device I still get the same css code without any media queries. So I don't understand what's happening here.. In the article/link that I posted above it says the exact opposite. That there are problems when using media queries with php pages. :/
 
@Mdermez your article sucks
 
4:41 PM
@Mdermez that article is... ermm, unholy.
 
It's not mine that's why I ask you what can I do. Like I said for some reason it's like there are no media queries in the css code ...
 
@PeeHaa It is the list of directives. Didn't you give me a list of variables like $uri, $document_root etc.?
 
@Mdermez On the client side, in the browser, there's no difference between a page that is generated with php script vs a flat html page. The browser receives HTML in all cases, and doesn't know or care how the HTML was created. CSS is used to instruct the browser how to visually render the HTML it is dealing with. So, CSS is simply unrelated to php.
 
@Mdermez The article says that it put a variable in the cookie which gets sent to the server....
 
4:45 PM
@ircmaxell Thanks for sharing this little tidbit. Brightened my day :D
 
@Mdermez You can use PHP to generate CSS, too, and the story is the same -- the browser doesn't know or care where the CSS came from, just that it is CSS.
 
:-)
 
@PeeHaa nvm, I got it from there. nginx.org/en/docs/varindex.html Thanks!
 
Guys I understand what you say.. but at this moment I had media queries running perfectly when my pages were html and now that they are php for some reason they are not working. When I debug I only see the normal code and nothing of the media queries which is quite strange :/ .. any ideas why this is happening?
 
@Mdermez got it up somewhere?
 
4:48 PM
? what you mean?
 
Is your page live anywhere?
publicly visible?
 
yes but it has clients info and bank account data so I can't share these pages :/ ...
 
I was able to get PHP to compile with -std=c99 \o/
 
user895378
@LeviMorrison sweet
 
4:52 PM
I'm running tests now.
 
oh yeah? impressive
7 I am assuming?
 
@ircmaxell Master, yeah.
We aren't that far from it, really.
 
oh yeah?
 
uint, u_char and add -D_XOPEN_SOURCE
We're already using several C99 features anyway, such as inttypes.h and inline
If tests look good I'm going to use another compiler and try again to make sure other C99 compilers don't barf on something.
 
Hello guys, is there someone who is using Laravel 5?
 
4:56 PM
with -pedantic?
 
you might also want to test with -Wall, for the sake of package maintainers downstream ...
 
user895378
I could be wrong but I think the c89 requirement is more about things like router hardware where php runs ...
 
-Werror even ...
 
All three of these changes for C99 are required for C89 too, I believe.
 
@ircmaxell Just wondering - have you looked at, or are you aware of anyone who has looked at, adding support for scalar types to the parameter reflection functionality?
 
4:58 PM
@rdlowrey that's maybe for library features. But not about language features
 
dig around remi's repo build script (iirc they are available somewhere) to see what settings he builds with
 
@Danack I think @LeviMorrison was working on that
no?
 
ah - I misread the code. Thought it was return types only.
 
@Danack I think it was discussed here long ago and then forgotten
 
Guys, how are you removing /public from URL - Laravel5?
 
5:02 PM
@TadeášJílek you should either be asking how to change the folder structure or how to configure your webserver to avoid having public in the url
 
@ircmaxell I have sort-of support in a PR, yeah.
 
I heard, that changing the structure is not a good idea. I guess, that the trick is in pointing everything into /public folder, isnt it?
 
You don't need to name it public. It should just be the same directory as the web root, and everything else should be above the web root anyway.
 
I had a regression. Uh-oh.
 
@TadeášJílek what @Charles said, public should be the document root
 
5:05 PM
@MarcelBurkhard So... as Charles said, change your web server config so it uses /public as the web root.
Also, unrelated thing, but incredibly awesome: youtube.com/watch?v=1ISYT6EeUM0
 
ob_get_clean() returned a boolean (I'm going to guess a false)
 
Ok guys, i will try it, thanks for help.
 
I see so many inconsistent terms for "Router" and "Dispatcher".... ugh
In my parlance, a router would have the collection of routes, and match a request against one of them. A dispatcher takes the matched route, creates the controller, and calls the specified action.
Here, NikiC is calling the thing with the collection of routes "Dispatcher", and the "dispatch" function seems to be what I would call $router->match. Then it looks like the actual creation of the controller and calling of the method is happening in the parent context (front controller?)
 
user895378
fast route doesn't create anything. It simply takes regex patterns matched with "targets" of any kind then routes them.
 
Right, I'm more looking at the naming conventions
 
user895378
5:19 PM
Oh ... well that's mostly just semantics. Not worth quibbling over
 
I was interested in using FastRoute, but then I was looking at how it would fit into what I already have going on.... I have a "dispatcher" already, which does the stuff that follows his example. That made me question whether I was using the terminology incorrectly
Which led me to looking at 4 or 5 other libs, and I can't find a lot of consistency. I wouldn't quibble with niki -- I consider him a pretty authoritative source of information. If I see some inconsistency between him and me, I start with the assumption that I am the one who is wrong :p
 
user895378
Nah you're not doing anything wrong.
 
user895378
I would probably call what fastroute terms "dispatcher" a router as well but dispatcher isn't any less correct.
 
@ChrisBaker Which is exactly why it's a good idea to hang out with people you consider more knowledgeable than yourself. I've learned more about sane development by lurking here over the past few years than I have doing actual coding.
7
 
+1, that's why I leave the window open all day :) Half the time I barely understand what ircmaxell is talking about, but some of it soaks in, haha
 
5:25 PM
Hmm. I have one regression and it's pissing me off.
:(
 
hi all
 
Hi :)
 
We also use strtoll which doesn't exist until C99. We practically are using C99…
 
5:42 PM
c99 sounds like a type of bomb
 
no C11 ?
 
Mooornings
 
morning
 
We have a lot of // comments.
Curse all of you developers who use those in php-src! shakes fist
 
@Charles Yeah, it immensely influences your coding style and how you think depending on where you hang out…
@LeviMorrison Rather curse those who didn't include // style comments in C89 :-D
 
5:59 PM
@bwoebi You're still using tabs. ;-P
 
@kelunik yeah… I saw great C code using tabs :-)
 
I <3 tabs
 
^ everyone star this :-D
 
No! =p
I <3 Spaces
10
Do we have any in-house list of composer packages we would recommend each other?
 
Someone make me room owner… I need to unstar that message about loving spaces.
 
6:08 PM
@bwoebi I get the "what if someone fat-fingers it, meaning to do =>" argument, but... c'mon.... would it kill ya to NOT diverge the language further than it already is?
 
hi @RonniSkansing
 
Hi @MarcelBurkhard, whats up
 
@LeviMorrison I'm confused. I thought we'd already decided to go with C99 (coming in mid-conversation)
Or are you just presenting one of the arguments in favor of why the decision was made?
 
@Sara Referring to short closures? I just dislike Hack syntax choice and would not like to see it in PHP.
 
@Sara Nope :/
 
6:10 PM
@NikiC Oh, I thought that was a done-deal. Okay then. Are folks against it?
@bwoebi Not even in the interest of keeping the implementations closer together?
 
@Sara Here's the last C99 thread: markmail.org/message/qcsm2qkuej2lr6ix
 
@RonniSkansing quite busy at work, mostly frontend work due to staff shortage... argh ^^
 
Wow... last July???
 
@Sara Ideally hack would alias it to ~> :-)
 
@bwoebi We may have to, but expecting the other person to budge each time isn't exactly "cooperative" :(
But we don't need to argue about it. I just wanted to poke you as I noticed your draft.
And I don't like the idea of increasing the syntax variance if we can avoid it.
 
6:14 PM
@Sara So just skimmed that thread again. It seems to be a mix of overly conservative people who don't get how awesome mixed code + declarations are, and us not being sure how the support in msvc looks like
 
But I've got to head out atm...
 
nevermind that starred message got me
 
@Sara Pretty sure we'll use ==> if we keep the Hack semantics
 
@NikiC Nod. Have we asked like, Pierre or someone what the VC++ team thinks about it?
 
@Sara Yeah, that's what annoyed me most… That the syntax already exists in Hack… It was so nice when there was only one true PHP and no dialects…
 
6:15 PM
@bwoebi Truth. :)
 
@bwoebi I disagree. It's nice now to have a feature proving ground. Let hack try it. If it seems interesting and people like it, we can steal it. If not, we can do it differently :-P
 
@ChrisBaker speaking of leaving the window open all day @JoeWatkins how is your pc doing?
 
Last we spoke you where also quite busy with work right?
 
@Sara Pierre says "It could be possible to use c99 from a vc pov but not if we decide to release php-next next year. However with the yearly vc release, we could make it for Q4/2015." in that thread.
 
6:18 PM
@RonniSkansing what's really bothering me is that I lack the energy to work on my projects at home... ^^
 
Maybe it's time to bring that thread up again
 
@MarcelBurkhard =[ What are you working on?
 
@RonniSkansing nothing in particular.. just getting better in general. Practice clean oop programming, test driven development, low coupling and so on
 
@RonniSkansing i.imgur.com/u6so0df.png :D
 
@RonniSkansing there is much more to that list .... and additionally I'm supposed to get a symfony2 certification until the end of the year, which kinda sucks because I don't like symfony2 that much anymore :P
 
6:24 PM
@Worf PHP7 has a new logo? :D
 
@Worf nice, saved =] put it on my work screen
@MarcelBurkhard I dont like Yii either.. =]
 
When php-fig standards have been created?
^ That english
 
@RonniSkansing well Symfony is better at least :P
 
yea! I would rather work with that
 
6:30 PM
Where can I found old "standards" for php, like naming and so on?
 
@RonniSkansing anyway people tend to make bad code no matter what framework...
:(
 
yea.. =]
@VeeeneX old standards?
 
@RonniSkansing oh and I picked up object (prototype) oriented programming in javascript so I won't kill myself If I have to make changes in my javascript code later on :D
 
Ronni, I'm searching for some old standards that has been before the psr
 
@VeeeneX I don't think there is such thing
 
6:34 PM
does opcache inlines PHP functions somehow?
 
And how they were naming classes before psr?
 
@VeeeneX snake case :P
 
@ircmaxell If someone would immediately implement a RFC upon proposal in Hack if there are no major objections… then it'd be a nice feature ground… but actually we don't really have influence what makes it into hack here
 
xD
 
@VeeeneX depends on who you ask anyway... I was always doing CamelCase because I learned Java first..
 
6:37 PM
Because some old php programer said that my class name of the FW is wrong actually it's "Aurora"
Like that russian boat :D
 
yeah
 
@VeeeneX isn't aurora northern lights ?
 
Yeah, Aurora Borealis in latin
 
" the Roman goddess of dawn "
 
It means both
@ircmaxell Can you help? What were old coding standards for php?
 
6:41 PM
@VeeeneX what do you consider a standard? I think if you want old code you can just download the latest wordpress version and look at how the naming of classes was handled 10 years ago :P
 
xD
I'm scared to open it
 
hey room
 
Hey PeeHaa!
 
@RonniSkansing :P i.imgur.com/eXkLn0J.png
 
@Worf new desktop background
 
6:44 PM
:D
 
Raj
HI all, anybody well versed with Drupal 7?
 
@Raj Yes somebody is!
 
It happens sometimes, heh
 
@Worf thanks! =]
 
> WordPress 4.2.2 proactively scans the wp-content directory for this HTML file and removes it.
user image
2
 
6:56 PM
> WordPress 4.2.2 also contains fixes for 13 bugs from 4.2
That is 2 fucking weeks
 
@ircmaxell LOL
 
@PeeHaa They should probably rewrite their architecture and release WP 5. Their codebase is so crappy, they introduce bugs all the time…
 
@bwoebi every change introduces a bug
 
@bwoebi I know. I am looking at it as we speak
 
Hi all
 
6:59 PM
It's fucking unreadable and an utter mess
 
@ircmaxell oh wait? The features they add are bugs?
 
The fact that everything is global does not really help either
For moment a while ago I had the glorious idea of writing something compatible which wasn't horrible but quickly gave up
 
Any read about these problems ?
 
lol
8
Q: Picture captcha are impossible to answer as pictures are not discernable

David C. RankinThe recent captcha upgrade that asks you to select all X in the pictures is horribly confusing. When it asks you to select all cakes and then shows cakes, pies, cupcakes, etc.. it is horribly ambiguous what the heck it means by cake. The Pasta one is just as bad. No educated human can be asked to...

@Tounu Wordpress problems?
 
Brb gonna read :)
Don't you like cakes ?
 
7:04 PM
I don't think anybody in here likes cake no :P
 
I'd suggest a captcha asking about nail polishes colors
 
Anonymous
except cookies
 
Robots already deal with cookies, take care
 
Raj
@PeeHaa - Can you please help me with this - drupal.stackexchange.com/questions/157626/…
 
Nope I don't do drupal
 
Raj
7:13 PM
Hmmm :(
Or, upvote me for my questions please, I need to award a bounty for this question.
 
How about I downvote it instead?
Would that work for you?
 
Raj
:(
 
@PeeHaa looks like it's beer o clock? :D
 
Raj
Thanks @PeeHaa :)
 
7:15 PM
For what exactly?
@Worf Almost bed a clock I think. I am going to do some heavy drinking tomorrow instead
 
Raj
For the upvote!
 
Anonymous
@Raj your sixth sense is broken
 
@Raj I never upvote beggers
 
Raj
@samaYo - How exactly?
@PeeHaa - Sorry, ok consider it as am not begging but if the question deserves an upvote you please can :)
 
Anonymous
it was me who upvoted it, you begger ;p
 
7:18 PM
Hahahhahaa
 
Raj
@samaYo - Thanks for fixing my sixth sense (y)
:)
 
@PeeHaa I keep my portfolio heavily invested in pie. No cake holdings.
 
I wonder how many passwords they have collected already.
 
@Danack github.com/asciinema/asciinema/blob/master/doc/asciicast-v1.md <-- interesting, should be simple to build
 
Meow
 
@ircmaxell Yep, particularly as they give you the source code to can run the server side stuff yourself, github.com/asciinema/asciinema.org
 
@Sara It's not much work to move to it, honestly.
I got it working in about half an hour.
I do have one regression the cli sapi though
Trying to figure that out
> //??? len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)
We have so many comments like this.
//??? is all over.
 
7:51 PM
Lots of profits to come.
 
My question is why it all got committed.
 
I thought we weren't supposed to use c++ comments
 
Why are we keeping all this commented code around?
@ircmaxell We aren't.
 
@LeviMorrison it's basically: TODO not sure if this line is needed. Nothing seems to break, but that's just going by the tests now…
 
@LeviMorrison IMO, get rid of any code like that. It doesn't belong in an RCS.
 
7:56 PM
For now I'm just changing the style.
 
or at least go with // TODO: instead of ??? -- the question marks do nothing to improve confidence of the person who comes in after you!
 
@Sara agree
 
To make something "uninstantiable" (yea, I know, reflection) in PHP, one should use final protected function __construct() { }, correct?
No, wait.
 
@DanLugg Why not private?
 
Fuck.
@LeviMorrison Just private or final private? Because AFAIK final private is pointless, no?
Also, if I declare a constructor private, it can still be redefined in the subclass
 
7:58 PM
final does nothing on constructors probably
 
^^ Oh, no, it does
 
So you want them to be able to subclass but not call your constructor?
 

« first day (1664 days earlier)      last day (3283 days later) »