« first day (2425 days earlier)      last day (2523 days later) » 

12:00 AM
@Wes mood, genre?
 
Wes
anything. also comedy
 
ahoy hoy
 
@Wes Dirk Gentlys Holistic Detective Agency
 
Wes
tv series?
 
12:15 AM
yes, a collegue also mentioned it favorably, for humor.
 
<- doesn't really watch comedies
 
Wes
damn phpstorm is so broken
php7 made a mess of it
not sure about that. i dislike frodo :B
no wait. i dislike the other one
harry potter
 
 
1 hour later…
1:44 AM
Is there an easy way to allow whitespace in regex in php (to make it more human readable)?
 
@Julix Yes; look in docs for modifiers.
 
Wes
2:01 AM
/x
 
Thanks! :)
 
mornin'
coffee
 
 
2 hours later…
3:52 AM
morning!
 
4:32 AM
morning
 
5:05 AM
good morning Gordon
 
mornin
 
afternoon
 
5:31 AM
@Trowski Any reason for that? The class is tested and it's just that one class. If we go with 0.1 we'll probably stick with that forever, as nobody wants to move to 1.0 just to break all dependencies.
We can just release a 2.0 if we need to.
 
@kelunik I see your point. I just pushed an isValid() method in another branch. Might be useful for externally determining if the generator completed.
 
Dunno whether we need that, but it doesn't bloat an interface, so I'm fine with potentially unused methods.
 
@kelunik If that's fine then, merge that and tag v1.0. I can't see changing anything else at this point.
 
@Trowski Even if, the methods are final, so changing thing is mostly fine.
 
5:48 AM
Learning AI when you suck at math is an enjoyable series
 
@Trowski Done.
 
posted on June 06, 2017 by kelunik

Initial release.

 
@kelunik Woot! Most of the other libs will probably require alphas and/or betas before tagging a 1.0.
 
@Trowski Are we going with 0.x or 1.0 releases?
 
@kelunik Guess it depends on the lib. Many of them I'd be comfortable just going with 1.0.
 
5:54 AM
@Trowski Same here. Not sure on amphp/dns, we're currently at v0.8.14 which indicates it's rather stable, but as the new one will be a total rewrite...
 
@kelunik Hmm… there I'd probably go with 0.9 since that lib is so important.
 
@Trowski Same here. dns + aerys + parallel probably 0.x
 
6:51 AM
"tag" will be "tagged"
"category" will be what?
 
categorize?? confirm it it's just my thought
 
ok thx
 
> so basically some motherfucker exploded a firecracker where thousands of people were watching the champions league match, the crowd in panic started running and walking on each other, hundreds injured and 1 or 2 deads
@Wes That's what was flagged ^
Sorry you got suspended for that, I missed it.
 
you are to late :(
does google cache payment also?
 
7:18 AM
I can't believe people took this question seriously
3
Q: How can I send YAML over AJAX?

Jimbo Please focus on the technical aspect of this question, and not on the why. The why is obvious: YAML is the most human-readable data serialization format available to man. And therefore, the best. How can I send YAML via an XMLHttpRequest from the client to the server, without first convertin...

 
7:30 AM
when i echo $roww['pid']; it prints all values from db but when i print_r($roww['pid']);outside while it prints nothing
$sql = "SELECT pid FROM printtable WHERE post_id =".$post_id;
$query = $db->sql_query($sql);
while($roww = mysqli_fetch_assoc($query)){

echo $roww['pid'];
}
how to print all values from db outside the while
 
morning
 
i have doing something google cache this content and what users credit card number pin number all are in plaint text .....
 
Ouch :o
 
7:46 AM
does this mean ccavenue save user information in plain text or above screen shot shows data at time of transimission?
 
hi all
 
@Linus where did you get that from? I cannot fetch this from google cache
 
@Jimbo this code (from your question)

xhr.send(string_of_yaml_formatted_data);

is that sent in the body of the HTTP request (like form field values)?
 
@Gordon that's a year old
i am just backing up my data came and across this
 
issue was probably discovered and fixed
but maybe stay away from them
 
7:59 AM
ok,does it create problem for me?
 
Anonymous
@Linus the main concern here should be XAMPP and notepad++ :B
 
Anonymous
moins.
 
Morngin
 
@JayIsTooCommon and notepad..
 
mornin PeeHaa
 
8:14 AM
@JayIsTooCommon lol
 
8:24 AM
Mornin!
 
Anonymous
seano
 
Anonymous
!!wotd
 
brinkmanship: the technique or practice of maneuvering a dangerous situation to the limits of tolerance or safety in order to secure the greatest advantage, especially by creating diplomatic crises.
 
mornis o/
 
Anonymous
pedrotholian
 
8:28 AM
!!dad
 
Did you hear about the restaurant on the moon? Great food, no atmosphere
 
weehooo weeehoooouu
 
Good morning.
 
8:45 AM
@the_velour_fog Just send it in the body yep
 
@Jimbo thanks, yea it took some digging but I found the mdn documentation: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send , e.g.
xhr.send("name=foo&id=1234");
 
Don't forget to set the Content-Type header
moin
 
@DaveRandom, done...
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
 
:-)
 
Anonymous
moin davidblossom
 
9:02 AM
posted on June 06, 2017

New Cyanide and Happiness Comic

 
DaveBrazzer
 
I'm sure I'm going to regret this but...
!!urban brazzer
 
[ Brazzer ] A brazzer is an Irish slang word or a vulgar word for a female prostitute.
 
Anonymous
fitting
 
That's not nearly as bad as I was expecting
 
9:07 AM
@DaveRandom It's always a gamble with the urban dict
!!urban PeeHaa
 
[ PeeHaa ] A cowboy shouting peeee haaa! while peeing and swinging a lasso.
 
"jimbo" is bad enough that I'm not even going to demonstrate
!!urban madara
 
[ Madara ] A fictional character in the anime series [Naruto]. He's the first Uchiha to awaken the Mangekyou Sharingan and one of the founders of the Hidden Leaf Village. When he discovered he was going blind, he stole his slightly less important little brother's eyes and got a new totally awesome eye ability. He also heleped Itachi kill the Uchiha clan, despite popular belief that Itachi did it himself. He is apparently also Itachi's teacher, leading to the…
 
@DaveRandom Ewwwwwwwwwwwwwwwwww
 
awww, serious ones are boring
@MadaraUchiha yuhuh
 
9:32 AM
o/
 
!!urban Patrick
 
[ Patrick ] All around perfect man and a sexy beast. Known to cause even the most loyal of girls to turn on their boyfriends. Talented with music, words, and kills in any sport he plays. Strong like bull. Always competitive, and ALWAYS wins what he competes in. Some consider to be on the status of not only a god, but THE God.
 
Anonymous
> All around perfect man
 
Anonymous
> a sexy beast
 
Anonymous
9:38 AM
mixed messages.
 
Anonymous
@PeeHaa @bwoebi conference.phpnw.org.uk/phpnw17 we're famous.
 
@JayIsTooCommon Where?
nvm got it :)
 
Anonymous
I think we were both hanging at that point
 
Was looking for a pretty face, but instead found you
:P
 
@Danack github.com/rdlowrey/auryn/pull/158 … is this a BC break or an acceptable fix?
 
Anonymous
9:48 AM
.. rude.
 
@JayIsTooCommon Why is it rude to state the obvious here?
 
Anonymous
don't pretend you don't think I'm pretty
 
I don't pretend, I do know.
 
Faulty returned values openssl_pkey_get_details – #74700
 
> If the last byte is zero byte (0x00), the returned value in the $ret['dh']['pub_key'] is shorter than expected (obviously with one byte in this case).
...
@Ekin any chance you can confirm this bugs.php.net/bug.php?id=74694?
 
10:01 AM
hi friends if any one know how to debug php and javascript code using sublime please tell me..
 
any efficient way to convert the array into the string without using a print_r function?
 
use implode()
 
Idk but I don't like implode, I'll use json_encode with JSON_UNESCAPED_SLASHES
 
morning
 
Anonymous
o/ nik
 
10:08 AM
@PeeHaa wat
 
@PeeHaa whut?
 
fucking hell it actually is
surely there's no string stuff in there
 
please
 
I am too scared to even look
 
10:10 AM
moin
 
ohai
 
10:21 AM
@PeeHaa well, I have no idea. This looks OK to me /cc @bwoebi
 
how can i print particular data outside while loop this my code: $sql = "SELECT pid FROM `printtable` WHERE post_id=".$post_id."";

$query = $db->sql_query($sql);
$print_data = array();
while($roww = mysqli_fetch_array($query)){

$print_data[] = array(
'pid' => $roww['pid']
);
}
print_r($roww['pid']);exit;
 
Your question is quite unclear..
 
@DaveRandom It's C it all looks crap to me
 
when i print it displays nothing outside while loop
 
Anonymous
@DaveRandom what's the purpose of the while?
 
10:26 AM
how can i get my pid value from above code??
 
Could you explain the purpose of the while further?
woops, didnt see ur response Jay
 
Anonymous
@KevinBosman it was to something else, no worries :)
 
how can i print outside while...?print_r($roww['pid']);
 
@JayIsTooCommon it's to turn it into a statement because it's a preprocessor macro. It's invoked from here (through an intermediate macro), it's basically a hack in order to keep the code C89 compliant
 
Anonymous
10:30 AM
@hameed assign it to a variable? or print your array $print_data.
 
Instead of an array, use a string container perhaps.. @ham
@hameed
 
C89 doesn't allow "empty statements", i.e. a ; on it's own is not technically allowed
The while makes the terminating ; at invocation valid
Although tbh, no sane compiler would actually fail on that
Also I'm still not clear on why the PHP source code needs to be C89 compliant in 2017...
 
@DaveRandom looks fine, yea
 
@JayIsTooCommon i assigned it to variable like this but it getting only one value(last value)from the table
while($roww = mysqli_fetch_array($query)){
$pid= $roww['pid'];
}
print_r($pid);exit;
 
Anonymous
@hameed That's because you're overwriting it on every iteration.
 
Anonymous
10:38 AM
@DaveRandom cheers
 
but i need all values how will i get?
 
Anonymous
@hameed Change the code you pasted here chat.stackoverflow.com/transcript/message/37483209#37483209 to print $print_data instead of $roww['pid'].
 
any last words before i move this to voting?
 
@RonniSkansing o/
 
10:50 AM
\o
 
\o
 
that's a bot ^
lol
\o
@Psudohuman sorry i thought you are bot ..
 
Anonymous
@JennaSloan please remove your bot.
 
10:54 AM
@pmmaga It's still a subtle BC break.
 
@kelunik would you rather wait for 8.0?
 
@pmmaga I think yes, but I'm not sure.
 
Maybe I should try to get some feedback from 7.2 RMs then.. that's the common issue with the RFC, and I wouldn't mind waiting for 8.0. Even though I think that there will be very little real use cases that are affected
 
11:25 AM
When I run a composer script, what's the working directory?
 
OT Feeeeels
 
@Jimbo This question..
 
...?
 
@Jimbo i thought it would be the current directory
guess it's not from you question (=
 
Hello
 
11:39 AM
try dumping getcwd i guess
 
Damn typed a 6line long message chat wont let me post it
 
break it into smaller chunks
 
Clipbiard got messed up on my android lost it. It was a dumb question, unrelated to php or anything else on SO. Didnt know where else to ask. Basically
Can a company that does web and app development be called a startup?
There re 4 programmers and an infra engineer and a paperwork lady
Founded in 2016
 
A startup company (startup or start-up) is an entrepreneurial venture which is typically a newly emerged, fast-growing business that aims to meet a marketplace need by developing or offering an innovative product, process or service. A startup is usually a company such as a small business, a partnership or an organization designed to rapidly develop a scalable business model. == Evolution == Startup companies can come in all forms and sizes. Some of the critical tasks are to build a co-founder team to secure key skills, know-how, financial resources, and other elements to conduct research on the...
 
startup is mostly a bullshit term
 
11:44 AM
Yes! Innovative is the keyword. I used to think we werent a startup until my boss said we were todau
 
I thought a startup was a small business designed to generate a ton of hype, get a load of seed money, then sell as quickly as possible
with little to no real products or benefits to show
 
owners of startups brag alot yet they fail 9/10 times..
 
@pmmaga please move it to voting for 7.2.
 
@Leigh that's certainly one of the business models but not the only option.
 
@PeeHaa It reminds me of student in a bad connotation :-)
 
11:47 AM
date("o", strtotime("2017-01-01")) returns "2016" – #74701
 
@Fabor how's the tropical disease collection coming on?
 
Applied for jetbrains startup discount and were approved today. Should i just refer to the company as small business then?
 
@Leigh Funny you say that as I am ill currently.
 
@Leigh is there a reason this isn't committed yet? edit.php.net/?project=PHP&perm=en/json.constants.php
 
Things are good though. Still not working :P. How are you?
 
11:48 AM
@Fabor explosive gonorrhea?
 
@Leigh That's so common here I don't consider it illness anymore.
 
@PeeHaa It's just the JSON constants page?
 
@Fabor yellow fever? breakbone?
 
Nah, just a cold. Despite it being nearly 40c :P
 
boooooooooooring
 
11:51 AM
Mosquitoes aren't a huge problem here.
heh. Yeah. I'll try to get something more exotic next time.
 
@PeeHaa meh just delete it, fuck mcrypt
 
@RonniSkansing Yeah the question is from me, but it was poorly worded. I meant, when composer runs post install command scripts, what's the current directory that the script thinks it's being run from
 
I guess you were referring to the mcrypt constants one rather than json constants
 
@Jimbo I think it's the directory you run it from... but dont take my word, I am really in doubt. Share when you find out (=
If I remember right it' cwd as I was doing some tests with sudo evilness when changing a package to a plugin type
but that's like +1 year ago
 
@Leigh kk \o/
 
12:01 PM
Yes, it is the current directory
 
@Leigh err yeah
tnx
Can't delete it :P
 
@bwoebi I would like a bit more feedback.. Wouldn't want it to fail just because of the timing.. :/
 
morning
 
12:19 PM
o/
 
o/
 
\o
 
o/
 
12:21 PM
\o
 
o/
 
\o
 
o/
 
o/
 
12:24 PM
\o
 
this php function . date("h:i:sa"); prints the time now what I should do if I want to prints the time now + one hour
 
Anonymous
~$listcommands
 
Available commands:
Builtin: asm, help, learn, list, listcommands, unlearn
Learned: fib
 
how do I delete all docker images in a certain repo? docker rmi repo:* doesnt work
dont tell me this again requires awk
 
12:27 PM
probably something ala
docker rmi $(docker images -f someFilter -a -q)
 
@Fabor could this achieved by simple code?
 
<?php echo date("F j ", strtotime($row->msg_sent_time));?> i need a format like gmail inbox current message for current time will display,next day the same message it will display like example jun 05 pls help me any one
 
@RonniSkansing this is ridiculous. but thx.
 
Yea, I am not sure the filter can say, eh this repo
I only do something like that to clean out
docker rmi $(docker images -a -q) or etc with containers
 
@JavaFan Simple sure. Almost as simple as googling it tbh :P
 
12:32 PM
@siddum first off, paste your code in gist.github.com or pastebin.com, and make it readable. Second, reword your question because it doesn't make a lot of sense.
 
@Gordon perhaps docker rmi $(docker images repoName -a -q)
 
I did docker rmi $(docker images -q) now. that deleted all the images but I only had those I wanted to delete anyway
 
great
 
awful
I am considering removing the docker sticker from my notebook
 
$date = new DateTime();
$date->add(new DateInterval('PT1H'));
echo $date->format("Y-m-d H:i:s");
 
12:34 PM
@Gordon so I shouldn't jump on the docker bandwagon
 
@Tiffany you should to try it out
 
Aye. Helps to have a reason to though.
 
I think docker has worked fine for me, once I got the hang of it
 
is it like in between xampp and running a VM?
 
qualified ranting is always a good reason
@Tiffany not really. its a container.
 
12:36 PM
@Tiffany It's like an onion made of VMs
 
thats not a xampp because xamp is several apps in one package to install locally.
 
docker scares me because of the horror story I read about some developers running it in production
but for dev, it has me curious
 
and that's not a vm either because vms are a complete system
 
how can i send array over php sockets ?
 
a container is a supposedly lightweight throwaway service linked to many other containers
 
12:38 PM
in terms of learning curve, is it in between xampp and running a VM? where xampp is the easiest, and running a VM is harder
 
Every app has its issues and growing pains.
 
@Tiffany no, much higher
 
@jagdish Serialize it in some fashion.
 
@Tiffany If you want to upgrade from XAMPP I would suggest learning about Vagrant/Virtualbox/phphet
 
Anonymous
@Tiffany i'd say running a VM is easier than hacking around with XAMPP
 
12:39 PM
@Fabor Your code prints the same my code
 
@JayIsTooCommon Nah
XAMPP is generally install and forget.
 
Anonymous
I've always found it to be a complete PITA. Linux box much easier imo.
 
I've messed with vagrant, had trouble with it connecting to my host machine though with the port forwarding. But looking back I think it might have been a problem with how I had Virtualbox configured and not vagrant. I'm looking into it again because of @Jimbo's "rapid dev box" vagrantfile
 
Anonymous
also hai madara, fapor, tiff o/
 
XAMPP is generally a no-go
 
12:40 PM
Hey James
 
@JayIsTooCommon \o
 
@Fabor docker \o/
 
You're touching towards sysadmin stuff though @Tiffany. If that's a route you want to know more about.
 
I use xampp for quick stuff, but I do want to migrate to using vagrant.
 
Very rewarding
and annoying/stressful
 
12:41 PM
@Fabor nah, it's devops. you do it all through code
 
@jagdish json_encode it
 
Yeah, the stuff I've been working on at home, it's similar to the stuff that the sysadmin does at work here XD I can actually start to understand what he's saying now and it's a bit scary.
 
@Gordon If it works :D
 
I question if devops is the route I wanna go career-wise
 
@Fabor it never does
 
12:42 PM
heh
 
but I curse more at setting up a linux box than my programming, so probably not
 
DevOps sounds cooler anyway.
 
Anonymous
@Tiffany setting up a linux box should be easy. What is it that you struggle with?
 
@JayIsTooCommon unless its a centos 5.11 i386 :P
which is what I am currently doing. to turn it into a docker container.
dont ask
 
Anonymous
that sounds fun :B
 
12:46 PM
@Gordon isn't there some ready image you can pull and launch?
 
@JayIsTooCommon understanding permissions and what needs to be the owner of what
like what should be the owner of php, mariadb, nginx
 
Anonymous
pffft that's what 777 is for
 
or apache if I switch to that (and the only reason I'd switch to it is because nginx is still terribly new to me, and I feel like I'm trying too many new things at once, plus most tutorials go from apache to nginx. I'm not sure if there's an IIS to nginx tutorial)
isn't 777 bad?
 
Anonymous
yes :P
 
@HamZa yno. centos never released i386 images and 5.11 is EoL and needs all yum repo urls changed to vault.centos.org
there is images by 3rd parties for that but who can you trust?
 
12:52 PM
@Gordon but you can lookup their docker file on github right :_)
 
@HamZa but I'd need to check the archives with the rootfs to make sure
 
@nikic Did you run the parser bench through perf?
 
@kelunik You mean @NikiC … nikita_ppv is his twitter handle
 
Anonymous
@kelunik wrong ping
 

« first day (2425 days earlier)      last day (2523 days later) »