« first day (1491 days earlier)      last day (3454 days later) » 

10:00 PM
yup, boring
 
That's why I do everything, but that…
 
at least, you can find bugs...
 
If someone would do it for me, I'd have finished the RFC the day after it.
 
I'd do it... but it sounds too boring...
 
You got the issue :-D
 
10:03 PM
heh
keep me updated anyway
 
It might take some time…
especially as I've now found a nice project (implement mysql client protocol in PHP)
 
Please write one more time "heh"
 
10:26 PM
yo
 
10:39 PM
damn, 3v4l.org doesn't work anymore :(
@ircmaxell yo
better connection?
 
yup
Current status: photos uploading. Won't be long now :-D
 
@bwoebi Why goto instead of just having that state's handling within the switch, and having a loop in which you change the state?
 
@AndreaFaulds because switches are slow…
At least in PHP
 
@bwoebi You could add gotos above each case to jump between them? Though, really, what's wrong with switch?
 
10:45 PM
@bwoebi so?
 
can confirm
1 hour ago, by Florian Margaine
@bwoebi nah... it's fundamentally similar to the goto parser
:P
 
>People using goto for performance
yuck yuck yuck
 
@AndreaFaulds I could, but then well… any benefit there?
 
@ircmaxell Ironically, Recki-CT probably compiles PHP code to less performant PHP code
 
@AndreaFaulds in a parser that's valid… in other places……
 
10:46 PM
Because ZEND_GOTO :p
 
@AndreaFaulds yes, I know
 
@ircmaxell I wonder if, compiled to higher-level code, it might be more performant, though
 
@AndreaFaulds also… using goto for nice code.
 
@bwoebi How would goto make it nicer?
 
@AndreaFaulds two levels less of indentation at least
 
10:48 PM
@AndreaFaulds it's optimized for reduced instruction set systems (like assembly)
 
@bwoebi It really depends on your switch indentation convention
 
@AndreaFaulds true… one per case and one per case "body"…
 
@ircmaxell Right. It should be possible to decompile the low-level code to high-level code, though. I just wonder how good the results would be.
 
@bwoebi I've gone with the no-case indentation lately
I don't see what the indentation brings tbh
 
I've seen that before.
 
10:51 PM
dunno
 
@FlorianMargaine optically separate cases and code…
 
looks like a fun code bugs.php.net/bug.php?id=68406
@bwoebi yes, I mean...
 
Hmm, is switch slow in PHP because of loose comparison?
 
switch ($foo) {
case 1:
    // code
    break;
}
no-case indentation ^
code indentation inside the case though
 
10:52 PM
Yeah, that's not a bad pattern.
It means it's only as bad as if/elseif/else
 
I mean optically separate the cases from the switch to see where switch begins and ends…
 
@ircmaxell wow, most look like postal cards
@bwoebi I don't see this as necessary... maybe because the braces already do that. Dunno. YMMV.
 
@FlorianMargaine I think we just say "postcards" in English, fyi
 
@AndreaFaulds ha! thanks
 
@FlorianMargaine Apparently a "postal card" is a different thing entirely which I'd never heard of before, weird: en.wikipedia.org/wiki/Postal_card
 
10:55 PM
lol
yeah, I definitely meant postcards :P
 
:-)
 
good night everybody
 
goodnight!
 
11:17 PM
Word
 
Hi

Need help: http://stackoverflow.com/questions/26942808/knp-paginator-effecting-routes-with-slug
 
@bwoebi And they should use this to do it: github.com/mapmeld/profanity65#profanity65
 
11:33 PM
@AndreaFaulds :-)
 
@Danack A bit like PHP, really.
 
I have such query:

SELECT * FROM vacancies WHERE vacancies.id=vacancies.id

It works perfect when I run it from phpmyadmin.

But it does not work when I run it from laravel code like that:

DB::table('vacancies')->select('*')->->where("vacancies.id","=","vacancies.id")

I do need to run query like "where column=column"

How can I do that in Laravel? Or what is wrong with my laravel coding?
 
select('*')->->where
 
I'm aware about it. I just mistyped it. It does not make difference.
 
WHERE vacancies.id=vacancies.id
O_o
 
11:43 PM
> it does not work
Do you mean it stays at home eating cheetos and play xbox?
 
ok. I just mistyped here (on chat). In php code I run following line:

DB::table('vacancies')->select('*')->where("vacancies.id","=","vacancies.id")->paginate(5);
 
@Someone Why do you think you need that where thing?
 
Because I can't leave 3-rd parameter (i.e. vacancies.id) blank.
 
@Someone should the where("vacancies.id","=", --> "vacancies.id" <-- ) be a int and not a string?
The " vacancies.id=vacancies.id ", makes little sense to me.
 

« first day (1491 days earlier)      last day (3454 days later) »