« first day (2220 days earlier)   

12:38 AM
@kelunik And language?
 
1:15 AM
@PeeHaa it took you an hour more than me to notice
:P
 
bastard :P
 
I know a word salad when I see it
 
Yes. I had a naive moment there
 
1:32 AM
hii dear , can any bdy help me . i want to entry on database with foreach loop . but my problem is entry only first result . if i entry second ya another one then is not work . please give me any idea .
 
oh boy
 
 
2 hours later…
4:03 AM
morning
 
 
1 hour later…
5:25 AM
moin
 
6:04 AM
mooiin'
 
6:19 AM
Quick question without testing, $photo_id != $current_image['image_id'] , if $photo_id is NULL/empty and current_image is not null, will it throw a notice/error that I'm comparing an empty variable? should i do if(!empty($photo_id) && $photo_id != $current_image instead?
 
o/
 
7:03 AM
\o
 
morning
 
o/
 
\o
 
7:39 AM
@Patrick just awesome :)
 
8:04 AM
@bwoebi with andreas standard input changes, I tried to update phpdbg but there is still a failing test, the breakpoint is not hit after the second run (sapi/phpdbg/tests/stdin_001.phpt) can you have a look when you have a minute please
also the expected output looks a bit strange to me, not sure why the hit isn't recorded, and not expected to be recorded
 
 
1 hour later…
Wes
9:34 AM
\o
 
9:44 AM
freeedommmmmmmmmmmmmmmmmmmmmmmm
 
9:59 AM
o/ yo Wes
 
@JoeWatkins uh, yeah, that will break something… Need to look…
 
@bwoebi I nearly got it
 
10:22 AM
@JoeWatkins Why did you change it to "Standard input code" instead of "php://stdin" ?
 
that was the final version
 
Morning
 
@JoeWatkins Ah
 
preserved history from .patch && am
 
Btw. why was that changed at all? (I'm not opposed, just wondering) @JoeWatkins
 
10:24 AM
@Darius no
 
cool. =] yeah, tested and works fine.
 
@Darius nice nice
 
mornin
 
@tereško morn
 
10:25 AM
thanks.
mornin
 
@Darius you're welcome
 
Wes
 
10:42 AM
@Wes wow. thats a bit funny but much more unbeliebable : D
 
his laughing made me cringe
 
hahaha
i laugh in same way..
 
10:59 AM
lol
 
that decision for macs drove me mad
i'm still using the 17 inch from like 2010 or 09 i odn't remember.
just because it's 17 inches (and works fine)
and then the F1-12 keys being gone.. sigh..
2.4-2.8k for 15 inch? jeezus..
 
11:15 AM
@Darius well, buy a real laptop and install linux on it
 
^
 
that's what my desktops are for =]
 
no, desktops are for windows and gaming
 
@JoeWatkins Ping
@DaveRandom I love this kind of videos, there's one about AMD and NVidia too :D
 
pong
 
11:22 AM
ping
 
@Wes what ? :D what :D
 
Wes
 
that absoluetly make sense ! :D
you are a genius :D
 
LOL
 
11:25 AM
@Leigh ping
 
oh also @bwoebi did you see the bug I assigned to you ?
 
@JoeWatkins yes
@Darius they're not gone, you can just add them easily back to your touchbar
 
i like the touch feedback
so i don't have to eye ball the keys
i don't even like the post 2012 keyboards on the laptops
they're thin and tacky feeling
 
@Darius You get used to it within a week ^^ My first laptop was the 17" 2009
 
same as the one i'm using then lol.
 
Wes
11:29 AM
earthquake in new zealand
 
@Wes Yeh, tell me when Yellowstone explodes… That's maybe something we'll hear too in Europe.
 
Wes
mag 7.4, near Christchurch (same as the prev one)
 
7.4? not bad
 
7.4? wow..
yesterday just for curiosity i checked out how the nukes from different countries would impact main cities.. i'm a dead man instantly based on the blast radiuses
 
11:32 AM
@Darius nuclear ones? yes.
 
if you look at korea's nukes and stuff, they're not "that bad"
but compare it to russia's..
i don't get the big deal with korea's nuke.
korea's nuke, give a 5-10 min warning, people can evacuate in time. Russia, 1.5 hour warning without traffic isn't enough
 
@JoeWatkins so, the issue is that it doesn't restore the breakpoint
 
11:48 AM
@Wes What's with all those 5+ earthquakes in the past few days?
There was one 5.7 in Argentina too, and 6.2 in Japan
 
Wes
it's the end of the world, don't you know?
 
@Wes I know, I just figured I would be the one to bring it about...
 
Poseidon pissed about something and banging on the islands
 
@MadaraUchiha lol
 
@MadaraUchiha hey
 
11:55 AM
@Leigh Check invites
 
@JoeWatkins Awesome, thank you! I'll catch up later, out and about yesterday and today (weekday birthdays get shifted to the next week end :)
@MadaraUchiha Invites where?
 
@Leigh I invited you to join a room
 
Bah, mods having private rooms :'-D
 
12:11 PM
Morning
 
mornin Ekin o/
 
\o
 
12:29 PM
git.php.net/… … facepalm
I've not put ZSTR_VAL() on the other branches
just on the one which is tested
lol
 
@bwoebi It's the second best mod superpower.
The first is being able to edit messages you've posted 3 minutes ago.
 
ahahahah
 
hey everyone. is anyone experienced with Facebook connect in symfony? I am quite stuck with the problem here: stackoverflow.com/questions/40566647/…
 
12:47 PM
o/
 
1:14 PM
So proud of myself. Handed off some of the work from mysql to php and improved time for a complex query :)
// Original taking 0.0134019
// Rewritten taking 0.009810
 
1:30 PM
Uh, searching 5.8 GB files takes so long :-/
 
Biden: You know he needs an official gov't phone right? Imma give him a Note 7. Obama: But Joe, don't those.... Bid… https://twitter.com/i/web/status/797612934729973760
 
Wes
lol
 
1:48 PM
did u fixup that other bug there bob ?
 
@JoeWatkins I'm still searching what's even causing this phpunit issue
browsing 5.8 GB files as said…
 
ah I see, didn't know that was connected
 
Yeah, I'm searching oplog to see where things even go wrong
 
2:06 PM
Forgot, what's the "new" way of formatting a date ? Someone posted it yesterday, it was like Dateformat::date ( 'YYYY-mm-dd',$date_input); instead of strtotime
 
!!docs datetime.format
 
[ DateTime::format ] Returns date formatted according to given format
 
Bravo, thank you.
google kept landing me to the date(); section..
 
@Jeeves > Google
!!docs date format
 
[ date_format() ] Alias of DateTime::format()
 
2:10 PM
Hi friends
i need a clarification in laravel mail
sending:
i have divided my email template into 3 header, footer and body part
 
evenin room
 
for which i want to send it in the speciafied format
so how can i send
['email.header', 'email.body',email.footer]
Mail::send(['email.header', 'email.body',email.footer], $data, $callback);
 
tfw your password expires and you have to spend an entire week typing the wrong password on the first attempt
 
2:32 PM
@MadaraUchiha it may be climate change related (author is fairly well respected scientist working in the field), seen some suggestions that the supermoon may have such an effect, for which I can find no actual worthwhile research but I didn't look that hard and it is at least plausible, and it may simply be that shit happens.
It may also be a combination of two or more of those, or several bajillion other factors.
Was that helpful? :-P
 
morning PeeHaa
 
2:49 PM
Anyone have any experience/review with SendGrid?
simple, like or dislike?
 
Wes
@PeeHaa it's raining like crazy in brazil. race starts in 1 hour from now
brazil should definitely be the last race in the calendar. it's always crazy. abu dhabi circuit sucks
 
hello im new here :D
 
@Wes Good time for max to other own them or fall out :P
 
Wes
i'm expecting a huge crash
 
Yea same
 
3:03 PM
anybody from australia ?
 
Wes
i hope they don't start behind the SC. christ
 
3:14 PM
Hmm Spotify users?
 
@SupunFictionPraneeth actually no I don't think we get many aussies for some reason
Mostly europe and north america, some asia
I'm europe so maybe there are some aussies I don't see because I am asleep when they are here, but the room tends to be pretty quiet at "night"
 
weekends nights :P
 
3:36 PM
o/
 
@JoeWatkins looks like I've broken php://stdin in phpdbg
 
\o/
 
Wes
hi @Archer
 
my avatar
 
\o
 
3:37 PM
@Wes hey there @Wesley
 
o/
 
So, had a cleanout today, found an old HDD. Hooked it up and it has my first web stuff on it
Let's have a look at how bad it was
 
@bwoebi awesome
 
@Sean Do share. I'm more than happy to share how shit I was a few years ago (or last month)
 
']'\\..\$=-
 
Wes
3:46 PM
@PeeHaa SC start it seems. they are fucking idiots i hate them
 
Version 2 of my ye olde blog, I trusted myself to make a post exactly once per day apparently - gist.github.com/Nessworthy/8ccb563a7401998b5108dfbd147eab4d
 
Wes
i made my first site with msword from office 97
those were the days...
 
I don't have my old old stuff unfortunately, my freewebs sites were both the best and the worst
 
Wes
meanwhile at the oval office
 
He might turn out to be the best president US has ever had...
Good mornings
 
3:52 PM
Who? Pence?
:P
 
That's like saying @PeeHaa might turn out to be a good developer
4
 
:D
 
:D
 
=))
I wonder how present day adult Americans will explain what happened to their grandchildren...
 
One of my old designs for.. something. A login form background I think. I was so proud of my web design skills I stole a high res background and overlayed a window with a skewed screenshot of my code.. showing how great I am at SQL injection prevention
 
3:56 PM
@JoeWatkins oh, php://input … I've only ever thought about php://stdin…
 
4:13 PM
I don't follow @bwoebi
 
@JoeWatkins php://input is an in-memory stream, while php://stdin is a fd
and phpunit is using php://input
And I messed that one up when doing my stdin changes
 
@Wes Rosberg might just crash into Lewis...
SC ruins it
 
@bwoebi oh I see
 
… or not
not sure
Did that ever work actually?!
 
what ?
 
oh I think that won't work in phpdbg
but I'm not sure how it's being used
 
@JoeWatkins It doesn't either in CLI
 
so what is it for ?
 
Well, to pass in code via stdin actually
It ought to be php://stdin
which makes the tests run too
 
we could summon sebastian ?
 
4:24 PM
@Danack Most examples of LSP violations show ISP as the solution - but these are two separate principles. Any thoughts?
 
or just open a pr, but maybe there is some use we don't know about, I'm not all that familiar with the inner workings of phpunit
 
@JoeWatkins yeah
 
@SebastianBergmann we summon thee
 
@Sean that looks like dreamweaver
 
4:27 PM
it looks like it was added in relation to phpdbg, so maybe we can just change it ...
 
@JoeWatkins yeah, it's used for phpdbg only
 
well if he doesn't show up in the next hour or whatever, just open a PR ...
 
nowadays PHP 7.0.13+ has the -S= option for reading directly from stdin
 
thanks for spending so long finding out what it was ...
 
@SebastianBergmann in short: see bugs.php.net/73484
 
4:32 PM
@tereško have you seen this?
 
@Ekin see my previous comment
 
err, 1 sec
 
well ... oneboxing failed
anyway, it looks like they kept the start of the animated movie, but are doing something different for second act
 
yeah I thought the same
let's see how it'll be, still kinda promising, for now
 
other anime movies are always shit...
this one at least looks nice...
god... the ATLA (not anime, ik) movie was so awful...
 
4:40 PM
the original was unapologetically transhumanist ... this ... dunno ... looks like they are going with the standard "science is evil" trope
 
wait
dreamworks/paramount is doing this
 
@Jimbo i) LSP applies to all languages, not just those that have interfaces ii) You can have violations of LSP, even if the types have the same methods en.wikipedia.org/wiki/… iii) I don't think LSP says quite what people think it says.....people do mean it to mean depending on interfaces but actually:
> What is wanted here is something like the following substitution property: If
for each object o1 of type S there is an object o2 of type T such that for all
programs P defined in terms of T, the behavior of P is unchanged when o1 is
substituted for o2 then S is a subtype of T.
 
But.. depending on interfaces == depending on abstractions == DiP
 
interface DataSource {
    function query(...);
}
class StandardDataSource implements DataSource{
    function query(...) {
       // hits DB for all queries.
    }
}
class CachingDataSource implements DataSource{
    function query(...) {
       // caches all queries
    }
}
Do those two implementations result in the program behaving in an unchanged way?
 
So that's a LSP violation because the behaviour isn't the same (one caches and one doesn't)?
 
4:50 PM
s/code/lsp
 
@Jimbo Yeah, there is a small violation here.
 
@Jimbo I don't have a link to back this up, but LSP was written when people weren't exactly using source control.....and so switching libraries and classes in and out was a difficult thing to do.
 
To be fair, my main taking of LSP these days is "You may only override abstract methods when inheriting"
 
i.e. it was for making sure that programs behave exactly the same when you switch from using one implementation to another.
 
CachingDataSource doesn't inherit from StandardDataSource, they're "siblings", so there's no parent-child substitution there
 
4:53 PM
Whereas interface segregation is more along the lines of "do these different implementations accept the same messages - regardless of how they handle them internally".
 
If you were to do something like this:
 
@Ekin how would that affect anything?
 
interface DataSource {
  function query(...);
}

class StandardDataSource implements DataSource {
  function query(...) {}
}

class CachingDataSource extends StandardDataSource {
  function query(...) {
    // calls $super->query() somewhere, while caching
  }
}
That would be a more severe (and surprising) violation.
As it stands, there's a good chance that querying a DataSource wouldn't even go through to an underlying database
A DataSource might be an HTTP connection to some REST service
Or a Redis client
 
@tereško for some reason I thought it'd be the same as before or dunno, something else not hollywood
 
@Jimbo Nah - you could use globals, service locator, or global service locator to avoid doing DiP.
 
4:59 PM
@Jimbo An interface isn't the only way to do abstraction, you know.
To begin with, an interface was Java's answer to multiple inheritance and the diamond problem
Before that, they just used abstract classes with only abstract (then called "virtual") methods.
 
5:19 PM
@JoeWatkins Are you bored a bit by chance?
 

« first day (2220 days earlier)