« first day (2832 days earlier)      last day (2342 days later) » 

15:08
@Wes sounds like what I would do, but only because I am lazy and don't give a shit about frontend and we have frontend people who are responsible for this kind of tasks :P
Wes
Wes
one day i will mysql_real_escape_string all over the place in your code dude
@PeeHaa nice website lmao
Thanks
@Wes lol
is the PH meant to look like anything
because the fact you have a yellow box around the second half of your name sure reminds me of another website
hahaha
@zack6849 yeah, pronhub
I'd give them my details, no probs
@mega6382 Sorry, I don't know how to turn that kind of onebox into a tweet
I'd give them @DaveRandom details, no probs
15:23
!!blame @PeeHaa
@Jeeves why is that? @PeeHaa why doesn't it just uploads the image to twitter or posts the link to twitter?
Dunno. I think imma blame @DaveRandom for this one
oh fail
that should be pretty simple
should we have the alt text as the tweet text?
@DaveRandom "Dear photgrapher, it's very important that you take photographs of us that represent our corporate persona. I really want you to go out of your way to make us look like greasy money grabbing spivs as much as is physically possible."
15:26
Give it couple of weeks @mega6382 while @DaveRandom rewrites the entire plugin
@DaveRandom oh that would be sexy I think
No I already rewrote that one, adding a new onebox type should be trivial
uhhu
although it might be nice if we just rt'd twitter.com/xkcdComic/status/1019597966422626304
Neh
Too much effort
I will just have it do the image for now, with the alt text truncated to 280 with an ellipsis
15:28
Wait what, I thought Jeeves already knew to upload those as pictures?
xkcd is special
It does for images uploaded to chat
@Danack lol, look at Danielle Church's picture. It uh, doesn't match the rest of them. Also, Peter Rabey looks... well, like a "greasy money grabby spiv".
the main "special"ness is the alt text I think
Ah I see
15:35
Is there a PSR-2 formatter for the command line? (to run tasks automatically) PHPBeautifier hasn't been touched in 8 years. PHPStorm can do it but I'm trying to automate this.
!!uptime
╔══════════════════════════════════╗
║ [42 seconds] without an accident ║
║   since [2018-07-18 15:38:31]    ║
╚══════════════════════════════════╝
@LeviMorrison yeah....I also noticed Danielle. Funny how the marketing person knows how not to mess up their own brand.
..
..
@DaveRandom Seems like, you fucked up
:P
I need a variable name for a boolean flag for when something will appear on a page. I was thinking $notification_exists, but is there something else that's more explanatory? I want to have it to where I can have if($notification_exists) { // do stuff }, so that if it's set to true or false, the variable name is hopefully unambiguous in this situation.
omg we need async/await so badly
the generator hack is so IDE-unfriendly
phpcbf --standard=PSR2 src is that I was looking foor
right, third time lucky
\o/
yay!!
15:44
3 messages moved to Trash
so yeh it was a trivial change @PeeHaa, just I am a retard so I made it hard
@DaveRandom more like a dork
or maybe a duck
quack
"Fuck you dolphin", nice commit message :P
I'm lazy
!!git
15:47
github.com/Room-11/Jeeves
...lol
uuuuuu
wat
lol who did that
@DaveRandom we added a !!source and !!git command to display the source code link earlier
but it's not the FQDN
WOOPS
7 messages moved to Trash
it's been like a half hour of dicking with jeeves because someone wanted to tweet something.. ffs just tweet the damn thing instead next time
15:49
you're bin happy
@PaulCrovella but that would require logging into Jeeves on Twitter and OMG that's such a bother
I am generally of the opinion, btw, that if you are going to create a command with !!alias and then create another alias of it, you should do that ^ and create the additional aliases to the first one you made
@DaveRandom I forgot about alias :S
firstly so you can be sure they all do the same thing, and secondly so that if you need to change what it does, you only have to change one of them
yeh, aliases are resolved recursively
ain't nobody gonna remember that shit
there's a guard in there to prevent loops iirc, but you could still overflow the stack if you were that way inclined i think
don't really know how to guard against that
needs a max depth but that could be hard to implement
15:51
damn, it looks like Commit Logs from Last Night isn't working anymore. I was hoping to see @DaveRandom's commit message on there.
well there is this:
!!changelog
[ Jeeves ] [ 43eb294 ] Fuck you dolphin - Committed by: Chris Wright on 18.07.2018 15:43
Wes
Wes
16:12
@Jeeves static analysis all the things
Does anyone have a non-accusatory way of asking someone "Why is it taking you so long to get stuff done? You don't seem to have written much code in the past 3 days".
@Danack "Let me know if you need any help"?
@jjok I've tried that before at other places - it seems to be creating a trap for yourself. When they likely say "No, I'm fine, I'm just working through it." you seem even more of a dick when you ask the real question.
Hmm..
@Danack Did you already ask "How are you getting on with that X?"
Not explicitly but I have talked to the about the ticket they've been working on today, and we have standups every day.
16:20
@Danack I dunno if this is the right way to approach it, depends entirely on the person you're asking, their personality, and how comfortable you feel about saying it. Maybe something along the lines of "hey, anything going wrong? I've noticed your productivity has dropped ... blah blah blah..." but also depends on if you want to play therapist.
@Tiffany sounds kind of good....presumably I should also carry a baseball bat when I talk to them....?
if they're normally productive, they could be having some personal stuff they're working through and it's distracting them; but if they're not normally productive and have a tendency to be a slacker, then probably not a good idea to play "buddy-buddy"
hypothetically they might be a new starter.
Maybe ask if they're having trouble working through an issue?
PDO throws PDOException for no apparent reason – #76639
16:24
and probably make them aware that they need to communicate to you if they're struggling with something they're working on so that you're aware of what's going on
^ something I had to learn a couple months ago, and has made interactions with my supervisor a lot better
@Jeeves never thought I'd see asterisks to indicate action in a bug report.
*sigh*
16:44
@JoeWatkins I need to talk to you when you have a few mins, could do with live chat rather than offline message ping-pong, can you ping me and/or twatter dm me when you have a few mins?
posted on July 17, 2018

Latest. Comic. Ever. I’m writing this on the 17th, knowing that there’s no way my words will be posted until tomorrow. The comic is done, this news is done, I just don’t have the means to upload. I’ve never missed a comic deadline before. I’ve worked around travel, funerals, moving, computer crashes, ER visits, classes, contract work, illness, deleted files, injuries, and important tel

your customers
...
"your customers" ... so make check payable to... PHP Group?
I know that its not html chat room but I am asking question just in case someone knows... Can I include an answer like the one on stackoverflow in article element or not?
Wes
Wes
16:58
@Danack it's an old bug
SELECT * FROM a WHERE b <= :xxx AND c >= :xxx
@Wes do me a favour and find a dupe then?
Wes
Wes
with emulate prepares it says wrong argument number
@user1575229 you can do whatever you want.
Wes
Wes
with native prepares that's allowed
or the other way around
@Danack yes that is the problem I can do what I want.. but will it be semantically accurate
16:59
international
Wes
Wes
i'm searching
evenin
@Wes isn't it kinda documented that one cannot use the same parameter name more than once?
Wes
Wes
no idea
user9731806
17:04
hello, would it be possible to ask one question?
user9731806
when I write a php script, large one, I do the html/css first, then database columns (lets say just one table for this) and then I make it work as a whole
user9731806
I divide the script into functionalites and I make all empty files for them up front, this can be put into folders and sub folders too
user9731806
and then I write?
user9731806
so functionalites, all empty files in folders and subfolders and go from there?
user9731806
is this the process?
user9731806
17:05
is this how this gets done (by the developers)?
Wes
Wes
the fact that you cannot use the same label multiple times seems intentional. so probably not a bug/wontfix
@gs3 There are no real definitive answer to that question; it's a matter of preference. My preference is to create files when needed, and never hesitate to rename, move, of delete them
user9731806
thanks, this is the part that I dont get, to get the whole pic
user9731806
so how could I imagine that, would this be the best way to imagine to start?
@gs3 ten5?
17:08
no.
user9731806
as an exercise, take any script that you know (like wordpress), divide it into functionalites, put it in folders / subfolders, create all empty files up front, and you write in there then?
oh, maybe.
user9731806
like register.php, login.php, logout.php, add_as_friend.php, comment_on_video.php and so on
@gs3 you should probably learn by using a framework like slim or symfony and see how they do it, rather than trying to learn by yourself.
user9731806
17:09
make a list like this, then I put it in folders / subfolders and I write code in that?
I see my reflexes are rusty
user9731806
@Danack - this is too hard for now, I will do it over time; the thing is that this what I am asking about is like the big #1 thing that I dont get
user9731806
and when I get that I will have the "big pic" and all will be easier after that
Tomáš - go to your doctor and get some help.
user9731806
like I will be able to lay on a bad and thing about this, cause I see how this gets together
user9731806
17:11
so functionalites, all empty files up front (in folders/subfolders)?
user9731806
correct?
35 secs ago, by Danack
Tomáš - go to your doctor and get some help.
user9731806
like @FélixGagnon-Grenier said - matter of preference, no definite answer
user9731806
but what could be the best answer for a beginner like me
user9731806
how to think of this
user9731806
17:12
not wrong to think functionalites, all empty files up front (and in folders and sub-folders)
user9731806
not wrong thinking?
user9731806
this is GOOD?
figure it out through trial and error
if you find that it doesn't work for you, don't do it
if you find that it saves you time while working on a project, do it
Wes
Wes
seems gone already
user9731806
@Tiffany - but how would you explain? divide into functionalites, empty file for each, put in folders and subfolders, write in that?
17:14
Thomas - fuck off. Until you get medically help, you are not welcome here.
@Tiffany Its more likely that this is @StatikStasis trying to impersonate @ten5, because @ten5 hasn't come around in a while :P
@Danack go a bit easy on that stuff
you can make the comment without having to insult
@ircmaxell this is his 5th spam account.
He is deeply unwell and in complete denial about it.
yes, and you can kick him and say he's not welcome. But "get mnedical help" isn't cool
I mean, I'm all for being nice, but it's kinda true..
That person really seem to have problems getting through daily stuff
Wes
Wes
17:17
@ircmaxell only if you don't know the whole story... it's actually a good advice in this case
@ircmaxell I don't have time to discuss it, fully and it would be better off done in a pub. If you have the time, you should look at the thousands of messages he has posted here where people have been nice to him for months.
then kick him and say he's not welcome
but you don']t need to take it to "fuck off" levels
@ircmaxell I believe it required when someone is creating multiple fake accounts to work around bans.
.....I really would like him to go get help.
no, then ping mods to handle that
on the plus side that account just got nuked
17:18
@ircmaxell have already done that also.
he just doesn't seem to understand that he is behaviour looks like he is ill. I believe that using strong language has a small (but non-zero) chance of getting through to him.
@ircmaxell already have done multiple times, to no much effect
If he is behaving anything like he does here in real life, that is hugely unhealthy. Having a small chance of getting through to him is better (imo) than just making it not our problem.
GROWTH HACK: REMOVE THE ABILITY FOR YOUR CUSTOMERS TO CANCEL SUBSCRIPTIONS! NEVER GIVE UP REVENUE WITHOUT A PROTRACTED LEGAL BATTLE!
about the PDO thingy, in one of the reports it's linked to [pmj blog](http://paul-m-jones.com/archives/243) :
For valid reasons of security and stability in memory handling, as noted to me by Wez Furlong, the above behavior is no longer supported. That is, you cannot bind a single parameter or value to multiple identical placeholders in a statement.
bahhh, screw you too md
@pmmaga I think you need http(s)://
wait, you have it already
17:21
@Tiffany I believe I pasted it in, but not sure
anyone remembers anything related to that? 5.2 for me is ancient history :x
@Tiffany I think it collapsed when I tried to add a quote after the first sentence
multiline messages get fuckall for markdown support
ahhh
17:24
it almost scrapes the surface of recursion
also what did I miss
some guy evading bans and got nuked but i dont see messages or deleted messages in the trash channel
????????
Wes
Wes
@ircmaxell the guy is either king troll or someone really confused that actually needs medical treatment. we've been nice to him for months, he monopolized the chat with thousands of messages and never listened our suggestions
a user that has visited this chatroom over the course of a year with ~5 different accounts and for several months focused entirely on the academic side of learning PHP
let's think about beer
17:25
what do you mean he needs medical treatment?
He would ask hypothetical and existential questions, and would shrug off answers he'd receive because they weren't the answer he wanted
oh btw I proceeded further on keto @Wes. Goes somewhat well, but having to drink other alcohol than beer is hard
Wes
Wes
eventually we just gave up with him and asked him to stop, but he didn't
that sounds like a nice waste of time
17:26
There were times he'd talk to himself, because either people had him on ignore, or they were outright ignoring what he was saying (without using the chat ignore feature). When he rambled like that, it ended up turning into word salad and brain vomit that didn't reach a point.
Wes
Wes
@FélixGagnon-Grenier other alcohol than beer?
beer is too high in carbs, screws daily intake ;)
Wes
Wes
what are you drinking lol
because beer is mostly water... other alcohols likely contain more sugar than beer does
... beer is fermented grains. grains are amongst the highest carb yield.
distilled alcohol and wine, for instance, are better, possibly because you drink less of it?
Wes
Wes
17:30
wine is also mostly water but i'm sure it contains a lot of sugar too. but not as much as liquors
you know what's low in carbs? heroin
Wes
Wes
lol
he has a point
Wes
Wes
i bought coke zero today
it sux
the "big pic" - no-one else ever says that. Everyone else wants quick solutions first...
danack has had some serious sherlock skills here
good morning
17:40
@Wes but Tiff was quicker...
:$
I'm bothered that I'm so used to his writing style that I can figure out if it's him or isn't in ~1-2 minutes
Wes
Wes
ahah
speaking of ocd
you are welcome
there's probably not much profit in discussing spammers behaviour in this room. Other places would be more appropriate for that.
@Wes lol
18:00
Hi all
Wes
Wes
@FélixGagnon-Grenier did you read bout the bulletproof coffee
no. generally liquids make for poor bullet protection, but I'm ok with being surprised ;)
Wes
Wes
keto diet. they put butter in coffee
how can i check what modules are installed in php 5.6 on ubuntu?
18:01
@QasimAli php -m
Wes
Wes
i even tried it. it's disgusting
are the ones in use.
....if you actually meant installed on the system then probably apt list installed or similar...
@Danack thanks
Wes
Wes
also what paul said :B
18:03
stack-overflow in match (ext/pcre/pcrelib/pcre_exec.c) – #76640
@Wes I don't know where you get all this, but maybe you need to separate grain from chaff with you reading ;)
@PaulCrovella oh right, high speed and water
Wes
Wes
@FélixGagnon-Grenier youtube mostly. but as for everything it's all shit. the bulletproof diet was invented by this guy, dave asprey
never heard of
Wes
Wes
i have no idea how is that related to the keto diet. but it's probably bullshit
i just asked if you knew about the bulletproof coffee, because this youtube.com/watch?v=gAUCHUR7sHU
simpsons predicted that even
is it possible that all my back aching problems could be solvable by putting a pillow between my butt and the chair? wtf
18:26
About the PDO thingy, I find Wez mentioning that "it is not portable" in two places but I don't really get why. Because different DBs would handle it natively (it is allowed with emulated prepares) in different ways?
Either way, it is tested and documented
Wes
Wes
is it possible that it's not supported because bindValue can bind references, or a stream, or something like that... @pmmaga
it's a larger issue than php. Postgres didn't even support named parameters before 9.2, it seems
Wes
Wes
i've been using pdo for ages and i still don't know if i should be using native prepares or emulated ones
Wes
Wes
that's a "i don't know either" or?
18:36
oh, I don't emulate ever but I guess that could be because I haven't been bitten by having to deploy to <arbitrary_dbms>
@Wes I guess so, but we have to "resolve" them anyway even to just use it once. I'm not really familiar with pdo internals
Wes
Wes
still it doesn't explain why with native prepares it does work
wonder what happens with those
the other way around :P
Wes
Wes
?
it works with emulated, not with native
Wes
Wes
18:39
i swear i tried and it was the other way around lol
ok you are right lol, brainfart then
that makes sense. it could be limitation mysql
actually from what I read, it seems that mysql could actually deal with that, but because others don't, you don't get a cookie
Wes
Wes
*a limitation of mysql
do i usually skip words like that? bloody hell
also i still don't know why we should be using native prepares... arent emulated ones more portable? i mean, why are them even an option?
is it just me, or does this code seem like a clusterfuck?
I'm trying to read it, but there are so many nested parentheses and ambiguous parts
@Wes they are more portable, but if that's not an issue for you (writing an application that will work with mysql and not a lib), I believe native ones have some advantages, like actually letting the DB prepare an execution plan and roll with it for subsequent calls
@Tiffany never try to read code given as an image
@PaulCrovella that's what I put in my comment
silly people using @ to hide errors...
is that useful?
for non-streamer gamers?
we use it at work for recording tutorial videos, so I'm of the opinion that it's even more useful for non-gamers because Open Broadcast Software exists and is pretty damn good for streaming games
@FélixGagnon-Grenier pretty sure that's for recording and editing, not streaming
obs also does recording.. just doesn't handle editing
19:09
yar
I haven't used Camtasia personally, but based on what I've heard from coworkers, it's pretty damn useful
But normally, it's expensive as fuck
Afternoon
Wes
Wes
\o
fraps, camstudio?
19:25
how generate feed for site's that dont offer Feed?
Hmmm. That linux humble bundle gave me my new time sink for next week: OpenBSD! time to get that paranoia some rest.
@Mostafa like an RSS feed? XML feed? what?
@FélixGagnon-Grenier :D
Yes. like rss feed...i know making rss feed part..but dont know how get all content without duplicated...
@Tiffany
maybe make a cronjob that run every 10 min and then ......????
@Mostafa I'm trying to understand the nature of what you're asking for ... are you wanting to know how to generate an RSS feed for a website that you own, or are you trying to generate a feed for your own use from another website that you don't own?
@Tiffany I want generate RSS feed for a website that dose not offer RSS...
19:33
@Mostafa but is it your site, or someone else's site?
for example in some freelancer websites.. we dont have RSS for check projects...
someone else site
do they offer an API to gather data from their site?
@Tiffany No
I think that's nearing a gray area, since the site may not want a feed to be generated from their data
correct.
19:37
I'd first verify that they're okay with you generating the feed
in other words: make sure you have their permission
OK...then ...now how?
sorry, I'm getting a migraine, I won't be able to assist at the present time
ok..thanks..
i search on google more :)
Wes
Wes
20:22
!!should i have coffee or go to sleep
You should go to sleep.
Wes
Wes
don't tell me what to do
@Wes I just told my friend I was getting a late coffee an hour ago... usually doesn't affect me significantly- but occasionally it can give me restless sleep, especially if I wake up at 1am or 2am - then I cannot go back to sleep and end up in front of the TV eating a bowl of cereal.
Wes
Wes
you said that and all i could think is damn cereals are a lot of carbs
i have become a terrible person
20:37
@mega6382 apparently there's a kitten who caused tension between the US and Pakistan in the 60s because of the kitten's name fullyfeline.com/…
20:47
@Wes @PeeHaa Does anyone of you have time to install ext-async on Windows and test amphp/process with it on the ext-async branch?
Wes
Wes
is it on windows.php.net or needs to compile?
Needs compile.
Wes
Wes
which php version?
master
Fibers only work on 7.3+ unfortunately.
Wes
Wes
master is a pita because usually requires vs update
lemme check
20:53
@kelunik is this the beginning steps of bringing async to PHP standard?
@Tiffany yes.
oh the possibilities :)
Wes
Wes
you sure master? wasn't 7.3 tagged already?
hello friends
Need a quick help
Please anyone can guide. I am stuck for last 16 hours
the manual says to use the $config[‘dsn’] setting instead of ‘hostname’ and ‘database’, please read codeigniter.com/userguide3/database/…. I'm not familiar with PDO driver setup. — Vickel 29 mins ago
Wes
Wes
you need to update the installer before updating visual studio
this is always amazing to read lol
21:02
@Wes what installer?
Wes
Wes
visual studio installer
I think I remember, it has one of those fancy installers, doesn't it?
Please anyone can help me.
Incorrect PHP versions for DateTime::getTimezone – #76641
I would help, but I'm still battling a headache and trying to process anything I don't already understand makes my head hurt worse
21:04
@Wes Doesn't matter which one. Alphas are tagged, but no final.
@Tiffany github.com/amphp/process/blob/… < No Loop::run(), it automatically ends the script once done. :)
@NomanJaved Have you tried localhost instead of the name of your computer?
yes
but still get the same error
@kelunik nice!
I think that'll help with the learning curve
that was one of the things I had a little trouble wrapping my brain around doing when I was reading Amp docs a while back
@NomanJaved and a dsn as specified in this page?
Wes
Wes
21:09
i am a bit confused
wher can I add this in codeigniter $c = new PDO("sqlsrv:Server=localhost;Database=testdb", "UserName", "Password");
database file?
Heading home. Later.
Wes
Wes
will take some time
@Wes I'm anyway off now. There's no need to hurry. :) Thanks!
o/
any other solution
Wes
Wes
21:18
no prob. later \o
21:30
need help with a code in codeigniter :(
21:46
Oh woah, update to chat on mobile
But message bug is still here

« first day (2832 days earlier)      last day (2342 days later) »