api

Google Maps doesn't work when inside a div

I'm trying to use the Google Maps API and the div that is going to contain the map works only when not inside another div. I've created a little sample code with two maps, the first works the second doesn't. If I remove the doctype of this piece of code, both work. Any ideas why? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ...

Embedded Python - Blocking operations in time module

Hi all, I'm developing my own Python code interpreter using the Python C API, as described in the Python documentation. I've taken a look on the Python source code and I tried to follow the same steps that are carried out in the standard interpreter when executing a py file. These steps (sequence of C API function calls) are basically: ...

Google Latitude API with objective c

Is it possible to get your location data via google latitude within your objective-c application? If so, can someone post code, examples, ect? Thanks, Elijah ...

Android: restful API service

Hey, I'm looking to make a service which I can use to make calls to a web based rest api. I've spent a couple of days looking through stackoverflow.com, reading books and looking at articles whilst playing about with some code and I can't get anything which I'm happy with. Basically I want to start a service on app init then I want to...

How to design a language binding to a web api?

If you were trying to design a language binding to a restful web api, how would you do it? What would you take into consideration? What resources would you consult first? Would you try to mock the web api interlace 1:1 or would you try to use your language idioms instead? How would you prevent making excessive HTTP requests? Etc I've be...

API to donate to multiple charities

Say I want to write a website where: you fill in your details, pick from 1 of many charities and I send a payment (from my account) along with your details to the charity (and your details are used to send out a tax receipt) Is there one or more APIs somewhere to do step 3? I've searched around for something like this and can't fin...

Podcast search API

Is there any podcast directory search API out there apart from the iTunes search API? I have looked around but could not find anything useful. Can I use feedburner for this? Is there a search API for feedburner too? ...

How Exceptions are handled while designing DataLayer or any other layered architecture.

I am creating a data access layer where I want to handle exceptions that should be catched by Business layer with clear idea of the source of exception. I am doing something like this.. EDIT private void OpenConnection() { if (ConnectionState.Closed == _connection.State) _connection.Open...

Best linux filesystem filter option?

I need a linux filesystem filter thingy with whitch to enforce ACL policy on filesystem calls dynamically (allow/deny read/writes based on stuff computed at runtime). So far I have stumbled onto DazukoFS and Related Work. What I dont like about DazukoFS is that it has to be compiled for each kernel release. Is there some user-mode libr...

difference between "Code Injection" and "Process Injection" ?

What's the difference between code injection and process injection? ...

difference between "Code Injection" and "Process Injection" ?

what's difference between Code injection and process injection ...

replicating user interaction on website

I have access to an API that has provided authorization and returns I get are limited as expected. However when using the UI on the actual site, if I search using this I get 10x more results. These results are not available in the page source and as someone mentioned before to answer a previous question I cannot use firebug unless I copy...

Custom to_json method not being called in Rails app

I have a Ruby on Rails application that I'm working on an API for an associated iPhone application. I have overwritten the to_json method of my Item model to return some custom information from the API request that I'll need in the iPhone app. However, when I use the built-in rails to_json method and include my Item model as an associa...

How to creat an sms gateway for local messaging ?

I am developing a library management system in jsp. Here, I need a system that generates smses automatically on some events like late return, new book arival, etc. Should I use any api for this or any other solution ? ...

Best way to create windows applications.

I have been learning windows API from online and PDF books but I hear of people using sdk and visual studio programs. What should i do? API I'd create but extremely complex. Would I benefit from learning the API or should I get a sdk or program that writes to code for me? I have msc++e but I don't think it comes with those benifts ...

Need an API to find a full company name given a ticker symbol

I need a way from within client-side Javascript to find a full company name given a ticker symbol. I am aware of Yahoo Finance's interface at: http://finance.yahoo.com/d/quotes.csv?s=TKR&amp;f=n and am able to access that via YQL (since this is cross-domain). However, that doesn't return the full company name, yet Yahoo Finance has suc...

Are there any paid or free APIs that provide good product images by name or SKU?

Looking for a web service that will let me query good-quality product images for general consumer product queries. Ideally, this would enable me to search by keywords, but otherwise manufacturer SKU. I know Amazon has services like this, but they can only be used to sell products on Amazon, and I'm looking for something more general pu...

How to programatically add post to Wordpress blog from outside in PHP

I would like to add a post to my Wordpress based blog (my own hosting) from outside of this blog using PHP. In short terms i would like to do something like this: http://www.mywebsite.com/addPost.php Adds example post to my blog and thats all i need. How to do this? ...

SetWindowPos Not Working On Windows Server 2003?

I've got a legacy VB6 app that I recently added SetWindowPos to the application to keep it on top. Long story why, but customer requested it. On "normal" Windows machines (2000, XP) it keeps the window on top, but on the Server, it does not. Does anyone have any idea why? Are there any security settings, patches, etc that have disabled ...

Citrix simulation api -output mode

Hi, I'm trying to set my output mode of the ica client to NonHeadLess before i launch it. And once launched, im trying to send it some keystroke programatically. I dont seem to be able to do it, though it works if output mode is normal. The documentation states that setting to NonHeadLess disables window management functionality. Does t...