« first day (2137 days earlier)      last day (2827 days later) » 

Jay
10:00 AM
morning guys
 
@PeeHaa that's his nickname: magical
 
could we get some anchors or ids on the flags at php.net/manual/en/reference.pcre.pattern.modifiers.php?
 
@Gordon And rightfully so
 
Jay
this been bugging me for ages. How can I make this date format: 01/07/2016 (d/m/y) into 2016-07-01 (y/m/d) ?
 
10:02 AM
Oh
 
@Jay Search the site
 
@Jay isnt this available as Q&A on SO for ages, too?
 
Jay
I have
 
do it again
 
Anonymous
@Fabor You smell odd.
 
10:02 AM
Search it again
 
!!? convert d/m/y to y/m/d php time format
 
Search for "convert d/m/y to y/m/d php time format" (https://www.google.com/search?q=convert+d%2Fm%2Fy+to+y%2Fm%2Fd+php+time+format&lr=lang_en)
• Format a local time/ date - PHP - string date ( string $format [, int $timestamp = time() ] ). Returns a string …. it is the 10th da… (http://php.net/manual/en/function.date.php)
• PHP: DateTime::format - Manual - echo date_format($date, 'Y-m-d H:i:s'); ?> … date() - Format a local time/date … echo date_format(… (http://php.net/manual/en/datetime.format.php)
 
I think I smell even thanks.
 
@Gordon Bah, Jeeves' so complicated again… nothing goes over a good regex…
 
10:05 AM
@Jay there is at least six results pointing to SO answers in the google results for me
 
!!? convert d/m/y to y/m/d php time format stackoverflow
 
Search for "convert d/m/y to y/m/d php time format stackoverflow" (https://www.google.com/search?q=convert+d%2Fm%2Fy+to+y%2Fm%2Fd+php+time+format+stackoverflow&lr=lang_en)
• php - Convert date format yyyy-mm-dd => dd-mm ...… - Convert one date format into another in PHP 10 answers …. Or if the source-format always is "Y-m-d"… (http://stackoverflow.com/questions/2487921/convert-date-format-yyyy-mm-dd-dd-mm-yyyy)
• Convert one date format into another in PHP - Sta… - You can use strtotime() to convert a date string into a timestamp. …. $timestring = $now->format('… (http://stackoverflow.com/
 
@bwoebi could also use sscanf
 
It sucks that google only returns results to people who don't need them. Someone should really talk to them about that.
 
10:07 AM
@Gordon well, then you're better off with a custom state machine
 
@Gordon I knew a company who worked on that db.
 
ofc you do :P
 
@Saitama reminds me of youtube.com/watch?v=onE0AXSFrgw
 
@FlorianMargaine french people… are they still in business?
 
Not sure if it is because you're french...
 
10:08 AM
they were writing stored procs in it
 
lol @Gordo
 
:D I love how the name @Gordo is sticking around :P
 
it had a fun bug: if the stored proc was over 1000 lines, it silently truncated the middle lines
 
the... middle O.o :P
 
yeah, it was insane
 
10:09 AM
@PeeHaa .. does this looks oddly familiar to you?
 
@Gordon very much yes
 
@PaulCrovella I had the same thought when I saw it
 
and the stored procs had to be written in a language using french keywords -- terrible.
 
@FlorianMargaine c'est tres terriblé. merdè merdé
 
!!should I take my elephpant with me or leave the elephpant behind?
 
10:12 AM
You should take your elephpant with me.
 
Thanks Jeeves you dope -_-
 
@Fabor what answer did you expect from an elephpant?
 
@Gordon yeah. I did consulting for this company during a month. The funniest bit is that the project using this database was the least problematic one in the company.
 
:-D
 
@FlorianMargaine probably because everyone was afraid to touch it
 
10:14 AM
(their main project had a search page where every page load took ~30 minutes. It was doing 400k SQL queries, for each page load.)
(400 000.)
 
@FlorianMargaine People actually waited around for 30 minutes?
 
I'm not even mad, that's amazing.
 
@Sherif I think their customers just didn't use that page
 
I once worked at a place where we had to say "Load the page then take a lunch break".
 
or just when they really needed to
@PaulCrovella and it wasn't 400k selects, there was a lot of writes
 
10:16 AM
WTF, since when did resetting the root pw of mysql become such a pain in the a**?
 
They must have been searching for gold if they're willing to wait that long.
 
just great
 
the fun bit: in 2 hours, it was rewritten to use ~40 sql queries
 
Wasn't even that many queries. Just a really poor database structure.
 
(and became obviously instant-load)
the whole codebase was a mess tbf
that was ~3 years ago, and they used a template engine that hadn't been updated since 2002
 
10:17 AM
@FlorianMargaine Sounds like every company I ever worked for.
 
@Fabor have you decided on where to go yet?
 
@Sherif I pity you.
 
@Gordon Not specifically no. Initially going to volunteer here though.
 
@FlorianMargaine i was gonna guess a massive adjacency list hierarchy, but wtf were the writes for?
 
Wes
morning. back to work -__-
 
10:19 AM
@Sherif didn't you work for grovo?
 
Anonymous
@Fabor How come you want to volunteer, just for something to do ?
 
@Gordon I did.
 
@JayIsTooCommon Few things make me happier than making others happy.
 
@PaulCrovella temporary tables
 
10:20 AM
@Fabor oh, so you're not aiming for dev work. you're going to do this volunteer work and travel thing?
 
I will aim to do dev work on the side. If I am lucky a 2 day a week remote contract. Otherwise freelance. Maybe I am a little naive there but it's not a big priority.
 
@Sherif I am sure Daniel and Anthony fixed that by now
 
Anonymous
@Fabor :)
 
Outside of paid dev work I will focus on improving my own skills. Finally contributing to PHP is one. Maybe commit to learning C or perhaps another language.
 
take up pottery, it's way more therapeutic
 
10:23 AM
Maybe if Patrick Swayze asks.
 
@Gordon And who do you think was fixing it before they showed up? twitter.com/sr_googleguy/status/602566961764167682
 
@Fabor umm, did no one tell you he died?
then again… he was a ghost when doing pottery… so nvm
 
Wes
@Gordon mind blown. totally missed that
 
@Gordon :)
 
if you ever wonder "whatever happened to that actor?" they're either dead or rick moranis
 
10:26 AM
Uh smiley as in yes it fits because he was a ghost.
 
do {
$ps = shell_exec("ps axf");
$res = preg_match("#/usr/bin/php /var/www/html/checker/checker.php $time#", $ps);
usleep(100000);
} while ($res);

Hello, am checking if the above command is running in process,so if true the second user can't execute it until it finished, it working with 2 users but if 3 users execute it,the first one will get executed and after it finished,the second and the third users execute it in the same time, so after executing "ps axf" i find 2 commands of the 2 users, what's the solution?
 
I did see I can get a 3 month Japan visa on entry so I will go to 3 months volunteering there. I was initially hesitant because it's so expensive, but if accom is free it's not so bad.
Just gotta convince @tereško to come with me :P
 
!!uptime
 
@DaveRandom I have been running for 8 seconds, since 2016-08-22 10:28:59
 
!!should I my me or my me
 
10:29 AM
You should your you.
 
heh. Fixing the priority things on a Monday I see
 
@Fabor fixed ^
 
@Fabor I think deceze is located in japan. you can visit him. and maybe delete a few thousand of his answers so he doesnt overtake me in all time answerers
 
{thumbs-up}
 
@Fabor avoiding modifying a headfuck of an SQL sp
 
10:30 AM
@Gordon I'll make it my secret mission.
 
@Jeeves 8s… you are pathetic
 
!!should my mine or you yours
 
your should you yours.
 
yeh we don't handle mine either
 
@Fabor make sure to buy this shirt before you go
 
10:32 AM
afternorn'
 
however there aren't many valid English use cases for using "mine" in that context in a question that starts with !!should
oh crap, also this
!!should I mend or mend
 
You should yound.
 
I should, it's true
str_replace is rarely useful
 
Anonymous
!!urban yound
 
[ [Yound](http://yound.urbanup.com/6470991) ] means fit, pretty, hot, sexy, attractive and young

mispelling of young
 
10:34 AM
@Jeeves to \b or not to \b
 
Handling "mine" is really difficult because "!!should I avoid treading on a land mine or not"
 
Jay
cheers guys
 
For what, advice about land mines?
 
@DaveRandom oh that's easy, just plug in some NLP
do pos tagging and you're set
 
May 11 at 20:16, by Gordon
NLP> you suck so much
Sentence #1 (4 tokens, sentiment: Positive):
 
10:36 AM
@Gordon -_- translation?
 
@Fabor just buy it and thank me afterwards
 
@PaulCrovella brb
 
@Gordon that's its way of saying it's into you
 
@Leigh Once made a funny quip about Asahi missing a character set.
 
That ^ is nice
 
10:39 AM
Yeah, Asahi is lovely.
 
@PaulCrovella I think maybe $|^|\s in this case
 
@Fabor it's actually a quite bad beer
somewhere on the level of carlsberg
 
2 against 1. You just lost @tereško
 
:P
 
looks like another shitty lager to me
 
10:41 AM
^ that
 
Asahi bought Peroni and Grolsch not long ago no?
TBH I am starting to favor ales. Less gas which is nice.
 
@Fabor It's spelled gross
 
PeeHah
 
@Fabor Asahi is great
 
And we're 3:2 in favor. \o/
 
10:42 AM
\o/
 
especially the extra dry
 
I haven't tried it though, so my vote counts for double
 
All beers are bad. Now -∞ for you both.
 
!!poll {"Topic": "Asahi", "Options": ["Yum", "Taste like butts"]}
 
@bwoebi you just became the third panel in emacswiki.org/pics/static/TabsSpacesBoth.png
 
10:44 AM
@bwoebi I am tempted between flagging and directly kicking
 
Make it happen @PeeHaa
 
it was better before the edit
 
No butt testing!
 
Wes
asahi is not too bad but tastes cheap
 
@Fabor what if people like the taste of butts?
 
Anonymous
10:45 AM
@Fabor @PeeHaa This would actually be pretty cool. Also AI please. thnx.
 
@PaulCrovella unpopular opinions ftw.
 
@Fabor and if you are unlucky for it to warm up: it smells like cat piss
 
this answer should be in comment stackoverflow.com/a/39073565/4670278
 
@tereško Agree there. Warm Asahi is awful.
 
at least it's a flavor, which is more than you can say for most lagers
 
10:46 AM
@Gordon lol. Not considered.
 
here is a hint: if warm beer tastes bad, then it's bad also cold .. you just are not able to taste it
 
@tereško if you are "unlucky" for it to warm up, it either means you drink too slow (your fault) or you are drunk already and won't notice anyway
 
@JayIsTooCommon You can always build it :)
 
@Gordon oh, right .. the "when you are drunk, you dont notice the taste" argument
 
that doesn't make something good, it just makes it alcohol
 
10:48 AM
TBH if I was drinking for taste I would drink a milkshake.
2
 
@tereško oh, right .. the "when it's cold, you dont notice the taste" argument
 
Plumb Sake though. Oh my.
 
Anonymous
@Fabor I want to do more open source stuff to be fair - maybe I'll give it a bash. As for the AI, I'll leave that to them (too easy)
 
@Fabor you are doing beer wrong
 
@Saitama Your github link it broke. github.com/gourabNagDev
 
10:50 AM
 
@Fabor low-ball glass, ice, shot and a half kahlua, shot and a half brandy, fill the rest with milk. dump into a shaker, shake, strain back into the glass. it's really really good.
 
@JayIsTooCommon Go for it. There's not a lot there.
@Saitama You should update your website and SO profile.
 
yeah... :P
 
@PaulCrovella So drinks round yours?
 
Heh, NASA put their code on github github.com/nasa/openmct
 
10:51 AM
@Fabor how about beer milkshake?
 
@PaulCrovella ...
 
@Gordon I learnt my lesson about mixing favorite things with beer after trying a Chocolate Beer. I was just twice as disappointed.
 
@Sherif nice :)
 
@Fabor if you're ever in town
 
@Fabor you just wasted the precious chocolate
 
10:53 AM
@PeeHaa you need to trust me on this
 
I could never understand why the JS guys do this nonsense github.com/nasa/openmct/blob/master/platform/telemetry/src/…
 
Anonymous
@Sherif related, kinda cool :) github.com/chrislgarry/Apollo-11
 
@PaulCrovella Normally I would, but...
 
no, for real
 
10:53 AM
@Sherif you could have stopped after JS and we would have understood and agreed
 
@Sherif what nonsense? two var decls in one line?
 
@bwoebi I'm specifically talking about the 0, object part
You understand what that does in JS, right?
 
?
 
@Saitama What's a use-case for URL sharing between machines? Or at least what is meant by it.
 
44
Q: What does a comma do in JavaScript expressions?

ToperaIf I use: 1.09 * 1; // returns "1.09" But if I use: 1,09 * 1; // returns "9" I know that 1,09 isn't a number. What does the comma do in the last piece of code? More Examples if (0,9) alert("ok"); // alert if (9,0) alert("ok"); // don't alert alert(1); alert(2); alert(3); // 3 alerts ...

 
10:55 AM
@Sherif yeah, comma op like in C
ugh, does comma op take precedence here over a list of vars?
 
@bwoebi Yea, but why do people think it's a good idea to do that? I mean, I can understand when the code has actual side effects, but this is like dead code. It's like an empty if block if (false) { } else { /* do something */ }
 
@Fabor well, let's suppose you have some huge-ass urls opened in your phone, how are you gonna open it in your computer? (not using chrome [suppose]) URL-Sharer is to your rescue
 
I hate people that write code like that.
 
I expected var index = counts[k] || 0, object; to be equivalent to var index = counts[k] || 0; var object;
 
@Sherif That's just declaring a var. What's the problem?
 
10:57 AM
do {
$ps = shell_exec("ps axf");
$res = preg_match("#/usr/bin/php /var/www/html/checker/checker.php $time#", $ps);
usleep(100000);
} while ($res);

Hello, am checking if the above command is running in process,so if true the second user can't execute it until it finished, it working with 2 users but if 3 users execute it,the first one will get executed and after it finished,the second and the third users execute it in the same time, so after executing "ps axf" i find 2 commands of the 2 users, what's the solution?
 
Anonymous
@Saitama Got any screenies?
 
@Saitama Furry
 
Besides the readability thing
 
@JayIsTooCommon nope, wait lemme take some
 
@Sherif it actually is equivalent to that… there's no comma op there.
 
10:58 AM
gotta make sure something this time
 
Anonymous
;)
 
@Devilion x-(
 
@SagarNaliyapara any idea please?
 
How many of you guys have a paid github account?
 
mee!!
 
10:59 AM
@Devilion ask some experts who present here... i don't know
 
@bwoebi Ahh, I see. I forgot JS allows you to do assign and declaration mixed.
 
@SagarNaliyapara ok thanks
 
@Sherif At least you achieved to confuse me for a moment :-P
 
@bwoebi Hey, JS has been confusing me since 1995.
 
11:01 AM
@Sherif i born in 1994
 
@Fabor pfff, bitbucket gives private repos for free.
 
ANY EXPERTS HERE?
!!SOS!!
 
Anonymous
@PaulCrovella Gives a horrible UI for free too :)
 
@Devilion No, all of the experts went out to lunch.
 
@Sherif I could accept that PHP is confusing … but JS is well specified… not sure what should be confusing there (hehe)
 
11:02 AM
@Devilion peehaa and gordon are expert here
as per my knowledge
 
@bwoebi Now you're just fucking with me.
 
@JayIsTooCommon the ui is fine, not that you should be needing it much for personal private repos
 
@Sherif Hence the (hehe) ;-)
 
well specified.. like SOAP - ya know, simple
 
Anonymous
@PaulCrovella Maybe it's updated since I last used it (commercial) but I found really clunky
 
11:04 AM
@Devilion are you still there?
 
@JayIsTooCommon imgur.com/a/9dBOb
 
@Sherif you have 4.9k points, not enough to be expert?
 
@Devilion pls do not spam your question. kthx.
 
@SagarNaliyapara yes
 
@Devilion don't ping random people. kthnx.
 
11:06 AM
@Devilion okay… that's the best joke I've heard today…
 
@Devilion ask it to peehaa or gordon who are enough to be expert
 
@Devilion Look in to queuing your jobs. Beanstalkd or something.
 
Stand up comedy is good.
 
Anonymous
@Saitama So if I was on my mobile, I would open a new tab browse to url sharer and paste my URL in. Then on PC I could browse to the URL sharer and it'll be there?
 
yep
 
11:07 AM
@SagarNaliyapara if he pings me or PeeHaa now, I am gonna kick you from the room
 
thanks
what else i can expect from you?
 
@Jimbo ohai!
 
@SagarNaliyapara thats why i didnt ping them hhhh
 
@Gordon I'll preventively kick you first then.
 
11:07 AM
...
 
Anonymous
@Saitama That's really cool dude :) Will be even better once you make it into an app but for starters, could be pretty handy.
 
gotta learn java first :P
 
... famous last words.
 
Things are about to... kick off... (•_•) / ( •_•)>⌐■-■ / (⌐■_■)
 
shit
I just thought about posting that ascii emoji. I even opened this website: upli.st/l/list-of-all-ascii-emoticons
 
11:09 AM
@Saitama i didnt
 
@JayIsTooCommon one thing to take note of, when you'd restart the server, all the url and chat history would be deleted as well
 
3v4l.org/fUQW9 as good as it's getting @PaulCrovella, unless you have any improvement suggestions
 
Them strings ಠᴗಠ
 
@DaveRandom don't care about punctuation?
 
Who wrote this? I have a degree in Psychology and I think I may be able to help.
 
11:14 AM
@PaulCrovella oh ffs
I guess I'll just go with \b
edge case is edge case
 
neo
anyone who have tried google compute engine here ?
 
The whole you => i/me thing is really hard
 
@DaveRandom the worst edge cases with \b don't come up until you have multibyte characters in odd positions
 
i just need to know, why no one answered my question, is something wrong or i have contravened the laws of room?
 
@PaulCrovella It's more stuff like pick-me-up I was thinking about
 
11:17 AM
@Devilion because either no one knows the answer or no one is in the mood to look at it
 
I'm looking for a PHP support ticket system built with bootstrap any recommendations?
 
@Gordon ok thanks anyway
 
@user3464091 why would "built with bootstrap" be a requirement for a ticket system?
 
@DaveRandom you mean that like as a singular noun?
 
TRS
@user3464091 sourceforge.net/projects/phpticketsystem here is a free script
but not with bootstrap
 
11:19 AM
@PaulCrovella !!should I have coffee as a pick-me-up or go to sleep
 
yes, that's what I meant. gotcha
 
fuck it, I just don't care enough
 
@Devilion I told you to look at queuing systems like Beanstalkd.
Fix your work flow
 
Does Beanstalkd prevent my ex from stalking me?
 
Yes.
 
11:23 AM
@littlepootis you have no ex
 
zing. Such a random drive-by :P
 
I do and she wants to get back. But I'm into something else.
 
something
 
!!should I kill myself or not?
 
You should kill yourself.
2
 
11:24 AM
Thanks @Jeeves
 
@DaveRandom You're welcome!
 
@littlepootis Why did you break up with sandvich?
 
lol
 
@Patrick, no his pump broke.
 
@Fabor Thanks bro (y)
 
11:25 AM
@Patrick LOL
 
@DaveRandom well done 👏
 
!!should I really kill myself or not?
 
You should not really kill yourself.
 
OK I won't
 
Not really...
 
11:26 AM
Sooo kinda kill yourself?
 
Just go like 90%
 
!!should I should kill yourself or nah.
 
You should should kill myself.
 
lol
 
ain't no regex gonna fix that broken shit
 
11:28 AM
Yeh, if we plug in NLP the answer to that would be "wut?"
 
Dunno.
 
The most acceptable answer.
 
Your ex is a sandwich?
 
!!should I continue coding or should I go play a game?
 
You should go play a game.
 
11:28 AM
Seems to be working
 
!!sudo make me a sandwich
 
@PaulCrovella Permission denied
 
@PaulCrovella Password:
 
!!sudo write my Laravel relationships for me.
 
!!should I I or you you?
 
11:30 AM
You should you.
 
Excellent choice.
 
Approved.
 
!!should I I or I I?
 
You should you.
 
Now you disappoint me little bot.
It's not all about me, you know!
 
11:32 AM
17 mins ago, by DaveRandom
The whole you => i/me thing is really hard
 
!!should I be disappointed in you, or you disappointed in me?
 
You should i disappointed in you.
 
lol
 
@DaveRandom Tell me about it. I worked on a NLP once. It's hard stuffs :/
 
@Sherif and the best is that natural languages are totally ambiguous…
 
11:34 AM
Yea, that's what makes it so hard.
Trying figuring out the object of a sentence in code.
 
you win some, you I lose some you
 
There's just no sane way to do it. You have to cheat.
 
@Sherif so, put a neural network behind to figure out what's probably meant depending on previous context? :-D
 
@bwoebi What if there is no previous context?
 
Then you're fucked :-D
 
11:35 AM
The problem with neural nets is ... they're useless unless you have lots of data.
Not to mention lots of compute power.
 
fortunately for english language text there's lots of data available
 
@PaulCrovella lots of text, but no info what the actual phrase syntax was
 
Well, it's not meant to emphasize on any shortage of digitized corpus, but having access to that and having useful training data are two different matters entirely.
 
@bwoebi there's a lot of that out there too
 
Hmm Hmmm Hmmm
o/
 
11:38 AM
!!sudo write my Laravel relationships for me.
 
@DaveRandom absolutely not, now make me a sandwich.
 
OK enough fiddling, going to do some work
 
poof! you're a sandwich.
 
Anonymous
@Saitama Intentional ?
 
@JayIsTooCommon ofcourse :P
 
Anonymous
11:40 AM
@Saitama Guess that makes sense though a save option would be nice too
 
!!sudo write my php relationship for me.
 
@Linus absolutely not, now make me a sandwich.
 
@JayIsTooCommon ah, nice point... gonna add it to the list of things for the next version
 
How many sandwiches will you eat @Jeeves
 
10000000000000000000000000000000000000000000000000000K
 
TRS
11:43 AM
@Jeeves will eat 2 sandwiches
 
HATEOAS just they way you form you routes in side an application that they make sense what they mean? ( Does my question even make sense? )
 
that doesn't parse, no
 
TRS
Hi all introducing my self
I am TR Senety
 
11:47 AM
I feel like an utter scrub
 
hI
 
@TRS Hello.
 
TRS
Great to meet you guys
 
Now I have to somehow debug why a sqlsrv_connect isn't working, when I have no access nor information beyond "These login infos are correct" from the guy who setup the mssql account
 
I thought TRS stoff for Telangana Rashtra Samithi.
Apparently, not.
 
TRS
11:49 AM
ha ha lols
 
I was at an indian wedding last night, it was bloody ace
The dresses that the blokes wear are dead nice
 
Well, considering they waste at least half of their lifetime earning on it..
 
Anonymous
@Jimbo .. You alright?
 
@JayIsTooCommon Hungover
 
@Magisch print_r(sqlsrv_errors());`
 

« first day (2137 days earlier)      last day (2827 days later) »