« first day (2030 days earlier)      last day (2915 days later) » 
00:00 - 17:0017:00 - 00:00

Wes
12:00 AM
:P gn. i should go to sleep too
 
@crypticツ please look at github.com/kittsville/WP-Librarian/issues/37 (sent on behalf of a friend)
 
Wes
12:39 AM
i wish android stopped telling me that the sd card is full
 
Ekn
12:58 AM
I wish I could remember phpize --clean more often
 
Wes
every time i try to compile php i need to re-learn everything :B
 
Ekn
heh true that. I think I waited make and make test at least 2-3hrs in total today
 
Wes
last time i ran make test i had to wait 5 hours, then it got stuck at some networking test and i had to quit it. also, got fails, warnings and errors comparable in length to the old testament. i don't think people is actually testing php on windows these days :B
even during compile, there are literally thousands of warnings, i had to set the cmd view buffer to 9999 lines (the max value) and it wasn't enough :B
 
Ekn
:/
I've won a battle with libtool not accepting a newer version
worst make test was on openssl, but that turned out my mistake, when properly built it it still had one error though
right now, I'm trying to compile with both openssl and inspector, but it seems I'm missing something
and worst part is... I did all of these correctly yesterday and when I rebooted today it was either loading inspector or openssl but not both :p
 
Wes
1:14 AM
lol, looks annoying :B
assert($technology === $jengaGame);
 
Ekn
:D
exactly
 
Wes
unrelated: ash vs evil dead is a nice series, if you are a fan of cheesy horrors :B
 
Ekn
noted :)
 
Wes
seen the imdb.com/title/tt0083907 evil dead movies?
 
Ekn
nope
 
Wes
1:22 AM
it's a film series from the '80. cheesy/fun horrors. they were extremely popular back then
 
Ekn
yeah posters seem familiar
noted as well
ok I need to step back for 5mins
or else I'm gonna get mad (to myself)
 
Wes
have a beer :B
 
Ekn
ugh :( I only got a small bottle of cheap Blenders whiskey
still it might be nice
 
Wes
that's still probably better than most of beers
so that day has arrived. i need to pick a final decision for a class name, and i'm panicking
 
1:42 AM
hey why is that when a url is ending with number it crashes the browser
can you take a look my regex
 
Wes
"it crashes the browser" nobody's going to click that link :B
this is not the js chat, though
 
oops
forgot sorry
 
Wes
what a lonely place twitter. total strangers i have nothing to share with follow me just to get followed back :\
 
Ekn
Indeed
 
2:13 AM
guys how can i get array different of this
$array1 = array(array("a" => "green", "b" => "brown"));
$array2 = array(array("a" => "green", "b" => "blue"));
use array_diff_assoc and array_diff(didnt work)
 
@Wes no php function for it?
 
Wes
nope, i think
 
kk ty
 
Ekn
yet another 10k tests
 
Ekn
2:38 AM
Number of tests : 14450              9806
Tests skipped   : 4644 ( 32.1%) --------
Tests warned    :    3 (  0.0%) (  0.0%)
Tests failed    :    7 (  0.0%) (  0.1%)
Expected fail   :   37 (  0.3%) (  0.4%)
Tests passed    : 9759 ( 67.5%) ( 99.5%)
\o/ both loads now
too many fails from ext/date/tests/DateTime_*
 
Ekn
2:57 AM
darn run-tests.php is really nice to have
this is just like playing Undertale... after a while there's no one around
all you northerns are sleeping :p
 
 
1 hour later…
Wes
4:15 AM
nope
 
4:37 AM
'nin
 
Wes
\o
 
Wes
4:54 AM
the original we'll fix this later
 
5:13 AM
posted on May 07, 2016

New Cyanide and Happiness Comic

5
 
@Oldskool do you steam two-factor with enabled?
 
5:54 AM
Why so silence.... :p
 
6:20 AM
Hello, I want to ask, is it required to follow psr standards while coding everytime? Mainly for open source projects
 
6:47 AM
Hii
Please suggest on this
 
6:58 AM
@Andrea thanks, took care of it.
 
0
Q: Upload,Preview,Delete images and documents from database using PHP

Kavya ShreeHiii Everyone, I tried with below code for upload preview and delete images. Below is my code for upload and delete. Javascript Code <script> var blank=""; function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reade...

 
Moin
 
7:34 AM
@Praveen It's good if you do.
Because programmers are familiar with it, it will be easy for them to contribute to your project
 
Wes
meh
 
hi
PDO Question incoming
 
Wes
i think php fig got several things wrong, and that's very not assuring
 
i have an SQL Query i am executing using PDO. It is a SELECT COUNT(*) statement.
the problem is that PDO is adding a space between COUNT and (
it should be COUNT() but it is COUNT ()
php code has no space in it but mysql log shows a space between COUNT and (
any ideas?
 
Wes
show code?
 
7:40 AM
o
ok
 
Wes
i don't think pdo generates sql at all
 
o/
 
$sth = $db->prepare('SELECT COUNT(EMail) from Customer WHERE EMail = ?');
$sth->execute(array($email));
 
Wes
do var_dump($db)
i don't think that's a pdo object
 
SELECT COUNT (EMail) from Customer WHERE EMail = 'sethicrudu@thraml.com'
this is in sql log
a space is clearly visible between count and parenthisis
 
Wes
7:42 AM
the actual error is?
 
no error at all. it is just not checking for email as it should
this code worked with sqlite
i jsut changed the PDO driver. didn't touch the code
all is written in ansi sql
 
Wes
i always use COUNT(*), maybe that's the problem
 
count(*) should suffice
 
oh so you mean COUNT(*) instead of COUNT(EMAIL) ??
 
Wes
yes
 
7:45 AM
yeah...
 
i will try immediately
nope no success :'(
still same problem
i tried same command in sql console
it works if there is no space between count and (
with a space it doesn't work
 
Wes
i don't think PDO changes SQL at all. you probably have a DBAL that does that
 
8:05 AM
@Naruto ping
 
mornin
 
@tereško o/
 
Ekn
mornin
 
So I just funded Awful Fantasy the Card Game on Twitter
it then told me these guys also did /cc @JoeWatkins
 
hehe
 
9:39 AM
I guess that warrants a ^5 ;)
s/Twitter/Kickstarter
 
"voting to comment" needs how many rep? I cannot find it here
 
Hi guys. Was wondering is that possible to create a real-time notification by using Ratchet or SocketIO?
 
@Shafizadeh whats "voting to comment" supposed to mean?
you need 50 to comment and 15 to vote. there is no "voting to comment"
 
@Gordon yes. but every comment has two button in the its left side. vote-to-comment and flag-that-comment
 
9:49 AM
@Shafizadeh ah, voting up you mean. that's 15 then. See stackoverflow.com/help/privileges/vote-up
 
@littlepootis "Because programmers are familiar with it, it will be easy for them to contribute to your project" - I deliberately don't follow some standards.....it filters out having to talk to people that are so inflexible that they can't stand ever altering their behaviour. If they're not going to be negotiable on trivial things, imagine what it's like to try to change their mind for stuff that actually matter.
 
@Gordon got it ... thx
What's this PHP team? Can I join it? And what should I do in that team? Does anybody know?
 
10:03 AM
Mornign
 
@PeeHaa o/
 
How do I set up follow location in the request @kelunik. I can only set headers can't I? What am I missing?
 
@PeeHaa There's an options array @ Client::request. (second parameter)
 
O.o
For some reason I totally missed that when reading the source
@DaveRandom merge it so people can start to break it
 
@Shafizadeh it does nothing atm
 
10:23 AM
Oh lol @DaveRandom already fixed the http client
 
Anonymous
@Gordon who is the owner?
 
Anonymous
Request sent.
 
Hi! Does any of you know of any framework created especially for building APIs to be accessed over HTTP (I am talking about something like https://example.com/api?t=loadResource&id=home)
 
What should said framework do?
 
Anonymous
frame work!
 
10:26 AM
@PeeHaa, provide classes that I can extend to create the APIs I need
 
Wes
> You successfully requested to join the PHP team.
 
@Victor Isn't stuff like that domain specific?
 
@PeeHaa well I don't really think so. I mean, there could be something, to allow parameters creation, request method enforcement, parameter typing etc
 
Wes
Wes
Role: Court Jester
sounds about accurate
 
10:28 AM
@Victor So you are looking for a router?
 
@Wes The Court Jester is one of my favorite movies
 
@PeeHaa Yeah, I think that's it
 
@Gordon ah
 
but I'm not sure I actually recommend using it.
 
10:29 AM
I didn't know that was zend's
 
Wes
@Gordon is that a musical? i think i've seen it as a kid, but i wish i didn't :B
 
@Wes it has songs in it, but it isnt exactly a musical
 
@PeeHaa it provides a useful solution out of the box but it is "slightly" bloated.
 
that seems old
I think
and I am writing Hack, so Zend Framework would not bet the best idea, I guess
 
Wes
has angela lansbury in it, and she was even hot. like a million years ago @Gordon :B
 
10:33 AM
@Victor It's brand new..... but as I said, I'm not sure I recommend it. packagist.org/packages/nikic/fast-route + packagist.org/packages/willdurand/negotiation are probably a large amount of what you need...
 
!!google angela lansbury
 
Search for "angela lansbury" (http://bit.ly/1Wg7Ch6)
• Angela Lansbury - Wikipedia - Haar vader, Edgar Lansbury, overleed in 1934 toen Angela 9 jaar oud was. Toen… (http://bit.ly/1Twozxd)
• Angela Lansbury - Wikipedia,… - Dame Angela Brigid Lansbury, DBE (born 16 October 1925) is a British-American… (http://bit.ly/1TwoCc8)
• Angela Lansbury - IMDb - Angela Lansbury, Actress: Murder, She Wrote. British character actress, long i… (http://imdb.to/1TwoBVV)
 
oh...
The hell @Wes
 
@Wes it's with Danny Kaye.
 
@Danack You are the person who created a PHP library about images?
 
Wes
10:35 AM
@PeeHaa never seen murder she wrote? it's still annoying even the new generations
that series must have been aired like for 30 years
 
I think I have seen people watch it in some old folks home
 
never did entirely figure out googling in english, huh
 
!!imdb The Court Jester
 
[ The Court Jester ] 1955, Melvin Frank...
 
I think there was one more thing we could do @PaulCrovella
 
Anonymous
10:38 AM
!!google samayo
 
Search for "samayo" (http://bit.ly/1Wg7VZc)
• samayo (samayo) � GitHub - 6 days ago … samayo has 22 repositories written in PHP, HTML, and JavaScri… (http://bit.ly/1Wg7Y7q)
• GitHub - samayo/bulletproof:… - PHP secure Image uploader, with a nice API. Contribute to bulletproof dev… (http://bit.ly/1TwoIAB)
• Ayobami Samayo Profiles | Fac… - View the profiles of people named Ayobami Samayo on Facebook. Join Facebo… (http://bit.ly/1TwoIR4)
 
Anonymous
@Jeeves good bot
 
@PeeHaa send an Accept-Language header?
 
Not even sure we tried that :P
I'll try to hotpatch production jeeves once I get back from the store to try it out
 
11:16 AM
@PeeHaa you might also try gl=US or gl=GB to get results as you would elsewhere.. also, isn't there an api so you don't have to scrape the page?
 
Nope google doesn't do apis for search anymore. Only custom search (that thing you can put in your own website)
 
lame
seems I've pissed someone off
 
Hi
Java or php
Which one has better future for employee
 
They both suck?
 
I am 20 years old
And too young want to migrate
In the future
 
11:30 AM
Learn to actual do programming so language choice doesn't matter that much
 
Which framework of php is indemand
 
Mistake 1 ^
 
What mistake
 
Learning a framework instead of how to progam
 
What your suggestions
What is your suggestion
 
11:32 AM
Even more so when frameworks are often relatively short lived
 
So you don't use framework to run a website
!!!
It can take a long time
 
I personally don't no
@Markberg Why?
 
@Markberg java
 
Because framework has a lot of tools that can help you to run faster in project
 
There are a shitton of libraries out there which you can use
 
11:36 AM
@Markberg but then again, why not learn both?
 
@Gordon because I want to be professional not a mediocar
 
That's why you learn both
Or other languages
 
@Markberg if you think you can get away with only one language for a professional career, then I have to disappoint you
 
@Gordon What's your idea
 
@Markberg learn both.
and everything @PeeHaa suggested
 
11:39 AM
You say learn to run web app with Java and php
 
brb barber
 
@Gordon Just be a pure C dev. In C ecosystem you rarely need other programming languages; maybe a little of asm, but usually not.
 
And don't use framework
Like Zend, symphany,yee
 
@Markberg have you picked up any of the two languages yet?
 
Yes I worked on php a lot and have very small tutor with java
 
11:41 AM
good. continue with that.
 
And run a small Android app
 
looks like you already made your decision then. why do you need us to help make one you then?
@bwoebi fair enough
 
@bwoebi this is true. one of the better c devs I know can otherwise barely even use his computer - but make embedded shit? device drivers? no problem
 
12:02 PM
anyone else upgrade to ubuntu 16.04 on their home desktop? Having abit of troubles with phpstorm and phpunit due to missing ext-dom (php7 is from apt-get via. their default repo)
 
@PaulCrovella using a computer is far too high-level for a C dev :-D
 
heh
Happy caturday
 
!!rebecca
 
@Gordon Today is Saturday. And Sunday comes afterwards
 
haha
 
@RonniSkansing I'm waiting for 16.04.1
 
kelunik ext-dom is missing (for running phpunit), do you know if it will be available in 16.04.1
I am tempted to remove the repository php and compile it
I just wanted to start writting some code.. I guess its what you get for not rolling yourself
 
@RonniSkansing I think I don't even have a system binary anymore. Wait, I have, php5 is still there.
 
=)
well.. I better get started
$ sudo apt-get remove php7.* -y
 
12:33 PM
@RonniSkansing gist.github.com/kelunik/4e137a8d1ea30408c4d7 < That's the script I use + phpenv.
 
ah thanks man
I was already searching hopeless compiling tutorials
 
@RonniSkansing something like that is hopeless, yes.
 
@RonniSkansing this looks like the package you want php7.0-xml
 
Bisecting php-src isn't fun for my notebook, it gets really hot.
 
12:38 PM
=)
@PaulCrovella I am just gonna run the sudo apt-get install php again and see if the package fits, I didnt notice the DOM in there before now. lol. But think I will compile php afterwards anyways
 
@Ekn you around?
 
@PaulCrovella yea, that package covers it. Thanks
 
@PaulCrovella afaik there is an api but it is a paid one...
 
1:51 PM
@MadaraUchiha can I borrow you when you've got a couple minutes?
 
2:07 PM
> Temperatures are set to soar to 23C in parts of Bristol this weekend
This country....
 
I saw.......
 
Damnit. Test is working fine on dev, but fails on travis :(
 
!!blame travis
 
Not sure what I could have possibly screwed up tbh
 
2:11 PM
@Danack 27 here atm
 
@Saitama Are you on nix?
 
yep
 
Could you pull jeeves and run the tests for me please?
Or if you see what I did wrong without pulling and running that is also fine :)
 
kk np... pulling it :)
 
tnx
I'm overlooking something stupid, but not sure what
#TooHotToThink
Just like @Jimbo's mom
 
Ekn
2:18 PM
@Andrea yep well, almost
 
guys
do you have any idea about how to access an array by some sort of path?
 
E_TOO_MUCH_DEPENDENCIES
 
Yeah there has been some new stuff added :)
 
2:26 PM
like it is done for call_user_func with [ 'classname', 'methodname' ]
 
I have seen that question before in here
 
@PeeHaa talking to me?
 
and on SO main. multiple times. with answers.
 
@Victor Yes
 
Well, I haven't seen it before :))
 
2:29 PM
Cannot find it anymore in chat transcript.
 
@PeeHaa I would be grateful if you helped me :)
 
this is lua "torch" setting my cpu on fire. appropriate naming I guess.
 
:P
 
2:31 PM
What's the output of the logger?
 
lemme check...
 
what, no slither tab?
 
lol
 
@PaulCrovella :P
 
@Victor Just search so. There are multiple posts
 
2:37 PM
@PeeHaa umm... btw, where can I find the log tho, or do I have to invoke phpunit with some options to get the log?...
 
@Saitama Just var_dump(ob_get_clean()); before the failure
 
ah, k!
 
@Ekn you emailed me about ELC, right?
 
Ekn
right I did
 
@PeeHaa string(0) ""
 
2:42 PM
Do it somewhere higher before the call to ob_get_clean that I added
 
k...
 
@Ekn okay. ZEND_ASSIGN is an opcode I didn't implement yet
Basically, so far I only implemented as many opcodes as I needed for that sample code
You could try your hand at implementing ZEND_ECHO and ZEND_ASSIGN if you like.
 
Ekn
@Andrea Alright, I will give a try
 
@PeeHaa found it! thank you!
 
string(85) "[2016-05-07 14:52:30] foo
/home/gourab/Jeeves/src/Log/StdOut.php:26:
string(3) "bar"
"
 
Ekn
2:53 PM
@Andrea what are the NULL ones (x4) for in const opcode_names?
oh that's from zend_vm_opcodes.c
 
@Saitama oooh tnx
No idea where /home/gourab/Jeeves/src/Log/StdOut.php:26: is coming from, but ... :)
 
@PeeHaa np :)
 
Ekn
hum zend_vm_opcodes.c has 5, there 4, I do wonder now what are they for
 
@PeeHaa :/
 
@Ekn the NULLs are just placeholders for unused ids
(when opcodes get removed...)
 
Ekn
2:59 PM
ah I see, thanks
lol I found the very first thing I did with all these :D dammit so foreveralone.gif
visit(); would print "I was bored, glad you visited!" :|
 
3:11 PM
@Ekn they're opcode numbers in the Zend Engine which are unused, I guess. dunno why we have any of those
also, the list I have is as PHP 7 was like, a year ago. the final version's list might be slightly different
 
Ekn
yours has ZEND_GOTO
that's the 5th NULL on my zend_vm_opcodes.c
 
/me pokes head in
 
@tereško Seen the GTX 1080 stuff?
@JoeWatkins o/
 
3:27 PM
@Ekn what version of PHP are you using? 7.0? master?
 
Ekn
PHP 7.1.0-dev (cli) (built: Mar 20 2016 19:35:51) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
 
ahh
I'm using PHP-7.0 currently
because ELC was originally built on master in May 2015, which became PHP-7.0
 
Ekn
I see
 
7.1 changes a few things about, I might need to modify things if I want to be compatible with it
 
@Jimbo yes. But it's just marketing until we see first actual tests with games.
 
Ekn
3:29 PM
I could get 7.0 somewhere as well
 
inspector may not be totally ready for 7.1 either ... I only fixed build there ...
got some new fancy opcodes
 
yeah, maybe the type-specialised ones need special handling
 
Ekn
well, all tests passed with run_tests.php of inspector but I didn't check properly what they actually do
 
forgot about those ...
yeah there's not great coverage actually, gets a bit tricky to write tests ...
was thinking of new bind opcodes
(lexical, static)
 
guys, why do I get Fatal error: Collection elements cannot be taken by reference when trying to dive in a Hack Map by reference? I mean, what can be done to make this happen?
 
3:44 PM
Which CRM do you guys recommend?
For digital agency
 
3:58 PM
@Victor did you try googling the error message? docs.hhvm.com/hack/collections/iterating
 
that page only shows 1 level iteration. I need going deeper and deeper until the path is met
I figured it out however, I constructed an array from that map and it works
 
> You cannot do a foreach by reference with collections.
foreach ($vec as &$val)
This will result in a fatal error, not even an exception.
 
4:14 PM
how can i prevent printing null in json api ? I want "" instead of null.
I am using if($row['event_desc']!="") but no result
 
@ArthTilva possibly jmsyst.com/libs/serializer - but I also question why you want to have blank instead of null....
 
I am android dev. if it is null it creates nullpointerexception in Android.
 
"it creates" - you mean the code consuming the API throw a nullpointer exception. Why not just check for null in that code?
 
I can but putting condition everywhere will not be reliable and that too for null is not good, all of my api have such condition
 
Having invalid data is also not reliable. An empty string is not the same as null.
 
4:31 PM
done.
it was null because of special char.
otherwise condition was correct
 
@LeviMorrison there would probably be a lot less quacking if the vote was presented in the opposite order:
 
@Danack It's not my call, really. It was a concession I had to make to get Dmitry on my side.
 
> Before the vote for adoption into language, should this RFC include nullable parameter types?
Yes - include nullable parameter types.
No - the RFC should only be for return types.
> Should this RFC to add nullable types be adopted?
Yes - It should be accepted.
No - it should be rejected.
Do you think Dmitry would mind if I changed it to be that? Or do you mind?
 
Ask Dmitry in private would be my suggestion.
 
He is just Dmitry in irc?
 
4:48 PM
I think so.
or dmitry, rather
 
@Danack Dmitry is away until Tuesday
@Danack IMHO, the way you propose is more confusing.
 
\o/
 
00:00 - 17:0017:00 - 00:00

« first day (2030 days earlier)      last day (2915 days later) »