« first day (1378 days earlier)      last day (3563 days later) » 

5:00 PM
@ircmaxell @rdlowrey O.o
 
@ircmaxell that's pretty much how the generated for loop code looks like with ast :)
 
I don't think I'm available; will have to watch it later.
 
user895378
@LeviMorrison yeah that was a thing.
 
What were the basic topics?
 
user895378
Started with MVC minutiae, moved to 5.6 TLS changes, then to non-blocking capabilities in PHP and how the language performs better than people realize, then to internals + the PHP6/7 topic.
 
user895378
5:09 PM
I'd say each of those occupied a roughly equivalent portion of the time.
 
@rdlowrey That a scar through the left eyebrow?
 
user895378
yup.
 
:D I have one too.
 
user895378
Horse kick to the head at age 6.
 
5:12 PM
^^ Explains a lot, eh? ;-)
 
I ran into a TV when I was little, like maybe 3 years old.
Explains a lot for me too, eh?
 
user895378
:)
 
So you're saying if I had smashed my head when I was younger I'd be a better programmer?
 
I was rocking in a chair, way too fast, when I was about 7. The thing upswung backward, and I cracked my head off the wooden armrest of a couch behind me.
 
ThW
@rdlowrey Thanks for the motivation boost :-)
 
5:14 PM
Fabien, only if it leaves a scar on your left eyebrow.
 
['me' => 'pub'] // later
 
Ah. Must be where I went wrong. I only ever smashes the top of my head.
 
That... that doesn't... ugh.
 
user895378
@ThW No problem. I don't ever feel comfortable shamelessly advertising my own things and FluentDOM was the first thing that came to mind outside that sphere.
 
ThW
btw are you using 4 or 5?
 
5:17 PM
Speaking of maple syrup, I should get some work done. Check y'all (later|Monday)
 
OK, the ADR thing is complete bullshit
 
heh
 
user895378
@tereško that's what I thought too, but I didn't care one bit about wading into that topic.
 
user895378
@DanLugg later
 
hey all. this belongs in a SQL room, but it's been 2 days since anyone has posted in there and it's quite the emergency. our site has been down since this morning because of a file getting corrupted overnight related to mysql. mysql.sock is gone and the ibdata file is corrupt. i've tried forcing innodb's safe mode (innodb_force_recovery) and googled the hell out of this the last few hours. i still can't get mysql to start at this point
 
5:20 PM
It's rails with a bit more expanded "template" concept
 
user895378
@ThW 4. I use it in code that isn't "fun" for me to work on and it works, so I don't have a ton of motivation to go in and update if there are BC changes :)
 
ADR ~ MOVE
Both are trying to solve the wrong problem
 
@JohnBlythe The socket will be gone when mysql is off, so don't worry about that. If ibdata is really corrupt, you're boned. Restore from backup. You have backups, right? Preferably xtrabackup/innohotbackup backups, right?
 
user895378
@JohnBlythe Also, if you don't have backups, your hosting service probably will. They may charge you a few bucks to restore from it (and you may lose a day or two of data depending on how recent their backup is) but it's better than losing everything.
 
@Charles, thanks. i have a backup from a deploy yesterday, thankfully, but can't get mysql to startup at all
 
user895378
5:24 PM
@JohnBlythe then you need to post error messages -- no one can assist without those :)
 
Error messages from the log file in the data directory.
 
user895378
All those architectural details I just don't care about. Model a request. Route that request to some code that can handle it. Return a response. Send the response to the user. If you keep everything loosely coupled and separate your concerns I don't see why it has to be more complicated than that. Just my philosophy (right now).
 
user895378
Request in -> Response out ... Simple.
 
Shake it all about?
 
user895378
The PHP Hokey Pokey.
 
5:26 PM
Also, if I ever start to making up new TLA's for half-baked ideas like that, do me a favour and cut it down at the root
 
right on. so i get this a lot: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2), as well as MySQL Daemon failed to start. grabbing some from the .log
 
@JohnBlythe Yeah, that one is useless, we need the correct debug out put from the .err file in the mysql data directory.
 
I suspect that I am susceptible to that kind of delusion
 
@charles
whoops. @Charles forgive my ignorance, where is that usually found? i'm only seeing my mysqld.log file, no .err in the logs or mysql folders
 
@JohnBlythe It actually depends on the version you're using, and which OS.
Most CentOS machines will have a $servername.pid and a $servername.err file in the mysql data directory, usually /var/lib/mysql
some others will glob the logs together in /var/log
from the sounds of it, you have that setup, so mysqld.log should be the right file
 
5:39 PM
foudn it i think
two seconds
re: the mysqld.log, how much should i dump in? it looks like quite a bit of stream of consciousness for the crash as opposed to succinct one-liners
 
\o/
 
@JohnBlythe Grab everything from the last few start attempts and stick it in a pastebin.
@Ocramius Man, those are so totally the wrong color. Don't show Levi, we might end up with a bright orange website...
 
@Ocramius What's with the pro mic?
 
@Fabien I do 4 hrs of calls a day - gotta have a decent mic
 
Oh fair enough.
 
5:41 PM
@Charles thanks! pastebin.com/vxyDGdph
 
@Fabien btw, it's just a yeti, 100 bucks, not really a pro mic
 
@JohnBlythe InnoDB: Assertion failure in thread ... in file fsp0fsp.c line 2102 looks to be the key part here...
@JohnBlythe My advice at this point is to rename the data directory and start a fresh install and restore from backup.
 
laaaaaaaaaaaaaame
 
Initial googling suggests nobody recovers from this error.
 
okay then
ha
 
5:45 PM
If you want to spend the money, consider talking to Percona.
 
terminal, huh? :)
did you see anyone mention what causes it?
 
Everyone mentions either screwing up, deleting, or otherwise inappropriately touching ibdata1.
 
well damn
 
Oh, also, for the sake of all that is good and holy, turn on the file-per-table setting. ibdata1 will still end up critical, but it'll be smaller.
 
great idea
 
5:48 PM
@NikiC :-)
 
thanks a bunch @Charles
 
@JohnBlythe good luck!
 
thanks!
 
@ircmaxell bwahahahaha
 
5:59 PM
are there any laravel users arround?
 
What's up @Babbleshack?
 
bit of newb question, but am having trouble displaying images whilst using bootstrap.
ill explain...
 
Question; are you using Blade?
 
i have the image in public/img/pic.jpg
and i am using the line <img data-src="{{ URL::asset('/img/pic.jpg') }}" alt="...">
to generate a url
 
So question on organisation/how to. Let's assume I have a 'notifications' service. I do GET /notification/3.

How do I go from my router to retrieving that information? I'm using Auryn.

Router catches class -> Dispatcher calls Service (Notification) -> the method to defined the function name and 3 the ID. $response = $injector->($handler, $vars);

One issue is where do I pass the method name. Or am I way off base with the whole approach?
 
6:01 PM
an yer i am using blade with teh .blade.php extension
 
What problem are you incurring @Babbleshack?
 
and a link to the site 192.3.89.144
basically the image is not displayed the but hte link is generated
 
When you copy the image URL, what is the path given to you?
Paste it here.
 
I think I know what might be going on...
 
6:03 PM
lovely picture :p
 
Paste the image URL, not upload it.
 
"/img/pic.jpg"
in the souce
source*
 
Try this {{ HTML::image("img/logo.png", "Logo") }}
 
nope not i just get the alt text where the image should be
 
What's your public directory structure?
 
6:11 PM
public/img
/js
/css
 
You're using <img data-src="{{ URL::asset('/img/pic.jpg') }}" alt="...">.

Try removing the `/` like this <img data-src="{{ URL::asset('img/pic.jpg') }}" alt="...">
 
i have ttried that previous, but ill try again now
still no luck :s
 
WOW I'm blind. You're using data-src="..." instead of src="...". <img src="{{ URL::asset('/img/pic.jpg') }}" alt="..."> will work.
 
hmmm although its true, i was using example code from bootstrap page :s
 
I see.
 
6:17 PM
am not sure why it didnt work.
 
Is the image showing now?
 
yer it is, thanks muchos senior!!
 
No problem. Also are you including the JavaScript files with Bootstrap, because if you aren't then that's why it wasn't showing the image.
 
yer i had a problem with that before getting dropdowns working, turned out i didnt load the JQueary files in the right order.
there doesnt seem to be a reason for bootstrap to use data-src instead of src, i guess they just do, but that was my probem, thanks for your help Enijar
 
user895378
I feel like this output shouldn't surprise me but it does ...
 
user895378
6:31 PM
var_dump(parse_url('test.com:80#github.com'));

array(3) {
  ["scheme"]=>
  string(8) "test.com"
  ["path"]=>
  string(2) "80"
  ["fragment"]=>
  string(10) "github.com"
}
 
mailto:foo@bar
the only difference is that it sees test.com as a valid scheme
 
user895378
which it technically is.
 
user895378
It's weird that periods are valid in URI schemes
 
scheme = alpha *( alpha | digit | "+" | "-" | "." ) source
so yes, that's actually a correct interpretation
 
user895378
I added some in 5.6 as shorthand for specific TLS methods with stream wrappers.
 
6:33 PM
e.g. we have compress.zlib:
 
user895378
I just wasn't expecting to see those results (though I was wrong)
 
yeah, I wouldn't expect it, but it's technically valid, no?
 
user895378
e.g. tlsv1.1://
 
user895378
@ircmaxell It is. Just surprising. I get the result I expect if I add a scheme upfront.
 
user895378
Perfectly encapsulates my feelings.
 
6:35 PM
@rdlowrey try to find out more about c++'s std::list method... via google
1 message moved to bin
:-)
 
6:49 PM
@ircmaxell I get C++ results. Tailored content for the win!
:D
 
7:15 PM
@Jack merge UPGRADING into the branches it affects...
@NikiC open? none, now. I thought at least.
 
@bwoebi what's the discussion on the list about then`?
reverting something
 
@NikiC ah, that. About the arrays.
 
8:00 PM
@bwoebi Did you apply the patch to sort out the arrays, or otherwise revert the change to the count behaviour?
 
> For a group video call, one person on the call must be a Skype Premium subscriber, and the limit there is ten (10).
 
looks like i'll be in new york around the first weekend of september @ircmaxell :D
 
@CarrieKendall I'll just be getting home northeastphp.org
 
ugh, busy guy
we'll just be passing through headed to BOS
 
8:14 PM
I'll be in Boston that weekend :-)
 
@Danack not yet, hadn't had no time yesterday.
 
yeah, i just saw.. what a coincidence :D
 
well, if we're in the same city at the same time, I'd love to hit beers again
 
yeah, let me get more details and let's make it happen :)
are you staying in MA on the 6th?
 
Hi everybody is somebody using whoops lib?
 
8:18 PM
@CarrieKendall I'm driving up the 5th, coming back the 7th
 
 
1 hour later…
9:19 PM
@ircmaxell I'm liking the new direction the scalar hints RFC takes. Just not sure if this is worth one RFC or two?
 
well, it would be 2
1: make scalar parameters which behave like ZPP (though raise Recoverable errors)
2: rethink ZPP conversions
thoughts?
 
I thought about swapping 1 and 2.
 
do ZPP fixes first?
interesting...
 
1. rethink ZPP, 2. make scalar parameters like ZPP.
and eventually raise the recoverable errors in ZPP too. (step 1)
because when ZPP is fixed, introducing scalar parameters is only a very small step and so not a major issue
 
@ircmaxell -1
if we do that, we'll be stuck with zpp behavior for scalar hints
 
9:32 PM
Happy friday ya'll
 
only way we might get something sane is to first land scalar hints with correct behavior and then update zpp if it can get through
 
@NikiC agree, especially if the ZPP fixes don't pass
@NikiC or what I proposed?
 
@NikiC go back through #php.pecl, we had a long discussion around that
for which you weren't there... sec
 
Anyone know of a page which just has some json content?
 
9:36 PM
Perfect thank you
 
@ircmaxell I'll have to read that another time
@ircmaxell btw, I would be careful about disallowing overflow
 
@NikiC assuming bigint patch passes, that's easier?
 
checking $_GET['id'] with ctype_digit is common sense, but doing full overflow checks, aint nobody got time for that
so rejecting foo('111111111111111111111111111111111111111111111111111') may not be good
and clamp to LONG_MAX might be preferable
but anyway, I'll read the discussion when I have time
 
Why do I just feel like I'm on @NikiC tiny avatar list? :o
 
Yeah, those sort of edges are wide open for discussion
 
9:41 PM
@ircmaxell just saw on the ml that andrea made that case to error
@ircmaxell I think I might agree with you about making int more lax. about floats and everything (overflow from both double and string)
 
@bwoebi dont worry. I feel like that all the time, too.
 
hmm, hehe
Quite funny and sad at the same time: twitter.com/phpinternals
 
10:14 PM
He's too nice to tiny avatar anyone.
 
10:26 PM
@bwoebi My tiny avatar list is empty ... has always been empty, and will likely stay empty ;)
 
@NikiC I dunno, she's going a bit crazy responding to that list ;-)
 
Also, I just solved three major problems I had while showering :)
 
Nice :-)
 
night
 
user1804599
morning
 
10:34 PM
@rdlowrey unless I'm missing something, in Artax wouldn't it make more sense to have buffer body be an option on the request rather than the client? What I'm trying to do is have some requests be processed as normal, and another request is going to have a large response body, so I want to be able to write the response body to a file. It's obviously possible using separate clients...but it seems that it would be sensible (but maybe not easy) to set it per request rather than per client.
 
11:17 PM
@NikiC Now if you can remember them for long enough to implement the solutions :D
 

« first day (1378 days earlier)      last day (3563 days later) »