« first day (1281 days earlier)      last day (3660 days later) » 
00:00 - 17:0017:00 - 23:00

5:01 PM
php5 is probably cli, the other is fpm sapi binary ...
 
@SecondRikudo php5-fpm comes with fpm while the second does not?
 
What's FPM? :D
 
FastCGI Process Manager
 
@SecondRikudo Really? :P
/me puts @SecondRikudo on the wall of shame :)
4
 
@PeeHaa Up until now I followed the tutorials blindly
 
5:03 PM
hehehe
 
I know, but it's time to learn, isn't it? :D
 
Yeap
:-)
 
ELI5
 
So, what're the differences between FPM and none FPM?
 
@SecondRikudo php-fpm.org :)
 
5:05 PM
the CGI gateway interface requires the creation and destruction of a process per request
 
@SecondRikudo fpm handles the spawning of processes in a smarter way
 
@PeeHaa Okay, why would one pick the non-fpm version?
 
fpm works around the limitation by keeping workers running to service more than one request ... same gateway interface is used, just lifts limitation ..
 
@SecondRikudo I don't ;)
 
it depends what the non-fpm version is, php-cgi ??
not everything that implements cgi implemented fcgi, so they both have their uses ... if you can, use fpm ...
 
5:08 PM
@JoeWatkins fast-cgi, no?
 
depends on the packager/distro ...
 
5:27 PM
Alright, PHP is properly installed and ready to use.
 
why it is bad practice to login and do things as root user ?
 
@Gopi Because if you make a stupid mistake, which you are bound to make eventually, you'll regret it deeply.
 
@SecondRikudo Okay
 
There was a question posted exactly about such incident.
Lemme see if I can find it.
Anyone here installed PhpStorm on linux?
 
5:43 PM
@SecondRikudo I had
 
@Leri Where'd you put it?
 
Maybe I can help you.
 
/usr/bin?
 
@SecondRikudo yes, as far as I remember.
 
I'm thinking about installing elsewhere, and making a symlink in /usr/bin to the actual run file.
 
5:44 PM
The point is? ^
 
To keep things cleaner, and to ease up with newer versions.
If I download a newer version, I just replace the symlink, without touching anything else.
 
Sounds sane. I usually overwrite new versions (in general, not just phpstorm).
 
@Leri I tried that list time, and I had troubles with launching it from the GUI launcher every time I had to update.
 
Does session expiration time extend with every page refresh? Or is it fixed from the moment session was started?
 
6:23 PM
Hey guys I setup a subdomain to my localhost but its 90-110% slower than localhost.. anyone know why?
 
6:34 PM
sounds like elves ...
 
definitely elves ...
 
6:51 PM
hahah anyway I removed subdomain for now will check it later
 
Anyone here experienced with CSS?:P Got a small question
 
7:07 PM
@Axel ask but there is a room for css here chat.stackoverflow.com/rooms/29074/html-css-webdesign
 
Any response regarding sessions?
 
quantum mechanics sucks
 
@Almis are you using a proxy?
 
@HamZa no but I dropped subdomain idea for now, after using subdomain my .htaccess also not acted correclty
Now that I think its the htaccess problem, RewriteCond didnt apply for files
so all css and js file were called
 
@Eugene I not 100% sure but I think its fixed, the timer start again if you refresh the page where you set the maxlifetime
 
so each page refresh extends session lifetime
 
@NikiC when you have to learn it for the tests? :-P
 
if with extends you mean startover then yes, if you dont want this just check if session isset, if is set then do nothing else set the maxlifetime
 
@JoeWatkins reminder: Going to merge it tomorrow morning.
@JoeWatkins FYI: I'm still unhappy with stepping being something we need to switch on and off instead of just using next/step like we would with gdb...
and sigh, why do breakpoints hit multiple times on the same line even when we didn't switch lines in between ... :-(
That's what has disturbed me most when testing the watchpoints…
It's pretty trivial to change these things… I'm just still wondering why you wanted it that way…
 
7:40 PM
@bwoebi When you do QM homework...
 
@bwoebi maybe we can solve some of this tonight ? you got time tonight / tomorrow ??
it's all the kind of thing that is mentioned in outstanding issues ...
 
I guess I should be thankful that we're doing non-relativistic QM
 
@NikiC I think I shouldn't choose physics at the university :-D
@JoeWatkins fixing it is very easy… I think one hour is enough. I think I have time tomorrow morning at around 11 am. Tonight I plan to go to bad earlier, having school again in three days...
 
@bwoebi totally
When I tried phpdbg I thought that s just doesn't work, because it's behavior makes -1 sense
 
Why didn't you just report this feedback to us?
 
7:48 PM
@bwoebi Because I realized that it's a tool that isn't made for me
So didn't bother further
I wanted it to use as a built-in vld, but it isn't very good for that. Just dump the opcodes of a function, that's all I ever want
 
@NikiC At least when some core features are wrongly designed, no wonder...
@NikiC Great… then there's something to improve…
 
@bwoebi cool, I might tinker tonight, I was just about to go out but will be up late anyway ...
@NikiC print name_of_function
or do you mean print and quit ?
 
and another thing I remember is that it's impossible to figure out how to actually run a script
 
@JoeWatkins I interpreted it as he wasn't very happy with the format…
 
It was some weird mix of e, r and whatever
 
7:53 PM
@NikiC phpdbg -e script.php and then in interactive mode just r
 
@bwoebi drop the -e
 
@NikiC .. I was about to suggest the same
 
really, I think my complaint comes down to this: Keep to the gdb interface. Don't invent your own
 
well we need to find a balance if it's going to be useful for most php programmers
oh you mean specifically for command line options ?
 
@JoeWatkins yes, strip -e from cmd args… make it argv[1].
 
7:59 PM
@bwoebi no, i just didn't know about print - I assumed that print evaluates an expressions. Like in gdb...
So, how do you use print?
 
help print ;)
 
say I did sapi/phpdbg/phpdbg -e run-tests.php
 
ah now this is a bit tricky, it's an interactive only sort of thing right now ...
 
@JoeWatkins that gives the docs for printf
 
well you could script it using phpdbginit ...
I mean in phpdbg
 
8:02 PM
@JoeWatkins I mean that as well ^^
 
@NikiC in interactive mode he means...
 
~/dev/php-src$ help print
printf: printf [-v var] format [arguments]
    Formats and prints ARGUMENTS under control of the FORMAT.
 
you aren't in phpdbg
 
not at the bash cmd...
 
woops
 
8:03 PM
hehe
 
^^
 
(I enjoyed that lol)
 
(me too, lol)
 
but in the end, how do I use it?
 
print func name_of_function
print method class::method
etc
 
8:05 PM
@JoeWatkins next thing: compile files automatically when execution context is set...
That c option is shit and damn superfluous...
 
[The function junit_start_timer could not be found]
 
compile
 
type c, enter.
 
crappy yeah
we got used to using it while developing it ...
so don't notice this stuff ...
 
no, I usually just run the things then it compiles instantly...
 
8:07 PM
are the arrow keys supposed to work?
@bwoebi woohoo, it works now...
 
I think readline needs to be included in PHP for history and left/right navigating in input? … Joe?
 
done auto compile if context is set
yes, readline
not libedit, that sucks ...
 
are Cx IS_CONST operands?
 
@JoeWatkins and now merge it into execute command and remove compile command...
 
yes, good ...
and yes
 
8:11 PM
Next thing to do: explain output format in help for print…
 
already is merged into run
so just remove compile ?
 
@bwoebi Alternatively: Actually provide constant values ;)
 
ah but then output gets really big and even more unreadable
 
And: Use ~n for tmps instead of @n. That way the meaning is obvious
@JoeWatkins clip
i.e. for string and arrays, only print the start :)
 
@NikiC for me both outputs are just as meaningless..
 
8:13 PM
okay yeah, and then keep the full output where it is now ...
 
afk now.
 
info literal
 
@bwoebi yeah, but everybody (who would actually be interested in dumping opcodes) is used to ~n meaning temporary ;)
 
will work on this some more tonight ... thanks for feedback @NikiC ;)
removed compile command ...
gotta go out ... I'll get stuck in lata ...
/me waves
 
8:43 PM
my first chat :D
 
@MehdiBounya welcome
 
Thank you mr @HamZa
 
Thank you @HamZa
 
@crypticツ wrong ping?
 
@MehdiBounya Welcome!
Thank you @HamZa
 
8:47 PM
hehehe
 
wat :D
 
E_TROLL
 
Thank you @HamZa
 
add "sir" for the win
 
@HamZa Don't push it. :)
 
9:01 PM
Thank you sir @HamZa
 
thank you @HamZa
 
@HamZa couldn't deal with all the gratefulness and started talking to himself...
 
A bit tired, wondering what I should do tomorrow...
 
Maybe @HamZa just likes the pings?
 
@salathe ^ I could just mute my browser :P
Not that I actually do it...
 
9:41 PM
@NikiC I'm really not happy with vld output ;-) I never remember what the symbols mean… That's why I always had to dump them manually with gdb
The only wish I have when you change these symbols is @JoeWatkins that you explain them in the help...
 
@HamZa Is that windows XP?
 
@SecondRikudo win7, themes service disabled
 
@NikiC @JoeWatkins any idea how we can force re2c to provide relative paths in the phpdbg_lexer.c file? To prevent these diffs?
 
@bwoebi nope
 
@NikiC because in php-src we do it, I just don't get how...
 
@ircmaxell that thing in the middle inside the waterfall quickly gets my attention
 
log
 
new English word learned...
@ircmaxell there's a little grey point above that log… is that a point on your lens?
 
dunno
 
by the way... what I wanted to always say… I like your pictures :-)
 
10:04 PM
Me too :)
 
looks to be casting a shadow, so I don't think so
thanks!!!
 
@ircmaxell It doesn't look like a shadow, I think…
Just keep posting your photos on twitter, so I never forget to check them out again and again ;-)
 
@bwoebi the sun was up to the left. Look under the spot on the log, looks like a shadow of that spot
@bwoebi it's all automated, so as long as I keep taking them, they will keep going to twitter
 
@ircmaxell maybe, just irritating as it's some dangling point middle in the nowhere and why does this shadow then not continue down to the log? but there's some interruption between the point and the log it seems?
Actually good night.
... @JoeWatkins I'll look tomorrow morning at these little usability issues and fix them as I get up.
 
@bwoebi could be a branch that curves behind the water so you can't see it
@bwoebi have a good one
 
10:15 PM
@NikiC you a last question: what do you think about bugs.php.net/bug.php?id=67097 ? I think what he proposed is a bad idea, but what about having abstract properties (traits only)?
@ircmaxell thank you
 
@bwoebi Abstract properties (not-trails-only) sounds reasonable
 
@NikiC not sure why we'd need abstract properties anywhere else but in traits?
 
@bwoebi that defeats the entire point of traits. -infinity
 
@ircmaxell just like traits can have abstract methods too...
 
@bwoebi you don't even need them with traits. Because as PHP's implemented them, they are mixins (because they are stateful), so you can just define your state there
 
10:17 PM
well ... today I tried to use wind8 built-in video player .. it took me 10 minutes to give up on it
also, evenin'
 
@bwoebi I'd have liked them just now ... I have a class specifying a bunch of methods and another class extending it that defines all the data
Right now I'm declaring dummy properties in the parent
But they really ought to be abstract
 
Sounds sensible...
put abstract properties on some list with features to review for next version? // I'm off for now.
 
@NikiC without generics, or property typing, what's the point?
 
@ircmaxell It enforces their existence
 
@NikiC declaring them in the parent should be 100% enough and correct, no?
 
10:24 PM
@ircmaxell You could also declare abstract methods in the parent with a {} body. Makes about the same amount of sense
ah, I think I see what you mean
 
@NikiC I don't think that's the same. One says "you need to provide this logic" (which I can't). The other says "you need to provide this storage" (which I can)
 
@ircmaxell I've been thinking about my particular case where the default value provided for the property is the important bit
But I guess that's not generally applicable
 
if they were typed, then agree 100%, since you can say "I dont know what type you want to use yet, but I need you to declare something". But without any typing...
@NikiC ah, ok. Well, since you can override to add a default, what's the problem if someone forgets to add a default (real question)?
 
@ircmaxell Then it won't work ^^
 
@NikiC like flat out "broke"?
 
10:27 PM
yes
 
and it doesn't make sense to make it an abstract method (getFooDefault())?
 
not really
 
Well, then that sounds like a perfect use-case for abstract properties
just not sure how overly common that is...?
 
@ircmaxell nah, that sounds like I'm doing something weird ;)
@ircmaxell Not common. First time every I'm doing something like this
 
@NikiC Oh, i'm not saying if it's a "good" use-case or not (as in good design), just that if those are your requirements, then definitely points to abstract properties pretty strongly
 
10:31 PM
@ircmaxell NDx? :)
 
@TOOTSKI VND
 
@ircmaxell Didn't even know there's variable one. Kewl!
 
You throw some serious money at equipment ^^
I have cheap China ones, heh.
 
Glass is one thing I don't go cheap with
why buy a good body, a great lens, and stick a piece of garbage filter in the way?
 
10:35 PM
Sure, doesn't make sense, either go "pro" or don't.
 
:O
 
the other was with a Zeiss 50/1.4
like I said, I don't usually play around with glass... I do have a knock around camera with cheap glass that I'll take to "dangerous" places, where if it gets damaged, oh well
 
00:00 - 17:0017:00 - 23:00

« first day (1281 days earlier)      last day (3660 days later) »