« first day (669 days earlier)      last day (4505 days later) » 

13:00
@HarryBeasant Well the first issue is that you are using mysql_* functions.
I haven't had any problems with cURL so far but I might haven't used it for some complicated operations @PeeHaa
@PeeHaa Its a pain when you want to work with cookies, but don't want to write to disk :)
Even removing the order clauses, the data returned is so strange
8 hours ago, by rdlowrey
$requests = array(
    new StdRequest('http://stackoverflow.com/users/895378/rdlowrey', 'GET'),
    new StdRequest('http://stackoverflow.com', 'GET'),
    new StdRequest('http://www.espn.com', 'GET'),
    new StdRequest('http://espn.go.com', 'GET'),
    new StdRequest('http://scores.espn.go.com/mlb/recap?gameId=320814115', 'GET'),
    new StdRequest('http://espn.go.com/mlb/team/_/name/atl/atlanta-braves', 'GET'),
    new StdRequest('http://www.nytimes.com', 'GET'),
    new StdRequest('http://www.google.com', 'GET')
That was easy to find afterall
@Leigh As long as you don't mind keeping it only in memory it is ok, but I get your drift :)
13:03
where is the Donate button?
or buy beer or a blow job @rdlowrey
Whats a "Blow Job"?
Is it a function
I'm also seeing Yazmat posting duplicate answers to duplicate questions.
rep whore
@hakra That guy just spams terrible answers all day, I made him delete about 3 answers yesterday by downvoting
@Leigh If even the answers would be better than in the duplicate questions, but they are by far not!
^ that is the other question. I mean the in the duplicate given answers do a far better description.
13:10
@hakra Did you notice that b/c of the mod-tools?
i.e. was he auto-flagged for posting dupe answers?
@MikeB No I noticed it my own. It's probably more the case of the OP posting a duplicate question. However it's also part of the one answering to actually provide something more useful than existing or just comment with a link to the duplicate IMHO.
i am getting 500 error
@Leigh he hadn't pushed changes yet to Artax to support multi :)
@Karan Cool.
@Karan 500 errors is quite a lot.
13:17
possible reason...
So much a lot that Error 500 is basically the invitation to take a look into your servers error log and into the php error log for fatal errors.
@Karan You dun goofed
means google
@hakra imho he's just answering the low-hanging-fruit questions. The least amount of effort for the most reward in rep
i.e. You'd do better to answer a duplicate question than to go find the dupe
Sure it's scummy.. but I don't think the majority of people with voting-power care
(Personally I'm against it.. just voicing my observations)
morning
13:25
howdy
possible reason 500 error...?
@Karan 500 means internal server error. It could represent ANY error that php spits out
their is no php file in directory
It can also represent many other errors :) Look at the log for specifics
@MikeB Liiiike, failed attempt at .htaccess - which is probably not in the logs.
13:29
do i need to use RequestContext everytime when i have context processors already added TEMPLATE_CONTEXT_PROCESSORS in settings.py in django
@Yohann Sorry, you're mistaking this for Python discussion.
i have rename .htaccess file to a.htaccess file error change to You don't have permission to access on this server.
oops sorry was on irc
@Leigh Bad rewrite rules don't show up in the error log?
That DaveRandom has a pretty good eye to spot problematic things.
13:38
I can't seem to understand the benefits of tying the controllers to the view..
some days it's not worth opening SO
@MikeB Not as far as I know
@tereško if you are happy that day, don't...
@tereško "some days"?
4
A: Should sorting logic be placed in the model, the view, or the controller?

Totumus MaximusYour model should contain data. Your view should contain the manner of which you representate the data. You controller should contain the manipulation of your data. So the answer is the controller, since sorting is definately manipulation.

OMFG
13:48
I need more RAM
11
A: Should sorting logic be placed in the model, the view, or the controller?

dasblinkenlightAccording to MVC description, A controller can send commands to its associated view to change the view's presentation of the model (for example, by scrolling through a document). It can send commands to the model to update the model's state (e.g. editing a document). According to this, sort...

there is even more retarded
@NikiC to process bullshit from SO or for work ? :)
@tereško MVC is the new procedural spaghetti
Is there a memory leak in the curl library? stackoverflow.com/questions/11968366/curl-loop-memory-growth
Nah, BS is procable even without RAM ^^
I just noticed that my computer starts to lag when running multiple VMs and having large log files open in the browser
@webarto , what astonished me is how someone cal look at that quote an go: "yup , it means exactly what i think it should, i was right after all"
13:53
@NikiC How come? ;)
@hakra Because I only have 4G of memory ^^
@tereško and it is viral
@NikiC What kind of computer do you have? Desktop or Laptop?
@NikiC my 3 computerz have 4GB in total ^^
Desktop memory has been dirt-cheap recently
13:54
@hakra desktop
@NikiC So how much can your motherboard take?
If you're looking to buy I'd definitely pull the trigger before the holiday season
I can't seem to understand the benefits of tying the controllers to the view.. WAT
@NikiC Couple of months back my watercooling pump that had been running solid for around 4 years decided to explode. New computer = 16GB RAM :D
13:56
@hakra 4 * 4G = 16G
is this a parallel request or sequential (I can't read dat docs properly)
What's going on?
@NikiC It's not yet 17:00. If you send me some details per email I could get you delivered more RAM to your doorstep as a little dontation for your great work.
You would have it tomorrow.
And @hakra will deliver it in person, with that red nose and lips :D
Desktop, lucky bastards...
@Leigh Special Service in Bunny or Swimsuit costume (or something else ;))
@NikiC: Just let me know otherwise I'd go swimming then.
the php manual has some of the stupidest comments imaginable
"there is no direct mechanism to remove a value from an array"
@Lusitanian I wish there was a voting feature on the comments and/or a sane way to flag them.
@hakra I'm always uncomfortable with other people buying stuff for me :/
@deceze indeed
@NikiC Well I do not want to do any force. I didn't ask for generators either so this would be just giving something back. That's all.
@Lusitanian Answers to that question:
while the 31-12-1969 actually means zero, THE zero
I'll have to remember that for any math courses I take.
"Why did you write 31-12-1969?" "It's THE zero."
14:13
OP shouldn't have used tabs in the first place. Spaces FTW! :) — PeeHaa 12 mins ago
OZ_
OZ_
@Lusitanian 31-12-1969T23:59:59 to be more accurate
@hakra I can live with that :D What's your mail?
@Lusitanian I'm going do one last attempt at solving the fucking signature issue myself and if you don't have any birght ideas I'm going to post on SO
@PeeHaa I've just been busy working on other stuff, but while I was working on it I considered throwing a brick through my window
@Lusitanian Actually it's THE -1 to -86400
14:17
It seems the next article I'll be working will be about times/dates...
@Leigh THE negative one?!?!
@Lusitanian Indeed :)
wikipedia , WTF ?
@Lusitanian :)
14:18
@deceze Derick Rethans is doing a talk about it at PHPNW - conference.phpnw.org.uk/phpnw12/schedule/derick-rethans
@Leigh that's actually good. the amount of SO questions about dates is mindboggling
@PeeHaa i'm not sure what the issue is, note that you should at least add the realm as a forced param equal to "" and don't sign it
vimeo has a PHP example for their API ill link you
What was that quote about "There are only two hard things in programming, something something and time math."?
@deceze "cache invalidation and naming things"
@Lusitanian "and off by one errors..."
@Lusitanian and picking secretaries
14:21
i should get some food before i start throwing things
@tereško Get some beers
@NikiC You have mail. Let's do the rest via Email.
hi , any best site to learn modern mysql ? which uses this '->' thx
@deceze ??
14:24
@Lusitanian Looks the same by just quickly browsing through it. Will have a better look tonight
@tereško i think you know :)
@gosto "this ->" is object oriented programming. Maybe you should learn about that first.
@deceze i said mysql
Now you've done it @decereé, you fed the troll, now he's going to be looking at you to take care of him, you've become his surrogate mother.
14:26
@deceze , programmer is a fickle thing
@Leigh T_T feels stupid
I kept reading @deceze as "decease", until I noticed it was actually for DCZ
@deceze it call mysql doh ?
@deceze new syntax for ternary operator
wtf
does this person not know what an expression is
@hakra Okay, I sent you a mail :)
14:28
@gosto sweet way to word things. Probably it's worth to read this first: phptherightway.com/#databases for orientation.
@Leigh LOL. That was created on a whim back in the days when I needed to sign up for some new service and "dcz" was deemed too short...
@hakra thx :) its this
0
Q: Is it possible to have drop down boxes in a tablesorter plugin?

JimI have a table that generates perfectly using php, ajax and the tablesorter plugin. I now would like to make a few of the input fields into dropdown boxes so the user can select an option if it needs to be changed. This all will then need to be saved to a database. Here is what I have so far: ...

needs moar jQuery?
moar innerHTML
14:45
don't know if they are trolling or sirius... — webarto 8 mins ago
unfortunately you cannot see the deleted answers yet
they are variations of "lets make a big if .. else block"
@tereško omfg
15:00
@NikiC I hope 4x4GB DDR3 1600 is helping the VMs a bit. kingston.com/datasheets/KHX1600C9D3K2_8GX.pdf
is @NikiC taking bribes now? :p
I've got a shiny new power-supply that says Annotation support in PHP would be awesome :D
5
@MikeB that must be some amazing power supply.
haha
Dunno what all ^ these ^ guys ^ are talking about. When you run out of RAM, you hand your laptop down to your spouse/child/mother/random stranger and go buy a new one, no? ;)
@deceze :))) I have 3 laptops and barely one of them is usable (e.g. 4GB ram, dual core)... new ones have 6GB and i7 etc... was going to buy but in doubt... I don't have a desktop since a move a lot...
15:20
@MikeB I've got a sister who says they're not awesome
@Leigh Is she partial to computer-hardware and willing to accept a bribe?
@bribable true
Didnt know there was a chat system on this site! awesome.
@Will So how is Bristol Mr. Kerswell?
Can I send an email using php mail() to external email id ?
15:35
@KuldeepDaftary huh?
something new i learned on c# topics .. when you argue with consensus , your comments tent to disappear
@Leigh good thank you :)
FYI, I don't really think pink is your colour. I was half tempted to call your mobile and be very rude, then I remembered I'm actually at work.
@PeeHaa yea I would like to send an email using mail() to email id which is not on my domain ..
I created 1 php page
What is an email id?
15:38
haha pink? Im at work as well haha
lets say kuldeep.daftary@gmail.com ! I tried adding it as my toemail
php returns me an error
@Will Also you copyrighted your site some 18000 years in the future.
@KuldeepDaftary That's called an emailaddress :)
@KuldeepDaftary What's the error
"toemail" - I like it. The new name for "snailmail", being delivered "on toe".
mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for kuldeep.daftary@gmail.com
15:40
@leigh oops! I might want to change that. TBH the whole site needs updating
@deceze Not to be confused with Sneakernet en.wikipedia.org/wiki/Sneakernet
@Will Like I said, pink doesn't suit you ;)
@KuldeepDaftary You have to enable realying on the server you are using to send mails. And only for the server you are sending the mails from
Stop flagging stupid flags
Alright I'll call it email address
@Leigh how is work going?
15:41
@MikeB Still can't beat RFC 1149 ietf.org/rfc/rfc1149.txt
@Will Humid as hell, can barely focus on anything :)
@Leigh That's "crawmail"
@KuldeepDaftary Are you using SMTP or sendmail?
I'm using smtp
@Leigh haha! That's new
@leigh what are you working on atm?
15:43
@KuldeepDaftary Is the smtp server setup to relay mails from the server you are sending?
@Will Supposed to be working on porting over some code one of our clients wrote in-house, before they fired their dev team.
are developers really so cloistered that they come to chat rooms to "make friends" ?
no its Not an open relay.
@tereško I suppose some must be. - Its the ones that come here on the weekend you should be worried about.
@KuldeepDaftary I'm not talking about an open relay. I asked whether relaying is setup for that specific machine (which is trying to send the mails)
15:45
@leigh dont suppose you know much about coldfusion?
I have no idea how to check that
I'm happy to say that I don't. Unless we're talking about physics, then I know slightly more.
@KuldeepDaftary Ask the sys admin
:/
shame
@Leigh I thought we come here to procrastinate.
15:46
^
@deceze Do you need to procrastinate while you're not at work?
@Leigh I have not felt the urge to do so yet.
@Leigh you on here much then?
@Will 8/5
@Leigh just a little then
15:53
When using client certificates to authenticate, does it verify the certificate for every request, or is it cached in the the ssl session?
never mind, I misread I guess
@PeeHaa: Typo in your last comment, bcrypt() isn't a function :)
lol. There is a function in PHP for everything right? ;-)
@deceze: this is the same as array_merge(), then?
user895378
16:09
@webarto So you want to do asynchronous requests in parallel? There's really not much point because the asynchronous requests are already non-blocking and the actual send returns immediately. Why not just iterate over a list of requests? Alternatively, I've completely rewritten the Artax HTTP client over the last few days. It's not pushed yet, because I have a good deal of testing left to do, but it handles parallel requests very nicely.
@rdlowrey Will that fix my issue too perhaps?
@Jocelyn Almost, array_merge renumbers numeric indexes and merges values even for same numeric indexes.
user895378
@PeeHaa I'm thinking it probably will.
user895378
It's a full rewrite, and I think it should solve any "phantom" failures like the ones you were experiencing.
@rdlowrey famous last words (:
16:11
@rdlowrey We may have hit another "bug", but I'll first wait your push and check it after afterwards
user895378
I know right :)
@deceze: thanks. I didn't know this syntax could be used for arrays (I use it often for other data types).
@Lusitanian Or did you get the client working with the oauth1 lib eventually?
@PeeHaa it worked but honestly i don't remember the quirks
no wait it didn't
16:13
return ExcelUtil::exportHtmlTable( $request->get('html') );
aaaaaaaaaaaaaaaaaaaaaaaa
only 149 reputation points before I hit 2000.
I'm going home. cya
user895378
@PeeHaa later
Is this good script for image resizing - white-hat-web-design.co.uk/blog/resizing-images-with-php
or do you have any other recommendations
@rdlowrey Good morning.
user895378
16:19
@LeviMorrison Morning, sir.
@Olli: did you try? did it work?
@rdlowrey Going to git push on Thursday? Keep up the trend?
user895378
@LeviMorrison In all likelihood, yes :)
@Jocelyn Actually I didn't try it yet, but I meant is it ok
I mean performance
@rdlowrey Haha :)
user895378
16:20
Mass testing today, push tomorrow
user895378
@LeviMorrison After some more toying it appears that -- unsurprisingly -- parallel requests are generally 2x to 4x faster than iterating over each request in an array. Doing each request one-by-one is significantly helped by the persistent connections, though. If you're doing lots of discrete requests to the same host, at least you don't have the overhead of making a new TCP connection for each one.
ok
but its zipped, and I'm too lazy to download it!Q
@rdlowrey Jolly good. Well done, Sir Lowrey.
user895378
@LeviMorrison Also, the full chain of redirected responses is now part of every response returned by the client. i.e ...
user895378
16:27
$response = $client->send($request);

while ($response->resultedFromRedirection()) {
    echo $response->getRedirectionUri();
    $response = $response->getPreviousResponse();
}
16:47
 Do you do freelancing by any chance? We need at least 40 hours per week.
freelancing full time :D
hi guys
@rdlowrey Artax HTTP is da bombz
user895378
@webarto Thanks -- it'll be a lot cooler once I fully test what I have committed locally. It's a very significant improvement over what's currently in the repo.
@rdlowrey you've pasted parallel thingy which look very awesome
user895378
Yeah, that is awesome.
user895378
And it does it with full automatic redirection as well for each individual request inside the parallel retrieval group.
that is why it is awesome
user895378
16:51
It took me a long, frustrating couple of days to get everything to work right in parallel
e.g. this is impossible to parse
and doesn't make much sense
like your approach does
Is it possible to parse PHP in a .json, yet force the output to still use JSON headers? I've got an iPad app pulling from a PHP/MySQL backend, but my output comes through as HTML, which I think is causing the iPad JSON parsing to fail. Ideas?
@rdlowrey are "real" HTTP async request with response impossible in PHP? If you get what I want to say...
user895378
@webarto They are impossible not easy to work without black magic, unfortunately.
@rdlowrey hehe like pcntl_fork() and stuff :) I don't really need that, nearly parallel is good enough..
user895378
16:57
yep, forking is required
user895378
And since Windows machines can't access the PCNTL extension, it's not really a feasible option IMHO.
@rdlowrey I'm just working from Windows, other computers are Linux, I don't know that anyone uses Win + PHP in production :)
@webarto Unfortunately I could connect you with a few of those people :\
"How the heck am I supposed to manage a server without a GUI?!!"
4
@MikeB haha, well I don't think performance is a big issue on smaller scale, but really... it's impossible to remote manage anything + it's Windows (unsecure)
17:06
^ worst code I've seen in my life
yes, duplicates. The OP doesn't get good answers so he reposts again.
The worst part is the people with thousands of rep answering the question... (giving him code)
Some people prefer to post an answer to a very very obvious question that has already been answered 100 times instead of flagging it as duplicate :-(
then there's the people that post "turn on error reporting" as an answer
yes, I just saw that too.
17:11
And you can't downvote those people either.. cause the sheep will just pile on the sympathy votes
I'm waiting for something happen with this
http://meta.stackoverflow.com/questions/37466/give-an-incentive-for-finding-duplicate-questions
Anyone serious wants a possible job? I think I got some good offer from some startup, looking good that is.. (not from a recruiter)
@MikeB I always downvote those people (and post a comment about how they're being moronic). Revenge downvotes be damned!
in Tavern on the Meta on Meta Stack Overflow Chat, 39 secs ago, by jadarnel27
That comment from webarto is incredibly rude.
user1595786 is either going to give up using SO, or might start doing some more serious debugging before posting questions
@Neal :D ;D
17:14
@Neal "Honest" is a little more accurate :P
@orourkek lol
@MihaiIorga I have an itch I can't scrath.... — Neal 5 secs ago
almost all of these questions could be closed or marked as duplicates
prob. post on meta abt it.
maybe they can bacth close...
and make a canonical q/a
reading the error message and the code allows to easily spot the error in almost all cases
@Jocelyn or marked as "debugging failure"
17:17
I would tag them as
@Neal well , when posting a question these people see all of the related questions in the sidebar. Even that doesn't stop them, so what good will one more do?
lol
in sync
uh oh @webarto ur getting ATTACK ed!
the chat was a bit slow to save my edit
:-P
@Neal come at me br0!
17:23
evening people
@PeeHaa morning!
have a script uses sleep(1); like about 20 times
-.- ^
Although I admire your willingness to go through all that. I don't think starting to use jQuery will solve anything. Besides there is still a lot wrong in this code. +0 for the trouble though :) — PeeHaa 1 min ago
@webarto LOL
Does anyone know what this guy means?

Store individual click (with datetime) in the database instead of updating the field. For that, your count.php need to be changed to insert a record(for one click) into the table.

To get the total no. of clicks, you can use "count(1)" of the table. Since you are inserting the date and time of click, you can get the day/week/month/year wise data clicks from the table.

BTW, UPDATE will lock the record/row while updating it. When more than 1 requests are trying to update the same record at the same time (in case of concurrent requests), update may fail
(see full text)
^ just ^ ignore ^
17:32
@PeeHaa had to explain my burst of laughter to my coworkers :]
@PeeHaa: what was the question exactly? With a title such as "dfgdfgdfgdfgdfgdfgdfgfgdfgfgdfgdfgfg" I'm sure it was wonderful!
@Jocelyn Sorry. 1 sec let me create screen
one-box it?
Can you 1-box deleted questions?
17:35
no
@MikeB no... :-(
oh i didn't see it got deleted
And that's why you ignore people named user* with 0 rep
It reminds me of Wikipedia vandalism
17:36
@PeeHaa link to question?
it's deleted, Neal
@Jocelyn I can see deleted qs....
OK, I didn't know
@PeeHaa lol awesome ^_^
17:37
I like the first comment "what have you tried?"
this one has tons of duplicates: stackoverflow.com/questions/11974199/…
and the first to post an answer has over 12000 reputation points
Has there been a meta discussion on downvoting answers that simply give the person the code they ask for? Obviously the questions are usually going to be too localized, and definitely don't follow the Q&A guidelines
@orourkek Well if it answers the question (correctly) I don´t think it deserves a downvote.
@PeeHaa True, but the downvote tooltip says "this answer is not useful" - doesn't really make a mention of it being useful to the specific demands of the OP. An answer with code that localized isn't going to be useful to most of the people viewing it, and it just promotes more "gimme teh codez" questions
@orourkek In that case cv the question
An answer linking to the dupes would be much more useful to the OP and to everyone else
17:49
@hakra Sounds great :D Thanks
Isn't it possible to block answers to a question until the OP proved he has done some debugging or read the documentation? That would avoid many "give me code" or "debug that for me" questions
@Jocelyn That would basically be a reversal of the closevote system. We'd have to have "openvotes" to open the question up for answers
(as one option, anyways)
Not enough reputation yet to help with closevotes...
How do you decide when to close and when to remove a question?
[ $[ $RANDOM % 6 ] == 0 ] && echo "delete" || echo "pass"
17:55
@Jocelyn If it's a dupe close it. If it's a dupe of a dupe of a dupe close and delete it
For other question use you common sense to either close or close delete it
if getRandomNumber returns 4, we close it... @Jocelyn
seems fair
Link it right @webarto :-P
@PeeHaa ehhhh
@Neal teach me master :D
17:58
@Neal ?
@webarto paste in the xkcd link, and it automatically oneboxes :-P
@PeeHaa i voted, but idk if I agree
@Neal I thought so :P
@Neal Don't vote if you disagree :)
@PeeHaa too late lol
17:59
@Neal plus you get the title attribute, often the best part of xkcd :}
@orourkek yep yep ^_^

« first day (669 days earlier)      last day (4505 days later) »