Additionally, this monstrosity is built on top of Wordpress. The site is not even a blog. Why do people insist on doing that? (Yes, I know the answer is "when the only tool you have is a hammer, every problem looks like a nail", but still... have they no professional pride???)
Representative line from a project I just took over:
var map = ""; //please be global
Oh, this is only the tip of the iceberg... I got called in on this because:
1. "searching is slow". Well, with a non-indexed database that stores numeric values (e.g. ...
[quote user="PedanticCurmudgeon"]The other obvious thing is that the people who need to be told that no means no probably aren't reading this thread, or what's more likely, don't care.[/quote]
Well, seeing the ensuing discussion I'd beg to differ.
I think I have to sort-of side with Ronald here. Molestation and assault are - practically as wel as legally - two different things.
However, it goes without saying that this does NOT make Joe's behaviour in any way acceptable. No is no, and really, if you're someone's boss you ought to know better in the first place (but really ANY ...
A little background: for the past 6 weeks or so I (Marijn) have been contracting on-site for a rush job, which involved me hauling my 4 kilogram weighing laptop halfway across the country every day. Tiring, but well payed.
For this project I had a scrum master (before you start: yes, that's TRWTF(tm)) called Servan. Nice and competent guy. On ...
[quote user="morbiuswilters"]I have to wonder what a Postgres user considers "high-traffic". A few hundred queries /sec?[/quote]
Well, "high" is always subjective of course, but this particular one could handle in the tens of thousands /sec and still chug away happily (this was on a ~50gig database). Then again, this ...
That's interesting. I've been running PostgreSQL on a number of high traffic sites, and the last time I remember autovacuum causing issues is somewhere in 2006. I'd be interested to know your setup, since ours hasn't caused problems for years, literally.
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 ...