« first day (3008 days earlier)      last day (2166 days later) » 
00:00 - 15:0015:00 - 00:00

00:03
of course it does ...
but it's one in the morning ...
I think I'm old now ...
\o
00:15
o/
now don't change anything ...
00:34
Missing note about OS specific behavior – #77436
@Tiffany ah, so berserk
@tereško that's the other anime I was thinking of
01:05
/me sleeps
Wes
Wes
01:22
might be time for the cross country skis first use
omg
02:09
@Wes it snowed?
Wes
Wes
02:26
yeah
Jpv
Jpv
02:42
Curious: are you guys more productive listening to music while coding? or watching a movie / video on the background? or just silence?
@Jpv depends on my mood
if I'm coding though and I want to listen to music, I usually put on something without lyrics
Most of the time I like to listen to music that I know. e.g. albums I've played dozens of times before. But when I'm doing something very difficult, only silence will do.
Wes
Wes
music without lyrics - instrumental metal or electronic music
lyrics get distracting
Wes
Wes
yeah
02:46
if I'm writing really boring documentation, I will throw something up in netflix and listen to it in the background
only way to keep me motivated to continue working on the documentation
02:58
listening to music in a language I don't understand is also good: youtube.com/…
Die Krupps
Wes
Wes
perhaps there's too much snow now to go outside... maybe tomorrow if snow doesn't melts during the day
@Wes probably need to go early looking at the temperatures...
Wes
Wes
for tomorrow?
well, today technically.
03:13
it's always today somewhere
Wes
Wes
i don't know what we are talking about :B
"I probably need to go early, looking at the temperatures" ? :B
@Wes The snow isn't going to stay around too long if the temperature is a lot above zero.
Wes
Wes
aaaah... well, do weather forecasts ever work for you? coz sometimes they are like a season off :B
anyway, says it snows all week
so SO question here - is there a way to highlight a section within a code block? I'm sorta tempted to way overexplain something right now
I really hope there isn't........ just do the ol' \\ <----- look at this ?
03:28
it's mid-line, part of a regex
Wes
Wes
aha
someone trying phpstorm's eap? does it have something resembling typed properties support? i'd be fine with syntax only support :B
04:24
it's safe to output data from data base on HTML this way?
<h3><?php echo htmlentities($articleTitle['title'], \ENT_QUOTES, 'UTF-8', false); ?></h3>
i read somewhere that it could be vunerable to xss, or another thing, i don't remember
maybe it's only unsafe if it's from user supplied data?
Wes
Wes
05:12
god my english is horrible
the word order is all wrong
@Wes please don't start stuff like this with "As you know" (or "As we know" or equivalent).. it's presumptuous, but more importantly it grates on me in a way similar to "please do the needful"
hello
also I'd very much like to stop special-casing particular unions and instead have them supported directly
Wes
Wes
funny because i wrote the exact same thing once and i got in response "no shit", like i was stating the most obvious thing ever :B @PaulCrovella
IteratorAggregate|Array is a lot to write though, even with unions i'd prefer having iterablefactory anyway
if we do know, it doesn't help for you to tell us we know; if we don't know, you're wrong to say we do; and it implies universal agreement when that might not be the case
05:21
o\
just drop the phrase, it's safer that way
Wes
Wes
ok, can't edit the mailing list, obviously, so i am sounding like a cunt
which is maybe progress from sounding like an imbecile
great.
don't worry, I doubt most folk care as much.. but it's a peeve of mine
as for the proposal - if you're talking about adding typedef to the language so you can alias the union yourself (along with adding the unions, obviously), I'm for it
Wes
Wes
it's good to know... of course wasn't my intent to sound a smartass, but rather point out that i was stating something very obvious
no, just for that union, like iterable
05:26
yeah I'm not for that.. I wasn't for the others either, for the same reason..
Wes
Wes
i asked levi and said actual union types would be better.. i agreed... but then again i realized that iteratoraggregate|array is a lot to write... i would like a shortcut anyway
may not even need a new keyword... use array | IteratorAggregate as IterableFactory would probably suffice
I can't tell how horrible that idea is yet
also, as an aside, can we get some fuckin' enums up in this bitch already?
Wes
Wes
i am actually working on this stuff, userland, kinda like typescript but no one is willing to help. it's not that i cannot do it myself, it's more that it's a very boring project, it's better executed in group with supportive people :B
or i should do this
i am vaporware
i want that on my gravestone
damn that'd be cool lol
05:54
I foresee the order on that gravestone having an eta of 6-8 weeks
Wes
Wes
the order?
> a request for a product to be made for you or delivered to you
Wes
Wes
lol :B
lol
o\
06:14
Missing documentation from session_unset() – #77437
 
2 hours later…
Wes
Wes
07:51
it's still snowing like crazy
impresario a person who organizes or manages public entertainments, especially operas, ballets, or concerts.
@LeviMorrison Don't see why not
@JoeWatkins It doesn't? huh
@NikiC no it does, I was just really tired and wrong ...
I was printing a file with phpdbg that didn't even use() ...
lol
08:26
yeah, it was a long day yesterday, I'm allowed to say stupid things if I've been sitting at a computer for 18 hours ...
@JoeWatkins what's the actual purpose of this sandbox? eval()ing some random php code? :-D
@bwoebi the same purpose as any sandbox ... sandboxing ... isolation ...
@JoeWatkins you usually sandbox to restrict the permissions of other code or so that crashes don't propagate beyond the sandbox
@JoeWatkins but your sandbox is not (yet?) doing any of these?
08:30
of course it does, it executes the code in another thread, it can't crash the calling thread except if you make php segfault, which should be pretty hard (as hard as it is normally) ...
@JoeWatkins recursive calls usually do the trick
does anybody know why lxrs keep falling over? Is it that hard to run?
@Sjon There's only one way to find out! ("And that's the story of how we got lxr.3v4l.org") :P
@pmmaga tempting - but I see it's written in Perl - not my favorite
@PaulCrovella can we have that for @PeeHaa?
08:43
like we ever need to ask that
Xuna01Ki – #77438
@PaulCrovella yeah, it's a rhetorical api
@Jeeves that's a long-winded way of reporting that the bug tracker lacks spam protection
I need help about aws transcoder
anyone here worked with it?
@Gordon well if you insist ... shouldiblamepeehaa.com
can you help me about hls encryption?
morns
morn
<?php
if (DEFINED("SANDBOX")) {
	function recurse($val) {
		return recurse(!$val);
	}
} else {
	$sandbox = new \sandbox\Runtime([
		"memory_limit" => "4G",
		"max_execution_time" => 3
	]);

	$time = microtime(true);

	printf("Started ...");

	$sandbox->enter(function () {
		define("SANDBOX", true);

		include("sandbox.php");

		recurse(true);
	});

	printf("and finished in %.2f seconds", microtime(true) - $time);

	$sandbox->enter(function () {
		echo " ...and entered back into the sandbox\n";
	});
Started ...and finished in 3.00 seconds ...and entered back into the sandbox
@Sjon can't stop zend from overflowing, but we can make stupid code safe to execute ...
09:01
@JoeWatkins your code 1\procedueral 2\ oop 3\functional
@JoeWatkins interesting
yeah ... sandboxing ... /cc @bwoebi ...
@JoeWatkins hehe and now just catch segmentation violations, kill the thread and happily continue - it's sandboxed so shouldn't even have sideeffects on the global state?
well ... php does have some global state
for example dl()
it's possible to make it catch faults I think ... I wasn't going too ...
gimme some code that will always fault ?
09:21
I'm very excited about the launch of Amazon DocumentDB, a MongoDB 3.6 compatible database that works with all your traditional MongoDB CLI tools and drivers: https://aws.amazon.com/blogs/aws/new-amazon-documentdb-with-mongodb-compatibility-fast-scalable-and-highly-available/
"guys, let's build a new document db." , "why not just use mongo?", "that's a great idea. make it fully compatible with mongo", "ummmm…" #hear/speak/talk/no/evil
Sounds like the same thing they did with Aurora / MySQL
@Gordon that's not really about software, but scale ... I think you'll find that if they could have deployed mongo to the kind of infrastructure they describe, they would have done so and not wasted considerable resources designing their own software ... unless you are amazon or google, it's difficult to design software that works at the scale at which either of those two things operate ...
@JoeWatkins how about public function __toString(){ return (string) $this; }
oh of course
I'll have a look ... I was happy with this in the description: With these restrictions in place, we can be sure that a sandbox may do anything up to but excluding making PHP segfault, and not effect the environment that created it.
@JoeWatkins not sure about that. its a product offering so they don't really need to bother that much about scale, right? imo, it's more about migrating more tech into AWS.
09:29
they need to know it will scale with the uptake, and I would assume they couldn't know that without spending the cash ...
I would like to change the word excluding for including ...
09:41
@Gordon it's not like mongodb has an open-source-friendly license... :)
cough cough vendor lock-in
parse_str segfaults when inserting item into existing array – #77439
@Jeeves god dammit
@NikiC sry, just found it. ALso present in 7.3.1 #FYI
7.3 is a bit crashy at the moment ...
we're doing testing and there's some strange stuff going on, but I can't extract reproducing cases ... or even a symbolized backtrace ...
I think rasmus is in the same position ...
09:59
@Sjon Old bug actually, 7.3 just makes it crash
@JoeWatkins Dmitry has been optimizing PHP, time to first segfault now greatly reduced :P
10
@NikiC haha
@JoeWatkins 7.3.1 seems to resolve a lot of them - did you test that? Eg. bugs.php.net/bug.php?id=77312 seems to have disappeared
yeah
look at those lovely traces, we're not getting anything like that ... utter nonsense is what we're getting, traces that don't make any sense at all and are missing symbols, or what looks like overflows but the addresses don't make sense ...
and they're not execute_ex+offset, they're nonsense ...
That's how I refer to myself at work… senior segfault producer
well, and mischief executive officer
10:31
Guys if anyone please help with this:
Is there a way to find out how to use a SOAP service with only this link:

https://www.buergel-online.de/b2c-ws-test/services/b2c/v1/riskcheck?wsdl
how to send a request with PHP to it
102
Q: How to make a PHP SOAP call using the SoapClient class

user1305445I'm used to writing PHP code, but do not often use Object-Oriented coding. I now need to interact with SOAP (as a client) and am not able to get the syntax right. I've got a WSDL file which allows me to properly set up a new connection using the SoapClient class. However, I'm unable to actually m...

@lewis4u you see the first thing you should understand is the S stands for Simple...
krakjoe@fiji:/opt/src$ sudo service vboxdrv status
● vboxdrv.service - VirtualBox Linux kernel module
   Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: enabl
   Active: active (exited) since Thu 2019-01-10 11:32:51 CET; 1min 26s ago
  Process: 7952 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, sta
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/vboxdrv.service

Jan 10 11:32:51 fiji systemd[1]: Starting VirtualBox Linux kernel module...
Jan 10 11:32:51 fiji vboxdrv.sh[7952]: vboxdrv.sh: Starting VirtualBox services.
am I reading that wrong ?
@Wes hammer needs to be doubleclawed ¯\_(ツ)_/¯
Wes
Wes
10:35
that wouldn't be thor's hammer
but it would be php's hammer
I've debugged 2 bugs specific to opera, an old ios app, deploy issues on an oold angular codebase and some ridiculous tasks in a php 5.4 legacy jungle the entire day...
is there a button I can hit that can nuke me from the orbit
I know howto use PHP but don't know how to make a wsse header with PHP
@Wes also, thor isnt an elephant, so that argument is somewhat weak ;)
@Wes some good ideas have really bad consequences ... like I'm walking down the street in my php hoodie and I see on the other side of the road someone wearing a Laravel inspired design of the same type ... obviously, I have to murder them, so I chop their face off and the next thing you know, I'm in prison for 25 years and my children don't have a father ...
10:38
@JoeWatkins well, yeah, if you abort blindly after faults you'll probably leak some non-zend-allocated memory. humm. Probably not that great.
Wes
Wes
as i said, i am going to give it to projects that need help, not anyone
:D
@JoeWatkins that is a purely theoretical scenario. we all know laravellians would only wear it, if the elephant had TO's head on it.
Wes
Wes
how about you find a medical solution for that stick you store in your bottom @Gordon
@JoeWatkins yeah but dude doesn't have a face so it's worthit
Wes
Wes
@JoeWatkins that escalated quickly tho
10:41
@Wes geeez, you're soooo touchy. I mean, i could have said you drew ganesha in a vikings costume :P
that's how life is sometimes, you're walking down the street, and chop: no face ...
Wes
Wes
lol
@Wes also, I don't need a medical solution for that. I have lube.
Each REST API request must contain identification and authorization parameters.

Some REST APIs may function without these authorization parameters
@Tiffany The most epic thing I've seen in my life reddit.com/r/aww/comments/aeb2i7/…
2
10:43
it's true, billy idol wrote a song about it
@mega6382 hilarious!
I have read and understood the rules
I haven't. What are they?
they all start with "thou shalt not ...", there's one about farm animals, I forget the rest ...
don't farm animals. got it.
10:55
cows are hard to plant anyway, you need a great big hole, effort, and they struggle ...
11:09
that's why I planted eggplants. much easier than cows and you get eggs without harming no chickens
but what does the egg plant?
@PaulCrovella more eggs?
you're not making any sense
are you for real? :P
well I don't know that I'm against it
11:18
But you should know
if anybody should, you'd think
exactly
One would've just assumed that anyway
11:49
mornin room.
@Sjon If that one no longer reproduces, can you close it?
12:02
@NikiC yes, just did that
@NikiC "Move everything over to the slot API" - oh, nice :-D
ZVAL_DEREF(prop); if (Z_ISREF_P(prop)) ...
@bwoebi Turned out to be quite useful and necessary to fix more bugs
E.g. various foreach / dumping stuff was broken because it used mangled keys to look up props
> we should move it to PECL to clearly state, this should be avoid
that doesn't say very good things about PECL
12:23
@PaulCrovella interesting, where does that quote originate?
12:49
Does somebody knows if I can send a chat message to Google Hangouts API using PHP Curl?
If it's a public API I don't see why not
If it's a less public api you would have to do some reverse engeineering
Morngins room
Well I've tried so hard, I am able to do it without problems in Python
but when I try to do the same in PHP it gives me errors like invalid JSON or invalid parameters
Compare both ways of doing it. Especially what you are sending over the wire
there should be a comment flag specifically for people citing w3schools
@PaulCrovella who cited w3schools?
Horry shit that looks good for my breakfast
needs more cheese
PeeHaa I've checked
I've used raw post in Postman and everything is ok like in python
I've read that you can send raw data with curl simply setting a string with a valid json in CURLOPT_POSTFIELDS
I have something like this: curl_setopt($cli, CURLOPT_POSTFIELDS, '{ "text": "hello" }');
It's the Volcano burger: salad, tomato, red onions, pickles, handmade sour creme, warm cheese sauce, 170g beef (medium grilled). I added a fried egg.
but it still giving me an error of bad json
"Invalid JSON payload received. Unknown name \"{ \"text\": \"hello\" }\"
13:11
@JoeWatkins they also have one called the cheese monster which has six different kinds of cheese
I have tried with http_build_query() ( which doesn't work cuz isn't json ) also sending an array directly
everything fails
@Osakr That sure looks like double encoded json data
that's wrong POSTFIELDS
Wes
Wes
@NikiC what's the difference in doing $throw in spl_autoload_register? i don't quite get it
should be urlencoded or array
13:13
@PeeHaa but I ain't doing any json_encode to the string
What @JoeWatkins said
You are trying to send it as a form
It just needs the raw body data
how do I change to raw body?
also I've sent it like an array
show the whole code
and the api simply doesn't recognize the content
well is quite hard the show the whole code since it is fragmented
but gimme a sec and ill send the curl part
$cli = curl_init($this->callbackUrl);

if (!$cli) {
die('Could not initialize the webhook');
}

$this->post_fields = $this->getPostFields();
$cli = $this->setCurlOptions($cli);

if (!empty($this->post_fields)) {
// En caso de que el payload no este vacío añadimos sus elementos a la petición, utilizando
// parámetros POST
$_p = true;

@curl_setopt($cli, CURLOPT_POST, 1);
@curl_setopt($cli, CURLOPT_CUSTOMREQUEST, 'POST');
@curl_setopt($cli, CURLOPT_POSTFIELDS, '{"text":"hello"}');
}

$out = @curl_exec($cli);
I've also tried this changes:
@curl_setopt($cli, CURLOPT_POSTFIELDS, ['text' => 'hello']);
and @curl_setopt($cli, CURLOPT_POSTFIELDS, http_build_query($this->post_fields));
also i tried to json_encode the array in the second attempt
@Osakr how do you know all those @ aren't hiding a critical error?
13:27
If there were any critical error I would not get the response from the google API at first
Good morning, all!
Would be OK to open a question about my issue?
Seems to either throw or fail silently
No idea why it exists though
This problem is driving me a little crazy
Wes
Wes
13:31
i don't know why you wouldn't want those errors to be thrown @NikiC
they are called when spl_autoload_register is called, or when the callback function is called?
@Wes when spl_autoload_register is called
Wes
Wes
so dunno why it exists either :B
@Osakr ...
<?php
// aqui, esto es como hacerelo, para un array
function post($endpoint, $array = [], $headers = []) {
	$curl = curl_init();

	if (!is_resource($curl)) {
		throw new \Exception();
	}

	curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
	curl_setopt($curl, CURLOPT_URL, $endpoint);
	curl_setopt($curl, CURLOPT_POST, 1);
	curl_setopt($curl, CURLOPT_POSTFIELDS, $array);
	curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

	return curl_exec($curl);
}

echo post("http://localhost/test.php", [
	1,2,3
@JoeWatkins thanks, i'll test it
Wes
Wes
any idea on how i can track down that kind of info? like when it was introduced
13:39
It does
should be the headers what was wrong with my code?
@Wes git blame
Wes
Wes
i wish i could use git... lemme try... never did that... but last time i checked out php-src took me like 20 hours
@Osakr no se, lo no puedo leer :)
@Wes you can blame on gh when viewing the file. no need to checkout
@JoeWatkins muchas gracias de todas formas, me has quitado un peso de encima :)
Wes
Wes
13:45
found it
de nada
@Wes great
Holy crap, my hacktoberfest tee came in the mail this morning :V
Wes
Wes
mine yesterday @Sean \o/
13:48
Woop! Never thought it would arrive!
so, not in your wildest dreams did you imagine that a t-shirt that you ordered would arrive ?
maybe read more books :D
@Wes that is to counter github.com/php/php-src/commit/… - which removed errors without explanation :P
swag days are good though ... they're better when you don't have to pay for the swag ...
Wes
Wes
@Sjon how is that related to inet functions? :-|
@Wes it was a joke about commits that add/remove warnings without explanation
Wes
Wes
13:51
ah lol
those commits have a very high degree of 'I currently like it this way'
Wes
Wes
@JoeWatkins i genuinely thought it was lost, because it was shipped about 20 days ago for me
with an attempted ddos, is it common for the attacker to hit multiple pages within a site?
@JoeWatkins They did the same last year, said they sent it out and I never received it
@Tiffany I'd pick the page that takes longest to generate and hit that frequently instead
13:54
@Sean happy new avatar
I was being facetious ... or a dick ... you can ignore me ...
hmmm, trying to determine if this was a fuzzer or a ddos, I thought it was a ddos but it's looking like a fuzzer
@Wes you should keep it as your own money, and then decide what to do with your own money yourself.
@Sjon hmm ... but would that be an effective strategy though, since even your basic web application (wp) is using caching, if you can discover many points of attack then use them ...
if you're going to storm a building, you don't queue up at the front door, you have everyone smash a window or door and get in fast as you can ...
Wes
Wes
@Danack not enough visibility to make much
14:02
have you tried a brightly colored vest?
Wes
Wes
i tried to set myself on fire
meaning... you failed to set yourself on fire?
perhaps your inability to use tools is a blessing
3 messages moved to Trash
Wes
Wes
:B
Wes
Wes
14:19
@Tiffany that was so uneventful
i was expecting the cat to freak out :B
@Tiffany lol
14:50
@Wes it doesn't always end in claws and tears :3
that's what they want you to think
it just hasn't ended yet
@PaulCrovella Kitty Meets Dog, Redux
Wes
Wes
i always hate to see cats near dogs, because i used to know someone owning a cat and 5 blind dogs
cats are vicious animals... and dogs are silly...
i like them both ftr, just not together at the same time
does anyone know if this bug (or something similar) might have been reintroduced at some point?
https://bugs.php.net/bug.php?id=68361
@GNi33 it might never have been fixed...
14:56
I get a segFault on a soapClient->__getTypes() on 7.3.0 and I really don't know what to do with it anymore
Wes
Wes
reproduce code? @GNi33
the same as the bug report?
I'm using this package
not sure if I'm able to share the WSDL right now though
00:00 - 15:0015:00 - 00:00

« first day (3008 days earlier)      last day (2166 days later) »