« first day (2245 days earlier)      last day (2707 days later) » 

Anonymous
12:00 PM
@PeeHaa So if yield gives back control, how do you know when you can return the value of yield? So if you say $bar = yield from $this->foo() and then return $bar, I presume it waits for yield to complete before returning?
 
Here is my php code :
I am calling this php code from javascript code
But the call is not happening
Why ?
 
Anonymous
how do you know the call is not happening?
 
Beacause the php code is returning this string "Sultan"
I have shown this in alert in javascript code ;
But the alert is not shown
 
Anonymous
have you checked your logs?
 
How can I checked that ?
How can I check that ?
 
Anonymous
12:13 PM
!!canon errors
 
378
Q: How to get useful error messages in PHP?

CandidasaI find programming in PHP quite frustrating. Quite often I will try and run the script and just get a blank screen back. No error message, just empty screen. The cause might have been a simple syntax error (wrong bracket, missing semicolon), or a failed function call, or something else entirely. ...

 
Anonymous
oh, ignore that
 
Anonymous
@SagorAhmed Depends what platform for PHP, js logs can be found in your console
 
Thank you I have got my error
I have not added this line :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 
Anonymous
:)
 
user7029249
12:26 PM
0
Q: Fetching only first row value in Database

abcdWe are trying to fetch value from database & display related value for all rows. but code is fetching only first row value in DB & displaying same value for all rows. Database Site function getDesignerCollection() { $i = 0; foreach($order as $orderData) { $ord...

 
@brzuchal I think there is still stuff to discuss, in particular how the voting should be setup. The people who have objections against the variance have actually valid points. A lot of people who are going to vote on the RFC aren't going to understand those points, and will be voting blindly...
@LeviMorrison Apologies if I missed your response, are you able to say when you think the enums RFC would be put up for proper discussion and voting?
 
@JayIsTooCommon Sorery was stuffing my face
amp magic
!!dad list
 
@PeeHaa You guys have taught me jokes about mountains, f1, constipation, skeletons, onehanded, peehaa, adobe, stockholm, stairs, process, recursive, snoopdog, cookie, snowman, ocean and currant
 
!!dad status
 
Why did the cookie go to the hospital? Because he felt crummy.
 
12:39 PM
!!plugin dadgreet status
 
@PeeHaa Syntax: plugin [list|disable|enable] [plugin-name]
 
Anonymous
@PeeHaa oh
 
@Jeeves no idea how tahtw orks
 
@PeeHaa Yes why.
 
Anonymous
gets me every time
 
12:40 PM
:P
Maybe we should just keep it like that :P
 
Anonymous
Every cloud, it's stopped posting twice
 
Anonymous
@Jeeves because!
 
@JayIsTooCommon I am ok. Are you ok?
 
Nope. You just have to hit the sweet spot
Ain't that right @Jeeves?
@Jeeves ?
 
@PeeHaa How old are you?
 
12:41 PM
@Jeeves I would rather not tell you
 
@PeeHaa Yes, I'm fine.
@PeeHaa Yes, I am. Are you?
 
odd
it fixed itself
 
Anonymous
ah
 
oh
lol
 
Anonymous
wtf
 
Anonymous
12:42 PM
I'm blaming amp magic then?
 
:P
Nope still blame me
Going to try the webinterface manually
 
Anybody please help me
I am stuck
 
Anonymous
@ZeeshanAhmed where?!
 
Try lube
 
@JayIsTooCommon have you use laravel?
I have to build a tree from a recursive function
:(
:`(
 
@PeeHaa yeah it's all on me :D
 
@ZeeshanAhmed those two things are completely unrelated
 
Otherwise Jeeves is a clever-bot
 
Oh I see
 
12:53 PM
I'm just glad that pretty boy found it for me
 
:-)
 
1:07 PM
@Danack I will, but I'm not sure I need that much, need basic routing of commands without arguments/options
 
@Leigh Noice!
Not seen <</>> before
!!docs >>
 
Bitwise operators allow evaluation and manipulation of specific bits within a value.
 
Ooh bitwise stuff
 
@tereško hey, what logo does your team have?
 
@SergeyTelshevsky Logo? Do you people also do CTF?
I could see a huge war with nerf guns trying to get the teresko's seal of disapproval flag
 
1:22 PM
@SergeyTelshevsky rlv.zcache.com/… this
 
@tereško lol
 
@tereško nice, I've taken the double-clawed hammer for mine :D
@PeeHaa not really, but it's an idead
 
@SergeyTelshevsky my first choice was lh3.googleusercontent.com/…, but I lost in the voting
 
lol
I thought about php6 stuff, but thought it may be too popular
our Java team took ¯_(ツ)_/¯ as logo
 
Including the broken arm I assume? :P
 
Anonymous
1:27 PM
@ZeeshanAhmed Nope sorry :(
 
You're building a tree using laravel?
 
I was more thinking along the lines of static8.depositphotos.com/1477718/952/i/950/…
 
Anonymous
:P
 
1:32 PM
:D
 
lol
 
If I were to implement a liking system should I just calculate the average likes to dislikes and work out the average in PHP or should I create a column on the item I want to have the average likes and update that column every now and then to represent its average likes?
 
@PeeHaa actually they took ~ as the palms, referring to curvy hands
 
lo all
 
@SergeyTelshevsky s/curvy/shivering
 
1:41 PM
@Danack so what's the plan for now? What shall I do? Write to mailing list question about voting options regarding to those variance objections ?
 
@PeeHaa ye, !straight
 
Anonymous
@connormcwood imo, don't store the average in db
 
morning all
 
@JayIsTooCommon Thats what I thought as it breaks normalisation however I am wanting the data to be filtered by this particular average
 
You can always calculate the average in your SQL query
 
1:55 PM
Is there any way to change the root directory on apache to be html instead of public_html? Note that I only have access to .htaccess
 
@sweg_yolo_69 no. DocumentRoot may only appear in a server or virtualhost directive
 
@iroegbu Which is better for efficiency?
 
@Gordon That sucks :( I have different root dirs on my VPS www and on GoDaddypublic_html so I can't just upload the files directly
 
@sweg_yolo_69 I am not sure I understand. what does uploading have to do with anything?
 
mornin
 
2:00 PM
@sweg_yolo_69 I think you are saying you are developing on your VPS and your production server is at GoDaddy and they have different document roots.
 
Apache people, is it safe to set ProxyPassMatch for php-fpm as a global setting?
 
@Gordon Exactly
 
@Sean Nope
 
So, on a per host basis?
 
In order for it to work properly you need to uninstall apache and install nginx
5
:P
 
2:01 PM
lmao
 
Anonymous
lol
 
@sweg_yolo_69 so why dont you change your VPS doc root then? or use a VM locally for development where you can match the prod server
 
Somehow I was expecting that
 
:D
 
@Gordon In my local project view on PHPStorm the file is public_html/test.php but if I upload it directly like that to the VPS it won't work since the root dir there is www
 
2:02 PM
wat
How does the docroot in any way relate to an ide?
 
@Gordon I don't really want to change the root dir there
 
then tough luck I guess ¯\_(ツ)_/¯
 
@PeeHaa The IDE is irrelevant, but what is is that the local file path is public_html/file.php and the root dir for my VPS is www so public_html/file.php won't work on the VPS, instead I need to upload it at www/file.php
 
some IDEs allow you to map the upload path.
 
@Gordon Yes I thought of that but I also need to upload files outside the root
 
2:06 PM
well, then: a) change the doc root on the vps or b) use a VM
 
I'm still utterly confused what the problem is but I will let gurden handle it :)
 
Well the VPS is technically my VM until the transfer process is finished from GoDaddy to the VPS so I guess I'll just change the root
 
on a side note, if you cannot change the docroot of your prod server, it means your prod server sucks.
 
That's why I'm switching to a VPS
 
Another option would be to use a symlink
 
2:11 PM
@PeeHaa so when I upload test.php it will be uploaded to public_html/test.php instead of www/test.php
@PeeHaa and I can't change my local root dir because if I do that, it will be broken on the production server
@Gordon symlink /var/www/public_html to /var/www/html?
 
@Sean 6x 50 bit integers, bits represent on/off state of pixels on the screen
 
I should look into more bit magic :p
Woo, got a server running on fpm :D
 
@sweg_yolo_69 if that works for you…
 
@Gordon it's a better solution that anything I have right now
 
@Sean why is that woo? that's as simple as doing docker run php:7-fpm :P
 
2:20 PM
Because 14.04 and apache and php5. :<
 
I'm pretty sure docker works on 14.04
 
What's the purpose of using multiple pools in fpm?
Oh I guess being able to change php settings per app is useful
 
@Gordon I did ls -s /var/www/html /var/www/public_html but then when I uploaded a file it uploaded to /var/www/var/www/publich_html/file.php
 
I tend to ask a lot of stupid questions like this in chat. Maybe I should make a Jeeves plugin if there isn't already which will just search SO lol.
 
@Sean chroot, permissions, settings
@Sean It's not stupid
 
Anonymous
2:37 PM
@PeeHaa Want me to add the msg to cleverbot call ?
 
@Sean Not much point given that you can run two containers these days, but pre-container-popularity I used to use it for binding different parts of an app to different IP/ports
 
@JayIsTooCommon Yes please
 
(case in point, public facing versus internal APIs)
 
Anonymous
@PeeHaa normalized?
 
@Sean also the resource limits per pool. Admin pages need only a couple of processes....but you always want admins to be able to login even if the main pool is being ddos'ed.
 
2:44 PM
@Danack Ooh, that's smart
 
I'm having a huge brainfart, what's the site people use to show HTML/CSS/JS that gets presented into a fourth square in the bottom right to preview the code.
 
Anonymous
@Tiffany jsfiddle
 
@JayIsTooCommon yesss! thank you
 
Anonymous
nw
 
I kept thinking CodePen, while it does the same thing, it's not what I was looking for.
 
Anonymous
2:45 PM
:P
 
This resource / pool management stuff is neat.
 
does anyone use Docker?
 
@JayIsTooCommon ?
 
Anonymous
@PeeHaa doesn't matter, PR'd
 
Anonymous
:P
 
2:59 PM
!!changelog
 
[ Jeeves ] [ c3ffe83 ] Merge pull request #119 from JayPHP/patch-2 Added message to chatBot request - Commited by: Ekin on 08.12.2016 14:58
 

« first day (2245 days earlier)      last day (2707 days later) »