« first day (2273 days earlier)      last day (2675 days later) » 

12:00 AM
Doh, meant <value optimized out>.
 
@Andrea And many APIs are JSON. Using weak types just because of a few input variables doesn't make sense to me.
 
@kelunik maybe. best excuse I can come up with
 
@NikiC So... let's say I have abstract class AbstractEnumerable with method filter which uses private method build. This is totally made up and any relation to real code is totally coincidental.
It doesn't seem that build will get inlined into filter.
I figured it would. It's not a trait and private methods are inherently final. What else am I missing?
  private
  function build(callable $algorithm, ... $args) {
    $bldr = $this->newBuilder();
    foreach ($algorithm(... $args) as $key => $value) {
      $bldr->add($key, $value);
    }
    return $bldr->result();
  }
Let's pretend it looks like this. Do any of those features preclude inlining?
$this->newBuilder() is definitely a virtual method call, but that shouldn't prevent build from being inlined, right?
What about variadics?
 
12:18 AM
@bwoebi Works now, going to tag a new release.
 
@LeviMorrison variadics
not an inherent problem, just not something that's implemented right now
would require generating some more complicated code
 
12:40 AM
@NikiC Same with type declaratoins?
 
posted on January 05, 2017 by kelunik

- Add Windows system config support

 
youtube.com/watch?v=qCGofLIzX6g <-- interesting video about how CPython exposes too much internals and it makes language changes difficult
seems to be a problem PHP has mostly avoided
 
@LeviMorrison yeah
type declarations in particular are somewhat non-trivial to handle
 
you can spot the cases where the check can be eliminated
what's difficult is where it can't be
because you'd need to carry the context somehow
 
@Andrea I'm running inlining before inference, so not really (apart from the trivial case of constant arguments that is)
@Andrea yes. and there's quite a lot of context
 
12:52 AM
@NikiC oh dear :/
 
it currently relies on a good bit of fbc information
 
hmm
at some point I'll have to add type declaration support to my PHP-to-JS compiler, if I work on it again
that'll be interesting
 
@Andrea The harder cases are probably where the type declaration does type chuckling, e.g. passing an exception to a method accepting string.
@bwoebi It fails installing an update from 2014 for PHP 7.1, weird.
 
@kelunik the difficulty is any place where it won't match
if that happens, it has to be handled
particularly difficult is throwing a contextual error though (we have to know we're in inlined_func() despite actually being in function_that_called_inline_func())
if it's just a cast, that's easier
 
yeah that. the error case is the difficult part
 
1:02 AM
@Trowski Will the Icicle repository get a deprecation noting in the README? reddit.com/r/PHP/comments/5kzhjn/…
 
@kelunik I should do that with a link to Amp.
 
1:31 AM
posted on January 05, 2017 by kelunik

- Support Windows system configuration when resolving DNS

 
1:56 AM
@NikiC Any particular reason why you can't run it again after?
 
 
3 hours later…
4:51 AM
Hi I need to add page break in ckeditor automatically
 
5:28 AM
@RootBearFloat
are you available now?
please let me know once you are in
can any one help me on this question
0
Q: BigCommerce API - Unable to get product list

ShivaCalling the bigcommerce api like below url = 'https://api.bigcommerce.com/stores/XXX/v2/products/' headers = {'X-Auth-Client': 'XXXX', 'X-Auth-Token': 'XXXX', 'Content-Type': 'application/json', 'Accept': 'application/json'} data = {'scope': 'store_v2_p...

 
5:46 AM
@NikiC I did try to merge up before I requested that other PR's were made, didn't seem to work ... probably my weak git fu ...
 
6:43 AM
morning o/
 
6:56 AM
moin
 
morning 11
 
@Shiva Do you know your name is a sexy-girl-name in Iran? :P
 
7:11 AM
is it ..
lol
@Shafizadeh
 
who is that gir
 
sadly there isn't any Iranian girl in this room
 
o/
 
7:19 AM
If I have closed your #PHP PR recently, and you're annoyed about it, sorry ... the best way to get back at me is open a clean one :D
 
mornin
 
morning
 
today is the AMD day on CES 2017
I wonder if they will only announce Vega release or also finally publish specs for Ryzen
 
can normal people go to CES ?
(I mean not a company/buyer/whatever ... just to be nosey)
 
7:29 AM
they were selling tickets
 
I think I'd like to go one year ... it's a bit like looking at the future ... not everything you see there will be in the future ... but a lot of it will
have you seen the wallpaper television thing ?
 
not yet, but it probably is in my RSS feed
 
I won't spoil the wow moment for you ...
 
it sounds like something I wouldnt be able to afford in this decade
 
yeah, me neither ... I was just impressed that it exists at all
 
7:40 AM
btw, if you are interested, the NVidia event is available here: twitch.tv/nvidia/videos/all
 
Morning
 
o/
 
7:57 AM
\͜o/
 
\o/ my tests don't pass \o/
 
are they not supposed to pass?
 
It was TOO suspicious that they all passed
OK so Angular considers 404 as a success.
 
8:13 AM
mornings all
@Trucy Great success \o/ :D
 
o/
 
(nvm I just don't know how to use $q, the problem is me)
 
:P
Going to be lazy. @kelunik / @bwoebi do you have a demo setup of aerys running tls?
 
@PeeHaa No, why?
 
8:24 AM
Because I want to set it up?
Normally I run it behind nginx
 
@PeeHaa Just add Host->encrypt
 
And what settings does it use?
 
Hey guys, wanna play Find the sql injection?
 
grr.. the 10 rep minimum to answer protected questions is not enough
 
@Cerbrus Is it also ok if I also find the xss vulnerability?
 
8:27 AM
That's the bonus round
 
\o/
 
or plain old remote code execution
 
I should learn some stuff about web security
 
Oh, I know: Find something that isn't wrong :D
 
:P
 
8:30 AM
Moin
 
morgen @Sean
 
o/
 
holy crap, that revision
 
That question I just linked (Which I closed) was just edited.
@PaulCrovella: you ninja :P
> i know there are so many similar questions but those are so complicated and discussing about their problem . that's not helping me.I just need simple help here
 
8:32 AM
Hey everyone
how are you doing
Guys, do you have any suggestion, on what did they use in behind of this result:
It's generating this output image based on GET variables
 
every time I come to SO I quickly end up disappointed
 
looks like photoshop based effects
 
Server-side image processing
 
how can you put a function to beanstalk that this function will save?
 
sigh these few past days seem to be a pretty bumpy ride...
 
8:38 AM
@Cerbrus I need technologies:)
 
@TuralAliyev matrix transformations?
 
is imagick still a thing for php?
 
hello
 
@Cerbrus yes
 
8:41 AM
i have a very strange problem in laravel
i have a POST route that i use to upload and parse a file
when the file is large .. i get a 405
please note that i font get that in my localhost only in my vps ..
 
PHP REST App -> Redis (publish) -> Node Server (subscribe) -> Client (SockJS)
Is that.. overkill?
There doesn't seem to be a sockJS client for PHP, apparently redis is the acceptable middleman
 
@Sean i think its the only way without using an external service.
 
@Sean Why does it need to be SockJS?
 
@kelunik Ooo, new avatar! It doesn't need to be, I'm looking at SockJS for it's fallbacks / wider support
I was originally just looking at a PHP WS server and then a polling fallback, but that seems to be more stable?
 
@Sean Well, you only need a fallback if you support IE 9 and below. caniuse.com/#search=websocket
 
8:46 AM
Our minimum is 9 :<
 
@kelunik ooooooh
Missed the link :)
 
!!caniuse websocket
 
Maybe Jeeves shouldn't reply to the command
Just post a message instead.
 
Is it ok if I add a bigger example in the tutorial @kelunik?
 
8:48 AM
@PeeHaa Sure, PRs are always welcome.
 
kk
 
Anonymous
mornin
 
mornin
 
mornin
 
mornin
 
Anonymous
8:55 AM
eww outsider @Cerbrus
 
include fastcgi_params doesn't work on nginx 1.10.x
it should be include fastcgi.conf
 
@JayIsTooCommon: Thanks for being so welcoming.
 
that's weird
 
It improves PHP's good name to outsiders ;-)
</sarcasmoverload>
 
Anonymous
8:57 AM
@Cerbrus <3
 
Anonymous
hoi joe
 
wait, what about PHP gives you the impression it cares about it's good name?
 
@PaulCrovella I can't answer that xD
 
good moanings
 
yo salathe
 
8:59 AM
count(reasons) == 0
 
Anonymous
@littlepootis Did we miss your birthday ?
 
@JayIsTooCommon hah, 2nd
 
That should read count(reasons) == '0apples'
 
Anonymous
Happy late Birthday @littlepootis!
 
9:00 AM
\o
 
@JayIsTooCommon thank you :)
 
@PeeHaa I'm probably missing something there
 
!!> var_dump(count(reasons) == '0apples');
 
[ 5.6.0 - 5.6.29, hhvm-3.13.2, 7.0.0 - 7.1.0 ] Notice: Use of undefined constant reasons - assumed 'reasons' in /in/JoocW on line 1 bool(false)
 
== does loose comparison
because php
 
9:01 AM
@littlepootis indeed, happy belated birthday ... I didn't notice because some of us have work to do ....
 
!!> var_dump(count([]) == '0apples');
 
^ But count(reasons) is 1.
 
@kelunik yeah :P
again because php :D
 
It's fixed in 7.2.
 
9:02 AM
@PeeHaa string cast to int by ==?
Dumping the string part?
 
yes
 
!!> var_dump(count([]) == '0foobar');
 
@salathe any clue what is wrong with news/mail servers ?
 
Makes sense... ish
 
9:02 AM
everything is very broken ... this is the limit of my knowledge ...
 
@JoeWatkins thanks :)
 
@Cerbrus imagick is not able to generate something in this complexity
 
@JoeWatkins I thought it works again?
 
> The MX for php.net is a single, well-maintained Postfix instance.
 
I sent stuff hours ago and nothing came through yet, so doesn't look fixed
 
9:03 AM
@PaulCrovella Would be cool if it was.
 
@JoeWatkins Well, it was fixed yesterday, maybe broken again.
7 hours agao it worked: externals.io/thread/592
 
@Cerbrus Not really. That's why we also use === for strict comparisons
Again. Because php
 
@JoeWatkins Too much booze and christmas cake.
 
Oh, like JavaScript :P
 
9:05 AM
MYSQL: if i kill all the processes with show processlist & kill process_id, does it close only connections originating from my client machine or it kills all that are on server? My website often throws too many connections error, is it safe to kill process or it may effect other process originating from other client machine?
 
it wasn't broken, I don't understand why it was "fixed" in the first place ...
 
Yes :P
 
@salathe ha, this sounds likely ...
 
@TuralAliyev Sure it is
 
9:05 AM
@Cerbrus PHP is just as horrible as JS, we're all in the same boat :D
 
Anonymous
Externals site is nice
 
<3 externals.io
we should all link to it as much as we can, to encourage maintainer to keep it alive because it's very useful tool
 
hi...
 
morinis!
 
@JoeWatkins We should maybe even host it on php.net.
 
Anonymous
9:07 AM
 
the "Opening PHP's #internals to the outside" line bothers me a bit... it's not like internals was closed in the first place
 
Anonymous
^^ yeah it is
 
yeah that's him
 
Hai i have some rsponses in laravel, how to provide those details to view on particular div based on ID
 
Guys, can anybody see this repo ?
 
9:08 AM
@PaulCrovella that depends on what you mean by closed ... how mailing lists work is not common knowledge any more ...
@kelunik yeah ... or at least that would seem appealing if we had any decent hardware, or decent admin ... current (recurring) situation seems to suggest we don't ... and none of our hardware is that good either ...
 
O/
 
@Shafizadeh Nope
 
@JoeWatkins The issue is that people at systems are pretty quiet and a closed circle.
 
> You do not have access to this repository.
 
@Sean good :-)
 
9:11 AM
@Ekin Fixed the blog post regarding Endpoint::send vs. Endpoint::end.
 
Anonymous
@JoeWatkins Could probably get a free AWS if you told them what it's for :P
 
@JoeWatkins We got a pile of VMs (of various sizes) donated from DigitalOcean that aren't being used, email Rasmus if you want to set something up.
 
@salathe :o
 
@Sean I have, you don't .. I just wanted to be sure others cannot see it ;-)
 
thanks for that info, will use it ...
 
9:12 AM
Here anyone knows laravel...?
 
@kelunik :-) nice
 
@Manimaran what's your question?
 
Delivery to the following recipient failed permanently:

     internals@lists.php.net

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain lists.php.net by pair1.php.net. [76.75.200.58].

The error that the other server returned was:
550-5.7.1 mail rejected by policy.  SURBL hit
550-Spammy URLs in your message
550 See master.php.net/mail/why.php?why=SURBL
 
Dec 23 '16 at 9:42, by Joe Watkins
we don't do laravel
 
what
 
9:14 AM
@JoeWatkins Yes, it currently rejects all php.net URLs.
 
I just got the "blue in the face" hat... No idea how xD
 
Anonymous
@Cerbrus Were you trying to use js?
 
@kelunik I started/abandoned a project a fork which should have allowed for all MLs for that purpose at some point, but time + distractions got in the way :)
 
@Shafizadeh i have some db values in array. i want to sent those values to particular div in a view and i want to display the contents and refresh the div's....
 
@kelunik thnx ... the only url in the message was unsub ...
when did this appear ?
 
9:18 AM
> If it is your site that is being blocked, then it is your responsibility as a good netizen to get your site removed from the block list.
 
:P
 
@JoeWatkins 12 years ago
 
so php.net domains are being detected as spam by external services we are using, is that right ?
 
@Manimaran 1) make a view (Ex:myview.blade.php) | 2) make a div in it | 3) send the array to it (you are currently into your controller, Ex: return view("myview", $yourArray) | 4) implement your array into the HTML by @foreach() | 5) refresh the page by using JS (Ex: window.location.reload();)
 
> SURBL Lookup Result:

php.net is not blacklisted.
 
9:22 AM
I couldn't get those forms to load ...
lists.php.net ?
 
Anonymous
@Shafizadeh to 'refresh' the divs, window.location.reload() probably isn't the best solution
 
@JayIsTooCommon alternative?
 
> LISTED SORBS SPAM 76.75.200.58 was listed Detail 3600 94 Ignore
 
Anonymous
@Shafizadeh presuming his use case is to refresh the data in the divs, ws or AJAX
 
what do we do now ?
 
9:24 AM
Ask for a delist
 
paste link
please
 
Not sure if it solves it though since it's bitching about links in the mail body. But at least worth a shot
 
@Shafizadeh yes ya i have like this, but i want to reload that particular div only not whole page,while clicking is also not a propblem...
 
Yeah hold on. Am looking\
 
@JayIsTooCommon Agreed .. Ajax will push data into the HTML without reloading the page. So @Manimaran if you want so, use an ajax request
 
you have an @php address, right ? you should be able to request it ? if not I'm happy to make noise
 
@Manimaran I guess you need an ajax request and then push the result in that particular div like this: $('div').html( /* expected result */ );
 
@Shafizadeh and @JayIsTooCommon using the ajax i have used like this $.ajax({
url: "<?php echo SITE_PATH.'/lookup'; ?>",
cache: false,
dataType: "HTML",
success: function(){
$("#sellChart").html();
}
});
 
@PeeHaa Why should it not help then?
 
9:28 AM
@kelunik Because the BL is about server being blocked
Not about suspicious links afaik
¯\_(ツ)_/¯
 
did u find way to delist ?
 
Sorry got a call from client
Will find the link now
 
ugh I think you need to log in
I think I have an account somewhere
 
@PeeHaa But the error message says it uses that?
 
9:35 AM
The error message says SURBL the thing we are on is SORBS
Not sure if the same thing
 
which one of those was the extortion racket?
or was it both
 
Wes
\o
 
\o
 
Anonymous
hoi wes
 
9:39 AM
question to PHP mainteners: why are you maintening PHP? What are your motivations?
 
addiction ...
 
to help bring about the downfall of the internet - same motivation as the rest of us
 
Wes
lol
 
@kelunik You could try enumerating the interfaces (under Parameters\Interfaces\<guid>)
Dunno though, maybe just processing ipconfig /all would make more sense
 
@DaveRandom I do that now.
Works.
Just not sure what happens if there are multiple settings, it just takes the first one then.
 
9:44 AM
Guys can anybody open this repo ?
 
@Trucy in all seriousness I developed the skill set required by accident in the normal course of working ... started with extensions I thought were missing, that eventually lead to being useful ... I feel obliged to work on PHP, it has paid my wages for the last ... forever, more or less ...
 
@Shafizadeh Yes.
 
@kelunik really?
what is contains? please name some folders
 
also one time, the community gave me ten thousand pounds to get a new house ... difficult to forget that ...
or 11k, I forget .. it was a lot ...
 
9:45 AM
@kelunik it? what's it?
 
@bwoebi AppVeyor. Works after retry, so added the retry thing.
 
@kelunik and what about this?
 
@Shafizadeh Nope. Just press Ctrl + Shift + N and test it out yourself.
 
9:47 AM
@kelunik ah ok, thx
 
@JayIsTooCommon :D one day I'll get involved in an open source project… after I took care of my problems
 
Anonymous
@Trucy i just meant generally but yeah OS is a good idea :)
 
But like @JoeWatkins I feel I owe to the OS community
 
ok @JoeWatkins one needs to create an account here. After that you can click the delist button:
 
@PeeHaa What do you think about the expose address on config? Wildcard * means "all IPv4 and IPv6 interfaces" but maybe we should at least have a comment about that.
 
9:54 AM
Maybe just add the config with the default of * and a comment in the config what it does
That way it works out of the box, but can be changed when needed / wanted
 
Yep agreed
 
ha Experience level: "my name is charles babbage or alan turing"
 
lol
Maybe I should look getting into systems. As we have way too many problems and nobody knows who is repsonible for what
lxr, ssl, mail, hacked boxes
It's amazing some of it still works
 
PLEASE DO THAT
 
Will think about it tonight so that I don't promise something I cannot make true. And send a mail tonight
 
9:59 AM
make sure to get chris in too, to fix whatever you do
 
hehe good point
 

« first day (2273 days earlier)      last day (2675 days later) »