@Gordon Indeed, although I am a little suspicious of stackoverflow.com/questions/15407228/… having an upvote, but equally some people will upvote anything. Anna once told me there's some kind of auto-merge script for obviously dupe accounts, I don't know any more than that though, I think she mentioned something about profile info, I forget where I was when I was told
@DaveRandom @Jack multiaccounts seem to happen frequently. its only when they start to cheat that action is necessary. yesterday I found a case where someone gave a "Me, too. Please help us" answer. Turned out it was the same person asking the question :)
> The gun is good. The penis is evil. The penis shoots seeds, and makes new life to poison the Earth with a plague of men, as once it was, but the gun shoots death, and purifies the Earth of the filth of brutals. Go forth ... and kill!
@Jack This isn't what you asked, but my interview wasn't really an 'interview'. I met the tech director and development lead in a coffee shop for a chat, and I found this seriously much better than an overly formal interview :)
@Jimbo i can very well imagine that. I was doing a telemarketing job years ago and they placed mirrors on our desks. when we coldcalled people we were supposed to check our mimics and smile because you can hear that on the other end of the line. or at least some studies suggest it does.
@Alex_ios it might be that you feel more confident in a suit. sitting there in your underwear might make you feel naked. Although I am known to have done client calls in just my boxers that went well :)
@Gordon It sucks because they're forcing you to be so robotic in those jobs... I feel sorry for people who do telesales. I did it one summer and after 3 months of saying "thank you for your time" 8 hours a day, I started thanking the bus driver for his time as I got off the bus and realised - it affects you mentally
How can i fetch all rows in a table and then display it? $data = mysql_query("SELECT news_content FROM news") or die(mysql_error()); $info = mysql_fetch_array( $data );
@Jimbo I used to make a sport out of it later on whenever I noticed calling agents to follow a script. I would deliberately make them leave the script and drown :)
@Sebastian I'm just about to stick something into a gist, and this is it with minimal links
> It is reccommended to discontinue the use of the mysql_* functions in PHP. They are infamous for their lack of foolproof escaping and are officially deprecated. Consider using PDO or MySQLi for alternative MySQL extensions in PHP.
@Jimbo you can often hear when they use a script. So I would say: ah, sorry to interrupt you. are you using a script? and then usually start to stutter and admit it and then you tell them to get to the point without and they will usually fail at that
@Jack. My original string in database is (THE KEY") but because of java string auto escaping it is escaped to (THE KEY\").. Now after this, my response of JSON string is sent to client side. might be my reponse is again escaped to (THE KEY\\\") and on redering on UI its shown as THE KEY\" ... So i have replaced the string to only \" — Punith Raj2 mins ago
What are the technical reasons that I shouldn't use mysql_* functions? (like mysql_query(), mysql_connect() or mysql_real_escape_string())?
Why should I move away from them as long as it works on my site?
This question serves as a canonical information source regarding the discouraged use of...
I already have, but they all have a ~240K attachment so they take 5 seconds each, and the next thing I need to do can't be done until I have the results of this job
Well, I believe this to be a tad minor.. but still a bug nonetheless.
I recall that sometime today, a new display method for close votes was enabled.. next to the close button, instead of close 1, it now displayed close (1/5), or similar.. The problem comes in voting to close on a question that...
@Ocramius found out that doctrine doesn't translate camelCase to what is needed in database. i.e. table example_one, entity class ExampleOne, but it until I mark @ORM\Table(name="example_one") it woun't work
@Gordon Sure, but their system obviously booted, otherwise they wouldn't see that message right? ;-)
Although answering your own question is a good thing, if it's based on another answer you should give due credit and accept that answer instead; read about on how to do that. — Jack2 mins ago
There is a really weird error I had when doing a simple js function, in my "index.php" file. I have the following function:
function popLikes()
{
window.open("likes.php", "Like" "height = 300, width = 400")
}
And the error is: SyntaxError: missing ) after argument list @ http://loca...
Any way to exclude an extension? I want to ship a specific version of xdebug to our build server that has an older version installed. I was hoping to run the build from the command-line somehow using MY version of xdebug and excluding the one on the server (already in the php.ini)
Can you use a switch with an anonymous function? Pseudo: `$action='delete'; $params = function() { switch($action) { case 'delete': return true; } . . .
@NikiC Hi ... hmm, quick question; I've submitted a PR for extending array_filter() .. perhaps you've seen it ... you reckon I need to create an rfc for it? :)
I ran the profiler because there's a slow script. But when I clicked "stop script", it killed the debugger instance too. So I can't profile to determine what's the slow script... FAIL
@Ihsan meta tags that use http-equiv is just that the equivalent of an HTTP header just set via HTML. So whatever you use in meta tag use as the value for the HTTP header value in header()
@Ihsan I don't think its worth correcting it since OP already marked an answer and question is doomed for deletion anyways. But at least you learned from it =o)
@Ocramius any easy solution to get related record? Like for example session row is or isn't linked to customer via customer id, but entity was generated in such way, that I have customer as object and while I didn't mark a column field for customer_id I don't see a way of fetching him out of there. Any suggestions?
@Jack Comments like that really piss me off. If i want to make an example like that. I will. Like i said. Who made you an authority? Just making a point. config.m4 is needed to run phpize. — tlenss9 mins ago
This needs to stop: http://stackoverflow.com/posts/15348333/revisions
It doesn't help to improve close descriptions or encourage fixing and reopening if closed questions are going to be deleted within a few hours or minutes of being closed.
We get fairly regular complaints - via support emails...
Just wandering, in countries like Switzerland, where you need to have a degree in something to work for something... What does a person need to prove that he/she is a web designer? Have a degree in computer science ? or what?
@Ocramius I have two entity classes. One of them is linked to another with ManyToOne relation. Generated entity had only propery to set or get instance of that referenced Entity. I was wondering is there some way to get null or referenced record without defining aditional column.
@Gordon really? your must have showed them something, otherwise I was told, that even skilled outsiders are forced to re-learn something here in Suisse, before starting to work. Maybe, web dev. related jobs aren't regulated that much
@Jimbo, I know portofolio matters, but to get permit to work, even as a freelancer, you need atleast some kind of document, proving that you are qualified to do the job properly. I have a friend who worked as a barber, one of the best in his country, but since hi never had a diplome or attestation he is forced to re-learn everything from a year to three years...
Until you know the things required to pass. I'm going to do it soon, I haven't had any training apart from ~5 years of buggering about with PHP, but I'm pretty confident
Let me clarify. To emigrate into Canada or to a lesser extend the United States, on the Canada side you need a certain number of 'points'. Having a degree and a years experience in a 'specialist' job, and family over there, only just gets you in the country
A specialist job, according to the Canadian immigration authoritaaa, doesn't include things like barbers, but does include programmers / development side of things