With the syncing, I assumed the 'f' stood for 'feed'. The 'l'? I read 'line' automatically, but that wouldn't really make sense I guess :) Good call on the Symfony use, that sounds logical. Although I haven't touched it in years.
The double check on is_string for the $sync_system is also awesome. But really, what in the name of baby Jesus is this code supposed to do besides completely unnessecarily wrapping "$class = 'lfSyncFOO'; $sync_system = new $class" in an object that's a greater waste of space than your average Eighties act?
(Out of morbid ...
[quote user="joe.edwards"]Not a beautiful solution, but you could try, eg:
rownumber() over( order by foo asc ) as row
) [ ]
where row between 10 and 20
order by foo asc
(I have no idea if this will run.)[/quote]
It's been quite ...
[quote user="ObiWayneKenobi"]SQL Server has LIMIT, it just calls it TOP[/quote]
Yes, I know that, that's why I said it doesn't support the SYNTAX. Also, no offsets - I have nasty memories of writing portable code that had to page through query results in SQL server. Ouch. IIRC it involved doing the query twice and calling TOP on ...
[quote user="Monomelodies"]It's in your grammar. (Which I usually let slip, but if we're being pedantic about singular/plural, you should at least get your own grammar right.)[/quote]
I don't see the problem except for an implied "it" ("That is as [it] may be"). I ...
[quote user="heterodox"]That's why I said he/she wasn't 100% wrong.[/quote]
There is a (maybe rather subtle) difference between saying "you're not 100% wrong" and saying "you're right in half of the cases".
[quote user="heterodox"][quote user="Monomelodies"](PS "that's ...
[quote user="heterodox"]That's as may be, but you're wrong. (You're not 100% wrong, but you're still wrong in taking any unequivocal position.) And you resurrected a year-old thread in order to be wrong.[/quote]
To go really Schroedinger here: I think Cheapie was both wrong and right, actually. AFAIK "the team ...
[quote user="Watson"]SELECT 'hello, I am a SELECT clause' Works for me in sqlite3 - and Postgresql.
Of course it does - makes total sense (well, except apparently in Oracle - haven't used it enough to come across THAT wtf). SELECT just gets data - it might as well be a literal. As in ...
[quote user="PJH"]You appear to be under the misapprehension that both of those statements could never possibly be right.[/quote]
That's no misapprehension, it's simple logic. Do smart people stand a better chance of not being poor? I'm sure they do. Is there a direct causality? Nope, there's a thousand other ...
[quote user="Alex Papadimoulis"]
Let ya slide on the last one, but...
[quote user="Monomelodies"]Digging through shit to get at a gold nugget isn't hard work. It's easy, it's just dirty. Like fraud. Or war profiteering. Or drug trafficking. That was my point. [/quote]
Digging through feces is literally dirty, and ...