« first day (2280 days earlier)      last day (2683 days later) » 

1:09 AM
@NikiC I'll pretend I didn't see you applying patches to mcrypt
@Andrea I can't see how having a typedef and a class with the same name has any benefit, so reusing the table might be a decent solution
 
1:25 AM
Hey anyone currently on?
if so my question is my header isnt redirecting for some random reason
 
1:39 AM
Funnily, it intersects pretty strongly with what @Andrea has been talking about all day. :p
I should really look in chat more often.
 
Wes
2:22 AM
many wants that, i'm working on a userland version of the same thing. will never finish it though :B
i'm very much failing at understanding the point of unit testing. tore down my previous interpretation of it and now i'm very confused even if i'm trying to read anything i can on the topic
while i understand the point of functional (black box) testing, i'm not sure if unit testing even makes sense most of times
i mean, it has for sure some value, but the annoyance of maintaining such tests is enormous... which makes it very unappealing as i restructure my code without affecting functionality all the time
 
2:41 AM
@Wes If your unit tests are testing your public API then you shouldn't have to change them much.
If you keep messing with your API… then yeah, it's going to get annoying.
 
Wes
those are not unit tests, apparently, they are called functional testing
 
Maybe I'm not clear on the definition of unit testing then.
 
Wes
unit tests is about hitting all code paths... is what i get from what i read
while functional testing has no knowledge of the code executed, only the interface
 
That seems to be a common goal of unit testing, I'm not sure if that's really part of the defintion.
 
2:45 AM
It mentions unit testing on the black-box page.
 
Wes
but can also dominate unit testing as well.[citation needed]
that on wikipedia means "it's likely incorrect"
in fact unit testing seems to be exactly the opposite of that
1024
A: What's the difference between unit, functional, acceptance, and integration tests?

Mark SimpsonDepending on where you look, you'll get slightly different answers. I've read about the subject a lot, and here's my distillation; again, these are slightly wooly and others may disagree. Unit Tests Tests the smallest unit of functionality, typically a method/function (e.g. given a class with ...

 
I disagree. Unit testing should be apart from actual implementation.
You're testing small parts of the API to ensure it acts as expected.
@Wes I think that does a good job explaining the differences.
 
Wes
you are being imprecise with that definition. it is true that a test could be both a valid unit test and a functional test, though
going to bed
code examples would help, but anything i read makes me think functional = interface, unit = implementation
 
 
1 hour later…
3:55 AM
morning all
 
4:11 AM
@bwoebi I think it would be better for Message to not implement Stream. As it is in that gist, it's easy to explain the purpose of the class concisely: bytes can be consumed using wait()/read() and any unconsumed bytes are available as the promise resolution value (of course buffering the entire thing nothing is consumed). Having another message that gets bytes without consuming them seems bolted on.
another method*
It also eliminates the possibility of a consumer missing bytes, which for the APIs that would return Message, we certainly wouldn't want that :-P
 
 
2 hours later…
6:26 AM
mrnn
 
6:38 AM
nin
 
@kelunik added "derickr" for derick, added readline and bz2 dev, both of you are in sudo group
@NikiC re bugs.php.net/bug.php?id=71219: I did read before commit, I thought when you just forgot about it after "someone messed up repo" comment ... I also tested the change before I committed ... not sure what to do there now ?
@tpunt yes
moin all
 
7:40 AM
morin
 
@JoeWatkins Thanks!
@JoeWatkins Do we have any shared directory for things like repro scripts?
 
morning
 
morning
 
@kelunik have sudo, so can set something up in /opt or whatever
\o
 
o/
@JoeWatkins Let's see if he needs access, maybe he can reproduce it on his own box, now that I have uploaded the full build scripts.
 
7:56 AM
cool
 
Are everyone having trouble accessing GitHub at the moment?
Or is it just from Israel?
 
> No server is currently available to service your request.
 
neo
@PeeHaa https://www.facebook.com/FacebookforDevelopers/videos/10152795636318553/

it explains the login flow clearly...its not access token that is sent to the redirect page.its access code..from the access code we have to sent request from our own server with app secret to get valid access token
@MadaraUchiha yes github is down here also
 
> We are failing over a data service, you may experience exceptions and delay while receiving notifications. Apologies for the inconvenience.
 
Why is Sunday the first day of the week in the US? WHY?
 
8:08 AM
@Trowski @bwoebi Should call ListenerBuffer instead or is Buffer the name we want instead of Message?
 
It messes up my french calendar
 
@kelunik Where'd you read this?
I checked their twitter and GitHubStatus and nothing
Ah, now I see it
But this isn't a notification problem, this is some actual downtime
 
@MadaraUchiha status.github.com
!!github
 
major: Major service outage as of 2017-01-12T08:11:10Z
 
We are currently experiencing major service outages.
@Jeeves Thanks darling
 
8:11 AM
^ @JayIsTooCommon Why didn't @Jeeves report that?
 
@MadaraUchiha You're welcome!
@kelunik Why didn't what work?
 
@kelunik He just did
 
@Jeeves Automatic GitHub status.
 
@kelunik Why it's grease lightning!
 
@MadaraUchiha Only, because I requested it.
But @Jeeves is supposed to push those automatically.
 
8:12 AM
@kelunik No.
 
Yes, you are.
 
@kelunik I see
 
Morning
 
morning
 
ThW
morning
 
Anonymous
8:35 AM
@kelunik Either the post message failed or the polling is failing, i can't tell without logs /cc @DaveRandom @PeeHaa - either way it's definitely not my fault. I don't make mistakes, ever.
 
Anonymous
moins o/
 
@JayIsTooCommon :P
 
Jek
PHP QUESTIONS COMIN IN TODAY BOYS GET THE SUITS ON AND GET READY TO ANSWER
 
8:50 AM
Hello Everyone
 
@JayIsTooCommon Can confirm. Jay is literally perfect in every way
Moin 11
 
moarnis
 
Anonymous
<3 o/
 
hello there
 
\o v0.0.2
 
9:02 AM
Now a days its really hard to find a good job in php
no company is offering high salary package when compared to .net or java or ios devs
what to do in order to make good money
 
JavaScript is where the money is.
 
ew
 
Mornigbns
 
who broke github ?
 
Don't lookk at me I just woke up
 
9:11 AM
you would say that
 
Anonymous
moin pie
 
@Jeeves who broke Github?
 
@Trucy Me and my boyfriend.
 
Gettin' naughty on the servers eh?
 
fibre++ today ...
 
9:15 AM
Good moonings
 
\o
 
> Ultimately, there should never be a need for someone to be constantly on error fixes – as these simply shouldn’t exist.
 
mornin
 
Talk about blue sky thinking
 
9:17 AM
\o
 
@Sean Ultimately, there should never be a need for someone to be constantly testing – as errors simply shouldn’t exist.
 
@Sean a manager said that ...
 
@JoeWatkins You're not wrong
 
Anonymous
o/ jimboob
 
9:24 AM
How is Mallorca treating you Jimbo?
 
Morning
 
@Sean course I'm not :D
 
Anonymous
o/
 
ormin ekin
better yet ?
 
Kinda yeah, better than yesterday morning at least :-)
 
9:30 AM
I remember what happened but not when, was it yesterday ?
 
@Trowski but then we do not extend Listener anymore…
 
oh tuesday ... you can have one more day I guess .... then I'll need those ingredients :)
 
The day before @Joe
:-) heh I'll make the list at some point
 
github says back to normal now
 
Anonymous
9:36 AM
!!plugin list
 
T-00:10:00 until engineer
 
Anonymous
1 message moved to Trash
 
@JoeWatkins Thanks! I've invited you to the repo (direct article link, along with the article series plan). Any comments on things I've missed, improvements, rewording, etc would also be appreciated.
 
@tpunt I'll have a read today, little busy this morning ... if you don't hear from me before you sleep tonight, ping me about it ... doubt I'll forget though ;)
 
@Sean Great thanks man, deposit put down on the panigale, and flat about to be rented
Did I show you pics of the flat? There's two spare single beds in one room and a sofa so we can have a php house phparty
 
9:48 AM
@Trowski also, why didn't you just retain the function names of Listener?
 
Can someone tell me why these two works as overloading 3v4l.org/3HoeI object types and 3v4l.org/mQhsB for scalars
found such snippet on twitter today, and was experiencing for a minute, also found out that PHP bechaves quite weird when have another two methods - setters with overloaded typoes and then doesn';t work
 
@brzuchal the method names are not the same, despite looking similar
 
It suppose to work like that PHP Fatal error: Cannot redeclare Overloaded::aaaa()
 
...
After all the rebecca shenanigans I expect people to understand what's happening :P
 
@PaulCrovella where is the difference, I don';t see it
 
9:55 AM
@brzuchal a vs а
 
@Jimbo No pics yet, but that sounds amazing :D
 
@PaulCrovella excatly the same but still different
 
no, they are not exactly the same at all
 
i mean they look the same but they are not the same in the code
 
@Sean Check this out ;-)
 
9:57 AM
@Pizzalord depends on the font
 
@PaulCrovella thanks, I didn't saw the difference in my PHPStorm
 
@brzuchal switch your font to Source Code Pro, you'll see a difference
 
I got one
 
Hey @jimbo I got reply from trivago !
 
Anonymous
@Jimbo fuck, that view
 
Anonymous
10:00 AM
and you have a room for @PeeHaa idealista.com/inmueble/29547097/foto/8
 
yeah was just looking at that
It has a spinning "mobile" and everything. So awesome
Is it called mobile?
 
\o/
That language of yours is at least a bit sane
 
you take that back
 
:P
 
10:03 AM
does new mysqli and mysqli_connect both use php-lxr.adamharvey.name/source/xref/master/ext/mysqli/… under the hood?
 
BTW @Jimbo that oven is placed weirdly
As in how can you get into that cabinet? idealista.com/inmueble/29547097/foto/11
 
the plumbing for the faucet is entirely in the wall rather than out under and up from the sink?
 
The view is ridiculously awesome though
 
Anonymous
@PeeHaa that's where he stores the alcohol when you come around :P
 
where are the shutoff valves?
 
10:08 AM
@Jimbo is there a date for the phpuceu yet? cant find one on the website or on twitter.
 
@JayIsTooCommon I like myself a good challenge :P
 
and a single fluorescent tube lamp in no housing can't be good light
 
Anonymous
@PaulCrovella are you jelly by any chance?
 
of that kitchen? not at all. it's tiny and horrible
 
10:14 AM
thx
 
@Akshay How'd it go?
@JayIsTooCommon Exactly! That's the thing that pulls out to make two single beds
@PeeHaa Ah, oven's on the other side when I went to view it. No date yet, the guys who organise it are in your country not mine ;)
 
Who needs an oven when you can bbq / eat tapas the entire year right?
:D
 
Anonymous
there's a php conference in Mallorca right? Could be a good excuse for an 11 piss up
 
I'll take a single bed in @Jimbo's flat. shotgun!
 
I'll take the same single bed. Shotgun!
 
Anonymous
10:21 AM
I'm joining @Gordon. shotgun!
 
Anonymous
oh..
 
Anonymous
i was too slow.
 
I'll take the shotgun and defend my single bed! just saying
 
a cuddle phpuddle in the making
 
phpuck buddies?
4
 
10:24 AM
Goddamn, that's amazing
I mean, brrr, that looks cold
maybe we can bundle in the same bed to share body heat
I mean, what? Who said that
 
Anonymous
lol
 
Always gotta take it that one step over the lane Jay, honestly.
 
:P
 
Anonymous
@PeeHaa any idea why the polling for GH status seems to have stopped?
 
Sadly Position is only open to individuals (for Palma) that have EU Citizenship/residency. :'( @Jimbo
 
10:33 AM
@Leigh don't remember it from the top of my head, do you have a bug # or pull request? 5.6 will go into security only after the next release so you should hurry up if you want to get something fixed
 
@JayIsTooCommon Did it stop? :(
 
@Akshay Ah, I didn't realise that wasn't obvious :/
 
Anonymous
@PeeHaa well there's been 3 status changes this morning, and no messages at all :s
 
ugh :(
No idea
Can look into logs tonight when I will be deploying your latest broken code anyway :P
 
That's fine. BTW Thanks @Jimbo
 
10:35 AM
!!uptime
 
@PeeHaa I have been running for 2 days, 23 hours and 55 minutes, since 2017-01-09 10:40:18
 
That's at least good
 
Anonymous
!!issue Github Status Logging - Add logging to auto Github status to help debugging
 
@JayIsTooCommon Issue created - github.com/Room-11/Jeeves/issues/136
 
Anonymous
@PeeHaa :D I'm sure that'll also break
 
10:36 AM
At about what time did you epcect it to give you a message
 
What was that website someone posted here a week ago where you can enter a amazon deal and it search for the cheapest prices.. or something similar.
 
!!? journalctl time range
 
Search for "journalctl time range" (https://www.google.com/search?q=journalctl+time+range&lr=lang_en)
• How To Use Journalctl to View and Manipulate Syst… - 5 feb. 2015 - In this guide, we will discuss how to use the journalctl utility, which can be used t… (https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs)
• journalctl - Freedesktop.org - journalctl may be used to query the contents of the systemd(1) journal as written by ….. Shorter in… (https://www.freedesktop.org/software/systemd/man/journalctl.html)
 
Was it suppose to happen today?
 
Anonymous
@PeeHaa status.github.com/messages between those status changes. I think it checks it every 3 minutes? Can't remember what unit of time repeat() uses
 
@JayIsTooCommon I don't think I see a specific problem in ze logs
 
Anonymous
which means it didn't even try to post :/ hmm
 
lemme try something
hmmm unrelated, but it looks like an update just got stuck...
 
Anonymous
hmm i'll add logging and just wait for it to fail again, then go from there
 
!!uptime
 
10:46 AM
Hi, Can i get help related to CodeIgniter?
 
Once again I made it worse
!!uptime
So uhhhm yeah...
 
Anonymous
@RedEye_0 just ask your Q :) But.. you'll probably get more help if you generalise your question to PHP. You won't get much framework support in here.
 
Anonymous
@Jeeves <3 (flag prevention)
 
Weird. Messages are coming in just fine
 
10:48 AM
@JayIsTooCommon I love you too :-)
 
Anonymous
!!uptime
 
lol
 
@JayIsTooCommon I have been running for 2 minutes and 24 seconds, since 2017-01-12 10:45:55
 
I have a bachelor in informatics/system development. I know quite a lof of .NET and some Java. Could I learn basic PHP in 2 weeks?
 
Anonymous
:P
 
Anonymous
10:49 AM
@MårtenCederholm it depends how quickly you learn.
 
@MårtenCederholm Do you have actual field experience?
 
A little
We have done quite a lot of projects
But nothing big outside the education
 
In that case I am going go with: yes you can learn basic php in 2 weeks
 
Thanks :P
 
@Jeeves ¯\_(ツ)_/¯
 
10:52 AM
@PeeHaa Lee.
 
@Jeeves lee?
 
@PeeHaa James lee steen.
 
@Jeeves how high are you right now?
 
/me's back to work
 
@PaulCrovella Not quite lol.
 
10:53 AM
lol
May 28 '16 at 21:52, by Ekn
this is how I imagine Jeeves when you guys are working on it :p
that still applies, a lot
 
Anonymous
:P
 
Anonymous
This seems like a bug bugs.php.net/bug.php?id=72817
 
Anonymous
What do you think @PeeHaa
 
Anonymous
check it out when you have the time
 
Anonymous
11:01 AM
Still looks weird. I read the docs but couldn't get what it was saying.
 
The docs are as clear as it gets regarding this :P
It's exactly saying what it does :D
 
Anonymous
Yeah, I know ...
 
/me likes this idea
 
Anonymous
doens't !!get do that?
 
Anonymous
 
11:06 AM
HTTP/1.1 200 OK
Date: Thu, 12 Jan 2017 11:06:12 GMT
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 2058
 
yes basically
 
yeah there's that
 
shouldn't that be !!head?
 
Anonymous
Is my eyes deceive me ..
 
Anonymous
@Ekin you are a room owner now?
 
Anonymous
11:10 AM
been here for 4 years and I'm still a peasant :\
 
Anonymous
that's because of the smell
 
Anonymous
hehe
 
Anonymous
it's okay, I didn't know @Ekin was veteran
 
Anonymous
thought she joined SO a month ago or something
 
Anonymous
I was ready to scream Affirmative action :)
 
11:15 AM
:-)
yeah it happened..
 
@JoeWatkins I'm confused now
@JoeWatkins ah, remember now
ttyname_r returns zero on success
So the check as it was was correct
It's just that the fd tested isn't reliably a tty
After the patch, you're essentially testing that ttyname_r fails
 
Anonymous
11:31 AM
Hmm .. can someone check this
 
Anonymous
class Hello {
   public function world($x) {
      echo "Hello, $x\n";
   }
}
 
Anonymous
Where is the NULL comming from?
 
Anonymous
echo ['hello', 'world']('world'); // Hello world

$f = array('Hello','world');
var_dump($f('world')); // Hello, world NULL
 
@samayo The var_dump?
 
Anonymous
but it isnt null, is it ...
 
Anonymous
11:33 AM
maybe I am over thinking this.
 
the return value of the function is null
 
11:44 AM
Hello everyone, i want to pass the variable from the result of submit.. but that need to pass for several pages include the page where exist
the submit
i try sessions
any idea how to do that?
 
Which one is correct?
- what a delicious food it is
- such a delicious food it is
 
Anonymous
none
 
@JayIsTooCommon how should I express a complement about the food ?
 
remove " a"
 
Anonymous
- The food is delicious
- This food is delicious
- This food is very delicious
- This is delicious
 
11:47 AM
ah .. ok thx
@PaulCrovella in which one?
 
Anonymous
@PaulCrovella still wouldn't be right
 
@Shafizadeh either. both.
 
@Shafizadeh omnomnomnom
 
ah ok
@Gordon :D
 
@JayIsTooCommon sure it would. less common, but still correct.
 
11:48 AM
@Shafizadeh It's delicious
 
@littlepootis Correct, but your sentence is like a news kinda .. I'm trying to make a news-sentence plus some senses of excitement
 
um
IT'S DELICIOUS!
 
:D
not bad :-)
 
Hi Everyone, I have an application that allows a user to upload a file via GUI. I am experiencing strange problem. There is too much time difference if we upload a file via firefox vs Chrome. Chrome is taking too much time. If firefox takes around 30 minutes to upload 2GB file, Chrome is taking around 2 hours.
is it just me who experiencing this problem
 
hi everyone
 
Anonymous
11:52 AM
@PaulCrovella I wouldn't advise someone to say it though
 
@JayIsTooCommon I would. It sounds perfect for what he's trying to get across. It'll come across as friendly and quaint.
 
What I don't understand is the reason why you make 4 extra server requests upon the request to load the page. This makes 5 in total, while PHP is perfectly capable to print the result of those files directly in <div id="php-content"<?= 'this div' ?></div>. — Xorifelse 1 min ago
 
Can someone please share their experience
 
Anonymous
@PaulCrovella "What delicious food it is" does not sounds perfect to me. If you said that here, you'd get some funny looks.
 
@Paul did you have an account && saved regexes on regex101? If so are they still present?
 
11:55 AM
@JayIsTooCommon that funny look is called a "smile" - you might be unfamiliar with it
 
Anonymous
@PaulCrovella haha
 
@Ekin I do not have an account there, sorry.
 
@Tarun yes
 
@Gordon Thank you so much. Could you please look into my query. I am experiencing very very slow file uploads via Chrome.
 
@Tarun sorry, busy
 
11:58 AM
0
Q: Php array to ajax var

user3799112I have an opensliding side panel in wich I display content. I have a working example, but it works on an ajax var that I've put in. I would like to scan a folder for the files loaded in my ajax code. How can I pass folder content into my ajax? PHP <div class="standorte-wrapper"> <div ...

 
@Gordon No problem at all. Have a good time : )
 
I am writing C code, so not sure if that really equals a good time. but thanks :)
 

« first day (2280 days earlier)      last day (2683 days later) »