« first day (2176 days earlier)      last day (2769 days later) » 

7:06 PM
> @TazeTSchnitzel Die Hash-Tabelle ist nicht zu zerstören 8ff016c
@Andrea ^ hehe … Btw. Did you realize that this can also be interpreted as "the ht is indestructible" :-P
 
@bwoebi ooh, I didn't know that :D
And, yeah, I decided to have fun with some of the commit messages this time. It doesn't matter because if it does get merged, it'll be squashed, possibly with rewritten messages.
 
Why aren't you here this year @Andrea? We've got a good crowd. You're missed :)
 
@Leigh where, PHPNW16? uh… I couldn't think of a talk idea, tickets are expensive, but perhaps most importantly, I didn't expect I'd actually still be in the UK
Oh well.
 
@Andrea Yeah … Even I am here, and you're not!
 
damn
There's always a next time etc.
 
7:17 PM
@bwoebi you shoulda told us that earlier
 
@NikiC I told you as soon as I decided to go
 
@bwoebi you did?
 
@NikiC a bit less than two weeks ago
 
ah okay
I thought that was a bit longer term ^^
 
yeah :p
 
7:19 PM
@bwoebi next time best decide around cfp :P
 
@NikiC I'm not that a long-term planner :-P
 
Anonymous
@Sean you in mancu?
 
@Andrea oh you're leaving our fair shores? Ticket is a moot point.
@NikiC which conf are you talking at? (P.s. pinged a jetbrains dev re: iterable - no response :()
 
7:53 PM
@Leigh The ticket … just have someone pay it for you ;o)
 
@Leigh I expected I would have. Didn't happen.
perhaps for the better.
 
8:11 PM
@JoeWatkins github.com/php/php-src/commit/… this should fix dem asserts
 
8:27 PM
So I'm trying to get a PAGE ACCESS TOKEN for FACEBOOK PHP SDK. When I call /me/accounts from the GRaph Explorer as stated in the docs, instead of getting a access token back I get an empty data array
it returns
{
"data": [
]
}
where it should return
{
"data": [
{
"category": "Product/service",
"name": "Sample Page",
"access_token": "{page-access-token}",
"id": "1234567890",
"perms": [
"ADMINISTER",
"EDIT_PROFILE",
"CREATE_CONTENT",
"MODERATE_CONTENT",
"CREATE_ADS",
"BASIC_ADMIN"
]
},
}
can ANYONE help? I am absolutely stumped
 
@Phil, 1. do not post a wall of code, use a gist.github.com or 3v4l.org 2. mention how are you using it; you showed what you expect but not the way you are trying to get that result
 
8:42 PM
@Ekin - I am sorry for the lengthy post. Will use gist.github.com in the future
I am using the Graph API Explorer
 
great, you'll see it'll be easier
I just tried /me/accounts and got the list, sure you have a valid access token there?
 
hey why do some people think / call php a framework?
 
@FélixGagnon-Grenier because the web SAPI is…
it's a framework over the web backend …
 
8:58 PM
@Ekin - well I can use the access token I have to post to my facebook page without any problem. and using the Access Token Debugger tool it shows it as valid and expiring in 2 months
 
@FélixGagnon-Grenier it kinda was ... long long time ago
a C framework for making webpages
@FélixGagnon-Grenier or they are just really stupid and have grown up in .NET infrastructure
 
Teresko get to PHPNW nauuuuu
PeeHaa is wrecked
 
no time
also, @PeeHaa being as-per-usual does not seem like a reason
 
9:15 PM
@Phil aren't one supposed to use the user access token for that?
it's /me/accounts
honestly I dunno why it wouldn't work for you if you have pages and use that token to submit a request
because I get the correct result
 
!!command unmap tweet
 
Command 'tweet' is no longer mapped
 
!!command map tweet bettertweet tweet
 
@DaveRandom Something really unexpected happened: Identifier must be a string or identifiable object
 
lol awesome
 
9:25 PM
I just helped someone who was getting a crash in the JVM in the native code it generated. Not fun.
 
@Linus wake me up when september ends
 
@tereško does "as per usual" mean "like always" ?
 
yes
 
Ah ok, :)))
 
9:41 PM
btw, how were your initial studies of GIT?
 
I'm right now bitterly disappointed that @PeeHaa hasn't offered me the last of the french fries…
 
@tereško I've downloaded a Persian video which teaches git. Now I'm watching it.
 
btw, I would like to point out that renaming your country to "Iran" was fucking stupid ... it should have stayed called "Persia"
(that didn't come out in English)
 
:-) well that's not a big deal
 
@Wes I will hopefully have a publicly available php.net mirror to work on the new layout.
It's available now but missing the manual, so it's basically useless :D
 
9:56 PM
I'm at boss to travel to another city for that practical exam... actually that's the first day that my family are out of my life .... pretty much sad it is :-(((
I want to see my mom right now :-(
I miss here:-(
@tereško how really do you live alone (without your family), isn't it hard for you?
 
not really
I left home (to go to a highschool in a different city) when I was 15
 
Hooowww?? Do you even have a heart?
Do you call to your family per day?
 
@Shafizadeh there were probably rough circumstances he doesn't want to talk about…
 
10:23 PM
@Shafizadeh more like "per month"
@bwoebi nope, no rough circumstances
besides, my hometown creeps me out a bit ... too many UFOs
 
Wes
@LeviMorrison nice \o/
been trying to sleep for 3 hours. i've failed
 
We appear to have broken JS for scrolling the same page when clicking on #id anchors.
:/
It's like the event isn't captured correctly.
 
Wes
my script you mean?
that PHP_NET var thing
 
$(document).ready(function(){
    $('a[href*=#]').click(function(e){
^ This one.
 
10:38 PM
@LeviMorrison gods below
I would be scared to see the rest of your js
 
(I did not write most of this; in fact maybe none of it)
 
Wes
wanted to suggest to burn that js entirely and start with a blank one
and use vanilla dom possibly
i don't think old browsers visit php.net
 
We are going to bump our compatibility requirements at some point.
 
Wes
for example?
 
IE 10+
 
10:43 PM
you mean ie is not simply out of the question?
 
@FélixGagnon-Grenier Sadly, no.
 
at the same time, poor person. using php and internet explorer
they deserve some love
 
Wes
ie10+ is doable
 
Alright, starting over with this:
(function() {
    document.body.addEventListener('click', function(e) {
        if (e.target && e.target.nodeName == 'A') {
            console.log('anchor clicked')
        }
    });
})();
 
Wes
can i see the site live somewhere?
 
@Levi btw. Derick thinks it's just sugar which ends up making it harder to intuitively understand the code regardless of the mistakes other languages made...
 
Wes
ERR_CONNECTION_REFUSED
 
@bwoebi Did he poll JavaScript or C# users? They love this feature...
 
I think we'll be unable to persuade him of the mere concept of short closures
 
10:49 PM
@LeviMorrison he said that it'd might be true, but doesn't make it intuitive, especially for language learners…
i.e. function() use(…) {} would be explicit and thus easy to understand intuitively
 
I accidentally did https; try again.
@bwoebi Why is catering to language learners so important to him?
It's not like they make up the vast majority of our userbase.
Maybe we'd have fewer leavers if we had nicer features...
@Wes Did http (not https) work for you?
 
@LeviMorrison yes, works
@LeviMorrison He also argues that it's just not a new feature enabling something new. … you can easily do it already - just write it out… Too much "implicit magic"
 
Wes
m HTMLElement element The element to show.
* @param Number animationDuration Animation duration in milliseconds. Defaults to 400ms.
* @param Function callback Function to execute after the animation is complete.
* @return void
PHP_NET.scrollElementIntoView = function(element, animationDuration, callback){
animationDuration = animationDuration || 400;
var destTop = $(element).offset().top - PHP_NET.HEADER_HEIGHT;
var callbackCalled = false;
$('html, body').animate(
{scrollT
 
@LeviMorrison What am I actually supposed to see / experience or not? I see links, stuff, and can scroll
 
Wes
there's an unclosed comment */
 
10:52 PM
@bwoebi He doesn't care about 80% boilerplate overhead?
Having to write 38 characters to do eight characters of work prohibits ubiquitous use.
 
He's probably not a functional programmer…
 
That's definitely a new feature.
 
Wes
on line 34
can we please kill that js? it already gave me cancer :B
 
@Wes It's closed after the semi-colon?
 
@LeviMorrison enabling something new
 
10:54 PM
@bwoebi Yes, enabling functional programming is something new.
Seriously; we avoid it so much because it's more characters with less performance and honestly less readable.
 
Wes
ah lol, why did you comment it?
 
yeah… perhaps I'll try annoying him again tomorrow…
 
@bwoebi turing complete blah bla
 
@NikiC told him that
 
@Wes It looks like that code is a conflicting feature with another place in the code.
 
10:55 PM
that was basically his reply ^^
 
Verbosity is not a virtue in itself
 
Wes
how so?
 
@NikiC so, what about HashDos now?
 
o/
 
Wes
\o
 
10:58 PM
o/
 
Wes
are you guys at phpnw already? :D
 
@Wes sure
 
Wes
you there too? damn i missed some real eleven fun
 
@Wes sure :-)
 
11:02 PM
@bwoebi meh
 
@NikiC That's how I feel about Dmitrys superficial review, yes.
 
I do see dmitry's point that merging it at this point in the 7.1 timeline is pretty adventurous
 
@NikiC Which isn't his main issue though
 
Wes
something's wrong. outside is all full of midges
something biblical must be happening
 
> I also think - this patch is not good enough to me merged into master as well.
It's big, messy and makes things more complex.
 
11:04 PM
@bwoebi hm...
again, not exactly wrong ^^
 
@NikiC I agree on that, though it requires an ABI break… which is why we either do it now or really only next year.
 
it requires an abi break?
 
Okay, I think I fixed clicking on anchors:
 
@NikiC I'm not 100% sure…
 
Wes
how hard would it be to run php.net locally @LeviMorrison ? or, is there a way i can easily commit to a github repo and see the changes live? me still uses ftp :B
 
11:05 PM
@Wes yup, missing out on @PeeHaa's AMAZING chat up lines
 
document.body.addEventListener('click', function(e) {
    if (e.target && e.target.nodeName == 'A') {
        var anchor_target = e.target.getAttribute('href').slice(1)
        var target = document.getElementById(anchor_target)
        if (target) {
            var wasID = target.id;
            target.id = '';
            PHP_NET.scrollElementIntoView(target, null, function() {
                // finally restore the id="" attribute to the element
                target.id = wasID;
            });
A few questions: is that really the only way to prevent the browser from scrolling to the element?
 
Wes
good that you got rid of jquery
 
Seems very hacky.
 
@NikiC ah, no it doesn't… was mistaken
 
Wes
i'm pretty sure that is the only way
scroll is not cancelable
 
11:07 PM
@NikiC yeah, in that case it may be added and removed at any time
@NikiC the problem is, you can't do it really without that…
 
Wes
you can cancel the click though. i don't remember why i did it that way
 
e.preventDefault() does nothing.
Nor does stopPropagation
 
Wes
on click?
 
Nevermind - hadn't properly reloaded.
 
Wes
6 mins ago, by Wes
how hard would it be to run php.net locally @LeviMorrison ? or, is there a way i can easily commit to a github repo and see the changes live? me still uses ftp :B
will be way easier, last time i improvised in the js console
 
11:12 PM
It's' not that hard to do
document.body.addEventListener('click', function(e) {
    if (e.target && e.target.nodeName == 'A') {
        e.preventDefault()
        e.stopPropagation()
        var anchor_target = e.target.getAttribute('href').slice(1)
        var target = document.getElementById(anchor_target)
        if (target) {
            PHP_NET.scrollElementIntoView(target, null, function() {})
        }
    }
})
Click on a ¶ symbol after a header to see it in action.
Alright; on my way home.
Later room!
 
Wes
it looks wrong to me
is that my own code? lol
 
Ping me with details - will look into it.
 
Wes
clearly i was drunk
sorry :B
okay, later\o
mirroring would be hard for me though, i'm on windows. how about ftp access to your test server or something like that? don't know how hard it would be setting that up
 

« first day (2176 days earlier)      last day (2769 days later) »