« first day (2104 days earlier)      last day (3070 days later) » 

15:00
you?
Lousy SO down
@mesqueeb now I feel insulted
@Fabor And nothing of value is lost
@Gordon Sorry Gordo! I didn't mean to offend you at all!! ♡
@mesqueeb calling me Gordo doesnt make it any better -.-
15:03
@Gordo I like that
Sorry that 'n' was hidden behind your logo xDDD
@TheAmazingUncleGordo
lolhaa
user924016
lol
From now on, Gordo. And so it shall be!
15:07
@mesqueeb I assume you are looking at laravel.io/forum/…, in which case I assume it means that it's equivalent to writing $table->integer('taggable_id')->unsigned(); $table->string('taggable_type'); - what that actually does I have no idea though
Alright, a shame! Cheers mate!!!!
@mesqueeb You understand nested sets yet?
@PeeHaa Thanks for the followup!! :D Yes, I understand how they work and I am trying to get this Laravel plugin for easy editing of nested set databases to work now.
cool
@Peehaa Thanks for opening my world when I know so little ♡
15:09
Don't thank him, it'll go to his head.
We've put a lot of time and effort in to kicking @PeeHaa down.
It's true
How come??? xDDD let's be friends guys!
!!should I befriend @PeeHaa?
15:11
Please Do Not Feed The @PeeHaa, It Is On A Strict Diet Of Abuse
5
@Jeeves are you alive?
What's the temperature like up there today @DaveRandom?
!!version
@DaveRandom A diet where you get abused or a diet where you're not allowed to accept any abuse?
gee tnx @Fabor
15:12
log me up
I don't even know what that means or what position I need to take for that
I'm pretty certain it involves a toilet and a collection of small forest creatures
Hmm, I am getting configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: ). when configuring PHP from source. Can I ignore that or does it need to be handled?
"Pokemon Go enthusiasm has reached its projected peak." "Good. Now announce the legendary Mewtwo can only be found on Mars." "Yes, Mr Musk."
@Gordon are you going to be regenerating the language parser?
aka changing language syntax.
hey @PeeHaa you got time to try and sort out the SSH key thing?
15:15
@Danack no?
@Gordon well, what's your bison version? / is it located in a sane place?
in +/- 45 minutes I will if you are still available by then?
Then probably not.
yeh should be
ty
cool
15:16
@bwoebi what is a sane place?
version is bison (GNU Bison) 2.3
@Gordon /usr/local/bin or /usr/bin, usually.
What's up with the JavaScript room, all they've been doing for the past weeks is chat about Pokemon Go. xD
(not that I'm not interested in Pokemon Go, but still........)
@bwoebi it's in /usr/bin
@Gordon weird that it finds none then…
@Danack by projected peak you mean it has "jumped the shark"
@bwoebi well, do I need to address it anyway?
15:19
@Gordon well, if it compiles fine, then not
it did
Anonymous
Stack Overflow is now coming back online. Details to follow.
@Gordon then it's probably fine
@JayIsTooCommon uh, was it down?
Anonymous
@bwoebi Aye, only for 20 min
but for some reason it won't enable opcache
15:20
Didn't notice. Nick's too fast.
@Gordon that's unrelated then.
Anonymous
!!version
Gon
Gon
^ dat:P
@Gordon (you included zend_extension=/path/to/opcache.so in your ini?)
Gon
Gon
31 secs ago, by bwoebi
Didn't notice. Nick's too fast.
@bwoebi I probably forgot that
15:21
opcache is a dick. screw that guy.
@DaveRandom opcache is not organic, so probably not a dick
@Trowski If we go with PHP 7, we should also make the standard based on PHP 7.
Nothing can screw me over that much unless it is sentient.
@kelunik no reason to…
@DaveRandom real dicks are sentinent…
@bwoebi Why? Scalar types? Return types?
15:24
@kelunik if that's the only benefit, I wouldn't do it.
@bwoebi If Amp becomes the standard implementation, it's worth it.
In that case maybe, but we don't know yet what will be in future.
The unknown future is that far away that 5.6 will be EOL then probably.
@kelunik Really? I thought it will be quite soon (like in the next 2 months) until we know about the relation react will have to the standard.
http://stackoverflow.com/questions/38482482/in-codeigniter-is-there-‌​any-disadvantages-of-using-route
15:28
@bwoebi Sure, but we'll wait with the spec 1.0.0 until we know that anyway. I'm talking about the time after that.
@kelunik In case it will be the standard, as said, I'm fine. But first let's wait what react says.
Hello, my host did an "emergency server migration" for hardware issues last night, and now a ton of my code is not working. It seems to mostly have to do with communicating with the database. I have noticed, for example, that I can't seem to pass an empty value the same way:

so INSERT INTO `logLogin`(`logLoginId`,`clientId`,`clientType`) VALUES ('', '".$clientId."', '".$customerType."');

needed to be changed to INSERT INTO `logLogin`(`clientId`,`clientType`)
VALUES ('".$clientId."', '".$customerType."');
is there some sort of mysqli change between versions of php? I think I have it switched to the exact same version
@radleybobins your host did that on it's own? or your hosting provider did that?
@Gordon my hosting provider did it
@radleybobins then you should contact the hosting provider and politely tell him that he broke your server
15:34
@Gordon I've gone back and forth with them, but they said that all the settings are the same, and that they are working on it on their side
user924016
yea
Yeah, during my busy season, no less! I'm just trying to help them track down the issue, but I might be in a little over my head
on a side note: unless you sanitized the variables beforehand, that query of yours needs to be rewritten to use prepared statements anyway
yeah, i've actually switched on all my new projects, but this was my first project when i was learning to code 7 years ago, and it turned into my company with the same old code that I originally had
i did sanitize
so at least i was smart enough at that point to do that
when you say it is not working, do you get an error message?
15:42
There was an error running queryRL[Incorrect integer value: '' for column 'logLoginId' at row 1]
Could the mysql version be wrong? Is that possible to change?
@radleybobins it could be they turned on error checking at the MySQL level - and the code has always been submitting an incorrect value, but only now is it being detected.
@DaveRandom
3
Q: Incorrect integer value: '' for column 'id' at row 1

AnchovyLegendI am trying to insert into my mySQL database. The first column is the 'id' column, since its an auto_increment field, I left it blank. For some reason, I am unable to insert and I am getting the error mentioned below. I appreciate any help with this. I am getting the following error while trying...

@PeeHaa
Any idea what log to check :P
auth isn't a thing anymore it seems
can you try ti connect. I want to seen where it fails first
15:47
It works fine when you have a MySQL-server without propper configuration. See the SQL MODE: dev.mysql.com/doc/refman/5.1/en/server-sql-mode.html A good configuration will produce errors when you do something wrong. Inserting a string into a integer field, is wrong. — Frank Heikens Mar 29 '10 at 6:56
Gon
Gon
Waddup!
@radleybobins and a working link to sql modes: dev.mysql.com/doc/refman/5.7/en/sql-mode.html
@Gon updog
oh @Jeeves died because SO openid also was down
yeah, okay, sorry, i'm simultaneously on the phone with my host now
it seems like i have a different version of mysql
Gon
Gon
@Gordon updog?
15:49
@PeeHaa that shouldn't cause an issue though? That would presumably stop it from starting up again...
yea. Not sure yet why it actually died. Just why it didn't resurrect
@Gon not much
> Jul 20 16:42:17 149-210-224-55 php: [2016-07-20 14:42:17] Disabling plugin 'jeevesdad' for room 'chat.stackoverflow.com#11' (persist = no)
Jul 20 16:42:17 149-210-224-55 php: [2016-07-20 14:42:17] Attempting to reconnect to chat.stackoverflow.com#11
Jul 20 16:42:48 149-210-224-55 php: [2016-07-20 14:42:48] Connection attempt #1 failed! Retrying in 5 seconds. The error was: Connection to tcp://chat.stackoverflow.com:443 failed: timeout exceeded (30000 ms)
Jul 20 16:42:53 149-210-224-55 php: [2016-07-20 14:42:53] Attempting to reconnect to chat.stackoverflow.com#11
Gon
Gon
15:50
:P 'kay
!!urban updog
Gon
Gon
Stupid @Jeeves
ugh, what port was it again @PeeHaa?
@PeeHaa I object to this line: Disabling plugin 'jeevesdad' for room 'chat.stackoverflow.com#11' (persist = no)
7123
Gon
Gon
15:51
> Jul 20 16:42:17 149-210-224-55 php: [2016-07-20 14:42:17] Disabling plugin 'jeevesdad' for room 'chat.stackoverflow.com#11' (persist = no)
YYYYYYY?
@Gordon There are more lines like that for that other ones ;)
@PeeHaa k made a connect attempt @PeeHaa
> Jul 20 17:51:30 149-210-224-55 sshd[1280]: input_userauth_request: invalid user daverandom [preauth]
Jul 20 17:51:30 149-210-224-55 sshd[1280]: error: Received disconnect from 109.111.215.194: 14: No supported authentication methods available [preauth]
Are you actually using your key?
Using username "daverandom".
Server refused our key
> invalid user daverandom
??
uh huh
let me check. maybe I did it on the wrong machien :P
oh ha
yea stupid probably
15:53
oh haa
> not allowed because not listed in AllowUsers
@DaveRandom try it again pweees
@PeeHaa now, what shall I do with this new-found power???
Also, more importantly, where is Jeeves root dir?
15:58
@DaveRandom add BlackJack obviously.
@DaveRandom obviously leak us the pictures of @PeeHaa's mom. I think they are in /etc/mom
@DaveRandom /srv/www/Jeeves
@DaveRandom I trust you only do evil and not good
@DaveRandom can you try to sudo to be sure?
@gordon ah, strict mode seems like a promising direction
@radleybobins if that fixes it, your hoster owes me 5000 bucks
@PeeHaa works, ty
16:04
haha, I'll forward them the invoice
I'll share with @Danack though because he gave the initial hint
@DaveRandom awesomesauce
Gon
Gon
:P
user924016
16:16
heh
@PeeHaa I admit defeat. Where are the log files? :-P
logging:
  level: ALL | DEBUG
  handler: Room11\Jeeves\Log\StdOut
  params:
    #filename: /var/log/jeeves
This makes no sense
specifically that it's configured for stdout
Oh did I reset that too stdout
hmmm systemd log probably
Let me try to guess some commands
journalctl -u jeeves
that's a huge freaking list but you can pick a time range (I think) and/or just follow
Success? @DaveRandom
still working on it
:-P
hehe
yeh got it cheers
16:25
\o/
Anonymous
Eh
Anonymous
I'm struggling to find examples to compare but oop wise, is this what you would expect to see for a basic db class (+auryn) or am I way off track? github.com/JayPHP/Project-Template/commit/…
SHould we just comment on github or in here?
Anonymous
Ah geez, that bad? :p GitHub is easier I guess, if you don't mind
@PeeHaa what's that random stray untracked file (init.production.php) about? doesn't seem useful, can remove?
16:30
@JayIsTooCommon class PdoAdapter implements Database { public function __construct(Pdo $pdo) { $this->pdo = $pdo; } public function connect() { /* void */ } }
> Pdo $pdo
You are a bad person.
@Gordon PDO is short for PHP: Hypertext Preprocessor Data Objects … so, don't convert uppercase chars into lowercase ones :x
@DaveRandom I think you can delete it. One way to find out
Pfff. Why is CSP such a PITA to configure?
Because sec people don't work in UX department…
16:40
@JayIsTooCommon Just two quick remarks for now
Welcome back @Jeeves
!!version
Stay in there for a moment
Can you pull again please?
That's probably not going to work, btw
oh cock :P
16:42
didn't have time to comment, but branches are not named the same on the new version
@PeeHaa nothing lost#
true
!!lxr zval
@DaveRandom There were no results for that search
At least it's fast now :P
16:43
nice job @FlorianMargaine!
Anonymous
@Gordon Not sure I'm following :S I get that I haven't injected pdo (my bad) but what are you recommending apart from that?
Anonymous
@PeeHaa thank you, config comment makes sense - you mentioned about the environment constant, what would be a better way of getting that var into the db class?
You don't need it. Because you don't inject the entire config into things
The bootstrapper will pass the correct ones based on the env
If you get what I mean?
The usefulness of globally available constants is imo very limited
Anonymous
I think so, so I should be parsing the YAML in bootstrap and selecting the right credents there?
Yes
Bonus points. Once you start testing things you can actually provide test parameters
Anonymous
16:50
And then I also make the db class in bootstrap + passing the credents?
I would just let auryn figure that out
Tell auryn what parameters to use once it needs to instantiate it and that's it
Anonymous
Right ok, understood. Thanks dude, really appreciate it :)
^ @rdlowrey @Trowski @bwoebi Including a tweet there seems really odd. We really have to get better at handling security issues.
@JayIsTooCommon No problem at all
Anonymous
16:52
(I owe you a few pints at NW ;p)
Works for me :)
Helloo
Does anyone here knows if laravel converts ' to " ?
*Blade engine
Sorry I had enough laravel for one day
tawwwww
anyone?
'cause I'm trying to save a json (parsed as string) to an HTML attribute. But whenever I view the code from the browser, it's converted to '
user924016
code
17:00
@kelunik what tweet?
@bwoebi See PR (ping above)
@kelunik There's no tweet in the PR?
oh, in the changes itself, not the description, sorry
We don't have any other notification / blog / whatever system for that.
We could display a notice on the website, but that's one time. We don't have anything that lasts.
how do other repositories do it?
well, in my code, it is written like this: <a href='#' data-json='["key": "value"]' ></a>
but when I inspect it in browser, it turned into <a href="#" data-json="["key": "value"]" ></a> (notice the difference in quotation marks) This presents a problem as I cant parse the data back to JSON
user924016
17:06
try checking directly in source not via the inspector
user924016
also should they be escaped?
user924016
like
user924016
data-json="[\"key\": ..
user924016
else I would read it as
user924016
data-json="[" ... invalid html
17:07
thats the problem.
Doesn't html allow ' in attributes?
user924016
so it has nothing to do with laravel
user924016
did you check the source first of all?
user924016
and not via. the inspector
Since I am generating a new html from javascript
var view = "<a id='viewButton' href='#' data-sites='" + sites + "'><i class='fa fa-search' data-toggle='tooltip' title='View Event'></i></a>";
and then alert(view), it definitely shows the correct quotation mark
[ctrl + u] in the browser doesnt show the contents of variable view since it only shows after the document loaded event
@RonniSkansing Do you know how I could escape ?
@JohnAldrin Some general advice. alert() is a pretty poor debugging tool. Use console.log() instead
17:15
@PeeHaa Thank you, I'll keep that in mind
@DaveRandom you still around/
@kelunik so basically a changelog page listing only the sec bugs
@bwoebi That, but maybe also a mailing list or something where people can get notifications.
Hm ... Chromium doesn't display any difference for extended validation certificates anymore.
17:39
@kelunik In a way it's not bad … it makes all certs equal and paid certs much less attractive…
@bwoebi But they aren't shoudln't be equal
@bwoebi It doesn't show the organization anymore. Getting DV certs is a lot easier than getting EV certs if you're not the owner.
Also OV shouldn't be equal to DV. Additionally, they moved the view certificate into dev-tools.
That's the worst one
imo
@kelunik Obtaining DV and EV certs should be just as hard for whomever isn't an owner.
Super annoying
I was hoping they would fix it before moving to stable
17:42
@bwoebi No.
At least they "shame" non ssl sites now
@kelunik no?
Assuming that's also in stable now
@bwoebi dv is nothing but a mail / file uploaded
ev requires actual paper work
@bwoebi For DV you just have to prove domain control / ownership. For OV / EV there are more steps required.
that wasn't what I said
I said it should be just equally impossible for non-owners.
17:43
boom wordpress got hacked. Now I can get a dv cert
@bwoebi You ignore typo domains etc.
@PeeHaa Well, unfortunately, you might also be able to get an EV certificate depending on the CA.
wat?
I've never seen that happen
Then again CAs are shit. I shouldn't be suprised
@PeeHaa tell … me news?
Because these validations are usually account bound and once you breach a host and use a automatic renewal system the account is validated and BOOM, there's another certificate now.
I always have to do the paperwork again for renewals of evs
17:47
That's at least how StartCOM did it for their ACME-like dumb protocol for automatic renewals which is now shut down and will be replaced with an ACME implementation.
And that 's the exact issue with the fake web of nontrust
So broken :(
@PeeHaa Depends on the CA and certificate lifetime probably.
If you have to do it right before issuance, you can never renew quickly after a breach / key leak.
On a totally unrelated note. You guys understand stream_socket_client magic right? :)
@PeeHaa What do you need?
^ Why did I retweet that ...
I am sending something to a server -> receiving from server -> sending something else to server -> trying to receive, but fget is stuck now
17:51
@kelunik lol
Probably a terrible explanation :P
oh wait. It's because there is no data to read right?
@PeeHaa Probably. Just use Amp. ^^
@PeeHaa to some extent… That streams layer is a lot of magic and the underlying protocols are built upon handwavium sometimes…
@kelunik I'm trying to grasp some thing first before confusing myself even more
@PeeHaa just show the damn code :-)
17:56
Sure hold on. Somebody at door. 5 mins
> TRT also reported that Istanbul University had removed 95 academics from their posts.
speak of a which witch hunt
@bwoebi Clone and composer me and the test script:
<?php declare(strict_types=1);

namespace WebNews\Cli;

use PeeHaa\Nntp\Connection\Connection;
use PeeHaa\Nntp\Endpoint\Plain;
use PeeHaa\Nntp\Client;
use PeeHaa\Nntp\Command\ListCommand;

require_once __DIR__ . '/../bootstrap.php';

$endpoint   = new Plain('news.php.net');
$connection = new Connection($endpoint);
$client     = new Client($connection);

$client->sendCommand(new ListCommand());
It's only about lib\nntp
@PeeHaa does the remote end perhaps need a line break after the command?
From RFC 3977: A CRLF pair MUST terminate all commands.
Your code isn't adding a line break, so fgets() waits forever as the server doesn't send anything.
I cannot guarantee whether that fixes it, just read the code and the RFC…
You know I love you right bob?
Lemme try
!!wotd
18:11
Bildungsroman: a type of novel concerned with the education, development, and maturing of a young protagonist.
@PeeHaa though, doesn't the news.php.net time out after a while?
I would say so yes
At least in my test with telnet it did
What's a while?
something between 15 and 60 secs, I haven't counted
18:20
yeah sounds sane. Will implement recovery next if the command works now
yay
bob saves the day again \o/
You're welcome :-P
@Oldskool OMG ... how Jeeves works ...?!? is that a human? Because he answered your question.
Would people yell at me for using LSB here?
<?php

abstract class Command
{
    const COMMAND = 'UNK';

    public function get()
    {
        var_dump(static::COMMAND);
    }
}

class Listt extends Command
{
    const COMMAND = 'LIST';
}

(new Listt)->get();
good
What's that abstract becore class?
18:33
Class isn't meant to be instantiated
anyway I cannot see anything similar in the documentation
Oh .. then you have a good skill in searching ..
Or maybe you are normal and I'm bad in it :-)
@PeeHaa LSB means?
also, I'll yell.
remove that get() method and just use $class::COMMAND directly
late static binding
@bwoebi I could do that. But I thought it would be nice if it would just return the command with the \r\n
18:39
yeah, I yell. LSB is fine if you would do something with it.
Basically:
@PeeHaa that's not the command, but the command wrapped into the protocol then
and thus violating expectations
hmm
yes you are probably right
tnx
Scratch that. Yes you are right
19:02
if start reading open source code from where do you all start?
Depends :)
Hold on
Unless you actually want to start writing code right away I suggest to start here instead nikic.github.io/2014/02/18/…
@Oldskool awesome! thanks, and let me know if you want to help finish up 2.0 =oD
19:18
hello good people
Requestb.in is really helpful if it's behind Cloudflare. It's great I can see the incoming headers... requestb.in/1bm2gyq1?inspect
I have a slight issue, getting error on this upload script, can't see it. Error below http://pastebin.com/TWCAf7Sw

move_uploaded_file(/pdf_upload_system/About JavaScript.pdf): failed to open stream: No such file or directory in /pdf_upload_system/pdf_upload.php on line 31

Thing is that directory is there
user924016
19:32
in the root of the system?
@RonniSkansing what do you mean?
user924016
like it starts with /
user924016
its not a web uri
user924016
means / means the root of the file system
That's the path that the directory gave to me. . .
user924016
19:35
the directory gave to you?
yeah, like it has the path of the file system so i can see where i am.
i'll try it without
Wes
Wes
@PeeHaa yes
anyone having issues with twatter load times?

« first day (2104 days earlier)      last day (3070 days later) »