« first day (2525 days earlier)      last day (2438 days later) » 

@salathe Urgh?
 
@Xatenev Urgh!
 
Does anyone write comments above the if statements? Or is that just me?
inb4 "your code is bad"
 
@JustCarty that is just you. Nobody of us uses comments.
 
@Xatenev xD
 
12:05 PM
I tend to write bit-wise comparisons so its more clear what I want to achieve and so there is no need for comments at all.
@salathe How come you switched from IRC to SO? :p
 
Hex to Dec: xD = 13
13 is considered unlucky
Every time you laugh you grant yourself bad luck.

You heard it here first
 
@Xatenev I didn't. I generally avoid both, with very occasional, annual or bi-annual, bursts of activity.
 
@salathe How come? - Are you actually... working?
 
@JustCarty yes, above the if, and also above the else if, which is why:
// comment here
if (...) {

}
// other comment here
else if (...) {

}
is the sane way for commenting if/self blocks.
 
12:09 PM
if (...) {
    // comment here
} else if (...) {
    // other comment here
}
 
@Xatenev Not right now, hence being here. :)
 
I do that to piss off people @Danack ^^^
 
hurrah - out of order comments.
 
@salathe Heh. I am in the planning phase for my new private project... While being at work :p
 
I used to write code but was informed of PSR-2 and that I have to write:
// comment block
if (...) {

// comment here looks confusing as it is in the other block
} elseif (...) {

}
 
12:10 PM
if (... /* comment here */) {
...
} else if (... /* other comment here */) {
...
}

Just to be different. :)
 
who uses else if/elseif anyway
 
Nobody. It can be patched out from php
 
@FlorianMargaine Me, yesterday before learning the existence of PSR-2
 
I hope that happens as soon as possible
 
No one... ahem... *looks around*
 
12:11 PM
I even used to put { and } on their own lines *gasp*
 
really, I don't remember the last time I used elseif
 
@FlorianMargaine You prefer else { if(somethingElse) { } } too?
:p
 
...
......
.........
............
...............
 
Can someone help simplify my code please?
($var == "A" ? "a" : ($var == "B" ? "b" : (...)))
 
I really hope that is sarcasm
 
12:18 PM
@Xatenev It converts capital case to lowercase
 
That is absolutely correct.
 
@Xatenev But yes, it was a joke :D
 
Otherwise I'd find out where you live
 
@JustCarty what do those comments describe?
 
@Patrick Normally just a description of what the following code block does.
 
12:24 PM
 
Anonymous
> inline comments are deodorant for code smells
 
refactor those code blocks into their own methods with a good name (the name should explain what your comment did before)
 
12:35 PM
@Patrick Okay, but my problem (problem??) is that I comment every single line of code pretty much
 
Anonymous
@JustCarty for whose benefit?
 
@JayIsTooCommon Yours truly
 
@JustCarty that is a problem... comments should add important information. If you comment everything, you drown the important information
And there are a lot of other problems with it too
 
Anonymous
@JustCarty no genuinely. Who are you trying to benefit when you comment each line?
 
@JustCarty do you need the comments to understand the code?
 
12:41 PM
@Patrick Probably not, I just like to have them there :/
I also like them as they visually separate sections because the IDE colours them a different colour
 
Anonymous
// iterate through items
foreach ($items as $item) {}
 
@JustCarty have you heard of methods? o_0
 
Anonymous
That comment shouldn't benefit anyone looking at your code
 
you shouldn't have to visually separate sections yourself. That's a code smell right there (and it smells pretty bad)
 
12:54 PM
is Tony Marston like, 90 years old?
Not sure I've seen such powerful "good old days-ing" in the last year
 
/me waves
 
waves back
 
o/
 
what's the good word
 
Anonymous
o/
 
12:58 PM
@ircmaxell Not google cloud containers.....I know you don't have anything to do with Google any more, but do you happen to know anyone who is using them for PHP apps that I could chat with?
 
Holy cow...
> If the first programming languages in the first computers were case insensitive, then that should be the standard.
What logic is this?
"We aren't allowed to learn from the decades of programming since. The original programmers knew best!"
 
s/he is right. we should also go back to punchcards
 
pfft. If you don't have to toggle switches to input a program, it's obviously not an important program.
 
in fact, we should get back to first gen programming languages.
 
>Introducing case sensitivity into what is mostly a case-insensitive world
just for the convenience of a few programmers I do not consider to be
acceptable. It would cause more problems for far more people than the
insignificant few who insist on using obscure character sets.
would that be a good time for a "citation finely needed" reminder?
 
Anonymous
1:06 PM
2 hours ago, by JayIsTooCommon
this fucking guy
 
heh
afk commuting
 
Anonymous
I just want to put Y and Tony in a room together
 
@LeviMorrison IPSE DIXIT
IPSE DIXIT, BURN HIM!
 
I just put too much milk in my tea 😫😫
 
@Ocramius now you need to explain to the non-latin speakers what ipse dixit means
 
1:09 PM
soooo ... it looks like, as of conclusion of "Secret Empire" story-line Marvel has destroyed their last cinematic-universe character - Deadpool is now a villain again in the comics
 
Anonymous
@PeeHaa if I got you commit access on phinx, would you be interested? or no time?
 
@Gordon it's the thing that DBAs tell to developers when a DDL statement has to be executed on production.
 
@tereško oh god… deadpool… that movie was so horrible
 
that movie was fun
 
:)
 
1:13 PM
I wonder, why do you think it was horrible?
 
@tereško Spoiler?
 
@tereško it wasn't funny
 
@Gordon you're German, you don't count.
4
 
@Danack k8s?
 
@tereško it was your typical boring marvel superhero movie: totally predictable and also implausible within its own cosmos. plus the jokes were all lame or embarrassing.
 
1:17 PM
 
Anonymous
to be fair, you are pretty lame @Gordon
3
 
If we should snake_case functions; why is Exception::getMessage() camelCased?
 
@Gordon are you confusing it with the Wolverine(2009) or something?
 
the only other movie I have seen in the last twelve month that was worse was Dirty Grandpa and that at least was fascinatingly horribly because it has a wanking deniro in it and not just plain old horrible
 
or do you just hate all superhero movies in general?
 
Anonymous
1:20 PM
I really dislike the modern Marvel films. They used to be good
 
@tereško no, it was deadpool. I only watched it becuase of recommendation from a friend. I usually avoid all these marvel movies. seen one. seen all of them.
 
it was not a "marvel movie"
 
@IROEGBU Everything else is fine?
 
@Gordon btw, I give you that Marvel movies are incredibly boring and predictable
 
btw
 
1:21 PM
It's like watching movies invented by 4 years old kids playing micro-machines
 
lol ...
 
@tereško it is totally a marvel movie. my friend told me I should still watch it because it's not a typical marvel superhero movie. in fact, even the movie says so at one point. but they were all lying.
@Ocramius very
 
I think the plot of Super Mario Land beats any Marvel movie
It's much deeper and intriguing
Or maybe Tetris. Tetris has a great storyline!
 
I think the inner movie keyboard warrior is coming out
The movies are not like that bad imo
It's not great, but geez
 
They are honestly terrible
 
1:23 PM
@Gordon you seem to be actually quite clueless about movies
 
last one I saw was Wolferine something
Where they are old
and the kids and stuff
 
Wolwerine was ridiculously boring, flat and predictable
 
first of all, it is not a marvel movie, because they don't own the copyrights
 
It's hard not to say it didnt have any deepth
 
just like with spiderman and xmen
 
1:24 PM
Oh well, Marvel/Dc/whatever, boring as fffffff
 
mr wolf was obviously fighting his past (in form of his previous self)
and love set him fre bla bla
its great for young people trying to learn how to analyse movies
 
@JustCarty says who?
 
@RonniSkansing there say people do it by watching RedLetterMedia's review of StarWars
 
@FélixGagnon-Grenier says a comment I read somewhere and also standards?
 
Deadpool was actually refreshing. Totally not like others
@JustCarty not standard, by any stretch
 
1:26 PM
@tereško I dunno what it is (= but I am not going to check it out today..
 
Anonymous
> If the first programming languages in the first computers were case insensitive, then that should be the standard.
 
Anonymous
> A minor detail. Windows followed all the previous OSes which I had used in being case insensitive, which makes unix the odd one out.
 
Anonymous
contradiction++
 
just saying.. people are mighty warrior in front of their screens when reviewing movies/series.. but yea.. everyone is entitled to their opinions but not the facts...
 
@Ocramius I do like some DC movies. Some of the Bat Mans have been nice. Still not too great in terms of depth and plausibility, but at least they have somewhat interesting characters
> X-Men is an American superhero film series based on the fictional superhero team of the same name, who originally appeared in a series of comic books created by Stan Lee and Jack Kirby and published by Marvel Comics. 20th Century Fox obtained the film rights to the characters in 1994
 
1:28 PM
@FélixGagnon-Grenier Hmm, okay, I prefer camels over snakes
 
that is marvel movies for me. I dont care if they are produced by marvel directly or some other producer. they are based on the marvel comics. which I also never liked too much.
 
@Gordon I agree, but your are old =p things change
=p
 
lol @tereško not what I was expecting
well that's funny, thx
 
@tereško so… does something follow after the "first of all"? or is that all you base my cluelessness about movies in general on? because not liking obviously shallow popcorn movies is enough proof?
 
1:33 PM
@Gordon I just gave up
 
@tereško lame
 
woah there
we've got a badass over here :P
 
fwiw, I also disliked iron man. dunno which part that was. I think the first. but boy… that plot was insulting.
 
Anonymous
faece coffee is fine, but not iron man.. weirdo.
 
Well, I didn't really read your argument, but deadpool's type of humour was different from most of its contemporary movies.
And be it only for that, I'm grateful of a refreshing, of predictable movie
Also, tbf, I don't care that the plot is predictable. It's 2017, the race for the ever surprising thing is getting old
 
1:42 PM
any !!dad is more funny than deadpool
 
Anonymous
i'll prove you wrong
 
Anonymous
!!dad
 
Have you heard about that new movie Constipation? I guess not, because it hasn't come out yet
 
Everything's been done already, let's find different ways of enjoying movies
 
hilarious!!!
 
Anonymous
1:43 PM
@FélixGagnon-Grenier naked. /cc @PeeHaa
 
Or throw everything out, as composers did after Wagner, when literally any possible combination of harmonies had been done
@JayIsTooCommon hmmmmmm
 
@Gordon Company holiday for the weekend
 
@FélixGagnon-Grenier that's not true. For instance Wall of Wall Street wasn't predictable (if you didnt know the real story before). Sure, you knew there would be a rise and fall but now how exactly it would unfold. With Deadpool you'd know it would be a Damsel in Distress type of the story the moment the damsel got introduced and the rest was boring action and posing.
 
@Saitama Wolf of Wall Street. Come back when you are old enough to watch it ;P
 
1:51 PM
I've watched it...
 
It has an R rating. Hope you took your parents with you
 
Anonymous
The Departed - another great, unpredictable DiCaprio film
 
Anonymous
+ shutter island.
 
yeah, these are also good ones
 
Shutter Island was awesome
 
1:54 PM
^++
!!urban Blue Whale
 
[ blue whale ] A gigantic hit of weed, so big that you can't stop coughing for a really long time, but after that, it's smooth sailing...
 
... that's not it
 
that's what you get for associating with @PeeHaa
 
Anonymous
you've been hanging round with @PeeHaa too long :P
 
2:01 PM
ah nice. so now I'm always associated with him in this room
yeah was looking for that game, I just heard it made people suicide
 
Anonymous
@Ekin condolences
 
it looks like someone came up with a way to fake Death Note
 
> The list of tasks, to be completed in 50 days, includes waking up at 4:20 A.M., climbing a crane, carving a specific phrase on the person’s own hand or arm, doing secret tasks, poking a needle to the arm or leg, standing on a bridge and roof, listening to music, and watching videos sent to the challengers by the administrator.
 
yeah. seems it got plenty of bans, then someone made an alternative 'pink whale'
 
with the exception of listenting to music and getting up at 420, why would anyone do that?
it makes no sense to me
 
2:07 PM
@Gordon sounds like fun
 
Anonymous
My un-sympathetic view is that they're idiots but they seem to be portrayed as victims in the news
 
Wait, what did I miss? I come back and see @Gordon mentioning carving phrases onto arms D:
 
@Gordon for same reason why solders throw bullets in a campfire: boredom and apathy
 
@JayIsTooCommon I know he's in it, but with that kind of ensemble cast, can you really call it a DiCaprio film?
 
Anonymous
@Dereleased he's the main character, no?
 
2:09 PM
yeah, Andrew
 
@tereško why would I throw bullets in a camp fire?
that also makes no sense to me
it's about as pointless as watching a Marvel movie.
 
@JayIsTooCommon He is a principal character, and we follow him a lot, but we also follow others, and we don't do anything from his perspective
We probably follow him the most, but I don't think he's the main character. Honestly, I think the city of Boston is. If that makes any sense.
 
Anonymous
@Dereleased i don't follow anyone. I'm no sheep.
 
Anonymous
@Dereleased wait
 
Anonymous
2:14 PM
you're not talking about shutter island ?
 
@JayIsTooCommon Oh, no! He's absolutely the main character of Shutter Island. I was talking about The Departed
Goddammit I replied to the wrong one
 
Anonymous
tit. Yeah I see your point about Departed, it's very much a shared casting
 
The Departed, starring the City of Boston, and a bunch of assholes who live here I guess
 
oh god
 
Anonymous
Up there in my favourites though. Legend (Crays) first, probably The Departed second
 
2:17 PM
I think I don't care it's Boston. if it was NYC or Detroit, it would have been equally fine for me. It's the story and the characters.
 
Jack Dimedaughter, Martin Matte, Mark Windowstein, Leonardo Della Sagittarius, Matt Angel, and many more!
 
posted on September 14, 2017 by Niklas Keller (kelunik)

Generators have been added to PHP in version 5.5, yet the have received rather low attention. The PHP 5.5 migration guide introduced them as way to implement simple iterators. Support for generators has been added via the yield keyword. Generators provide an easy way to implement simple iterators without the overhead or complexity of implementing a class that implements the Iterator interf

5
 
Anonymous
Rowan's reply to Tony is spot on
 
@JayIsTooCommon Boo! The message exceeds the 140 character limit. :-(
 
2:24 PM
@kelunik "If it succeeds successfully," <-- that is honestly my preferred way to succeed
7
 
such much german
 
@kelunik "Amp allows writing non-blocking code like blocking code while opening the possibility of other non-blocking things happening concurrently in the same process." I would find a way to reword this, here's a stab: "Amp allows you to write asynchronous (non-blocking) code the same way you're already used to writing code, and opens the possibility of having other asynchronous things happening concurrently in the same process"... ok, that probably wasn't much better. I not a artist.
 
DO NOT HELP GOOGLE FIND SARAH CONNER. https://twitter.com/todbot/status/907335250195374081
7
hahahahaha
 
Don't suppose anyone would know why a server's https handshake is taking forever?
All I know is it's slow before it hits Apache, and that a non-http request is served incredibly quickly. openssl's s_client shows it as connected straight away, then a huge delay before printing back the certificate
 
2:35 PM
@Sean Just knock off a couple zeroes and see where that gets you (I'm sorry I don't have any real help for you).
 
@Sean can try to perf or ptrace apache
 
@Leigh assuming you mean kubernetes, yes. That part is (mostly) behaving itself. We're seeing stupid shit like 'the google load balancer returning an error page occasionally, with no error visible in our logs'.
 
2:56 PM
@Sean check that the server can resolve DNS in a timely fashion. Disable reverse DNS lookups if they are enabled and you are not using them (HostNameLookups off)
figure out exactly how long the "huge delay" is and whether it's constant
that gives you a timeout setting to hunt for by value
Also using mod_authz_host will trigger a double DNS lookup (IP -> PTR -> A -> IP) but I think that would be done after SSL negotiation
 
evening room
!!dad
 
3:14 PM
How do mathematicians scold their children? "If I’ve told you n times, I’ve told you n+100 times..."
 
@Dereleased I'll leave it as is for now, further suggestions are welcome of course.
@Dereleased Fixed, thanks.
 
Bug in ?? – #75209
 
@Jeeves ?? != ?: ...
 
@pmmaga Okay, good night.
 
good answer
 
3:25 PM
Lol
 
evenings o/
 
@Jeeves Gimme one of them classic Non-Sequiturs!
 
@Dereleased Top shelf.
 
y... yeah...
\o @Saitama
 
o/
 
3:29 PM
@Saitama \o
 
@Jeeves no I moved them, they're in the cupboard under the stairs now
 
@DaveRandom Oh! Well, I meant what country do you live in?
 
I experienced something very interesting last night -- a movie that was only good because the main character (actually, all of the characters) had zero arc
@DaveRandom You monster!
 
define arc?
 
@Jeeves Ah right, well then you are correct, I live on the top shelf.
 
3:30 PM
@DaveRandom No, that's you!
 
@FélixGagnon-Grenier The way that characters change throughout the story, the way they are shaped by their experiences
 
"Clever"bot
 
Lonely person learns to love, cowardly person becomes hero, etc
 
just noticed... chat is autoscrolling now
 
so, all of them had like, zero of that? ;)
 
3:30 PM
Yes, exactly
 
heh. to each their thing ;)
 
I hated the movie for most of it. I don't do well with cringe, and this movie was nigh 100% cringe
but when you get through it, you realize that an arc would've made the story meaningless. It's about self-obsessed people, and the people with no sense of self who become obsessed with the former group
 
This guy creates a new table in his database for each user
how kind of him
Im so confused whatever
 
@WillParky93 That is such an extreme miscomprehension of everything relating to what they're trying to do
 
3:34 PM
I feel for the guy who inherits it tbh
 
To start teaching that person you have to go back to such basics that this task is perhaps weeks away.
@WillParky93 If anyone with any experience "inherits" this non-working mess, it will probably be thrown out whole-cloth
 
The data breach from Equifax was because they didn't patch an Apache Struts flaw...
 
@Tiffany to be fair, the vulnerability was super recent
 
haha
 
@FlorianMargaine Don't defend them
 
3:36 PM
This article says it was from months ago
> Equifax has confirmed that a web server vulnerability in Apache Struts that it failed to patch months ago was to blame for the data breach that affected 143 million consumers.
 
I thought the hack happened because of just weak password security, kinda happy it wasn't that
 
Re: Equifax - "Who would've ever thought putting all of our eggs in one basket would come back to bite us?!"
 
@Danack devops are moving some of our stuff over to it, I don't think there's anything production on it yet
 
Was the vulnerability made public recently, or were companies notified of the vulnerability and then expected to patch, before the vulnerability was announced it existed?
 
found an article created on the 6th September about the CVE, when did the hack happen?
 
3:41 PM
Here's a question, why wouldn't they have one-way hashed the SSNs in the first place?
 
They are offering 1yr free credit monitoring...which if you don't remember to cancel after 1yr you will be billed for it. Gotta love how companies are allowed to pull this shit.
 
yay for being british
pops party popper
 
It really is ironic that their site requires putting in most of the SSN to determine if you're affected. And apparently, I am. :|
 
what do you have to do now? can you reissue yourself an SSN?
 
no
SSN is assigned at birth
 
3:43 PM
I heard that site was fake or broken. You could enter in any number and it would tell you it was breached and then send you to the free credit monitoring signup page.
 
They can't do anything with it unless they have your name, address and birth right?
 
The data breach had all of that though
and driver's license number
 
wow
 
I was referred to it by an official at my employer, who was referred to it by another company. Though the company recommended Lifelock, which is a fucking joke.
 
Yes, again, I don't know why they didn't one-way hash all those sensitive details. There is no reasonable reason I can think of not to -- they never need to reference it again, they just need to be able to verify it when entered. If only there were some established technique for dealing with such data...
 
3:45 PM
So whats the point of it anyway, not ssn, equifax
 
@WillParky93 checking credit score. Credit score is used in the US to determine how "reliable" you are for paying stuff off.
like loans and bills
 
Ah we have that stuff in the UK
 
@Dereleased yeah, exactly
 
@Tiffany it's a total sham
People who pay their bills on time and carry no debt have a lower credit score than people who have a large debt.
 
Anonymous
3:47 PM
^
 
It's a system to encourage spending
 
@crypticツ utilization ratio -- it's not a sham, it's a statistical model, indicating probability of default on an extension of credit
If you never use credit, they have no data to go on
 
Yeah, I raised mine up to the maximum a few years ago by just using a credit card instead of my debit card
just paid off my credit card instantly
Pretty proud of that one tbh
 
@crypticツ Sham or not, it is absolutely this
@WillParky93 In U.S. models you'd never be able to do that "in just a few years" by using "a" credit card
So that's kind of a problem
 
So credit agencies who are now cross-referencing who your social network is and if they are at risk of default automatically puts you as a risky individual is accurate?
 
3:49 PM
'murica land of the free
 
@WillParky93 It's called "The American Dream" for a reason.
 
"pull yourself up by your bootstraps"
 
I can't afford bootstraps =o(
 
@crypticツ I am not defending them specifically, but they're doing what the insurance industry has done for a long time, which is conflating correlation with causation. Looking at actual payment history makes more sense, but it makes it harder to extort customers who absolutely are going to pay
 
Anonymous
or it's a way for banks to get more money..
 
Anonymous
3:52 PM
:>
 
I literally just said that
 
i wish it was 2030 and crypto was more mainstream
and i was a millionaire too
 
Anonymous
@Dereleased honestly, i read the first few words and got bored
 
or dead
 
@JayIsTooCommon Didn't stop you from responding as though you were fully informed, and that's what being American is all about. You're the best American here, @JayIsTooCommon!
 
Anonymous
3:54 PM
Damn right!
 
shoots gun
 
@WillParky93 Just one? You know nothing of my culture
 
One is not enough
Go big or go home
 
I shot a glock once when I visited the states
scared me shitless
 
unless it's one of these
 
Anonymous
3:55 PM
@Dereleased I was mainly wondering how many times and at what speed I could say 'conflating correlation with causation' without messing up
 
Only guns I've shot are like hunting rifles. Never shot a pistol, like a glock, or an assault rifle.
 
-2
Q: Trying to connect php myqsl db user session need assist

Atlemhi im trying to connect a php code to mysql to session user but i get error and i dont know wy. i tested this no luck SELECT * FROM .$_SESSION ["username"] WHERE Datouid...... SELECT * FROM .$_SESSION ["username"]. WHERE Datouid...... SELECT * FROM $_SESSION ['username'] ...

This whole thing
is depressing me
 
@Tiffany I'm going to assume you're categorizing an AR-15 as an assault rifle?
 
and l0l that gif
 
@Tiffany You should start with the M249 SAW, it's a delight and has practically zero recoil
 
Anonymous
3:58 PM
@Dereleased 4, 4 times
 
@crypticツ but! but! It's an AR-15! Assault Rifle 15!
 
@JayIsTooCommon \o/ way to go!
@LeviMorrison hahahahahahahahaha
 

« first day (2525 days earlier)      last day (2438 days later) »