HipHop compiles PHP in a C executable. What happens with PHP errors ?
Is that harder to debug ?
edit : I looked through the documentation but didn't find anything
Hello,
Google Maps API can build a Direction from a source to a destination. In the following Google's example, each step are published into the HTML code: http://code.google.com/apis/maps/documentation/examples/directions-simple.html
I would like to get the Geocoding of each step of this direction, and store them in a array. I believe it's possible, but I don't see how to process.
Many Thanks for any answer.
Regards
I am building an ASP.NET server control which extends CompositeControl.
I need fine grained control over the rendering, so I override Render() and output the child controls myself, interspersed with HTML generation code:
writer.AddStyleAttribute("float", "left");
writer.RenderBeginTag(System.Web.UI.HtmlTextWriterTag.Div);
writer.RenderBeginTag(System.Web.UI.HtmlTextWriterTag.Strong);
writer.Write("Table");
writer.RenderEndTag(); // strong
writer.WriteBreak();
tableList.RenderControl(writer);
writer.RenderEndTag(); // div
This works really well for user controls that just contain simple controls without children of their own.
However, if I want to use something like a MultiView or an UpdatePanel I run into problems, since I can't override Render() on View or UpdatePanel without extending them, and if I do extend them the implementation would presumably have to depend on FindControl() voodoo to get references to the right controls during render.
That doesn't sound like the right way to do this - is there a better way?
i've got an id attribute value for an element.
i want to select only its children (not all descendants).
i used
$childElements = $xml-xpath('//entity[@id=212323]');
print_r($childElements);
but that would select ALL descendants and print them out. i just want to select the 1 generation children. how could i do that?
<entity id=212323>
<this>asd</this>
<this>asd</this>
<this>asd</this>
<this>
<notThis>asd</notThis>
<notThis>asd</notThis>
<notThis>asd</notThis>
</this>
</entity>
I'm trying to compile existing Flex 4 project but having an error:
Call to underfined method getStyleManager of StyleManager class.
The code is:
var styleManager:IStyleManager2 = StyleManager.getStyleManager(null);
I found the method in Flex documentation but when I open StyleManager.as I can't find the method declaration.
Used Flex SDK 4.0.0.10485 from here.
How do I log all process crashes into a file instead of a tty ? I've read in the documentation that there are some standard Erlang modules that can do it (SASL, error_logger), but unfortunately haven't found any clean examples.
Hi
I would like to get the contents of my FB app's wall into my iPhone app. The contents on the wall are directly posted there by me and not obtained from any database.
Can someone please point me to the documentation where I can get the information for accessing these messages/their comments from my iPhone app?
I searched on the Facebook wiki, but it takes me to the github page for FB-Connect on iPhone, nothing where I can see all the API calls possible.
Thanks.
Can someone give me simple code to help with creating an HTTP server for the iPhone. Something simple with much documentation would be appreciated. Anything you have please share.
I am attempting to use MapKit to create a custom map (similar to this concept http://mapwow.com/) using an image instead of the google maps image. This is so we can include the gps functionality and the pins functionality. I have looked in the documentation and there does not appear to be a standard way of doing it. Is there a way to do this using MapKit or has someone found a way to achieve something similar?
Is there a sample project showing how to use PNS on the IPhone and how to set up things? I'm currently looking at the documentation but it would be nice to have some working code to pick apart and see how it all works together?
I can't seem to find anything using google or in the iphone dev center.
Hello,
I'm still new to cocoa and don't know much about memory management. I read up on apples documentation but I'm still confused. My question is if I set the value of a variable in a - (void)dowhatever when the void ends, will the contents of the variable be erased? If so is there a method (without writing to a file) that I can use to retain the variable contents?
Thanks for any help
The MSDN documentation for WMPLIB states that syncing to device is not supported in .NET programming, only C++.
Is there, however, a simple wrapper class or DLL that can be used to interface between a .NET program and the nescessary C++ code?
Or is there a better way to sync files to a device using VB.NET? Are all devices suited/compatible with just a simple filesystem.copyfile ?
Hi,
Is it possible to set-up IP address restrictions for an IIS site through a Wix installer? I don't see it mentioned in the IIS extension documentation. I want the site to be available to only one specific IP address.
Thanks!
Hi,
I've been browsing documentation, but haven't been able to find a straightforward tutorial, so I apologize if this is a really simple question.
Anyway, I have eclipse with pydev installed on MAC OSX, and I want configure wxPython to work with eclipse, how do I do this? Once I've downloaded wxpython, what steps do I take to allow wxPython development from eclipse?
Thanks!
A subversion repository contains the html, latex and man directories that doxygen generates from the source code. Even for small source code changes, new files are being generated with random names which makes for large changes in the version control system.
Is there are way around this? How can I minimize the changesets between revisions while still including doxygen-generated documentation? Alternatively, how could I find which of the doxygen-genrated files are no longer being used and should be removed?
Hi,
AVFoundation.framework is not where the documentation says it should be. I have iPhone SDK 2.2 installed (never had previous sdk versions installed) and I can't find that folder under /System/Library/Frameworks
I did find it under /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/System/Library/Frameworks/
folder but if I add it from that location, then the compiler can't find the header files. I tried copying the entire AVFoundation.framework folder to /System/Library/Framework, but it still can't find the header files.
How can I use AVFoundation classes?
Thanks,
Alex
All over the Internet, included even here at StackOverlow, people state that a good way to check if a request is AJAX or not is to do the following:
strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest' )
However, I don't see $_SERVER['HTTP_X_REQUESTED_WITH'] in the official PHP documentation
And when I try to do the following:
echo $_SERVER['HTTP_X_REQUESTED_WITH'];
Nothing is outputted.
Am I doing something wrong? Because I'd really like to be able to use $_SERVER['HTTP_X_REQUESTED_WITH'] if it's available.
I have an instance of NSImageView. I have told InterfaceBuilder to allow the user to paste or drag an image into this view. This works. However, I don't see a way in the NSImageView or related documentation to get notified when this actually happens. I was expecting a delegate or some such, but I have been unable to find it. Any ideas?
My boss is interested in using MKS Integrity for bug tracking, feature requests, Wiki documentation and so on. However, we currently use Subversion, and he doesn't want to force us devs to use a version control system that we don't like.
Is is possible to integrate a different version control program into MKS Integrity? I'm particularly interested in SVN, Git, Mercurial and Bazaar. If you've tried mixing tools like this before, I'd love to hear about your experiences.
Hello.
I'm using symfony 1.4.3
Is there some way to render a sfWidgetFormChoice as an unordered list?
In the API there is an option called 'renderer_class' but I can't find any documentation or example about it.
Thanks!
Is it possible to combine a Django Haystack search with "built-in" QuerySet filter operations, specifically filtering with Q() instances and lookup types not supported by SearchQuerySet? In either order:
haystack-searched -> queryset-filtered
or
queryset-filtered -> haystack-searched
Browsing the Django Haystack documentation didn't give any directions how to do this.
I have a .Net application which must store all it's local data in isolated storage. I want to start using SQL CE to store this data. I can't find any documentation on how (or even if) this is possible.
Is it possible to use isolated storage to store a SQL CE database?
If so, what would the connection string look like (or is there some other way you would need to open the database)?
I'm looking to use one of the AutoComplete
subclasses(Rich,Remote,RichRemote) and I'd like to use a
CustomRenderer, however I don't see instructions for this and reading
the documentation/source it appears that the Remote subclass is
instantiated with a renderer of "var renderer = new
goog.ui.AutoComplete.Renderer();" leaving me no option to change it
while instantiating. Is there a setRenderer method on the AutoComplete
base class similar to that on the goog.ui.Controls classes?
Thanks,
Paul
Is there an API that works for pre OS 3.2 for getting the current time of a video being played back? There's this one
http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMediaPlayback_protocol/Reference/Reference.html
But it's 3.2 or later....
Is there any way to do this with the MPMoviePlayerController API?