« first day (2050 days earlier)      last day (2901 days later) » 

3:00 PM
It requires a filename or it goes directly back to browser.
Sometimes it throws exceptions. Sometimes it doesn't.
 
@bwoebi I'm not sure I care enough right now, tbh, the real solution to the issue is to reconnect. We do need an orderly shutdown but not as much as we need it not to shutdown in the first place.
 
@nikita2206 This will also differ depending on whether you have opcache enabled, and whether you use PHP 7.1 or not :P
 
@John if() is a statement; it cannot be done in a place expecting an expression. The parenthesis of the if() require an expression, thus you can't put an if() inside of an if's condition.
 
Wes
did i test it right? 3v4l.org/7iqbg 3v4l.org/Z2I50 @DaveRandom
 
3:03 PM
@NikiC Uhm, we already have immutable arrays in 7.0 (with opcache)? Or do you refer to something else?
 
I heard in MySQL everything is into bracket will be executed first. So I want to know, in this like of code, that sub query will be executed or not?
IF ( FALSE AND (subquery) ) THEN
 
Wes
what's more interesting is that in the latter the array is basically static data
 
@NikiC yep, 7.1 doesn't show any difference
 
@Shafizadeh Try it
 
@bwoebi in 7.1 those should use the same memory even without opcache
 
3:04 PM
@MattPrelude I cannot understand it executes or not .. it just selects something, but because that condition is containing FALSE and AND, then the statements of that condition never run.
 
@NikiC oh okay
 
@Wes a better demonstration is 3v4l.org/kB1gJ - note that the memory usage stays the same until you actually modify one of the copies. Until that point everything points to the same ht structure underneath
 
Wes
am i right? even if there aren't active instances of A that array will stay in memory regardless. instead, if the field is being filled within __construct() the array gets destroyed when there are no active instances of A. correct?
@DaveRandom yeah i know how COW works, but i don't know how good it is to guess that the data is the same
 
is this just for academic purposes or are you trying to do something practical?
 
Wes
academic purposes
 
3:10 PM
@Wes ahh right, yes if the field is actually declared in the ctor it will result in a fresh alloc
 
btw, why is it always 0 in hhvm?
 
I missed the point at first I think :-X
 
Wes
very interesting
 
@DaveRandom Apparently HHVM stores data in the æther, because clearly it isn't using memory.
 
lol
 
3:12 PM
@Saitama HHVM has long standing issues with that function, it has reported 1000x as much, 2x as much, and now 0
 
Wes
@Trowski quantum mechanics, worm holes. multiverses memory allocation
 
@MattPrelude I thought they fixed it
 
hmm...
 
@Trowski They store it in the stdout buffer so it looks better. Sort of like putting the mess in a closet when people come round.
 
@PeeHaa So did I, but they've had lots of issues with the function
 
3:13 PM
@Trowski what are you currently working on?
 
@MattPrelude Shitty vm :)
 
@PeeHaa Hehe
 
@DaveRandom I call it my shame closet.
@bwoebi Updating the new amp loop and a PR for the interop loop to make Registry a trait to be used by drivers.
 
oka great
 
3:23 PM
618
Q: Six simple tips to get reputation fast on any Stack Exchange site

Jeff AtwoodAn article "6 Simple Tips to Get Stackoverflow Reputation Fast" at codexon.com made these suggestions: Be the First to Answer. Even at the cost of quality. Use Downvotes and Comments Strategically Use obnoxious in-your-face formatting and lists. Be Aware of the 200 rep/day Limit Ed...

Staph editing run.php damnit! :P
 
composer install needed also
@PeeHaa This will hopefully be the last time for a while
 
Soooooooo you went in to fix a connection bug and wtf is that commit :P
I'm going to come up with an award for this
 
lol
 
:D
 
I never liked that pattern anyway
 
3:28 PM
heheh
brb will pull shortly. Only need to finish my beer and hope I don't run into other people wanting to go to a bar
 
3:40 PM
Is there anything wrong with this code $stmt = $con->prepare("INSERT INTO replies (to, poster, body, date) VALUES (:post, :username, :comment, :date)");
It says Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'to, poster, body, date) VALUES ('1', 'Bob', 'Hello', '2016-05-27 16:38:39' at line 1 )
 
APPY AIDAAAHAHAH
 
@bobjomes date is probably reserved
@RonniSkansing HOLAS
 
=) PeeHaa
 
thanks, it was actually 'to'
 
Best frydaihhh
What ya gonna do?
 
3:44 PM
I'm going to continue what I have been doing for the last two days
Enjoying the weather while it doesn't start raining
 
3:55 PM
09
WHEPS
=)
hehe enjoy man
 
@Joe I don't like too much that you say "There's no JIT yet" … well… we're since PHP 7 at least on the train of incrementally making changes so that a JIT once might be possible…
But regardless of that, your points are valid
 
it just feels like an add on ... I don't object to the kind of change that is only required for JIT, but we should make those kinds of changes at once, I think ...
 
is serialization/unserialization an expensive thing in context of performance?
 
it's better for 7.1 to have consistent behaviour, and 7.2 to have consistent behaviour, the behaviour can obviously change between versions, though I doubt we'll get anything ready for 7.2 (would love to be wrong) ...
@Saitama well ... it depends what you are comparing it too ...
it's more expensive than doing nothing at all :)
(serialization does a thing, you have to compare it to the alternatives)
 
hm..
 
4:05 PM
Can someone point me to an RFC with (at least) 2 votes on it? I know some exist but I can't find any
There was one recently
mind gone blank
 
@DaveRandom huh?
 
like two doodles
 
ah, that two votes
 
that, yes
 
4:07 PM
ty
 
thanks for chiming in there @NikiC
 
in Nothing to see here, 51 secs ago, by cv-pls
[tag:rfc-vote] [Accept explicitly nullable types? (2/3 affirmative required)](https://wiki.php.net/rfc/nullable_types#doodle__form__accept_explicitly_nullable_types_2:3_affirmative_required) Yes (41: 95%), No (2: 4%)
[tag:rfc-vote] [Merge which features? (majority wins)](https://wiki.php.net/rfc/nullable_types#doodle__form__merge_which_features_majority_wins) Both nullable parameter and return types (44: 97%), Only nullable return types (1: 2%)
 
oooh
 
chat markdown sucks @Sara ^ :-(
Breaks on multi-line messages
 
will it self update ?
 
4:09 PM
We can do the shiny md for single votes but will need to make it uglier for multi-vote RFCs
 
@bwoebi Should an observable wait for at least subscriber before being allowed to emit values?
 
@JoeWatkins It scrapes on demand so yeh, Sara PR'd it a few days ago, just santiy checking it before merge
 
@DaveRandom ugh
 
I have it written this way, but it leads to some interesting conditions where the first subscriber can get a bunch of values, but the second misses those values because they were only given to the first.
 
@DaveRandom send multiple messages?
 
4:10 PM
:-P
 
@Trowski no
 
@DaveRandom it updates the percentage when we do !!rfcs ?
would be good if we didn't have to do that ... because lazyness, and forgetfulness ... and other nesses probably ...
 
@bwoebi Ok. It leads to completely missing values in my example code, but if emitting async values it shouldn't be a problem.
 
@DaveRandom Why does it break so completely though?
[foo](http://google.com)
http://google.com
 
@JoeWatkins Well that's per RFC, you can do !!rfcs with the same behaviour or !!rfcs rfc-wiki-slug
 
4:11 PM
got to know of this thing
 
Seems to work fine
 
@Trowski exactly. Your example code would just use a defer()
 
@NikiC bare links are the only thing that works
 
@bwoebi Right, that's all it would take.
 
@DaveRandom oh...
 
4:12 PM
> you can do
blockquotes
and multiline code
but nothing else gets rendered
 
[a](http://b.com)
[a](http://b.com)
 
@Trowski Perhaps you can defer generator emitters (in general) to next tick
 
That sux big time
@DaveRandom so what about multiple messages?
 
`yeah`
`it sucks`
 
or does that cause problems with rate limiting?
 
4:13 PM
can I ask if it is okay to ask about asking about questions?
 
You just did
 
@NikiC thanks for eloquently describing the problems to Dmitry :-)
 
oh no!
 
it didn't occur to me that he wouldn't know why we don't want unset removed
but I guess he wouldn't be suggesting it's removal if he knew why it was a bad idea ...
 
@DaveRandom Also, it needs to highlight that Stas is the only no vote :P
So you can see that it's still unanimous :P
 
4:16 PM
heh
 
Anonymous
 
@NikiC we can do that, yeh
 
@NikiC it's just unanimous on secondary vote…
 
either multiple messages or:
• Accept explicitly nullable types? (2/3 affirmative required) - Yes (41: 95%), No (2: 4%) (https://wiki.php.net/rfc/nullable_types#doodle__form__accept_explicitly_nullable_types_2:3_affirmative_required)
• Merge which features? (majority wins) - Both nullable parameter and return types (44: 97%), Only nullable return types (1: 2%) (https://wiki.php.net/rfc/nullable_types#doodle__form__merge_which_features_majority_wins)
i.e don't do fancy formatting for multi-vote RFCs
 
Or… just annoy SE devs enough …^^
 
4:19 PM
That's been tried, I think it's a dead end
 
seems you haven't annoyed them enough
 
LET'S ANNOY 'EM
 
2
A: Broken markdown in multiline text in chat

AdamThis is currently intentional. We only support quotes in multi-line markdown in chat.

 
@DaveRandom E_NO_REASONING
 
I wonder if that's the inner parens. Maybe just need to escape them somehow.

[tag:rfc-vote] [Accept explicitly nullable types? 2/3 affirmative required](https://wiki.php.net/rfc/nullable_types) Yes (41: 95%), No (2: 4%)
[tag:rfc-vote] [Merge which features? majority wins](https://wiki.php.net/rfc/nullable_types) Both nullable parameter and return types (44: 97%), Only nullable return types (1: 2%)
hrmmm
stupid markdown...
 
4:22 PM
in Chat feedback on Meta Stack Exchange Chat, Aug 6 '10 at 19:14, by Marc Gravell
multi-line bypasses markdown
in Chat feedback on Meta Stack Exchange Chat, Aug 6 '10 at 19:14, by Marc Gravell
it assumes you are pasting from somewhere
 
Ah
 
:-(
 
Well, I suppose we could do multiple postMessage calls
 
It's a known issue, it's the same reason we don't have nice formatting for google results
@Sara Yeh it's either that or
6 mins ago, by DaveRandom
• Accept explicitly nullable types? (2/3 affirmative required) - Yes (41: 95%), No (2: 4%) (https://wiki.php.net/rfc/nullable_types#doodle__form__accept_explicitly_nullable_types_2:3_affirmative_required)
• Merge which features? (majority wins) - Both nullable parameter and return types (44: 97%), Only nullable return types (1: 2%) (https://wiki.php.net/rfc/nullable_types#doodle__form__merge_which_features_majority_wins)
(for multi-line only)
 
like the google...
 
4:24 PM
yeh
 
Nod, and that's not terrible
I'm at an interview all day, but I'll poke at the PR later.
Between those options, I prefer the latter (keeping it to a single message paste)
 
@Sara I'm doing it now, will be merged within the hour :-)
 
That works too :D
 
@Sara Yeh I'll do it like that for now, there are other difficulties with multiple messages, in particular the spam back-off kicks in
and it might be odd if someone posted between messages
 
Software spam back off and human spam back off. Multiple messages are harder to ignore when there's a large number of them (Thinking of the "Deprecate these features from php7 RFC that had like... 12 votes on it)
 
4:27 PM
No I mean the chat spam protection thing, if you try to post too many messages too quickly it basically says "go away for a bit" - which we do handle, but it might leave a few seconds between messages being posted
 
@DaveRandom Anyway, thanks! I like how it's looking :)
 
Yeh it's working fine, thanks for the PR :-)
 
@DaveRandom Yeah, that's the "Software spam back off" I was referring to :p
 
Trying to work through the backlog, race against time before people get back home :-P
 
:D
 
4:28 PM
@Sara oic yeh I totally misread that :-P
 
I stated it weirdly :p
 
Ekn
4:42 PM
'noon
 
callable prototypes is going to fail, isn't it :(
 
@JoeWatkins I wasn't sure if he were aware ... but as he (presumably) doesn't read the mailing list, it's not unlikely...
 
....... my brain is so very hangover....
!!rebecca
 
Wes
4:48 PM
@bwoebi is this supposed to work? 3v4l.org/L95f5 3v4l.org/cJ2Tf
 
@Wes that's correct behavior
 
> Fatal error: The "yield" expression can only be used inside a function in /in/cJ2Tf on line 3
 
Wes
what's line 7? :B
 
@PeeHaa if you deploy from current master, please add Room11\Jeeves\Chat\Plugin\Github to plugins in config file
@Wes echo Foo::{'BAZ'};
why did you include a random paste?
 
Wes
#fail yep i did
 
5:01 PM
what ere you trying to do? :-P
 
<?php declare(strict_types=1);
namespace RebeccaBlack\Friday;

class Party
{
    /** Partyin', partyin' (Yeah)
     */
    public function partyinPartyinYeah() {
        /* ... */
    }
}
 
!!plugin list rebecca
ok, enough :-P
5 messages moved to bin
 
@DaveRandom Is there an easy way to handle the "everything is fucked up beyond any repair" catch in run by any chance?
As in properly log it
 
@Jeeves Today is Saturday.
> not immediately replying with “And Sunday comes afterwards.”
wow
 
heh, feature request @Andrea
 
5:05 PM
@Andrea Fix it fix it fix it
 
@PeeHaa Well that, tbf, is why I'd suggest using stdout/stderr redirect for logging anyway, because that would also catch PHP notices etc
dunno, with the current logger (that uses file_put_contents()) you could just log it "properly" there
 
Oh true :)
@DaveRandom Yeah but I want to run multiple loggers at some point
 
what for?
 
different log file for debug for one (once it's stable)
 
ah k, fair enough
 
5:08 PM
!!github magic
 
Organization [](github.com/magic): 20 public repos
 
That didn't last long :P
 
#fail
I didn't test an org
!!github daverandom
 
User Chris Wright: 69 public repos
 
that works
!!github
 
5:09 PM
good: Everything operating normally as of 2016-05-25T18:44:58Z
 
!!github daverandom/libdns
 
ooooooh status \o/
 
DaveRandom/LibDNS DNS implementation in pure PHP - Watchers: 24, Forks: 2, Last Push: 2016-04-29T20:50:52Z
 
damn that's nice
 
I tested those ^
@PeeHaa ikr, @Sara does proper jobs of things
unlike some people. Esp. that Chris Wright guy, he's a proper slacker
 
5:11 PM
I have started on fixing !!twitter at least 6 times now :P So I'm also somewhat guilty
 
I was pondering having the bot say "moin" when it enters the room or something so we can easily tell when it has crashed and/or reconnected
definitely need a !!status
 
I dont understand dns
have a star =)
 
lol :-P
 
@RonniSkansing heheh
!!github peehaa/idontexistyet
 
@RonniSkansing niether do I, it's broken in quite a few edge cases, really needs some love
 
5:12 PM
Failed fetching repo for peehaa/idontexistyet
 
!!github dskhfjdskjhfkdsjhfkjdshfkjdhsfkdsjhfkewfy
 
Failed fetching profile for dskhfjdskjhfkdsjhfkjdshfkjdhsfkdsjhfkewfy
 
!!plugin list rfc.php
 
Command endpoints for plugin 'RFC.PHP' (enabled):
[X] Search - List RFCs currently in voting, or get the current vote status of a given RFC (Default command: rfcs, Mapped commands: rfcs)
[ ] Votes - Get the current vote status of a given RFC (Default command: rfc, No mapped commands)
 
!!github @DaveRandom another ping method slipped in
 
5:12 PM
Failed fetching profile for @DaveRandom
 
Did it double ping?
 
yeh
!!command map rfc rfc.php votes
 
Command 'rfc' is now mapped to RFC.PHP # votes
 
I think a generic remove pings function will do
 
!!rfc nullable_types
 
5:13 PM
• Accept explicitly nullable types? (2/3 affirmative required) - Yes (41: 95%), No (2: 4%) (https://wiki.php.net/rfc/nullable_types#doodle__form__accept_explicitly_nullable_types_2:3_affirmative_required)
• Merge which features? (majority wins) - Both nullable parameter and return types (44: 97%), Only nullable return types (1: 2%) (https://wiki.php.net/rfc/nullable_types#doodle__form__merge_which_features_majority_wins)
 
!!rfc functional-interfaces
 
(also works as an arg to !!rfcs)
 
Multiline tags also don 't work I assume?
 
5:14 PM
oh wait I see what it is
 
@PeeHaa no, that's why the multi-line is formatted differently
 
yeah
stupid @balpha
 
right I have to go make some dinner, bbiab
 
later sir
 
Unknown system variable 'lc_messages'. Lousy phpmyadmin -_-
 
5:25 PM
why are the percentages wonky ?
 
Rounding I guess
 
wut ?
 
(I have put the dinner on)
 
Yes (6: 22%), No (21: 77%)
oh oh
I read it wrong
 
Well that's 99%, I'd guess they've been cast to int
I didn't actually check that logic
 
5:27 PM
I read 6.22/21.77
 
oic
 
Night, guys!
 
@Saitama nite
 
5:28 PM
Yeh it's sprintf('%d') of a float
good enough for government PHP work
 
@kelunik @bwoebi I didn't know you guys got a special mention in the github security vulnerabilities blog post. cool :)
 
I dunno
67 and 66 are different numbers, with different outcomes
@DaveRandom .2f
> Accept functional interfaces? [required-majority] [majority-achieved]
 
What's "thanks giving"? Is that a celebration?
 
@PeeHaa what post?
 
5:40 PM
where majority is "majority none", "parva pars", "magna pars" ... because that's all we really care about @DaveRandom
 
> We love it when a reported vulnerability ends up not being our fault.
haha :-D
 
Chris, make me something to eat while you're at it. Thanks in advance.
 
I dunno why latin ...
did you get a bounty for that @bwoebi ?
 
@JoeWatkins yes.
 
cool
 
5:43 PM
After all it impacted githubs security.
 
yeah yeah
bounty programs are great ...
 
Joe, what was the last take out you had?
 
macdonalds, lunch time
 
Doesn't count -_-
They have a McDonalds out there? :P
 
hehe, yeah, two :)
one of them is even a drive thru .. so 22nd century ...
 
5:47 PM
Oh my. They've come a long way on the island :P
 
that's a pretty strange question, why such a strange question ?
 
Inspiration
So bored of eating by myself tbh. I think it's less about motivation and more about that.
 
why by yourself ?
 
Because I am by myself :P. Mentioned it a couple of times now heh.
 
I'm the worst ...
 
5:50 PM
lol, you've the memory of an elephpant for code but a goldfish for a lot of other things :P
 
sorry, I should remember stuff ... hope you're okay ...
 
I'm fine heh. It's not as bad as it seems. Besides only a few more months till I am outta here anyway.
 
where you going ?
I think I know
Asia, to ignore bad developers in person, right ?
:D
 
/s/ignore/slap
 
hehe
so how did that come about then, what you going there for ?
 
5:53 PM
Thailand is the landing point. Probably spend some lengthy time in China due to visa
For a break I think. I'm not really sure. I just know I can't stick around here.
 
going on a work visa or holiday ?
Thailand is traditionally where chaps go to get a set of boobs, right ? it's not that is it ?
I think you're too tall for boobs ...
 
@JoeWatkins hey, did you read any of the last 50 or so mails on the typed properties thread?
 
heh. I got nice long legs though.
 
@NikiC guess
 
@JoeWatkins thx, just wanted to confirm
 
5:56 PM
why ? are you going to do a "shut up please" ?
 
@JoeWatkins yes...
off the record, for the two people who might be redeemable
 
I've no plans to work for a little bit Joe, but I will be picking up a laptop before I leave for when I feel like I can or to earn and justify my lack of work.
 
okay good, because I wanted to do that, but I have no idea how to say shut up without using the words shut up ...
@Fabor sounds awesome, opportunity for new perspective ... possibly boobs ... all good things ...
 
Yeah, hopefully. We shall see in 3 months :P.
At least I won't have to worry about cooking dinner for a while.
 
you don't think you'll stay out there, do you ?
 
6:02 PM
@PeeHaa I didn't know that, too. ^^
 
:)
 
I would super love to relocate, I asked that negatively, but actually ... you may only get a few chances in your life to do that @Fabor
 
Oh I have no plans to return.
But I don't know honestly.
 
In my experience most people who leave just don't return
 
I'm selling all my stuff currently. Except that which I need till end of August
 
6:04 PM
I assume it's even more when leaving the UK
 
that's exciting ...
been to thailand before @Fab ?
 
evenin
 
'nin
 
@JoeWatkins Nope. I got a friend living there though. There's a lost of eastern Asia I missed which I will visit
 
I'm pretty jealous :D
 
Ekn
6:14 PM
^++
 
maybe do a twitter account and tweet photos of your travels, could be an interesting kind of diary to look back on ... and interesting for others also ...
 
@JoeWatkins Yeah, kinda deciding on that in the leading months.
Blog/Instagram thingy maybe
 
or just do it on your account, I guess ... I don't think I was thinking of twitter, I think I was thinking of instagram ..
yeah
 
Wes
nings
 
indeed
 
Ekn
\o
 
afk because taxi service
 
user895378
@DaveRandom The other benefit of a Result class is I see that as the place where you should go if you care about things like non-fatal connection-level warnings and notices. Not the connection instance. The scope of those warnings exists only in the context of the single query/result
 
Wes
6:45 PM
@bwoebi will the new list() thingy work as foreach($arr as [$a, $b, $c]) === foreach($arr as list($a, $b, $c)) ?
 
Nearly upgraded to PHP 5.6 \o/
Whoo-hoo!
 
@rdlowrey while I agree with this in principle, in practice it doesn't work for two reason: 1) libpq doesn't work this way 2) you can recieve notices when there is no active query
 
user895378
Sure, but how would you know to check that?
 
I'm still on the fence about this though, we can probably wrap it sanely
 
user895378
(that you had received a notice)
 
6:49 PM
@rdlowrey wouldn't need an event I guess
the only thing you'd do with it is log it
 
user895378
If anything I think you should expose something like Connection::getNoticeStream()
 
user895378
That way at least I can do:
 
bbiab doing bedtime
 
user895378
cool :)
 
user895378
foreach ($connectionNoticeStream as $promise) {
    $noticeMsg = yield $promise;
    logConnectionLevelNotice($noticeMsg);
}
 
user895378
6:54 PM
I don't think we should build our APIs around the functionality that's available in libpq or in a specific extension. I think we should build our APIs around the most useful and simplest way to expose the important functionality.
 
user895378
In general this is something we, as an industry, are terrible at doing.
 
user895378
Also: there is a ton of value in exposing the bare minimum possible API.
 
user895378
Don't make me think. Tell me what I need, don't give me everything and make me figure it out.
 

« first day (2050 days earlier)      last day (2901 days later) »