« first day (522 days earlier)      last day (4436 days later) » 

9:01 PM
@rdlowrey You know it's a lifetime membership right? :)
 
Okay, that's today's work on reefknot all safely pushed.
 
user895378
@PeeHaa Argg USB electrode clamps! noooooooo!
 
:P
 
@rdlowrey Explain how one should provide a library in a SO answer
 
@prggmr at the least, example code showing how a library might help solve the OP's problem
 
user895378
9:11 PM
@prggmr I have zero problem with providing the library. That's not the reason for my comment. If you had expounded on why the library solves the problem it would be another story. Just my humble opinion. Which is why I commented.
 
@prggmr instead of "you should use this library, it is teh roxx0r"
 
user895378
Interpreted another way, my comment could've read:
 
user895378
> This should be a comment, not an answer. It's not substantial enough.
 
user895378
@prggmr Unfortunately, I'm walking out the door. SO PHP chat is a great place to idle, though. Lots of cool kids. Feel free to stop by any time.
 
@rdlowrey Later.
 
9:15 PM
someone have a look at this url: api.wikimapia.org/…
and i tried iterating with this command: foreach ($xml->place as $entry)
but i don't think i am doing the right thing
anyone has a better idea?
 
@akinboj What PHP library are you using?
 
@ Levi: 5.3 i guess
using the pre-installed one with xampp
 
What are you using to work with the XML?
 
$xml = simplexml_load_file($url)
 
I knew it. People ALWAYS use SimpleXML. They never use the DOM. Sorry, I can't help you.
Unless you try using DomDocument, then I might.
 
9:22 PM
ah- i see
 
hello, anybody here?
 
is DOM better than simplexml?
 
don't know if you can help but i'm having some issues with the youtube api
 
@akinboj I would definitely say yes. Maybe others disagree. The main benefit of DOM is that it works just like you would expect. I have DOM experience from JavaScript and work with XML.
 
it seems that their json encoding hasn't correctly encoded the urls :S
 
9:23 PM
aii.. imma look up this DOM thing with php and try to change my codes
 
so when my php script runs json_decode() on the data the urls always seem to get cut out :S
does anybody know a way to resolve this issue?
 
@L14M333 Ask your question in stack, with a failing example
 
@MichaelRobinson in stack? sorry im new to the chat :-)
 
@L14M333 on the main stack overflow website
then come back here and show us your pretty question
 
9:29 PM
@MichaelRobinson ahh, thanks will do if i can't sort it out by fiddling around with some bits
cheers
 
bit fiddling is the greatest )
*:)
 
10:07 PM
I think that's possibly the worse advice I've heard in a long time.
 
16
A: what the difference between PHP's DOM and simpleXML extensions?

GordonIn a nutshell: SimpleXml is for simple XML and/or simple UseCases limited API to work with nodes (e.g. cannot program to an interface that much) all nodes are of the same kind (element node is the same as attribute node) nodes are magically accessible, e.g. $root->foo->bar['attribute'] ...

 
@GordonM bahahahhaaha
 
@akinboj its pointless to "change your codes" from simplexml to dom when they are currently working.
 
@MichaelRobinson I literally facedesked.
 
@Gordon thanks for all the cv requests:
{"error_id":502,"error_name":"throttle_violation","error_message":"too many requests from this IP, more requests availabe in 79709 seconds"}
:-P
 
10:18 PM
@PeeHaa in your chrome thingie?
 
@Gordon His codes aren't working. He just started and doesn't have a clue about anything.
 
@LeviMorrison
 
@Gordon yup :) I believe I can get an API key to be allowed to make more requests, but I haven't done so yet
 
@PeeHaa what are doing that does more than 30 req/sec?
 
@Gordon I don't think I did. I think I hit the 300max quota while testing the new version with a shitload of cv requests in chat
 
10:22 PM
@PeeHaa that still shouldnt get you a ban
> Every application is subject to an IP based concurrent request throttle. If a single IP is making more than 30 requests a second, new requests will be dropped. The exact ban period is subject to change, but will be on the order of 30 seconds to a few minutes typically.
 
@Gordon hmmmm
 
i'm doing 8 api requests per hour atm total for the 800+ ids in the backlog. im sending them in batches of 100s. no problem.
 
@Gordon Again: hmmmmm. Well maybe I did screw something up and send a shitload of request, but I don't think so
@Gordon maybe: "API responses are heavily cached. Polling for changes should be done sparingly in any case, and polling at a rate faster than once a minute (for semantically identical requests) is considered abusive."
 
@PeeHaa yeah, that could be it
 
I might be a spamwhore, but at least I'm not a repwhore :D
 
10:28 PM
6
A: Noob question about DOMDocument in php

GordonIf you want to work with DOM you have to understand the concept. Everything in a DOM Document, including the DOMDocument, is a Node. The DOMDocument is a hierarchical tree structure of nodes. It starts with a root node. That root node can have child nodes and all these child nodes can have chil...

@PeeHaa +1
 
> The thing is, Zend Framework complexity and user base has grown so much and the scope of SO is so wide, that SO is not a good destination for end users.
Perhaps they should reduce the code complexity . . .
 
@LeviMorrison pfffff shouldn't ZF be so great. Why not make a SO clone using it :P
 
@LeviMorrison LOL! /thread for that discussion
 
"What we're asking here is a chance to go through the process you established for new sites. We'd like to get our proposal up and running, gather votes and example questions. After we have done that, we'll have more data, a foundation for further discussion. We know our community well enough to formulate requirements for such website. Though we could build our own, independent and competing Q&A site, then invite all community members there, we feel respect for SE and SO and would prefer to do it here instead, hence our ongoing discussion."
 
@PeeHaa Interpret as: We don't want to build and support our own Q&A platform, we have a hard enough time building our framework.
 
10:38 PM
@LeviMorrison hehe
 
anything fun in here?
 
@LeviMorrison i'd still love to see the activity of the members of the ZF.SE stack in SO's ZF tag. The only one I saw who at least did some answers was Rob Allen
 
11:21 PM
night
 
11:33 PM
Evening everyone
 
yay .. though it's more like night
 
midday here
 
11:48 PM
hello all
 
user895378
Every time I cruise the new PHP questions I just get annoyed. They're all terrible or duplicates. It's unbelievable.
 
rdlowrey it must be because of noobs like me :)
 
user895378
I'm tempted to start retroactively tagging people's questions with
 
user895378
@LondonBoy There's nothing wrong with inexperience. It's laziness and an explicit lack of consulting the manual that's annoying.
 
i have a question :)
 
user895378
11:53 PM
I may or may not have an answer
 
user895378
But I won't bite your head off :)
 
you dont need to answer :) i have a banner on a very busy website :) ad when a user clicks on the banner they are directed to my redirecting page in this page i have a connection to db and record users click, the banner gets clicked about 300-400 at a day atmost, but the weird thing it crashes the server dont know where is the problem have you got any ideas?? is it connection and so on ...?
 
user895378
Well, there's nothing about that scenario that should crash your server. The code would have to be doing something horribly wrong to cause that sort of result. There's no way to know without wading through your code, though ... which I'm not presently able to do.
 
user895378
Also, what does "crash the server" mean?
 
user895378
Error messages about too many mysql connections? Fatal out of memory errors? Connection refused by apache?
 
11:59 PM
well things go incrediably slow it dont load some forms ...
 
user895378
There's no way to diagnose a problem without error messages.
 
user895378
If it's on a shared server it might not even be anything to do with your site.
 

« first day (522 days earlier)      last day (4436 days later) »